@font-face{font-family:Nunito;src:url('/assets/Nunito-Variable.ttf') format('truetype');font-weight:200 1000;font-display:swap}
:root{--forest:#003b20;--ink:#112e22;--green:#00752f;--lime:#a6ed43;--line:#dce5da;--muted:#4e6357;--paper:#fff;--tint:#f3f8e8;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:500 17px/1.6 Nunito,Arial,sans-serif}a{color:inherit;text-decoration:none}button,textarea{font:inherit;color:inherit}button{cursor:pointer}button,a,summary,textarea{touch-action:manipulation}button{border:0}a:focus-visible,button:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #147e48;outline-offset:4px}.skip{position:absolute;left:12px;top:-80px;z-index:3;padding:12px;background:#fff}.skip:focus{top:8px}header{border-bottom:1px solid var(--line)}.bar,main,footer{width:min(1296px,calc(100% - 96px));margin:auto}.bar{display:flex;align-items:center;gap:48px;min-height:82px}.brand{display:flex;align-items:center}.brand img{width:158px;height:auto}.pages{display:flex;gap:28px;align-items:center;align-self:stretch}.pages a{display:grid;align-items:center;font-size:15px;font-weight:800;position:relative;color:var(--muted)}.pages a[aria-current=page]{color:var(--forest)}.pages a[aria-current=page]:after{content:'';position:absolute;bottom:15px;width:24px;height:3px;border-radius:8px;background:var(--green)}.switch{display:flex;gap:3px;align-items:center;background:#f0f4ec;border:1px solid var(--line);padding:4px;border-radius:99px;margin-left:auto}.switch a{font-size:15px;font-weight:850;padding:6px 18px;border-radius:99px}.switch a[aria-current=true]{background:var(--forest);color:white}.switch a:hover:not([aria-current=true]){background:#e0eada}
main{padding:28px 0 60px;min-height:72vh}main:focus{outline:none}.hero{display:grid;grid-template-columns:1fr 1fr;isolation:isolate;overflow:hidden;border-radius:26px;background:#eff7dc}.hero-copy{padding:clamp(30px,4.1vw,63px);align-self:center}.eyebrow{display:flex;align-items:center;gap:10px;letter-spacing:.13em;text-transform:uppercase;color:var(--green);font-weight:900;font-size:.79rem}.eyebrow:before{content:'';width:23px;height:2px;background:currentColor}.hero h1,h1,h2,h3,p{margin:0}.hero h1{font-size:clamp(3.2rem,5.3vw,5.25rem);line-height:1.005;letter-spacing:-.062em;color:var(--forest);font-weight:880;max-width:600px;margin:18px 0 16px;text-wrap:balance}.hero p{max-width:410px;font-size:clamp(1rem,1.4vw,1.23rem);line-height:1.5;color:#354e3c}.actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:25px}.btn{display:inline-flex;justify-content:center;align-items:center;padding:11px 21px;border-radius:999px;background:var(--forest);color:white;font-size:1rem;font-weight:820;min-height:45px;line-height:1.3}.btn:hover{background:#075631}.btn.secondary{background:white;color:var(--forest);border:1px solid #9db19e}.text-btn{font-weight:800;text-decoration:underline;text-underline-offset:5px;background:transparent;padding:6px 0;font-size:1rem}.hero-art{min-height:310px;position:relative;overflow:hidden;background:#b9e482}.hero-art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.teens .hero{background:#e9eff2}.teens .hero-copy .eyebrow{color:#27594b}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:32px 0 16px}.section-head h2,.progress h1{font-size:clamp(1.85rem,3vw,2.6rem);letter-spacing:-.047em;line-height:1.15;font-weight:880}.section-head span{font-size:15px;color:var(--muted);font-weight:700}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{display:block;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:white;transition:transform .18s,border-color .18s}.card:hover{transform:translateY(-3px);border-color:#8ba593}.cardtext{padding:16px 20px 20px}.card h3,.progress h3{font-size:1.5rem;letter-spacing:-.04em;line-height:1.15;font-weight:850}.card p{color:var(--muted);font-size:1rem;margin-top:6px;line-height:1.4}.cover{position:relative;isolation:isolate;overflow:hidden;height:125px;display:grid;place-content:center}.astronomy{background:#253d5b}.maths{background-color:#f6ca83;background-image:linear-gradient(#cd98383d 1px,transparent 1px),linear-gradient(90deg,#cd98383d 1px,transparent 1px);background-size:24px 24px}.writing{background:#dcc9f5}.planet{width:76px;aspect-ratio:1;border-radius:50%;transform:rotate(-16deg);background:repeating-linear-gradient(0deg,transparent 0 7px,#faf5e84a 8px 10px),linear-gradient(120deg,#fde2a0,#f6ac65 68%,#e5815b);box-shadow:inset -10px -7px 0 #d7875a;position:relative}.planet:after{content:'';position:absolute;inset:24px -32px 19px;border:4px solid #fceeb8;border-top-color:transparent;border-radius:50%;transform:rotate(-8deg)}.astronomy:before,.astronomy:after{content:'✦';color:#efeed9;position:absolute;font-size:26px;left:24%;top:13%;transform:rotate(10deg)}.astronomy:after{font-size:12px;left:76%;top:62%}.shape-set{position:relative;width:146px;height:94px}.shape-set i{position:absolute;bottom:9px}.shape-set i:nth-child(1){width:60px;height:60px;background:#ed8555;border-radius:50%;left:2px;top:4px}.shape-set i:nth-child(2){width:78px;height:76px;background:#225440;clip-path:polygon(0% 100%,50% 0%,100% 100%);left:33px}.shape-set i:nth-child(3){height:45px;width:45px;transform:rotate(14deg);background:#fcf5db;right:1px;bottom:11px;box-shadow:3px 3px #b88e51}.paper{width:91px;height:91px;background:repeating-linear-gradient(0deg,transparent 0 11px,#8b80ba60 12px 13px),#fff4d6;box-shadow:5px 7px #aa8cbf;transform:rotate(-10deg);position:relative;border-radius:2px}.paper:after{content:'';position:absolute;width:14px;height:92px;top:-3px;right:10px;transform:rotate(43deg);background:linear-gradient(90deg,#eb7f4a 0 40%,#ffa666 40% 73%,#e4793f 73%);clip-path:polygon(0 0,100% 0,100% 86%,50% 100%,0 86%)}.page-shell{max-width:960px;margin:auto}.crumb{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:15px;color:var(--muted);margin:3px 0 23px}.crumb a{font-weight:800;text-decoration:underline;text-underline-offset:4px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 233px;gap:32px;align-items:start}.reader,.sidebar,.empty{border:1px solid var(--line);border-radius:20px}.reader{overflow:hidden}.reader .cover{height:105px}.reader-body{padding:clamp(22px,3vw,41px)}.reader h1{font-size:clamp(2rem,3.6vw,3.1rem);line-height:1.06;font-weight:880;letter-spacing:-.055em;margin:12px 0 21px}.reader-body>p{margin:13px 0;line-height:1.65}.reader h2{font-size:1.38rem;letter-spacing:-.035em;line-height:1.32}.practice,.reflection{margin:24px 0 0;padding-top:23px;border-top:1px solid var(--line)}.practice h2,.reflection h2{margin-bottom:10px}.practice p,.reflection p{margin:8px 0 12px}.choices{display:grid;gap:8px;margin-top:12px}.choice{width:100%;min-height:46px;text-align:left;padding:11px 16px;border:1px solid #c6d2c6;border-radius:10px;font-weight:650;background:white}.choice:hover{background:var(--tint)}.choice[aria-pressed=true]{border:2px solid var(--forest);padding:10px 15px;background:#eef7e5}.choice[disabled]{cursor:default}.feedback:not(:empty){margin-top:12px;padding:13px 16px;border-radius:10px;background:#fff3d9}.feedback.good:not(:empty){background:#e8f5dd}.hint{margin:13px 0 0;color:#344e40}.hint summary,.sample summary{cursor:pointer;font-weight:800;text-decoration:underline;text-underline-offset:3px;width:fit-content}.hint p,.sample p{margin:6px 0;font-size:1rem}.reflection textarea{width:100%;min-height:92px;resize:vertical;border:1px solid #9cae9e;border-radius:10px;padding:10px;background:#fff}.sample{margin-top:6px}.sidebar{background:#f4f8ef;padding:20px;position:sticky;top:20px}.sidebar h2{font-size:1.15rem;line-height:1.3;letter-spacing:-.025em}.levels{display:grid;gap:6px;margin:14px 0}.level{border:1px solid #c8d5c7;background:white;border-radius:9px;padding:10px 12px;font-weight:750;line-height:1.3;display:block}.level[aria-current=page]{color:white;background:var(--forest);border-color:var(--forest)}.fine{font-size:.88rem;line-height:1.5;color:var(--muted)}.reader-source{margin-top:22px;font-size:14px;text-decoration:underline;text-underline-offset:3px;display:inline-block;color:var(--muted)}
.progress{max-width:920px;margin:28px auto 0}.progress h1{margin:12px 0}.progress>p{margin-bottom:24px}.empty{display:flex;align-items:center;gap:24px;background:#f4f8eb;padding:25px}.empty img{width:130px}.empty h2{font-size:1.45rem}.empty p{margin:6px 0 14px}.completed{list-style:none;margin:20px 0;padding:0;border-top:1px solid var(--line)}.completed li{border-bottom:1px solid var(--line)}.completed a{display:block;padding:15px 1px}.completed a:hover h3{text-decoration:underline}.completed small{color:var(--muted)}footer{padding:18px 0 25px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--muted)}footer span:first-child{font-weight:800}
@media(max-width:900px){.bar,main,footer{width:calc(100% - 48px)}.bar{gap:30px}.hero h1{font-size:clamp(2.7rem,6vw,4rem)}.hero-copy{padding:30px}.lesson-layout{grid-template-columns:minmax(0,1fr) 195px;gap:18px}.cards{gap:12px}}
@media(max-width:720px){.bar,main,footer{width:calc(100% - 32px)}.bar{flex-wrap:wrap;gap:0;min-height:auto;padding:12px 0 0}.brand img{width:132px}.pages{order:3;width:100%;gap:22px;margin:5px 0 0}.pages a{padding:8px 0 12px}.pages a[aria-current=page]:after{bottom:3px}.switch a{padding:5px 14px}.hero{grid-template-columns:1fr;border-radius:19px}.hero-copy{padding:26px 24px}.hero h1{max-width:400px;font-size:clamp(2.6rem,8.8vw,3.65rem);margin:10px 0}.hero-art{min-height:0;aspect-ratio:2.15}.hero-art img{object-position:center 48%}.actions{margin-top:16px}.cards{grid-template-columns:1fr}.card{display:grid;grid-template-columns:32% 1fr;align-items:stretch}.card .cover{height:100%;min-height:105px}.cardtext{padding:18px}.card h3{font-size:1.3rem}.shape-set{transform:scale(.72)}.paper{transform:rotate(-10deg) scale(.7)}.planet{transform:rotate(-16deg) scale(.65)}main{padding:16px 0 40px}.section-head{margin-top:25px}.section-head span{font-size:14px}.lesson-layout{display:flex;flex-direction:column-reverse;gap:14px;align-items:stretch}.sidebar{padding:14px 16px;position:static}.sidebar h2{font-size:1rem}.levels{display:flex;margin:8px 0}.level{flex:1;padding:8px 10px;font-size:15px;text-align:center}.sidebar .fine{display:none}.crumb{margin-bottom:12px}.empty{display:block}.empty img{width:110px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.bar{min-height:84px;gap:38px}.brand-link{display:flex;align-items:center}.brand-link .brand{width:156px;height:auto}.family-logo{width:210px;height:auto;display:block}.bar-end{margin-left:auto;display:flex;align-items:center;gap:16px}.outline-mini{display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:820;border:1px solid #bdcfc1;background:white;color:var(--forest);padding:7px 16px;min-height:42px;border-radius:99px}.outline-mini:hover{background:#f0f7eb}.learn-nav{display:flex;align-items:stretch;align-self:stretch;gap:26px}.learn-nav a{align-content:center;font-size:15px;position:relative;font-weight:800}.learn-nav a[aria-current]{color:var(--green)}.learn-nav a[aria-current]:after{content:'';position:absolute;bottom:15px;left:0;width:24px;height:3px;background:var(--green);border-radius:8px}
.parent-intro{margin:12px 0 28px;max-width:750px}.parent-intro h1,.form-page h1,.inner>h1,.subject-head h1,.lesson h1{font-size:clamp(2.3rem,4.65vw,4.3rem);line-height:1.04;letter-spacing:-.06em;font-weight:880;color:var(--forest)}.parent-intro h1{margin:12px 0}.parent-intro p,.form-page>p,.inner>p{color:var(--muted);line-height:1.55;font-size:1.1rem;max-width:660px}.edition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.edition-card{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#f8faee}.edition-card.teens{background:#f5f1fa}.edition-picture{height:clamp(145px,16vw,232px);overflow:hidden;position:relative}.edition-picture img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}.edition-copy{padding:clamp(20px,2.5vw,38px)}.edition-logo{width:min(270px,87%);display:block;height:auto}.edition-copy p{font-size:1.08rem;line-height:1.5;max-width:450px;margin:12px 0 8px}.edition-copy .actions{margin-top:16px}.counts,.result-count{font-size:.92rem;color:var(--muted);font-weight:750}.teen-pattern{height:100%;width:100%;background-color:#193b37;background-image:radial-gradient(#73967c 1px,transparent 1px);background-size:19px 19px;position:absolute;inset:0;overflow:hidden;isolation:isolate}.teen-pattern i{position:absolute;width:48%;height:180%;border-radius:50%;border:clamp(24px,4.6vw,65px) solid #bd9aea;transform:rotate(38deg);top:-47%;left:3%}.teen-pattern i:nth-child(2){border-color:#b9e67b;left:38%;top:-25%;width:44%;height:155%;transform:rotate(-42deg)}.teen-pattern i:nth-child(3){background:#ffc074;width:17%;height:auto;aspect-ratio:1;right:6%;left:auto;top:9%;border:0;box-shadow:-10px 11px 0 #112d2e}
.teens .hero{background:#ece6f3}.teens .hero-art{background:#193b37}.teens .hero-art .teen-pattern i{height:105%;top:-8%}.teens .hero-art .teen-pattern i:nth-child(2){height:95%;top:26%}.teens .hero-art .teen-pattern i:nth-child(3){height:auto;top:12%}.preview-strip{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 4px 16px;color:var(--muted);font-size:.92rem}.preview-strip .text-btn{font-size:.92rem}.saved{margin:16px 0 26px}.saved .section-head{margin:0 0 12px}.saved h2{font-size:1.45rem}.profiles{display:flex;flex-wrap:wrap;gap:10px}.profile,.profile-name{display:flex;align-items:center;gap:11px}.profile{text-align:left;background:#f5f8ee;padding:10px 16px;border-radius:13px;border:1px solid var(--line)}.profile span>b,.profile small{display:block}.profile small{font-size:.82rem;color:var(--muted)}.badge-mark{height:38px;width:38px;border-radius:50% 50% 44% 42%;background:#d7eab4;color:#144e34;display:inline-grid;place-items:center;font-weight:950;font-size:1.15rem}.profile-name{font-size:.93rem;font-weight:800}
.form-page,.inner{max-width:860px;margin:12px auto}.form-page{max-width:610px}.form-page.wide{max-width:780px}.back{display:block;color:var(--green);font-weight:800;text-decoration:underline;text-underline-offset:4px;margin-bottom:24px;width:fit-content}.form-page .edition-logo{width:235px;margin:16px 0 22px}.form-page h1,.inner>h1{margin:12px 0 15px}.family-form{margin:22px 0 12px;display:grid;gap:16px;max-width:445px}.family-form label,.searchbox{font-size:.92rem;font-weight:800;display:grid;gap:5px}.family-form input,.family-form select,.searchbox input{font:inherit;color:var(--ink);background:white;border:1px solid #9bb29e;border-radius:11px;min-height:45px;padding:9px 12px;width:100%}.family-form select{appearance:none;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23003b20' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;background-size:20px;padding-right:40px}.family-form .btn{justify-self:start}.notice,.fine,.counts{font-size:.9rem}.notice{font-weight:750;color:#625124}.returning,.confirm-box,.pin-settings{background:#f2f6ed;padding:15px 18px;border-radius:12px;margin:17px 0}.manage-list article{padding:15px 0;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.manage-list h2{font-size:1.1rem}.manage-list p{font-size:.92rem}.manage-actions{margin-left:auto;display:grid;justify-items:start}.manage-actions .text-btn{font-size:14px}.pin-settings summary{cursor:pointer;font-weight:800}
.subject-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.subject-card{border:1px solid var(--line);border-radius:16px;overflow:hidden}.subject-card:hover{border-color:#698b6b}.subject-card>div:last-child{padding:14px 15px}.subject-card h3{font-size:1.18rem;line-height:1.2;letter-spacing:-.035em;font-weight:850}.subject-card span{color:var(--muted);font-size:.9rem}.subject-mark{background:var(--bg);color:var(--fg);height:93px;display:grid;place-items:center;isolation:isolate;overflow:hidden;position:relative}.subject-mark:before,.subject-mark:after{content:'';position:absolute;width:100px;height:100px;border:1px solid var(--fg);opacity:.32;border-radius:29%;transform:rotate(26deg);top:-65%;left:-15%}.subject-mark:after{top:42%;left:78%;width:86px;height:86px;transform:rotate(40deg)}.subject-mark b{font:800 3.4rem/1 Nunito,Arial,sans-serif}.searchbox{width:245px}.searchbox span{font-size:.81rem}.subject-head{display:flex;align-items:center;gap:20px;margin:18px 0 25px}.subject-head .subject-mark{width:90px;height:90px;flex:none;border-radius:16px}.subject-head h1{margin:6px 0}.subject-head p{font-size:.96rem;color:var(--muted)}.sequence{margin-top:24px}.sequence h2,.saved h2{font-size:1.55rem;letter-spacing:-.035em}.lesson-list{list-style:none;margin:12px 0 20px;padding:0;border-top:1px solid var(--line)}.lesson-list li{border-bottom:1px solid var(--line)}.lesson-list a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 2px;font-weight:800}.lesson-list small{font-size:.85rem;color:var(--muted);white-space:nowrap}.lesson-list a:hover span{text-decoration:underline}.lesson-inner{max-width:805px}.lesson{padding:clamp(21px,4vw,48px);border:1px solid var(--line);border-radius:20px}.lesson h1{margin:12px 0 24px;font-size:clamp(2rem,3.7vw,3.35rem)}.lesson>p{font-size:1.08rem;line-height:1.72;margin:15px 0;white-space:pre-line}.lesson .reflection label{display:block;margin-bottom:8px}.lesson h2{font-size:1.42rem;line-height:1.25}.reflection .fine{margin:4px 0 8px}.result-count{margin-bottom:8px}.empty{margin-top:16px}
@media(max-width:1000px){.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.bar{gap:10px;padding:12px 0;min-height:60px}.bar-end{gap:8px}.family-logo{width:158px}.brand-link .brand{width:128px}.learn-nav{order:3;width:100%;gap:20px}.learn-nav a[aria-current]:after{bottom:-5px}.profile-name{font-size:0;gap:0}.profile-name .badge-mark{width:27px;height:27px;font-size:.9rem}.outline-mini{min-height:34px;padding:5px 11px;font-size:.84rem}.edition-grid{gap:15px}.edition-picture{height:138px}.edition-copy{padding:17px}.edition-copy p{font-size:.98rem}.edition-copy .actions{gap:6px}.parent-intro{margin:8px 0 20px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head:has(.searchbox){align-items:start;flex-direction:column;gap:10px}.searchbox{width:100%}.lesson-list a{align-items:start;flex-direction:column;gap:1px}.subject-head .subject-mark{width:65px;height:65px}.subject-head .subject-mark b{font-size:2.5rem}.manage-list article{flex-wrap:wrap}.manage-actions{width:100%;margin:0}.teen-pattern i{border-width:25px}}
@media(max-width:520px){.edition-grid{grid-template-columns:1fr}.edition-card{display:grid;grid-template-columns:26% 1fr}.edition-picture{height:100%;min-height:168px}.edition-picture img{object-position:52% 45%}.edition-copy .edition-logo{width:185px;max-width:100%}.edition-copy .actions{flex-wrap:wrap;gap:10px}.edition-copy .btn,.edition-copy .text-btn{font-size:.9rem}.edition-card .teen-pattern i{width:120%;left:-30%;height:79%;top:-10%;border-width:18px}.edition-card .teen-pattern i:nth-child(2){top:43%;left:5%}.edition-card .teen-pattern i:nth-child(3){width:40px;height:40px;top:53%;left:15%}.subject-card>div:last-child{padding:11px}.section-head .text-btn{font-size:.88rem}.profile small{font-size:.76rem}}

/* Household profiles share the same visual identity in the picker, PIN and management views. */
.profile-picker{max-width:1060px;min-height:65vh;margin:0 auto;padding:clamp(40px,8vh,92px) 0 45px;text-align:center}
.profile-picker h1{color:var(--forest);font-size:clamp(2.5rem,6vw,4.7rem);font-weight:900;line-height:1.06;letter-spacing:-.065em;text-wrap:balance}
.profile-picker>p{margin:12px 0;color:var(--muted);font-size:clamp(1rem,1.7vw,1.22rem)}
.household-grid{display:flex;align-items:flex-start;justify-content:center;flex-wrap:wrap;gap:clamp(12px,2.2vw,32px);margin:clamp(32px,6vh,58px) auto 30px}
.profile-tile{display:flex;flex:0 1 clamp(98px,13vw,148px);align-items:center;flex-direction:column;gap:2px;background:transparent;padding:3px;border-radius:16px;text-align:center;line-height:1.3;min-width:0}
.profile-tile .avatar{margin-bottom:8px;max-width:100%;width:132px;height:auto;aspect-ratio:1}
.profile-tile strong{font-size:clamp(1rem,1.6vw,1.25rem);font-weight:850;overflow-wrap:anywhere}
.profile-tile small{color:var(--muted);font-size:.88rem}
.avatar{isolation:isolate;position:relative;overflow:hidden;display:inline-grid;place-items:center;background:var(--avatar-bg,#ebf1e1);color:var(--avatar-ink,#295a40);border:1px solid #183b2320;border-radius:22%;font-size:clamp(2.5rem,5vw,4.2rem);line-height:1;font-family:Nunito,"Apple Color Emoji","Segoe UI Emoji",sans-serif}
.avatar::before,.avatar::after{content:'';position:absolute;width:81%;aspect-ratio:1;border:1px solid currentColor;border-radius:50%;opacity:.18;z-index:-1}
.avatar::before{top:-39%;left:-20%}.avatar::after{right:-38%;bottom:-25%}
.tone-0{--avatar-bg:#d7edae;--avatar-ink:#174b34}.tone-1{--avatar-bg:#ffd7b8;--avatar-ink:#953a30}.tone-2{--avatar-bg:#dfd5fa;--avatar-ink:#614685}.tone-3{--avatar-bg:#cbe6d6;--avatar-ink:#26684c}.tone-4{--avatar-bg:#d1e6f7;--avatar-ink:#30567e}.tone-5{--avatar-bg:#f4d8df;--avatar-ink:#8d4668}
.owner-symbol{position:relative;display:block;width:55%;height:55%;overflow:hidden;border-radius:38%}
.owner-symbol:before,.owner-symbol:after{content:'';position:absolute;background:var(--avatar-ink);left:50%;transform:translateX(-50%)}
.owner-symbol:before{width:38%;aspect-ratio:1;top:3%;border-radius:50%}
.owner-symbol:after{width:83%;height:43%;bottom:9%;border-radius:70% 70% 30% 30%}
.profile-tile:hover .avatar{outline:3px solid var(--forest);outline-offset:3px}
.add-tile .avatar{border:2px dashed #a9bbaa;background:#f6f8f2;color:#58755c;font-weight:420}
.add-tile .avatar:before,.add-tile .avatar:after{display:none}
.profile-picker>.outline-mini{min-height:42px;padding:8px 21px;display:inline-flex}
.profile-picker>.notice:empty{display:none}
.select-profile>.avatar{width:76px;height:76px;font-size:42px}
.manage-list .avatar{width:48px;height:48px;flex:none;font-size:27px}
.edition-options{display:grid;gap:12px;margin:20px 0}
.edition-options a{display:grid;gap:2px;padding:16px 20px;color:var(--ink);background:#f5f8ef;border:1px solid var(--line);border-radius:14px}
.edition-options a:hover{border-color:var(--green)}
.edition-options strong{font-size:1.25rem;font-weight:850}
.edition-options span{color:var(--muted)}
.family-form input:focus-visible,.family-form select:focus-visible{outline:3px solid var(--green);outline-offset:2px}
@media(max-width:600px){
 .profile-picker{padding:32px 0;min-height:60vh}
 .household-grid{gap:22px 12px;max-width:420px}
 .profile-tile{flex-basis:calc((100% - 32px)/3)}
 .profile-tile .avatar{width:98px}
 .profile-tile small{font-size:.79rem}
}
@media(prefers-reduced-motion:no-preference){.profile-tile .avatar{transition:transform .15s ease,outline-offset .15s}.profile-tile:hover .avatar{transform:translateY(-2px)}}

.sample p{white-space:pre-line}

/* Keep the family entrance connected to the main course catalogue. */
body.parent:has(.parent-intro),body.parent:has(.profile-picker) {background:#101610;color:#f1f5eb}
body.parent:has(.parent-intro)>header,body.parent:has(.profile-picker)>header {border-color:#344338}
body.parent:has(.parent-intro) .brand-link img,body.parent:has(.profile-picker) .brand-link img {filter:brightness(0) invert(1)}
body.parent:has(.parent-intro) .bar-end a,body.parent:has(.profile-picker) .bar-end a,.profile-picker .outline-mini {background:#27332a;color:#f1f6ed;border-color:#5a6a5b}
body.parent .parent-intro,body.parent .profile-picker {color:#eff5e8;background:linear-gradient(120deg,#22392b,#152019);border-radius:18px;padding:clamp(26px,5vw,68px)}
body.parent .parent-intro {width:100%;max-width:none}
body.parent .parent-intro h1,body.parent .profile-picker h1 {color:#eff5e8}
body.parent .parent-intro p,body.parent .profile-picker>p {color:#d1ddcc}
body.parent .parent-intro .btn {color:#18240e;background:#b4ed59}
body.parent .edition-card {color:#183324}
body.parent .profile-picker .profile-tile {color:inherit}
body.parent:has(.parent-intro)>footer,body.parent:has(.profile-picker)>footer {color:#cad6c7;border-color:#39483c}
@media(prefers-reduced-motion:no-preference) and (hover:hover){.edition-picture img,.kids-cover {transition:transform .28s ease}.edition-card:hover .edition-picture img,.subject-card:hover .kids-cover {transform:scale(1.025)}}

.course-shelf {margin:clamp(24px,4vw,42px) 0}
.course-shelf h2 {margin-bottom:12px}
.course-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.course-grid .subject-card {display:grid;grid-template-columns:clamp(60px,14vw,116px) minmax(0,1fr);align-items:center;gap:clamp(14px,2vw,24px);padding:clamp(14px,2.2vw,24px)}
.course-grid .subject-card>div:last-child {min-width:0;padding:0}
.course-grid .subject-mark,.course-grid .kids-cover {width:100%;height:auto;aspect-ratio:1;border-radius:12px;object-fit:cover}
.course-grid h3 {font-size:clamp(1.18rem,2vw,1.5rem);line-height:1.25}
.course-grid p {margin-top:6px;max-width:62ch;line-height:1.55}
.subject-head {align-items:flex-start;gap:clamp(16px,2.4vw,32px)}
.subject-head h1 {line-height:1.13;letter-spacing:-.035em;margin:0 0 12px}
.subject-head p {max-width:62ch;line-height:1.6;font-size:1rem}
.subject-head p+p {margin-top:.55em}
.subject-head .btn {margin-top:14px}
.lesson-list a {line-height:1.45;min-height:48px}
.lesson-list small {white-space:normal}
.learn-nav a,.bar-end .outline-mini,.preview-strip .text-btn {display:inline-flex;align-items:center;min-height:44px}
@media(max-width:600px){
 .subject-head {display:grid;gap:14px}
 .subject-head .subject-mark,.kids .subject-head .kids-cover {width:72px;height:54px}
 .lesson-list a {gap:5px;padding-block:14px}
 .bar-end {flex-wrap:wrap}
}
@media(max-width:720px){
 .kids .bar,.teens .bar {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center}
 .bar .brand-link .family-logo {max-width:100%;height:auto}
 .bar .learn-nav {grid-column:1/-1;grid-row:2;margin:0;gap:20px}
 .bar .bar-end {grid-column:2;grid-row:1;justify-content:flex-end}
}
.more-courses {margin-top:12px}
.more-courses summary {width:fit-content;padding:10px 2px;min-height:44px;cursor:pointer;color:var(--green);font-weight:800}
.more-courses[open] summary {margin-bottom:8px}
