:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light;--bg:#f5f5f7;--paper:#fff;--ink:#1d1d1f;--muted:#73737a;--line:#e8e8ed;--green:#007aff;--accent:#007aff;--sage:#eef5ff;--peach:#fff4e8;color:var(--ink);background:var(--bg);font-size:16px;-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;color:inherit;background:none;touch-action:manipulation}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #007aff88;outline-offset:3px}a{color:var(--accent);text-decoration:none}h1,h2,h3,h4,p{margin:0}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:18px;letter-spacing:-.3px}svg{width:21px;height:21px;flex-shrink:0;stroke-width:1.7}button svg{pointer-events:none}small{font-size:13px;color:var(--muted)}.muted{color:var(--muted)}.center{text-align:center}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;padding:34px 20px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#fafafc}.brand{display:flex;align-items:center;gap:11px}.brand img{width:38px;height:38px;border-radius:11px}.brand strong{font-size:20px;letter-spacing:-.6px;display:block}.brand small{display:block;font-size:10px;margin-top:2px}.nav{display:flex;flex-direction:column;gap:6px;margin-top:50px}.nav button{display:flex;align-items:center;gap:14px;padding:13px 15px;font-size:15px;text-align:left;border-radius:12px;min-height:48px;color:#64646b}.nav button.active{background:#e8f1ff;color:var(--accent);font-weight:600}.sidebar-account{display:flex;align-items:center;gap:10px;margin-top:auto;text-align:left;padding:10px 0}.sidebar-account>span:nth-child(2){flex:1}.sidebar-account strong,.sidebar-account small{display:block}.sidebar-account small{font-size:12px;margin-top:4px}.sidebar-account>svg{width:14px;color:var(--muted)}.shell{width:100%;max-width:1100px;margin:0 auto;padding:24px 44px 70px}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:48px;margin-bottom:5px}.desktop-label{font-size:14px;color:var(--muted)}.mobile-brand,.mobile-nav{display:none}.top-actions{display:flex;align-items:center;gap:10px}.avatar{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e6efff;color:#3478db;font-size:17px;font-weight:600;flex-shrink:0}.avatar-button:active{transform:scale(.94);background:#d3e4ff}.avatar.large{width:64px;height:64px;font-size:26px}.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--accent);flex-shrink:0}.cloud-status{display:flex;justify-content:space-between;align-items:center;min-height:28px;margin:0 0 12px;font-size:12px;color:var(--muted)}.sync-label{display:flex;align-items:center;gap:6px}.sync-label i{width:5px;height:5px;border-radius:50%;background:#afb1b8}.sync-label.synced i{background:#34c759}.sync-label.offline i,.sync-label.conflict i,.sync-label.error i{background:#ff9500}.cloud-status .text-btn{min-height:28px;font-size:12px;padding:2px 6px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:24px}.page-head h1{font-size:34px;line-height:1.2;letter-spacing:-1px;font-weight:700}.eyebrow{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:.3px;margin-bottom:7px}.eyebrow:empty,.sub:empty{display:none}.sub{font-size:15px;line-height:1.65;color:var(--muted);margin-top:9px}.page-head .pill{margin-bottom:3px}
.btn{min-height:46px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;background:#f0f0f5;font-size:15px;font-weight:500;line-height:1.4;text-align:center}.btn.primary{background:var(--accent);color:white}.btn.soft{background:#edf4ff;color:var(--accent)}.btn.danger{color:#ff3b30;background:#fff0ef}.btn.small{min-height:42px;padding:10px 14px;font-size:14px}.btn.full{width:100%}.btn:active{filter:brightness(.96);transform:scale(.99)}.text-btn{min-height:44px;padding:10px 0;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--accent);font-size:14px;line-height:1.5}.text-btn svg{width:16px;height:16px}.pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:8px;background:#edf4ff;color:#3478db;font-size:12px;font-weight:500;padding:6px 10px;white-space:nowrap}.pill.coral{background:#fff2e5;color:#bf7d32}.pill svg{width:14px;height:14px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.card{background:#fff;border-radius:20px;padding:24px;margin-bottom:20px;min-width:0}.card .btn.full{margin-top:16px}.inline-note{font-size:13px;line-height:1.75;color:var(--muted);margin-top:12px;overflow-wrap:anywhere}.notice{font-size:14px;line-height:1.7;padding:14px 16px;background:var(--peach);border-radius:14px;color:#866846;margin:14px 0}.notice.green{background:#edf4ff;color:#4b6e9b}.notice .text-btn{display:flex;justify-content:space-between;padding-bottom:0;min-height:35px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0 8px}.section-title h2{font-size:21px}.home-summary{background:white;border-radius:24px;padding:24px}.summary-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.summary-main h2{font-size:24px;line-height:1.35;letter-spacing:-.6px}.summary-main p{font-size:13px;color:var(--muted);margin-top:9px}.home-summary .btn{margin-top:20px}.completion-ring{position:relative;flex:0 0 78px;height:78px;border-radius:50%;background:conic-gradient(var(--accent) var(--completion),#eef0f5 0);display:grid;place-items:center}.completion-ring>span{width:66px;height:66px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.completion-ring strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.2}.completion-ring strong small{font-size:14px;font-weight:400}.completion-ring>span>small{font-size:10px;margin-top:4px}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:24px 0 0}.day-button{height:64px;padding:7px 0 5px;border-radius:16px;display:flex;align-items:center;flex-direction:column;gap:4px}.day-button small{font-size:11px}.day-button>span{font-size:18px;font-weight:500}.day-button.active{background:var(--accent);color:white}.day-button.active small{color:#ffffffbd}.dot{width:4px;height:4px;border-radius:50%;background:transparent}.dot.complete{background:#34c759}.day-button.active .dot.complete{background:#fff}.slot-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:19px 2px 10px}.slot-head strong{font-size:14px;font-weight:500;color:#6e6e73}.slot-head small{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.task-group{background:#fff;border-radius:18px;overflow:hidden}.task-card{display:flex;align-items:center;gap:6px;min-height:84px;position:relative;padding:0 10px 0 3px}.task-card+.task-card:before{content:"";position:absolute;left:54px;right:0;top:0;border-top:1px solid #f0f0f3}.task-content{flex:1;min-width:0;text-align:left;display:block;padding:18px 0;align-self:stretch}.task-title{font-size:16px;line-height:1.45;font-weight:500;letter-spacing:-.15px}.task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;font-size:12px;color:var(--muted);margin-top:7px;font-variant-numeric:tabular-nums}.task-meta>span{white-space:nowrap}.skill-dot{color:#647c9d}.skill-dot.listening{color:#af7a39}.skill-dot.writing{color:#9a76bd}.skill-dot.speaking{color:#7d99a4}.task-play{width:44px;height:44px;flex:0 0 44px;background:#f5f7fa;color:#7891b6;border-radius:50%;display:grid;place-items:center;margin-left:2px}.task-play svg{width:17px;height:17px}.check{position:relative;display:inline-grid;place-items:center;width:44px;min-width:44px;height:48px;padding:0}.check:before{content:"";width:25px;height:25px;border:1.7px solid #c8cbd2;border-radius:50%;position:absolute}.check.checked:before{background:var(--accent);border-color:var(--accent)}.check svg{position:relative;width:17px;height:17px;color:white;stroke-width:2.4}.done .task-title{color:#94969e;text-decoration:line-through}.done .task-play{opacity:.35}.break{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--muted);margin:17px 0 4px}.break svg{width:15px;height:15px}.journal-button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:18px;background:white;border-radius:16px;min-height:58px;font-size:15px;margin-top:20px}.journal-button .row{justify-content:flex-start}.journal-button>svg{width:15px;color:#babac0}.journal-button .row svg{color:var(--accent)}.back-today{margin-top:-5px}
.section-disclosure{background:white;border-radius:18px;margin:20px 0;overflow:hidden;min-width:0}.section-disclosure>summary{display:flex;align-items:center;gap:11px;list-style:none;min-height:58px;padding:17px 19px;font-size:15px;font-weight:500;cursor:pointer}.section-disclosure>summary::-webkit-details-marker{display:none}.section-disclosure>summary>svg:first-child{color:var(--accent);width:20px}.section-disclosure>summary>svg:last-child{margin-left:auto;width:14px;color:#a9a9b0}.section-disclosure[open]>summary>svg:last-child{transform:rotate(90deg)}.disclosure-content{padding:0 20px 20px}.resource-row{display:flex;align-items:center;gap:12px;padding:18px 0;color:var(--ink);border-bottom:1px solid var(--line)}.resource-row:last-of-type{border-bottom:0}.resource-logo{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#f1f4f9;color:#6885ac;font-size:12px;font-weight:600}.resource-row>div:nth-child(2){flex:1}.resource-row strong,.resource-row small{display:block}.resource-row strong{font-size:14px;font-weight:500}.resource-row small{font-size:12px;margin-top:4px}.resource-row>svg{width:14px;color:#b9bcc4}.settings-list{background:white;border-radius:18px;overflow:hidden;margin-bottom:20px}.settings-row{display:flex;align-items:center;gap:12px;padding:16px 18px;min-height:66px;text-align:left;width:100%;position:relative}.settings-row+.settings-row:before{content:"";position:absolute;top:0;right:0;left:62px;border-top:1px solid var(--line)}.settings-row>span:nth-child(2),.settings-row>strong{flex:1;min-width:0}.settings-row strong{display:block;font-size:16px;font-weight:400}.settings-row small{display:block;font-size:12px;margin-top:5px}.settings-row>svg,.profile-card>svg{width:14px;height:18px;color:#b1b1b7;margin-left:auto;flex-shrink:0}.settings-icon{width:32px;height:32px;display:grid;place-items:center;background:#edf4ff;border-radius:9px;color:var(--accent);flex-shrink:0}.settings-icon svg{width:19px;height:19px}.profile-card{display:flex;align-items:center;gap:16px;padding:22px;background:white;border-radius:20px;text-align:left;width:100%;margin-bottom:26px;min-height:100px}.profile-card>span:nth-child(2){flex:1}.profile-card strong{display:block;font-size:22px;font-weight:600;letter-spacing:-.4px}.profile-card small{display:block;font-size:13px;margin-top:6px}.logout-button{min-height:54px;width:100%;background:#fff;border-radius:16px;color:#ff3b30;font-size:16px;margin:6px 0 12px;text-align:center}.settings-footnote{font-size:12px;line-height:1.8;text-align:center;color:var(--muted);margin-top:20px}.back-button{display:inline-flex;align-items:center;gap:2px;min-height:44px;font-size:16px;color:var(--accent);padding:0;margin-bottom:10px}.back-button svg{width:18px}.profile-heading{display:flex;align-items:center;gap:15px;margin-bottom:25px}.profile-heading h2{font-size:24px}.profile-heading p{font-size:13px;color:var(--muted);margin-top:5px}.account-fact{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:50px;border-top:1px solid var(--line);font-size:15px}.account-fact strong{font-weight:400;color:var(--muted)}.account-sheet-profile{text-align:center;margin:3px 0 24px}.account-sheet-profile .avatar{margin-bottom:12px}.account-sheet-profile h2{font-size:25px}.account-sheet-profile p{font-size:13px!important;margin-top:5px!important}.account-sheet-profile~.settings-list{background:#f5f5f7}.account-sheet-profile~.logout-button{background:#fff0ef}.help-disclosure{border-top:1px solid var(--line);margin-top:12px;padding-top:4px}.help-disclosure>summary{cursor:pointer;font-size:13px;color:var(--muted);padding:12px 0;min-height:44px}.field{display:block;font-size:14px;font-weight:500;margin:0 0 21px;color:#55555c}.field input,.field select,.field textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:52px;background:#f5f5f7;border:1px solid transparent;border-radius:12px;padding:13px 14px;color:var(--ink);font-size:16px;outline:none;margin-top:9px;box-shadow:none}.field textarea{min-height:140px;resize:vertical;line-height:1.6}.field input:focus,.field select:focus,.field textarea:focus{border-color:#007aff66;box-shadow:0 0 0 3px #007aff0d}.field small{display:block;font-size:12px;line-height:1.6;font-weight:400;margin-top:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid>*{min-width:0}.backup-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.backup-actions>.btn{flex:1;min-width:110px}.backup-actions>.btn.full{flex-basis:100%;margin-top:0}.install-icon{width:64px;height:64px;border-radius:17px;margin-bottom:20px}.install-steps{padding-left:23px;margin:22px 0 0}.install-steps li{font-size:15px;line-height:1.7;padding-left:4px;margin:15px 0}.install-steps li::marker{color:var(--accent);font-weight:600}
.login-shell{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:40px 24px;background:linear-gradient(160deg,#f5f7fc,#fafafa 55%,#f2f4f9)}.login-card{width:100%;max-width:400px;background:white;border-radius:28px;padding:38px 32px;box-shadow:0 20px 70px #1f335510;text-align:center}.login-icon{width:66px;height:66px;border-radius:18px;box-shadow:0 8px 25px #ed785b20}.login-brand{font-size:13px;color:var(--muted);margin-top:16px}.login-card h1{font-size:32px;letter-spacing:-1.1px;line-height:1.25;margin-top:23px}.login-subtitle{font-size:15px;color:var(--muted);margin-top:10px;line-height:1.6}.login-card form{margin-top:36px;text-align:left}.login-label{display:block;font-size:14px;color:#6e6e73;margin:0 3px 10px}.password-field{display:flex;align-items:center;position:relative;background:#f5f5f7;border:1px solid #eeeef2;border-radius:14px;min-height:56px}.password-field:focus-within{border-color:#007aff66;box-shadow:0 0 0 3px #007aff0a}.password-field input{font-size:17px;display:block;min-width:0;flex:1;width:100%;height:56px;border:0;background:transparent;padding:15px 16px;outline:none;border-radius:14px;letter-spacing:.3px}.password-field input::placeholder{color:#aaaab1}.password-field button{width:50px;min-width:50px;height:54px;display:grid;place-items:center;color:#9a9aa3;padding:0}.password-field button[aria-pressed=true]{color:var(--accent)}.password-field button svg{width:22px;height:22px}.login-submit{min-height:54px!important;font-size:17px!important;font-weight:600!important;margin-top:18px;border-radius:14px!important}.login-error{font-size:13px;line-height:1.6;color:#e3443b;margin:12px 3px 0}.login-error[hidden]{display:none}.login-hint{font-size:12px;color:#787880;line-height:1.85;margin-top:26px}.login-hint strong{font-weight:500;color:#6e6e73}.login-status{font-size:13px;line-height:1.6;color:var(--muted);margin-top:16px}
.two-col{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:22px;align-items:start}.two-col>*{min-width:0}.calendar-controls{margin-bottom:20px}.calendar-controls .row{gap:5px}.calendar-controls h2{font-size:23px}.calendar-controls .icon-btn{background:#f5f5f7;width:38px;height:44px}.calendar-controls .btn{min-width:48px;padding:8px 11px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cal-dow{text-align:center;font-size:12px;color:var(--muted);padding:8px 0 14px}.cal-cell{min-width:0;height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:13px;position:relative}.cal-cell .number{font-size:18px;font-weight:500}.cal-cell small{font-size:10px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#c58a49}.cal-cell.work small,.cal-cell.makeup small{color:#6d91c0}.cal-cell.selected{background:var(--accent);color:#fff}.cal-cell.selected small{color:#ffffffbf}.cal-cell.today:not(.selected){background:#edf4ff;color:var(--accent)}.cal-cell.outside{opacity:.28}.cal-cell .check-mark{position:absolute;top:2px;right:3px;font-size:10px;color:#34c759}.cal-cell.selected .check-mark{color:#fff}.legend{display:flex;flex-wrap:wrap;gap:9px 14px;font-size:11px;color:var(--muted);margin-top:18px;line-height:1.5}.legend i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#eab67d;margin-right:5px}.legend i.work-i{background:#8aabd4}.calendar-detail .pill{margin-top:12px}.segmented{display:flex;padding:4px;background:#f2f2f6;border-radius:12px;margin:18px 0 3px;gap:2px}.segmented button{flex:1;min-width:0;min-height:42px;padding:6px 5px;font-size:13px;border-radius:9px;color:#6e6e73}.segmented button.active{background:white;box-shadow:0 1px 5px #0000000e;color:var(--ink)}.phase-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -2px 20px;padding:3px 2px 6px}.phase-tabs::-webkit-scrollbar{display:none}.phase-tabs button{min-width:142px;min-height:44px;padding:11px 13px;border-radius:12px;background:white;font-size:13px;white-space:nowrap}.phase-tabs button.active{background:var(--accent);color:#fff}.phase-tabs button.active .muted{color:#ffffff60}.phase-summary{background:#eaf2ff;padding:24px;border-radius:20px;margin-bottom:24px}.phase-summary h2{font-size:25px;line-height:1.4}.phase-summary p{font-size:14px;line-height:1.8;color:#687c98;margin-top:12px}.lesson-row{display:flex;gap:13px;align-items:center;padding:19px 0;border-bottom:1px solid var(--line)}.lesson-row:first-child{padding-top:4px}.lesson-row:last-child{border:0;padding-bottom:4px}.lesson-day{width:36px;flex-shrink:0;color:#8c9eb9;font-size:25px;line-height:1.1;text-align:center;letter-spacing:-.8px}.lesson-day small{font-size:8px;display:block;letter-spacing:1px;margin-bottom:3px}.lesson-info{flex:1;min-width:0}.lesson-info strong{font-size:15px;line-height:1.5;font-weight:500;display:block}.lesson-info small{font-size:11px;line-height:1.7;display:block;margin-top:5px}.lesson-row>.pill{font-size:10px;padding:5px 7px}.lesson-row .icon-btn{width:28px;min-width:28px;height:44px}.lesson-row .icon-btn svg{width:16px}.entry{padding:18px 0;border-bottom:1px solid var(--line);font-size:14px}.entry:last-child{border:0;padding-bottom:0}.entry p{font-size:13px;color:var(--muted);line-height:1.75;margin-top:8px;overflow-wrap:anywhere}.entry strong{font-size:14px;line-height:1.6;font-weight:500}.entry>details{margin-top:10px}.entry summary{cursor:pointer;min-height:40px;padding-top:8px}.coach-note{background:#edf3fd}.coach-note>p{font-size:14px;line-height:1.8;color:#69809d}.stats-grid,.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.metric{padding:21px 17px;background:white;border-radius:18px;min-width:0}.metric .row{font-size:12px;color:var(--muted);justify-content:flex-start;gap:5px;flex-wrap:wrap}.metric .row svg{display:none}.metric>strong{display:block;font-size:30px;font-weight:600;letter-spacing:-1px;margin-top:13px;line-height:1.2}.metric>strong span{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0;margin-left:4px}.metric>small{font-size:11px;line-height:1.6;display:block;margin-top:10px}.heatmap{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:5px;margin:22px 0}.heat{aspect-ratio:1;border-radius:4px;background:#eef0f5;min-width:0}.heat.full{background:#007aff}.heat.partial{background:#9bc8ff}.heat.light{background:#dbb88c}.heat.future{background:#f7f7f9}.heat.current{outline:2px solid #8bb9f5;outline-offset:1px}.score-value{color:var(--accent);font-size:24px;font-weight:600;white-space:nowrap}.score-value small{font-weight:400;font-size:12px}.milestone{display:flex;align-items:flex-start;gap:9px;border-bottom:1px solid var(--line);padding:15px 0}.milestone:last-child{border:0;padding-bottom:0}.milestone .check{margin-top:-8px}.milestone strong{font-size:14px;line-height:1.6;font-weight:500}.milestone p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:5px}.empty{text-align:center;line-height:1.8;color:var(--muted);padding:34px 12px;font-size:14px}.empty>svg{display:block;margin:0 auto 14px;color:#b6c5d8;width:29px;height:29px}.empty strong{display:block;color:#6e6e73;font-size:15px;font-weight:500;margin-bottom:7px}.timer-banner{position:sticky;top:10px;z-index:4;display:flex;align-items:center;gap:10px;background:#1f293a;color:white;padding:12px 16px;border-radius:16px;margin-bottom:18px;box-shadow:0 6px 20px #1f293a20;flex-wrap:wrap}.timer-label{flex:1;min-width:80px;font-size:13px}.timer-banner>strong{font-variant-numeric:tabular-nums;font-size:19px}.timer-banner button{min-height:36px;font-size:13px;padding:7px 9px;background:#ffffff15;border-radius:8px}.timer-banner>svg{width:18px}
dialog{border:0;padding:0;width:calc(100% - 40px);max-width:560px;max-height:85dvh;border-radius:25px;background:white;color:var(--ink);box-shadow:0 30px 100px #101a3440;overscroll-behavior:contain}dialog::backdrop{background:#101a3440;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.modal-content{padding:34px 28px 28px;position:relative}.modal-close{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;background:#f2f2f7;color:#93939a;display:grid;place-items:center;z-index:2}.modal-close svg{width:16px;height:16px}.modal-content>h2{font-size:25px;line-height:1.4;letter-spacing:-.7px;padding-right:24px;margin-bottom:13px}.modal-content>p{font-size:14px;line-height:1.8;color:var(--muted);margin:14px 0}.modal-content>.eyebrow{margin-bottom:10px;padding-right:30px}.modal-content .field{margin-top:18px}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.modal-actions .btn{flex:1;min-width:130px}.guide-list{padding-left:25px;margin:22px 0}.guide-list li{font-size:15px;line-height:1.8;padding-left:5px;margin-bottom:14px}.guide-list li::marker{font-weight:600;color:var(--accent)}.coach-prompt{font-family:inherit;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;padding:17px;background:#f5f5f7;border-radius:13px}.checkbox-line{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;color:#6e6e73}.checkbox-line input{width:20px;height:20px;accent-color:var(--accent)}#toast{position:fixed;z-index:100;left:50%;bottom:30px;transform:translate(-50%,15px);background:#252530ed;color:white;padding:13px 20px;border-radius:14px;font-size:14px;line-height:1.6;width:max-content;max-width:calc(100% - 32px);box-shadow:0 8px 30px #0002;opacity:0;pointer-events:none;transition:.18s}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1000px){.home-summary{padding:26px 28px}.home-summary .btn{max-width:300px}.week-strip{max-width:600px}.shell:has(.home-summary){max-width:900px}.shell:has(.profile-card),.shell:has(.account-card),.shell:has(.settings-form),.shell:has(#push-settings){max-width:800px}.summary-main h2{font-size:27px}.task-title{font-size:17px}}
@media(max-width:1000px){.layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding-left:16px;padding-right:16px}.shell{padding-left:28px;padding-right:28px}.two-col{grid-template-columns:1fr}.two-col>aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.two-col>aside .card{margin-bottom:0}.two-col>aside .card:last-child:nth-child(odd){grid-column:1/-1}.lesson-row>.pill{display:none}}
@media(max-width:700px){.layout{display:block}.sidebar,.desktop-label{display:none}.shell{padding:max(13px,env(safe-area-inset-top)) 20px calc(100px + env(safe-area-inset-bottom));max-width:540px;margin:auto}.topbar{margin-bottom:6px}.mobile-brand{display:block}.brand{gap:9px}.brand img{width:31px;height:31px;border-radius:9px}.brand strong{font-size:18px}.brand small{font-size:8px;margin-top:1px}.top-actions{gap:7px}.top-actions .icon-btn{background:transparent;width:40px;height:44px;color:#6c7788}.avatar-button{width:42px;height:42px;font-size:16px}.cloud-status{margin-bottom:17px;min-height:22px;font-size:11px}.cloud-status .text-btn{font-size:11px;min-height:24px}.page-head{margin-bottom:21px;gap:8px}.page-head h1{font-size:32px;letter-spacing:-.8px}.page-head .eyebrow{font-size:12px;margin-bottom:7px}.page-head>.btn{padding:10px 12px;min-height:44px;font-size:13px}.page-head>.btn svg{width:17px}.sub{font-size:14px;line-height:1.7}.home-summary{padding:21px 19px;border-radius:23px}.summary-main h2{font-size:21px}.summary-main p{font-size:12px;margin-top:8px}.home-summary .eyebrow{font-size:11px}.completion-ring{flex-basis:70px;height:70px}.completion-ring>span{width:59px;height:59px}.completion-ring strong{font-size:22px}.completion-ring strong small{font-size:12px}.completion-ring>span>small{font-size:9px}.home-summary .btn{margin-top:18px;min-height:48px;font-size:15px}.week-strip{gap:4px;margin-top:20px}.day-button{height:61px;border-radius:14px}.section-title{margin-top:18px}.section-title h2{font-size:20px}.card{padding:20px;border-radius:18px;margin-bottom:18px}.two-col{gap:16px}.two-col>aside{display:block}.two-col>aside .card{margin-bottom:18px}.mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:10;display:grid;grid-template-columns:repeat(5,1fr);align-items:start;padding:7px 10px calc(8px + env(safe-area-inset-bottom));background:#fafafadd;border-top:1px solid #dfe1e680;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;padding:3px 0 1px;color:#9b9ba2;background:transparent;font-size:10px}.mobile-nav button svg{width:23px;height:23px;stroke-width:1.65}.mobile-nav button.active{color:var(--accent)}.mobile-nav button.active svg{stroke-width:2}.settings-row{padding:16px;min-height:68px}.profile-card{padding:21px 18px;margin-bottom:23px}.settings-list{border-radius:17px}.settings-icon{width:31px;height:31px}.settings-row strong{font-size:16px}.settings-row small{font-size:11px}.settings-footnote{font-size:11px}.back-button{margin-bottom:12px}.account-fact{font-size:14px}.stats-grid{gap:9px;margin-bottom:20px}.metric{padding:17px 11px;border-radius:16px}.metric>strong{font-size:25px;letter-spacing:-.5px}.metric>strong span{font-size:10px;display:block;margin:5px 0 0;letter-spacing:0}.metric .row{font-size:11px;line-height:1.5}.metric>small{font-size:10px;line-height:1.6;margin-top:8px}.heatmap{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}.card>.row>small{font-size:10px}.calendar-controls{margin-bottom:13px}.calendar-controls h2{font-size:22px}.calendar-grid{gap:3px}.cal-cell{height:63px;border-radius:12px}.cal-cell .number{font-size:17px}.cal-dow{padding-bottom:9px}.calendar-controls .row{gap:2px}.calendar-controls .icon-btn{width:34px;min-width:34px;background:none}.calendar-controls .btn{min-width:40px;padding:9px}.legend{font-size:10px;gap:8px 11px}.phase-summary{padding:21px;border-radius:19px}.phase-summary h2{font-size:23px}.phase-summary p{font-size:13px}.phase-tabs{margin-right:-20px;padding-right:20px}.phase-tabs button{min-width:136px;font-size:12px}.lesson-row{gap:10px}.lesson-info strong{font-size:14px}.lesson-info small{font-size:10px}.lesson-day{font-size:24px;width:32px}.lesson-row .icon-btn{width:22px;min-width:22px}.form-grid{gap:10px}.field{font-size:13px;margin-bottom:21px}.field input,.field select{font-size:16px;padding:13px 12px}.field small{font-size:11px}.install-steps li{font-size:14px}.section-disclosure>summary{padding:17px 18px;font-size:14px}.disclosure-content{padding:0 18px 20px}.disclosure-content .btn{font-size:14px}.inline-note{font-size:12px;line-height:1.8}.task-card{gap:4px;padding-right:9px}.task-title{font-size:15px;line-height:1.5}.task-meta{font-size:11px;gap:7px;margin-top:7px}.task-play{width:40px;flex-basis:40px;height:44px;background:none}.task-content{padding:17px 0}.task-card+.task-card:before{left:52px}.journal-button{font-size:14px;padding:16px;min-height:56px}.timer-banner{top:10px;padding:10px 12px;gap:8px}.timer-banner .timer-label{font-size:12px}.timer-banner>strong{font-size:17px}.timer-banner button{font-size:12px;padding:7px}.timer-banner>svg{display:none}dialog{width:100%;max-width:100%;max-height:90dvh;margin:auto 0 0;border-radius:26px 26px 0 0}.modal-content{padding:32px 22px calc(24px + env(safe-area-inset-bottom))}.modal-content:before{content:"";display:block;position:absolute;top:10px;left:calc(50% - 17px);width:34px;height:4px;border-radius:4px;background:#d7d7dd}.modal-close{top:22px;right:15px;width:38px;height:38px}.modal-content>h2{font-size:24px;padding-right:35px}.modal-content>.eyebrow{margin-top:8px}.modal-content>p{font-size:13px}.guide-list li{font-size:14px}.account-sheet-profile{margin-top:8px}.modal-content .settings-row{min-height:64px}.modal-content .settings-row>strong{font-size:15px}.modal-content .logout-button{margin-bottom:4px}.login-shell{background:#fff;align-items:flex-start;padding:calc(60px + env(safe-area-inset-top)) 28px 30px;min-height:100svh}.login-card{padding:0;background:none;border-radius:0;box-shadow:none;max-width:370px}.login-icon{width:62px;height:62px;border-radius:17px}.login-brand{font-size:12px;margin-top:14px}.login-card h1{font-size:31px;margin-top:26px}.login-subtitle{font-size:14px;margin-top:10px}.login-card form{margin-top:36px}.login-label{font-size:13px}.login-hint{font-size:11px;line-height:1.9;margin-top:24px}.login-status{font-size:12px}#toast{bottom:calc(82px + env(safe-area-inset-bottom));font-size:13px;padding:12px 17px}}
@media(max-width:360px){.shell{padding-left:16px;padding-right:16px}.summary-main h2{font-size:19px}.home-summary{padding:19px 17px}.completion-ring{flex-basis:62px;height:62px}.completion-ring>span{width:52px;height:52px}.completion-ring>span>small{font-size:8px}.week-strip{gap:2px}.task-title{font-size:14px}.task-meta{font-size:10px}.task-play{width:34px;flex-basis:34px}.task-card .check{width:40px;min-width:40px}.card{padding:17px}.settings-row{padding-left:14px;padding-right:14px}.settings-row strong{font-size:15px}.login-shell{padding-left:24px;padding-right:24px}.form-grid{grid-template-columns:1fr}.phase-tabs{margin-right:-16px;padding-right:16px}}
@media(max-height:600px) and (max-width:700px){.login-shell{padding-top:24px}.login-icon{width:46px;height:46px;border-radius:13px}.login-brand{margin-top:10px}.login-card h1{margin-top:16px;font-size:27px}.login-card form{margin-top:23px}.login-hint{margin-top:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:700px){.shell:has(.home-summary) .cloud-status{margin-bottom:10px}.shell:has(.home-summary) .page-head{margin-bottom:16px}.home-summary{padding-top:16px;padding-bottom:16px}.home-summary .btn{margin-top:14px}.week-strip{margin-top:14px}.day-button{height:54px}.shell:has(.home-summary) .section-title{margin-top:12px}.shell:has(.home-summary) .slot-head{margin-top:8px}}

.task-instruction{font-size:12px;line-height:1.65;color:#73737a;margin-top:6px}.task-content{padding-right:6px}

.resource-button{width:100%;text-align:left}.modal-content .entry .btn{margin:8px 8px 0 0}


.library-intro{padding:24px 0;border-bottom:3px double #7e9170;margin-bottom:24px}.library-intro h2{font-size:34px;line-height:1.4;margin:8px 0 12px}.library-intro p{color:#68755f;line-height:1.8;font-size:14px}.library-rule{display:flex;flex-wrap:wrap;gap:12px 24px;border-top:1px solid #c5ceb7;margin-top:20px;padding-top:16px;font-size:12px;color:#4a6542}.material-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.material-card{background:#fffdf7;border:1px solid #ced5be;border-top:3px solid #597049;padding:22px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;min-width:0;transition:transform .15s,box-shadow .15s}.material-card:hover{transform:translateY(-3px);box-shadow:3px 5px 0 #d7ddc9}.material-card h3{font-size:21px;line-height:1.5;overflow-wrap:anywhere;margin:7px 0 12px}.material-card p{color:#6a775f;font-size:13px;line-height:1.8}.material-cta{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:22px;color:#345631;font-size:12px}.material-cta svg{width:17px}

/* Score-first editorial edition */
.exam-cover{padding:clamp(24px,5vw,48px);background:#243c35;color:#fbf5e8;border-radius:8px;margin-bottom:24px;border-top:6px solid #bb8d51}.exam-cover .eyebrow{color:#e5c697}.exam-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.exam-heading h2{font-family:Georgia,serif;font-size:clamp(25px,4vw,42px);line-height:1.25}.exam-heading>strong{font:76px Georgia,serif;color:#e5c697}.exam-cover p{line-height:1.9;max-width:760px}.band-targets{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.band-targets span{padding:10px 16px;border:1px solid #ffffff40;border-radius:4px}.band-targets b{margin-left:12px;font-size:22px}.exam-roadmap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.exam-roadmap article{border-top:2px solid #a87f47;padding:18px;background:#fffaf0}.exam-roadmap article>span{font-size:12px;letter-spacing:1px;color:#80633d}.exam-roadmap h3{margin:10px 0}.exam-roadmap p{line-height:1.8;color:#595a50;font-size:14px}.daily-nudge{padding:16px 20px;border-left:3px solid #b38a50;background:#f2ebdc;line-height:1.75;margin:16px 0}.task-link{font-size:13px;color:#31564a;white-space:nowrap;padding:12px 4px}.task-instruction{line-height:1.65!important}.task-title{line-height:1.5!important}@media(max-width:600px){.exam-roadmap{grid-template-columns:1fr}.exam-heading>strong{font-size:56px}.band-targets{gap:6px}.band-targets span{padding:8px 10px}.task-card{flex-wrap:wrap}.task-content{min-width:0}.task-link{margin-left:auto}.exam-cover{padding:24px}}

.exam-cover small{color:#ddd4bf!important;line-height:1.7;display:block}.band-targets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.band-targets span{padding:10px 8px;text-align:center}.band-targets b{margin-left:5px}@media(max-width:400px){.exam-heading{align-items:flex-start}.exam-heading h2{font-size:24px}.band-targets{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Daylight Atelier — one palette, one spacing system, responsive forms. */
:root{--bg:#f6f4ee;--paper:#fffefa;--ink:#263e35;--muted:#6e756f;--line:#e2e5dc;--accent:#244d40;--green:#244d40;--sage:#eaf0e7;--peach:#f6eddf;--gold:#a9854c;background:var(--bg);color:var(--ink)}
body{background:var(--bg);line-height:1.5}h1,h2,.brand strong{font-family:Georgia,'Songti SC','STSong',SimSun,serif}button,a,input,select,textarea{transition:background-color .16s,border-color .16s,box-shadow .16s}button:focus-visible,a:focus-visible{outline-color:#a9854c}.layout{grid-template-columns:240px minmax(0,1fr)}.sidebar{background:#eef0e8;padding:38px 24px;border-right:1px solid #dce2d7}.brand img{filter:grayscale(1) sepia(.3);border-radius:10px}.brand strong{font-size:20px;line-height:1.15}.brand small{font-size:9px;letter-spacing:.5px;color:#6d786d}.nav{gap:10px;margin-top:56px}.nav button{border-radius:12px;color:#6b786c}.nav button.active{background:#244d40;color:#fffefa;box-shadow:0 6px 16px #244d4018}.sidebar-account{border-top:1px solid #d8dfd2;padding-top:24px}.avatar{background:#e4eadd;color:#3d5c48;border:1px solid #d1dbc8}.shell{max-width:1180px;padding:30px 48px 80px}.desktop-label{font:11px Georgia,serif;letter-spacing:2.5px;color:#627563}.edition-line{display:flex;justify-content:space-between;gap:14px;border-top:1px solid #9aa88f;border-bottom:1px solid var(--line);padding:11px 0;margin:16px 0 6px;font-size:9px;letter-spacing:1.5px;color:#6b7b68}.cloud-status{margin-bottom:24px}.page-head{align-items:center;margin:10px 0 28px}.page-head h1{font-size:42px;line-height:1.25;letter-spacing:-1px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#7e876f;margin-bottom:10px}.sub{max-width:650px;font-size:14px;line-height:1.85}.pill{background:#e8eee3;color:#526649;border:1px solid #dce5d4;border-radius:30px;padding:7px 12px}.pill.coral{background:#f4ebde;color:#926d3c;border-color:#eadcc6;transform:none}.icon-btn{background:#fffefa;color:var(--accent);border:1px solid #e6e8de}.btn{border-radius:10px;min-height:48px;background:#edf0e7;font-weight:600}.btn.primary{background:#244d40;color:#fffefa;box-shadow:0 4px 12px #244d4014}.btn.soft{background:#eaf0e5;color:#355441}.text-btn{color:#365c47}.card,.settings-list,.profile-card,.section-disclosure{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 4px 18px #263e3503}.card{padding:28px}.row{flex-wrap:wrap}.profile-card{border-top:3px solid #a9854c}.settings-icon{background:#eaf0e5;color:#456444}.settings-row{min-height:78px;padding:18px 22px}.settings-row:hover{background:#f1f4eb}.settings-row small{line-height:1.6}.logout-button{background:#faf0e9;color:#9b503b;border-radius:12px}.notice{border-left:3px solid #b69968;border-radius:8px;line-height:1.85}.notice.green{background:#eef3e8;color:#49613e;border-color:#92a879}.coach-note,.phase-summary{background:#edf2e8}.coach-note>p,.phase-summary p{color:#617356}.phase-summary{border:1px solid #dce5d3;border-radius:16px}.phase-tabs button{border:1px solid #e0e5d9;background:#fffefa;border-radius:10px}.phase-tabs button.active{background:#244d40}.lesson-day{color:#9a8155;font-family:Georgia,serif}.lesson-info strong{line-height:1.7}.metric{border-radius:16px;border:1px solid var(--line);background:#fffefa;padding:24px}.metric>strong{font-family:Georgia,serif;font-size:38px;color:#284f3d}.heat.full{background:#416b4c}.heat.partial{background:#b8ceb1}.heat.future{background:#f0f1eb}.heat.current{outline-color:#a9854c}.cal-cell{border-radius:12px}.cal-cell.selected{background:#244d40}.cal-cell.today:not(.selected){background:#e6eedf;color:#31563b}.cal-cell .type{font-size:10px}.segmented{background:#edf0e6}.segmented button.active{background:#fffefa;color:#244d40}.resource-logo{background:#eaf0e2;color:#547149;border-radius:10px}.resource-row{gap:16px}.resource-row>div{min-width:0}.resource-row strong{line-height:1.65}.resource-row small{line-height:1.6}.material-card{border-radius:14px;box-shadow:none}.material-card h3{font-size:19px}.material-card:hover{box-shadow:0 8px 24px #244d4010;transform:translateY(-2px)}
/* The daily front page. */
.home-summary,.welcome-cover{position:relative;overflow:hidden;background:#24483c;color:#fffdf4;border:1px solid #315547;border-top:3px solid #bba074;border-radius:20px;padding:32px;box-shadow:0 12px 32px #24483c14}.home-summary:before{content:'THE DAILY BRIEF';display:block;margin-bottom:24px;font:10px Georgia,serif;letter-spacing:2.5px;color:#d6c49d}.home-summary .eyebrow{color:#c7d3bc}.summary-main h2{font-size:30px;color:#fffdf4}.summary-main p{color:#ced9c8;line-height:1.8}.home-summary .btn{background:#f3ecd9;color:#294a3b;box-shadow:none;min-height:50px}.completion-ring{background:conic-gradient(#dec69b var(--completion),#60766a 0);width:88px;height:88px;flex-basis:88px}.completion-ring>span{background:#24483c;width:76px;height:76px}.completion-ring strong{color:#f3e4bf}.completion-ring small{color:#d1d9c7}.completion-ring>span>small{color:#d1d9c7}.welcome-cover{padding:40px}.welcome-cover h2{font-size:36px;line-height:1.5;letter-spacing:1px;max-width:70%;position:relative}.welcome-cover .eyebrow{color:#d1c09e}.welcome-cover .inline-note{color:#d0d9ca;line-height:2;max-width:570px;margin:22px 0}.welcome-cover .btn{background:#f2ead5;color:#294b3b;max-width:340px}.welcome-mark{position:absolute;right:28px;top:24px;font:94px Georgia,serif;color:#d5bd8e55;transform:rotate(-8deg)}.welcome-mark span{display:block;font-size:8px;letter-spacing:2px}.daily-nudge{border-radius:12px;border-left:3px solid #b59c6f;background:#eeeede;font-size:13px;color:#5b654e;margin:20px 0;padding:16px 20px}.week-strip{max-width:none;gap:8px;padding:7px;background:#ecefe4;border-radius:16px;margin-top:24px}.day-button{border-radius:10px;height:62px}.day-button.active{background:#fffefa;color:#2c503d;box-shadow:0 3px 10px #244d4010;border:1px solid #e0e5d6}.day-button.active small{color:#6d7e62}.dot.complete{background:#688b50}.day-button.active .dot.complete{background:#688b50}.section-title{margin:30px 0 16px}.section-title h2{font-size:25px}.slot-head{margin:22px 2px 12px}.slot-head strong{color:#63705e;font-size:13px}.task-group{background:transparent;border:0;border-radius:0;overflow:visible;display:grid;gap:10px}.task-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto 42px;gap:8px;padding:12px 16px 12px 10px;border:1px solid #e0e5d8;border-radius:15px;background:#fffefa;min-height:98px;box-shadow:0 3px 12px #263e3503}.task-card+.task-card:before{display:none}.task-card:hover{background:#fcfdf7;border-color:#bac9ac}.task-content{grid-column:2;grid-row:1;align-self:center;padding:6px 0;text-align:left}.task-card .check{grid-column:1;grid-row:1;width:42px;min-width:42px}.task-title{font-size:16px;font-weight:600;line-height:1.7!important;overflow-wrap:anywhere;color:#304a3b}.task-instruction{font-size:12px;line-height:1.8!important;color:#78816f;margin-top:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-meta{margin-top:11px;font-size:11px;gap:7px}.skill-dot{background:#edf1e6;border-radius:5px;padding:2px 6px;color:#647758}.task-play{grid-column:4;grid-row:1;width:40px;height:40px;background:#edf2e6;color:#4f6b40;margin:0}.task-link{grid-column:3;grid-row:1;align-self:center;font-size:12px;color:#4b6941;padding:12px 4px;white-space:nowrap}.check:before{border-color:#bccbb0;width:23px;height:23px}.check.checked:before{background:#4c7545;border-color:#4c7545}.done{background:#f0f3e9;box-shadow:none}.done .task-title{color:#7d8974}.journal-button{background:#ecefe3;border:1px dashed #bdc9ae;border-radius:13px;color:#4c6541}.break{margin:22px 0 6px;color:#8a8e78}.timer-banner{background:#24483c;border-radius:12px}.exam-cover{border-radius:18px;border-top-width:3px}.exam-roadmap article{border:1px solid #e4e2d5;border-top:2px solid #b99b67;border-radius:12px;background:#fffdf6;padding:22px}.exam-roadmap p{color:#707464}.library-intro h2{font-size:32px}
/* All forms share explicit labels, predictable controls and consistent spacing. */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:0;align-items:start}.field,.modal-content .field{display:flex;flex-direction:column;gap:9px;min-width:0;margin:0 0 22px;padding:0;color:#4d5f50;font-size:13px;font-weight:500;line-height:1.6}.field-label{display:block;min-height:22px;overflow-wrap:anywhere}.field input,.field select,.field textarea{display:block;flex:none;width:100%;min-width:0;max-width:100%;height:52px;min-height:52px;margin:0;padding:12px 14px;border:1px solid #dce3d5;border-radius:10px;background:#f8f9f3;color:#2e4538;font-family:inherit;font-size:16px;line-height:24px;box-shadow:inset 0 1px 2px #203d2b03;appearance:none;-webkit-appearance:none}.field select{padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23758a69' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;text-overflow:ellipsis}.field input[type=date],.field input[type=time]{text-align:left;min-inline-size:0}.field input::-webkit-date-and-time-value{text-align:left;min-height:24px}.field textarea{height:120px;min-height:120px;line-height:1.8;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#879f73;box-shadow:0 0 0 3px #8a9f711c;background:#fffefa}.field input::placeholder,.field textarea::placeholder{color:#8a9284;opacity:1}.field small{margin:0;font-size:12px;font-weight:400;line-height:1.7}.form-intro{font-size:13px;color:#7a8371;line-height:1.8;margin:0 0 24px}.form-section-heading{display:flex;gap:14px;align-items:center;padding:12px 0 20px;margin:12px 0 12px;border-bottom:1px solid var(--line)}.form-section-heading:first-child{margin-top:0;padding-top:0}.form-section-heading>span{font:25px Georgia,serif;color:#b2a078}.form-section-heading h3{font-size:17px}.form-section-heading p{font-size:12px;color:#859077;margin-top:4px}.settings-form>.inline-note{padding:15px 17px;background:#f0f3e8;border-radius:10px;margin:0 0 26px;line-height:1.9}.settings-form .form-grid{margin:0}.settings-form>button[type=submit]{margin-top:0;position:sticky;bottom:20px}.checkbox-line{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:48px;padding:10px 12px;background:#f1f4e9;border-radius:10px;margin:0 0 22px;line-height:1.7;color:#5c6e4f}.checkbox-line input{appearance:auto;-webkit-appearance:checkbox;width:18px;height:18px;min-width:18px;flex:0 0 18px;margin:0;accent-color:#426840}.checkbox-line:has(input:checked){background:#e6eddb}.form-footer{position:sticky;bottom:-28px;padding:18px 0 2px;margin:16px 0 0;background:#fffefa;border-top:1px solid #e3e7db;z-index:2}.form-footer .btn{margin:0;width:100%;min-height:50px}.form-footer:before{content:'';position:absolute;left:0;right:0;top:-12px;height:12px;background:linear-gradient(transparent,#fffefa);pointer-events:none}.form-grid .field-label{min-height:44px;display:flex;align-items:flex-end}.login-shell{background:radial-gradient(ellipse at top,#e8eddf,transparent 70%),#f6f4ee}.login-card{background:#fffefa;border:1px solid #dce3d2;border-radius:24px;box-shadow:0 24px 70px #284e3510;padding:40px 34px}.login-brand{font-family:Georgia,serif;letter-spacing:2px;color:#758064}.login-icon{filter:grayscale(1) sepia(.4)}.password-field{background:#f5f7ef;border:1px solid #dce3d5;border-radius:10px}.password-field:focus-within{border-color:#879f73;box-shadow:0 0 0 3px #8a9f711c}.password-field input{border-radius:10px}.login-submit{border-radius:10px!important}.login-hint{color:#7b8570}
/* Dialog header stays visible; only the content scrolls. Native focus trapping remains. */
html:has(dialog[open]){overflow:hidden}dialog{position:fixed;inset:0;margin:auto;width:calc(100% - 48px);max-width:620px;height:fit-content;max-height:calc(var(--dialog-height,100dvh) - 48px);padding:0;border:1px solid #dce2d2;border-radius:22px;background:#fffefa;color:#263e35;overflow:hidden;box-shadow:0 28px 100px #142b3550}dialog::backdrop{background:#1a302b60;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.modal-content{display:flex;flex-direction:column;position:relative;padding:0;max-height:calc(var(--dialog-height,100dvh) - 50px);background:#fffefa;overflow:hidden}.modal-content:before{display:none}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;padding:26px 28px 22px;border-bottom:1px solid #e5e8dd;background:linear-gradient(115deg,#eef3e6,#fffefa)}.modal-heading{min-width:0;flex:1}.modal-heading .eyebrow{margin:0 0 8px;font-size:9px;letter-spacing:2px;color:#8b967d}.modal-heading h2{font-size:27px;line-height:1.4;letter-spacing:.1px;color:#304c39;overflow-wrap:anywhere;font-weight:600;outline:none}.modal-close{position:static;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#fffefa;color:#718366;border:1px solid #dce4d2;display:grid;place-items:center;padding:0;margin:-4px -6px 0 0;z-index:3}.modal-close svg{width:17px;height:17px}.modal-close:hover{background:#e9efdf}.modal-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#c9d3bd transparent;padding:26px 28px 28px;scroll-padding-block:22px 80px}.modal-body>p{font-size:14px;line-height:1.9;color:#6b7761;margin:0 0 20px}.modal-body form{margin:0;min-width:0}.modal-body .notice:first-child{margin-top:0}.modal-body .guide-list{margin:20px 0;padding-left:24px}.guide-list li{font-size:14px;line-height:1.95;margin-bottom:16px}.guide-list li::marker{color:#809365}.modal-actions{gap:12px;margin-top:24px}.modal-actions .btn{min-width:0;flex:1 1 160px}.modal-body .inline-note{font-size:12px;line-height:1.85}.modal-body .account-sheet-profile{margin-top:0}.modal-body .coach-prompt{background:#f2f5eb;color:#576a4b}.help-disclosure>summary{line-height:1.7}.update-banner{position:fixed;bottom:24px;left:calc(240px + 24px);right:24px;z-index:20;background:#244d40;color:#fffefa;padding:16px 20px;border-radius:14px;display:flex;gap:16px;align-items:center;justify-content:space-between;box-shadow:0 8px 30px #244d4025;font-size:13px;line-height:1.7}.update-banner button{flex-shrink:0;min-height:44px;background:#f6efd9;color:#31563e;padding:10px 14px;border-radius:8px}#toast{background:#2c483bf2;z-index:50}.form-error{color:#a34e37}
@media(min-width:1000px){.shell:has(.home-summary){max-width:1030px}.home-summary{padding:32px}.home-summary .btn{max-width:320px}.shell:has(.settings-form){max-width:920px}}
@media(max-width:1000px){.layout{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:30px 16px}.shell{padding:24px 28px 70px}.update-banner{left:220px}.task-card{gap:6px;padding-right:12px}.material-grid{grid-template-columns:1fr}}
@media(max-width:700px){.layout{display:block}.sidebar{display:none}.shell{padding:max(16px,env(safe-area-inset-top)) 20px calc(112px + env(safe-area-inset-bottom));max-width:600px}.brand strong{font-size:19px}.brand small{font-size:8px;letter-spacing:.1px}.brand img{width:30px;height:30px}.topbar{min-height:50px}.top-actions{gap:5px}.avatar-button{width:38px;height:38px;font-size:14px}.top-actions .icon-btn{width:36px;min-width:36px;height:44px}.edition-line{font-size:8px;letter-spacing:1px;padding:9px 0;margin-top:12px}.edition-line span:last-child{letter-spacing:0}.cloud-status{margin-bottom:18px}.page-head{align-items:flex-start;flex-wrap:wrap;margin:12px 0 22px;gap:12px}.page-head h1{font-size:34px}.page-head .eyebrow{font-size:9px}.page-head>.btn{min-height:44px;font-size:12px;padding:10px 13px}.sub{font-size:13px;line-height:1.9}.home-summary{padding:24px;border-radius:18px}.home-summary:before{font-size:9px;margin-bottom:19px}.summary-main h2{font-size:25px}.summary-main p{font-size:12px;max-width:210px}.completion-ring{flex-basis:72px;width:72px;height:72px}.completion-ring>span{width:62px;height:62px}.completion-ring strong{font-size:23px}.home-summary .btn{font-size:14px;margin-top:22px}.welcome-cover{padding:28px 24px}.welcome-cover h2{font-size:29px;max-width:90%}.welcome-mark{font-size:72px;right:18px;top:18px}.welcome-cover .inline-note{font-size:13px}.daily-nudge{font-size:12px;padding:14px 16px;margin:18px 0}.week-strip{gap:3px;padding:5px;margin-top:20px}.day-button{height:56px}.day-button>span{font-size:17px}.slot-head{align-items:baseline;gap:8px}.slot-head strong{font-size:12px}.slot-head small{font-size:10px}.section-title h2{font-size:23px}.task-card{grid-template-columns:34px minmax(0,1fr) 34px;gap:5px 8px;padding:14px 12px 14px 8px}.task-card .check{width:34px;min-width:34px;align-self:start;margin-top:0}.task-content{padding:3px 0;grid-column:2;grid-row:1;align-self:start}.task-title{font-size:14px;line-height:1.75!important}.task-meta{font-size:10px;gap:4px 7px;margin-top:9px}.task-instruction{font-size:11px;line-height:1.85!important;margin-top:6px}.task-play{grid-column:3;grid-row:1;width:34px;height:40px;align-self:start;background:transparent;margin-top:3px}.task-link{grid-column:2;grid-row:2;justify-self:start;margin:0;padding:5px 11px;min-height:36px;display:inline-flex;align-items:center;background:#eef3e6;border-radius:7px;font-size:11px}.card{padding:22px 20px;border-radius:16px}.stats-grid{gap:8px}.metric{padding:18px 12px}.metric>strong{font-size:30px}.metric .row{font-size:10px}.metric>small{font-size:10px}.card>.row{gap:10px;align-items:flex-start}.card>.row>small{font-size:10px}.mobile-nav{left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));border:1px solid #d5ddcc;border-radius:20px;background:#fffefaef;box-shadow:0 8px 30px #24483c12;padding:7px 8px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.mobile-nav button{min-height:49px;gap:5px;color:#819071;font-size:10px;border-radius:13px}.mobile-nav button.active{background:#eaf0df;color:#35563d}.mobile-nav button svg{width:21px;height:21px}.profile-card,.settings-list,.section-disclosure{border-radius:16px}.settings-row{padding:17px;min-height:76px}.settings-row strong{font-size:15px}.settings-row small{font-size:11px}.journal-button{padding:18px;font-size:13px}.form-section-heading{margin-top:16px}.field,.modal-content .field{font-size:13px;margin-bottom:22px;gap:8px}.form-grid{gap:0 16px}.field input,.field select,.field textarea{font-size:16px;padding:12px 13px}.field select{padding-right:34px}.settings-form>button[type=submit]{bottom:90px}.settings-form .inline-note{font-size:12px}.material-grid{grid-template-columns:1fr}.exam-roadmap{grid-template-columns:1fr}.exam-cover{padding:26px 22px}.exam-heading h2{font-size:27px}.exam-heading>strong{font-size:64px}.exam-cover p{font-size:13px;line-height:2}.exam-cover small{font-size:11px}.band-targets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.phase-tabs{margin-right:0;padding-right:0}.phase-tabs button{min-width:124px;font-size:11px}.library-intro h2{font-size:28px}.library-rule{flex-direction:column;gap:9px}.login-shell{padding:36px 20px;align-items:center}.login-card{padding:34px 26px}.login-card h1{font-size:30px}.login-hint{font-size:12px}.update-banner{bottom:88px;left:12px;right:12px;gap:12px;padding:12px;font-size:12px}.update-banner button{font-size:12px;padding:9px}dialog{width:calc(100% - 24px);max-width:560px;max-height:calc(var(--dialog-height,100dvh) - 24px);border-radius:20px;margin:auto;inset:0}.modal-content{max-height:calc(var(--dialog-height,100dvh) - 26px)}.modal-header{padding:22px 20px 19px;gap:10px}.modal-heading h2{font-size:23px;line-height:1.5}.modal-heading .eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:6px}.modal-close{width:38px;height:38px;flex-basis:38px;margin:-3px -4px 0 0}.modal-body{padding:22px 20px calc(22px + env(safe-area-inset-bottom));scroll-padding-bottom:88px}.modal-body>p{font-size:12px}.modal-body .inline-note{font-size:11px}.form-footer{bottom:calc(-22px - env(safe-area-inset-bottom));padding:16px 0 calc(4px + env(safe-area-inset-bottom))}.modal-actions{flex-direction:column;gap:10px}.modal-actions .btn{flex:auto;min-height:48px}.checkbox-line{font-size:12px;padding:10px 12px}.modal-body .guide-list li{font-size:13px}.modal-body .notice{padding:13px 15px;font-size:13px}.account-fact{font-size:13px;flex-wrap:wrap;justify-content:space-between}.modal-body .backup-actions .btn{min-width:0;flex-basis:100%}}
@media(max-width:520px){.form-grid{grid-template-columns:minmax(0,1fr)}.form-grid .field-label{min-height:0}.field input,.field select{height:52px}.field textarea{min-height:110px}.form-intro{margin-bottom:20px}.modal-heading h2{font-size:22px}.settings-form .form-grid{gap:0}.settings-form>button[type=submit]{position:static}.page-head>.btn{align-self:flex-start}.edition-line span:last-child{white-space:nowrap}.top-actions{flex-shrink:0}.brand{min-width:0}.brand strong{font-size:17px}.brand small{font-size:7px}}
@media(max-width:360px){.shell{padding-left:14px;padding-right:14px}.brand strong{font-size:15px}.brand img{width:26px;height:26px}.brand{gap:7px}.brand small{font-size:6px}.top-actions{gap:1px}.avatar-button{width:34px;height:34px}.page-head h1{font-size:30px}.summary-main h2{font-size:22px}.home-summary{padding:21px 18px}.completion-ring{flex-basis:64px;width:64px;height:64px}.completion-ring>span{width:54px;height:54px}.modal-body{padding-left:16px;padding-right:16px}.modal-header{padding-left:16px;padding-right:16px}.metric{padding:16px 9px}.edition-line{font-size:7px}.card{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Follow the visible viewport when the mobile keyboard changes available space. */
dialog{inset:auto 0;top:calc(var(--dialog-top,0px) + var(--dialog-height,100dvh)/2);bottom:auto;margin:0 auto;transform:translateY(-50%)}
.modal-feedback{flex:none;background:#fff0df;border-bottom:1px solid #ebd3b5;padding:12px 24px;font-size:13px;line-height:1.7;color:#935c31}

/* 阅读与交互参考：清晰层级、少量强调色、稳定组件。 */
:root{--bg:#f5f5f0;--paper:#fffffc;--line:#e1e5db}.shell{padding-top:22px}.edition-line{border-top:0;border-bottom:1px solid #d9dfd1;font-size:9px}.edition-line a{color:#758268;white-space:nowrap}.portal-return{min-height:44px;display:inline-flex;align-items:center}.sidebar-portal{display:block;font-size:12px;padding:24px 10px 14px;color:#74846b;margin-top:auto}.sidebar-account{margin-top:0}.home-summary{background:#dfe7d2;color:#304533;border:1px solid #c8d5bb;border-top:0;box-shadow:none}.home-summary:before{color:#768765;letter-spacing:2px}.home-summary .eyebrow{color:#718663}.summary-main h2{color:#2c4936;font-size:32px}.summary-main p{color:#718366}.home-summary .btn{background:#315740;color:#fffff9}.completion-ring{background:conic-gradient(#62834d var(--completion),#c2d0b3 0)}.completion-ring>span{background:#dfe7d2}.completion-ring strong{color:#38573d}.completion-ring small,.completion-ring>span>small{color:#7b8d6c}.daily-nudge{border:0;border-radius:0;background:transparent;padding:2px 0 2px 13px;border-left:2px solid #a7b993;color:#7c866f;font-size:12px}.study-brief{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:28px 0 8px;padding-bottom:24px;border-bottom:1px solid #dfe4d6;gap:14px}.study-brief>div+div{padding-left:24px;border-left:1px solid #dfe4d6}.study-brief span{display:block;font-size:8px;letter-spacing:1.4px;color:#8a947c}.study-brief strong{display:block;font:35px/1.3 Georgia,serif;margin-top:8px;color:#3c5b3b}.study-brief small{display:block;font:11px/1.7 -apple-system,sans-serif;margin-top:5px;color:#87927a}.task-title{font-size:16px}.task-instruction{font-size:13px}.task-group{gap:12px}.task-card{box-shadow:none;border-color:#e0e6d8}.task-card:hover{border-color:#9fb88b}.card,.settings-list,.profile-card,.section-disclosure,.metric{box-shadow:none}.page-head h1{font-weight:500;letter-spacing:.5px}.nav button.active{box-shadow:none;background:#dbe6cd;color:#35573b}.home-summary:before{margin-bottom:22px}.exam-cover{background:#e0e8d6;color:#2d4938;border-color:#b2c49c}.exam-cover .eyebrow{color:#7c8d6b}.exam-heading>strong{color:#83996c}.exam-cover small{color:#6a7e5c!important}.band-targets span{border-color:#c0d0af}.exam-roadmap article{border-top:1px solid #c8d3bb}.week-strip{background:transparent;padding:0}.day-button.active{background:#e0e9d4;box-shadow:none;border-color:#d3dec6}.btn.primary:hover{background:#42664a}.btn:active{transform:translateY(1px)}.task-play:hover{background:#e2edd8}.task-card,.card,.settings-row{transition:background-color .18s,border-color .18s}.welcome-cover{background:#dfe7d2;color:#304533;border-color:#c8d5bb;box-shadow:none}.welcome-cover .eyebrow{color:#7d8e6b}.welcome-cover .inline-note{color:#6b7f5b}.welcome-cover .btn{background:#315740;color:#fffdf4}.welcome-mark{color:#91a67955}
@media(max-width:700px){.shell{padding-top:12px}.topbar{min-height:46px}.cloud-status{margin-bottom:12px}.page-head{margin:10px 0 20px}.home-summary{padding:25px 22px}.summary-main h2{font-size:26px}.study-brief{margin:23px 0 4px;padding-bottom:19px;gap:8px}.study-brief>div+div{padding-left:15px}.study-brief strong{font-size:29px}.study-brief span{font-size:7px;letter-spacing:.8px}.study-brief small{font-size:10px}.task-title{font-size:15px}.task-instruction{font-size:12px}.daily-nudge{margin:18px 0}.exam-cover p{line-height:1.85}.welcome-cover h2{font-size:29px}.edition-line a{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.language-switch{min-width:38px;min-height:38px;padding:6px 8px;border:1px solid #d4deca;border-radius:8px;color:#546b46;font-size:11px;cursor:pointer;background:#f8faf2}.login-language{position:absolute;right:24px;top:22px}.top-actions{flex-shrink:0}html[lang=en] h1,html[lang=en] h2{letter-spacing:-.5px}html[lang=en] .task-title{font-size:14px}@media(max-width:390px){.brand strong{font-size:15px}.brand small{font-size:6px}.top-actions{gap:0}.top-actions .icon-btn{min-width:30px;width:30px}.avatar-button{width:32px;height:32px}.language-switch{min-width:32px;padding:5px}.edition-line{font-size:7px}.study-brief>div+div{padding-left:10px}}

@media(max-width:700px){.topbar>.portal-return{display:none}.mobile-brand{min-width:0;flex:1}.mobile-brand .brand{width:max-content;max-width:100%}.brand strong{white-space:nowrap}.brand small{white-space:nowrap}}
.carry-notice{margin:16px 0;background:#fff5e9;border-color:#c8854c;color:#66462f;font-size:13px;overflow-wrap:anywhere}
.calendar-status-detail{margin:12px 0;font-weight:700;color:#294f3e}
.cal-cell{height:72px;gap:2px}.cal-cell .cal-status{font-size:10px;line-height:1.2;font-weight:700;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;padding:2px 3px;border-radius:3px}
.cal-status.complete,.legend-status.complete{color:#246142;background:#e2f0e4}.cal-status.partial,.legend-status.partial{color:#80520c;background:#fff0d4}.cal-status.missed,.legend-status.missed{color:#a0443c;background:#fae7e4}.cal-status.light,.legend-status.light{color:#75547c;background:#f2e9f4}.cal-status.leave,.legend-status.leave{color:#526478;background:#e8eef2}
.cal-cell.selected .cal-status{background:#fff;color:#244d40}.legend-status{padding:3px 6px;border-radius:3px;font-weight:700}.dot.partial{background:#bd8b3d}.dot.missed{background:#b95d54}.dot.light{background:#8b6992}.dot.complete{background:#3e8055}
@media(max-width:390px){.cal-cell .cal-status{font-size:9px;padding:2px 1px}.calendar-grid{gap:2px}}
