@font-face{font-family:Roboto;src:url(/fonts/roboto-regular.ttf) format("truetype");font-display:swap;font-weight:400}@font-face{font-family:Roboto;src:url(/fonts/roboto-bold.ttf) format("truetype");font-display:swap;font-weight:600 900}*{box-sizing:border-box}html{background:#e9edf5;color:#172033;font-family:Roboto,system-ui,sans-serif;font-size:15px}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,summary,a,label{touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #5578e6;outline-offset:4px}::selection{background:#d5e2ff;color:#172033}input{caret-color:#2340b9}#app{max-width:560px;min-height:100dvh;margin:auto;background:#f7f9fc}header{height:82px;display:flex;align-items:center;gap:12px;padding:16px 24px;border-bottom:1px solid #edf0f6;position:sticky;top:0;z-index:10;background:#f7f9fc}header strong{font-size:22px;letter-spacing:-.035em}.header-actions{margin-left:auto;display:flex;gap:10px}.brand-icon{width:42px;height:42px;display:grid;place-items:center;background:#2340b9;color:#fff;border-radius:15px}.brand-icon svg{width:26px;height:26px}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle;stroke-width:1.8}.avatar,.large-avatar{border:0;border-radius:50%;background:#e2e8fb;color:#2340b9;font-weight:750;display:grid;place-items:center}.avatar{width:42px;height:42px}.large-avatar{width:100px;height:100px;font-size:42px;border:6px solid white;box-shadow:0 6px 20px #1720330a;margin:auto}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;background:#fff;border-radius:50%;color:#53637a;flex-shrink:0}.icon-button.pale{background:#edf1ff;color:#2340b9}main{padding:28px 24px 120px;min-height:calc(100dvh - 82px)}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.25;letter-spacing:-.035em;font-weight:800;text-wrap:balance}h2{font-size:20px;line-height:1.35;letter-spacing:-.025em;font-weight:750}h3{font-size:13px;line-height:1.5;color:#64748b;font-weight:700}p{line-height:1.65;color:#64748b;margin-top:8px}.subtitle{margin:10px 0 26px;font-size:15px}.card{background:#fff;border:0;border-radius:24px;padding:24px;margin-bottom:20px;box-shadow:0 6px 22px #23355404}.row{display:flex;align-items:center;gap:12px;justify-content:space-between}.grow{flex:1;min-width:0}.muted{color:#64748b}.accent{color:#2340b9}.danger{color:#b42332}.success-text{color:#08785b}.tile{width:48px;height:48px;background:#edf2ff;color:#2340b9;border-radius:15px;display:inline-grid;place-items:center;flex-shrink:0}.tile svg{width:26px;height:26px}.success{background:#ddf9ed!important;color:#08785b!important}.pill,.tag{display:inline-flex;align-items:center;gap:5px;background:#edf2ff;color:#3f5793;border-radius:30px;padding:5px 10px;font-size:11px;font-weight:650;line-height:1.4}.pill svg{width:14px;height:14px}.tag{border-radius:7px;color:#2340b9;max-width:100%;overflow-wrap:anywhere}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:0;border-radius:16px;padding:17px 20px;background:#2340b9;color:#fff;font-weight:700;min-height:54px}.primary:hover{background:#1933a2}.secondary{background:#edf2ff;color:#2340b9}.secondary:hover{background:#dce7ff}.compact{padding:12px 17px;min-height:44px}.full{width:100%}.text-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:none;border:0;color:#2340b9;padding:15px 4px;font-weight:650;min-height:44px}.greeting{margin:6px 0 28px}.greeting>.pill{float:right}.greeting h1{font-size:32px;padding-top:32px}.greeting p{font-size:15px}.level-card .row h2{font-size:18px}.level-card .row p{font-size:13px;margin:4px 0 0}.level-card .accent{text-align:right;font-size:12px;line-height:1.8}.level-card small{font-size:10px;color:#64748b}.meter{height:8px;background:#edf0fa;border-radius:12px;overflow:hidden;margin:22px 0 12px}.meter>span{height:100%;display:block;background:#2340b9;border-radius:12px;transition:opacity .2s ease-out}.row.muted,.row.muted .accent{font-size:11px}hr{border:0;border-top:1px solid #edf0f6;margin:22px 0}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-top:22px}.week-strip>div{text-align:center;color:#64748b;font-size:11px}.week-strip b{height:32px;width:32px;border-radius:50%;display:grid;place-items:center;margin:9px auto 0;background:#f2f4fa;border:2px solid transparent}.week-strip .done{background:#2340b9;color:#fff}.week-strip .current{border-color:#2340b9}.dot{width:7px;height:7px;background:#2340b9;border-radius:50%}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:34px 0 20px}.section-heading p{margin:4px 0 0;font-size:13px}.task{padding:23px}.task h2{margin:20px 0 16px;font-size:21px}.task .row>.muted{display:flex;gap:6px;align-items:center;font-size:12px}.task .row>.muted .accent{margin-left:6px}.task svg{width:16px;height:16px}.task .tag{max-width:75%;font-size:10px}.next-label{font-size:10px;color:#2340b9;margin-left:8px;font-weight:700}.empty{text-align:center;padding:34px 24px}.empty .tile{margin-bottom:24px}.empty h2{font-size:24px}.empty p{margin-bottom:25px}.empty .primary{width:100%}.empty small{display:block;color:#64748b;font-size:11px}.segmented{display:flex;background:#edf0f9;border-radius:13px;padding:4px;margin:24px 0}.segmented button{flex:1;min-height:40px;border:0;border-radius:10px;background:transparent;color:#64748b;font-size:12px;font-weight:700}.segmented .selected{background:#fff;color:#2340b9}.course-card h2{margin-top:18px;font-size:23px}.course-card p{font-size:13px}.progress-label{font-size:11px;color:#64748b;margin-top:22px}.progress-label strong{color:#334155}.course-card .meter{margin-top:10px}.callout{padding:13px 14px;background:#f1f3ff;border-radius:12px;color:#33477a;font-size:12px;line-height:1.6;margin:19px 0;display:flex;gap:8px;align-items:center}.add-course{background:#edf2ff;padding:28px;border-radius:24px;text-align:center;margin-top:28px}.add-course h2{margin-top:18px}.add-course p{margin-bottom:22px}.add-course button{width:100%}.course-overview h1{font-size:27px;margin-top:15px}.course-overview p{font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.stats-grid>div{background:#f2f4ff;border-radius:14px;padding:17px}.stats-grid span{display:block;font-size:11px;color:#64748b;margin-bottom:8px}.stats-grid strong{font-size:19px;letter-spacing:-.025em}.notice{font-size:12px;color:#425675;line-height:1.65;background:#eaf0fc;border-radius:14px;padding:16px;margin:18px 0}.notice.error{background:#fff0f0;color:#a62838}.important h2{margin-bottom:15px}details{margin-top:18px}summary{cursor:pointer;font-weight:700;font-size:14px;line-height:1.5;min-height:40px;align-content:center}details p{font-size:13px}.grade-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #edf0f6;font-size:13px}.source{background:#edf2ff;color:#2340b9;border:0;border-radius:5px;padding:5px 7px;margin-left:4px;font-size:10px;min-height:28px}.rule{padding:12px 0;border-bottom:1px solid #edf0f6}.rule strong{font-size:13px}.week-block{margin-bottom:26px}.week-block h3{font-size:18px;color:#172033;margin:0 0 13px}.topic-row{width:100%;border:0;text-align:left;background:#fff;padding:18px 15px;border-radius:14px;margin-bottom:10px;display:flex;gap:12px;align-items:center;color:#172033;font-size:13px;line-height:1.6}.topic-row:hover{background:#edf2ff}.topic-row small{display:block;font-size:10px;color:#64748b;margin-top:4px}.topic-row .muted{font-size:10px;white-space:nowrap}.topic-status{border:2px solid #dce4fb;color:#2340b9;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.topic-status svg{width:14px;height:14px}.topic-status.done{background:#08785b;border-color:#08785b;color:#fff}label{display:block;font-size:13px;font-weight:650;color:#334155;margin:18px 0}input:not([type=file]),select{display:block;width:100%;margin-top:9px;background:#f7f9fc;color:#172033;border:1px solid #dce4ee;border-radius:12px;padding:13px;min-height:48px}input[type=file]{max-width:100%}.dropzone{text-align:center;border:1px dashed #cbd7ed;border-radius:18px;background:#fbfcff;padding:28px 15px;cursor:pointer;position:relative;overflow:hidden}.dropzone strong,.dropzone>span{display:block;overflow-wrap:anywhere}.dropzone>span:last-of-type{font-size:11px;color:#64748b;margin-top:8px}.dropzone input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.dropzone:focus-within{outline:3px solid #5578e6;outline-offset:3px}.upload-icon{width:54px;height:54px;border-radius:50%;background:#fff;color:#2340b9;display:grid!important;place-items:center;margin:0 auto 18px;box-shadow:0 3px 12px #1720330a}.file-row{display:flex;align-items:center;gap:10px;padding:12px;background:#f7f9fc;border-radius:12px;font-size:12px;overflow-wrap:anywhere}.file-row small{display:block;color:#64748b;margin-top:4px}.small{font-size:11px}.footer-note{text-align:center;font-size:11px;margin-top:14px}.lesson-meta{flex-wrap:wrap;font-size:12px;margin-bottom:20px}.intro{font-size:16px;margin:18px 0 28px}.reading .tile{float:left;width:36px;height:36px;margin-right:12px}.reading .tile svg{width:20px;height:20px}.reading h2{font-size:18px;min-height:36px;align-content:center}.reading p{color:#334155;font-size:15px;line-height:1.85;margin-top:16px}.reading pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:15px;background:#f1f3ff;border-radius:12px;font-size:12px;color:#2340b9}.takeaways{margin:30px 0}.takeaways p{display:flex;gap:12px;color:#334155;font-size:14px}.takeaways svg{color:#08785b;margin-top:4px}.quiz-progress{display:flex;gap:7px;margin:22px 0}.quiz-progress span{height:6px;flex:1;background:#e4e8fa;border-radius:5px}.quiz-progress .filled{background:#2340b9}.question{padding:26px 24px}.question p{font-size:11px;margin:0 0 15px}.question h1{font-size:24px;line-height:1.5}.options{margin:28px 0}.option{display:flex;align-items:center;gap:13px;background:#fff;border:2px solid transparent;border-radius:20px;padding:20px;width:100%;margin-bottom:14px;text-align:left;color:#172033;font-size:15px;min-height:85px}.option.selected{background:#dce7ff;border-color:#2340b9}.option-letter{width:32px;height:32px;display:grid;place-items:center;background:#edf0ff;color:#425675;border-radius:50%;flex-shrink:0;font-size:13px}.selected .option-letter{background:#2340b9;color:#fff}.radio{width:19px;height:19px;border:2px solid #dce4ee;border-radius:50%;margin-left:auto;flex-shrink:0}.radio.checked{border:5px solid #2340b9;background:#fff}.hint{background:#f0f2ff;border-radius:16px;padding:12px 18px;margin:24px 0}.hint summary{list-style:none;display:flex;gap:10px;color:#334155}.result-hero{text-align:center;margin:10px 0 30px}.reward-icon{display:grid;place-items:center;background:#edf0ff;width:112px;height:112px;border:9px solid white;box-shadow:0 14px 20px #1720330e;border-radius:50%;margin:0 auto 26px;color:#2340b9}.reward-icon svg{width:49px;height:49px}.result-hero h1{font-size:31px;margin-top:18px}.result-hero p{font-size:15px;margin-top:16px}.xp-reward{font-size:44px;color:#2340b9}.xp-reward small{font-size:15px}.answer-review{border-top:1px solid #edf0f6;padding:20px 0;font-size:13px}.answer-review p{font-size:12px}.profile-hero{text-align:center;padding:8px 0 30px}.profile-hero h1{margin:20px 0 12px}.badge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}.badge-grid .card{margin:0;padding:22px}.metric{display:flex;flex-direction:column;gap:15px}.metric strong{font-size:32px;line-height:1}.metric>span:last-child{font-size:12px;color:#64748b}.metric .tile{width:40px;height:40px;border-radius:12px}.metric .tile svg{width:22px;height:22px}.badge h2{font-size:18px;margin:20px 0 10px}.badge p{font-size:12px;min-height:60px;margin-bottom:14px}.badge:not(.earned){background:#f0f3fa}.activity-chart{height:160px;display:flex;gap:13px;justify-content:space-between;margin-top:24px}.activity-chart>div{flex:1;display:flex;flex-direction:column;align-items:center;font-size:10px;color:#64748b}.chart-track{height:105px;width:20px;display:flex;align-items:flex-end;margin:8px 0}.chart-track span{width:100%;background:#dce4ff;border-radius:9px;min-height:3px}.chart-track .today{background:#2340b9}.chart-value{color:#2340b9;font-variant-numeric:tabular-nums}.menu-row{width:100%;display:flex;align-items:center;text-align:left;gap:15px;color:#172033;font-weight:650;font-size:14px}.menu-row>svg:first-child{color:#2340b9}.empty-note{text-align:center;padding:22px}nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:560px;background:#fff;display:flex;justify-content:space-around;border-top:1px solid #edf0f6;padding:10px 8px max(12px,env(safe-area-inset-bottom));z-index:20}.nav-item{display:flex;flex-direction:column;align-items:center;gap:5px;border:0;background:none;color:#71839e;min-height:54px;min-width:64px;font-size:11px;padding:4px 6px;position:relative}.nav-item svg{height:24px;width:24px}.nav-item.active{color:#2340b9;font-weight:750}.nav-item.active:after{content:"";width:4px;height:4px;background:#2340b9;border-radius:50%;position:absolute;bottom:0}#toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%) translateY(12px);max-width:480px;width:calc(100% - 36px);padding:16px 20px;border-radius:16px;background:#172033;color:#fff;font-size:13px;line-height:1.6;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:370px){main{padding-left:18px;padding-right:18px}.card{padding:20px}.greeting h1{font-size:29px}.task .row>.muted{font-size:10px}.task .compact{padding:12px}header{padding-left:18px;padding-right:18px}.badge-grid{gap:12px}.badge-grid .card{padding:18px}.level-card .row{gap:8px}.level-card .row h2{font-size:15px}.level-card .tile{width:38px;height:38px}.level-card .tag{font-size:9px}.level-card .accent{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{background:#cad4ea;border-radius:5px}.badge h2{overflow-wrap:anywhere}.badge-grid>.card{min-width:0}main{overflow-wrap:anywhere}header strong{min-width:0;font-size:20px}.header-actions{flex-shrink:0}input:not([type=file]),select{font-size:16px}.icon-button{position:relative}.notification-dot{position:absolute;top:9px;right:10px;width:6px;height:6px;border-radius:50%;background:#2340b9}.how-it-works{margin:28px 0}.how-it-works h2{margin-bottom:14px}.how-it-works ol,.analysis-preview ol,.lesson-outline ol{padding-left:23px;margin:12px 0;color:#64748b;line-height:1.8;font-size:14px}.how-it-works li,.analysis-preview li{margin:12px 0;padding-left:3px}.how-it-works strong{color:#334155}.deadline-summary .row{gap:8px}.deadline-summary h2{font-size:19px}.deadline-summary .text-button{font-size:12px}.deadline-row{display:flex;gap:12px;align-items:center;padding:17px 0;border-top:1px solid #edf0f6}.deadline-row strong{display:block;font-size:14px;line-height:1.5}.deadline-row small,.deadline-row .grow>span{display:block;font-size:12px;line-height:1.6;margin-top:5px;color:#64748b}.deadline-row .grow>span.accent{color:#2340b9}.deadline-row .tile{width:36px;height:36px;border-radius:12px}.deadline-row .tile svg{width:21px;height:21px}.deadline-row .icon-button{width:40px;height:40px}.deadline-row.is-done .grow>strong{text-decoration:line-through;text-decoration-thickness:1px;color:#64748b}.course-link{display:flex;gap:8px;justify-content:space-between;align-items:center;text-align:left;width:100%;background:none;border:0;color:#2340b9;font-weight:700;padding:4px 0 16px;font-size:12px;line-height:1.6}.course-card>.row:last-child{margin-top:20px;align-items:flex-start;flex-wrap:wrap}.course-card .pill{max-width:100%}.search-field{margin:24px 0 0}.search-field input{background:#fff}.task .task-note{font-size:13px;margin:-4px 0 16px}.task .row{flex-wrap:wrap;gap:15px}.task .compact{margin-left:auto}.level-card .row.muted{flex-wrap:wrap;font-size:12px;gap:8px}.level-card .row.muted .accent{font-size:12px}.level-card .row>h3{font-size:12px}.level-card .row>.muted{font-size:12px;text-align:right}.pace-note p{font-size:13px}.pace-note .text-button{padding-bottom:0}.week-block>.row{margin-bottom:12px}.week-block>.row h3{margin:0}.topic-row{font-size:14px}.topic-row small{font-size:12px;line-height:1.6}.topic-row .muted{font-size:11px}.course-overview .stats-grid strong{font-size:17px}.course-overview .primary{margin-top:16px}.course-overview .stats-grid div{min-width:0}.loading-panel{text-align:center;padding:32px 24px}.loading-panel>.tile{margin-bottom:20px}.loading-panel>svg{width:30px;height:30px;color:#2340b9;margin:0 auto 20px}.loading-panel p{margin-bottom:20px}.analysis-preview h2{margin:18px 0}.study-steps{display:flex;gap:16px;margin:4px 0 22px;font-size:12px;color:#64748b}.study-steps .active{color:#2340b9;font-weight:700}.lesson-outline{margin:22px 0 28px;padding:14px 18px;background:#edf2ff;border-radius:16px}.lesson-outline a{color:#2340b9;text-decoration-thickness:1px;text-underline-offset:4px;display:inline-block;padding:6px 0}.lesson-outline a:focus-visible{outline:3px solid #5578e6;outline-offset:3px;border-radius:3px}.reading{scroll-margin-top:105px}.quiz-intro h2{margin-bottom:12px}.quiz-intro .primary{margin-top:22px}.quiz-meta{font-size:12px;flex-wrap:wrap}.hint summary{flex-wrap:wrap}.hint summary>.small{margin-left:auto;color:#64748b;font-size:12px}.quiz-actions{display:flex;gap:12px;align-items:stretch}.quiz-actions .primary{flex:1;min-width:0;font-size:14px;padding-left:14px;padding-right:14px}.quiz-actions .secondary{font-size:13px;padding:14px 12px}.result-hero~.secondary.full{margin-top:14px}.answer-review>strong{display:block;line-height:1.6}.answer-review svg{width:16px;height:16px;margin-right:3px}.badge small{display:block;margin-top:12px;font-size:11px;color:#64748b}.badge p{min-height:0}.badge .pill{font-size:11px}.profile-hero [data-save-status]{font-size:12px;margin-top:14px}.profile-hero{padding-bottom:24px}.metric{min-width:0}.metric>span:last-child{font-size:13px}.activity-chart{gap:8px}.chart-value{font-size:11px}.auth-benefits{text-align:left;padding:10px 0 18px}.auth-card>h1{margin-top:18px}.auth-card>.segmented{margin:24px 0}.auth-card form{margin-top:24px}.auth-card .notice{margin-top:18px}.auth-benefits p{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:12px 0}.auth-benefits svg{color:#08785b;margin-top:2px}.auth-benefits~.small{margin-top:18px}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}label:focus-within .visually-hidden{outline:0}label.text-button:focus-within{outline:3px solid #5578e6;outline-offset:3px;border-radius:10px}.important details+.text-button{margin-top:14px}.important .small,.small,.footer-note{font-size:12px}.empty .how-it-works{text-align:left}@media(max-width:370px){.task h2{font-size:20px}.greeting>.pill{font-size:11px}header strong{font-size:18px}.header-actions{gap:6px}.level-card .row>.muted{font-size:11px}.stats-grid{gap:8px}.stats-grid>div{padding:14px}.course-overview .stats-grid strong{font-size:16px}.question h1{font-size:22px}.option{padding:18px 14px;gap:10px}.quiz-actions .primary{font-size:13px;gap:7px}.deadline-row{gap:8px}.deadline-row .tile{width:30px;height:30px}}
