:root{color-scheme:light;--ink:#213e50;--muted:#647580;--blue:#176a96;--blue-pale:#eaf5fa;--orange:#b54f23;--yellow:#ffd85d;--paper:#fbfcfa;--border:#dce5e8;--radius:18px;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.6;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--blue)}:focus-visible{outline:3px solid #d78821;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.2;letter-spacing:-.035em}h2{font-size:1.35rem;line-height:1.35;letter-spacing:-.02em}h3{font-size:1.1rem}img{max-width:100%}.skip{position:fixed;top:-100px;left:16px;z-index:100;background:white;padding:12px}.skip:focus{top:0}.muted{color:var(--muted)}small{font-size:.82rem}.eyebrow{font-size:.72rem;letter-spacing:.15em;font-weight:800;color:var(--blue);margin-bottom:18px}.demo-banner{font-size:.73rem;text-align:center;padding:7px 16px;background:#fff1cf;color:#735113;border-bottom:1px solid #eedeb2}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:1.7rem;font-weight:800;line-height:1.2}.brand img{width:58px;height:58px;border-radius:50%;object-fit:contain}.brand-caption{display:block;font-size:.69rem;font-weight:500;letter-spacing:.015em;margin-top:4px}.public-header{max-width:1160px;margin:auto;padding:22px 32px;display:flex;align-items:center;justify-content:space-between}.header-tag{font-size:.85rem;color:var(--muted)}.landing{max-width:1160px;margin:auto;padding:16px 32px}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:56px;padding:52px 0 60px}.hero h1{font-size:clamp(2.35rem,4.5vw,3.65rem);line-height:1.16;font-weight:750;margin-bottom:25px}.hero h1 span{color:var(--blue)}.lead{font-size:1.08rem;line-height:1.85;color:var(--muted);max-width:520px}.hero-actions{margin-top:30px}.opening{font-size:.8rem;color:#69776b;display:flex;align-items:center;gap:8px;margin-top:24px}.status-dot{width:7px;height:7px;background:#779468;border-radius:50%}.hero-scene{position:relative;padding:25px 20px 50px}.sun-disc{background:#fff4cb;border-radius:50% 50% 44% 44%;padding:35px;transform:rotate(-4deg);border:1px solid #f7e4ac}.sun-disc img{display:block;border-radius:50%;transform:rotate(4deg)}.scene-note{position:absolute;bottom:8px;left:4px;right:4px;display:flex;align-items:center;gap:16px;background:#fff;padding:20px 24px;border:1px solid var(--border);border-radius:16px;box-shadow:0 12px 24px #274c6210;transform:rotate(-2deg)}.scene-note strong,.scene-note span:not(.note-star){display:block}.scene-note strong{font-size:1rem}.scene-note div span{font-size:.82rem;color:var(--muted);margin-top:3px}.note-star{font-size:2rem;color:#c58610}.benefits{border-top:1px solid var(--border);border-bottom:1px solid var(--border);display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:30px 0}.feature-mark{font-size:.74rem;color:#aa7330;font-weight:750}.benefits h2{margin-top:12px;font-size:1.12rem}.benefits p{font-size:.9rem;color:var(--muted);margin-bottom:0}.landing-footer{padding:30px 0;font-size:.78rem;color:var(--muted);display:flex;justify-content:space-between}.button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 19px;border:1px solid var(--border);border-radius:11px;font-weight:650;text-decoration:none;font-size:.92rem;background:white;color:var(--ink);line-height:1.35}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover{background:#12587e}.secondary{background:white}.secondary:hover{background:#f0f5f7}.text-button{background:none;border:0;min-height:44px;color:var(--blue);font-weight:650;font-size:.85rem;padding:8px}.full{width:100%;grid-column:1/-1}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:16px}.field{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:650;min-width:0}input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:46px;width:100%;border:1px solid #bacbd4;border-radius:9px;padding:10px 12px;background:#fff;color:var(--ink);font-size:1rem}input::placeholder,textarea::placeholder{color:#82929b;font-weight:400}textarea{min-height:100px;resize:vertical}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--blue)}.check-row{display:flex;align-items:flex-start;gap:10px;font-size:.83rem;font-weight:400}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.auth-layout{max-width:1040px;margin:35px auto 60px;padding:0 32px;display:grid;grid-template-columns:1fr 1.1fr;gap:70px;align-items:center}.auth-aside h1{font-size:2.8rem;color:var(--blue)}.auth-aside img{width:205px;border-radius:50%;margin:12px 0 28px}.auth-aside p{font-size:.93rem;max-width:330px;color:var(--muted)}.auth-card{background:white;border:1px solid var(--border);border-radius:24px;padding:32px;box-shadow:0 10px 40px #183e5410}.auth-card>.text-button{padding-left:0}.auth-card h2{margin-top:18px;font-size:1.65rem}.auth-card>p{font-size:.9rem;margin-bottom:25px}.auth-links{display:flex;justify-content:space-between;margin-top:14px}.demo-code,.notice{background:#f1f7fa;border:1px solid #d6e8f1;color:#294e65;border-radius:10px;padding:12px 16px;font-size:.88rem}.demo-code{background:#fff7e2;border-color:#f2deb4;color:#705219}.demo-help{margin-top:20px;border-top:1px solid var(--border);padding-top:15px;font-size:.83rem}.demo-help summary{cursor:pointer;min-height:32px}.demo-help p{margin:12px 0}.error,#form-error{color:#a72f33;font-size:.9rem}.error:empty,#form-error:empty{display:none}.app-layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:calc(100vh - 35px)}.sidebar{background:#fff;border-right:1px solid var(--border);padding:26px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.workspace-label{color:#81909a;font-size:.65rem;font-weight:750;letter-spacing:.14em;margin:38px 12px 12px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{min-height:48px;border:0;background:transparent;text-align:left;border-radius:10px;padding:12px;color:#5a6b76;font-weight:550;font-size:.9rem;display:flex;gap:13px;align-items:center}.nav-item>span{font-size:1.2rem;width:23px;text-align:center}.nav-item.active{color:var(--blue);background:var(--blue-pale);font-weight:750}.nav-item:hover{background:#f3f7f8}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--border);padding-top:20px;display:flex;gap:10px;align-items:center}.sidebar-bottom strong{font-size:.85rem}.sidebar-bottom small{display:block;color:var(--muted)}.avatar{width:37px;height:37px;border-radius:50%;background:#fff0c1;color:#8e6816;display:grid;place-items:center;font-weight:750}.app-content{min-width:0}.app-header{min-height:76px;border-bottom:1px solid var(--border);padding:16px 35px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#ffffffaa}.network{font-size:.72rem;color:#50715f}.network.offline{color:#a76424}.content-main{max-width:1250px;margin:auto;padding:35px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:28px}.page-head h1{margin-bottom:8px;font-size:2rem}.page-head p{margin-bottom:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;min-width:0}.badge{display:inline-flex;font-size:.73rem;line-height:1.4;padding:5px 10px;border-radius:7px;background:#eef5f8;color:#34617b;font-weight:650}.empty{text-align:center;padding:38px 22px;color:var(--muted);background:#fff;border:1px dashed #cad7de;border-radius:var(--radius)}.empty h2,.empty h3{color:var(--ink)}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.tabs button{border:1px solid var(--border);background:white;color:var(--ink);min-height:44px;border-radius:9px;padding:8px 16px}.tabs button.active,.tabs [aria-selected=true]{background:var(--blue-pale);color:var(--blue);border-color:#b8dae9}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:12px}table{width:100%;border-collapse:collapse;font-size:.86rem;text-align:left}th{color:var(--muted);font-size:.75rem;background:#f5f8f9}th,td{padding:13px 16px;border-bottom:1px solid var(--border);vertical-align:top}tr:last-child td{border-bottom:0}audio{max-width:100%;height:44px}.app-footer{padding:20px 35px;font-size:.73rem;color:#8b989f}.unlock-dialog{border:1px solid var(--border);border-radius:22px;padding:30px;max-width:440px;width:calc(100% - 32px)}dialog::backdrop{background:#193e5066}.loading{padding:80px 24px;max-width:600px;margin:auto;text-align:center}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);max-width:calc(100% - 30px);width:max-content;background:#244b60;color:#fff;border-radius:12px;padding:14px 22px;box-shadow:0 5px 25px #122f4c33;opacity:0;pointer-events:none;transition:.2s;z-index:100}#toast.visible{opacity:1;transform:translate(-50%,0)}.child-layout .sidebar{height:auto;position:static}.child-layout{grid-template-columns:1fr}.child-layout .sidebar{padding:12px 30px;border-bottom:1px solid var(--border);border-right:0;flex-direction:row;justify-content:space-between;align-items:center}.child-layout .workspace-label{margin:0}.child-layout .sidebar-bottom{display:none}.child-layout .content-main{max-width:900px}.child-layout .app-header{min-height:55px}
@media(max-width:900px){.hero{gap:24px}.app-layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:22px 12px}.sidebar .brand{font-size:1.35rem;gap:7px}.sidebar .brand img{width:45px;height:45px}.brand-caption{font-size:.59rem}.content-main{padding:25px 20px}.app-header{padding:15px 20px}.auth-layout{gap:35px}.auth-aside h1{font-size:2.3rem}.auth-card{padding:25px}}
@media(max-width:650px){.public-header{padding:16px 20px}.public-header>.header-tag{display:none}.brand{font-size:1.5rem}.brand img{width:49px;height:49px}.brand-caption{font-size:.65rem}.landing{padding:0 22px}.hero{grid-template-columns:1fr;padding:28px 0 34px;gap:20px}.hero h1{font-size:2.45rem}.lead{font-size:1rem}.hero-scene{max-width:340px;margin:auto;padding:15px 20px 40px}.sun-disc{padding:22px}.scene-note{padding:13px 16px}.scene-note strong{font-size:.88rem}.benefits{grid-template-columns:1fr;gap:26px;padding:30px 0}.benefits article{display:grid;grid-template-columns:30px 1fr;column-gap:10px}.benefits h2{margin:0 0 6px}.benefits p{grid-column:2}.feature-mark{padding-top:2px}.landing-footer{display:block}.landing-footer span{display:block;margin-top:5px}.auth-layout{display:block;padding:0 16px;margin:16px auto 35px}.auth-aside{display:none}.auth-card{padding:24px 20px;border-radius:18px}.app-layout{display:block}.sidebar{position:static;height:auto;padding:15px 16px;border-right:0;border-bottom:1px solid var(--border)}.sidebar .brand{font-size:1.5rem}.sidebar .brand img{width:44px;height:44px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;overflow:auto;gap:4px;margin-top:14px;padding-bottom:3px}.nav-item{flex-shrink:0;min-height:44px;font-size:.79rem;padding:8px 11px;gap:6px}.nav-item>span{font-size:1rem;width:auto}.app-header{padding:10px 18px;min-height:55px}.app-header .header-tag{font-size:.73rem}.app-header .network{display:none}.content-main{padding:23px 16px}.page-head{flex-direction:column;margin-bottom:20px}.page-head h1{font-size:1.7rem}.card{padding:20px 17px}.form-grid{grid-template-columns:1fr;gap:14px}.app-footer{padding:20px 16px}.child-layout .sidebar{padding:12px 18px}.child-layout .workspace-label{font-size:.59rem;display:block}.row.hero-actions{gap:9px}.hero-actions .button{padding:11px 13px;font-size:.85rem}.demo-banner{font-size:.62rem}.table-wrap{max-width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0}
.otp-tools{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}.otp-tools p{margin:0}.otp-tools #resend-status:empty{display:none}
.intake-info{min-width:0;margin:24px 0}.intake-info h2{margin:0}.intake-copy{white-space:pre-wrap;overflow-wrap:anywhere}.intake-info .badge{white-space:normal;width:fit-content}.teacher-intake-editor [data-intake-preview][hidden]{display:none}
.install-help{display:block;min-height:44px;margin:8px 16px;font-size:.85rem}.app-footer .install-help,.landing-footer .install-help{margin:8px 0}.install-dialog{max-height:calc(100dvh - 32px);overflow:auto}.install-dialog h2{font-size:1.4rem}.install-dialog h3{font-size:1.05rem;margin:18px 0 6px}.install-dialog ol{padding-left:22px;margin:0}.install-dialog li{margin:6px 0}.install-dialog #install-status:empty{display:none}

@media(max-width:650px){.family-layout .sidebar nav{flex-wrap:wrap;overflow:visible;gap:6px}.family-layout .nav-item{flex:1 1 30%;justify-content:center;text-align:center;white-space:normal;min-height:46px;background:#f6f9fa}.family-layout .nav-item.active{background:var(--blue-pale)}.family-layout .nav-item>span{flex-shrink:0}}
