:root{--canvas:#f6f5ef;--surface:#fffefb;--ink:#243f35;--body:#40554a;--muted:#65715d;--line:#e1e5da;--teal:#286e5b;--teal-dark:#205644;--teal-soft:#e7eee3;--orange:#bf7042;--orange-soft:#f3e5d5;--cream:#eceee1;--radius:20px;--sidebar:224px;--shadow:0 12px 38px #283f3306;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--body);background:var(--canvas);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.65}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button{touch-action:manipulation}button:active:not(:disabled),.button:active{filter:brightness(.94)}a,button{transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d39a55;outline-offset:4px}h1,h2,h3,h4,p,figure{margin:0}h1,h2,h3,h4{color:var(--ink);font-weight:650;line-height:1.5}h1{font-size:32px;letter-spacing:-1px}h2{font-size:23px}h3{font-size:19px}p{overflow-wrap:anywhere}svg{max-width:100%}.icon{display:inline-block;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.small,small{font-size:13px}.hidden{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:24px;z-index:100;background:var(--teal);color:white;padding:12px 20px;border-radius:10px}.skip-link:focus{top:12px}.initial-loading{max-width:600px;margin:20vh auto;padding:32px;text-align:center}.page-loading{padding:80px;text-align:center;color:var(--muted)}
.button{min-height:48px;padding:12px 22px;border-radius:10px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:15px;font-weight:600;white-space:normal;text-align:center}.primary{background:var(--teal);color:#fffef9}.primary:hover{background:var(--teal-dark)}.secondary{background:var(--surface);border-color:#d4dccb;color:var(--ink)}.secondary:hover{background:#edf1e8}.full{width:100%}.text-button,.text-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--teal);font-weight:500;border:0;background:transparent;min-height:44px;font-size:14px;padding:8px 10px}.text-button:hover,.text-link:hover{color:var(--teal-dark);background:#286e5b08;border-radius:8px}.icon-button{border:0;background:transparent;width:44px;height:44px;display:inline-flex;justify-content:center;align-items:center;border-radius:10px;flex-shrink:0}.icon-button:hover{background:var(--teal-soft)}.eyebrow{font-size:12px;letter-spacing:1.5px;display:block;color:#5a715c;font-weight:600}.round-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--teal-soft);color:var(--teal);border-radius:14px;flex-shrink:0}.label-pill{display:inline-flex;gap:20px;background:#fffef575;border:1px solid #cdd8c5;border-radius:6px;padding:5px 10px;font-size:12px;letter-spacing:1px;color:#527051}.label-pill span{border-left:1px solid #cdd8c5;padding-left:10px;font-variant-numeric:tabular-nums}
.site-shell{min-height:100dvh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:35px 20px 20px;border-right:1px solid var(--line);background:#fdfcf7;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:20px;font-weight:750;line-height:1.45;white-space:nowrap}.brand>.icon{width:35px;height:35px;color:var(--teal);padding:5px;stroke-width:1.6;background:var(--teal-soft);border-radius:10px}.brand small{display:block;font-size:8px;letter-spacing:3px;font-weight:500;color:#5e6a5b;margin-top:3px}.workspace-label{font-size:11px;color:#63695f;margin:45px 14px 12px;letter-spacing:1.2px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;min-height:49px;border-radius:10px;padding:12px 13px;font-size:14px;color:#5f6c61}.nav-item .icon{width:19px;height:19px}.nav-item:hover{background:#f0f3ea;color:var(--ink)}.nav-item.active{color:var(--teal-dark);background:var(--teal-soft);font-weight:650}.sidebar-note{margin:auto 10px 30px;padding-top:55px;color:#676e5f}.sidebar-note>.icon{margin-bottom:12px;width:26px;height:26px}.sidebar-note p{font-size:13px;line-height:1.9;letter-spacing:.5px}.sidebar-bottom{display:flex;align-items:center;padding-top:18px;border-top:1px solid var(--line);gap:9px}.user-avatar{display:grid;place-items:center;background:#e9e1d2;color:#6d684d;width:36px;height:36px;border-radius:50%;font-size:13px}.sidebar-bottom strong{font-size:12px;display:block}.sidebar-bottom small{font-size:10px;color:#636b60;display:block}.sidebar-bottom .icon-button{margin-left:auto;width:36px}.main-column{margin-left:var(--sidebar);width:calc(100% - var(--sidebar));min-width:0}.topbar{height:82px;display:flex;justify-content:space-between;align-items:center;padding:0 42px;border-bottom:1px solid #e4e7dd}.topbar-location{display:flex;gap:14px;font-size:12px;color:#656c60}.topbar-location span{color:#686d64}.topbar-location strong{font-weight:500;color:#5c7160}.save-pill{display:flex;gap:7px;align-items:center;font-size:11px;color:#5b6d57}.save-pill i{height:5px;width:5px;border-radius:50%;background:#80a275}.save-pill .pending{color:var(--orange)}#main{padding:36px 42px 28px;max-width:1340px;margin:0 auto;min-height:70vh;outline:none}.page-footer{max-width:1340px;margin:0 auto;padding:20px 42px 30px;display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#646a5b}.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:29px}.welcome-row .eyebrow{margin-bottom:9px;letter-spacing:1px;font-size:12px}.welcome-row h1{font-size:27px;letter-spacing:-.6px}.date-tag{font-size:11px;color:#666d60;margin-bottom:5px;white-space:nowrap}
.hero-card{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#e9eddf;border:1px solid #dfe4d3;border-radius:var(--radius);min-height:357px;overflow:hidden;position:relative}.hero-copy{padding:32px 0 30px 36px;position:relative;z-index:1}.hero-copy h2{font-size:39px;letter-spacing:1px;line-height:1.45;font-weight:660;margin:18px 0 14px;color:#294a36}.hero-copy h2 span{color:#52724b}.hero-copy p{font-size:13px;line-height:1.9;color:#5f6c5a}.hero-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:25px}.hero-actions .button{font-size:13px;min-height:46px;padding:11px 18px}.hero-actions .text-link{font-size:12px}.hero-note{margin-top:18px;font-size:10px;color:#626c5a;display:flex;align-items:center;gap:5px}.hero-note .icon{width:13px;height:13px}.hero-visual{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:12px 15px 20px 0;min-width:0}.hero-art{width:100%;max-width:470px;height:auto;overflow:visible}.art-caption{font-size:10px;color:#646d58;letter-spacing:2px;margin-top:-14px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading h2{font-size:18px;font-weight:650;letter-spacing:.2px}.section-heading>span{font-size:11px;color:#666e61}.section-heading .text-link{font-size:11px;padding:0 4px}.section-heading .icon{width:16px}.today-section,.journey-section{margin-top:34px}.today-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:20px}.recommended-lesson{background:var(--surface);border:1px solid var(--line);padding:25px 22px;display:flex;align-items:flex-start;gap:17px;border-radius:14px;box-shadow:var(--shadow);min-width:0}.recommended-lesson:hover{border-color:#b3c5ab;background:#fffffc}.recommended-lesson .round-icon{width:43px;height:43px;border-radius:12px;margin-top:2px;background:#eef1e7}.recommended-copy{min-width:0;flex:1}.recommended-copy .eyebrow{font-size:10px;letter-spacing:1px}.recommended-copy h3{font-size:19px;margin:6px 0 8px}.recommended-copy p{font-size:12px;line-height:1.8;color:#646d5f}.duration{display:flex;align-items:center;gap:5px;margin-top:18px;font-size:10px;color:#666f5e}.duration .icon{width:12px;height:12px}.arrow-circle{align-self:center;border:1px solid #e2e7d9;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;color:#607055;flex-shrink:0}.arrow-circle .icon{width:16px}.gentle-note{background:#f0e9dc;border:1px solid #e7dfd0;border-radius:14px;padding:22px 24px;position:relative;overflow:hidden}.gentle-note .eyebrow{font-size:10px;color:#7a664c;letter-spacing:1px}.gentle-note h3{font-size:18px;line-height:1.6;color:#6c634e;margin:8px 0}.gentle-note p{font-size:11px;color:#756a56;line-height:1.9}.gentle-note>span:last-child{position:absolute;bottom:16px;right:20px;display:flex;gap:8px;color:#756955}.gentle-note>span:last-child .icon{width:15px}.route-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:23px 0}.route-preview>a{position:relative;padding:0 22px;border-right:1px solid var(--line);min-width:0;min-height:104px}.route-preview>a:last-child{border:0}.route-preview>a:hover h3{color:var(--teal)}.route-number{font-size:11px;display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf0e5;color:#607053;margin-bottom:11px;font-variant-numeric:tabular-nums}.route-preview h3{font-size:13px;font-weight:600;line-height:1.6;margin-bottom:6px}.route-preview p{font-size:10px;color:#666e5f;line-height:1.8}.journey-summary{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#606a5a;padding-top:17px;gap:16px}.journey-summary>span:first-child{display:flex;gap:5px;align-items:center}.journey-summary .icon{width:14px;height:14px}.journey-summary>span:last-child{letter-spacing:2px;white-space:nowrap}.review-note{margin-top:24px;display:flex;gap:17px;padding:22px 25px;background:#f8edda;border:1px solid #eaddc6;border-radius:14px}.review-note h3{font-size:17px;margin:4px 0}.review-note p{font-size:13px;white-space:pre-wrap}.review-note .round-icon{background:#eddbbb;color:#855f37}
.page-heading{margin:4px 0 30px}.page-heading .eyebrow{margin-bottom:9px}.page-heading p{margin-top:10px;max-width:730px;font-size:14px;line-height:1.9;color:#5f6b5b}.breadcrumb{display:flex;gap:13px;align-items:center;margin:-6px 0 24px;font-size:12px;color:#656c5f}.breadcrumb a{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--teal)}.breadcrumb .icon{width:16px}.map-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:21px 24px;background:#e9eee0;border-radius:14px;margin-bottom:25px;font-size:13px;color:#526e49}.map-intro>span{display:flex;align-items:center;gap:10px}.map-intro .button{min-height:44px;font-size:13px}.lesson-map{display:flex;flex-direction:column;gap:14px}.map-lesson{display:flex;align-items:center;gap:23px;padding:24px 28px;background:var(--surface);border:1px solid var(--line);border-radius:14px;position:relative;min-width:0}.map-lesson:hover{border-color:#aec4a5;box-shadow:var(--shadow)}.map-index{width:47px;height:47px;border:1px solid #e1e6d8;background:#f5f7f0;border-radius:50%;color:#596f52;font-size:17px;display:grid;place-items:center;font-variant-numeric:tabular-nums;flex-shrink:0}.map-lesson:nth-child(3n+2) .map-index{background:#f7efe2;color:#82643c;border-color:#ece1ce}.map-content{flex:1;min-width:0}.map-title{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.map-title h2{font-size:18px}.map-content p{font-size:13px;color:#646f5f;margin:7px 0}.map-meta{font-size:10px;color:#636b5a}.map-arrow{color:#627056}.map-arrow .icon{width:20px}.status-tag{font-size:10px;line-height:1.5;display:inline-flex;align-items:center;min-height:24px;background:#e9efe3;border-radius:5px;padding:4px 8px;color:#5d7051;vertical-align:middle;margin:3px 5px 3px 0}.status-tag.needs_review{background:#f5e8d8;color:#86603b}.status-tag.independent_evidence{background:#e1eee3;color:#39754f}.status-tag.neutral{background:#f2f1e8;color:#6a6c5b}.under-note{font-size:11px;color:#656c5c;margin:23px 0;line-height:1.9}.lesson-heading{margin-bottom:28px}.lesson-layout{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:start;gap:26px}.step-nav{min-width:0}.step-tab{display:flex;align-items:center;gap:10px;width:100%;min-height:49px;font-size:12px;border:0;background:transparent;border-radius:10px;margin:0 0 6px;padding:10px 11px;text-align:left;color:#636d5b}.step-tab span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #dfe6d8;border-radius:50%;font-size:10px;flex-shrink:0}.step-tab.selected{background:#e7edde;color:var(--teal-dark);font-weight:600}.step-tab.selected span{background:var(--teal);color:white;border-color:var(--teal)}.lesson-source{margin:24px 12px 0;padding-top:20px;border-top:1px solid var(--line);font-size:10px;color:#676d5f;line-height:1.9}.lesson-source strong{color:#5f6c55;font-weight:500}.lesson-source p{margin-top:8px}.lesson-paper,.question-paper{padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:16px;min-width:0;box-shadow:var(--shadow)}.step-count{display:flex;justify-content:space-between;color:#636b5b;font-size:10px;letter-spacing:1px;margin-bottom:20px}.lesson-paper h2{font-size:24px;margin-bottom:19px}.lesson-body{font-size:16px;line-height:1.95;color:#586f55}.lesson-body p{margin-bottom:14px;white-space:pre-wrap}.fraction-figure{margin:24px 0 15px;border-radius:14px;background:#f2f5ec;padding:14px 15px 20px;text-align:center;overflow:hidden}.fraction-figure svg{width:100%;max-width:550px;color:#507044}.fraction-figure svg text{font-family:inherit;font-size:15px;fill:#617359}.fraction-figure figcaption{font-size:12px;color:#5f6d55;margin:0 10px 14px}.visual-lab{text-align:left;border-top:1px dashed #d6decb;margin-top:6px;padding:18px 12px 0}.visual-lab .eyebrow{font-size:10px}.visual-lab label{display:block;font-size:13px;color:#5d6c54;margin:10px 0}.visual-lab output{float:right;color:#416638;font-weight:600}.visual-lab input[type="range"]{display:block;accent-color:var(--teal);width:100%;height:44px;margin:4px 0}.mini-bar{display:grid;grid-template-columns:repeat(var(--parts),minmax(0,1fr));gap:3px;height:27px}.mini-bar span{background:#e2e8d9;border-radius:2px}.mini-bar .filled{background:#629377}.visual-caption{font-size:13px;margin-top:12px}.visual-lab small{display:block;font-size:10px;color:#637058;margin-top:5px}.step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:28px}.thinking-note{padding:20px;background:#f7edde;font-size:14px;color:#7b6243;border-radius:10px;margin-top:24px}.lesson-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:25px;font-size:12px;color:#656f5b}.lesson-bottom>span{display:flex;align-items:center;gap:8px}.lesson-bottom>span .icon{width:17px}
.practice-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px}.practice-header h1{font-size:27px;margin-top:6px}.question-count{font-size:30px;color:#556e4c;font-variant-numeric:tabular-nums}.question-count small{font-size:14px;color:#646b5c}.question-progress{display:flex;gap:7px;margin-bottom:27px}.question-progress span{height:4px;background:#e2e7d8;flex:1;border-radius:3px}.question-progress .past{background:#b5c9a4}.question-progress .current{background:#518267}.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:24px;align-items:start}.question-label{font-size:11px;color:#636d56;letter-spacing:1px}.question-paper h2{margin:13px 0 24px;font-size:22px;line-height:1.8;white-space:pre-wrap}.choices{padding:0;border:0;margin:0 0 20px;display:flex;flex-direction:column;gap:10px}.choice{display:flex;align-items:center;gap:14px;min-height:60px;border:1px solid #e1e6d7;background:#fafbf6;border-radius:11px;padding:13px 17px;cursor:pointer;font-size:16px;color:#526948}.choice:hover{border-color:#91b08b}.choice:has(input:checked){border-color:#598667;background:#eaf1e3;color:#2e5c3a}.choice input{width:18px;height:18px;accent-color:var(--teal);margin:0;flex-shrink:0}.choice-letter{font-size:12px;color:#636f59;border-right:1px solid #dde4d3;padding-right:14px}.answer-label{font-size:12px;color:#606f54;display:block;margin-bottom:8px}.answer-input{width:100%;max-width:340px;font-size:24px!important;letter-spacing:1px;padding:13px 16px!important}.answer-input::placeholder{font-size:14px;letter-spacing:0}.thinking-details{margin-top:23px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:7px 0 12px}.thinking-details summary{cursor:pointer;min-height:48px;padding:13px 2px;font-size:12px;color:#606f54;line-height:1.8}.thinking-details textarea{margin:8px 0;min-height:88px}.help-checkbox{display:flex;align-items:center;gap:8px;font-size:11px;color:#646d5a;margin:18px 0;min-height:44px}.help-checkbox input{width:17px;height:17px;accent-color:var(--teal);margin:0;flex-shrink:0}.answer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:19px}.help-card{padding:25px 21px;border:1px solid #e0e5d5;border-radius:14px;background:#eef1e5}.help-card .round-icon{background:#e2e8d5;color:#5f7048;width:40px;height:40px;border-radius:11px}.help-card h3{font-size:18px;margin:13px 0 9px}.help-card p{font-size:12px;color:#637056;line-height:1.95}.help-card>.button{margin-top:21px;font-size:12px;padding:10px}.help-card .text-button{font-size:12px;margin-top:5px}.paper-note{padding:24px 20px;font-size:11px;line-height:2;color:#666e5c}.paper-note .icon{width:17px;margin-right:7px}.hint{padding:14px 0 0}.hint span{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#636d56}.hint p{padding:9px 12px;margin-top:5px;border-left:2px solid #b4c99d;background:#f8faF2;font-size:13px;color:#5b7149;border-radius:0 6px 6px 0}.feedback{padding:17px 19px;border:1px solid #dfdfc4;background:#f8f3e4;border-radius:12px;margin:22px 0 4px}.feedback.correct{background:#edf3e5;border-color:#d4e2c9}.feedback strong{display:flex;gap:8px;font-size:14px;color:#596d43}.feedback p{font-size:14px;line-height:1.9;white-space:pre-wrap;margin-top:10px;color:#657051}.feedback small{display:block;font-size:10px;color:#656c5a;margin-top:11px}.form-error,.media-error{font-size:12px;color:#a4543b;line-height:1.8;white-space:pre-wrap}.form-error:not(:empty),.media-error:not(:empty){padding:10px 0}.question-navigation{display:flex;justify-content:space-between;margin-top:17px}.question-navigation .text-button{font-size:12px}.diagnostic-intro,.finish-page{max-width:670px;margin:22px auto 55px;text-align:center;padding:40px 30px}.diagnostic-intro>.round-icon,.finish-page>.round-icon{display:flex;margin:0 auto 22px;width:62px;height:62px;border-radius:20px;background:#e5eddc}.diagnostic-intro h1,.finish-page h1{font-size:38px;margin:18px 0;color:#385737;line-height:1.5}.diagnostic-intro>p,.finish-page>p{font-size:14px;color:#616c56;line-height:2}.diagnostic-rules{text-align:left;background:#fffdf7;border:1px solid #e1e6d6;padding:23px 25px;border-radius:15px;margin:30px 0}.diagnostic-rules p{display:flex;align-items:baseline;gap:15px;font-size:13px;line-height:1.9;margin:9px 0;color:#5d704f}.diagnostic-rules span{color:#5f6a53;font-size:11px;font-variant-numeric:tabular-nums}.diagnostic-intro>.small{font-size:11px;margin-top:16px}.finish-page .hero-actions{justify-content:center}.finish-page .muted{font-size:12px;margin:20px 0}
.media-buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:4px 0}.tool-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;padding:10px 12px;border:1px solid #dfe5d4;background:#fafbf5;border-radius:8px;min-height:44px;color:#5f6f50}.tool-button .icon{width:17px;height:17px}.tool-button.recording{background:#fae6dd;border-color:#e7b59c;color:#9d573c}.record-time{font-size:11px;color:var(--orange)}.attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px;margin-top:10px;min-width:0}.attachment{border:1px solid #dfe5d5;background:#f8faf2;border-radius:10px;padding:8px;min-width:0;overflow:hidden}.image-preview{display:block;padding:0;border:0;background:none;position:relative;width:100%;height:110px;border-radius:6px;overflow:hidden}.image-preview img{width:100%;height:100%;object-fit:cover}.image-preview span{position:absolute;bottom:0;left:0;right:0;background:#253f3780;color:white;font-size:10px;padding:2px}.attachment audio{width:100%;max-width:100%;height:42px}.attachment-bottom{display:flex;align-items:center;gap:5px}.attachment-name{font-size:10px;color:#606b55;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex:1}.attachment-bottom .icon-button{width:44px;height:44px}.attachment-bottom .icon{width:15px}.upload-state{font-size:10px;color:#656d5a;line-height:1.7}.attachment progress{width:100%;accent-color:var(--teal);height:7px;margin-top:7px}.retry-media{font-size:11px}.photo-dialog{border:0;border-radius:18px;background:var(--surface);max-width:min(94vw,800px);max-height:90dvh;padding:24px;box-shadow:0 20px 90px #0004;color:var(--body)}.photo-dialog::backdrop{background:#1c3029aa}.photo-dialog>button{display:flex;margin-left:auto}.photo-dialog>img{display:block;max-width:100%;max-height:66dvh;margin:10px auto;object-fit:contain}.photo-dialog p{font-size:12px;color:var(--muted)}
.chat-toggle{position:fixed;right:27px;bottom:25px;z-index:25;display:flex;align-items:center;gap:9px;min-height:49px;padding:12px 18px;border:1px solid #1f614d;border-radius:30px;background:var(--teal);color:white;font-size:13px;box-shadow:0 8px 24px #286e5b29}.chat-toggle .icon{width:19px}.chat-panel{position:fixed;inset:14px 14px 14px auto;width:390px;background:#fffef9;border:1px solid #dbe3d2;box-shadow:-10px 8px 45px #36463418;border-radius:20px;z-index:30;display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 28px)}.chat-header{display:flex;gap:10px;align-items:center;padding:21px 19px 17px;border-bottom:1px solid #e3e7db;flex-shrink:0}.chat-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e7eddf;color:#527145}.chat-header h2{font-size:16px}.chat-header p{font-size:10px;color:#626e55;margin-top:2px}.chat-header .icon-button{margin-left:auto}.chat-context{background:#f3f5ec;border-bottom:1px solid #e4e9d9;padding:9px 20px;font-size:10px;color:#616d55;flex-shrink:0}.chat-messages{padding:21px 18px;overflow-y:auto;flex:1;min-height:130px;overscroll-behavior:contain}.chat-welcome{text-align:center;padding:42px 15px;color:#666e5a}.chat-welcome>.icon{width:33px;height:33px;margin-bottom:16px}.chat-welcome h3{font-size:18px;color:#5c6e4c;margin-bottom:12px}.chat-welcome p{font-size:12px;line-height:2;color:#616b55}.chat-message{margin:0 0 18px;padding:12px 14px;background:#f1f4e9;border-radius:12px 12px 12px 3px;max-width:100%;min-width:0}.chat-message.from-user{background:#e5ecdd;border-radius:12px 12px 3px 12px;margin-left:20px}.message-author{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#5f6c4d;margin-bottom:7px}.message-author time{font-size:9px;color:#656d5a}.message-text{font-size:14px;line-height:1.95;color:#5b724a;white-space:pre-wrap;overflow-wrap:anywhere}.message-status{display:block;font-size:10px;color:#7a633e;margin-top:7px}.chat-compose{border-top:1px solid #e0e6d5;padding:15px 16px max(17px,env(safe-area-inset-bottom));background:#fffef9;flex-shrink:0;max-height:50dvh;overflow-y:auto}.chat-compose textarea{min-height:79px;max-height:140px;font-size:16px;line-height:1.6;background:#fbfcf5}.chat-compose .media-buttons{gap:6px;align-items:stretch}.chat-compose .tool-button{font-size:10px;padding:9px}.chat-compose .attachments{max-height:150px;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.chat-compose .image-preview{height:75px}.chat-send-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.chat-send-row>span{font-size:9px;color:#656c57}.chat-send-row .button{min-height:44px;font-size:12px;padding:9px 15px}.chat-form-status{font-size:11px;color:#7a6544;line-height:1.8;margin:7px 0}.chat-open .main-column{padding-right:396px}.chat-open .topbar{padding-left:30px;padding-right:24px}.chat-open #main{padding-left:30px;padding-right:24px}.chat-open .hero-card{grid-template-columns:1fr}.chat-open .hero-visual{display:none}.chat-open .today-grid,.chat-open .practice-layout,.chat-open .lesson-layout{grid-template-columns:minmax(0,1fr)}.chat-open .lesson-source{display:none}.chat-open .step-nav{display:flex;overflow-x:auto}.chat-open .step-tab{min-width:145px}.chat-open .route-preview{grid-template-columns:1fr 1fr}.chat-open .route-preview>a:nth-child(2){border-right:0}.chat-open .route-preview>a:nth-child(n+3){margin-top:20px}.chat-open .date-tag{display:none}.chat-open .practice-help{display:grid;grid-template-columns:1fr}.chat-open .paper-note{display:none}
.paper-panel{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:28px;min-width:0}.empty-state{text-align:center;padding:56px 25px 65px;max-width:650px;margin:auto}.empty-state>.icon{width:37px;height:37px;color:#616a56;margin-bottom:17px}.empty-state h3{font-size:19px;color:#5c6d4e;margin-bottom:9px}.empty-state p{font-size:13px;color:#666f5b;line-height:1.9}.timeline{padding-left:5px}.timeline-item{display:flex;position:relative;gap:21px;padding:0 0 25px;border-left:1px solid #e0e7d5;margin-left:5px}.timeline-item:last-child{border-left-color:transparent;padding-bottom:0}.timeline-item>i{position:absolute;width:9px;height:9px;background:#9bb88a;border:2px solid white;border-radius:50%;left:-5px;top:6px}.timeline-item>div{margin-left:22px;flex:1;min-width:0}.timeline-meta{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:10px;color:#646d58;margin-bottom:7px}.timeline-meta>time{font-variant-numeric:tabular-nums}.timeline-item h3{font-size:14px;font-weight:550;margin-bottom:8px}.timeline-item p{font-size:13px;color:#5b6c51;margin-bottom:7px;white-space:pre-wrap}.record-attachments{display:flex;gap:9px;flex-wrap:wrap;margin:8px 0 0}.record-attachments a{display:inline-flex;align-items:center;gap:5px;font-size:10px;min-height:44px;padding:6px 9px;border:1px solid #dce5d2;border-radius:6px;max-width:100%;overflow-wrap:anywhere;color:#5d6e50}.record-attachments .icon{width:13px;height:13px}.parent-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:25px}.parent-heading>.button{font-size:12px;margin-top:23px}.stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #dde4d3;border-bottom:1px solid #dde4d3;padding:24px 0;margin-bottom:30px}.stats-row>div{padding:0 22px;border-right:1px solid #dde4d3}.stats-row>div:first-child{padding-left:0}.stats-row>div:last-child{border:0}.stats-row span{display:block;font-size:11px;color:#656f59}.stats-row strong{display:block;font-size:32px;font-weight:500;color:#567047;line-height:1.5;margin-top:7px}.parent-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.parent-tabs button{padding:11px 17px;min-height:46px;background:transparent;border:1px solid transparent;border-radius:9px;font-size:12px;color:#656d5a}.parent-tabs .selected{border-color:#dce5d1;background:#e8efdf;color:#53713f}.conversation-record{border:1px solid #e1e7d7;border-radius:9px;margin-bottom:15px;overflow:hidden}.conversation-record summary{display:flex;justify-content:space-between;gap:15px;align-items:center;cursor:pointer;min-height:56px;font-size:14px;color:#587148;background:#f3f6ed;padding:14px 19px}.conversation-record summary span{font-size:11px;color:#626d56}.parent-message{padding:19px;border-top:1px solid #e6ebdf}.parent-message strong{font-size:12px;color:#597044}.parent-message small{margin-left:10px;font-size:10px;color:#616b56}.parent-message p{font-size:14px;white-space:pre-wrap;line-height:1.9;margin-top:10px;color:#5b6e52}.event-row{border-top:1px solid #e4e9da;padding:6px 0}.event-row summary{display:grid;grid-template-columns:110px 1fr 1fr;gap:12px;align-items:center;font-size:11px;cursor:pointer;min-height:48px;list-style:none;color:#626d56}.event-row summary strong{font-weight:500;color:#5c714d}.event-row summary span{text-align:right}.event-row pre{background:#f3f6eb;padding:16px;border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-width:100%;color:#5d6c4e}.record-id{font-size:10px;color:#636c5a}.review-form{margin:25px 0}.review-form>label{display:block;font-size:12px;margin:17px 0 7px;color:#607152}.review-form textarea{font-size:16px}.review-lessons{margin:20px 0;border:1px solid #dfe6d4;border-radius:10px;padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}.review-lessons legend{font-size:12px;color:#607050;padding:0 7px}.review-lessons label{font-size:12px;display:flex;align-items:center;gap:8px;min-height:44px;color:#5a6c4c}.review-lessons input{accent-color:var(--teal);width:17px;height:17px;flex-shrink:0}.previous-reviews{border-top:1px solid var(--line);padding-top:27px}.previous-reviews article{padding:21px 0;border-bottom:1px solid var(--line)}.previous-reviews h3{font-size:16px;color:#5f714d}.previous-reviews h4{font-size:15px;margin:6px 0}.previous-reviews p{font-size:13px;white-space:pre-wrap;color:#606d55}.previous-reviews small{font-size:10px;color:#646c59}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),textarea{display:block;width:100%;border:1px solid #dce3d2;background:#fffffb;border-radius:9px;padding:12px 14px;font-size:16px;line-height:1.6;color:var(--body);resize:vertical;max-width:100%;scroll-margin-bottom:180px}input::placeholder,textarea::placeholder{color:#676e5f}input:focus,textarea:focus{border-color:#82a577;outline:2px solid #bfd1b14a;outline-offset:0}.notice{padding:20px;border:1px solid #dce6cf;background:#eef4e5;border-radius:10px;color:#586e41;font-size:14px}.notice.error{border-color:#ebcfba;background:#fcf0e4;color:#846247}.toast{position:fixed;bottom:max(28px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:100;background:#294c3e;color:white;border:1px solid #47785a;border-radius:12px;max-width:min(90vw,560px);padding:13px 20px;line-height:1.8;font-size:13px;box-shadow:0 10px 35px #203d3425;transition:transform .2s,opacity .2s}.toast.show{opacity:1;transform:translate(-50%,0)}
.login-layout{min-height:100dvh;display:grid;grid-template-columns:1.08fr 1fr;background:#fdfbf5}.login-story{padding:44px 9%;background:#e9eddf;position:relative;display:flex;flex-direction:column;min-width:0}.login-story .brand{font-size:22px}.login-intro{margin:auto 0;position:relative;padding:65px 0 40px}.login-intro>.eyebrow{font-size:12px;color:#5f6b55;letter-spacing:3px}.login-intro h1{font-size:54px;line-height:1.5;margin:19px 0 23px;color:#345633;letter-spacing:2px}.login-intro h1 span{color:#566d4b}.login-intro>p{font-size:14px;color:#636d57;line-height:1.9;letter-spacing:1px}.login-intro>.hero-art{display:block;width:100%;max-width:420px;margin:13px auto -25px}.login-foot{font-size:10px;letter-spacing:3px;color:#656d58;padding:12px 0}.login-panel{display:flex;align-items:center;justify-content:center;padding:55px 8%}.login-form-wrap{max-width:365px;width:100%}.small-flower{width:44px;height:44px;background:#ede8d9;color:#77674c;border-radius:13px;display:grid;place-items:center;margin-bottom:25px}.login-form-wrap h2{font-size:31px;line-height:1.6;color:#41613b;letter-spacing:.5px}.login-form-wrap>.muted{font-size:12px;color:#616a59;line-height:1.9;margin-top:13px}#login-form{margin-top:32px}#login-form>label{font-size:11px;color:#5f6c50;display:block;margin:18px 0 9px}#login-form input{padding:13px 15px;min-height:52px;border-radius:9px;background:#fffef8}#login-form>.button{margin-top:29px;min-height:51px;font-size:14px}#login-error{font-size:12px;line-height:1.8;color:#8f5a3e;margin:10px 0}.login-note{font-size:10px;text-align:center;color:#676c5c;line-height:2;margin-top:27px}
@media(min-width:1550px){:root{--sidebar:250px}#main{padding:44px 60px}.topbar{padding:0 60px}.hero-copy{padding:42px 0 40px 46px}.hero-copy h2{font-size:46px}.hero-copy p{font-size:15px}.hero-card{min-height:420px}.hero-actions .button{font-size:15px;padding:13px 22px}.hero-note{font-size:12px}.welcome-row h1{font-size:32px}.hero-visual{padding:20px 30px}.sidebar{padding:40px 26px}.sidebar .brand{font-size:23px}.recommended-copy h3{font-size:21px}.recommended-copy p{font-size:14px}.section-heading h2{font-size:21px}.route-preview h3{font-size:15px}.route-preview p{font-size:12px}.route-preview{padding:26px 0}.route-preview>a{padding:0 29px}.gentle-note h3{font-size:20px}}
@media(max-width:1180px){:root{--sidebar:190px}.sidebar{padding:27px 14px 18px}.brand{font-size:18px;gap:8px}.brand>.icon{width:30px;height:30px}.workspace-label{margin-top:36px}.nav-item{font-size:12px;gap:9px;padding:10px 11px}.topbar{padding:0 28px;height:72px}#main{padding:29px 28px}.page-footer{padding:20px 28px 30px}.hero-copy{padding:26px 0 25px 27px}.hero-copy h2{font-size:33px}.hero-copy p{font-size:12px}.hero-actions{gap:8px}.hero-actions .button{font-size:12px;padding:11px 14px}.hero-actions .text-link{font-size:11px}.hero-card{min-height:334px}.hero-visual{padding:0 5px 18px 0}.recommended-lesson{padding:21px 17px;gap:12px}.recommended-lesson .round-icon{width:36px;height:36px}.recommended-copy h3{font-size:17px}.recommended-copy p{font-size:11px}.recommended-lesson .arrow-circle{display:none}.gentle-note{padding:20px}.gentle-note h3{font-size:16px}.route-preview>a{padding:0 16px}.welcome-row h1{font-size:25px}.lesson-layout{grid-template-columns:170px minmax(0,1fr);gap:18px}.lesson-paper,.question-paper{padding:25px}.practice-layout{grid-template-columns:minmax(0,1fr) 205px;gap:18px}.help-card{padding:22px 17px}.question-paper h2{font-size:20px}.chat-open .main-column{padding-right:0}.chat-open .hero-card{grid-template-columns:1fr 1fr}.chat-open .hero-visual{display:flex}.chat-open .today-grid{grid-template-columns:1.55fr 1fr}.chat-open .route-preview{grid-template-columns:repeat(4,minmax(0,1fr))}.chat-open .route-preview>a:nth-child(2){border-right:1px solid var(--line)}.chat-open .route-preview>a:nth-child(n+3){margin-top:0}.chat-open::before{content:"";position:fixed;inset:0;background:#243f351a;z-index:29;pointer-events:none}.chat-panel{width:400px}}
@media(max-width:950px){:root{--sidebar:82px}.sidebar{padding:24px 12px 18px;align-items:center}.sidebar .brand{font-size:0}.sidebar .brand small{display:none}.sidebar .brand>.icon{width:38px;height:38px}.workspace-label{font-size:0;margin:22px 0 5px}.sidebar nav{width:100%}.nav-item{display:flex;flex-direction:column;justify-content:center;padding:10px 2px;gap:6px;font-size:9px;line-height:1.4;min-height:69px;text-align:center}.nav-item .icon{width:21px;height:21px}.sidebar-note{display:none}.sidebar-bottom{margin-top:auto;flex-direction:column;width:100%;gap:7px;padding-top:20px}.sidebar-bottom>div{display:none}.sidebar-bottom .icon-button{margin-left:0}.topbar{height:66px;padding:0 25px}.topbar-location{font-size:11px}.date-tag{font-size:10px}.hero-copy h2{font-size:33px}.hero-actions .text-link{font-size:11px}.hero-copy{padding-left:25px}.hero-card{min-height:330px}.hero-actions{gap:8px}.hero-visual{padding:0 8px 0 0}.art-caption{font-size:9px}.today-grid{gap:16px}.recommended-copy h3{font-size:17px}.recommended-copy p{font-size:11px}.gentle-note{padding:20px}.route-preview>a{padding:0 17px}.route-preview h3{font-size:12px}.route-preview p{font-size:10px}.lesson-layout{grid-template-columns:150px minmax(0,1fr);gap:17px}.step-tab{font-size:11px;padding:9px}.lesson-paper{padding:25px 22px}.practice-layout{grid-template-columns:minmax(0,1fr) 205px;gap:18px}.question-paper{padding:25px 23px}.parent-heading{flex-direction:column;gap:12px}.parent-heading>.button{margin-top:0}.login-story{padding:30px 8%}.login-intro h1{font-size:43px}.login-panel{padding:45px 10%}.login-form-wrap h2{font-size:28px}.login-intro{padding:50px 0}.login-layout{grid-template-columns:1fr 1fr}}
@media(max-width:760px){#main{padding:27px 23px}.topbar{padding:0 23px}.welcome-row{margin-bottom:23px}.welcome-row h1{font-size:22px}.date-tag{display:none}.hero-card{grid-template-columns:1fr;min-height:0}.hero-copy{padding:26px 27px 25px}.hero-copy h2{font-size:37px;line-height:1.45;margin:16px 0 12px}.hero-copy h2 br{display:none}.hero-copy p{font-size:12px}.hero-visual{display:none}.hero-actions{margin-top:23px;gap:18px}.hero-actions .button{font-size:13px}.hero-actions .text-link{font-size:12px}.hero-note{font-size:10px;margin-top:17px}.today-grid{grid-template-columns:1fr}.recommended-lesson{padding:23px 24px}.recommended-lesson .round-icon{width:43px;height:43px}.recommended-copy h3{font-size:19px}.recommended-copy p{font-size:12px}.recommended-lesson .arrow-circle{display:grid}.gentle-note{padding:22px 25px}.gentle-note h3{font-size:17px}.gentle-note h3 br{display:none}.gentle-note p{font-size:12px}.gentle-note>span:last-child{right:25px;bottom:23px}.route-preview{grid-template-columns:1fr 1fr;padding:23px 0}.route-preview>a{padding:0 23px}.route-preview>a:nth-child(2){border:0}.route-preview>a:nth-child(n+3){margin-top:24px}.route-preview h3{font-size:14px}.route-preview p{font-size:11px}.journey-summary>span:last-child{display:none}.page-footer{padding:16px 23px 84px;flex-direction:column;gap:3px;font-size:10px}.page-heading h1{font-size:29px}.page-heading p{font-size:13px}.map-intro{padding:19px;flex-wrap:wrap}.map-intro>span{font-size:12px}.map-lesson{padding:21px 17px;gap:16px}.map-index{width:36px;height:36px;font-size:13px}.map-title{gap:5px}.map-title h2{font-size:16px;width:100%}.map-content p{font-size:12px}.map-arrow{display:none}.lesson-layout{grid-template-columns:1fr;gap:18px}.step-nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:5px}.step-tab{min-width:130px;max-width:165px;font-size:11px;flex-shrink:0;margin:0}.lesson-source{display:none}.lesson-paper{padding:25px}.lesson-paper h2{font-size:23px}.lesson-body{font-size:16px}.fraction-figure{padding:12px 7px 20px}.lesson-bottom{align-items:flex-start;flex-direction:column;gap:6px}.practice-header h1{font-size:23px}.practice-layout{grid-template-columns:1fr}.question-paper{padding:25px}.question-paper h2{font-size:21px}.practice-help{display:block}.help-card{padding:21px 24px}.help-card .round-icon{display:none}.help-card h3{margin-top:0;font-size:18px}.help-card p br{display:none}.help-card>.button{margin-top:15px}.paper-note{padding:17px 22px 0}.question-navigation{margin-top:7px}.chat-panel{inset:10px 10px 10px auto;width:min(420px,calc(100% - 20px));max-height:calc(100dvh - 20px)}.chat-open #main{padding-left:23px;padding-right:23px}.chat-open .hero-card,.chat-open .today-grid{grid-template-columns:1fr}.chat-open .hero-visual{display:none}.chat-open .route-preview{grid-template-columns:1fr 1fr}.chat-open .route-preview>a:nth-child(2){border:0}.chat-open .route-preview>a:nth-child(n+3){margin-top:24px}.chat-compose{max-height:50dvh}.diagnostic-intro,.finish-page{padding:25px 0;margin-top:10px}.diagnostic-intro h1,.finish-page h1{font-size:32px}.diagnostic-intro>p,.finish-page>p{font-size:13px}.diagnostic-intro>p br,.finish-page>p br{display:none}.diagnostic-rules{padding:18px}.diagnostic-rules p{font-size:12px;gap:10px}.paper-panel{padding:23px}.timeline-meta{flex-wrap:wrap;gap:5px}.stats-row>div{padding:0 12px}.stats-row span{font-size:10px}.stats-row strong{font-size:27px}.parent-tabs{gap:5px}.parent-tabs button{font-size:11px;padding:10px 12px}.event-row summary{grid-template-columns:95px 1fr}.event-row summary span{display:none}.review-lessons{grid-template-columns:1fr}.login-layout{min-height:100dvh;grid-template-columns:1fr}.login-story{padding:27px 35px}.login-intro{padding:27px 0 10px}.login-intro h1{font-size:34px;margin:12px 0 10px;line-height:1.5}.login-intro h1 br{display:none}.login-intro>p{font-size:12px}.login-intro>p br{display:none}.login-intro>.hero-art{display:none}.login-foot{display:none}.login-panel{padding:38px 35px 55px;align-items:flex-start}.login-form-wrap{max-width:430px}.login-form-wrap h2{font-size:24px}.login-form-wrap h2 br{display:none}.small-flower{display:none}#login-form{margin-top:23px}.login-note{font-size:10px}.login-story .brand{font-size:18px}.login-intro .eyebrow{font-size:10px}}
@media(max-width:520px){:root{--sidebar:0px}.sidebar{position:relative;width:auto;height:auto;padding:15px 19px;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;flex-wrap:wrap;justify-content:space-between}.site-shell{display:block}.sidebar .brand{font-size:17px}.sidebar .brand small{display:block;font-size:7px;letter-spacing:2px}.sidebar .brand>.icon{width:29px;height:29px}.workspace-label{display:none}.sidebar nav{order:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:13px}.sidebar nav:has(a:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}.nav-item{font-size:9px;min-height:58px;gap:4px;border-radius:8px;padding:7px 2px}.nav-item .icon{height:18px;width:18px}.sidebar-bottom{border:0;padding:0;margin:0;flex-direction:row;width:auto;gap:5px}.sidebar-bottom .user-avatar{width:28px;height:28px;font-size:10px}.sidebar-bottom .icon-button{width:44px;height:44px}.main-column{width:100%;margin-left:0}.topbar{height:48px;padding:0 21px;background:#f8f8f1}.topbar-location{font-size:10px;gap:10px}.save-pill{font-size:9px}.topbar-location>strong{max-width:115px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}#main{padding:24px 21px}.welcome-row h1{font-size:22px}.welcome-row .eyebrow{font-size:10px}.hero-copy{padding:24px}.hero-copy h2{font-size:30px;letter-spacing:0}.hero-copy h2 br{display:block}.hero-copy p{font-size:12px}.hero-actions{gap:10px}.hero-actions .button{font-size:12px}.hero-actions .text-link{font-size:11px}.today-section,.journey-section{margin-top:27px}.section-heading{margin-bottom:14px;gap:8px}.section-heading h2{font-size:17px}.section-heading>span{font-size:9px}.recommended-lesson{padding:20px 18px;gap:13px}.recommended-lesson .round-icon{width:35px;height:35px}.recommended-copy h3{font-size:17px}.recommended-lesson .arrow-circle{display:none}.recommended-copy p{font-size:11px}.route-preview>a{padding:0 19px}.route-preview h3{font-size:12px}.route-preview p{font-size:10px}.page-heading h1{font-size:28px}.page-heading p{font-size:12px}.page-heading .eyebrow{font-size:10px}.map-lesson{padding:18px 15px;gap:12px}.map-content p{font-size:11px}.map-title h2{font-size:16px}.lesson-heading{margin-bottom:19px}.breadcrumb{font-size:11px;margin-bottom:16px;gap:10px}.lesson-paper{padding:22px 19px}.lesson-paper h2{font-size:21px}.lesson-body{font-size:15px;line-height:1.95}.step-actions .button{font-size:12px;padding:10px 14px}.practice-header h1{font-size:21px}.practice-header .eyebrow{font-size:10px}.question-count{font-size:25px}.question-count small{font-size:12px}.question-paper{padding:23px 20px}.question-paper h2{font-size:19px}.choice{font-size:15px;padding:12px 13px;gap:11px;min-height:56px}.choice-letter{padding-right:10px}.answer-actions .button{font-size:12px;padding:11px 16px}.question-navigation .text-button{font-size:11px}.chat-toggle{right:18px;bottom:18px;font-size:12px;min-height:48px;padding:12px 16px}.chat-panel{inset:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}.chat-header{padding-top:max(18px,env(safe-area-inset-top))}.chat-messages{min-height:80px}.chat-compose{padding:12px 15px max(15px,env(safe-area-inset-bottom));max-height:56dvh}.chat-compose textarea{min-height:68px}.chat-open .topbar{padding:0 21px}.chat-open #main{padding:24px 21px}.parent-heading>.button{font-size:11px}.stats-row>div{padding:0 9px}.stats-row strong{font-size:25px}.stats-row span{font-size:9px}.parent-tabs{gap:3px}.parent-tabs button{font-size:10px;padding:9px 10px}.paper-panel{padding:20px 17px}.timeline-item>div{margin-left:17px}.timeline-item h3{font-size:13px}.timeline-item p{font-size:12px}.timeline-meta{font-size:9px}.timeline-meta>time{display:block}.parent-message{padding:16px}.parent-message small{margin:0;display:block}.parent-message p{font-size:13px}.conversation-record summary{padding:13px 16px;font-size:13px}.review-note{padding:20px 17px;gap:12px}.review-note .round-icon{width:37px;height:37px}.review-note h3{font-size:15px}.review-note p{font-size:12px}.toast{width:calc(100vw - 35px);font-size:12px}.login-story{padding:23px 27px}.login-panel{padding:31px 27px 43px}.login-intro h1{font-size:32px}.login-intro>.eyebrow{letter-spacing:2px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
@media(orientation:landscape) and (max-height:620px){.chat-panel{inset:7px 7px 7px auto;max-height:calc(100dvh - 14px)}.chat-header{padding:10px 15px}.chat-context{display:none}.chat-compose{max-height:55dvh;padding:8px 13px}.chat-compose textarea{min-height:52px;height:58px}.chat-messages{min-height:50px;padding:12px 15px}.chat-form-status{margin:3px 0}.chat-send-row{margin-top:4px}.chat-welcome{padding:15px}.chat-welcome>.icon{display:none}}
/* The keyboard-safe height follows the actual visible viewport on iPad Safari. */
.chat-panel{top:calc(var(--visual-top,0px) + 14px);bottom:auto;height:calc(var(--visual-height,100dvh) - 28px);max-height:calc(var(--visual-height,100dvh) - 28px)}
.chat-compose{max-height:calc(var(--visual-height,100dvh) * .55)}
@media(max-width:760px){.chat-panel{top:calc(var(--visual-top,0px) + 10px);height:calc(var(--visual-height,100dvh) - 20px);max-height:calc(var(--visual-height,100dvh) - 20px)}}
@media(max-width:520px){.chat-panel{top:var(--visual-top,0px);height:var(--visual-height,100dvh);max-height:var(--visual-height,100dvh)}}
/* Safe reply typography: only paragraphs, emphasis, and lists are generated. */
.formatted-reply{white-space:normal;font-size:14px;line-height:1.95;overflow-wrap:anywhere}
.formatted-reply p{margin:0 0 12px;white-space:normal}
.formatted-reply p:last-child{margin-bottom:0}
.formatted-reply strong{font-weight:650;color:var(--ink)}
.formatted-reply ul,.formatted-reply ol{margin:9px 0 14px;padding-left:22px}
.formatted-reply li{padding-left:3px;margin:6px 0}
.formatted-reply li::marker{color:var(--teal);font-weight:600}
.parent-message .formatted-reply{margin-top:10px}
/* Experience records are separate; the identity stays visible in both orientations. */
.account-role-badge{display:none;background:var(--orange-soft);border:1px solid #d8b996;color:#79532d;font-size:10px;padding:3px 7px;border-radius:5px;white-space:nowrap}
.experience-notice{display:flex;align-items:center;gap:9px;padding:11px 42px;background:#f3ebda;border-bottom:1px solid #e0d3b8;color:#785f37;font-size:12px;line-height:1.8}
.experience-notice>.icon{width:17px;height:17px}
@media(max-width:1180px){.experience-notice{padding:11px 28px}}
@media(max-width:950px){.account-role-badge{display:inline-flex;font-size:8px;padding:3px 4px}.experience-notice{padding:11px 25px;font-size:11px}}
@media(max-width:520px){.experience-notice{padding:10px 21px}.account-role-badge{font-size:9px;padding:4px 6px}}
