:root{--ink:#203c39;--muted:#75817d;--teal:#176b64;--teal-dark:#104b46;--paper:#f7f8f4;--line:#e5eae3;--sun:#f4c969;--coral:#ed9578;--white:#fff;--radius:20px;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e3b951;outline-offset:4px}button svg,a svg{pointer-events:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3,.brand,.stat-value{font-family:'Plus Jakarta Sans',system-ui,sans-serif}h1{letter-spacing:-1.3px;line-height:1.2}h2{font-size:18px;letter-spacing:-.4px}h3{font-size:15px;line-height:1.5}.icon{width:21px;height:21px;flex-shrink:0}button{border:0;background:transparent}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:800;color:var(--teal)}.tag{font-size:10px;background:#edf3ee;color:var(--teal);padding:5px 8px;border-radius:6px;white-space:nowrap}.skip-link{position:fixed;left:20px;top:-100px;z-index:100;padding:12px 20px;background:var(--teal);color:white;border-radius:10px}.skip-link:focus{top:15px}
.portal{display:flex;min-height:100vh}.portal-sidebar{width:252px;flex-shrink:0;height:100vh;position:sticky;top:0;display:flex;flex-direction:column;background:white;border-right:1px solid var(--line);padding:30px 20px 0}.brand{display:flex;gap:10px;align-items:center;font-weight:800;font-size:20px;letter-spacing:-.8px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;color:white;background:var(--teal);border-radius:12px}.brand-mark .icon{width:25px;height:25px}.brand-light{font-weight:500;margin-left:3px}.brand small{display:block;font-family:'DM Sans',sans-serif;font-size:9px;font-weight:500;letter-spacing:.4px;color:var(--muted);margin-top:4px}.workspace-label{display:flex;gap:8px;align-items:center;padding:15px 10px;margin:25px 0 10px;border:1px solid var(--line);border-radius:10px;font-size:12px}.workspace-label .tag{margin-left:auto}.status-dot{width:6px;height:6px;border-radius:50%;background:#6caa80}.portal-nav{overflow:auto;flex:1;scrollbar-width:thin}.nav-heading{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;color:#8b948f;margin:20px 13px 10px;font-weight:700}.portal-nav a{display:flex;align-items:center;gap:11px;margin:4px 0;border-radius:10px;padding:11px 13px;color:#727e79;font-size:12px;transition:background .18s,color .18s}.portal-nav a .icon{width:18px;height:18px}.portal-nav a:hover{background:#f4f7f3;color:var(--teal)}.portal-nav a[aria-current]{background:#eaf4ee;color:var(--teal);font-weight:700}.active-dot{width:5px;height:5px;border-radius:50%;background:var(--teal);margin-left:auto}.sidebar-note{padding:15px;border-radius:14px;background:#f6f8ef;margin:20px 0;color:var(--teal)}.sidebar-note>.icon{width:18px;height:18px;margin-bottom:8px}.sidebar-note strong{display:block;font-size:12px;line-height:1.6}.sidebar-note p{font-size:11px;color:#7c897d;margin:5px 0 8px}.text-button{display:inline-flex;align-items:center;gap:7px;padding:0;font-size:12px;color:var(--teal);font-weight:700}.text-button .icon{width:15px;height:15px}.sidebar-account{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:18px 0}.avatar{display:grid;place-items:center;background:#fae6c2;color:#76613f;width:36px;height:36px;border-radius:50%;font-size:13px;font-weight:700;flex-shrink:0}.account-name{flex:1;min-width:0}.account-name strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-name small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.sidebar-account>a{color:#89958c}.sidebar-account>a .icon{width:17px;height:17px}.portal-workspace{flex:1;min-width:0}.portal-topbar{height:78px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#ffffffc9;border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.topbar-title{display:flex;align-items:center;gap:12px;font-size:12px;color:#8b9590}.topbar-title strong{font-weight:500;color:var(--ink)}.breadcrumb-separator{padding:0 12px;color:#c5ccc5}.topbar-actions{display:flex;gap:16px;align-items:center}.search-trigger{display:flex;align-items:center;gap:10px;background:#f5f6f2;border:1px solid #e9ede6;border-radius:9px;padding:9px 12px;font-size:11px;color:#8c958f}.search-trigger .icon{width:15px;height:15px}kbd{font-size:9px;border:1px solid #dfe4dc;border-radius:4px;padding:2px 5px;background:white;color:#8a928b;font-family:inherit}.search-trigger kbd{margin-left:25px}.icon-button{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;color:#7d8982}.icon-button:hover{background:#edf3ed}.avatar-small{width:32px;height:32px;font-size:11px}.drawer-toggle{display:none}.portal-content{padding:32px 36px 0;max-width:1530px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 25px}.page-heading .eyebrow{margin-bottom:8px}.page-heading h1{font-size:29px}.page-heading p:not(.eyebrow){font-size:12px;color:var(--muted);margin-top:9px;line-height:1.7}.date-pill{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;padding:10px 13px;border-radius:9px;font-size:11px;white-space:nowrap;color:#6c7a6e}.date-pill .icon{width:15px;height:15px}
.hero{background:#eaf1df;border:1px solid #e4ebd9;border-radius:var(--radius);position:relative;overflow:hidden;padding:30px 32px;display:flex;min-height:226px;margin-bottom:22px}.hero-copy{position:relative;z-index:1;max-width:66%}.hero .eyebrow{display:flex;gap:7px;align-items:center;font-size:9px;letter-spacing:1.6px;margin-bottom:12px}.hero .eyebrow .icon{width:14px;height:14px}.hero h2{font-size:27px;line-height:1.3;letter-spacing:-.9px;max-width:410px}.hero p:not(.eyebrow){font-size:12px;line-height:1.8;color:#71816b;max-width:360px;margin:10px 0 20px}.hero .button{font-size:11px}.hero-decor{position:absolute;right:30px;top:14px;width:270px;height:220px;pointer-events:none}.orbit{position:absolute;border:1px solid #a3b98d;border-radius:50%;width:176px;height:176px;left:45px;top:23px;opacity:.55}.orbit-two{width:228px;height:130px;left:19px;top:44px;transform:rotate(-30deg)}.globe-art{position:absolute;left:80px;top:54px;width:114px;height:114px;stroke:#6e946d;fill:#d5e3c5;stroke-width:1;transform:rotate(-15deg);filter:drop-shadow(0 12px 15px #63835515)}.floating-card{position:absolute;display:flex;gap:9px;align-items:center;padding:12px;background:#ffffffea;border-radius:12px;box-shadow:0 8px 20px #314d2910;font-size:10px;color:#68835f;transform:rotate(-7deg);left:5px;top:122px}.floating-card:last-child{top:37px;left:147px;transform:rotate(8deg)}.floating-card .icon{width:20px;height:20px}.star-art{position:absolute;right:30px;bottom:38px;font-size:31px;color:#cc9c48}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;border-radius:9px;padding:12px 17px;font-size:12px;font-weight:600;border:1px solid transparent;transition:background .18s,transform .18s;min-height:42px}.button:hover{transform:translateY(-1px)}.button .icon{width:16px;height:16px}.button-primary{background:var(--teal);color:white;box-shadow:0 3px 5px #176b6410}.button-primary:hover{background:var(--teal-dark)}.button-secondary{background:white;border-color:var(--line);color:var(--ink)}.button-secondary:hover{background:#f2f5ef}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat-card{background:white;border:1px solid var(--line);border-radius:15px;padding:19px 20px;transition:box-shadow .2s,transform .2s}.stat-card:is(a):hover{transform:translateY(-3px);box-shadow:0 6px 20px #213c3910}.stat-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#738077}.icon-tile{width:33px;height:33px;display:grid;place-items:center;border-radius:10px}.icon-tile .icon{width:17px;height:17px}.tone-teal{background:#e8f1ec;color:#408273}.tone-sun{background:#fcf4df;color:#c19c4c}.tone-coral{background:#fcece6;color:#cb8166}.tone-blue{background:#eaf0fa;color:#6d8bb2}.stat-value{font-size:28px;display:block;letter-spacing:-1px;margin:8px 0}.stat-card p{font-size:10px;color:#8b948d;line-height:1.5}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-heading h2{font-size:17px}.section-heading a{font-size:11px;color:var(--teal);display:flex;align-items:center;gap:5px;white-space:nowrap}.section-heading .icon{width:14px;height:14px}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.lesson-card{min-width:0;background:white;border-radius:14px;overflow:hidden;border:1px solid var(--line);transition:transform .2s,box-shadow .2s}.lesson-card:hover{transform:translateY(-4px);box-shadow:0 8px 22px #263c3310}.lesson-art{height:117px;background:#e9f0e1;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.lesson-art:before,.lesson-art:after{content:'';position:absolute;width:100px;height:100px;border:1px solid #839e7150;border-radius:50%}.lesson-art:before{transform:translate(-32px,22px)}.lesson-art:after{transform:translate(38px,-28px)}.lesson-art>.icon{width:48px;height:48px;stroke-width:1;color:#779569;z-index:1}.lesson-card:nth-child(2) .lesson-art{background:#f6eee0}.lesson-card:nth-child(2) .lesson-art>.icon{color:#b19463}.lesson-card:nth-child(3) .lesson-art{background:#e9eef5}.lesson-card:nth-child(3) .lesson-art>.icon{color:#7892aa}.lesson-badge{position:absolute;top:12px;left:12px;font-size:8px;letter-spacing:.4px;background:#ffffffdc;border-radius:5px;padding:5px 7px;z-index:2}.lesson-copy{padding:15px}.lesson-copy .eyebrow{font-size:8px;letter-spacing:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}.lesson-copy h3{font-size:12px;min-height:36px}.lesson-meta{display:flex;gap:6px;align-items:center;font-size:9px;color:#89958b;margin:12px 0}.lesson-meta .icon{width:12px;height:12px}.lesson-card .progress-track{height:4px;margin-bottom:8px}.lesson-link{display:flex;justify-content:space-between;align-items:center;color:var(--teal);font-size:10px;font-weight:600}.lesson-link .icon{width:14px;height:14px}.progress-track{height:6px;border-radius:50px;background:#edf0e8;overflow:hidden}.progress-track span{display:block;height:100%;border-radius:50px;background:#75a789}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:20px}.panel h2{font-size:15px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-heading>.icon{width:17px;height:17px;color:#8b998b}.progress-ring{--progress:0;position:relative;width:115px;height:115px;margin:8px auto 19px;border-radius:50%;background:conic-gradient(#82ac7c calc(var(--progress)*1%),#edf2e9 0);display:grid;place-items:center;transform:rotate(-90deg)}.progress-ring:before{content:'';position:absolute;inset:9px;border-radius:50%;background:white}.progress-ring>div{position:relative;transform:rotate(90deg);text-align:center}.progress-ring strong{font-size:25px;font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-1px}.progress-ring small{display:block;font-size:9px;margin-top:3px;color:var(--muted)}.progress-caption{text-align:center;font-size:11px;line-height:1.7;color:#77836f}.progress-caption strong{color:var(--ink)}.panel-link{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:17px;padding-top:15px;border-top:1px solid var(--line);color:var(--teal);font-size:11px;font-weight:600}.panel-link .icon{width:14px;height:14px}.focus-panel{background:#f8eddb;border-color:#f0e6d6}.focus-panel>span{display:block;margin:4px 0 15px;color:#907b59}.focus-panel p{font-size:11px;line-height:1.8;color:#938467;margin:10px 0 17px}.focus-panel .button{width:100%;background:#fffaf2;border-color:#e5d5b7;color:#8a7246;font-size:11px}.history-panel{margin-top:25px}.history-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f0f2ec}.history-row:last-child{border-bottom:0;padding-bottom:0}.history-row .icon-tile{width:31px;height:31px}.history-row-copy{flex:1;min-width:0}.history-row-copy strong{display:block;font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row-copy p{font-size:10px;color:var(--muted);margin-top:5px}.history-row time,.history-row .history-score{font-size:10px;color:#8a958c;white-space:nowrap}.empty-state{padding:20px 0;text-align:center;font-size:12px;color:var(--muted);line-height:1.9}.empty-state .icon{display:block;margin:0 auto 10px;color:#98b497;width:30px;height:30px}.task-row{display:flex;gap:10px;align-items:flex-start;padding:13px 0;border-bottom:1px solid #f0f2ec}.task-row:last-child{border:0;padding-bottom:0}.task-row>.icon{color:#9bab8d;width:16px;height:16px;margin-top:2px}.task-row strong{display:block;font-size:11px;line-height:1.6}.task-row small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.task-row:hover strong{color:var(--teal)}.quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-link{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:16px;border-radius:12px}.quick-link:hover{background:#f6f9f2;border-color:#cddcc8}.quick-link strong{display:block;font-size:12px}.quick-link small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.quick-link>.icon{margin-left:auto;color:#9aa88f;width:16px;height:16px}.portal-footer{display:flex;justify-content:space-between;gap:10px;color:#9aa297;font-size:9px;border-top:1px solid var(--line);margin-top:30px;padding:20px 0}.footer-dot{padding:0 5px}.notice{background:#fff3de;border:1px solid #efdfbd;border-radius:12px;padding:14px 18px;margin-bottom:20px;font-size:12px;line-height:1.8;color:#877047}.error-notice{background:#fbece5;color:#99634d}.drawer-backdrop{position:fixed;inset:0;background:#172f3960;z-index:59;backdrop-filter:blur(3px)}
dialog{border:1px solid var(--line);border-radius:20px;color:var(--ink);padding:24px;box-shadow:0 22px 70px #1d3d3525;max-width:calc(100% - 32px)}dialog::backdrop{background:#14393066;backdrop-filter:blur(4px)}.command-dialog{width:510px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.dialog-heading h2{font-size:18px}.command-input{display:flex;align-items:center;gap:12px;border:1px solid #c6d6c7;background:#f7faf4;padding:12px 15px;border-radius:11px}.command-input .icon{color:#91a38b;width:18px;height:18px}.command-input input{width:100%;background:transparent;border:0;outline:0;font-size:13px;color:var(--ink)}.command-results{max-height:310px;overflow-y:auto;padding:10px 0}.command-results a{display:flex;justify-content:space-between;padding:12px;border-radius:8px;font-size:13px}.command-results a:hover,.command-results a:focus{background:#edf5e9;outline-offset:-3px}.dialog-footnote{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);line-height:1.7}.help-dialog{width:460px}.help-dialog>p{font-size:13px;line-height:1.9;margin-bottom:20px}.help-tip{display:flex;gap:13px;align-items:center;background:#f4f7f0;padding:15px;font-size:12px;margin-bottom:10px;border-radius:10px}.help-tip .icon{color:var(--teal)}.help-dialog .muted{font-size:11px;margin-top:20px}.focus-dialog{width:400px}.focus-dialog>p{font-size:12px;line-height:1.7}.timer-face{font-family:'Plus Jakarta Sans',sans-serif;font-size:65px;font-weight:700;text-align:center;letter-spacing:-3px;margin:35px 0 25px}.timer-options{display:flex;justify-content:center;gap:8px;margin-bottom:25px}.timer-options button{font-size:11px;padding:8px 12px;border:1px solid var(--line);border-radius:20px}.timer-options button[aria-pressed=true]{background:#e9f3e4;border-color:#b8cbb3;color:var(--teal)}.timer-controls{display:flex;gap:10px;justify-content:center;margin-bottom:20px}.toast{position:fixed;right:25px;bottom:25px;z-index:100;padding:15px 22px;background:var(--teal);color:white;box-shadow:0 5px 20px #143d3320;border-radius:12px;font-size:13px;max-width:calc(100vw - 50px)}
/* Login shares the same visual language and needs no CSS framework to render. */
.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fafbf7}.login-story{background:#eaf0df;padding:44px 58px;display:flex;flex-direction:column;position:relative;overflow:hidden;min-height:100vh}.login-story .brand{position:relative;z-index:1}.login-story-content{margin:auto 0;max-width:430px;padding:70px 0 40px;position:relative;z-index:1}.login-story-content .eyebrow{font-size:10px;display:flex;align-items:center;gap:8px;margin-bottom:20px}.login-story-content h1{font-size:46px;line-height:1.22;letter-spacing:-2px}.login-story-content h1 em{font-style:normal;color:var(--teal)}.login-story-content>p{font-size:14px;line-height:1.9;color:#79866e;margin:24px 0 30px;max-width:350px}.login-feature-list{display:flex;flex-wrap:wrap;gap:12px}.login-feature-list>span{display:flex;gap:7px;align-items:center;font-size:11px;background:#ffffffa6;border:1px solid #ffffffb3;padding:10px 13px;border-radius:9px;color:#617954}.login-feature-list .icon{width:15px;height:15px}.login-world{position:relative;height:185px;margin-top:25px;width:100%;overflow:hidden}.login-world .hero-decor{left:60px;top:-12px;transform:scale(1.12)}.login-story-footer{position:relative;z-index:1;display:flex;gap:10px;align-items:center;font-size:10px;color:#819173;line-height:1.7}.login-story-footer .icon{width:17px;height:17px}.login-form-side{display:flex;flex-direction:column;justify-content:center;padding:55px 50px;position:relative}.login-form-wrap{width:100%;max-width:380px;margin:auto}.login-mobile-brand{display:none}.login-form-wrap>.eyebrow{margin-bottom:12px}.login-form-wrap h2{font-size:30px;letter-spacing:-1px;line-height:1.3}.login-description{font-size:13px;line-height:1.8;color:var(--muted);margin:12px 0 28px}.role-tabs{display:flex;background:#f0f3eb;padding:4px;border-radius:11px;margin-bottom:30px;border:1px solid #e8ede1}.role-tabs button{flex:1;padding:10px 7px;border-radius:8px;font-size:12px;color:#859078}.role-tabs button[aria-pressed=true]{background:white;box-shadow:0 2px 7px #33422b0d;color:var(--teal);font-weight:700}.field-label{display:flex;justify-content:space-between;font-size:12px;font-weight:600;margin:18px 0 9px}.login-input-wrap{position:relative}.login-input-wrap input{width:100%;border:1px solid #dce4d6;border-radius:10px;background:white;padding:14px 45px 14px 15px;color:var(--ink);font-size:13px;min-height:48px}.login-input-wrap input::placeholder{color:#a7afa0}.login-input-wrap input:focus{border-color:#7fa08b;outline:3px solid #176b6410;outline-offset:0}.login-input-wrap .icon-button{position:absolute;right:7px;top:7px}.login-submit{width:100%;margin-top:24px;padding:14px;min-height:48px;justify-content:space-between}.login-support{margin-top:16px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted);align-items:center}.login-support button{color:var(--teal);padding:5px 0;font-size:11px}.login-footnote{border-top:1px solid var(--line);margin-top:30px;padding-top:20px;display:flex;gap:9px;color:#87937e;font-size:10px;line-height:1.8}.login-footnote .icon{width:16px;height:16px;flex-shrink:0;margin-top:2px}.login-footer{text-align:center;font-size:10px;color:#9aa48f;padding-top:35px}.login-message{font-size:12px;line-height:1.8;background:#fff0e5;border:1px solid #edd4be;color:#926247;padding:12px 14px;border-radius:10px;margin-bottom:18px}.login-help{margin-top:12px;font-size:11px;color:#768569;line-height:1.8;background:#eef3e7;padding:12px;border-radius:10px}
@media(min-width:1450px){.portal-content{padding:40px 48px 0}.portal-topbar{padding:0 48px}.hero{min-height:245px}.hero h2{font-size:31px}.content-grid{grid-template-columns:minmax(0,1fr) 310px}.lesson-art{height:140px}}
@media(max-width:1150px){.portal-sidebar{width:222px;padding:25px 15px 0}.brand{font-size:17px}.brand-mark{width:34px;height:34px}.portal-content{padding:25px 24px 0}.portal-topbar{padding:0 24px}.content-grid{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.hero-decor{right:5px;transform:scale(.85)}.hero-copy{max-width:64%}.hero h2{font-size:24px}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-card:nth-child(3){grid-column:1/-1;display:grid;grid-template-columns:125px 1fr}.lesson-card:nth-child(3) .lesson-art{height:100%}.stat-card{padding:16px 14px}.stat-heading{font-size:10px}.login-story{padding:35px 40px}.login-story-content h1{font-size:39px}.login-form-side{padding:45px 35px}}
@media(max-width:900px){.portal-sidebar{position:fixed;left:0;top:0;z-index:60;transform:translateX(-100%);transition:transform .22s;width:252px}.portal-sidebar.is-open{transform:translateX(0)}.drawer-toggle{display:grid}.topbar-title>span{font-size:11px}.portal-topbar{height:65px}.page-heading h1{font-size:26px}.login-story{padding:30px}.login-story-content h1{font-size:34px}.login-world .hero-decor{left:0}.login-form-side{padding:35px 25px}}
@media(max-width:650px){.portal-content{padding:25px 18px 0}.portal-topbar{padding:0 14px}.topbar-title>span{font-size:10px}.breadcrumb-separator{padding:0 7px}.topbar-actions{gap:5px}.search-trigger{background:none;border:0;padding:8px}.search-trigger>.icon{width:19px;height:19px}.search-trigger span,.search-trigger kbd,.topbar-actions>.icon-button{display:none}.page-heading{align-items:flex-start;margin-bottom:20px}.page-heading h1{font-size:24px}.date-pill{display:none}.hero{padding:24px;min-height:225px}.hero-copy{max-width:100%}.hero h2{font-size:24px;max-width:270px}.hero p:not(.eyebrow){max-width:220px}.hero-decor{opacity:.2;right:-90px;top:43px;transform:scale(.9)}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.stat-card{padding:15px}.stat-value{font-size:26px}.stat-heading{font-size:10px}.icon-tile{width:28px;height:28px}.stat-card p{font-size:9px}.content-grid{grid-template-columns:1fr;gap:0}.lesson-grid{gap:10px}.lesson-art{height:100px}.lesson-copy{padding:12px}.lesson-copy h3{font-size:11px}.panel{padding:20px}.secondary-column{display:grid;grid-template-columns:1fr 1fr;gap:12px}.secondary-column>.panel{min-width:0}.secondary-column>.tasks-panel{grid-column:1/-1}.progress-ring{width:100px;height:100px}.focus-panel{display:flex;flex-direction:column}.focus-panel .button{margin-top:auto}.focus-panel p,.progress-caption{font-size:10px}.portal-footer{font-size:8px;line-height:1.8}.portal-footer>span:last-child{display:none}.quick-links{grid-template-columns:1fr}.history-row time{font-size:9px}.history-row-copy strong{font-size:10px}.section-heading h2{font-size:16px}.section-heading a{font-size:10px}.login-page{display:block}.login-story{display:none}.login-form-side{min-height:100vh;padding:30px 24px}.login-mobile-brand{display:flex;margin-bottom:40px}.login-form-wrap h2{font-size:30px}.login-description{font-size:12px}.login-footer{padding-top:40px}dialog{padding:20px}.timer-face{font-size:57px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.drawer-close{display:none}
@media(max-width:900px){.drawer-close{display:grid;position:absolute;right:7px;top:4px;width:27px;height:27px}}
/* Account registration and Google sign-in */
.google-button{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border:1px solid #ccd8d6;border-radius:12px;background:#fff;color:#243e44;font:inherit;font-size:14px;font-weight:600;cursor:pointer;padding:12px 16px}.google-button svg{width:20px;height:20px;flex:none}.google-button:hover{background:#f3f8f7;border-color:#176b64}.google-button:disabled{opacity:.55;cursor:not-allowed}.auth-divider{display:flex;align-items:center;gap:12px;color:#758582;font-size:11px;margin:22px 0}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#dce5e2;flex:1}.auth-switch{font-size:12px;text-align:center;line-height:1.8;margin-top:22px;color:#627573}.auth-switch a,.auth-back{color:#176b64;font-weight:700}.auth-hint{font-size:12px;line-height:1.7;color:#627573;margin:12px 0}.auth-verified,.auth-success{display:flex;align-items:center;gap:8px;background:#eaf5ee;color:#286447;border-radius:12px;padding:14px;font-size:13px;overflow-wrap:anywhere}.registration-page .login-form-side{padding-top:42px;padding-bottom:24px}.registration-page .login-form-wrap{max-width:440px}.registration-form .field-label{margin-top:16px}.registration-roles{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.registration-roles legend{font-size:12px;font-weight:600;margin-bottom:10px}.registration-roles label{display:flex;gap:8px;align-items:center;padding:14px 10px;background:white;border:1px solid #d9e4df;border-radius:12px;cursor:pointer;font-size:13px}.registration-roles label:has(input:checked){background:#e9f3ee;border-color:#176b64}.registration-roles input{accent-color:#176b64}.registration-roles small{display:block;color:#627573;font-size:10px;margin-top:3px}.registration-roles .icon{width:18px;height:18px;flex:none}.auth-select{width:100%;min-height:48px;padding:12px;border:1px solid #d9e4df;border-radius:12px;background:#fff;font:inherit;color:inherit}.auth-consent{display:flex;gap:10px;align-items:flex-start;margin:20px 0;font-size:11px;color:#627573;line-height:1.6}.auth-consent input{accent-color:#176b64;margin-top:4px;flex:none}.auth-back{display:block;margin-bottom:20px;font-size:12px}.account-summary{display:grid;gap:6px;padding:20px;background:#eef5f1;border-radius:16px;margin:20px 0;overflow-wrap:anywhere}.account-summary span,.account-summary small{font-size:12px;color:#627573}.auth-section-title{font-size:16px;margin:26px 0 14px}.registration-form [hidden]{display:none}.registration-page .login-story{position:sticky;top:0;align-self:start;min-height:100vh}.google-form{margin:0}.google-button:focus-visible,.auth-select:focus-visible{outline:3px solid #efbd49;outline-offset:3px}@media(max-width:600px){.registration-page .login-form-side{padding:26px 22px}.registration-roles label{padding:12px 8px}.registration-page .login-mobile-brand{margin-bottom:28px}.registration-roles .icon{display:none}}
.auth-consent a{color:var(--teal);font-weight:600;text-decoration:underline;text-underline-offset:2px}.auth-policy h3{font-size:16px;margin:22px 0 10px}.auth-policy p{font-size:13px;line-height:1.8;color:var(--muted)}

/* School enrollment, task inbox and subscriptions. */
.school-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:24px 0; }
.school-panel { padding:26px; margin-bottom:22px; border-radius:22px; background:#fff; border:1px solid rgba(24,52,61,.1); }
.school-panel h2 { margin:0 0 14px; font-size:1.35rem; line-height:1.35; }
.school-panel p { color:#536b70; line-height:1.65; margin:12px 0; }
.school-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.school-code { display:flex; flex-direction:column; gap:9px; background:#eff7f4; border:1px solid #d6e7df; padding:16px; border-radius:14px; margin:15px 0; }
.school-code span { color:#536b70; font-size:.85rem; }
.school-code code { font-size:1rem; color:#176b64; overflow-wrap:anywhere; user-select:all; }
.school-form { display:grid; gap:16px; margin-top:20px; }
.school-form label { display:grid; gap:8px; font-size:.9rem; font-weight:600; }
.school-form input:not([type=checkbox]) { width:100%; padding:12px 14px; border:1px solid #cddbd7; border-radius:11px; background:#fafcfb; color:#18343d; }
.school-actions { display:flex; flex-wrap:wrap; gap:10px; }
.school-checkbox { display:flex!important; flex-direction:row; align-items:center; gap:9px; }
.school-checkbox input { width:18px; height:18px; accent-color:#176b64; }
.school-table-wrap { overflow:auto; }
.school-table { width:100%; border-collapse:collapse; text-align:left; }
.school-table th,.school-table td { padding:14px 12px; border-bottom:1px solid #e5ede9; white-space:nowrap; }
.school-table th { color:#6d817a; font-size:.8rem; }
.school-subscription-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding:15px 0; border-bottom:1px solid #e5ede9; }
.school-subscription-row span { flex:1; min-width:200px; }
.plan-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.plan-card { display:flex; flex-direction:column; }
.plan-card form { margin-top:auto; padding-top:16px; }
.plan-price { color:#176b64!important; font-weight:800; font-size:1.7rem; }
.plan-card ul { padding-left:20px; color:#536b70; line-height:1.7; margin-bottom:22px; }
.payment-card { max-width:620px; }
.payment-card form { margin-top:18px; }
.payment-qr { width:260px; height:260px; object-fit:contain; display:block; max-width:100%; margin:20px auto; }
@media(max-width:1050px) { .plan-grid { grid-template-columns:1fr; } }
@media(max-width:700px) { .school-grid { grid-template-columns:1fr; } .school-panel { padding:20px; } .school-heading { flex-wrap:wrap; } .school-subscription-row { align-items:flex-start; } }
/* Reference books library */
.reference-lesson { display:flex; justify-content:space-between; gap:24px; padding:24px 0; border-bottom:1px solid var(--line, #dde7e2); }
.reference-lesson h3 { margin:12px 0 8px; line-height:1.45; }
.reference-lesson p { max-width:70ch; }
.reference-actions { display:flex; flex-wrap:wrap; align-content:center; gap:10px; min-width:180px; }
.reference-rich li { margin:10px 0; }
.reference-rich h2 { margin-top:24px; }
@media (max-width:700px) { .reference-lesson { flex-direction:column; gap:12px; } .reference-actions { min-width:0; } }
