/* Homework Club app: future school, navy glass, warm gold and cyan light. */
.hc-school-app{--school-ink:#eff6ff;--school-muted:#b9c9df;--school-gold:#ffd265;--school-cyan:#67e9fb;--school-line:#44647d;box-sizing:border-box;margin:0;background:#061324;color:var(--school-ink);font-family:Inter,Manrope,system-ui,sans-serif;min-height:100dvh;background-image:radial-gradient(ellipse at 50% 0,#113d5f 0,transparent 55%);font-size:16px}
.hc-school-app *{box-sizing:border-box}.hc-school-app [hidden]{display:none!important}.hc-school-app a{color:inherit}.hc-school-app button,.hc-school-app input,.hc-school-app select{font:inherit}.hc-school-app button,.school-button{min-height:48px;cursor:pointer;border:1px solid var(--school-line);color:inherit;background:#102940;border-radius:13px;padding:12px 18px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.hc-school-app button:hover,.school-button:hover{border-color:#67e9fb;background:#173c56}.hc-school-app :focus-visible{outline:3px solid #ffd265;outline-offset:4px}.school-gold,.hc-school-app button.school-gold{background:linear-gradient(#ffdb7c,#e9b93d);border-color:#ffdf8c;color:#101c2c;box-shadow:0 3px 0 #9c6c15}.school-header{height:80px;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1060px;margin:auto;padding:8px 24px;border-bottom:1px solid #4c9db537}.school-header img{display:block;width:116px;height:66px;object-fit:contain}.school-header>span{font-size:11px;font-weight:800;letter-spacing:.15em;color:#dae6f8}.school-header button{background:transparent;border:0;font-size:24px;width:48px;padding:8px}.hc-school-app #school-main{width:min(960px,100%);padding:28px 24px 120px;margin:0 auto;outline:none}.hc-school-app h1{font-size:clamp(28px,6vw,42px);line-height:1.15;letter-spacing:-.035em;margin:8px 0 12px}.hc-school-app h2{font-size:21px;margin:26px 0 14px;letter-spacing:-.025em}.hc-school-app p{color:var(--school-muted);line-height:1.6;margin:10px 0 22px}.school-eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:var(--school-cyan)!important;text-transform:uppercase}.school-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.school-card{display:block;border:1px solid #466c89;border-radius:20px;overflow:hidden;background:linear-gradient(145deg,#17344c,#0a1e33);text-decoration:none;box-shadow:0 9px 24px #0008145c;min-width:0}.school-card:hover{border-color:var(--school-cyan)}.school-card img{width:100%;aspect-ratio:1.65;object-fit:cover;display:block}.school-card>div{padding:16px}.school-card strong{font-size:20px;display:block;margin-bottom:8px}.school-card small{color:#c9daeb;line-height:1.5;display:block}.school-card button{width:100%}.school-term-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.school-term-grid .school-card{position:relative;min-height:180px}.school-term-grid img{height:180px;object-fit:cover}.school-term-grid .school-card>div{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:end;background:linear-gradient(transparent 15%,#031322ed)}.school-term-grid strong{font-size:23px}.school-profiles{grid-template-columns:repeat(auto-fit,minmax(130px,190px));justify-content:center;margin:32px 0}.hc-school-app .school-profile{border:1px solid #2c607c;background:#0b243b;border-radius:22px;padding:14px;display:flex;flex-direction:column;gap:10px;min-height:190px;color:white}.school-profile img{border-radius:50%;width:100%;aspect-ratio:1;object-fit:cover;border:2px solid #64e6f563;box-shadow:0 0 24px #4fdef219}.school-profile small{color:#bed1e3}.school-profile.school-add{border-style:dashed;justify-content:center;font-size:16px}.school-add>span{font-size:50px;font-weight:300}.school-centered{text-align:center}.school-form{max-width:560px;margin:auto}.school-form label{display:block;margin:20px 0 8px;font-weight:700}.school-form input:not([type=checkbox]){display:block;width:100%;min-height:52px;border:1px solid #96aec5;border-radius:12px;background:#f5f8ff;color:#0c203b;padding:12px 15px}.school-consent{display:flex!important;align-items:flex-start;gap:12px;font-weight:400!important;line-height:1.5;font-size:14px}.school-consent input{width:22px;height:22px;flex-shrink:0;accent-color:#15c1c9}.school-avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.hc-school-app .school-avatar{border:2px solid transparent;border-radius:50%;padding:2px;background:#0b263b;min-height:0;aspect-ratio:1}.school-avatar img{width:100%;border-radius:50%;display:block}.school-avatar[aria-pressed=true]{border-color:#ffd265;box-shadow:0 0 15px #ffd26575}.school-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.school-actions>*{flex:1}.school-welcome{height:180px;border-radius:20px;background:linear-gradient(0deg,#06132420,transparent),url('/homework-club/app/art/welcome-v2.webp') center/cover;margin-bottom:24px}.school-hero{position:relative;overflow:hidden;border:1px solid #59b5d8;border-radius:24px;padding:32px;min-height:310px;display:flex;flex-direction:column;justify-content:end;background:linear-gradient(0deg,#031323 0,#06132430 100%),url('/homework-club/app/art/school-v2.webp') center 40%/cover}.school-hero img{width:210px;max-width:80%;filter:drop-shadow(0 4px 12px #001021);margin-bottom:0}.school-hero h1{font-size:38px}.school-hero p{color:#fff}.school-hello{display:flex;align-items:center;gap:16px;margin-bottom:25px}.school-hello img{width:76px;height:76px;border-radius:50%;border:1px solid #6eddec}.school-hello h1{font-size:30px}.school-hello p{margin:0}.school-continue{padding:22px;border:1px solid #69ebda;border-radius:20px;background:linear-gradient(120deg,#133c50,#101e36);margin-bottom:26px}.school-continue h2{margin:0 0 8px}.school-continue .school-button{margin-top:8px}.school-progress{height:7px;border-radius:20px;background:#35506b;overflow:hidden;margin:14px 0}.school-progress>i{display:block;height:100%;background:linear-gradient(90deg,#08bfb3,#7ff0da)}.school-year{font-size:36px!important;min-height:120px;flex-direction:column}.school-year small{font-size:12px;color:#c7daea}.school-week-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.school-week-list .school-card>div{padding:18px}.school-week-list .school-card strong{font-size:19px}.school-week-list .school-card.is-complete{border-color:#41e1c5}.school-row{display:flex;align-items:center;gap:14px;text-decoration:none;background:#f2f6fc;color:#101f36!important;border:1px solid #b3c4d8;border-radius:15px;padding:16px;margin:12px 0;min-height:74px}.school-row .school-row-icon{width:44px;height:44px;display:grid;place-items:center;background:linear-gradient(#3abedb,#2a67b2);border-radius:13px;font-size:24px;color:white;flex-shrink:0}.school-row>span:nth-child(2){flex:1}.school-row small{display:block;margin-top:5px;color:#3c526c}.school-row>b{color:#078c7a}.school-note{padding:16px;border:1px solid #396582;border-radius:14px;background:#0b263d}.school-dock{position:fixed;z-index:100;bottom:0;left:50%;transform:translateX(-50%);display:flex;gap:4px;width:min(600px,100%);background:#051323ed;backdrop-filter:blur(18px);border:1px solid #3a6383;border-bottom:0;border-radius:22px 22px 0 0;padding:9px 10px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px #000b1855}.hc-school-app .school-dock button{flex:1;border:0;background:transparent;display:flex;flex-direction:column;font-size:12px;gap:2px;padding:4px 8px;color:#bfd3e7}.school-dock button span{font-size:27px;height:32px;line-height:1}.hc-school-app .school-dock button[aria-current=page]{color:#ffd265}.school-status{position:relative;max-width:900px;margin:0 auto!important;padding:0 24px 100px;font-size:13px}.school-splash{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse,#103b59,#041020 70%);pointer-events:none;animation:school-intro 1.8s ease both}.school-splash img{width:min(360px,85%);height:auto;filter:drop-shadow(0 0 28px #36c5ee55)}.school-splash span{letter-spacing:.32em;color:white;font-size:15px;font-weight:700}.school-splash i{display:block;width:100px;height:2px;margin-top:36px;background:#63e9ff;box-shadow:0 0 20px #63e9ff}.school-skip{position:fixed;z-index:1100;top:-100px;left:12px;background:#ffd265;color:#061324!important;padding:12px}.school-skip:focus{top:10px}.school-back{padding:10px 0!important;background:transparent!important;border:0!important;color:#9edfeb!important;margin-bottom:8px}.school-divider{border:0;border-top:1px solid #355776;margin:28px 0}.school-error{color:#ffd59e!important}.hc-school-app .hc-app-card,.hc-school-app .hc-app-nav{display:none!important}@keyframes school-intro{0%,65%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}@media(max-width:650px){.school-header{padding:8px 16px;height:72px}.school-header>span{font-size:9px}.hc-school-app #school-main{padding:22px 18px 110px}.school-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.school-profiles{grid-template-columns:repeat(2,minmax(0,1fr));max-width:440px;margin:28px auto}.school-avatar-grid{gap:7px}.school-week-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.school-hero{padding:24px;min-height:400px}.school-term-grid .school-card,.school-term-grid img{min-height:170px}.school-centered h1{font-size:30px}.school-profile{min-height:170px!important}.school-form .school-actions{flex-direction:column}.school-hello h1{font-size:26px}.school-hello img{width:62px;height:62px}}@media(prefers-reduced-motion:reduce){.school-splash{animation:none;display:none}*{scroll-behavior:auto!important}}

/* Illustrated Year 1–8 selection: keep a full card as the touch target. */
.school-year-grid{align-items:stretch}
.hc-school-app .school-year{position:relative;display:flex;align-items:flex-end;justify-content:stretch;overflow:hidden;padding:0;min-height:190px;aspect-ratio:1/1.06;border:1px solid #5e89a4;border-radius:20px;text-align:left;isolation:isolate;background:#112d43}
.school-year img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.school-year::before{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#071b31ee);z-index:-1;pointer-events:none}
.school-year span{display:flex;flex-direction:column;align-items:flex-start;padding:16px 18px;width:100%;font-size:44px;line-height:1.05;text-shadow:0 2px 10px #001226}
.school-year strong{font-size:inherit}
.school-year small{display:block;font-size:14px;letter-spacing:.12em;font-weight:900;color:#f7fdff}
.hc-school-app .school-year:focus-visible{outline:3px solid #ffd265;outline-offset:3px}
@media(max-width:650px){
 .hc-school-app .school-year{min-height:185px;aspect-ratio:1/1.05}
 .school-year span{font-size:40px;padding:14px}
 .school-week-list{grid-template-columns:minmax(0,1fr);gap:14px}
 .school-week-list .school-card{display:grid;grid-template-columns:minmax(0,36%) minmax(0,1fr);min-height:132px}
 .school-week-list .school-card img{width:100%;height:100%;min-height:132px;aspect-ratio:auto;object-fit:cover}
 .school-week-list .school-card>div{padding:15px}
 .school-week-list .school-card strong{font-size:20px}
}
@media(max-width:350px){
 .hc-school-app .school-year{min-height:155px}
 .school-year span{font-size:34px;padding:12px}
}

/* Learning plan and self-check: supportive, non-graded, and easy to tap. */
.school-guide,.school-reflect{background:linear-gradient(125deg,#0c2d42,#101d37);border:1px solid #4ca6ad;border-radius:19px;padding:16px 18px;margin:22px 0}
.school-guide h2,.school-reflect h2{margin:0 0 10px;font-size:21px}
.school-guide ol{padding-left:23px;margin:10px 0 0;color:#e0eef8}
.school-guide li{padding:7px 2px;line-height:1.5}
.school-checkin{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hc-school-app .school-checkin button{width:100%;min-height:54px;padding:12px 8px;white-space:normal}
.hc-school-app .school-checkin button[aria-pressed=true]{border:2px solid #ffe083;background:#225660;box-shadow:0 0 0 2px #14cbc63b}
.school-checkin-note{color:#f5e5a8!important;font-weight:700;margin:12px 0 4px!important}
.school-continue .school-secondary{margin-left:10px;border-color:#4a9aaf}
@media(max-width:420px){.school-checkin{grid-template-columns:1fr}.school-continue .school-secondary{margin:10px 0 0}}

.school-term-extras{margin:26px 0 0;padding:16px 0;border-top:1px solid #39566e}
.school-term-extras h2{margin:0 0 8px;font-size:clamp(21px,5vw,26px)}
.school-term-extras p{color:#c8d8ec}
.school-extra-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}
.school-extra{display:flex;flex-direction:column;gap:6px;min-height:124px;padding:17px;border:1px solid #5487a1;border-radius:17px;background:#0c2941;color:#eaf7ff;text-decoration:none}
.school-extra>span{color:#ffdd81;font-size:22px}
.school-extra strong{font-size:18px}
.school-extra small{color:#c4ddeb;font-size:14px}
.school-extra:focus-visible{outline:3px solid #ffe18b;outline-offset:2px}


.school-form select,.school-form textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:48px;margin:10px 0 20px;padding:12px;border:2px solid #658fa7;border-radius:12px;background:#091c31;color:#f0f7ff;font:inherit}.school-form textarea{min-height:180px}.school-form select:focus-visible,.school-form textarea:focus-visible{outline:3px solid #ffe18b;outline-offset:2px}

.school-dock{grid-template-columns:repeat(4,minmax(0,1fr))}.school-dock button{flex:1;min-width:0;padding-inline:4px}.school-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.school-resource-grid strong{font-size:18px}@media(max-width:359px){.school-resource-grid{grid-template-columns:1fr}}

/* App-only phone polish. Website pages do not load this stylesheet. */
.hc-school-app{display:flex;flex-direction:column;min-height:100svh;line-height:1.45}
.school-header{flex:none;width:100%;height:68px;padding:8px 20px;background:#061324b8}
.school-header img{width:96px;height:48px}.school-header>span{font-size:12px;letter-spacing:.08em}
.hc-school-app #school-main{flex:1;width:100%;max-width:880px;padding:26px 24px 24px}
.hc-school-app #school-main[data-screen=profiles]{display:flex;flex-direction:column;justify-content:center;max-width:600px;padding-block:32px}
.school-profile-heading h1{font-size:clamp(32px,6vw,42px);margin:8px 0 10px}
.school-profile-heading p:last-child{margin-bottom:0;font-size:17px}
.school-profiles{width:100%;max-width:480px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px auto 20px}
.hc-school-app .school-profile{padding:18px 14px;min-height:190px;gap:10px;border-radius:24px;background:linear-gradient(150deg,#173a50,#0a2036);border-color:#427c96}
.school-profile img{width:min(124px,100%);border:3px solid #77e4e97a;box-shadow:0 6px 24px #03101b80}
.school-profile strong{font-size:20px;line-height:1.25;overflow-wrap:anywhere}.school-profile small{font-size:14px}
.hc-school-app .school-profile.school-add{grid-column:1/-1;flex-direction:row;min-height:58px!important;padding:12px;gap:12px;background:#0b2235;font-size:16px}
.school-add>span{font-size:28px;line-height:1}
.school-status{flex:none;width:100%;max-width:880px;padding:12px 24px calc(100px + env(safe-area-inset-bottom));font-size:13px;text-align:center;color:#b9d4df!important}
.school-dock{width:min(600px,calc(100% - 24px));bottom:max(10px,env(safe-area-inset-bottom));border:1px solid #426a82;border-radius:24px;padding:8px;background:#0a2033f5;box-shadow:0 -4px 36px #000b1866}
.hc-school-app .school-dock button{min-height:58px;border-radius:17px;font-size:12px;font-weight:700;gap:5px;padding:7px 2px}
.school-dock button span{display:flex;align-items:center;justify-content:center;width:26px;height:26px}.school-dock svg{width:25px;height:25px}
.hc-school-app .school-dock button[aria-current=page]{background:#244252;color:#ffe18b}
.school-hello{gap:14px;align-items:center;margin-bottom:18px}.school-hello img{width:62px;height:62px;border:2px solid #74dee589}
.school-hello h1{font-size:clamp(26px,5vw,36px);margin:5px 0}.school-hello .school-eyebrow{font-size:12px;letter-spacing:.1em;margin:0}
.school-utility{display:flex;gap:10px;margin-bottom:20px}.school-utility button{flex:1;min-height:48px;background:#0c2539}
.school-continue{position:relative;isolation:isolate;overflow:hidden;margin:0 0 18px;padding:24px;border-radius:24px;border-color:#69c8d37a;background:#113347}
.school-continue-art{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;opacity:.25}
.school-continue::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0b2439f5,#0b2439a8)}
.school-continue h2{font-size:25px;margin:0 0 10px}.school-continue p{max-width:450px;color:#e0edf5;font-size:16px}
.school-continue .school-gold{display:flex;width:100%;min-height:54px;font-size:16px}
.school-continue .school-secondary{display:flex;width:100%;margin:10px 0 0;background:#0b2438b8}
.school-term-grid{gap:14px}.school-term-grid .school-card{border-radius:22px;border-color:#47758a}.school-term-grid .school-card>div{padding:18px}
.school-term-grid strong{font-size:23px}.school-term-grid small{font-size:14px}
@media(max-width:650px){
 .school-header{height:64px;padding-inline:18px}.school-header>span{font-size:11px}
 .hc-school-app #school-main{padding:22px 18px 20px}
 .hc-school-app #school-main[data-screen=profiles]{padding-block:24px}
 .school-profiles{gap:12px;margin-top:24px}.hc-school-app .school-profile{min-height:180px;padding:16px 12px}
 .school-continue{padding:22px 18px}.school-term-grid img,.school-term-grid .school-card{height:170px;min-height:170px}
}
@media(prefers-reduced-motion:reduce){.school-splash{animation:none;display:none}}
.school-hello>div{min-width:0}.school-hello .school-eyebrow{overflow-wrap:anywhere}
.hc-school-app a.school-gold{color:#101c2c}

/* App term selection: one full-width illustrated banner per row. */
.hc-school-app .school-term-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.hc-school-app .school-term-grid .school-card{height:clamp(168px,32vw,224px);min-height:168px}
.hc-school-app .school-term-grid img{height:100%;min-height:0;aspect-ratio:auto}
.hc-school-app .school-term-grid .school-card>div{padding:20px}
.hc-school-app .school-term-grid strong{font-size:clamp(24px,4vw,30px)}
.hc-school-app .school-term-grid small{font-size:16px}
