:root{--ink:#33342f;--muted:#69736d;--paper:#f3f5f0;--panel:#fffffceb;--line:#dfe5dc;--green:#315b43;--green-dark:#244634;--green-soft:#e2ece5;--gold:#c08a3f;--highlight:#f0da5a;--cream:#fffae6;--danger:#b3483e;--shadow:0 16px 45px #263a2c14;--radius:22px}*{box-sizing:border-box}html{background:var(--paper);color:var(--ink);scroll-behavior:smooth;font-family:PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif}body{background:radial-gradient(circle at 5% 0%, #d1e1d3bf, transparent 26rem), radial-gradient(circle at 100% 25%, #efe0c573, transparent 30rem), var(--paper);min-width:320px;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #315b433d}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.04em}h2{letter-spacing:-.025em}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fbfcf9;border-radius:13px;padding:12px 13px;transition:border-color .2s,box-shadow .2s}input:focus,select:focus,textarea:focus{border-color:#73937d;outline:0;box-shadow:0 0 0 3px #315b4314}textarea{resize:vertical;min-height:96px;line-height:1.65}label{color:#4f5a53;gap:7px;font-size:14px;display:grid}label>span{font-weight:650}label small{color:var(--muted);line-height:1.5}.app-shell{min-height:100vh;padding-bottom:calc(92px + env(safe-area-inset-bottom))}.topbar{z-index:20;min-height:72px;padding:max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f4f6f1e0;border-bottom:1px solid #dde4dbcc;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.topbar>div{gap:2px;display:grid}.topbar strong{letter-spacing:.05em;font-family:Georgia,Songti SC,serif;font-size:21px}.eyebrow{color:#728076;letter-spacing:.16em;text-transform:uppercase;font-size:10px;font-weight:800}.profile-chip{border:1px solid var(--line);cursor:pointer;background:#fffffccc;border-radius:999px;align-items:center;gap:8px;max-width:145px;padding:6px 10px 6px 6px;display:flex}.profile-chip>span{background:var(--green);color:#fff;border-radius:50%;flex:0 0 30px;place-items:center;width:30px;height:30px;font-weight:700;display:grid}.profile-chip b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.page-content{gap:18px;width:min(100% - 32px,780px);margin:0 auto;padding:24px 0 12px;display:grid}.hero{color:#fff;background:linear-gradient(135deg,#274b36,#3f7153);border-radius:30px;grid-template-columns:1fr auto;align-items:end;gap:20px;min-height:190px;padding:28px;display:grid;position:relative;overflow:hidden;box-shadow:0 20px 50px #25483230}.hero:after{content:"";border:1px solid #ffffff29;border-radius:50%;width:280px;height:280px;position:absolute;top:-120px;right:-80px;box-shadow:0 0 0 42px #ffffff08,0 0 0 84px #ffffff06}.hero>*{z-index:1;position:relative}.hero .eyebrow{color:#c9dacd}.hero h1{margin:8px 0 10px;font-family:Georgia,Songti SC,serif;font-size:clamp(34px,9vw,52px)}.hero p{color:#dce8df;max-width:430px;margin-bottom:0;line-height:1.7}.countdown{text-align:center;justify-items:center;min-width:150px;display:grid}.countdown b{font-family:Georgia,serif;font-size:48px;line-height:1}.countdown span{color:#d6e1d9;margin-top:9px;font-size:11px}.countdown label{gap:4px;width:145px;margin-top:10px}.countdown label span{color:#cbdacf;margin:0}.countdown input{color:#fff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#ffffff1a;border-color:#ffffff38;padding:7px 9px;font-size:12px}.panel{border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow);border:1px solid #dae1d8e0;padding:22px}.panel-heading,.section-title-row,.task-top,.sheet-head,.admin-header{justify-content:space-between;align-items:center;gap:14px;display:flex}.panel-heading h2,.section-title-row h2,.sheet-head h2{margin:3px 0 0;font-size:20px}.panel-heading>h2{margin-bottom:0}.advice-panel{border-left:4px solid var(--gold)}.advice-panel>p{color:#536058;margin:12px 0 0;line-height:1.7}.heading-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.help-button{width:30px;height:30px;color:var(--green);cursor:pointer;background:#fff;border:1px solid #cad7cd;border-radius:50%;flex:0 0 30px;place-items:center;font-weight:850;display:inline-grid}.tag,.save-badge{background:var(--green-soft);min-height:27px;color:var(--green);white-space:nowrap;border:0;border-radius:999px;justify-content:center;align-items:center;padding:4px 10px;font-size:11px;font-weight:750;display:inline-flex}.save-badge.saving{color:#8a682f;background:#f4eddb}.save-badge.saved{color:#2c7148;background:#e1eee4}.save-badge.error{color:var(--danger);cursor:pointer;background:#f7e4e2}.muted{color:var(--muted);font-size:13px}.inline-editor{grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-top:17px;display:grid}.inline-editor button,.secondary-button{border:1px solid var(--line);min-height:44px;color:var(--green);cursor:pointer;background:#fff;border-radius:12px;padding:0 16px;font-weight:700}.recommended-goals{gap:7px;margin-top:15px;padding-bottom:2px;display:flex;overflow-x:auto}.recommended-goals button{color:var(--green);cursor:pointer;background:#f5f8f3;border:1px solid #d9e3d8;border-radius:999px;flex:none;padding:8px 11px;font-size:12px}.recommended-goals button:disabled{color:#8b948d;cursor:default;opacity:.65}.list-stack{gap:10px;margin-top:14px;display:grid}.goal-row,.record-row,.member-row{background:#fafbf8;border:1px solid #e7ebe4;border-radius:13px;align-items:center;gap:10px;min-height:50px;padding:9px 11px;display:flex}.goal-row>span{flex:1;line-height:1.5}.goal-row.completed>span{color:#879087;text-decoration:line-through}.check-button{background:var(--green-soft);width:32px;height:32px;color:var(--green);cursor:pointer;border:0;border-radius:50%}.text-button{color:var(--green);cursor:pointer;background:0 0;border:0;padding:5px}.danger{color:var(--danger)!important}.empty-state{color:var(--muted);text-align:center;border:1px dashed #d6ded4;border-radius:14px;padding:28px 16px;line-height:1.6}.empty-state.compact{padding:16px;font-size:13px}.section-title-row{margin:12px 2px 0}.section-title-row h2{margin-bottom:0}.subject-panel{position:relative;overflow:hidden}.subject-panel:before{background:var(--subject-color);content:"";width:4px;position:absolute;inset:0 auto 0 0}.subject-math{--subject-color:#315b43;--subject-soft:#e2ece5}.subject-logic{--subject-color:#865f37;--subject-soft:#f1e8da}.subject-writing{--subject-color:#596581;--subject-soft:#e6e9f0}.subject-heading{grid-template-columns:46px 1fr auto;align-items:center;gap:12px;display:grid}.subject-icon{background:var(--subject-soft);width:44px;height:44px;color:var(--subject-color);border-radius:14px;place-items:center;font-family:Georgia,serif;font-size:22px;font-weight:700;display:grid}.subject-heading h2{margin:0 0 3px;font-size:20px}.subject-heading p{color:var(--muted);margin:0;font-size:12px}.back-button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:7px 9px;font-size:11px}.progress-track{background:#edf0eb;border-radius:999px;height:7px;overflow:hidden}.progress-track>div{border-radius:inherit;background:var(--subject-color);height:100%;transition:width .35s}.stage-progress-summary{grid-template-columns:1fr auto;align-items:center;gap:10px;margin:13px 0;display:grid}.stage-progress-summary>span{color:var(--muted);font-size:11px;font-weight:750}.sprint-copy{color:#896024;background:#fff7e8;border-radius:12px;padding:11px 12px;font-size:13px}.task-stack{gap:10px;display:grid}.task-card{background:#fbfcfa;border:1px solid #e4e8e1;border-radius:15px;padding:14px}.task-card.done{background:#f1f6f1;border-color:#cbdccb}.task-top strong{font-size:14px;line-height:1.5}.task-top>span{color:var(--muted);white-space:nowrap;font-size:11px}.wide-check{background:var(--subject-soft);width:100%;color:var(--subject-color);cursor:pointer;border:1px solid #d8e1d6;border-radius:11px;margin-top:12px;padding:10px;font-weight:700}.task-quick-progress{gap:9px;margin-top:10px;display:grid}.task-quick-progress .progress-track{height:6px}.quick-progress-controls{grid-template-columns:34px 62px 1fr 34px;align-items:center;gap:6px;display:grid}.quick-progress-controls button{border:1px solid var(--line);width:34px;height:34px;color:var(--subject-color);cursor:pointer;background:#fff;border-radius:10px;font-weight:800}.quick-progress-controls input{text-align:center;padding:6px}.quick-progress-controls span{color:var(--muted);white-space:nowrap;font-size:12px}.segment-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;display:grid}.segment-grid button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;padding:9px 6px;font-size:12px}.segment-grid button.complete{border-color:var(--subject-color);background:var(--subject-soft);color:var(--subject-color);font-weight:700}.study-grid,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0;display:grid}.study-grid label:last-child{grid-column:1/-1}.daily-log-panel{padding:18px}.daily-log-panel .study-grid{gap:10px;margin:13px 0}.daily-log-panel textarea{min-height:62px}.writing-help-row{grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px;display:grid}.writing-help-row button{color:#596581;text-align:left;cursor:pointer;background:#f5f6f9;border:1px solid #dfe3ea;border-radius:11px;padding:9px 11px}.writing-help-row b{float:right}.rating-row{align-items:center;gap:7px;margin-top:16px;display:flex}.rating-row>span{color:#4f5a53;margin-right:auto;font-size:14px;font-weight:650}.rating-row button{color:#cdd2cb;cursor:pointer;background:0 0;border:0;padding:0;font-size:25px}.rating-row button.active{color:#d5a449}.page-intro{padding:20px 4px 6px}.page-intro h1{margin:7px 0 10px;font-family:Georgia,Songti SC,serif;font-size:clamp(32px,9vw,46px)}.page-intro p{max-width:560px;color:var(--muted);margin:0;line-height:1.7}.route-exam-card{background:var(--green);color:#fff;border-radius:17px;grid-template-columns:1fr auto auto;align-items:center;gap:14px;padding:14px 17px;display:grid}.route-exam-card>div{gap:3px;display:grid}.route-exam-card span{color:#cdddcf;font-size:11px}.route-exam-card b{font-family:Georgia,serif;font-size:20px}.route-exam-card input{background:#fff;max-width:150px;padding:8px;font-size:12px}.calendar-panel{justify-self:center;width:min(100%,560px);padding:18px}.calendar-head{justify-content:space-between;align-items:center;display:flex}.calendar-head h2{margin:0;font-family:Georgia,Songti SC,serif;font-size:22px}.calendar-head button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:50%;width:34px;height:34px;font-size:21px}.weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.weekdays{color:var(--muted);text-align:center;margin:20px 0 9px;font-size:11px}.calendar-grid{margin-bottom:18px}.calendar-grid button,.calendar-grid>span{cursor:pointer;background:#f7f9f5;border:1px solid #0000;border-radius:12px;height:42px;position:relative}.calendar-grid button.has-record{border-color:var(--green);background:var(--green);color:#fff;font-weight:750;box-shadow:0 5px 12px #315b4333}.calendar-grid button.has-record:after{display:none}.calendar-grid button.all-done{border-color:var(--green-dark);background:var(--green-dark);color:#fff}.calendar-grid button.selected{border-color:var(--highlight);box-shadow:inset 0 0 0 2px var(--highlight), 0 5px 12px #315b4333}.calendar-grid small{font-size:8px;position:absolute;top:3px;right:4px}.route-notes{gap:4px;display:grid}.route-notes details{border-bottom:1px solid #e8ece5}.route-notes details:last-child{border-bottom:0}.route-notes summary{cursor:pointer;padding:14px 2px;font-weight:700}.route-notes summary span{float:right;color:var(--muted);font-size:11px;font-weight:500}.route-notes p{color:var(--muted);line-height:1.65}.route-stage-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;padding:0 0 18px;display:grid}.route-copy p{margin-bottom:10px}.stage-plan-fields{gap:9px;display:grid}.stage-plan-fields textarea{min-height:66px}.subtabs,.metric-tabs,.writing-modes{background:#e7ebe5;border-radius:14px;gap:6px;padding:5px;display:flex}.subtabs button,.metric-tabs button,.writing-modes button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;padding:10px;font-size:13px;font-weight:650}.subtabs button.active,.metric-tabs button.active,.writing-modes button.active{color:var(--green);background:#fff;box-shadow:0 3px 12px #28372d14}.writing-modes{margin:0 0 18px}.writing-modes input{background:#fff;max-width:100px}.score-preview{color:#fff;background:linear-gradient(135deg,#274b36,#3f7153);border-radius:16px;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px;padding:16px;display:grid}.score-preview span{color:#cfe0d3;text-align:center;gap:3px;font-size:11px;display:grid}.score-preview span b{color:#fff;font-size:22px}.score-preview>strong{text-align:center;border-top:1px solid #ffffff29;grid-column:1/-1;padding-top:12px}.membership-code-card{background:linear-gradient(145deg,#fffaf0,#f3f6ef);border:1px solid #dac9a7;border-radius:19px;grid-template-columns:minmax(0,.8fr) minmax(260px,1.2fr);align-items:center;gap:18px;padding:18px 20px;display:grid}.membership-code-card h2{margin:3px 0 5px}.membership-code-card p{color:var(--muted);margin:0;font-size:12px}.membership-code-card .inline-editor{margin:0}.mock-timer-panel{border-color:#cfdccf}.timer-display{background:#eef3ec;border-radius:18px;justify-items:center;gap:5px;margin:15px 0;padding:18px;display:grid}.timer-display span,.timer-display small{color:var(--muted);font-size:11px}.timer-display b{color:var(--green);letter-spacing:-.06em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(42px,12vw,64px)}.mock-type-switch{grid-template-columns:1fr 1fr;gap:9px;display:grid}.mock-type-switch button{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:13px;gap:4px;padding:12px;display:grid}.mock-type-switch button.active{border-color:var(--green);background:var(--green-soft);color:var(--green)}.mock-type-switch button:disabled{cursor:not-allowed;opacity:.7}.mock-type-switch span{color:var(--muted);font-size:11px}.timer-mode-row{color:var(--muted);grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin-top:13px;font-size:11px;display:grid}.mode-switch{background:#e7ebe5;border-radius:12px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.mode-switch button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:8px}.mode-switch button.active{color:var(--green);background:#fff;font-weight:750;box-shadow:0 2px 8px #28372d14}.mode-switch button:disabled{cursor:not-allowed;opacity:.7}.timer-actions{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px;display:grid}.timer-actions button{min-height:42px}.timer-actions button:disabled{cursor:not-allowed;opacity:.45}.strict-note{color:#8b6333;text-align:center;margin:9px 0 0;font-size:11px}.primary-button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:13px;justify-content:center;align-items:center;min-height:46px;padding:0 20px;font-weight:750;text-decoration:none;display:inline-flex}.primary-button:hover{background:var(--green-dark)}.panel>.primary-button{margin-top:16px}.trend-panel{overflow:hidden}.metric-tabs{margin:15px 0;overflow-x:auto}.metric-tabs button{min-width:84px}.bar-chart{grid-template-columns:32px minmax(360px,1fr);min-height:245px;display:grid;overflow-x:auto}.bar-axis{color:var(--muted);text-align:right;flex-direction:column;justify-content:space-between;padding:7px 5px 25px 0;font-size:10px;display:flex}.bar-plot{min-width:360px;height:245px;padding:8px 8px 25px;position:relative}.bar-plot>i{border-top:1px dashed #e0e5de;height:20%;display:block;position:relative}.bar-columns{justify-content:space-around;align-items:end;gap:8px;display:flex;position:absolute;inset:8px 8px 25px}.bar-item{flex-direction:column;flex:1;justify-content:end;align-items:center;min-width:30px;height:100%;display:flex;position:relative}.bar-column{background:linear-gradient(#5d8a6d, var(--green));border-radius:8px 8px 3px 3px;width:min(42px,72%);transition:height .3s}.bar-value{color:var(--green);margin-bottom:4px;font-size:11px;font-weight:750}.bar-item>span{color:var(--muted);white-space:nowrap;font-size:9px;position:absolute;top:calc(100% + 6px)}.record-row{justify-content:space-between}.record-row>div{gap:4px;display:grid}.record-row strong{font-size:13px}.record-row span{color:var(--muted);font-size:11px}.record-row>b{color:var(--green);white-space:nowrap;font-family:Georgia,serif;font-size:20px}.qa-card{background:#fafbf8;border:1px solid #e2e7df;border-radius:16px;gap:9px;margin-top:12px;padding:16px;display:grid}.qa-card small{color:var(--gold);font-weight:750}.qa-card strong{gap:7px;line-height:1.6;display:flex}.qa-card strong>span{color:var(--green)}.qa-card p{color:#566159;margin:0;line-height:1.75}.qa-card+select,.panel>select+textarea{margin-top:12px}.panel>textarea{margin-top:10px}.question-category-tabs{scrollbar-width:none;gap:7px;margin-top:16px;padding-bottom:2px;display:flex;overflow-x:auto}.question-category-tabs::-webkit-scrollbar{display:none}.question-category-tabs button{min-width:62px;color:var(--muted);cursor:pointer;background:#fff;border:1px solid #dfe4db;border-radius:999px;padding:9px 13px;font-weight:700}.question-category-tabs button.active{border-color:var(--ink);background:var(--ink);color:var(--highlight)}.question-bank-list{overscroll-behavior:contain;max-height:620px;margin-top:8px;padding-right:4px;overflow-y:auto}.question-bank-list .qa-card{background:linear-gradient(145deg,#fffef8,#f5f4e9)}.question-bank-list .qa-card.expanded{border-color:#d5c87f;box-shadow:0 8px 24px #33342f14}.qa-expand-button{color:var(--green);text-align:left;cursor:pointer;background:0 0;border:0;border-top:1px solid #e4e3d8;justify-content:space-between;align-items:center;padding:9px 0 0;font-size:12px;font-weight:750;display:flex}.qa-expand-button span{background:var(--highlight);width:24px;height:24px;color:var(--ink);border-radius:50%;place-items:center;font-size:16px;display:grid}.qa-answer{background:#fff;border-radius:12px;gap:10px;padding:12px 13px;display:grid}.qa-answer small{color:#8a8e86;font-size:10px;font-weight:500;line-height:1.5}.member-question-panel>.muted{margin:12px 0}.member-guide{background:linear-gradient(145deg,#fffcf4f2,#f9f6ebeb);border-color:#dbc9a7}.member-guide-copy{color:#5c625c;margin:15px 0;line-height:1.75}.guide-sections{gap:10px;margin-top:15px;display:grid}.guide-sections article{background:#ffffffa6;border:1px solid #e4dbc9;border-radius:13px;padding:14px}.guide-sections article p{color:#62685f;margin:7px 0 0;line-height:1.7}.secondary-button:disabled{cursor:wait;opacity:.65}.bottom-nav{z-index:30;min-height:calc(68px + env(safe-area-inset-bottom));padding:7px max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fbfcf9f0;border-top:1px solid #d5ddd3eb;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:#7b857e;cursor:pointer;background:0 0;border:0;place-items:center;gap:2px;font-size:10px;display:grid}.bottom-nav button span{font-size:23px;line-height:1}.bottom-nav button.active{color:var(--green);font-weight:750}.network-banner,.pwa-tip{z-index:50;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;max-width:720px;margin:auto;padding:11px 14px;font-size:12px;display:flex;position:fixed;left:12px;right:12px;box-shadow:0 10px 35px #00000024}.network-banner{top:max(8px, env(safe-area-inset-top));color:#fff;background:#803f37}.pwa-tip{bottom:calc(82px + env(safe-area-inset-bottom));color:#fff;background:#243f31}.pwa-tip button{color:var(--green);cursor:pointer;background:#fff;border:0;border-radius:8px;flex:none;padding:5px 8px}.sheet-mask{z-index:60;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#161f196b;justify-content:flex-end;display:flex;position:fixed;inset:0}.profile-sheet{width:min(100%,430px);max-height:100vh;padding:max(24px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) 22px;background:#fbfcf9;align-content:start;gap:17px;animation:.24s ease-out sheet-in;display:grid;overflow-y:auto;box-shadow:-20px 0 60px #1a291e29}@keyframes sheet-in{0%{transform:translate(100%)}to{transform:translate(0)}}.sheet-head button{color:var(--muted);cursor:pointer;background:0 0;border:0}.anonymous-note,.bind-box{color:#765c31;background:#fff5df;border-radius:14px;padding:14px;font-size:13px;line-height:1.65}.bind-box{color:#45584a;background:#eaf1eb}.bind-box h3{margin-bottom:6px}.bind-box p{margin-bottom:0}.bind-box .inline-editor{margin-top:12px}.existing-login{color:var(--green);margin-top:12px;font-size:12px;font-weight:700;text-decoration:none;display:inline-block}.admin-link{background:var(--green-soft);color:var(--green);text-align:center;border-radius:12px;padding:13px;font-weight:700;text-decoration:none}.privacy-actions{border-top:1px solid var(--line);gap:4px;padding-top:12px;display:grid}.privacy-actions a,.privacy-actions button{color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;padding:11px 4px;font-size:13px;text-decoration:none}.dialog-mask{z-index:90;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#161f197a;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.help-dialog{background:#fffefa;border-radius:22px;width:min(100%,460px);max-height:min(78vh,620px);padding:23px;overflow-y:auto;box-shadow:0 24px 70px #14231940}.help-dialog h2{margin:0;font-size:21px}.help-dialog p{color:#536058;margin:16px 0 0;line-height:1.75}.help-dialog .primary-button{width:100%;margin-top:20px}.dialog-close{width:34px;height:34px;color:var(--muted);cursor:pointer;background:#eef2ec;border:0;border-radius:50%;font-size:22px}.toast{z-index:100;right:50%;bottom:calc(92px + env(safe-area-inset-bottom));color:#fff;text-align:center;background:#29362d;border-radius:999px;max-width:min(90vw,440px);padding:12px 18px;font-size:13px;position:fixed;transform:translate(50%);box-shadow:0 12px 40px #14231938}.toast.error{background:#883e36}.toast.success{background:#315b43}.loading-page,.legal-page{text-align:center;align-content:center;justify-items:center;width:min(100% - 40px,720px);min-height:100vh;margin:0 auto;padding:50px 0;display:grid}.loading-page p{color:var(--muted)}.spinner{border:3px solid #dce4dc;border-top-color:var(--green);border-radius:50%;width:36px;height:36px;margin-bottom:20px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-page .primary-button{margin-top:12px}.legal-page{text-align:left;display:block}.legal-page h1{margin-top:36px;font-size:36px}.legal-page h2{margin-top:28px}.legal-page p{color:#546057;line-height:1.85}.text-link{color:var(--green);font-weight:700;text-decoration:none}.login-page{min-height:100vh;padding:max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));place-items:center;display:grid}.login-card{border:1px solid var(--line);width:min(100%,430px);box-shadow:var(--shadow);background:#fffffcf0;border-radius:26px;gap:18px;padding:30px;display:grid}.login-card h1{margin:0;font-family:Georgia,Songti SC,serif;font-size:34px}.login-card>p{color:var(--muted);margin:-5px 0 4px;line-height:1.7}.login-card .text-link{justify-self:center;font-size:13px}.login-message{color:#315b43;background:#e4efe6;border-radius:12px;padding:11px 13px;font-size:13px;line-height:1.6}.login-message.error{color:var(--danger);background:#f7e4e2}.primary-button:disabled{cursor:wait;opacity:.65}.admin-page{width:min(100% - 40px,1180px);margin:0 auto;padding:36px 0 60px}.admin-header{margin-bottom:24px}.admin-header h1{margin:4px 0 0;font-family:Georgia,Songti SC,serif}.admin-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);align-items:start;gap:18px;display:grid}.admin-question label{margin-top:5px}.admin-actions{justify-content:flex-end;gap:9px;display:flex}.admin-members{position:sticky;top:20px}.member-row{justify-content:space-between}.member-row select{width:auto;min-width:110px}@media (min-width:801px){.bottom-nav{border:1px solid #d5ddd3eb;border-radius:22px;width:min(470px,100% - 32px);min-height:64px;padding:6px;bottom:16px;left:auto;right:50%;transform:translate(50%);box-shadow:0 15px 45px #202f251f}.page-content{padding-top:34px}}@media (max-width:700px){.page-content{gap:13px;width:min(100% - 24px,560px);padding-top:16px}.panel{border-radius:19px;padding:18px}.hero{border-radius:24px;grid-template-columns:1fr;min-height:270px;padding:23px}.countdown{min-width:135px;position:absolute;top:22px;right:20px}.countdown b{font-size:38px}.hero>div:first-child{padding-top:96px}.study-grid,.form-grid{grid-template-columns:1fr}.study-grid label:last-child{grid-column:auto}.admin-grid{grid-template-columns:1fr}.admin-members{position:static}.route-stage-grid,.membership-code-card{grid-template-columns:1fr}.membership-code-card .inline-editor{margin-top:2px}.question-bank-list{max-height:64vh}}@media (max-width:430px){.topbar{padding-left:14px;padding-right:14px}.topbar .eyebrow{display:none}.page-content{width:calc(100% - 20px)}.hero{padding:20px}.hero p{font-size:13px}.panel{padding:16px}.panel-heading{align-items:flex-start}.subject-heading{grid-template-columns:42px minmax(0,1fr)}.subject-heading .back-button{grid-column:1/-1;justify-self:start;padding-left:0}.segment-grid{grid-template-columns:repeat(2,1fr)}.score-preview{padding:13px 10px}.calendar-grid{gap:3px}.calendar-grid button{border-radius:9px}.writing-modes{flex-wrap:wrap}.writing-modes input{max-width:none}.inline-editor{grid-template-columns:1fr}.inline-editor button{min-height:42px}.route-exam-card{grid-template-columns:1fr auto}.route-exam-card input{grid-column:1/-1;max-width:none}.calendar-grid button,.calendar-grid>span{height:36px}.mock-type-switch{grid-template-columns:1fr}.timer-mode-row{text-align:center;grid-template-columns:1fr}.timer-actions{grid-template-columns:1fr 1fr 1fr}.writing-help-row{grid-template-columns:1fr}.admin-actions{flex-direction:column}.admin-actions>*{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
