/* Original web adaptation of Apple HIG. Tokens: design-tokens.css. */
html{scroll-behavior:smooth;scroll-padding-top:100px}body{background:var(--canvas);color:var(--ink);font-family:Pretendard,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;line-height:1.55;-webkit-text-size-adjust:100%}body>header{position:sticky;top:0;z-index:35;min-height:72px;padding:12px max(20px,calc((100vw - 1136px)/2));gap:14px;background:#fffffff2;backdrop-filter:blur(18px);border-bottom:1px solid #e1e3eb88}header strong{letter-spacing:-.6px;font-size:18px}header>span{margin-right:auto;font-size:11px;color:var(--muted)}header button{min-height:44px;padding:8px 14px;background:var(--surface-soft);color:var(--ink);font-size:13px}header #questionBell{background:var(--brand-soft);color:var(--brand)}main{max-width:1168px;padding:26px 24px calc(168px + env(safe-area-inset-bottom))}h1,h2,h3,h4{line-height:1.3;letter-spacing:-.6px;text-wrap:balance}h1{font-size:32px;font-weight:750;margin:8px 0 10px}h2{font-size:22px;margin:0 0 16px}h3{font-size:18px}p{overflow-wrap:anywhere}a{color:var(--brand);text-underline-offset:3px}button,input,select,textarea{font-family:inherit;font-size:16px}button{min-height:var(--touch);border-radius:var(--radius-control);padding:12px 18px;margin:4px 4px 4px 0;line-height:1.3;font-weight:650;background:var(--brand);transition:background .16s,transform .16s}button:hover:not(:disabled){filter:brightness(.96)}button:active:not(:disabled){transform:scale(.98);background:var(--brand-pressed)}button:disabled{background:#e9ebf1;color:#62687a;opacity:1}input:not([type=checkbox]),select,textarea{min-height:48px;border:1px solid var(--stroke);border-radius:var(--radius-control);background:#f9f9fc;color:var(--ink);padding:13px 14px;width:100%;box-shadow:none}input[type=checkbox]{width:22px;height:22px;accent-color:var(--brand);flex-shrink:0}input[type=file]{font-size:14px}label{font-size:14px;font-weight:550;gap:8px}.inline-check{min-height:44px}textarea{resize:vertical;border:1px solid var(--stroke);min-height:112px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #786294;outline-offset:3px}details>summary{cursor:pointer;min-height:44px;padding:11px 0;font-weight:600;color:var(--ink);overflow-wrap:anywhere}details[open]>summary{margin-bottom:12px}details p{color:var(--muted)}.area,aside,article{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:24px}.area{margin:0 0 20px}#workspace:not([hidden]){grid-template-columns:210px minmax(0,1fr);gap:22px}#workspace>article{display:flex;flex-direction:column;background:none;border:0;border-radius:0;padding:0;box-shadow:none;min-width:0}#workspace>article>.eyebrow{order:-4;margin:0;color:var(--brand);font-size:12px;letter-spacing:1.4px;font-weight:750}#welcome{order:-3}#scope{order:-2;margin:0 0 12px;color:var(--muted);font-size:14px}#licenseStatus{order:-1;font-size:12px;color:var(--muted);margin:0 0 20px}#academyWorkspace{order:1}#learningWorkspace:not([hidden]){display:contents}#studentExperience{order:1}#studyHome{order:2}#questionInbox{order:3}#progressPanel{order:4}#conceptPanel{order:5}#schoolPanel{order:6}#aiPanel{order:7}#learningAccess{order:8}#studentPanel{order:9}#areasHeading{order:10}#areas{order:11}#researchPreference{order:12}#inviteAccept{order:13}#academySidebar{position:sticky;top:96px;align-self:start}#academySidebar nav button{background:var(--surface-soft);color:var(--ink);text-align:left}#status{border-radius:18px;color:var(--ink)}
.student-hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#fce9ed,#f6eefb);border:1px solid #eecfd9;border-radius:30px;padding:30px;margin-bottom:18px;isolation:isolate}.student-hero h2{max-width:570px;font-size:clamp(26px,3.5vw,38px);letter-spacing:-1.4px;margin:10px 0 12px}.student-hero p{color:#694753;max-width:470px;font-size:15px}.student-hero .hero-tag{font-size:11px;letter-spacing:1.5px;color:#8a2542;font-weight:750}.hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.hero-actions a{display:inline-flex;gap:8px;align-items:center;min-height:48px;padding:13px 20px;text-decoration:none;border-radius:16px;font-weight:700;font-size:15px;background:var(--brand);color:white}.hero-actions a.secondary{background:white;color:var(--ink);border:1px solid #eadde2}.hero-art{position:absolute;right:26px;top:28px;width:165px;height:165px;opacity:.8;z-index:-1}.student-hero h2,.student-hero p{padding-right:100px}.study-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.overview-item{padding:18px 16px;background:var(--surface);border:1px solid var(--stroke);border-radius:22px}.overview-item strong{display:block;font-size:26px;line-height:1.1;color:var(--ink);font-variant-numeric:tabular-nums}.overview-item span{display:block;color:var(--muted);font-size:12px;margin-top:8px}.learning-shortcuts{display:flex;gap:8px;overflow-x:auto;padding:4px 0 18px;scrollbar-width:thin}.learning-shortcuts a{flex-shrink:0;display:flex;align-items:center;gap:8px;min-height:44px;border:1px solid var(--stroke);background:#fff;padding:10px 16px;border-radius:999px;text-decoration:none;color:var(--ink);font-size:14px;font-weight:600}.learning-shortcuts a:hover,.learning-shortcuts a[aria-current=location]{background:var(--brand-soft);color:var(--brand);border-color:#e6b4c2}.ui-icon{display:inline-block;width:20px;height:20px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#studyActions{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#studyActions>.study-action{display:flex;flex-direction:column;margin:0;border:1px solid var(--stroke);border-left:0;border-radius:22px;background:#f5f5fa;padding:20px;box-shadow:none}#studyActions>.study-action:first-child{background:var(--lavender)}#studyActions>.study-action:nth-child(2){background:var(--brand-soft)}#studyActions>.study-action p{font-size:14px;color:#55596e;flex:1}#studyActions>.study-action button{background:white;color:var(--ink);border:1px solid #dfe0e8;font-size:14px;text-align:left}#studyActions>details{grid-column:1/-1}#studyRecommendations>article{border:1px solid var(--stroke);border-left:0;background:#fafafd;border-radius:22px}#studyRecommendations>h3{margin-top:28px}#studyRecommendations p{color:var(--muted);font-size:14px}#studyMessage{color:var(--muted);font-size:14px}.progress-chart{max-width:100%;border-radius:18px;background:#fcfcfe}#progressScores>ul{font-size:13px;color:var(--muted);padding-left:20px}#progressGroups .area{box-shadow:none;background:#fafafd}#progressStatus{font-size:13px;background:var(--surface-soft);padding:14px;border-radius:16px;color:#50566a}#schoolCurriculum{margin-bottom:24px}#questionThreads details{box-shadow:none;border-color:var(--stroke);border-radius:20px;padding:14px 18px;background:#fafafd;margin-bottom:10px}#questionThreads details[open]{background:white;border-color:#df9bac}#questionThreads summary{font-size:15px}#questionNotification{color:var(--brand);background:var(--brand-soft);padding:12px 16px;border-radius:14px;font-size:14px}#questionUnread{font-size:12px;font-weight:650;white-space:nowrap}.question-message,.question-answer{padding:16px;border-radius:18px;background:var(--brand-soft);color:var(--ink)!important;max-width:92%;line-height:1.65}.question-answer{background:var(--lavender);margin-left:auto}#questionInbox[data-unread=false] #questionNotification{background:var(--surface-soft);color:var(--muted)}#conceptRows>.area{border-radius:22px;background:#fafafd;box-shadow:none;padding:22px}#questionJump button{background:var(--surface-soft);color:var(--ink);border-radius:14px}.question-tools{gap:14px}.question-tools label{min-width:160px}.question-tools button{background:var(--ink)}#areas{grid-template-columns:repeat(2,minmax(0,1fr))}#areas>.area button{font-size:13px}#areas>.area p{font-size:13px;color:var(--muted)}#aiPanel fieldset{border:1px solid var(--stroke);background:#fbfbfe;border-radius:20px;padding:18px;min-width:0}.upload-quota{background:var(--brand-soft);border:0;border-radius:20px;padding:20px}.page-queue{gap:14px}.page-queue img{border-radius:14px}.exam-warning-summary{border-width:1px;background:#fff4f5;border-radius:22px;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}.exam-alert{border-radius:16px;box-shadow:none}.exam-alert button{background:#fff1f3;color:var(--danger);border:1px solid #efb4bd}#seatPanel,#platformPanel{border-radius:24px;border-color:var(--stroke)}.review-banner{background:#fff9ed;border:1px dashed #c3a56e;border-radius:16px;padding:8px 16px;margin-bottom:20px;font-size:12px;box-shadow:none}.review-banner>summary{font-size:12px;color:#76581b;min-height:44px;padding:8px 0}.review-banner h2{font-size:16px}.review-banner button{font-size:12px;min-height:44px;padding:8px 12px;background:#72511d}.legal-footer{height:calc(56px + env(safe-area-inset-bottom));min-height:56px;padding:4px 12px calc(4px + env(safe-area-inset-bottom));background:#f9f9fcf5;border:0;gap:4px 16px;font-size:11px}.legal-footer a{color:#565b6d;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}#bottomNav{bottom:calc(56px + env(safe-area-inset-bottom) + 8px);left:50%;right:auto;transform:translateX(-50%);width:calc(100% - 32px);max-width:680px;border:1px solid #e1e3ebb0;border-radius:26px;padding:7px;gap:5px;background:#fffffff0;backdrop-filter:blur(20px);box-shadow:0 8px 35px #25233812}#bottomNav button{display:flex;justify-content:center;align-items:center;gap:8px;border-radius:20px;font-size:14px;min-height:48px;padding:10px 12px;margin:0;background:transparent;color:#62687a}#bottomNav button[aria-current=page]{background:var(--brand-soft);color:var(--brand);box-shadow:none}dialog{border:1px solid var(--stroke);border-radius:30px;padding:28px;max-height:calc(100dvh - 40px);width:calc(100% - 32px);box-shadow:0 25px 90px #1a173a30}dialog::backdrop{background:#27243566;backdrop-filter:blur(4px)}dialog p{font-size:14px;color:var(--muted)}#login{border:1px solid var(--stroke);border-radius:30px;padding:32px;box-shadow:var(--shadow-card)}.legal-document{background:white;border-radius:28px;margin-top:24px;padding:28px}#adminWorkspace>section{margin-top:24px}.upload-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;gap:8px;margin:0 0 24px}.upload-steps li{background:var(--surface-soft);padding:12px 8px;border-radius:16px;font-size:13px;display:flex;align-items:center;gap:8px}.upload-steps span{display:inline-grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:50%;background:white;color:var(--brand);font-weight:750}
@media(max-width:800px){body>header{padding:12px 16px;gap:8px;min-height:68px;flex-wrap:nowrap}header strong{font-size:15px}header>span{display:none}header #questionBell{margin-left:auto}header button{font-size:12px;padding:10px;white-space:nowrap}main{padding:18px 16px calc(168px + env(safe-area-inset-bottom))}h1{font-size:27px}h2{font-size:21px}#workspace:not([hidden]){grid-template-columns:minmax(0,1fr)}#academySidebar{position:static;padding:18px}#academySidebar nav{display:flex;overflow-x:auto}#academySidebar nav button{flex-shrink:0}#studyActions{grid-template-columns:minmax(0,1fr)}.student-hero{padding:24px}.student-hero h2{font-size:29px;max-width:380px;padding-right:40px}.student-hero p{padding-right:35px}.hero-art{width:110px;height:110px;right:-20px;top:45px;opacity:.35}.study-overview{gap:8px}.overview-item{padding:16px 10px;border-radius:19px}.overview-item strong{font-size:23px}.overview-item span{font-size:11px}.area,article{padding:20px;border-radius:24px}#workspace>article{padding:0}.hero-actions a{padding:12px 16px;font-size:14px}.learning-shortcuts{margin-right:-16px;padding-right:16px}#areas{grid-template-columns:1fr}#conceptRows>.area{padding:18px}.question-tools{display:grid;grid-template-columns:1fr}.question-tools label{margin:5px 0;min-width:0}#bottomNav{width:calc(100% - 24px);border-radius:23px}#bottomNav button{font-size:12px;gap:5px;padding:10px 8px}#bottomNav .ui-icon{width:18px;height:18px}.legal-footer{gap:3px 12px;font-size:10px}#questionUnread{display:block;margin-top:8px}#questionInbox>h2{margin-bottom:12px}}
@media(max-width:600px){.upload-steps li{font-size:11px;gap:5px;padding:10px 6px}dialog{margin:auto 0 0;max-width:none;width:100%;max-height:88dvh;border-radius:28px 28px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom))}dialog::before{content:'';display:block;width:36px;height:5px;border-radius:99px;background:#c8cbd5;margin:0 auto 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){body>header,#bottomNav,.legal-footer{background:#fff;backdrop-filter:none}dialog::backdrop{backdrop-filter:none}}
@media(forced-colors:active){button,.area,#bottomNav{border:1px solid CanvasText}.student-hero{background:Canvas}a{color:LinkText}}
/* Keep the primary action above the floating navigation on the first screen. */
main{padding-top:18px}#welcome{font-size:28px;margin:4px 0 6px}#scope{margin-bottom:4px}#licenseStatus{margin-bottom:12px}.student-hero{padding:24px}.student-hero h2{font-size:32px;line-height:1.2;margin:8px 0 10px}.student-hero p{font-size:14px;margin:10px 0}.hero-actions{margin-top:16px}.review-banner{padding-top:4px;padding-bottom:4px}@media(max-width:800px){.student-hero h2{font-size:29px}}

html{scroll-behavior:auto}

#bottomNav:has(>button:only-child){max-width:240px}

/* Student-facing product introduction, scoped away from admin and legal documents. */
.product-guide{margin:0;background:#fff;color:#24202b;font-family:Pretendard,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.7;word-break:keep-all}.product-guide *{box-sizing:border-box}.product-guide a{color:inherit}.product-header{position:static!important;max-width:1080px;margin:auto;padding:24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ece8ef;background:#fff}.product-header>a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none;font-weight:700;font-size:14px}.product-header>a:first-child{font-size:22px;letter-spacing:-1px}.product-header span{font-weight:400;margin-left:5px;color:#786294}.product-guide main{width:auto;max-width:1080px;margin:auto;padding:0 24px}.product-hero{padding:80px 0 38px}.product-kicker{color:#786294;font-size:11px;letter-spacing:2.3px;font-weight:700}.product-guide h1{font-size:clamp(36px,6vw,64px);line-height:1.16;letter-spacing:-2px;margin:20px 0}.product-guide h1 em{font-style:normal;color:#786294}.product-lead{font-size:18px;color:#655e6d;line-height:1.85;margin:24px 0 30px}.product-cta{display:inline-flex;gap:44px;align-items:center;justify-content:space-between;min-height:52px;border-radius:18px;padding:14px 22px;background:#68517f;color:#fff!important;text-decoration:none;font-weight:700;font-size:16px}.product-small{font-size:12px;color:#716978;margin:14px 0}.product-flow{display:flex;align-items:center;gap:18px;margin:46px 0 0;padding:26px 0;border-block:1px solid #eae4ef;flex-wrap:wrap}.product-flow>span{display:flex;align-items:center;gap:12px;font-size:14px}.product-flow b{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f1edf6;color:#68517f;font-size:12px}.product-flow i{color:#a899b4;font-style:normal}.product-section{padding:54px 0;border-bottom:1px solid #eee8f3}.product-guide h2{font-size:clamp(29px,4vw,40px);line-height:1.3;letter-spacing:-1px;margin:14px 0 28px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-grid article{padding:28px 24px;border-radius:26px;border:1px solid #e8e1ef;background:#fcfbfd;min-width:0}.product-number{font-size:10px;letter-spacing:1.4px;color:#786294;font-weight:700}.product-guide h3{font-size:22px;line-height:1.45;letter-spacing:-.7px;margin:24px 0 16px}.product-grid p,.product-plan p{font-size:15px;color:#655e6d}.product-grid article>a{font-weight:700;font-size:14px;text-decoration:none;display:inline-flex;min-height:44px;align-items:center}.product-quote{padding:60px 20px;margin:28px 0;text-align:center;border-radius:30px;background:linear-gradient(125deg,#f5f1fa,#fff7f2)}.product-quote>p{color:#776984;font-size:14px}.product-quote h2{margin:20px 0}.product-grid-two{grid-template-columns:1fr 1fr}.product-grid-two h3{margin-top:0}.product-plan{display:flex;align-items:center;gap:48px;justify-content:space-between}.product-plan>div{max-width:660px}.product-faq details{border-top:1px solid #eae4ef;padding:6px 0}.product-faq summary{cursor:pointer;padding:16px 0;min-height:48px;font-size:16px;font-weight:600}.product-faq details p{font-size:14px;color:#655e6d;max-width:760px}.product-footer{position:static!important;max-width:1080px;margin:auto;padding:36px 24px 48px;background:#fff;font-size:12px;color:#706879}.product-footer nav{display:flex;flex-wrap:wrap;gap:12px}.product-footer a{min-height:44px;display:inline-flex;align-items:center}.product-guide :focus-visible{outline:3px solid #786294;outline-offset:4px}.product-guide [hidden]{display:none!important}body[data-student-mode=true] #individualPlanPanel{margin-top:24px}body[data-student-mode=true] #individualPlanPanel h2{font-size:21px}body[data-student-mode=true] #individualPlanPanel summary{min-height:44px;cursor:pointer;font-weight:700}body[data-student-mode=true] #individualPlanPanel p{font-size:14px;line-height:1.75}
@media(max-width:640px){.product-header{padding:14px 20px}.product-guide main{padding:0 20px}.product-hero{padding-top:42px}.product-lead{font-size:16px}.product-lead br{display:none}.product-flow{gap:12px;margin-top:32px;align-items:flex-start;flex-direction:column}.product-flow i{display:none}.product-grid,.product-grid-two{grid-template-columns:1fr}.product-section{padding:36px 0}.product-grid article{padding:24px}.product-guide h3{margin-top:15px}.product-plan{align-items:flex-start;flex-direction:column;gap:18px}.product-quote{margin:22px 0;padding:36px 16px}.product-cta{width:100%}}
