:root{--bg:#f7f8f4;--paper:#fff;--ink:#253c36;--muted:#738078;--green:#27634f;--green-dark:#1c4d3d;--mint:#e5eee7;--line:#e4e8df;--peach:#f5e8d8;--radius:18px;--shadow:0 5px 20px #28413605}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Kannada","Noto Sans Tamil",sans-serif;font-size:16px;line-height:1.6}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3vw,40px);line-height:1.2;font-weight:620;letter-spacing:-1.3px;margin-bottom:14px}h2{font-size:24px;line-height:1.35;letter-spacing:-.5px;font-weight:600}h3{font-size:19px;line-height:1.4;font-weight:600}p{margin-bottom:16px}small,.small{font-size:13px;line-height:1.6}.muted{color:var(--muted)}.eyebrow,.small-label{font-size:11px;font-weight:650;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.app-shell{display:flex;min-height:100vh}.sidebar{width:244px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:24px;letter-spacing:-.8px;font-weight:650;line-height:1.2}.brand:hover{text-decoration:none}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--green);border-radius:13px;width:44px;height:46px;color:#fff;font-size:37px;font-family:Georgia,serif;font-weight:bold}.brand-mark span{color:#ddce84}.brand-sub{font-size:8px;letter-spacing:1.5px;display:block;margin-top:7px;color:var(--muted);font-weight:500}.centre-label{font-size:11px;background:var(--bg);padding:9px;border-radius:7px;margin:26px 0 16px;color:#6c7970;display:flex;gap:7px;align-items:center}.online-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#6c9879;flex-shrink:0}.nav-caption{font-size:9px;letter-spacing:1.5px;color:#94a094;font-weight:600;margin:18px 12px 10px}.nav-link{display:flex;gap:12px;align-items:center;padding:9px 13px;color:#758077;font-size:13px;border-radius:8px;margin-bottom:3px;white-space:nowrap}.nav-link:hover{background:var(--bg);text-decoration:none;color:var(--green)}.nav-link.active{background:var(--mint);color:var(--green);font-weight:650}.nav-symbol{width:18px;font-size:19px;text-align:center;line-height:1}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:22px 10px 0}.sidebar-foot p{font-family:Georgia,serif;font-size:18px;line-height:1.5;color:#72806e;margin:7px 0}.sidebar-foot .small-label{font-size:8px}.workspace{flex:1;min-width:0}.topbar{height:86px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff9;gap:16px}.topbar-context{font-size:12px;color:var(--muted)}.topbar-actions{display:flex;align-items:center;gap:10px}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#f0e6d5;color:#7b6a4c;width:31px;height:31px;border-radius:50%;font-size:13px;font-weight:600;flex-shrink:0}.avatar.large{width:44px;height:44px;font-size:18px}.account-name{font-size:12px;font-weight:600}.text-button{border:0;background:none;color:var(--green);padding:8px;font-size:13px}.main-content{padding:27px 44px 48px;max-width:1460px;margin:auto}.page-heading{margin:24px 0 28px}.lede{font-size:14px;color:var(--muted);max-width:760px}.pilot-note{display:flex;align-items:center;gap:7px;font-size:10px;color:#828b79;letter-spacing:.1px}.dashboard-grid{display:grid;grid-template-columns:2.2fr 1fr;gap:24px}.goal-card{background:var(--green);border-radius:var(--radius);padding:32px;color:white;display:flex;position:relative;overflow:hidden;min-height:272px;box-shadow:var(--shadow)}.goal-card>div:first-child{max-width:72%;position:relative;z-index:1}.goal-card h2{font-size:27px;margin:18px 0 14px;line-height:1.28;max-width:450px}.goal-card p{font-size:13px;color:#d0e0d7;max-width:340px}.pill{display:inline-block;border:1px solid #d1e8d43b;border-radius:30px;padding:5px 12px;font-size:9px;letter-spacing:1.4px;color:#e7eee6}.goal-art{position:absolute;right:14px;bottom:20px;width:170px;height:200px}.orbit{position:absolute;border:1px solid #7ca48655;border-radius:50%;width:170px;height:170px;transform:rotate(20deg)}.orbit.two{width:110px;height:200px;left:20px;top:-5px;transform:rotate(40deg)}.growth{font-family:Georgia,serif;position:absolute;top:8px;left:30px;color:#bdd0a1;font-size:135px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);min-width:0}.progress-preview{display:flex;flex-direction:column}.progress-preview .big-number{font-size:46px;line-height:1.1;margin:16px 0 20px;letter-spacing:-1px}.big-number span{font-size:13px;display:block;color:var(--muted);letter-spacing:0;margin-top:12px}.progress-preview p{font-size:12px;color:var(--muted)}.progress-preview a{margin-top:auto}.section-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:31px 0 18px}.section-line h2,.section-line h1{margin:0}.section-line h2{font-size:21px}.panel>.section-line:first-child{margin-top:0}.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.activity-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-width:0}.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.subject-icon{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#edf1e5;color:#6b8454;font-size:23px}.subject-icon.quiz{background:#eee9f7;color:#8d79ab}.subject-icon.fun{background:#fbecda;color:#c69b61}.subject-icon.assignment{background:#e4edf3;color:#7293aa}.subject-icon.mock_test{background:#f5e5e5;color:#aa7979}.badge{font-size:10px;padding:4px 9px;border-radius:20px;background:#f2f3ec;color:#7a856d;display:inline-block;white-space:nowrap}.badge.completed,.badge.verified-correct,.badge.published{color:#3d775a;background:#e9f4ea}.badge.submitted,.badge.in-progress{background:#f8eedc;color:#a28a52}.badge.revoked,.badge.verified-incorrect{background:#faeaea;color:#a66464}.activity-card .eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:8px}.activity-card h3{font-size:19px;letter-spacing:-.3px;margin:0 0 10px}.activity-card h3 a{color:var(--ink)}.activity-card>p{font-size:12px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf0e8;padding-top:16px;margin-top:auto}.card-bottom span{font-size:10px;color:var(--muted)}.inline-link{font-size:12px;font-weight:600}.tip-banner{display:flex;align-items:center;gap:20px;background:#f0f1e6;border:1px solid #e4e7d7;padding:23px 27px;border-radius:var(--radius);margin-top:28px}.tip-icon{font-size:29px;color:#8d9c6b}.tip-banner strong{font-size:13px;font-weight:600}.tip-banner p{font-size:12px;color:var(--muted);margin:3px 0 0}.tip-banner a{margin-left:auto;white-space:nowrap}.workspace-footer{color:#98a190;font-size:10px;text-align:center;padding:10px 24px 30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;font-size:13px;font-weight:600;border-radius:9px;border:1px solid transparent;line-height:1.4;cursor:pointer;text-decoration:none;min-height:44px}.button:hover{text-decoration:none;filter:brightness(.96)}.button.primary{background:var(--green);color:white}.button.secondary{background:var(--bg);border-color:#dce4d9;color:var(--green)}.button.light{background:#eff2e3;color:var(--green);margin-top:5px}.button.danger{color:#a14343;background:#fff3f1;border-color:#efd4ce}.button.subtle{background:transparent;color:var(--green)}.button.small{padding:8px 13px;font-size:12px}.full-width{width:100%}.narrow{max-width:790px}.stack-form{display:flex;flex-direction:column;gap:9px;margin-top:18px}.stack-form label,legend{font-size:13px;font-weight:600}.stack-form label:not(.choice){margin-top:8px}input:not([type=checkbox],[type=radio],[type=submit]),select,textarea{border:1px solid #dbe2d7;background:#fcfdfb;padding:11px 12px;border-radius:8px;width:100%;color:var(--ink);font-size:14px;min-height:44px}textarea{resize:vertical}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:18px;height:18px;flex-shrink:0}input[type=submit]{margin-top:10px}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a4b992;outline-offset:3px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid>div{display:flex;flex-direction:column;gap:8px}.choice{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;margin:8px 0;font-weight:400!important}.choice small{display:block;font-weight:400;color:var(--muted)}fieldset{border:0;padding:0;margin:10px 0}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.flash{padding:13px 18px;border-radius:9px;margin-bottom:16px;font-size:14px}.flash.success{background:#e4f1e4;color:#375f3a}.flash.error{background:#fae8e4;color:#9a4e3a}.notice-box{border-left:3px solid #c2cf99;background:#f5f6ec;color:#687357;padding:14px 18px;border-radius:0 8px 8px 0;font-size:13px;margin:18px 0}.empty-state{text-align:center;padding:55px 25px;border:1px dashed #cdd7c9;border-radius:var(--radius);color:var(--muted);margin:20px 0}.empty-state h3{color:var(--ink)}.breadcrumb{display:flex;gap:12px;font-size:12px;color:var(--muted);margin:26px 0}.learning-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:26px}.problem-text{font-size:24px;line-height:1.65;letter-spacing:-.4px;padding:18px 0 22px;white-space:pre-wrap}.problem-panel .section-line{margin-bottom:0}.speech-controls{display:flex;gap:5px}.voice-access{border:1px solid var(--line);border-radius:8px;padding:12px;margin:12px 0}.voice-access summary{color:var(--green);font-size:13px}.voice-access audio{width:100%;margin-top:12px}.run-navigation{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.number-link{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid var(--line);font-size:13px}.number-link.selected{background:var(--green);color:#fff}.run-navigation>.inline-link{margin-left:auto}.coaching-column{display:flex;flex-direction:column;gap:22px}.coach-panel{background:#f1f4ec}.coach-panel h2{font-size:22px;margin:9px 0}.coach-panel>p{font-size:13px}.coach-icon{font-size:29px;color:#8d9c6b}.coach-reply{background:#fff;border:1px solid #dfe7d9;border-radius:12px;padding:16px;margin-top:15px;font-size:14px}.coach-reply p:last-child{margin:0}.help-button{width:100%;margin:12px 0}.attempt-entry{border-top:1px solid var(--line);padding:17px 0}.attempt-entry p{margin:6px 0}.assessment{padding:10px 12px;border-radius:8px;font-size:13px;background:#f5f2e7;margin:6px 0}.assessment.verified_correct{background:#e8f2e7;color:#36613d}.assessment.verified_incorrect{background:#f8ede5;color:#866b4c}.assessment .small{display:block}.work-list{padding-left:25px;margin:25px 0}.work-list li{padding:14px 5px;border-bottom:1px solid var(--line)}.work-list li span:last-child{display:block;font-size:12px}.sitting-row{display:flex;align-items:center;flex-wrap:wrap;gap:14px;border-top:1px solid var(--line);padding:18px 0}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:24px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.stat-card{background:#fff;border:1px solid var(--line);padding:23px;border-radius:var(--radius)}.stat-card>strong{display:block;font-size:36px;line-height:1.5;font-weight:550}.student-row{display:flex;gap:18px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.student-row:last-child{border:0}.student-summary{min-width:160px}.student-summary h3{margin:0}.student-summary p{margin:4px 0 0}.student-goal{flex:1;max-width:420px}.student-goal p{font-size:13px;margin:4px 0}.student-row>.inline-link{margin-left:auto;white-space:nowrap}.evidence-stats{display:flex;gap:22px;margin:22px 0}.evidence-stats strong{font-size:30px;font-weight:500;flex:1}.evidence-stats small{display:block;font-size:11px;color:var(--muted);font-weight:400}.review-item{padding:22px 0;border-top:1px solid var(--line)}.review-item p{font-size:14px}.review-item>.eyebrow{font-size:11px}.count{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:12px;padding:4px 8px;background:var(--mint)}details{margin-top:20px}summary{font-size:13px;color:var(--green);cursor:pointer;padding:5px 0}.section-space{margin-top:24px}.account-row{border-bottom:1px solid var(--line);padding:16px 0;margin:0}.account-row summary{display:flex;justify-content:space-between}.account-row summary span{font-size:12px;color:var(--muted)}.history-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line);font-size:14px}.history-row p{margin:5px 0}.history-row>span{max-width:40%;overflow-wrap:anywhere}.lesson-text{font-family:Georgia,"Noto Sans Kannada","Noto Sans Tamil",serif;font-size:19px;line-height:1.95;margin:30px 0;overflow-wrap:anywhere}.reading-panel{max-width:900px}.book-card>.subject-icon{margin-bottom:22px}.chat-question{background:#e4eee5;border-radius:12px;padding:15px 20px;margin:20px 0 10px 40px;white-space:pre-wrap}.matching-row{display:flex;align-items:center;gap:12px;margin:10px 0}.matching-row>span{flex:1}.matching-row>select{width:50%}.auth-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-story{background:var(--green);padding:70px max(35px,8vw);color:white;display:flex;flex-direction:column;justify-content:center}.auth-story .brand-mark{background:#eef1df;color:var(--green);margin-bottom:40px}.auth-story .eyebrow{color:#bbcfc0}.auth-story h1{font-size:clamp(36px,4.3vw,62px);font-family:Georgia,serif;line-height:1.16;font-weight:400;letter-spacing:-2px;margin:8px 0 25px}.auth-story>p:not(.eyebrow){color:#d2dfd3;max-width:380px;font-size:15px}.auth-panel{padding:50px;display:flex;flex-direction:column;justify-content:center;align-items:center}.auth-card{width:100%;max-width:370px}.auth-card h2{font-size:30px;letter-spacing:-.8px}.auth-card>.muted{font-size:14px}.auth-card>.small{margin-top:25px}.auth-card .stack-form{margin-top:25px}.learning-art{margin-top:40px;position:relative;display:flex;gap:15px;align-items:center;flex-wrap:wrap;max-width:350px}.learning-art>span{display:flex;align-items:center;justify-content:center;background:#d1dab745;color:#ecedc6;width:70px;height:75px;font-family:Georgia,serif;font-size:40px;border-radius:14px;transform:rotate(-9deg)}.learning-art>span:nth-child(2){transform:rotate(7deg);background:#ffffff15;color:#b1c6ad}.learning-art>span:nth-child(3){transform:rotate(-4deg);background:#e5d1a8;color:#4d694b}.art-caption{width:100%;font-size:11px;color:#b7cbbb;margin-top:15px}.setup-key{display:block;overflow-wrap:anywhere;padding:14px;background:#e9eee3;border-radius:8px;font-size:15px;letter-spacing:2px}.language-form{display:flex;align-items:center;gap:3px}.language-form select{font-size:11px;width:auto;max-width:100px;min-height:32px;padding:6px}.language-form .button{min-height:32px;margin:0;font-size:10px}.skip-link{position:absolute;left:10px;top:-100px;z-index:100;background:#fff;padding:10px}.skip-link:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}hr{border:0;border-top:1px solid var(--line)}
@media(min-width:1500px){.main-content{padding-top:35px}.activity-card{min-height:250px}.dashboard-grid{grid-template-columns:2.2fr 1fr}.goal-card{min-height:310px;padding:40px}.goal-card h2{font-size:31px}}
@media(max-width:1150px){.sidebar{width:210px;padding:25px 15px}.main-content{padding:25px}.topbar{padding:0 25px}.topbar-context{display:none}.topbar-actions{margin-left:auto}.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1.7fr 1fr}.goal-card{padding:26px}.goal-card>div:first-child{max-width:85%}.goal-art{opacity:.45}.student-goal{display:none}.two-column{gap:18px}.panel{padding:22px}}
@media(max-width:820px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;border-right:0;padding:18px 20px 12px}.brand{font-size:20px}.brand-mark{width:35px;height:36px;font-size:30px}.centre-label{position:absolute;right:20px;top:8px;max-width:160px}.sidebar nav{display:flex;overflow-x:auto;gap:5px;margin-top:18px;padding-bottom:4px}.nav-caption,.sidebar-foot{display:none}.nav-link{font-size:12px;padding:8px 10px;margin:0}.nav-symbol{font-size:16px}.topbar{height:58px;padding:0 20px}.main-content{padding:22px 20px}.page-heading{margin:22px 0}.goal-card h2{font-size:25px}.learning-grid,.two-column{grid-template-columns:1fr}.coaching-column{display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:40px}.auth-panel{padding:35px}.history-row{flex-wrap:wrap}.student-row{gap:12px}.student-row .inline-link{font-size:11px}}
@media(max-width:560px){.dashboard-grid,.activity-grid,.stats-grid,.coaching-column{grid-template-columns:1fr}.main-content{padding:18px 16px}.topbar{padding:0 16px}.account-name{display:none}.topbar-actions{gap:7px;width:100%;justify-content:flex-end}.language-form{margin-right:auto}.pilot-note{font-size:9px;line-height:1.5}.goal-card{min-height:255px}.goal-card h2{font-size:26px}.progress-preview{display:none}.tip-banner{padding:20px;gap:12px;flex-wrap:wrap}.tip-banner a{margin-left:0}.tip-banner>div{flex:1}.activity-card{padding:23px}.section-line{align-items:flex-start}.section-line h2{font-size:20px}.panel{padding:22px 18px}.form-grid{grid-template-columns:1fr}.problem-text{font-size:22px}.auth-shell{grid-template-columns:1fr}.auth-story{padding:30px 27px}.auth-story .brand-mark{margin-bottom:20px}.auth-story h1{font-size:35px;letter-spacing:-1px}.auth-story>p:not(.eyebrow),.learning-art{display:none}.auth-panel{padding:30px 25px}.auth-card h2{font-size:26px}.student-summary{min-width:0;flex:1}.student-summary h3{font-size:17px}.student-row>.inline-link{font-size:0}.student-row>.inline-link:after{content:'→';font-size:20px}.stats-grid{gap:12px}.stat-card{display:flex;justify-content:space-between;align-items:center;padding:18px}.stat-card>.strong{font-size:26px}.stat-card>.inline-link{display:none}.stat-card>.eyebrow{margin:0;max-width:65%}.account-row summary{gap:10px}.centre-label{max-width:135px;font-size:9px}.sitting-row{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.authenticator-qr img { max-width: 280px; width: 100%; height: auto; padding: 16px; background: white; }
.large-learning-text .problem-text, .large-learning-text .coach-reply, .large-learning-text textarea { font-size: 1.5rem; line-height: 1.8; }
.chunked-learning .problem-text { max-width: 42ch; line-height: 2; white-space: pre-line; }
.learning-support [hidden] { display: none !important; }
.voice-access audio { width: 100%; margin-top: 1rem; }
.stack-form fieldset { border: 1px solid var(--line, #dfe4dd); border-radius: 10px; padding: 1rem; }

/* Class monitoring: text labels accompany every colour. */
.monitor-toolbar,.monitor-actions,.monitor-summary{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin:1rem 0}
.monitor-toolbar{justify-content:space-between}.monitor-summary{padding:1.2rem}.monitor-summary span{font-size:.9rem}
.monitor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:1rem}
.monitor-card{border-top:5px solid var(--monitor-color);padding:1.4rem}.monitor-card[hidden]{display:none}
.monitor-green{--monitor-color:#287c46}.monitor-orange{--monitor-color:#bd6a0a}.monitor-red{--monitor-color:#c13838}.monitor-blue{--monitor-color:#397294}.monitor-grey{--monitor-color:#808883}
.monitor-dot{display:inline-block;width:.7rem;height:.7rem;background:var(--monitor-color);border-radius:50%;margin-right:.5rem}
.monitor-state{font-size:.85rem}.monitor-card h2{font-size:1.3rem;margin-top:1rem}.monitor-card progress{width:100%;accent-color:#2b6956;height:.6rem}
.class-roster-select{max-height:380px;overflow:auto}.chat-thread{display:flex;flex-direction:column;gap:1rem}
.chat-bubble{padding:1rem;border:1px solid #d9e5dd;border-radius:14px;max-width:92%}.from-teacher{background:#eef5ed;align-self:flex-start}.from-student{background:#f9faf7;align-self:flex-end}
.chat-text{white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble .speech-status:empty{display:none}
.monitor-compact{display:none}
[data-monitor-density="compact"] .monitor-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px}
[data-monitor-density="compact"] .monitor-card{padding:12px;border-top-width:4px}
[data-monitor-density="compact"] .monitor-card h2{font-size:15px;letter-spacing:0;line-height:1.3;margin:8px 0;overflow-wrap:anywhere}
[data-monitor-density="compact"] .monitor-state{font-size:11px;line-height:1.3}
[data-monitor-density="compact"] .monitor-expanded{display:none}
[data-monitor-density="compact"] .monitor-compact{display:block;font-size:11px;margin:5px 0}
[data-monitor-density="compact"] .monitor-actions{margin:5px 0 0;gap:5px}
[data-monitor-density="compact"] .monitor-actions .button{font-size:11px;padding:3px 10px}
[data-monitor-density="compact"] .monitor-card .notice-box{margin:5px 0;padding:5px;font-size:11px}
@media(min-width:901px){.sidebar{overflow-y:auto}}
.classroom-focus-title{display:none}
.classroom-focus .sidebar,.classroom-focus .topbar,.classroom-focus .workspace-footer,.classroom-focus .pilot-note,.classroom-focus .breadcrumb,.classroom-focus .page-heading{display:none}
.classroom-focus .main-content{max-width:none;padding:12px 20px}
.classroom-focus .classroom-focus-title{display:block}
.classroom-focus [data-monitor-density="compact"] .monitor-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}

/* Question comprehension, prepared audio and the personal AI tutor. */
.ai-coach{border-top:4px solid #34725f}.ai-conversation{max-height:650px;overflow:auto;margin:18px 0}.ai-turn{border-bottom:1px solid #d8e3db;padding:16px 0}.ai-language p,.ai-next-step{white-space:pre-wrap;overflow-wrap:anywhere}.ai-language[lang=ta]{line-height:1.9}.ai-next-step{font-weight:650}.question-listening{padding:14px;background:#eef4ed;border-radius:12px;margin:14px 0}.question-listening audio,.ai-coach audio{width:100%;margin-top:12px}.question-listening select{width:auto;display:inline-block;margin:8px}.worked-steps li{padding:14px;margin:12px 0;background:#f2f6ef;border-radius:8px;line-height:1.8}.learning-illustration{margin:24px auto;text-align:center}.learning-illustration svg{width:100%;max-width:520px;height:auto}.visual-reasoning{display:grid;gap:14px;margin:24px 0}.visual-step{display:flex;gap:18px;align-items:flex-start;background:#e9f2e9;border-left:5px solid #36745b;padding:18px;border-radius:8px}.step-number{flex:none;display:grid;place-items:center;background:#296553;color:white;border-radius:50%;width:30px;height:30px}.visual-step p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.worked-example>p[lang=ta]{line-height:1.9}.ai-coach button{white-space:normal}.ai-coach .actions{gap:10px}.learning-grid .coaching-column{min-width:0}
@media(max-width:700px){.question-listening .actions{flex-direction:column;align-items:stretch}.ai-conversation{max-height:500px}.learning-illustration{margin:16px 0}.worked-example{padding:18px}.visual-step{padding:12px;gap:12px}}

.microphone-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
[data-recording-target="level"] { display: inline-block; width: 8rem; height: 1rem; vertical-align: middle; margin-left: .5rem; }
.concept-picture { margin: 18px 0; max-width: 100%; }
.concept-picture img { display: block; width: 100%; max-width: 1024px; height: auto; }
.learning-grid > .problem-panel { min-width: 0; }

.review-picture { display: block; max-width: 100%; height: auto; margin-block: 1rem; }

.registration-entry{padding:20px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.registration-entry:first-child{padding-top:0}.registration-entry:last-child{border-bottom:0;padding-bottom:0}.registration-entry .section-line{flex-wrap:wrap;margin:0 0 12px}.registration-entry h3{margin-bottom:4px}.registration-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;margin:0}.registration-details dd{margin:0;white-space:pre-wrap}

.role-help{margin-bottom:24px}.role-help li{margin-bottom:10px}.capabilities{margin-bottom:24px}.capability-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:15px 0;border-top:1px solid var(--line)}.capability-row>div{flex:1;min-width:0}.capability-row p{margin:5px 0 0}.capability-state{font-size:12px;max-width:180px;border-radius:8px;padding:5px 10px;background:var(--bg)}.capability-state.allowed{background:var(--mint)}.choice small{display:block}.capabilities .history-row{flex-wrap:wrap}@media(max-width:560px){.capability-row{flex-direction:column;gap:8px}.capability-state{max-width:none}}

.chat-notification-link{display:inline-flex;align-items:center;gap:6px;position:relative;min-width:44px;min-height:44px;color:var(--green);text-decoration:none}.chat-unread-badge{border-radius:999px;background:#b13b35;color:#fff;padding:1px 6px;font-size:11px;line-height:1.6;font-weight:700}.chat-unread-badge[hidden]{display:none}.chat-inbox-link{display:flex;justify-content:space-between;gap:16px;padding:12px 0;color:var(--green)}.ai-setup{border:2px solid #9cb792;background:#f1f6eb;padding:20px;border-radius:14px;margin:18px 0}.ai-setup h2,.ai-setup h3{margin-top:0}.ai-setup li{margin:8px 0}.student-access-code{font-size:32px;letter-spacing:3px;text-align:center;font-family:monospace}@media(max-width:560px){.chat-link-label{display:none}.chat-notification-link{gap:2px}.chat-inbox-link{flex-wrap:wrap}.topbar{height:auto;min-height:58px}.topbar-actions{flex-wrap:wrap}}
.support-shortcut{display:flex;align-items:center;gap:18px;margin:20px 0;padding:22px;border:2px solid var(--green);border-radius:16px;background:var(--mint);color:var(--green-dark);text-decoration:none;box-shadow:0 4px 15px #1c4d3d12}.support-shortcut>span:first-child{font-size:2rem}.support-shortcut>span:nth-child(2){flex:1}.support-shortcut strong{display:block;font-size:1.35rem}.support-shortcut small{display:block;margin-top:6px}.support-shortcut:hover{outline:3px solid #a8c8ab}.student-quick-actions{display:grid;gap:12px;max-width:260px}.student-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:22px 0 32px}.student-shortcut{display:flex;gap:12px;flex-direction:column;align-items:flex-start;min-width:0;overflow-wrap:anywhere;padding:18px;min-height:88px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);text-decoration:none}.student-shortcut>span{font-size:1.8rem;min-width:36px}.student-shortcut:hover,.student-shortcut:focus-visible{outline:3px solid var(--green);transform:translateY(-2px)}.screen-preferences{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.screen-preferences select{width:auto;max-width:100%}.ai-thinking{background:#edf5f1;border:2px solid #6ca68c;border-radius:14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:12px;margin:14px 0;color:#214938;min-height:84px}.ai-thinking[hidden]{display:none}.thinking-still{display:none;color:#7553b5;letter-spacing:8px}.thinking-animation{max-width:120px;object-fit:contain}
body[data-screen-theme="garden"]{--bg:#f6f8e9;--mint:#e8f1d9;--green:#386327;--green-dark:#254d1c;--line:#d5dfc9}body[data-screen-theme="garden"] .student-shortcut:nth-child(3n+1){background:#fff0cf}body[data-screen-theme="garden"] .student-shortcut:nth-child(3n+2){background:#f7e5ed}body[data-screen-theme="space"]{--bg:#f1f2fc;--mint:#e8e4fa;--green:#554293;--green-dark:#382d69;--line:#dbd6ee;--ink:#2e3150}body[data-screen-theme="space"] .student-shortcut{border-top:4px solid #7971c2}body[data-screen-theme="calm"]{--bg:#faf9f4;--ink:#202e2a;--muted:#536058;--mint:#e8ede6}body[data-screen-theme="calm"] .goal-art{display:none}body[data-screen-size="large"] .main-content{font-size:1.15rem}body[data-screen-size="extra_large"] .main-content{font-size:1.35rem}body[data-screen-size="large"] .main-content :is(p,li,label,input,textarea,select,button,.button,.student-shortcut){font-size:max(1em,18px);line-height:1.7}body[data-screen-size="extra_large"] .main-content :is(p,li,label,input,textarea,select,button,.button,.student-shortcut){font-size:max(1em,22px);line-height:1.8}
@media(max-width:600px){.screen-preferences{display:grid;grid-template-columns:1fr}.screen-preferences select{width:100%}.student-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.student-shortcut{padding:14px;flex-direction:column;align-items:flex-start;overflow-wrap:anywhere}.student-row{flex-wrap:wrap}.student-quick-actions{max-width:100%;width:100%}.support-shortcut{padding:15px;gap:10px}}
@media(prefers-reduced-motion:reduce){.thinking-animation{display:none}.thinking-still{display:block}.student-shortcut:hover{transform:none}}
.table-scroll{max-width:100%;overflow-x:auto}.forecast-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px;align-items:end}.forecast-form label{display:block;margin-bottom:6px}.forecast-form input{width:100%;min-width:0}

.student-shortcut strong{min-width:0;max-width:100%}@media(min-width:601px){body[data-screen-size="large"] .student-shortcuts{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}body[data-screen-size="extra_large"] .student-shortcuts{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}}

/* Help is available at the top for every role and before sign-in. */
.help-top-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;border:2px solid var(--green);border-radius:10px;background:var(--mint);color:var(--green-dark);font-size:14px;font-weight:700;white-space:nowrap}.help-top-link>span{display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:22px;height:22px}.help-top-link:hover{background:var(--green);color:#fff;text-decoration:none}.auth-help-bar{display:flex;justify-content:flex-end;padding:14px 24px;background:var(--paper);border-bottom:1px solid var(--line)}.public-help-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px max(24px,calc((100vw - 1120px)/2));background:var(--paper);border-bottom:1px solid var(--line)}.public-help-main{max-width:1170px;margin:auto;padding:28px 24px 60px}.help-search-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr) auto;gap:16px;align-items:end}.help-search-form label{display:block;font-weight:600;margin-bottom:8px}.help-search-form input[type=submit]{margin:0}.help-search>p{margin:18px 0 0}.help-categories{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.help-categories [aria-current=page]{background:var(--green);color:#fff}.help-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.help-card{display:flex;flex-direction:column;gap:8px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);min-width:0;overflow-wrap:anywhere}.help-card h3{margin:0}.help-card p{color:var(--muted);font-size:14px;margin:0 0 12px}.help-card .inline-link{margin-top:auto;color:var(--green)}.help-card:hover{text-decoration:none;border-color:var(--green);box-shadow:0 4px 12px #1c4d3d12}.help-article{max-width:1000px;margin:24px auto;overflow-wrap:anywhere}.help-article .page-heading{margin-top:0}.help-article .lede{font-size:16px}.help-location{padding:14px;background:var(--bg);border-radius:10px}.help-steps{padding-left:1.6em}.help-steps li{padding-left:5px;margin:16px 0;max-width:80ch}.help-example{background:var(--mint);border-left:5px solid var(--green);padding:22px;border-radius:12px;margin:24px 0}.help-example h2{font-size:21px}.help-example p:last-child{margin-bottom:0}.help-note{background:var(--bg);padding:18px;border-radius:10px}.help-menu-directory{columns:2;column-gap:28px;margin:28px 0}.help-menu-directory>p{break-inside:avoid;padding:14px 0;border-bottom:1px solid var(--line)}.help-footer{margin-top:40px;border-top:1px solid var(--line);padding:22px 0;color:var(--muted);font-size:13px}.help-article table{min-width:550px;width:100%}.help-article th{text-align:left}.help-article caption{text-align:left;color:var(--muted);font-size:13px;margin:10px 0}.topbar-actions{min-width:0}
@media(max-width:1100px){.topbar{height:auto;min-height:86px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}.topbar-actions{flex-wrap:wrap}.help-search-form{grid-template-columns:1fr 1fr}.help-search-form>div:first-child{grid-column:1/-1}}
@media(max-width:600px){.help-search-form{grid-template-columns:1fr}.help-search-form>div:first-child{grid-column:auto}.help-search,.help-article{padding:18px}.help-card{padding:20px}.help-menu-directory{columns:1}.help-example{padding:16px}.public-help-header{padding:14px 18px}.public-help-header .brand{font-size:20px}.public-help-main{padding:20px 16px 40px}.auth-help-bar{padding:12px 16px}.auth-help-bar .help-top-link{white-space:normal}.help-top-link{padding:7px 10px}.help-footer{font-size:14px}}

.budget-roster{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;max-height:320px;overflow:auto}.budget-roster .choice{margin:0}.budget-grid-tools{margin:18px 0}.budget-sheet{max-height:65vh;background:var(--paper);border:1px solid var(--line);border-radius:12px}.budget-sheet table{border-collapse:separate;border-spacing:0;min-width:1900px}.budget-sheet thead th{position:sticky;top:0;background:var(--mint);z-index:3;min-width:145px}.budget-sheet thead th:first-child{min-width:44px}.budget-sheet th:nth-child(2){position:sticky;left:0;background:var(--paper);min-width:190px;z-index:2;box-shadow:3px 0 5px #253c3610}.budget-sheet thead th:nth-child(2){z-index:4;background:var(--mint)}.budget-sheet th small{display:block;font-weight:400}.budget-sheet td{padding:8px}.budget-sheet .budget-cell-edited{background:#fff7d7;border-color:#ac8b32}.budget-sheet tr[hidden]{display:none}.budget-sheet input[type=number]{min-width:125px}.budget-sheet input::placeholder{color:#657168;opacity:1;font-style:italic}

/* Attendance register: wide tables scroll locally; saved status stays readable. */
.attendance-table th,.attendance-table td{vertical-align:top;padding:14px;min-width:115px}.attendance-table td:last-child{min-width:290px}.attendance-table small,.attendance-table th small{display:block;color:var(--muted);font-weight:400;margin-top:5px}.attendance-table input[type=text],.attendance-table input[type=datetime-local]{margin:6px 0;width:100%}.attendance-table form{margin:0}.attendance-state{display:inline-block;padding:5px 9px;border-radius:6px;background:#f0f1ec}.attendance-state.present{background:#e4f3e8;color:#225c3c}.attendance-state.absent{background:#fae9e3;color:#893c29}.attendance-state.excused{background:#e6eef7;color:#30567e}.arrival-card{max-width:760px;margin:24px auto;text-align:center}.arrival-card .actions{justify-content:center}.arrival-tick{margin:0 auto 18px;width:78px;height:78px;border-radius:50%;background:#dff1dc;color:#236344;font-size:48px;line-height:78px;animation:arrival-pop .5s ease-out}.arrival-card ul{list-style:none;padding:0}@keyframes arrival-pop{from{transform:scale(.7);opacity:.2}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.arrival-tick{animation:none}}
img.science-diagram { width: 100%; height: auto; max-width: 900px; }
.prepared-example-visual .prepared-picture-zoom { margin-top: 16px; text-align: left; min-width: 0; }
.prepared-picture-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); }
.prepared-picture-scroll svg { display: block; width: 640px; min-width: 640px; max-width: none; }
