:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans KR',sans-serif;font-synthesis:none;color-scheme:light;--bg:#fafafa;--panel:#fff;--text:#191a1d;--muted:#717178;--line:#e8e8eb;--accent:#7564ce;--accent-soft:#f1eefb;--soft:#f4f4f5;--positive:#397961;--positive-soft:#eaf4ef;--negative:#a75739;--negative-soft:#fbefe8;--nav:#fff;--radius:14px;background:var(--bg);color:var(--text)}
:root[data-theme=dark]{color-scheme:dark;--bg:#151517;--panel:#1c1c1f;--text:#f0f0f2;--muted:#a0a0a8;--line:#323237;--accent:#b6a5ff;--accent-soft:#2c263e;--soft:#242427;--positive:#9fd1b9;--positive-soft:#20332c;--negative:#efb297;--negative-soft:#382a24;--nav:#19191c}
*{box-sizing:border-box}html{min-width:280px;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6;overflow-wrap:break-word}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.45}button,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{border:0}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;flex-shrink:0;display:inline-block;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:650;letter-spacing:-.055em;line-height:1.35}p{line-height:1.8}button svg{pointer-events:none}strong,b{font-weight:650}small{font-size:12px}::selection{background:var(--accent-soft);color:var(--text)}
.boot{margin:30vh auto;text-align:center;font-size:26px;letter-spacing:-.05em}.boot strong{color:var(--accent)}.boot p{margin-top:12px;color:var(--muted);font-size:14px;letter-spacing:0}
.app{min-height:100dvh}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1280px)/2));gap:24px;background:var(--nav);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;background:none;padding:0;flex:0 0 188px}.brand-logo{display:block;width:188px;height:auto;object-fit:contain;object-position:left center}.desktop-nav{display:flex;align-items:center;gap:12px}.nav-item{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 18px;border-radius:9px;background:transparent;color:var(--muted);font-size:14px;font-weight:550;white-space:nowrap}.nav-item svg{width:18px;height:18px}.nav-item.current{background:var(--soft);color:var(--text);font-weight:650}.head-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:188px}.local-state{font-size:11px;color:var(--muted);white-space:nowrap;display:flex;align-items:center;gap:7px}.status-dot{width:5px;height:5px;background:#7a9b7c;border-radius:50%;display:inline-block}.status-dot.error{background:#c96d4c}.icon-btn{width:44px;height:44px;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:transparent;color:var(--muted);padding:0;flex-shrink:0}.icon-btn svg{width:21px;height:21px}.main-content{max-width:1152px;padding:54px 32px 24px;margin:0 auto;min-width:0}#main:focus{outline:none}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:34px}.eyebrow{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.08em;display:block;margin-bottom:12px}.page-intro h1{font-size:34px;margin-bottom:10px;line-height:1.35}.page-intro p{font-size:14px;color:var(--muted)}.page-intro>.primary,.page-intro>.secondary{flex-shrink:0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;border-radius:8px;padding:11px 19px;font-size:13px;font-weight:600;line-height:1.6;border:1px solid transparent;background:var(--text);color:var(--panel);white-space:normal;text-align:center}.secondary{color:var(--text);background:var(--panel);border-color:var(--line)}.primary svg,.secondary svg{width:17px;height:17px}.full{width:100%}.small{min-height:44px;padding-inline:15px}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.centered{justify-content:center}.text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:3px 0;background:none;font-size:12px;font-weight:550;color:var(--text)}.text-link svg{width:15px;height:15px}.muted{color:var(--muted)}.caption{font-size:11px;color:var(--muted);line-height:1.8}.tag{display:inline-flex;align-items:center;font-size:10px;font-weight:600;color:var(--accent);background:var(--accent-soft);padding:5px 10px;border-radius:5px;letter-spacing:.02em}.tag.neutral{background:var(--soft);color:var(--muted)}.section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;min-height:30px}.section-header h2{font-size:17px}.section-header>span{font-size:11px;color:var(--muted)}.section-header .text-link{min-height:30px}.section-header>*{min-width:0}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:28px;min-width:0}.live-label{display:inline-flex;align-items:center;gap:5px;letter-spacing:.04em;font-size:9px!important}.live-label svg{width:12px;height:12px;color:var(--accent)}.count{font-size:13px;font-weight:500;color:var(--muted);margin-left:6px}
.welcome{display:grid;grid-template-columns:1.2fr 1fr;background:var(--panel);border:1px solid var(--line);border-radius:16px;margin-bottom:40px;overflow:hidden;min-height:350px}.welcome-content{padding:40px}.welcome-content h2{font-size:31px;line-height:1.5;margin:17px 0 14px;letter-spacing:-.06em}.welcome-content>p{font-size:13px;color:var(--muted);margin-bottom:26px;line-height:1.9}.welcome-content>.caption{display:block;margin-top:17px}.learning-art{position:relative;min-height:320px;overflow:hidden;background:radial-gradient(ellipse at 45% 60%,var(--accent-soft),transparent 72%)}.art-orbit{position:absolute;left:50%;top:50%;width:360px;height:360px;border:1px solid var(--line);border-radius:50%;transform:translate(-50%,-50%)}.orbit-b{width:250px;height:250px}.art-card{position:absolute;width:248px;max-width:80%;height:168px;left:50%;top:50%;border:1px solid var(--line);border-radius:13px;padding:22px;background:var(--panel)}.card-back{transform:translate(-47%,-64%) rotate(-12deg);color:var(--muted);box-shadow:0 14px 38px #00000005}.card-back>span{font-size:30px}.card-back i{display:block;width:40%;height:4px;margin:9px 0;background:var(--line);border-radius:5px}.card-back i:last-child{width:64%}.card-front{transform:translate(-45%,-28%) rotate(4deg);box-shadow:0 20px 40px #00000009}.art-label{font-size:9px;color:var(--muted);letter-spacing:.06em}.card-front strong{display:flex;gap:14px;align-items:center;font-size:24px;margin:10px 0 16px;letter-spacing:-.07em}.card-front strong svg{color:var(--accent);width:23px}.art-progress{display:block;height:4px;background:var(--soft);border-radius:4px}.art-progress i{display:block;width:65%;height:4px;background:var(--accent);border-radius:4px}.art-bottom{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:14px}.art-bottom svg{width:13px;height:13px;color:var(--accent)}.art-check{position:absolute;top:26%;right:15%;width:40px;height:40px;display:grid;place-items:center;background:var(--text);color:var(--panel);border:5px solid var(--panel);border-radius:50%;transform:rotate(8deg)}.art-check svg{width:19px;height:19px}.subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.subject-tile{position:relative;display:flex;align-items:flex-start;flex-direction:column;padding:20px;border:1px solid var(--line);border-radius:11px;background:var(--panel);text-align:left;gap:7px;min-width:0}.subject-icon{display:grid;place-items:center;width:34px;height:34px;font-size:14px;font-weight:600;border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--text);flex-shrink:0;letter-spacing:-.04em}.subject-icon svg{width:17px;height:17px}.subject-tile .subject-icon{margin-bottom:7px}.subject-tile>b{font-size:13px}.subject-tile>small{font-size:10px;color:var(--muted);line-height:1.6}.subject-tile>svg{position:absolute;right:17px;top:26px;width:14px;height:14px;color:var(--muted)}.getting-started{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:40px 0 12px;border-top:1px solid var(--line);padding-top:28px}.getting-started>div{display:flex;gap:16px}.getting-started>div>b{font-size:11px;color:var(--accent);padding-top:3px}.getting-started strong{display:block;font-size:12px;margin-bottom:4px}.getting-started p span{display:block;font-size:11px;color:var(--muted)}
.today-layout{display:grid;grid-template-columns:1.9fr 1fr;gap:22px;margin-bottom:40px}.next-area{min-width:0}.next-area>.section-header{margin-bottom:14px}.focus-card{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);min-height:238px;padding:28px 30px;overflow:hidden}.focus-content{max-width:86%;position:relative;z-index:1}.focus-card h2{font-size:25px;margin:15px 0 10px;overflow-wrap:anywhere}.focus-card p{font-size:12px;color:var(--muted);margin:0 0 21px;max-width:460px}.focus-watermark{position:absolute;right:22px;bottom:-10px;font-size:120px;line-height:1;font-weight:600;color:var(--soft);letter-spacing:-.08em;pointer-events:none}.focus-card>.primary{margin-top:0}.done-card h2{font-size:23px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px}.metrics>div{padding-left:24px;border-left:1px solid var(--line)}.metrics>div:first-child{padding-left:0;border:0}.metrics span{font-size:11px;color:var(--muted);display:block;margin-bottom:7px}.metrics strong{font-size:26px;letter-spacing:-.05em;line-height:1.2}.metrics strong small{font-size:12px;color:var(--muted);margin-left:5px;font-weight:400}.week-panel{margin-top:44px;display:flex;flex-direction:column;padding:23px 24px}.week-panel .section-header h2{font-size:14px}.week-panel .section-header span{font-size:10px}.week-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:5px;flex:1;min-height:148px}.week-day{display:flex;flex-direction:column;align-items:center;min-width:0;gap:8px;font-size:10px;color:var(--muted);justify-content:flex-end}.bar-value{font-size:9px}.bar-slot{height:84px;display:flex;flex-direction:column;justify-content:flex-end;width:100%;max-width:21px}.bar{display:block;background:var(--line);border-radius:4px 4px 2px 2px;min-height:2px}.is-today .bar{background:var(--accent)}.is-today>span:last-child{color:var(--accent);font-weight:650}.week-panel>.caption{font-size:9px;margin-top:18px;line-height:1.8}.goal-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mini-goal{display:flex;flex-direction:column;text-align:left;align-items:flex-start;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:23px;color:var(--text);min-width:0}.mini-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-bottom:14px}.mini-goal>b{font-size:15px;margin-bottom:5px;overflow-wrap:anywhere}.mini-progress{height:4px;border-radius:9px;background:var(--soft);width:100%;overflow:hidden;margin-top:22px}.mini-progress i{display:block;height:100%;background:var(--accent);border-radius:9px}.mini-footer{display:flex;justify-content:space-between;width:100%;margin-top:10px;color:var(--muted);font-size:10px;gap:16px}.mini-footer b{font-weight:500;color:var(--text)}.recent-section{margin-top:40px}.record-list{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:0 22px}.record-row,.material-record{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line);min-width:0}.record-row:last-child,.material-record:last-child{border:0}.record-row>div,.material-record>div{min-width:0;flex:1}.record-row b,.material-record b{display:block;font-size:12px;overflow-wrap:anywhere}.record-row small,.material-record small{display:block;font-size:10px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}.record-row time,.material-record time{font-size:11px;text-align:right;color:var(--muted);flex-shrink:0}.result-icon{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--negative);background:var(--negative-soft)}.result-icon svg{width:17px;height:17px}.result-icon.success{background:var(--positive-soft);color:var(--positive)}.empty-inline{border-top:1px solid var(--line);padding:30px 10px;text-align:center;color:var(--muted);font-size:12px}
.toolbar{display:flex;justify-content:flex-start;margin-bottom:24px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:550;min-width:0}.field>span{font-size:11px;color:var(--muted)}.field input,.field textarea,.field select{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;min-height:46px;padding:11px 13px;background:var(--panel);color:var(--text);font-size:16px;font-weight:400;line-height:1.6}.field textarea{resize:vertical;min-height:88px}.field select{text-overflow:ellipsis;padding-right:30px}.goal-selector{max-width:420px;width:100%}.learn-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin-bottom:24px}.practice-panel{padding:32px}.panel-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:15px}.subject-icon.large{width:45px;height:45px;font-size:18px;border-radius:12px}.practice-panel h2{font-size:28px;line-height:1.5;margin-bottom:14px}.practice-panel>p{font-size:12px;color:var(--muted);max-width:390px}.practice-stats{display:flex;gap:24px;margin:27px 0 25px;flex-wrap:wrap}.practice-stats b{display:block;font-size:24px;letter-spacing:-.05em}.practice-stats span{font-size:10px;color:var(--muted)}.practice-panel>.text-link{margin-top:14px;font-size:11px}.roadmap .section-header h2{font-size:15px}.stage-list{list-style:none;margin:26px 0;padding:0}.stage-list li{display:flex;align-items:flex-start;gap:15px;position:relative;padding-bottom:24px}.stage-list li:last-child{padding-bottom:0}.stage-list li:not(:last-child)::after{content:'';position:absolute;left:14px;top:29px;bottom:0;width:1px;background:var(--line)}.stage-list li>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--soft);color:var(--muted);font-size:9px;flex-shrink:0}.stage-list li.complete>span{background:var(--positive-soft);color:var(--positive)}.stage-list li>span svg{width:14px;height:14px}.stage-list li b{display:block;font-size:12px;line-height:1.6}.stage-list li small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.roadmap>.caption{border-top:1px solid var(--line);padding-top:18px}.word-panel .section-header{margin-bottom:13px}.search-field{display:flex;gap:10px;align-items:center;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:7px;max-width:360px;margin-bottom:13px;color:var(--muted)}.search-field svg{width:16px;height:16px}.search-field input{width:100%;border:0;background:transparent;color:var(--text);min-width:0;padding:9px 0;font-size:16px}.word-list{max-height:426px;overflow-y:auto;scrollbar-width:thin}.word{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 3px;border-bottom:1px solid var(--line)}.word:last-child{border:0}.word>div{min-width:0}.word b{font-size:13px;display:block;overflow-wrap:anywhere}.word small{font-size:11px;color:var(--muted);display:block;overflow-wrap:anywhere}.word-status{font-size:10px;color:var(--muted);text-align:right;flex-shrink:0}.word-status small{font-size:9px;margin-top:3px}.add-details{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.add-details summary,.paste-details summary{min-height:44px;display:flex;justify-content:space-between;align-items:center;font-size:12px;cursor:pointer;gap:12px}.add-details summary svg{width:16px;height:16px}.inline-form{display:flex;align-items:flex-end;gap:12px;margin-top:14px}.inline-form>.field{flex:1}.inline-form>button{min-height:47px;flex-shrink:0}
.material-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:34px;margin-bottom:40px}.upload-panel{text-align:center;border-style:dashed;padding:38px 30px}.empty-icon{width:50px;height:50px;display:inline-grid;place-items:center;background:var(--soft);border:1px solid var(--line);border-radius:14px;margin-bottom:18px;color:var(--muted)}.empty-icon svg{width:23px;height:23px}.upload-panel h2{font-size:22px;margin-bottom:12px}.upload-panel>p{font-size:12px;color:var(--muted)}.upload-panel .goal-selector{text-align:left;margin:24px auto 20px;max-width:360px}.upload-panel>.caption{font-size:10px;margin-top:20px}.upload-button{position:relative;overflow:hidden;cursor:pointer}.upload-button input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-button:focus-within{outline:2px solid var(--accent);outline-offset:4px}.paste-details{text-align:left;margin-top:25px;border-top:1px solid var(--line);padding-top:9px}.paste-details form{margin-top:12px}.paste-details button{margin-top:15px}.material-help{padding-top:28px;min-width:0}.material-help h3{font-size:16px}.material-help ol{padding-left:20px;font-size:12px;color:var(--muted);line-height:2.2;margin:19px 0}.sample-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;background:var(--soft);border:1px solid var(--line);padding:16px;border-radius:7px;line-height:2;overflow-wrap:anywhere}.material-help p{font-size:11px;color:var(--muted);margin-top:17px}.material-help .caption{border-top:1px solid var(--line);padding-top:18px}.material-record>time{font-size:10px}.material-record .subject-icon{background:var(--soft)}
.segmented{display:inline-flex;background:var(--soft);padding:4px;border-radius:9px;gap:4px}.segmented button{background:transparent;color:var(--muted);padding:7px 14px;border-radius:6px;font-size:11px;min-height:36px;white-space:nowrap}.segmented button.selected{background:var(--panel);color:var(--text);box-shadow:0 1px 3px #00000008}.goals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.goal-card{padding:26px;border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);min-width:0}.goal-card>.caption{font-size:10px}.goal-card h2{font-size:19px;line-height:1.6;margin:5px 0 8px;overflow-wrap:anywhere}.goal-progress-heading{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-top:26px}.goal-progress-heading>b{font-size:25px;letter-spacing:-.05em}.goal-progress-heading>span{font-size:10px;color:var(--muted)}.goal-card .mini-progress{margin-top:8px}.goal-facts{display:flex;gap:24px;margin:18px 0 14px}.goal-facts span{font-size:10px;color:var(--muted)}.goal-facts b{font-size:13px;color:var(--text);margin-right:3px}.goal-actions{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);margin-top:20px;padding-top:8px}.goal-actions>div{display:flex;gap:18px}.forecast{margin-top:14px}.forecast summary{font-size:11px;min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--muted)}.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.scenario-grid>div{display:flex;flex-direction:column;gap:5px;padding:10px;background:var(--soft);border-radius:7px;min-width:0}.scenario-grid small,.scenario-grid span{font-size:9px;color:var(--muted);overflow-wrap:anywhere}.scenario-grid b{font-size:17px}.empty-state{padding:58px 20px;text-align:center;border:1px dashed var(--line);border-radius:var(--radius);background:var(--panel)}.empty-state h2{font-size:23px;margin-bottom:10px}.empty-state p{font-size:13px;color:var(--muted);margin-bottom:24px}.data-tools{margin-top:32px;padding:0 25px}.data-tools>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:23px 0;min-height:88px}.data-tools summary b{display:block;font-size:13px}.data-tools summary span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.data-tools summary svg{width:18px;height:18px;color:var(--muted)}.settings-content{border-top:1px solid var(--line);padding:24px 0}.settings-content h3{font-size:14px;margin:0 0 10px}.settings-content p{font-size:12px;color:var(--muted);margin-bottom:18px;max-width:690px}.settings-content .caption{font-size:11px;margin-top:12px}.settings-content h3:not(:first-child){margin-top:28px}
/* Focused learning mode keeps the next action and keyboard within reach. */
.in-session .desktop-nav,.in-session .bottom-nav{visibility:hidden}.review-wrap{max-width:710px;margin:0 auto}.review-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:15px}.review-top>span{font-size:11px;color:var(--muted)}.review-top b{color:var(--text);margin-left:14px;font-weight:500}.progress-track{height:4px;background:var(--line);border-radius:5px;overflow:hidden;margin-bottom:24px}.progress-track>div{height:100%;background:var(--accent);border-radius:5px;transition:width .2s ease}.review-card{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:35px 42px 34px;text-align:center}.question-label{font-size:13px;color:var(--muted);margin:34px 0 15px}.review-question{display:flex;align-items:center;justify-content:center;gap:12px}.review-card h1{font-size:58px;line-height:1.4;overflow-wrap:anywhere;min-width:0;letter-spacing:-.055em}.review-card h1.long-question{font-size:27px;line-height:1.7}.review-example{font-size:12px;color:var(--muted);margin:12px 0 0}.review-card form{text-align:left;margin-top:36px}.review-card input{min-height:54px}.review-buttons{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:19px}.review-buttons .button-row{justify-content:flex-end}.review-buttons .primary,.review-buttons .secondary{font-size:12px;gap:8px;padding-inline:14px}.hint{background:var(--accent-soft);color:var(--accent);padding:12px 14px;border-radius:7px;margin-top:14px;font-size:13px}.hint small{display:block;font-size:10px;margin-top:4px;color:var(--muted)}.feedback{display:flex;align-items:flex-start;gap:15px;text-align:left;background:var(--positive-soft);border:1px solid var(--line);border-radius:10px;padding:20px;margin:30px 0 16px}.feedback.incorrect{background:var(--negative-soft)}.feedback b{font-size:14px}.feedback p{font-size:12px;margin-top:8px;overflow-wrap:anywhere}.feedback strong{display:block;font-size:18px;color:var(--text);margin:2px 0}.feedback small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.explanation{text-align:left;padding:14px 4px;margin-bottom:12px}.explanation>span{font-size:10px;color:var(--muted)}.explanation p{font-size:13px;margin-top:5px;overflow-wrap:anywhere}.review-card>.caption{font-size:10px;margin-bottom:24px}.review-help{text-align:center;color:var(--muted);font-size:11px;margin-top:22px}.session-summary{padding:35px 10px 70px;text-align:center;max-width:620px;margin:0 auto}.summary-check{display:grid;place-items:center;width:65px;height:65px;border-radius:50%;background:var(--positive-soft);color:var(--positive);margin:0 auto 26px}.summary-check svg{width:28px;height:28px}.session-summary h1{font-size:36px;margin:14px 0}.session-summary>p{font-size:13px;color:var(--muted)}.summary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:30px 0;margin:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.summary-metrics b{display:block;font-size:34px;letter-spacing:-.05em}.summary-metrics span{display:block;font-size:11px;color:var(--muted);margin-top:5px}.session-summary>.caption{font-size:11px}.session-summary>.primary{margin-top:26px}
/* Dialogs use native focus management, Escape, and an inert background. */
dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:26px 32px 32px;width:calc(100% - 36px);max-width:500px;max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 30px 100px #00000021;overscroll-behavior:contain}dialog::backdrop{background:#00000050;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:-6px -9px 6px 0}.dialog-head .eyebrow{margin:0;color:var(--accent)}dialog h2{font-size:23px;margin-bottom:10px;line-height:1.5}.dialog-description{font-size:12px;color:var(--muted);margin-bottom:24px}dialog form>.field{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:8px 0 14px}.input-unit{display:flex;align-items:center;position:relative}.input-unit input{padding-right:48px}.input-unit>span{position:absolute;right:12px;color:var(--muted);font-size:11px;pointer-events:none}.goal-options{padding:10px 0;border-top:1px solid var(--line)}.goal-options summary{font-size:11px;color:var(--muted);cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:14px}.goal-options>.field{margin:10px 0}.setup-note{margin:14px 0 20px;font-size:10px}.form-error{padding:10px 12px;border:1px solid var(--negative);border-radius:7px;color:var(--negative);background:var(--negative-soft);font-size:12px;line-height:1.7;margin:0 0 15px}.import-preview{margin:20px 0;max-height:270px;overflow:auto}.import-preview>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.import-preview b,.import-preview span{overflow-wrap:anywhere;min-width:0}.import-preview span{color:var(--muted);text-align:right}.import-preview~.full{margin-top:22px}.toast{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);background:var(--accent-soft);color:var(--text);padding:8px 12px 8px 18px;border-radius:9px;margin-bottom:26px;font-size:12px;line-height:1.7}.toast.error{background:var(--negative-soft)}.toast>.icon-btn{width:36px;height:44px;min-width:36px}.toast svg{width:16px;height:16px}.page-footer{margin-top:52px;padding-top:24px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;gap:20px}.page-footer>span:first-child{font-size:11px;font-weight:650;letter-spacing:-.02em}.page-footer b{font-size:9px;letter-spacing:.05em;font-weight:500;margin-left:4px}.bottom-nav{display:none}.skip-link{position:fixed;left:15px;top:-80px;z-index:100;padding:12px 20px;border:2px solid var(--accent);border-radius:8px;background:var(--panel);color:var(--text)}.skip-link:focus{top:10px}
@media(hover:hover){.primary:hover{opacity:.86}.secondary:hover,.icon-btn:hover{background:var(--soft)}.nav-item:hover{background:var(--soft);color:var(--text)}.subject-tile:hover,.mini-goal:hover{border-color:var(--accent);transform:translateY(-2px)}.text-link:hover{color:var(--accent)}}
.subject-tile,.mini-goal{transition:transform .18s ease,border-color .18s ease}.primary,.secondary,.icon-btn{transition:background .15s ease,opacity .15s ease}
@media(max-width:1100px){.topbar{padding-inline:28px;gap:20px}.desktop-nav{gap:4px}.nav-item{padding-inline:14px}.brand{flex-basis:168px}.brand-logo{width:168px}.head-actions{min-width:168px;gap:11px}.main-content{padding-top:42px}.welcome-content{padding:32px}.welcome-content h2{font-size:27px}.welcome .button-row{gap:8px}.welcome .primary,.welcome .secondary{font-size:12px;padding-inline:15px}.today-layout{grid-template-columns:1.7fr 1fr}.week-panel{padding-inline:20px}.goal-progress-heading{flex-wrap:wrap;gap:4px 16px}}
@media(max-width:820px){.topbar{height:66px;padding:0 22px}.desktop-nav{display:none}.brand{flex-basis:165px}.brand-logo{width:165px}.head-actions{min-width:0}.local-state{font-size:10px}.main-content{padding:32px 24px calc(100px + env(safe-area-inset-bottom));max-width:750px}.page-intro{margin-bottom:26px;gap:18px}.page-intro h1{font-size:29px}.page-intro p{font-size:12px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(70px + env(safe-area-inset-bottom));background:var(--nav);border-top:1px solid var(--line);padding:7px 12px calc(7px + env(safe-area-inset-bottom));z-index:25;justify-content:space-around}.bottom-item{display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:54px;min-height:48px;gap:4px;flex:1;background:none;color:var(--muted);font-size:10px}.bottom-item svg{width:21px;height:21px}.bottom-item.current{color:var(--text);font-weight:650}.bottom-item.current svg{stroke-width:2}.welcome{grid-template-columns:1.25fr 1fr;min-height:330px}.learning-art{min-height:320px}.art-card{width:215px;height:157px;padding:20px}.card-front strong{font-size:20px}.art-bottom{font-size:8px}.art-orbit{width:285px;height:285px}.orbit-b{width:205px;height:205px}.welcome-content{padding:30px 24px}.welcome-content h2{font-size:25px}.subject-grid{gap:10px}.subject-tile{padding:17px 14px}.subject-tile>svg{right:12px;top:25px}.subject-tile>b{font-size:12px}.subject-tile small{font-size:9px}.getting-started{gap:18px}.getting-started>div{gap:10px}.getting-started p span{font-size:10px}.today-layout{gap:18px;grid-template-columns:1.6fr 1fr}.focus-card{padding:24px;min-height:230px}.focus-card h2{font-size:23px}.focus-content{max-width:100%}.week-panel{padding:20px 17px}.week-bars{gap:7px}.week-panel .section-header{flex-wrap:wrap;gap:5px}.week-panel .section-header h2{font-size:13px}.week-panel>.caption{font-size:9px}.learn-grid{grid-template-columns:1.2fr 1fr;gap:16px}.panel{padding:24px}.practice-panel h2{font-size:24px}.practice-stats{gap:18px}.practice-panel .button-row>button{flex:1}.roadmap{padding:24px 20px}.stage-list li{gap:12px}.material-layout{gap:24px;grid-template-columns:1.4fr 1fr}.upload-panel{padding:32px 24px}.upload-panel h2{font-size:20px}.goals-grid{gap:14px}.goal-card{padding:22px}.goal-facts{gap:18px}.goal-actions{gap:10px}.goal-actions>div{gap:14px}.goal-card h2{font-size:17px}.review-wrap{margin-top:4px}.review-card{padding:32px}.page-footer{margin-top:36px}}
@media(max-width:600px){.topbar{padding:0 17px}.brand,.brand-logo{width:151px;flex-basis:151px}.head-actions{gap:6px}.head-actions .icon-btn{width:40px;min-width:40px}.local-state{font-size:9px;gap:5px}.status-dot{width:4px;height:4px}.main-content{padding:29px 19px calc(108px + env(safe-area-inset-bottom))}.page-intro{align-items:flex-start;flex-wrap:wrap;gap:17px;margin-bottom:25px}.page-intro h1{font-size:27px;letter-spacing:-.06em;margin-bottom:9px}.eyebrow{font-size:10px;margin-bottom:11px}.page-intro p{font-size:12px;line-height:1.9}.page-intro>.small{margin-top:-5px}.welcome{display:flex;flex-direction:column;margin-bottom:32px}.welcome-content{padding:27px 25px 12px}.welcome-content h2{font-size:27px;line-height:1.55;margin-top:17px}.welcome-content>p{font-size:12px;margin-bottom:22px}.welcome-content .button-row{display:flex;flex-wrap:wrap;gap:9px}.welcome-content .primary,.welcome-content .secondary{font-size:11px;padding-inline:14px;min-height:44px}.welcome-content>.caption{font-size:9px;margin-top:14px}.learning-art{min-height:234px;width:100%}.art-card{width:219px;height:148px;padding:19px}.card-front{transform:translate(-46%,-27%) rotate(4deg)}.card-back{transform:translate(-48%,-65%) rotate(-11deg)}.card-front strong{margin:7px 0 12px;font-size:22px}.art-bottom{margin-top:11px}.art-orbit{width:282px;height:282px}.orbit-b{width:200px;height:200px}.art-check{top:20%;right:20%;width:35px;height:35px}.art-label{font-size:8px}.art-bottom{font-size:8px}.section-header{margin-bottom:15px;gap:12px}.section-header h2{font-size:16px}.section-header>span{font-size:9px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.subject-tile{padding:18px 17px;gap:5px}.subject-tile .subject-icon{width:31px;height:31px;font-size:13px;margin-bottom:7px}.subject-tile>b{font-size:12px}.subject-tile small{font-size:9px}.subject-tile>svg{right:16px;top:26px}.getting-started{grid-template-columns:1fr;gap:22px;margin-top:32px;padding-top:26px}.getting-started>div{gap:18px}.getting-started strong{font-size:12px}.getting-started p span{font-size:11px}.today-layout{display:flex;flex-direction:column;gap:26px;margin-bottom:32px}.focus-card{padding:25px;min-height:229px}.focus-card h2{font-size:25px;line-height:1.5;margin-top:17px}.focus-card p{font-size:12px;line-height:1.9;margin-bottom:22px}.focus-watermark{font-size:100px;right:17px}.metrics{margin-top:25px}.metrics>div{padding-left:16px}.metrics span{font-size:10px}.metrics strong{font-size:25px}.metrics strong small{font-size:10px}.week-panel{margin-top:0;padding:23px 24px}.week-panel .section-header{flex-wrap:nowrap}.week-panel .section-header h2{font-size:14px}.week-bars{min-height:125px;gap:18px;margin-top:12px}.bar-slot{max-width:24px;height:69px}.week-panel>.caption{font-size:9px}.goal-mini-grid{grid-template-columns:1fr}.mini-goal{padding:22px}.mini-goal>b{font-size:15px}.mini-progress{margin-top:20px}.recent-section{margin-top:32px}.record-list{padding-inline:18px}.record-row{gap:12px;padding-block:15px}.record-row b{font-size:11px}.record-row small{font-size:9px}.record-row time{font-size:10px}.record-row time small{font-size:8px}.result-icon{width:29px;height:29px}.result-icon svg{width:15px;height:15px}.panel{padding:23px}.learn-grid{grid-template-columns:1fr;gap:17px}.practice-panel{padding:26px}.practice-panel h2{font-size:26px}.practice-panel>.button-row{flex-wrap:wrap}.practice-panel .button-row>button{flex:0 1 auto}.practice-stats{gap:26px}.practice-stats b{font-size:25px}.roadmap{padding:24px}.stage-list{margin-top:24px}.stage-list li{padding-bottom:23px}.stage-list li b{font-size:12px}.stage-list li small{font-size:10px}.word-panel{padding:23px 20px}.word-status{font-size:9px;max-width:90px}.word-status small{font-size:8px}.word{gap:12px}.word b{font-size:12px}.word small{font-size:10px}.inline-form{flex-direction:column;align-items:stretch;gap:14px}.inline-form>.field{width:100%}.inline-form button{width:100%;margin-top:3px}.material-layout{grid-template-columns:1fr;gap:10px;margin-bottom:30px}.upload-panel{padding:29px 23px}.upload-panel h2{font-size:21px}.upload-panel p{font-size:11px}.material-help{padding:22px 4px 0}.material-help ol{font-size:11px}.material-help h3{font-size:14px}.material-help .caption{margin-top:20px;font-size:10px}.sample-code{font-size:9px}.material-record{gap:12px;flex-wrap:wrap}.material-record b{font-size:11px}.material-record small{font-size:9px}.material-record time{font-size:9px}.material-record .subject-icon{width:30px;height:30px}.goals-grid{grid-template-columns:1fr;gap:16px}.goal-card{padding:24px}.goal-card h2{font-size:18px}.goal-progress-heading{flex-wrap:nowrap}.goal-progress-heading>span{font-size:9px}.goal-actions .text-link{font-size:11px}.data-tools{padding:0 22px}.data-tools>summary{min-height:86px}.data-tools summary span{font-size:10px}.settings-content p{font-size:11px}.settings-content .button-row{gap:8px}.settings-content .secondary{font-size:11px;padding-inline:14px}.goals-grid~.data-tools{margin-top:25px}.segmented button{padding-inline:12px;font-size:10px;min-height:38px}.section-header:has(.segmented){flex-wrap:wrap;gap:9px}.section-header:has(.segmented)>span{display:none}.review-top{margin-bottom:16px;gap:10px}.review-top>.text-link{font-size:11px}.review-top>span{font-size:9px}.review-top b{margin-left:6px}.review-card{padding:27px 23px;border-radius:13px}.review-card h1{font-size:48px}.review-question{gap:5px}.review-card h1.long-question{font-size:23px}.question-label{font-size:11px;line-height:1.8;margin-top:31px}.review-example{font-size:10px;line-height:1.8;margin-top:13px}.review-card form{margin-top:31px}.review-card .field input{font-size:16px;min-height:52px;padding-inline:11px}.review-buttons{flex-wrap:wrap;gap:4px;margin-top:12px}.review-buttons>.text-link{font-size:11px;min-height:44px}.review-buttons>.button-row{width:100%;justify-content:space-between;flex-wrap:nowrap;gap:8px}.review-buttons .primary,.review-buttons .secondary{font-size:11px;padding-inline:13px;flex:1;min-height:45px;gap:6px}.review-buttons .primary svg{width:15px;height:15px}.feedback{padding:16px;gap:12px;margin-top:28px}.feedback strong{font-size:17px}.feedback b{font-size:12px}.feedback small{font-size:9px;line-height:1.8}.feedback p{font-size:11px}.explanation p{font-size:12px}.review-help{font-size:10px;margin-top:19px}.review-card>.caption{font-size:9px;text-align:left}.session-summary{padding-top:24px}.session-summary h1{font-size:30px}.session-summary>p{font-size:12px}.summary-metrics b{font-size:29px}.summary-metrics span{font-size:10px}.session-summary>.caption{font-size:10px}.page-footer{gap:15px;align-items:flex-start;margin-top:35px;padding-top:20px;font-size:8px;line-height:1.9}.page-footer>span:first-child{font-size:10px;white-space:nowrap}.page-footer>span:last-child{text-align:right}.page-footer b{font-size:8px}dialog{width:calc(100% - 24px);padding:22px 24px 25px;border-radius:14px;max-height:calc(100dvh - 28px)}dialog h2{font-size:21px;line-height:1.5}.dialog-description{font-size:11px;margin-bottom:20px}.dialog-head{margin-top:-8px}dialog form>.field{margin-bottom:18px}.form-grid{gap:10px}.field>span{font-size:10px}.goal-options summary{font-size:10px}.setup-note{font-size:9px;line-height:1.9;margin-block:12px 18px}.toast{font-size:11px;padding-left:13px;margin-bottom:23px}.import-preview{margin-top:16px}.import-preview>div{font-size:11px}.empty-state{padding:40px 23px}.empty-state h2{font-size:21px}.empty-state p{font-size:12px}}
@media(max-width:350px){.topbar{padding-inline:12px}.brand,.brand-logo{width:133px;flex-basis:133px}.head-actions{gap:2px}.local-state{font-size:8px}.main-content{padding-inline:14px}.page-intro h1{font-size:24px}.welcome-content{padding-inline:20px}.welcome-content h2{font-size:24px}.welcome .button-row{flex-direction:column;align-items:stretch}.subject-tile{padding:16px 13px}.subject-tile>svg{right:11px;top:24px}.subject-tile small{font-size:8px}.focus-card{padding:22px}.focus-card h2{font-size:23px}.metrics>div{padding-left:12px}.metrics span{font-size:9px}.metrics strong{font-size:23px}.week-bars{gap:12px}.review-card{padding-inline:18px}.review-card h1{font-size:43px}.review-buttons .primary,.review-buttons .secondary{font-size:10px;padding-inline:9px}.goal-card{padding:21px}.goal-progress-heading>span{max-width:165px;text-align:right}.goal-progress-heading>b{font-size:23px}.practice-panel{padding-inline:22px}.practice-panel h2{font-size:24px}.practice-panel .button-row{flex-direction:column;align-items:stretch}.practice-stats{gap:20px}.bottom-item{min-width:0}.data-tools{padding-inline:19px}.word-status{max-width:78px}.caption{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.subject-tile:hover,.mini-goal:hover{transform:none}}
/* Account sync and learning-material tools share the existing monochrome UI. */
.cloud-status{border:0;background:transparent;cursor:pointer;font:inherit;min-height:44px;gap:7px;padding:4px 0}
.feature-goal-tools{display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:14px;margin-top:10px;border-top:1px solid var(--line)}
.document-panel,.curriculum-panel{margin:26px 0}.document-panel .section-header{align-items:flex-start;flex-wrap:wrap}.document-panel .section-header p{margin-bottom:0}
.document-panel textarea,.feature-dialog textarea{width:100%;font:inherit;font-size:16px;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
.document-panel .upload-button input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.document-panel .upload-button{position:relative;display:inline-flex;overflow:hidden}
.document-result{margin-top:20px}.document-result>.caption{margin-top:8px}.inline-warning,#document-error{color:#a14a17;font-size:13px;overflow-wrap:anywhere}
.document-panel [hidden]{display:none!important}
.feature-dialog{width:min(700px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box}
.feature-dialog h2{font-size:24px;line-height:1.4;letter-spacing:-.04em}.feature-dialog>p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.feature-dialog form{margin-top:22px}.feature-dialog .field{margin-top:15px}.feature-dialog .form-error:empty{display:none}
.feature-dialog details{margin-top:16px}.feature-dialog summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.feature-dialog .prompt-copy{margin:12px 0;min-height:130px}
.plan-preview{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.plan-preview li{padding:8px 0;line-height:1.5}.plan-preview li p{margin:6px 0}.plan-preview small{color:var(--muted,#737373)}
.conflict-options{display:grid;gap:12px;margin:20px 0}.cloud-settings{margin:25px 0;padding:18px 0;border-block:1px solid var(--line)}
.curriculum-panel .stage-list p{font-size:14px;line-height:1.6;margin:8px 0}.curriculum-panel .stage-list small{line-height:1.7;display:block;overflow-wrap:anywhere}
@media(max-width:520px){.feature-dialog .button-row{align-items:stretch;flex-direction:column}.feature-dialog .form-grid{grid-template-columns:1fr}.feature-goal-tools{gap:4px 12px}.document-panel .tag{white-space:normal}}
