:root{color-scheme:light;--paper:#f7f8f3;--ink:#172d26;--muted:#52645b;--line:#e1e7de;--green:#245841;--bright:#e3f7ac;--white:#fff;--sidebar:236px;font-family:Inter,"Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-size:15px}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{letter-spacing:-.035em;line-height:1.15}
h1{font-size:clamp(2rem,4vw,3.15rem)}
h2{font-size:1.65rem}
h3{font-size:1.18rem}
p{line-height:1.6;color:var(--muted)}
a{color:#245841;font-weight:650}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.65}
:focus-visible{outline:3px solid #8a58bb;outline-offset:4px}
small{display:block;color:var(--muted);font-size:.79rem}
.eyebrow{font-size:.71rem;font-weight:760;letter-spacing:.14em;text-transform:uppercase}
.brand{display:flex;align-items:center;gap:11px;font-size:1.23rem;letter-spacing:-.04em;font-weight:750;white-space:nowrap}
.brand b{font-weight:450}
.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#d8ed9f;color:#1c382b}
.layout{min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;background:#172d26;color:white;padding:29px 19px 23px}
.sidebar .brand{margin:0 7px 44px}
.sidebar nav{display:grid;gap:6px}
.sidebar button{display:flex;align-items:center;gap:12px;padding:12px 13px;border:0;border-radius:11px;background:none;color:#d1ded6;text-align:left;font-weight:620;white-space:nowrap}
.sidebar button:hover,.sidebar button[aria-current]{background:#2d463b;color:#e4f8ad}
.sidebar .logout{margin-top:auto}
.workspace{margin-left:var(--sidebar)}
.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 max(28px,calc((100% - 1112px)/2));background:white;border-bottom:1px solid var(--line);font-weight:700}
.profile{display:flex;align-items:center;gap:10px;line-height:1.25}
.profile b{font-size:.87rem}
.profile small{margin-top:3px;font-weight:500}
.avatar{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#e6efde;font-weight:750}
.content{width:min(1168px,100%);margin:auto;padding:28px 28px 56px}
.hero{min-height:281px;position:relative;overflow:hidden;border-radius:22px;padding:36px 38px;background:#214d3b;color:white;isolation:isolate}
.hero-content{position:relative;z-index:1;width:min(56%,510px)}
.hero .eyebrow,.login-cover .eyebrow{color:#d9ef9e;margin-bottom:11px}
.hero p:not(.eyebrow),.login-cover p:not(.eyebrow){color:#dcece1;margin:13px 0 20px;max-width:350px}
.primary,.secondary,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:730;border-radius:10px;padding:10px 15px;line-height:1.35}
.primary{background:#245841;color:white;border:1px solid transparent}
.primary:hover{background:#1b4432}
.hero-button{background:var(--bright);color:#203a26}
.hero-button:hover{background:#f0ffc7}
.secondary{background:white;border:1px solid #d7e2d6;color:#285540}
.secondary:hover{background:#f4f8f0}
.text-button{background:none;border:0;padding:0;color:#22563e}
.text-button:hover{text-decoration:underline}
.hero-art{position:absolute;right:1%;bottom:0;width:42%;min-width:300px;height:100%;pointer-events:none}
.orbit{position:absolute;width:91%;height:62%;border:1px solid #a4cb8e55;border-radius:50%;left:4%;top:23%;transform:rotate(-23deg)}
.orbit-two{transform:rotate(18deg);opacity:.65}
.book{position:absolute;width:60%;height:43%;left:19%;top:32%;display:flex;transform:rotate(-11deg);filter:drop-shadow(5px 14px 0 #123b2d)}
.page{width:50%;height:100%;background:#e6f4c6;border:4px solid #a9c772;padding:22px 12px;display:grid;align-content:start;gap:9px}
.page-left{transform:skewY(12deg);border-radius:14px 10px 0 9px}
.page-right{transform:skewY(-12deg);border-radius:10px 14px 9px 0;background:#f4f9df}
.page i{height:3px;background:#7b9e70;border-radius:8px}
.page i:nth-child(3){width:70%}
.art-tile{display:grid;place-items:center;position:absolute;border-radius:11px;width:51px;height:51px;font-size:31px;font-weight:800;box-shadow:0 6px 0 #102c2366}
.tile-a{top:14%;right:13%;background:#ddd2fa;color:#4d3e6a;transform:rotate(14deg)}
.tile-plus{bottom:16%;left:9%;background:#ffdbb9;color:#69462a;transform:rotate(-14deg)}
.spark{position:absolute;color:#e6f5af;font-size:26px}
.spark-one{top:19%;left:16%}.spark-two{right:4%;bottom:27%}.spark-three{right:24%;bottom:14%;font-size:15px}
.metrics,.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.metrics{margin:19px 0 29px}
.metric,.lesson-card,.panel{background:white;border:1px solid var(--line);border-radius:16px}
.metric{display:flex;align-items:center;gap:12px;padding:14px 15px;min-height:78px}
.metric div{min-width:0}
.metric div span{color:var(--muted);font-size:.78rem}
.metric strong{display:block;font-size:1.38rem;margin-top:3px}
.metric-icon,.subject-icon{display:grid;place-items:center;border-radius:11px;flex:none;width:42px;height:42px}
.subject-icon{width:51px;height:51px;font-weight:780;font-size:1.42rem}
.mint{background:#e1efdc;color:#2c6849}
.lavender{background:#eee8fa;color:#655087}
.peach{background:#fcebdc;color:#86532e}
.section-head,.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.section-head p{margin-top:5px}
.filters{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 13px}
.filters button,.tag{border:1px solid #dfe8dc;background:#fff;color:#4d6558;border-radius:30px;padding:5px 11px;font-size:.78rem;font-weight:650}
.filters button{padding:7px 12px}
.filters button[aria-pressed=true]{background:#dcebd7;border-color:#dcebd7;color:#204833}
.lesson-card{min-height:178px;padding:17px;display:flex;flex-direction:column;align-items:start}
.card-top{width:100%;margin-bottom:14px}
.lesson-card p{font-size:.88rem;margin:6px 0 13px}
.lesson-card .text-button{font-size:.83rem;margin-top:auto}
.lesson-card .text-button svg{width:16px}
.panel{margin-top:15px;padding:21px;overflow-wrap:anywhere}
.panel h3,.panel h2{margin-bottom:12px}
.panel .section-head h2{margin:0}
.lead{margin:8px 0 20px}
.child-report{margin-top:30px}
.child-report + .child-report{border-top:1px solid var(--line);padding-top:23px}
.table-scroll{overflow:auto}
table{border-collapse:collapse;width:100%;text-align:left}
td,th{border-bottom:1px solid var(--line);padding:11px 10px;min-width:70px}
th{color:var(--muted);font-size:.81rem}
td small,.rows small{margin-top:3px}
.rows{list-style:none;padding:0;margin:0}
.rows li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.rows li:last-child{border-bottom:0}
.back{margin-bottom:20px}
.lesson-heading{display:flex;align-items:center;gap:14px;margin-bottom:21px}
.lesson-heading h1{font-size:clamp(1.8rem,4vw,2.65rem);margin-top:4px}
.lesson-text{font-size:1.12rem;max-width:71ch;margin:17px 0}
.example{display:grid;justify-items:center;gap:14px;text-align:center;border-radius:12px;padding:19px 12px;margin-bottom:15px;font-size:1.18rem}
.blocks,.fraction{display:flex;align-items:center;gap:5px}
.blocks i,.fraction i{display:block;width:25px;height:25px;border-radius:4px;background:#4d8662}
.blocks i:nth-child(n+4){background:#e1b457}
.fraction{gap:2px}
.fraction i{width:35px;height:24px;border-radius:2px}
.fraction i:last-child{background:#afc3a9}
fieldset{border:1px solid var(--line);border-radius:12px;margin:18px 0;padding:12px}
legend{font-weight:700;padding:0 5px}
.choice{display:flex;align-items:center;gap:8px;padding:9px;border-radius:8px;cursor:pointer}
.choice:has(:checked){background:#e5f1df}
.choice input{accent-color:#285540;width:18px;height:18px;flex:none}
figure{margin:14px 0}
figcaption{font-weight:650;margin:7px 0}
video,img,audio{max-width:100%}
video{width:min(640px,100%);background:#172d26;border-radius:10px}
#feedback:not(:empty){background:#eef5e8;border-radius:12px;padding:15px;margin-top:15px}
#feedback li{padding-bottom:6px}
.error{color:#9b3427}
.error:empty,.muted:empty{display:none}
.error:not(:empty),.muted:not(:empty){margin:7px 0}
.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}
.login-cover{position:relative;overflow:hidden;background:#214d3b;color:white;padding:36px clamp(25px,6vw,85px);display:flex;flex-direction:column;justify-content:space-between;gap:50px}
.login-cover .brand,.login-cover>div:nth-child(2){z-index:1}
.login-cover>div:nth-child(2){margin:auto 0;transform:translateY(-35%)}
.login-cover h1{font-size:clamp(2.8rem,6vw,6rem)}
.login-cover .hero-art{width:67%;height:36%;right:3%;bottom:2%}
.login-side{display:grid;place-items:center;padding:35px 24px}
.login form{width:min(100%,390px)}
.login form h2{font-size:2.3rem;margin:8px 0}
.login form>p{margin-bottom:22px}
.login label{display:grid;gap:7px;font-weight:650;margin-bottom:16px}
.login input{width:100%;border:1px solid #c6d4c9;border-radius:9px;background:#fff;padding:11px;color:var(--ink)}
.login form button{margin-top:5px;width:100%}
@media(max-width:1050px){:root{--sidebar:188px}.hero{padding:29px}.metrics,.cards{gap:10px}.metric{gap:8px;padding:10px}}
@media(max-width:850px){.content,.topbar{padding-left:19px;padding-right:19px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{opacity:.65}.hero-content{width:66%}.metric{align-items:start;flex-direction:column}}
@media(max-width:650px){.sidebar{position:static;width:100%;padding:12px 15px;display:grid;grid-template-columns:1fr auto;gap:9px}.sidebar .brand{margin:0}.sidebar nav{display:flex;grid-row:2;grid-column:1/-1}.sidebar button{padding:7px 10px;font-size:.83rem}.sidebar .logout{grid-row:1;grid-column:2;margin:0}.workspace{margin:0}.topbar{height:55px}.content{padding:15px 12px 33px}.hero{padding:23px 17px;min-height:230px}.hero-content{width:78%}.hero-art{right:-75px;opacity:.27}.hero-content p{max-width:255px}.metric-icon{width:34px;height:34px}.metric strong{font-size:1.16rem}.metric div span{font-size:.72rem}.panel{padding:14px}.login{grid-template-columns:1fr}.login-cover{gap:20px;padding:20px;min-height:220px}.login-cover>div:nth-child(2){transform:none}.login-cover h1 br{display:none}.login-cover .hero-art{height:80%;bottom:-12%;right:-9%}}
@media(max-width:385px){.cards{grid-template-columns:1fr}.metrics{gap:5px}.metric{padding:7px}.tag{white-space:normal}}
.auth-switch{margin-top:16px!important}
.form-panel{max-width:530px}
.account-form{display:grid;gap:14px}
.account-form label{display:grid;gap:6px;font-weight:650}
.account-form input,.account-form select{width:100%;border:1px solid #c6d4c9;border-radius:9px;background:#fff;padding:10px;color:var(--ink);font:inherit}
.account-form .primary{justify-self:start}
.form-result:empty{display:none}
.sidebar nav{flex-wrap:wrap}
.video-panel figure{margin-bottom:8px}
.video-panel video{display:block;margin-top:8px}
.video-panel figcaption{font-size:.85rem;color:var(--muted)}
.question-audio{margin:3px 0 9px}
.option-number{display:grid;place-items:center;min-width:25px;height:25px;border-radius:6px;background:#e6efde;color:#245841;font-weight:700}
.lesson-group{margin-top:23px}
.lesson-group>h3{margin-bottom:10px}
.lesson-card h4{font-size:1.12rem;letter-spacing:-.027em;line-height:1.2;margin:0}
.book-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 14px;flex-shrink:0;font-size:.86rem}
.book-links a{font-weight:650}
@media(max-width:650px){.book-list li{align-items:flex-start;flex-direction:column}.book-links{justify-content:flex-start}}
.odax-tv body{font-size:18px}
.odax-tv button,.odax-tv input:not([type=radio]),.odax-tv select{min-height:44px}
.odax-tv :focus{outline:3px solid #9a63c6;outline-offset:3px}
.odax-tv .content{padding-bottom:40px}
.android-actions{display:flex;align-items:center;gap:4px}
.android-actions a,.sidebar .android-actions .logout{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:0 8px;border-radius:9px;font-size:.83rem;white-space:nowrap;text-decoration:none}
.sidebar .android-actions{margin-top:auto}
.sidebar .android-actions a{color:#d1ded6}
.sidebar .android-actions a:hover{background:#2d463b;color:#e4f8ad}
.sidebar .android-actions .logout{margin:0}
.sidebar .android-actions svg{width:15px;height:15px}
.login-side .android-actions{justify-content:flex-end}
@media(min-width:651px){.odax-android{--sidebar:260px}}
@media(max-width:650px){
  .sidebar .android-actions{grid-row:1;grid-column:2;margin:0;justify-self:end}
}
@media(max-width:420px){
  .odax-android .sidebar .brand{grid-row:1;grid-column:1/-1}
  .sidebar .android-actions{grid-row:2;grid-column:1/-1;justify-self:start}
  .odax-android .sidebar nav{grid-row:3}
}

/* Reading shelf uses the existing lesson cards. */
.reading-grid{margin-top:20px}.reading-card[hidden]{display:none}.reading-card audio{width:100%;margin:12px 0}.reading-card h2{font-size:1.25rem}.reading-card a{overflow-wrap:anywhere}
