.settings-card.account-profile,.settings-card.account-security{background:var(--theme-surface);border-color:var(--theme-border);padding:clamp(22px,3vw,36px)}.profile-identity{align-items:center;gap:20px;display:flex}.profile-avatar-button{background:0 0;border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.profile-avatar-button .avatar{width:80px;height:80px;box-shadow:0 0 0 5px var(--theme-accent-surface);flex:0 0 80px;font-size:28px}.profile-avatar-button:hover:not(:disabled) .avatar{box-shadow:0 0 0 5px var(--theme-accent-border)}.profile-identity-copy{min-width:0}.profile-identity h3{color:var(--theme-ink);overflow-wrap:anywhere;margin:0 0 4px;font-size:clamp(21px,2vw,26px)}.profile-identity p{overflow-wrap:anywhere;margin:0 0 10px}.profile-role{background:var(--theme-accent-surface);color:var(--theme-accent-ink);border-radius:999px;padding:4px 10px;font-size:13px;font-weight:600;display:inline-flex}.account-profile .profile-avatar-actions{gap:16px;margin:24px 0 28px}.account-profile .profile-details{border-top:1px solid var(--theme-border);grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:none;margin:0;padding-top:24px;display:grid}.profile-details>div{min-width:0}.profile-details dt{color:var(--theme-ink-muted);margin-bottom:8px;font-size:13px}.account-profile .profile-details dd{overflow-wrap:anywhere;color:var(--theme-ink);margin:0;font-size:15px}.account-profile .profile-details dd strong{font-size:15px;font-weight:600}.account-profile .account-profile-actions{border-top:1px solid var(--theme-border);margin-top:24px;padding-top:24px}.account-profile .profile-edit{max-width:560px;padding-top:24px}.settings-card .account-section-heading{align-items:center;gap:0;margin-bottom:24px;display:flex}.settings-card .account-section-heading h2{color:var(--theme-ink);margin:0;font-size:20px}.security-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.settings-grid.account-privacy-grid{grid-template-columns:minmax(0,1fr)}.reminder-settings{justify-items:start;gap:16px;margin-top:20px;display:grid}.reminder-switches{justify-items:start;gap:2px;display:grid}.study-reminder-card:has(.reminder-switches:last-child){padding-bottom:16px}.reminder-settings .settings-switch{min-height:32px;color:var(--theme-ink);cursor:pointer;flex-direction:row;align-items:center;gap:10px;display:inline-flex;position:relative}.settings-switch input{opacity:0;position:absolute}.settings-switch-track{border:1px solid var(--theme-ink-muted);background:var(--theme-surface-muted);border-radius:999px;flex:none;align-items:center;width:42px;height:24px;padding:2px;display:flex}.settings-switch-track:after{content:"";background:var(--theme-ink-muted);width:18px;height:18px;transition:transform .16s var(--motion-ease);border-radius:50%}.settings-switch input:checked+.settings-switch-track{background:#2463ed;border-color:#2463ed}.settings-switch input:checked+.settings-switch-track:after{background:#fff;transform:translate(18px)}.settings-switch input:focus-visible+.settings-switch-track{outline:2px solid var(--theme-accent-ink);outline-offset:2px}.settings-switch:has(input:disabled){cursor:default;opacity:.65}@media (prefers-reduced-motion:reduce){.settings-switch-track:after{transition:none}}@media (forced-colors:active){.settings-switch-track:after,.settings-switch input:checked+.settings-switch-track:after{background:buttontext}}.study-reminder-card .reminder-time{justify-items:start;gap:8px;width:100%;display:grid}.reminder-time-controls{flex-wrap:wrap;align-items:flex-end;gap:8px 12px;display:flex}.reminder-time-controls>label{margin:0}.study-reminder-card .reminder-time input{font-variant-numeric:tabular-nums;align-self:flex-start;width:auto;padding-inline:10px}.reminder-time input::-webkit-datetime-edit{padding:0}.reminder-time input::-webkit-calendar-picker-indicator{margin-inline-start:8px;padding:2px}.settings-card .security-password-form{margin:0}.security-password-form input{width:100%}.security-option{border:1px solid var(--theme-border);background:var(--theme-surface-muted);border-radius:16px;flex-direction:column;align-items:flex-start;padding:clamp(16px,2.5vw,24px);display:flex}.security-option>svg{color:var(--theme-accent-ink)}.security-option h3{color:var(--theme-ink);margin:12px 0 6px;font-size:16px}.security-option p{margin:0 0 20px}.security-option .btn{white-space:normal;max-width:100%;margin-top:auto}@media (width<=720px){.account-profile .profile-details{grid-template-columns:minmax(0,1fr);gap:20px}.security-content{grid-template-columns:minmax(0,1fr)}.profile-identity{gap:16px}.profile-avatar-button .avatar{flex-basis:64px;width:64px;height:64px}.account-section-heading{align-items:flex-start}.account-profile .profile-avatar-actions .btn{flex:1}.account-profile .account-profile-actions .btn{width:100%}}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-400-normal.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-ext-400-normal.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-400-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-500-normal.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-ext-500-normal.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-500-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-600-normal.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-ext-600-normal.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-600-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-700-normal.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-ext-700-normal.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-700-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-400-italic.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-ext-400-italic.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:italic;font-display:swap;font-weight:400;src:url(/fonts/be-vietnam-pro/be-vietnam-pro-latin-400-italic.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font-ui:"Be Vietnam Pro", "Segoe UI", Arial, sans-serif;font-family:var(--font-ui);color:var(--theme-ink,#2c3038);background:var(--theme-page,#f8fafb);font-synthesis:none;--accent:#0751d4;--accent-hover:#0842b7;--muted:#838692;--line:#e5ebf0;--radius:15px}*{box-sizing:border-box}body{min-width:0;margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button{color:inherit}a{color:var(--theme-accent-ink,var(--accent));text-decoration:none}button,input,select,textarea,a{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid var(--theme-accent-border,#a1c3e4)}input:focus,select:focus,textarea:focus{outline:2px solid var(--theme-accent-border,#abc9e6);border-color:var(--accent)}h1,h2,h3,h4,p{margin:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:29px;font-weight:650;line-height:1.4}h2{font-size:20px;font-weight:650}h3{font-size:16px;font-weight:650}p{line-height:1.7}svg{vertical-align:middle;flex-shrink:0}::selection{background:var(--theme-accent-surface,#e4eef7)}small{font-size:14px}code{background:var(--theme-accent-surface,#eef3f8);border-radius:4px;padding:2px 4px;font-size:14px}input[type=checkbox]{accent-color:var(--accent);cursor:pointer;flex-shrink:0;width:17px;height:17px;margin:0}label{flex-direction:column;gap:8px;margin-bottom:18px;font-size:14px;font-weight:600;display:flex}input:not([type=checkbox]),select,textarea{border:1px solid var(--theme-border,#e3e5e7);background:var(--theme-surface,#fff);width:100%;min-width:0;min-height:43px;color:var(--theme-ink,#363943);border-radius:9px;padding:10px 12px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:var(--theme-placeholder,#657181);opacity:1;font-weight:400}textarea{resize:vertical;line-height:1.7}select{cursor:pointer;font-size:14px}fieldset{border:0;margin:0;padding:0}legend{margin-bottom:8px;padding:0;font-size:14px;font-weight:600}table{border-collapse:collapse;width:100%}th{text-align:left;color:var(--muted);font-size:14px;font-weight:500}th,td{padding:19px 22px}td{border-top:1px solid var(--line);font-size:14px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.btn{border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:12px 17px;font-size:14px;font-weight:600;transition:background .18s,transform .18s,box-shadow .18s;display:inline-flex}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.primary{background:var(--accent);color:#fff;box-shadow:0 3px 7px #5690c919}.btn.secondary{border-color:color-mix(in srgb, var(--theme-border) 72%, var(--theme-ink-muted));background:var(--theme-surface,white);color:var(--theme-ink,#273442)}.btn.secondary:hover:not(:disabled){background:var(--theme-accent-surface,#f3f7fb)}.btn.danger{color:#fff;background:#bd4b56}.btn.full{width:100%}.btn.small-btn{min-height:34px;padding:8px 11px;font-size:14px}.icon-btn{width:33px;height:33px;color:var(--theme-ink-muted,#666d75);background:0 0;border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;transition:background .15s;display:inline-flex}.icon-btn:hover:not(:disabled){background:var(--theme-accent-surface,#edf2f6);color:var(--theme-accent-ink,var(--accent))}.text-btn,.back-link,.danger-link{color:var(--theme-accent-ink,var(--accent));background:0 0;border:0;align-items:center;gap:7px;padding:0;font-size:14px;font-weight:600;display:inline-flex}.text-btn:hover,.back-link:hover{text-decoration:underline}.back-link{color:var(--theme-ink-muted,#666d75);margin-bottom:24px;font-size:14px}.danger-link{color:var(--theme-danger-ink,#8f4d54);margin-top:25px;font-weight:500}.button-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.badge{background:var(--theme-accent-surface,#edf3fa);color:var(--theme-ink-muted,#4d6e8f);white-space:nowrap;letter-spacing:.02em;border-radius:6px;align-items:center;gap:6px;padding:5px 8px;font-size:12px;font-weight:600;line-height:1.3;display:inline-flex}.badge.green{background:var(--theme-green-surface,#eaf4ef);color:var(--theme-success-ink,#568570)}.badge.amber{background:var(--theme-warm-surface,#fbf0df);color:var(--theme-warning-ink,#a27c3e)}.panel{border:1px solid var(--line);background:var(--theme-surface,white);border-radius:13px;overflow:hidden}.lavender{background:var(--theme-surface-muted,#eef2f5);color:var(--theme-ink-muted,#657387)}.sage{background:var(--theme-green-surface,#eaf1e9);color:var(--theme-success-ink,#5f7c62)}.peach{background:var(--theme-warm-surface,#faeee4);color:var(--theme-ink-muted,#8f6a4d)}.blue{background:var(--theme-blue-surface,#e7f2fc);color:var(--theme-accent-ink,#085fb5)}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.loading{min-height:180px;color:var(--theme-ink-muted,#566e85);justify-content:center;align-items:center;gap:12px;font-size:14px;display:flex}.error-message{background:var(--theme-red-surface,#fbedee);color:var(--theme-danger-ink,#a04754);border:1px solid var(--theme-danger-border,#f3d5db);overflow-wrap:anywhere;border-radius:8px;margin:12px 0;padding:12px 14px;font-size:14px;line-height:1.6}.error-message .text-btn{margin-left:12px}.field-note{color:var(--theme-ink-muted,#666d75);font-size:13px;font-weight:400;line-height:1.75}.notice{border:1px solid var(--theme-border,#e3ecf5);background:var(--theme-accent-surface,#f5f9fc);color:var(--theme-ink-muted,#4f6e8d);border-radius:10px;align-items:flex-start;gap:12px;margin:18px 0;padding:15px;font-size:14px;line-height:1.7;display:flex}.notice svg{margin-top:3px}.notice strong{color:var(--theme-ink-muted,#657a8f);font-size:14px}.notice p{font-size:14px;line-height:1.7}.notice .btn{margin-top:10px}.notice.amber{background:var(--theme-warm-surface,#fffbf1);border-color:var(--theme-warning-border,#f1e5c8);color:var(--theme-warning-ink,#8c7850)}.toast{z-index:100;background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#dfe7ef);border-radius:12px;align-items:center;gap:12px;width:max-content;max-width:min(650px,100vw - 30px);padding:8px 12px;font-size:14px;line-height:1.6;animation:.18s ease-out both toast-enter;display:flex;position:fixed;bottom:25px;left:50%;translate:-50%;box-shadow:0 10px 45px #2838471c}.toast.is-closing{pointer-events:none;animation:.18s ease-in both toast-exit}.toast>span{overflow-wrap:anywhere;min-width:0}.toast>:is(svg,button){flex-shrink:0}@keyframes toast-enter{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-exit{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(14px)}}@media (prefers-reduced-motion:reduce){.toast,.toast.is-closing{animation:none}}.toast>svg{color:var(--theme-accent-ink,var(--accent))}.brand{letter-spacing:-1.6px;color:var(--theme-ink,#32363a);align-items:center;gap:10px;font-size:27px;font-weight:750;display:inline-flex}.brand-mark{color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:37px;height:37px;display:flex;overflow:hidden;box-shadow:0 3px 5px #5582ae17}.brand-mark svg{width:100%;height:100%;display:block}.app-shell{min-height:100vh}.sidebar{width:var(--sidebar-width,288px);background:var(--sidebar-surface,var(--theme-surface,#fff));border-right:1px solid var(--line);z-index:30;flex-direction:column;padding:30px 19px 0;display:flex;position:fixed;inset:0 auto 0 0}.sidebar>.brand{margin:0 12px 33px}.nav-label{letter-spacing:.4px;color:var(--theme-ink-muted,#666e76);margin:0 15px 12px;font-size:12px;font-weight:650}.sidebar nav{flex-direction:column;gap:5px;display:flex}.sidebar nav button{color:var(--theme-ink-muted,#666d75);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;min-height:44px;padding:13px 15px;font-size:14px;font-weight:500;display:flex}.sidebar nav button:hover{background:var(--theme-accent-surface,#f5f9fc);color:var(--theme-ink-muted,#506e8b)}.sidebar nav button.active{background:var(--theme-accent-surface,#ecf3fa);color:var(--theme-accent-ink,var(--accent));font-weight:600}.sidebar nav button.active svg{stroke-width:2px}.sidebar nav button small{background:var(--theme-accent-surface,#deeaf6);color:var(--theme-ink-muted,#4d6e8f);border-radius:4px;margin-left:auto;padding:1px 5px;font-size:12px}.sidebar-bottom{margin-top:auto;padding-top:35px}.sidebar-cta{background:var(--theme-accent-surface,#f6fafd);border:1px solid var(--theme-border,#e7eef5);border-radius:12px;margin:0 4px 22px;padding:15px 15px 11px;position:relative}.mini-sparkle{color:var(--theme-ink-muted,#4d6e8f);margin-bottom:11px;display:block}.sidebar-cta strong{color:var(--theme-ink-muted,#666e76);font-size:13px;font-weight:600;line-height:1.6;display:block}.sidebar-cta p{color:var(--theme-ink-muted,#666e76);margin-top:6px;font-size:12px;line-height:1.7}.sidebar-cta button{color:var(--theme-ink-muted,#4d6e8f);border:0;border-top:1px solid var(--theme-border,#e3ebf3);background:0 0;justify-content:space-between;align-items:center;width:100%;margin-top:12px;padding:12px 0 0;font-size:12px;font-weight:600;display:flex}.privacy-status{color:var(--theme-ink-muted,#666d75);justify-content:center;align-items:center;gap:6px;margin-bottom:18px;font-size:12px;display:flex}.status-dot{background:#9eb8a5;border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block}.sidebar-user{border-top:1px solid var(--theme-border,#edf1f5);align-items:center;gap:4px;padding:20px 1px;display:flex}.user-profile{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.user-profile>span:last-child{flex:1;min-width:0;overflow:hidden}.compact-name{position:relative}.compact-name-measure{visibility:hidden;white-space:nowrap;pointer-events:none;width:max-content;position:absolute}.compact-name-measure>span{width:max-content;display:block}.user-profile strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;display:block;overflow:hidden}.user-profile small{color:var(--theme-ink-muted,#666d75);margin-top:4px;font-size:12px;display:block}.avatar{background:var(--theme-accent-surface,#e2ecf5);color:var(--theme-ink-muted,#566e85);border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:14px;font-weight:600;display:inline-flex}.main-shell{margin-left:var(--sidebar-width,288px);flex-direction:column;min-height:100vh;display:flex}.topbar{background:var(--theme-surface,#ffffffd9);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;height:76px;padding:0 36px;display:flex}.breadcrumb{white-space:nowrap;color:var(--theme-ink-muted,#666d75);align-items:center;gap:12px;font-size:13px;display:flex}.breadcrumb strong{color:var(--theme-ink-muted,#676e75);font-weight:500}.breadcrumb>svg{color:var(--theme-ink-muted,#666d75)}.topbar-right{align-items:center;gap:17px;display:flex}.search-field{background:var(--theme-surface,#fff);border:1px solid var(--line,#edf0f2);color:var(--theme-ink-muted,#666d75);border-radius:999px;align-items:center;gap:9px;padding:0 14px;display:flex}.search-field input{outline-offset:0;background:0 0;border:0;min-height:36px;padding:8px 0;font-size:13px}.global-search{width:236px}.help-button{color:var(--theme-ink-muted,#666d75)}.main-content{flex:1;width:100%;max-width:1520px;margin:0 auto;padding:33px 36px 46px}.main-footer{border-top:1px solid var(--theme-border,#edf0f3);color:var(--theme-ink-muted,#666e76);justify-content:space-between;margin:0 36px;padding:19px 0;font-size:12px;display:flex}.main-footer>span{align-items:center;gap:7px;display:flex}.mobile-menu,.sidebar-close,.sidebar-scrim{display:none}.page-intro{justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px;display:flex}.page-intro h1{letter-spacing:-.8px;font-size:25px;font-weight:650}.page-intro p{color:var(--theme-ink-muted,#666e76);margin-top:6px;font-size:13px}.wave{color:var(--theme-ink-muted,#8f7d4d);margin-left:5px;font-size:25px;display:inline-block;transform:rotate(15deg)}.date-pill{color:var(--theme-ink-muted,#666d75);white-space:nowrap;align-self:flex-end;margin-bottom:7px;font-size:12px}.hero{background:var(--theme-accent-surface,#ecf3fa);border:1px solid var(--theme-border,#e2ecf5);border-radius:15px;justify-content:space-between;align-items:center;min-height:279px;margin-bottom:23px;padding:28px 32px;display:flex;position:relative;overflow:hidden}.hero-copy{z-index:1}.hero h2{letter-spacing:-1.2px;color:var(--theme-ink,#40505f);margin:0 0 16px;font-size:31px;font-weight:650;line-height:1.35}.hero h2>span{color:var(--theme-accent-ink,#596e82)}.hero p{color:var(--theme-ink-muted,#666d75);font-size:16px;line-height:1.9}.hero .btn{border-radius:8px;min-height:38px;margin-top:21px;padding:10px 14px;font-size:13px}.hero .btn>svg:last-child{margin-left:8px}.hero-footnote{color:var(--theme-ink-muted,#596e82);margin-top:11px;font-size:13px;display:block}.book-art{flex-shrink:0;width:340px;max-width:43%;margin:-20px -9px -20px -30px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:31px;display:grid}.stat-card{background:var(--theme-surface,white);border:1px solid var(--line);border-radius:11px;padding:17px 19px 18px}.stat-label{color:var(--theme-ink-muted,#666e76);justify-content:space-between;align-items:center;gap:7px;font-size:12px;display:flex}.stat-icon{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.stat-value{letter-spacing:-.8px;color:var(--theme-ink-muted,#585f66);margin-top:8px;font-size:27px;font-weight:650;line-height:1.3}.stat-value>span{letter-spacing:0;color:var(--theme-ink-muted,#666d75);margin:6px 0 0;font-size:12px;font-weight:400;line-height:1.5;display:block}.dashboard-columns{grid-template-columns:minmax(0,1fr) 243px;gap:24px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px;display:flex}.section-heading h2{color:var(--theme-ink-muted,#5c636a);letter-spacing:-.5px;align-items:center;gap:8px;font-size:16px;display:flex}.section-heading p{color:var(--theme-ink-muted,#666d75);margin-top:6px;font-size:12px}.section-heading .text-btn{color:var(--theme-accent-ink,#5c7380);gap:6px;font-size:12px}.count-bubble{color:var(--theme-ink-muted,#666d75);background:var(--theme-accent-surface,#ebf0f4);letter-spacing:0;border-radius:5px;padding:3px 6px;font-size:12px;font-weight:500}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;display:grid}.course-card{border:1px solid var(--line);background:var(--theme-surface,#fff);text-align:left;border-radius:12px;min-width:0;padding:0;transition:transform .2s,box-shadow .2s;display:block;overflow:hidden}.course-card:hover{transform:translateY(-3px);box-shadow:0 9px 24px #4b678210}.course-cover{border-radius:8px;height:130px;margin:7px 7px 0;position:relative;overflow:hidden}.cover-icon{z-index:1;opacity:.7;position:absolute;bottom:25px;right:32px;transform:rotate(-12deg)}.cover-circle{opacity:.14;border:1px solid;border-radius:50%;width:153px;height:153px;position:absolute;bottom:-52px;right:-22px}.cover-circle:after{content:"";border:1px solid;border-radius:50%;position:absolute;inset:20px}.cover-grid{opacity:.025;background-image:linear-gradient(currentColor 1px,#0000 1px),linear-gradient(90deg,currentColor 1px,#0000 1px);background-size:28px 28px;position:absolute;inset:0}.subject-tag{letter-spacing:.8px;font-size:12px;font-weight:600;position:absolute;top:15px;left:16px}.cover-dots{opacity:.35;letter-spacing:3px;font-size:19px;line-height:.65;position:absolute;bottom:19px;left:18px}.sample-tag{letter-spacing:1px;border:1px solid var(--theme-border,#ffffffa1);background:var(--theme-surface,#ffffff72);color:inherit;z-index:2;border-radius:4px;padding:4px 5px;font-size:12px;position:absolute;bottom:13px;right:13px}.course-meta{color:var(--theme-ink-muted,#666d75);align-items:center;gap:5px;font-size:12px;line-height:1.5;display:flex}.course-meta>span{margin:0 2px}.course-card h3{color:var(--theme-ink-muted,#6a727b);letter-spacing:-.25px;white-space:nowrap;text-overflow:ellipsis;margin-top:7px;font-size:14px;font-weight:600;line-height:1.6;overflow:hidden}.course-card-footer{color:var(--theme-ink-muted,#666d75);justify-content:space-between;align-items:center;gap:5px;margin-top:17px;font-size:12px;display:flex}.circle-arrow{border:1px solid var(--theme-border,#eaeef2);width:24px;height:24px;color:var(--theme-ink-muted,#566e85);border-radius:50%;justify-content:center;align-items:center;display:flex}.thin-progress{background:var(--theme-accent-surface,#f0f3f6);border-radius:4px;height:3px;margin-top:12px}.thin-progress>span{background:var(--progress-fill);border-radius:4px;height:3px;display:block}.new-course-card{border:1px dashed var(--theme-border,#dce3eb);background:var(--theme-accent-surface,#f7fafc);min-height:244px;color:var(--theme-ink-muted,#596e82);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:11px;transition:background .2s;display:flex}.new-course-card:hover{background:var(--theme-accent-surface,#edf3f9)}.new-course-card>span{border:1px solid var(--theme-border,#dee7ef);border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;margin-bottom:2px;display:flex}.new-course-card strong{font-size:13px;font-weight:500}.new-course-card small{color:var(--theme-ink-muted,#586e83);font-size:12px}.first-course{background:var(--theme-surface,#fff);border:1px solid var(--line);text-align:center;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;min-height:278px;padding:29px 18px;display:flex}.first-course-icon{background:var(--theme-green-surface,#f0f4ed);width:52px;height:52px;color:var(--theme-ink-muted,#6a7e5d);border-radius:15px;justify-content:center;align-items:center;margin-bottom:15px;display:flex}.first-course h3{color:var(--theme-ink-muted,#666d75);font-size:16px;font-weight:600}.first-course p{color:var(--theme-ink-muted,#666d75);margin:10px 0 20px;font-size:12px}.first-course .btn{min-height:35px;padding:8px 11px;font-size:12px}.sample-caption{color:var(--theme-ink-muted,#5c7380);margin-top:15px;font-size:12px}.activity-card{background:var(--theme-surface,#fff);border:1px solid var(--line);border-radius:12px;margin-bottom:18px;padding:20px 19px}.activity-card .section-heading{margin-bottom:19px}.activity-card h3{letter-spacing:-.3px;color:var(--theme-ink-muted,#666e76);font-size:14px}.mini-dot{background:var(--theme-accent-surface,#adbece);border-radius:50%;width:5px;height:5px}.activity-value{color:var(--theme-ink-muted,#666d75);letter-spacing:-.7px;font-size:25px;font-weight:600}.activity-value span{letter-spacing:0;color:var(--theme-ink-muted,#5c7380);margin-left:5px;font-size:12px;font-weight:400}.activity-chart{justify-content:space-between;align-items:flex-end;gap:12px;height:115px;margin-top:17px;display:flex}.chart-column{flex-direction:column;align-items:center;gap:12px;width:16px;height:100%;display:flex}.bar-track{background:var(--theme-accent-surface,#f8fbfd);border-radius:4px;flex:1;align-items:flex-end;width:100%;display:flex}.bar-track>span{background:var(--theme-viz-fill,#dce8f3);border-radius:4px;width:100%;min-height:3px}.bar-track>span.today{background:var(--theme-accent-ink,#97b5d3)}.chart-column>span{color:var(--theme-ink-muted,#596e83);font-size:12px}.chart-column>span.today-label{color:var(--theme-ink-muted,#4e6e8d);font-weight:600}.activity-card>p{border-top:1px solid var(--theme-border,#eef3f7);color:var(--theme-ink-muted,#586e84);align-items:center;gap:5px;margin-top:17px;padding-top:13px;font-size:12px;display:flex}.legend-dot{background:var(--theme-accent-surface,#a2bad1);border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block}.tip-card{background:var(--theme-warm-surface,#f4f2e9);border:1px solid var(--theme-border,#eae6d8);color:var(--theme-ink-muted,#857b56);border-radius:12px;padding:22px 20px}.tip-symbol{color:var(--theme-ink-muted,#8d7f4f);margin-bottom:14px;display:block}.tip-card h3{color:var(--theme-ink-muted,#827959);letter-spacing:-.4px;margin:9px 0 8px;font-size:16px;line-height:1.6}.tip-card p{color:var(--theme-ink-muted,#867956);font-size:12px;line-height:1.9}.tip-bottom{border-top:1px solid var(--theme-border,#e7e0cb);justify-content:space-between;align-items:center;margin-top:20px;padding-top:13px;font-size:12px;display:flex}.recent-title{margin-top:29px}.subtle-empty{background:var(--theme-surface,#fff);border:1px solid var(--line);color:var(--theme-ink-muted,#586e84);border-radius:11px;align-items:center;gap:12px;padding:22px;font-size:12px;display:flex}.history-preview,.history-row{background:var(--theme-surface,#fff)}.history-preview{border:1px solid var(--line);border-radius:11px;overflow:hidden}.history-row{text-align:left;border:0;border-bottom:1px solid var(--theme-border,#eef2f5);align-items:center;gap:12px;width:100%;padding:17px 19px;display:flex}.history-row:last-child{border:0}.history-row:hover{background:var(--theme-accent-surface,#f8fbfd)}.history-icon{border-radius:9px;justify-content:center;align-items:center;width:35px;height:35px;display:flex}.history-name strong{color:var(--theme-ink-muted,#666e76);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;display:block;overflow:hidden}.history-name small{color:var(--theme-ink-muted,#566e86);margin-top:6px;font-size:12px;display:block}.history-row>.badge{font-size:12px}.history-row>svg{color:var(--theme-ink-muted,#576e84)}.filter-bar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px;display:flex}.filter-bar>select{background-color:var(--theme-surface,#fff);width:auto;min-width:150px;min-height:36px;padding:8px 12px;font-size:13px}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.library-grid .course-cover{height:150px}.empty{text-align:center;background:var(--theme-surface,#fff);border:1px solid var(--line);border-radius:13px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:35px 20px;display:flex}.empty-icon{background:var(--theme-accent-surface,#edf3f9);width:58px;height:58px;color:var(--theme-ink-muted,#4d6e8f);border-radius:18px;justify-content:center;align-items:center;margin-bottom:20px;display:flex}.empty h3{color:var(--theme-ink-muted,#666d75);font-size:17px}.empty p{color:var(--theme-ink-muted,#5a6e82);max-width:430px;margin:12px 0 22px;font-size:14px}.empty .btn{margin-top:5px}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:70;justify-content:center;align-items:center;padding:25px;display:flex;position:fixed;inset:0;overflow:auto}.modal{background:var(--theme-surface,white);border:1px solid var(--theme-border,#e9eff4);border-radius:18px;width:100%;max-width:535px;max-height:calc(100dvh - 50px);padding:27px 29px;overflow-y:auto;box-shadow:0 20px 100px #1f324530}.modal.wide{max-width:700px}.modal-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.modal-head h2{color:var(--theme-ink-muted,#5e656c);font-size:21px;font-weight:600}.modal-head p{color:var(--theme-ink-muted,#5b7280);margin-top:7px;font-size:13px;line-height:1.8}.modal-actions{justify-content:flex-end;align-items:stretch;gap:10px;display:flex}.form-columns{grid-template-columns:1fr 1fr;gap:17px;display:grid}.color-options{align-items:center;gap:9px;min-height:43px;display:flex}.color-swatch{outline:1px solid var(--theme-border,#e9eff4);border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.color-swatch.selected{outline:2px solid var(--theme-accent-border,#a1b8ce)}.drop-zone{border:1px dashed var(--theme-border,#cbdae9);background:var(--theme-accent-surface,#fafcfd);cursor:pointer;text-align:center;border-radius:11px;flex-direction:column;align-items:center;gap:7px;padding:25px 16px;transition:background .2s;display:flex}.drop-zone.disabled{opacity:.5;cursor:not-allowed}.drop-zone.dragging,.drop-zone:hover:not(.disabled){background:var(--theme-accent-surface,#ebf2f9);border-color:var(--theme-border,#93b1ce)}.upload-symbol{background:var(--theme-accent-surface,#eaf2f9);width:46px;height:46px;color:var(--theme-ink-muted,#4d6e8f);border-radius:13px;justify-content:center;align-items:center;margin-bottom:6px;display:flex}.drop-zone strong{color:var(--theme-ink-muted,#5b7280);font-size:14px;font-weight:500}.drop-zone>span:not(.upload-symbol){color:var(--theme-ink-muted,#546e88);font-size:13px}.drop-zone b{color:var(--theme-ink-muted,#4d6e8f);font-weight:500}.drop-zone small{color:var(--theme-ink-muted,#576e84);margin-top:5px;font-size:12px}.upload-quota{color:var(--theme-ink-muted,#576e84);justify-content:space-between;margin:11px 1px 23px;font-size:12px;display:flex}.file-list{border:1px solid var(--theme-border,#e7eef4);border-radius:10px;margin-bottom:22px;overflow:hidden}.file-row{border-bottom:1px solid var(--theme-border,#eef3f8);align-items:center;gap:12px;min-width:0;padding:13px 12px;display:flex}.file-row:last-child{border-bottom:0}.file-row>svg{color:var(--theme-ink-muted,#4d6e8f)}.file-row>span:not(.file-type){flex:1;min-width:0}.file-row strong{color:var(--theme-ink-muted,#666d75);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;display:block;overflow:hidden}.file-row small{color:var(--theme-ink-muted,#546e87);margin-top:5px;font-size:12px;display:block}.auth-layout{background:var(--theme-surface,#fff);grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-story{background:var(--theme-accent-surface,#eef3f9);flex-direction:column;min-height:100vh;padding:38px 50px 24px;display:flex;position:relative;overflow:hidden}.auth-story .brand{font-size:28px}.auth-story-content{text-align:center;margin:auto 0;padding:40px 0}.auth-story h1{color:var(--theme-ink-muted,#5b6269);letter-spacing:-1.6px;margin:22px 0 16px;font-size:38px;font-weight:600;line-height:1.45}.auth-story h1>span{color:var(--theme-accent-ink,#556e86)}.auth-story p{color:var(--theme-ink-muted,#576e85);font-size:14px;line-height:1.9}.auth-story .book-art{width:380px;max-width:100%;margin:8px auto 0;display:block}.auth-checks{flex-wrap:wrap;justify-content:center;gap:20px;margin-top:13px;display:flex}.check-line{color:var(--theme-ink-muted,#576e85);align-items:center;gap:5px;font-size:12px;display:inline-flex}.check-line svg{color:var(--theme-ink-muted,#536e88)}.auth-foot{color:var(--theme-ink-muted,#566e85);justify-content:center;align-items:center;gap:6px;font-size:12px;display:flex}.auth-form-panel{flex-direction:column;justify-content:center;align-items:center;padding:45px 40px;display:flex;position:relative}.auth-form{width:100%;max-width:345px}.auth-icon{color:var(--theme-ink-muted,#4e6e8d);background:var(--theme-accent-surface,#f1f6fb);border-radius:14px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:25px;display:flex}.auth-form h2{letter-spacing:-1px;color:var(--theme-ink-muted,#666d75);margin:12px 0 11px;font-size:28px;font-weight:600}.auth-form>p{color:var(--theme-ink-muted,#5a6e82);font-size:14px;line-height:1.9}.auth-form form{margin-top:30px}.auth-form label{color:var(--theme-ink-muted,#596e82);margin-bottom:20px;font-size:13px;font-weight:500}.auth-form input{border-color:var(--theme-border,#e0e8ef);min-height:46px;font-size:14px}.password-field{display:block;position:relative}.password-field input{padding-right:44px}.password-field .icon-btn{color:var(--theme-ink-muted,#556e86);position:absolute;top:6px;right:7px}.auth-form .btn{min-height:45px;margin-top:8px;font-size:14px}.auth-form .auth-note{color:var(--theme-ink-muted,#576e84);text-align:center;margin-top:25px;font-size:12px;line-height:1.9}.auth-copyright{color:var(--theme-ink-muted,#566e85);font-size:12px;position:absolute;bottom:25px}.app-loading{flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.guide-list{color:var(--theme-ink-muted,#666d75);padding-left:22px}.guide-list li{margin-bottom:20px;padding-left:5px}.guide-list strong{font-size:14px}.guide-list p{color:var(--theme-ink-muted,#576e84);margin-top:6px;font-size:14px}.course-banner{border:1px solid var(--theme-border,#d5e1ed);border-radius:14px;justify-content:space-between;align-items:center;gap:22px;margin-bottom:28px;padding:28px 30px;display:flex}.course-banner h1{color:var(--theme-ink-muted,#5e656c);max-width:750px;margin:14px 0;font-size:27px}.course-banner>.book-art{width:100px}.course-banner>svg{opacity:.4;margin:0 15px}.course-banner p{opacity:1;color:var(--theme-ink-muted,#60676e);align-items:center;gap:8px;font-size:13px;display:flex}.course-banner .badge{background:var(--theme-surface,#ffffff85);color:inherit;font-size:12px}.course-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:28px;display:grid}.course-content .filter-bar{margin-bottom:15px}.lesson-toolbar{color:var(--theme-ink-muted,#586e83);justify-content:space-between;align-items:center;gap:15px;padding:12px 3px 20px;font-size:12px;display:flex}.checkbox-label{color:var(--theme-ink-muted,#576e84);cursor:pointer;flex-direction:row;align-items:center;gap:12px;min-width:0;margin:0;font-size:13px;font-weight:500}.chapter-group{margin-bottom:23px}.chapter-group h3{color:var(--theme-ink-muted,#596e82);letter-spacing:0;align-items:center;gap:8px;padding:8px 2px 14px;font-size:14px;display:flex}.lesson{border:1px solid var(--theme-border,#e2eaf2);background:var(--theme-surface,#fff);border-radius:10px;margin-bottom:10px;overflow:hidden}.lesson.selected{border-color:var(--theme-accent-border,#ccdbe9);background:var(--theme-accent-surface,#fdfefe)}.lesson-row{justify-content:space-between;align-items:center;gap:13px;padding:17px 15px;display:flex}.lesson-row .checkbox-label{flex:1}.lesson strong{color:var(--theme-ink-muted,#5a6e82);font-size:14px;font-weight:500;line-height:1.7;display:block}.lesson small{color:var(--theme-ink-muted,#526e8a);margin-top:5px;font-size:12px;font-weight:400;display:block}.source-text{white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid var(--theme-border,#e4edf6);color:var(--theme-ink-muted,#576e85);background:var(--theme-accent-surface,#f8fbfd);max-height:400px;padding:20px;font-size:14px;line-height:1.9;overflow:auto}.rotated{transform:rotate(180deg)}.study-config{border:1px solid var(--theme-border,#dfe7ef);background:var(--theme-surface,white);border-radius:14px;padding:23px;position:sticky;top:25px}.study-config h2{color:var(--theme-ink-muted,#666d75);margin:0 0 20px;font-size:20px;font-weight:550;line-height:1.5}.mode-options{flex-direction:column;gap:9px;margin-bottom:23px;display:flex}.mode-options>button{text-align:left;background:var(--theme-surface,white);border:1px solid var(--theme-border,#e6eef5);color:var(--theme-ink-muted,#4d6e8e);border-radius:9px;align-items:center;gap:11px;padding:13px 11px;display:flex}.mode-options>button.active{background:var(--theme-accent-surface,#f1f6fb);border-color:var(--theme-accent-border,#b7cde3);color:var(--theme-ink-muted,#4d6e8f)}.mode-options strong{font-size:13px;font-weight:500;display:block}.mode-options small{color:var(--theme-ink-muted,#546e87);margin-top:5px;font-size:12px;display:block}.radio-dot{border:1px solid var(--theme-border,#c1d3e5);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:15px;height:15px;margin-left:auto;display:flex}.active>.radio-dot{color:#fff;border-color:var(--theme-accent-border,#8ba9c7);background:#8ba9c7}.config-label{color:var(--theme-ink-muted,#556e86);justify-content:space-between;margin-bottom:14px;font-size:13px;font-weight:500;display:flex}.config-label>span{color:var(--theme-ink-muted,#506e8c);font-size:12px;font-weight:400}.question-types{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:22px;display:grid}.question-types label{border:1px solid var(--theme-border,#e7eef5);color:var(--theme-ink-muted,#556e86);cursor:pointer;border-radius:7px;flex-direction:row;align-items:center;gap:7px;margin:0;padding:10px 9px;font-size:12px;font-weight:400;display:flex}.question-types label.active{background:var(--theme-accent-surface,#fbfdfe);border-color:var(--theme-accent-border,#c9dbed);color:var(--theme-ink-muted,#506e8b)}.question-types input{width:13px;height:13px}.count-control{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.count-control label{color:var(--theme-ink-muted,#536e88);gap:4px;margin:0;font-size:13px;font-weight:500}.count-control small{color:var(--theme-ink-muted,#4f6e8c);font-size:12px;font-weight:400}.count-control>div{border:1px solid var(--theme-border,#dde7f1);border-radius:8px;align-items:center;padding:2px;display:flex}.count-control .icon-btn{width:27px;color:var(--theme-ink-muted,#4d6e8f)}.count-control input{appearance:textfield;text-align:center;width:31px;min-height:29px;color:var(--theme-ink-muted,#526e8a);border:0;border-radius:0;padding:0;font-size:13px}.count-control input::-webkit-inner-spin-button{appearance:none}.study-config>.field-note{color:var(--theme-ink-muted,#516e8a);margin-top:16px;font-size:12px}.privacy-note{color:var(--theme-ink-muted,#526e89);border-top:1px solid var(--theme-border,#e8f0f7);margin:14px 0;padding:13px 0;font-size:12px;line-height:1.8}.study-config .btn.full{margin-top:10px;font-size:13px}.config-foot{color:var(--theme-ink-muted,#4f6e8d);text-align:center;margin-top:12px;font-size:12px;display:block}.document-panel{padding:5px 12px}.document-panel>.field-note{padding:18px}.file-type{background:var(--theme-accent-surface,#eaf2f9);min-width:38px;height:43px;color:var(--theme-ink-muted,#4d6e8f);border-radius:8px;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.file-type.pdf{background:var(--theme-red-surface,#f9eae8);color:var(--theme-ink-muted,#8f584d)}.file-type.pptx{background:var(--theme-warm-surface,#fbefe1);color:var(--theme-ink-muted,#8f704d)}.study-page{max-width:1140px;margin:auto}.study-top{justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px;display:flex}.study-top .back-link{margin:0}.study-top>span:not(.badge){color:var(--theme-ink-muted,#5a6e81);font-size:14px}.study-progress-meta{color:var(--theme-ink-muted,#576e85);justify-content:space-between;margin-bottom:10px;font-size:12px;display:flex}.study-progress-meta b{color:var(--theme-ink-muted,#526e8a)}.study-progress{background:var(--theme-accent-surface,#e5edf4);border-radius:10px;height:5px;margin-bottom:29px;overflow:hidden}.study-progress>span{background:var(--progress-fill);border-radius:10px;height:100%;transition:width .4s;display:block}.study-body{grid-template-columns:minmax(0,1fr) 235px;align-items:start;gap:25px;display:grid}.question-panel{border:1px solid var(--theme-border,#e0e9f1);background:var(--theme-surface,white);border-radius:15px;padding:30px}.question-meta{justify-content:space-between;align-items:center;gap:10px;margin-bottom:21px;display:flex}.question-meta .badge{color:var(--theme-ink-muted,#4d6e8f);background:var(--theme-accent-surface,#f1f6fb);font-size:12px}.question-meta>span:last-child{color:var(--theme-ink-muted,#4d6e8f);align-items:center;gap:4px;font-size:12px;display:flex}.question-panel h1{color:var(--theme-ink-muted,#5a6e82);letter-spacing:-.4px;white-space:pre-wrap;margin-bottom:28px;font-size:23px;font-weight:500;line-height:1.7}.answer-options{flex-direction:column;gap:13px;display:flex}.answer-option{border:1px solid var(--theme-border,#dde6ef);background:var(--theme-surface,white);text-align:left;min-height:61px;color:var(--theme-ink-muted,#4f6e8c);border-radius:10px;align-items:center;gap:15px;padding:15px;font-size:14px;line-height:1.6;display:flex}.answer-option:where(:not(.correct-option,.wrong-option)):hover:not(:disabled){border-color:var(--theme-border,#a3bdd6);background:var(--theme-accent-surface,#f9fbfd)}.answer-option.selected{border-color:var(--theme-accent-border,#95b1cd);background:var(--theme-accent-surface,#f1f6fb)}.option-letter{background:var(--theme-accent-surface,#eff4fa);color:var(--theme-ink-muted,#4d6e8f);border:1px solid var(--theme-border,#dce6ef);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;display:flex}.selected .option-letter{border-color:var(--theme-accent-border,#94afc9);color:#fff;background:#94afc9}.option-check{flex-shrink:0;align-items:center;margin-left:auto;display:flex}.answer-option.correct-option{--correct-answer-tint:8%;border-color:var(--theme-success-border,#b6d0bc);background:color-mix(in srgb, var(--theme-green-surface,#edf6ef), var(--theme-success-ink,#285d40) var(--correct-answer-tint));opacity:1;color:var(--theme-success-ink,#285d40)}:root[data-theme=dark] .answer-option.correct-option{--correct-answer-tint:15%}.correct-option .option-letter{background:color-mix(in srgb, var(--theme-green-surface,#edf6ef), var(--theme-success-ink,#285d40) calc(var(--correct-answer-tint) + 5%));border-color:var(--theme-success-border,#b6d0bc);color:inherit}.answer-option.wrong-option{background:color-mix(in srgb, var(--theme-red-surface,#fdf3f4), var(--theme-danger-ink,#7f3348) 15%);border-color:var(--theme-danger-border,#e1b8c2);color:var(--theme-danger-ink,#7f3348);opacity:1}.wrong-option .option-letter{background:color-mix(in srgb, var(--theme-red-surface,#fdf3f4), var(--theme-danger-ink,#7f3348) 20%);border-color:var(--theme-danger-border,#e1b8c2);color:inherit}.written-answer{color:var(--theme-ink-muted,#4d6e8f);gap:10px;font-size:13px;font-weight:400}.written-answer>input,.written-answer>textarea{color:var(--theme-ink-muted,#536e89);border-color:var(--theme-border,#d6e2ee)}.written-answer>small{color:var(--theme-ink-muted,#4e6e8d);font-size:12px;line-height:1.7}.question-actions{border-top:1px solid var(--theme-border,#e5edf5);justify-content:space-between;align-items:center;gap:12px;margin-top:25px;padding-top:23px;display:flex}.question-actions .btn{font-size:13px}.question-actions .text-btn{color:var(--theme-accent-ink,#4f6e8c);font-size:13px;font-weight:400}.question-map{border:1px solid var(--theme-border,#dee9f3);background:var(--theme-surface,white);border-radius:12px;padding:20px}.question-map h3{color:var(--theme-ink-muted,#516e8a);letter-spacing:0;font-size:14px;font-weight:500}.question-map>p{color:var(--theme-ink-muted,#4d6e8f);margin:8px 0 19px;font-size:12px;line-height:1.9}.question-numbers{grid-template-columns:repeat(5,1fr);gap:7px;display:grid}.question-numbers>button{border:1px solid var(--theme-border,#dce7f1);background:var(--theme-surface,#fff);min-height:30px;color:var(--theme-ink-muted,#4d6e8f);border-radius:6px;font-size:12px;position:relative}.question-numbers>button.current{outline:2px solid var(--theme-accent-border,#97aec4);outline-offset:2px;border-color:var(--theme-accent-border,#97aec4)}.question-numbers>button.correct,.question-numbers>button.saved{background:var(--theme-green-surface,#eaf5ed);border-color:var(--theme-success-border,#cce0d0);color:var(--theme-success-ink,#5a8163)}.question-numbers>button.incorrect{background:var(--theme-red-surface,#fae9ed);border-color:var(--theme-danger-border,#e9c9d2);color:var(--theme-danger-ink,#8c4f63)}.question-numbers>button.close,.question-numbers>button.pending{background:var(--theme-warm-surface,#f9f0e3);border-color:var(--theme-accent-border,#ebdbc3);color:var(--theme-accent-ink,#8f754d)}.map-legend{color:var(--theme-ink-muted,#4d6e8f);gap:15px;margin:17px 0 0;font-size:12px;display:flex}.map-legend>span{align-items:center;gap:4px;display:inline-flex}.map-legend .legend-dot{background:var(--theme-green-surface,#bdd5c3);width:6px;height:6px}.legend-outline{border:1px solid var(--theme-border,#d1dfec);border-radius:50%;width:6px;height:6px;display:inline-block}.study-reminder{border-top:1px solid var(--theme-border,#e5edf5);color:var(--theme-ink-muted,#4d6e8f);gap:9px;margin-top:20px;padding-top:20px;display:flex}.study-reminder p{color:var(--theme-ink-muted,#4d6e8f);font-size:12px;line-height:1.9}.question-map .btn{margin-top:20px;font-size:12px}.feedback{border:1px solid var(--theme-success-border,#d5e4d8);background:var(--theme-green-surface,#f5faf6);color:var(--theme-success-ink,#5e7e65);border-radius:11px;margin-top:23px;padding:20px;font-size:14px;line-height:1.7}.feedback.close{border-color:var(--theme-warning-border,#eadabe);background:var(--theme-warm-surface,#fffbf2);color:var(--theme-warning-ink,#8f784d)}.feedback.incorrect{border-color:var(--theme-danger-border,#e7cdd5);background:var(--theme-red-surface,#fdf6f8);color:var(--theme-danger-ink,#865668)}.feedback.pending{border-color:var(--theme-accent-border,#d5e1ed);background:var(--theme-accent-surface,#f7fafd);color:var(--theme-accent-ink,#4d6e8f)}.feedback-title{align-items:center;gap:9px;margin-bottom:9px;display:flex}.feedback-title strong{font-size:14px;font-weight:500}.feedback-title>span{margin-left:auto;font-size:13px}.feedback>p{font-size:13px;line-height:1.9}.answer-diff{padding:10px 0}.answer-diff small{opacity:.8;font-size:12px}.answer-diff p{margin-top:5px;font-size:14px}.answer-diff mark{background:var(--theme-red-surface,#f6d9e1);color:var(--theme-danger-ink,#8f4d63);border-radius:3px;padding:1px 2px}.model-answer{border-top:1px solid;border-color:var(--theme-border,#0000000c);margin-top:17px;padding-top:14px}.model-answer>span{letter-spacing:1.1px;opacity:.8;font-size:12px}.model-answer>strong{white-space:pre-wrap;margin:7px 0;font-size:14px;font-weight:500;display:block}.model-answer>p{white-space:pre-wrap;font-size:13px;line-height:1.9}.feedback details{border-top:1px solid var(--theme-border,#0000000c);margin-top:15px;padding-top:12px}.feedback summary{cursor:pointer;align-items:center;gap:6px;font-size:12px;list-style:none;display:flex}.feedback summary>svg:last-child{margin-left:auto}.feedback blockquote{border-left:2px solid var(--theme-border,#0000000f);margin:10px 0 0;padding:9px 12px;font-size:12px;font-style:italic;line-height:1.9}.results-page{max-width:1050px;margin:0 auto}.result-hero{background:var(--theme-surface,white);border:1px solid var(--theme-border,#dee9f3);text-align:center;border-radius:15px;flex-direction:column;align-items:center;margin-bottom:32px;padding:32px;display:flex}.trophy{background:var(--theme-warm-surface,#fbf2df);width:65px;height:65px;color:var(--theme-ink-muted,#8f7a4d);border-radius:50%;justify-content:center;align-items:center;margin-bottom:18px;display:flex}.result-hero h1{color:var(--theme-ink-muted,#566e85);margin:10px 0;font-size:26px;font-weight:500}.result-hero>p{color:var(--theme-ink-muted,#4f6e8c);font-size:14px}.result-score{color:var(--theme-ink-muted,#4d6e8f);margin-top:22px;font-size:19px}.result-score strong{letter-spacing:-3px;color:var(--theme-ink-muted,#4d6e8f);margin-right:10px;font-size:56px;font-weight:550;line-height:1}.result-score-label{color:var(--theme-ink-muted,#4d6e8f);margin-top:9px;font-size:12px}.result-stats{justify-content:center;margin:27px 0 28px;display:flex}.result-stats>div{border-right:1px solid var(--theme-border,#e5eef6);color:var(--theme-ink-muted,#546e87);flex-direction:column;gap:6px;padding:0 24px;display:flex}.result-stats>div:last-child{border:0}.result-stats strong{font-size:23px;font-weight:500}.result-stats .correct{color:var(--theme-success-ink,#598265)}.result-stats .close{color:var(--theme-warning-ink,#8f764d)}.result-stats .incorrect{color:var(--theme-danger-ink,#8f4d65)}.result-hero .btn{font-size:13px}.results-page .section-heading select{width:auto;min-height:36px;font-size:13px}.review-list{flex-direction:column;gap:12px;display:flex}.review-item{border:1px solid var(--theme-border,#e1ebf4);background:var(--theme-surface,white);border-radius:11px;overflow:hidden}.review-item>summary{cursor:pointer;color:var(--theme-ink-muted,#4f6e8d);align-items:center;gap:13px;padding:18px;font-size:14px;line-height:1.7;list-style:none;display:flex}.review-number{background:var(--theme-accent-surface,#f0f5fb);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:29px;height:29px;font-size:12px;display:flex}.review-number.correct{background:var(--theme-green-surface,#edf7ef);color:var(--theme-success-ink,#518a5d)}.review-number.incorrect{background:var(--theme-red-surface,#fbeff3);color:var(--theme-danger-ink,#8f4d69)}.review-number.close,.review-number.pending{background:var(--theme-warm-surface,#fdf5e8);color:var(--theme-accent-ink,#8f754d)}.review-item>summary>span:nth-child(2){flex:1}.review-item small{color:var(--theme-ink-muted,#4d6e8f);margin-top:5px;font-size:12px;display:block}.review-content{border-top:1px solid var(--theme-border,#eaf1f8);padding:0 22px 22px}.your-answer{color:var(--theme-ink-muted,#4d6e8e);padding-top:16px;font-size:14px}.your-answer small{letter-spacing:1px;font-size:12px}.your-answer p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.admin-summary{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e1e9f1);border-radius:11px;align-items:center;gap:15px;margin-bottom:24px;padding:22px;display:flex}.admin-summary .stat-icon{border-radius:12px;width:44px;height:44px}.admin-summary strong{color:var(--theme-ink-muted,#506e8b);font-size:15px;font-weight:500;display:block}.admin-summary span:not(.stat-icon){color:var(--theme-ink-muted,#4d6e8e);margin-top:6px;font-size:12px;display:block}.admin-summary>svg{color:var(--theme-ink-muted,#4d6e8f);margin-left:auto}.user-table th{color:var(--theme-ink-muted,#4e6e8d);background:var(--theme-accent-surface,#fafcfd);font-size:12px;font-weight:400}:root:not([data-theme=dark]) .user-table thead th{background:color-mix(in srgb, var(--theme-surface) 40%, var(--theme-accent-surface))}:root[data-theme=dark] .user-table thead th{background:color-mix(in srgb, var(--theme-accent-surface), var(--theme-surface))}.user-table td{border-color:var(--theme-border,#e7f0f8)}.user-cell{align-items:center;gap:11px;display:flex}.user-cell strong{color:var(--theme-ink-muted,#4f6e8c);font-size:13px;font-weight:500;display:block}.user-cell small{color:var(--theme-ink-muted,#4d6e8f);margin-top:5px;font-size:12px;display:block}.user-cell strong>small{display:inline}.user-cell .avatar{background:var(--theme-accent-surface,#e9f1f8);color:var(--theme-ink-muted,#4d6e8f);font-size:13px}.table-actions{justify-content:flex-end;align-items:center;display:flex}.danger-icon{color:var(--theme-danger-ink,#8f4d67)}.table-empty{color:var(--theme-ink-muted,#4d6e8f);text-align:center;padding:28px;font-size:14px}.settings-grid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.settings-card{padding:26px}.settings-icon{border-radius:13px;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:18px;display:flex}.settings-card h2{color:var(--theme-ink-muted,#536e89);margin-bottom:19px;font-size:17px;font-weight:500}.settings-card>p{color:var(--theme-ink-muted,#4d6e8e);margin-top:15px;font-size:14px;line-height:1.9}.settings-card .field-note{color:var(--theme-ink-muted,#4d6e8f);font-size:12px}.settings-card dl{grid-template-columns:90px 1fr;gap:15px;font-size:13px;line-height:1.7;display:grid}.settings-card dt{color:var(--theme-ink-muted,#4d6e8f)}.settings-card dd{color:var(--theme-ink-muted,#4d6e8f);overflow-wrap:anywhere;margin:0}.big-symbol{font-size:29px}@media (width>=1600px){.main-content{padding-left:50px;padding-right:50px}.hero{min-height:315px;padding-left:40px}.hero h2{font-size:37px}.hero p,.hero .btn{font-size:14px}.hero .book-art{width:400px}.hero-footnote{font-size:13px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 280px}.course-cover{height:157px}.course-card h3{font-size:15px}.stat-value>span{font-size:12px}.stat-label{font-size:14px}.section-heading h2{font-size:19px}.activity-card h3{font-size:14px}.activity-chart{height:130px}}@media (width<=1200px){.sidebar{width:var(--sidebar-width,288px);padding-left:14px;padding-right:14px}.main-shell{margin-left:var(--sidebar-width,288px)}.main-content{padding:28px 26px 40px}.topbar{padding:0 26px}.main-footer{margin:0 26px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 210px;gap:19px}.hero{min-height:265px;padding:25px}.hero h2{font-size:29px}.hero .book-art{width:290px;max-width:42%;margin-right:-28px}.stat-card{padding:14px}.stat-value>span{font-size:12px;display:block}.stats-grid{gap:11px}.global-search{width:190px}.course-layout{grid-template-columns:minmax(0,1fr) 300px;gap:19px}.study-config{padding:20px}.study-body{grid-template-columns:minmax(0,1fr) 200px;gap:18px}.question-panel{padding:24px}.question-map{padding:16px}.question-numbers{grid-template-columns:repeat(4,1fr);gap:6px}.user-table th,.user-table td{padding:15px}.sidebar-cta{margin-left:0;margin-right:0}.privacy-status{font-size:12px}.sidebar nav button{font-size:13px}}@media (width<=1000px){.dashboard-columns{grid-template-columns:1fr}.dashboard-aside{grid-template-columns:1fr 1fr;gap:18px;margin-top:12px;display:grid}.activity-card{margin:0}.activity-chart{height:92px}.tip-card{padding:22px}.tip-card h3{font-size:18px}.library-grid{grid-template-columns:1fr 1fr}.course-layout{grid-template-columns:1fr}.study-config{max-width:none;position:static}.study-config .mode-options{grid-template-columns:1fr 1fr;display:grid}.study-config .question-types{grid-template-columns:repeat(4,1fr)}.study-config h2{font-size:22px}.course-content{min-width:0}.settings-grid{gap:16px}.settings-card{padding:20px}.study-body{grid-template-columns:1fr}.question-map{order:2}.question-numbers{grid-template-columns:repeat(10,minmax(0,1fr))}.question-map>p,.study-reminder,.map-legend{display:none}.question-map h3{margin-bottom:15px}.question-map .btn{max-width:250px}.breadcrumb{font-size:12px}.breadcrumb>span,.breadcrumb>svg{display:none}.hero .book-art{opacity:.8;max-width:40%}.hero h2{font-size:27px}.user-table-wrap{overflow-x:auto}.user-table{min-width:610px}.page-intro h1{font-size:23px}.auth-story{padding:30px}.auth-story h1{font-size:31px}.auth-story p{font-size:13px}.auth-checks{gap:12px}.auth-form-panel{padding:35px}.auth-form h2{font-size:25px}.auth-form>p{font-size:13px}.date-pill{display:none}}@media (width<1180px),(aspect-ratio<1){.sidebar{width:250px;padding-left:18px;padding-right:18px;transition:transform .25s;transform:translate(-100%)}.sidebar.mobile-open{transform:translate(0)}.sidebar-scrim{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:29;background:#2a364260;display:block;position:fixed;inset:0}.sidebar-close{display:flex;position:absolute;top:32px;right:11px}.main-shell{margin-left:0}.mobile-menu{display:flex}.topbar{gap:10px;height:65px;padding:0 20px}.topbar-right{gap:9px}.global-search{width:190px}.breadcrumb{gap:5px}.main-content{padding:25px 20px 35px}.main-footer{margin:0 20px}.page-intro{gap:14px;margin-bottom:22px}.page-intro h1{font-size:22px}.page-intro p{max-width:330px;font-size:12px}.hero{min-height:260px;padding:25px}.hero h2{font-size:30px}.hero p{font-size:14px}.hero .book-art{width:270px;max-width:40%;margin-right:-35px}.hero-footnote{font-size:13px}.stats-grid{gap:10px;margin-bottom:28px}.stat-card{padding:13px}.stat-label{align-items:flex-start;font-size:12px}.stat-icon{border-radius:7px;width:25px;height:25px}.stat-icon svg{width:15px}.stat-value{font-size:25px}.stat-value>span{font-size:12px}.course-grid{gap:16px}.course-cover{height:145px}.course-card h3{font-size:14px}.course-meta{font-size:12px}.toast{width:max-content;font-size:14px;bottom:16px;left:50%}.auth-layout{grid-template-columns:1fr}.auth-story{display:none}.auth-form-panel{background:linear-gradient(160deg, var(--theme-accent-surface,#f6f9fc) 0%, var(--theme-surface,#fff) 40%);min-height:100vh;padding:35px 25px 65px}.auth-form{max-width:365px}.auth-form h2{font-size:28px}.auth-form>p{font-size:14px}.auth-copyright{font-size:12px}.course-banner{padding:23px}.course-banner h1{font-size:25px}.course-banner>svg{width:60px;height:60px;margin:0}.course-banner .button-row{gap:6px}.question-panel h1{font-size:22px}.question-map{padding:20px}.question-numbers{grid-template-columns:repeat(10,minmax(0,1fr))}.question-map h3{font-size:14px}.study-top>span:not(.badge){text-overflow:ellipsis;white-space:nowrap;max-width:250px;overflow:hidden}.review-item>summary{gap:10px;font-size:13px}.review-item .badge{display:none}.settings-card dl{grid-template-columns:65px 1fr;font-size:12px}.result-hero h1{font-size:23px}.result-hero{padding:28px 20px}}@media (width<=480px){.topbar{padding:0 14px}.breadcrumb strong{font-size:12px}.global-search{width:155px;padding:0 9px}.global-search input{font-size:12px}.global-search>svg{width:14px}.help-button{display:none}.main-content{padding:23px 16px 30px}.main-footer{margin:0 16px;font-size:12px}.page-intro h1{font-size:21px}.page-intro>button{min-height:35px;padding:9px 11px;font-size:12px}.page-intro p{font-size:12px}.hero{min-height:270px;padding:24px 21px}.hero h2{font-size:28px}.hero .book-art{opacity:.42;width:195px;max-width:none;margin:0;position:absolute;bottom:-17px;right:-49px}.hero-copy{max-width:100%}.hero p{font-size:14px}.hero .btn{font-size:12px;position:relative}.hero-footnote{max-width:230px;font-size:13px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:15px}.stat-label{align-items:center;font-size:12px}.stat-value{font-size:27px}.stat-value>span{font-size:12px;display:block}.dashboard-columns{gap:24px}.course-grid,.library-grid{grid-template-columns:1fr 1fr;gap:11px}.course-card-body{padding:12px 12px 14px}.course-cover{height:110px;margin:5px 5px 0}.cover-icon{width:45px;height:45px;bottom:20px;right:17px}.cover-dots{font-size:15px;bottom:14px;left:12px}.subject-tag{font-size:12px;top:11px;left:11px}.course-card h3{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:35px;font-size:13px;line-height:1.6;display:-webkit-box}.course-meta{gap:3px;font-size:12px}.course-meta>svg{width:9px}.course-card-footer{margin-top:12px;font-size:12px}.circle-arrow{width:19px;height:19px}.circle-arrow svg{width:13px}.sample-tag{font-size:12px;bottom:10px;right:10px}.thin-progress{height:2px;margin-top:9px}.new-course-card{min-height:215px}.new-course-card strong,.new-course-card small{font-size:12px}.dashboard-aside{grid-template-columns:1fr 1fr;gap:12px}.activity-card{padding:16px 13px}.activity-card h3{font-size:12px}.activity-card .section-heading{gap:5px}.activity-value{font-size:22px}.activity-value span{font-size:12px}.activity-chart{gap:7px;height:88px}.chart-column{gap:10px;width:13px}.chart-column>span{font-size:12px}.activity-card>p{gap:4px;font-size:12px;line-height:1.8}.tip-card{padding:17px 14px}.tip-card h3{margin-top:6px;font-size:14px}.tip-card p{font-size:12px;line-height:1.8}.tip-symbol{margin-bottom:9px}.tip-bottom{margin-top:14px;padding-top:11px;font-size:12px}.section-heading h2{font-size:15px}.section-heading p,.section-heading .text-btn{font-size:12px}.filter-bar{align-items:flex-start;gap:10px}.filter-bar>select{min-width:110px;max-width:120px;min-height:33px;padding:7px;font-size:12px}.library-grid .course-cover{height:110px}.modal-backdrop{padding:13px}.modal{border-radius:14px;max-height:calc(100dvh - 26px);padding:23px 21px}.modal-head h2{font-size:19px}.modal-head p,.upload-quota{font-size:12px}.drop-zone strong{font-size:13px}.drop-zone span:not(.upload-symbol),.drop-zone small{font-size:12px}.form-columns{gap:12px}.color-options{gap:7px}.color-swatch{width:26px;height:26px}.course-banner{padding:22px 19px}.course-banner h1{font-size:21px}.course-banner>svg{display:none}.course-banner p{color:var(--theme-ink-muted,#60676e);font-size:12px}.course-banner .badge{font-size:12px}.course-layout{gap:24px}.lesson strong{font-size:13px}.lesson small,.lesson-toolbar,.checkbox-label{font-size:12px}.lesson-row{padding:15px 13px}.study-config{padding:22px}.study-config .mode-options{grid-template-columns:1fr}.study-config .question-types{grid-template-columns:1fr 1fr}.study-config h2{font-size:23px}.study-config>.field-note,.privacy-note{font-size:12px}.config-label{font-size:14px}.config-label>span{font-size:12px}.count-control label{font-size:14px}.question-types label{padding:12px;font-size:13px}.mode-options strong{font-size:14px}.mode-options small{font-size:12px}.study-top{flex-wrap:wrap;gap:8px;margin-bottom:24px}.study-top>span:not(.badge){max-width:160px;font-size:12px}.study-top .badge,.study-top .back-link{font-size:12px}.question-panel{padding:23px 19px}.question-panel h1{font-size:20px}.answer-option{gap:12px;padding:13px 12px;font-size:14px}.question-actions .btn{padding:10px 12px;font-size:12px}.question-actions .text-btn{gap:5px;font-size:12px}.question-actions .text-btn svg{width:15px}.question-numbers{grid-template-columns:repeat(8,minmax(0,1fr))}.feedback{padding:16px}.feedback p{font-size:12px}.feedback-title{gap:7px}.feedback-title strong{font-size:13px}.feedback-title>svg{width:18px}.result-stats>div{padding:0 15px}.result-stats span{font-size:12px}.result-hero h1{font-size:21px}.result-hero>p{font-size:12px}.results-page .section-heading h2{font-size:14px}.results-page .section-heading p{font-size:12px}.results-page .section-heading select{max-width:115px;min-height:32px;padding:7px;font-size:12px}.review-item>summary{padding:14px 12px;font-size:12px}.review-content{padding:0 15px 17px}.review-number{width:25px;height:25px}.settings-grid{grid-template-columns:1fr}.settings-card h2{font-size:18px}.settings-card>p{font-size:14px}.settings-card .field-note{font-size:13px}.settings-card dl{grid-template-columns:70px 1fr;font-size:14px}.history-row{gap:9px;padding:15px 12px}.history-name strong,.history-name small,.history-row .badge{font-size:12px}.history-icon{width:31px;height:31px}.history-icon svg{width:16px}.first-course{padding:27px 15px}.first-course h3{font-size:15px}.first-course p{font-size:12px}.first-course .button-row{justify-content:center;gap:8px}.first-course .btn{font-size:12px}.empty h3{font-size:16px}.empty p{font-size:13px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.page-intro h1,.course-banner h1,.auth-form h2,.auth-story h1,.result-hero h1{color:var(--theme-ink,#34373b)}.hero h2{color:var(--theme-ink,#35424f)}.hero h2>span,.auth-story h1>span{color:var(--theme-accent-ink,#607890)}.hero p,.page-intro p,.auth-form>p,.auth-story p{color:var(--theme-ink-muted,#676e76)}.hero p{font-size:16px}.hero-footnote{font-size:13px}.page-intro p{font-size:14px}.date-pill{font-size:13px}.sidebar nav button{color:var(--theme-ink-muted,#6c747c);font-size:14px}.sidebar nav button.active{color:var(--theme-ink-muted,#5e97d0)}.nav-label{font-size:12px}.sidebar-cta p,.sidebar-cta button{font-size:13px}.privacy-status{font-size:12px}.user-profile strong{font-size:14px}.user-profile small{font-size:12px}.breadcrumb,.global-search input,.stat-label{font-size:14px}.stat-value{color:var(--theme-ink,#3f4449)}.stat-value>span{font-size:12px}.section-heading h2{color:var(--theme-ink,#42474d);font-size:18px}.section-heading p{font-size:14px}.section-heading .text-btn{font-size:13px}.course-card h3{color:var(--theme-ink,#42474d);font-size:15px}.course-meta,.course-card-footer,.subject-tag{font-size:12px}.new-course-card strong{font-size:14px}.new-course-card small{font-size:13px}.activity-card h3{font-size:14px}.activity-value span{font-size:13px}.chart-column>span,.activity-card>p{font-size:12px}.tip-card h3{color:var(--theme-ink,#6a6042);font-size:18px}.tip-card p{font-size:14px}.tip-bottom{font-size:12px}.first-course h3{color:var(--theme-ink,#4c5258);font-size:18px}.first-course p,.first-course .btn{font-size:14px}.sample-caption{font-size:12px}.history-name strong{font-size:14px}.history-name small,.history-row>.badge{font-size:12px}.subtle-empty,.auth-form label,.auth-form input{font-size:14px}.auth-form .auth-note,.check-line{font-size:13px}.auth-story p{font-size:14px}.auth-foot,.auth-copyright{font-size:12px}.auth-form input{border-color:var(--theme-border,#d7dee5)}.auth-story .book-art{filter:saturate(1.15)}.modal-head p,.drop-zone strong,.drop-zone>span:not(.upload-symbol){font-size:14px}.drop-zone small,.upload-quota{font-size:12px}.field-note{color:var(--theme-ink-muted,#6a727a);font-size:14px}.privacy-note{color:var(--theme-ink-muted,#6a727a);font-size:13px}.config-foot{font-size:12px}.study-config h2{color:var(--theme-ink,#42515f)}.config-label,.count-control label{font-size:14px}.config-label>span,.count-control small{font-size:12px}.mode-options strong{font-size:14px}.mode-options small{font-size:12px}.question-types label,.study-config>.field-note{font-size:13px}.lesson strong{color:var(--theme-ink-muted,#585f66);font-size:14px}.lesson small{font-size:13px}.chapter-group h3,.checkbox-label{font-size:14px}.lesson-toolbar{font-size:13px}.file-row strong{font-size:14px}.file-row small{font-size:13px}.source-text{color:var(--theme-ink-muted,#697179);font-size:14px}.question-panel h1{color:var(--theme-ink,#36434f)}.answer-option{color:var(--theme-ink-muted,#697179)}.question-meta>span:last-child{font-size:13px}.written-answer{font-size:14px}.written-answer>small{font-size:13px}.study-top>span:not(.badge),.study-progress-meta,.question-actions .btn,.question-actions .text-btn,.question-map h3{font-size:14px}.question-map>p,.study-reminder p{font-size:13px}.question-numbers>button{font-size:14px}.map-legend{font-size:12px}.feedback>p,.model-answer>p,.feedback-title strong,.model-answer>strong{font-size:14px}.model-answer>span,.feedback summary,.feedback blockquote{font-size:13px}.feedback.correct,.feedback.correct .feedback-title{color:var(--theme-success-ink,#477d58)}.feedback.incorrect{color:var(--theme-danger-ink,#9b4f66)}.feedback.close{color:var(--theme-warning-ink,#92713c)}.feedback.pending{color:var(--theme-accent-ink,#62819f)}.result-score strong{color:var(--theme-ink-muted,#6185aa)}.result-stats span,.result-score-label,.result-hero>p{font-size:14px}.review-item>summary{color:var(--theme-ink-muted,#576b7e);font-size:14px}.review-item small{font-size:13px}.review-item .badge{font-size:12px}.your-answer{font-size:14px}.settings-card h2{color:var(--theme-ink,#42515f);font-size:19px}.settings-card>p,.settings-card .field-note,.settings-card dt,.settings-card dd{font-size:14px}.user-table th{font-size:13px}.user-cell strong{font-size:14px}.user-cell small{font-size:13px}.user-table .badge{font-size:12px}.admin-summary strong{font-size:17px}.admin-summary span:not(.stat-icon){font-size:14px}@media (width<=1200px){.sidebar nav button{font-size:14px}.sidebar-cta strong{font-size:13px}.sidebar-cta p,.sidebar-cta button,.privacy-status{font-size:12px}.hero p{font-size:14px}.hero-footnote{font-size:13px}.course-meta,.course-card-footer{font-size:12px}.activity-card h3{font-size:14px}}@media (width<=480px){.hero h2{font-size:27px}.hero p{font-size:14px}.hero-footnote{max-width:215px;font-size:13px}.course-card h3{font-size:14px}.course-meta,.course-card-footer{font-size:12px}.course-card-body{padding:12px}.new-course-card strong{font-size:13px}.new-course-card small{font-size:12px}.stat-label{font-size:13px}.stat-value>span{font-size:12px}.section-heading h2{font-size:16px}.section-heading p,.section-heading .text-btn{font-size:12px}.tip-card h3{font-size:15px}.tip-card p,.tip-bottom{font-size:12px}.activity-card h3{font-size:13px}.activity-value span,.activity-card>p,.chart-column>span{font-size:12px}.history-name strong{font-size:13px}.history-name small,.history-row .badge,.global-search input,.breadcrumb{font-size:12px}.study-top>span:not(.badge),.question-actions .btn{font-size:13px}.question-actions .text-btn{font-size:12px}.review-item>summary{font-size:14px}.review-item small{font-size:12px}}@media (width<1180px),(aspect-ratio<1){.sidebar{visibility:hidden}.sidebar.mobile-open{visibility:visible}}.brand-name{font-family:var(--font-ui);letter-spacing:-1.15px;font-weight:700}.auth-mobile-brand{display:none}@media (width<1180px),(aspect-ratio<1){.auth-mobile-brand{margin:0 0 40px;display:block}}@media (width<=480px){.form-columns{grid-template-columns:minmax(0,1fr);gap:0}}@media (width<=600px){.page-intro{flex-direction:column;align-items:stretch;gap:16px}.page-intro>div{min-width:0}.page-intro>.btn{white-space:nowrap;flex-shrink:0;width:100%;min-height:44px;padding:11px 16px;font-size:14px}.filter-bar{flex-direction:column;align-items:stretch;gap:12px}.filter-bar>select{width:100%;max-width:none;min-height:44px;padding:10px 12px;font-size:14px}.empty .button-row,.first-course .button-row,.result-hero .button-row{width:100%}.button-row>.btn,.modal-actions>.btn{white-space:nowrap;flex:160px;min-height:44px;padding:11px 14px;font-size:14px}.modal-actions{flex-wrap:wrap}.question-actions{flex-wrap:wrap;gap:10px}.question-actions>.btn,.question-actions>.text-btn{white-space:nowrap;flex:160px;justify-content:center;min-height:44px;padding:11px 14px;font-size:14px}.lesson-toolbar{flex-wrap:wrap;gap:8px 12px}.lesson-toolbar .checkbox-label{min-height:44px}.modal-head .icon-btn,.lesson-row>.icon-btn{width:44px;height:44px}}.feedback.revealed{background:var(--theme-accent-surface);border-color:var(--theme-accent-border);color:var(--theme-ink)}.feedback.revealed .feedback-title{color:var(--theme-accent-ink)}.feedback.revealed .feedback-title strong{font-weight:600}.feedback.revealed .model-answer>span{letter-spacing:0;font-size:13px}.question-numbers>button.revealed,.review-number.revealed{background:var(--theme-accent-surface);color:var(--theme-accent-ink);border-color:var(--theme-accent-border)}.ai-connection{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:start;gap:32px;margin-bottom:24px;display:grid}.ai-connection p{color:var(--theme-ink-muted);margin-top:15px;font-size:14px;line-height:1.8}.ai-connection-setup{border-left:1px solid var(--theme-border);padding-left:32px}.ai-connection .ai-connection-details{grid-template-columns:minmax(90px,125px) minmax(0,1fr)}@media (width<1180px),(aspect-ratio<1){.ai-connection{grid-template-columns:minmax(0,1fr);gap:22px}.ai-connection-setup{border-left:0;border-top:1px solid var(--theme-border);padding:22px 0 0}}.ai-setup-steps{color:var(--theme-ink-muted);padding-left:21px;font-size:14px;line-height:1.8}.ai-setup-steps li+li{margin-top:9px}.ai-connection .btn{margin-top:18px}.ai-connection-details{margin:18px 0}.ai-connection-details dd{overflow-wrap:anywhere}.ai-connection .ai-status-error{color:var(--theme-danger-ink,#9b354a)}.ai-task-bar{flex-wrap:wrap;align-items:center;margin-bottom:20px}.ai-task-bar>span{flex:1;min-width:160px}:root{--topbar-height:76px;--brand-accent:#2463ed;--brand-ink:#fff;--primary-button-bg:#124fdf;--primary-button-end:var(--brand-accent);--primary-button-hover:#1045c7;--primary-button-hover-end:#1c57da;--primary-button-border:#add4f9;--primary-button-shadow:#1e5d9a12;--primary-button-hover-shadow:#1e5d9a1c;--theme-page:#f7f9fc;--theme-surface:#fff;--sidebar-surface:var(--theme-surface);--theme-surface-muted:#f1f4f8;--theme-ink:#273442;--theme-ink-muted:#596879;--theme-placeholder:#657181;--theme-border:#dfe7ef;--topbar-surface:#fcfdff;--theme-accent-ink:var(--accent);--theme-accent-surface:#eaf1fc;--avatar-surface:#d4e3ff;--avatar-ink:var(--theme-accent-ink);--theme-accent-border:#b1c9f5;--theme-blue-surface:#e1ebff;--theme-viz-fill:#2b69ed;--progress-fill:linear-gradient(90deg, #1955df, #3e7cf4);--accent-tint:var(--theme-blue-surface);--accent-selection:#d4e3ff;--selection-ink:#123b62;--illustration-cover:#69adf1;--illustration-halo:#dcecff;--illustration-outline:#bad8f7;--illustration-paper:#fcfdff;--illustration-page-line:#b1cfee;--illustration-text-line:#c9dcef;--focus-ring:var(--accent);--muted:#68798a;--line:#e2e9f1;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;scroll-padding-top:calc(var(--topbar-height) + 20px)}.topbar{z-index:20;flex-shrink:0;position:sticky;top:0;box-shadow:0 2px 14px #16222d05}.study-config{top:calc(var(--topbar-height) + 24px)}.breadcrumb{flex:1;min-width:0}.breadcrumb-trail{align-items:center;gap:10px;min-width:0;display:flex}.breadcrumb-parent{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:240px;color:var(--theme-ink-muted);overflow:hidden}.breadcrumb-parent:hover{color:var(--theme-accent-ink);text-decoration:underline}.breadcrumb-separator{color:var(--theme-ink-muted)}.breadcrumb strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar-right{flex-shrink:0}.theme-toggle{color:var(--theme-accent-ink)}@property --primary-gradient-start{syntax:"<color>";inherits:false;initial-value:#124fdf}@property --primary-gradient-end{syntax:"<color>";inherits:false;initial-value:#2463ed}.btn.primary{--primary-gradient-start:var(--primary-button-bg);--primary-gradient-end:var(--primary-button-end);background:var(--primary-gradient-start) linear-gradient(180deg, var(--primary-gradient-start) 22%, var(--primary-gradient-end));color:#fff;border-color:var(--primary-button-border);box-shadow:0 2px 5px var(--primary-button-shadow)}@media (hover:hover) and (pointer:fine){.btn.primary:hover:not(:disabled){--primary-gradient-start:var(--primary-button-hover);--primary-gradient-end:var(--primary-button-hover-end);box-shadow:0 3px 8px var(--primary-button-hover-shadow)}}.brand-mark{background:var(--brand-accent);color:var(--brand-ink)}.illustration-cover{fill:var(--illustration-cover)}.illustration-halo{fill:var(--illustration-halo)}.illustration-outline{stroke:var(--illustration-outline)}.illustration-paper{fill:var(--illustration-paper)}.illustration-page-outline{stroke:var(--illustration-page-line)}.illustration-text{stroke:var(--illustration-text-line)}.stat-icon.blue,.settings-icon.blue,.history-icon.blue{background:var(--accent-tint);color:var(--theme-accent-ink)}.stat-icon.sage{color:#386b4a;background:#e2f0e5}.stat-icon.yellow{color:#936500;background:#fff2cb}.stat-icon.orange{color:#a34c16;background:#fae9da}:root[data-theme=dark] .stat-icon.sage{color:#8ed0a1;background:#263a30}:root[data-theme=dark] .stat-icon.yellow{color:#eac353;background:#403420}:root[data-theme=dark] .stat-icon.orange{color:#ef9e5e;background:#453026}::selection{background:var(--accent-selection);color:var(--selection-ink)}:is(button,a):focus-visible,:is(input,select,textarea):focus{outline-color:var(--focus-ring)}.hero,.auth-story{background:#eaf4ff}.hero{border-color:#d5e7fb}.sidebar nav button.active{background:var(--theme-accent-surface)}.bar-track{background:#edf2f8}.sidebar nav button.active,.section-heading .text-btn,.sidebar-cta button{color:var(--theme-accent-ink)}.auth-layout{position:relative}.auth-theme-toggle{z-index:2;position:absolute;top:24px;right:24px}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--accent:#9fc1ff;--accent-hover:#c1d7ff;--primary-button-border:#3f6a92;--primary-button-shadow:#00000012;--primary-button-hover-shadow:#00000024;--muted:#aeb8c5;--line:#343c46;--theme-page:#15181c;--theme-surface:#1e2228;--theme-surface-muted:#252a31;--theme-accent-surface:#22314b;--avatar-surface:#2b426d;--theme-green-surface:#25362e;--theme-warm-surface:#3a3026;--theme-red-surface:#3e2832;--theme-blue-surface:#233653;--theme-ink:#e9eef3;--theme-ink-muted:#aeb8c5;--theme-placeholder:#919caa;--theme-success-ink:#a5d5b4;--theme-warning-ink:#e4c48d;--theme-danger-ink:#efaabd;--theme-border:#343c46;--topbar-surface:#1a1d22;--theme-accent-border:#48689e;--theme-success-border:#496d55;--theme-danger-border:#805163;--theme-warning-border:#7e6744;--theme-viz-fill:#3065d5;--progress-fill:linear-gradient(90deg, var(--primary-button-bg), var(--primary-button-end));--accent-selection:#2b4b82;--selection-ink:#f1f7ff;--illustration-cover:#3f7eb7;--illustration-halo:#293b50;--illustration-outline:#496581;--illustration-paper:#cedbea;--illustration-page-line:#8ca8c7;--illustration-text-line:#9fb6ce}:root[data-theme=dark] .bar-track{background:#29313c}:root[data-theme=dark] .book-art>ellipse{fill:#0e151c}:root[data-theme=dark] :is(.sidebar-cta,.search-field,.source-text,.drop-zone,.lesson.selected,.question-types label.active){background:var(--theme-surface-muted)}:root[data-theme=dark] :is(.hero,.auth-story){background:#20272f}:root[data-theme=dark] .hero{border-color:#354353}:root[data-theme=dark] .new-course-card{background:#1c2127}:root[data-theme=dark] .modal{box-shadow:0 22px 90px #0006}:root[data-theme=dark] .modal-backdrop{--modal-scrim:#080b10aa}:root[data-theme=dark] .sidebar-scrim{background:#080b1099}@media (width<1180px),(aspect-ratio<1){:root{--topbar-height:65px}.breadcrumb-trail{max-width:100%}.breadcrumb-trail.has-parent{flex-direction:column;align-items:flex-start;gap:2px}.breadcrumb-parent,.breadcrumb-trail strong{max-width:100%;font-size:12px;line-height:1.4}.breadcrumb-trail.has-parent .breadcrumb-separator{display:none}.breadcrumb-trail.has-parent strong:before{content:"›";color:var(--theme-ink-muted);margin-right:5px}}@media (width<=480px){.global-search{width:clamp(112px,32vw,155px)}.topbar-right{gap:7px}.auth-theme-toggle{top:18px;right:18px}}.study-focused>.sidebar,.study-focused>.sidebar-scrim,.study-focused .topbar,.study-focused .main-footer{display:none}.study-focused .main-shell{min-height:100dvh;margin-left:0}.study-focused .main-content{width:100%;max-width:none;padding:0 28px 40px}.study-focused .study-page{max-width:980px;margin:0 auto}.study-focused .focus-study-header{gap:20px;min-height:76px;margin:0 0 20px}.focus-study-header>span{text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.focus-header-actions{align-items:center;gap:12px;display:flex}.study-top .study-back,.study-loading>.study-back{width:44px;height:44px;text-decoration:none}.study-focused .study-progress-meta{margin-bottom:10px;font-size:14px}.study-focused .study-progress-meta>span:last-child{color:var(--theme-ink-muted)}.study-focused .study-progress-meta b{color:var(--theme-ink)}.study-focused .study-progress{background:color-mix(in srgb, var(--theme-surface-muted) 65%, var(--theme-border));height:5px;margin-bottom:28px}.study-focused .study-body{display:block}.study-focused .question-panel{min-height:400px;padding:32px}.study-focused .question-meta{color:var(--theme-ink-muted);margin-bottom:22px;font-size:14px}.study-focused .question-meta>span{background:var(--theme-accent-surface);color:var(--theme-accent-ink);border-radius:6px;padding:3px 9px;font-size:13px}.study-focused .question-panel h1{margin-bottom:32px;font-size:clamp(23px,2.2vw,28px);font-weight:500;line-height:1.55}.study-focused .answer-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.study-focused .answer-option{min-width:0;min-height:74px;padding:15px 18px;font-size:16px;line-height:1.6}.study-focused .answer-option>span:nth-child(2){overflow-wrap:anywhere;min-width:0}.study-focused .answer-option:where(:not(.correct-option,.wrong-option)){background:color-mix(in srgb, var(--theme-surface) 55%, var(--theme-surface-muted))}.study-focused .answer-option.selected:where(:not(.correct-option,.wrong-option)){background:var(--theme-accent-surface)}.study-focused .answer-option.selected:where(:not(.correct-option,.wrong-option)) .option-letter{background:var(--theme-blue-surface);color:var(--theme-accent-ink)}.study-focused .answer-option:disabled{cursor:default;opacity:1}.study-focused .answer-option.correct-option{outline-offset:-2px;border-style:dashed;border-width:2px;outline:2px solid #0000}.study-focused .answer-option.correct-option:focus-visible:not(:disabled){outline-color:var(--theme-success-ink,#285d40)}@media (hover:hover) and (pointer:fine){.study-focused .answer-option.correct-option:hover:not(:disabled){outline-color:var(--theme-success-ink,#285d40)}}@media (prefers-reduced-motion:no-preference){.study-focused .answer-option.correct-option{transition:outline-color .18s var(--motion-ease)}}.study-focused .answer-continue-hint{margin:10px 0 0}.study-focused .question-actions{border-top:0;margin-top:24px;padding-top:0}.study-focused .question-actions>.btn,.study-focused .question-actions>.text-btn{min-height:44px}.study-focused .question-actions .text-btn{margin-left:auto}.study-outline{color:var(--theme-ink-muted);margin-top:18px}.study-outline>summary{cursor:pointer;align-items:center;gap:8px;width:fit-content;min-height:44px;font-size:14px;list-style:none;display:flex}.study-outline>summary::-webkit-details-marker{display:none}.study-outline[open]>summary svg{transform:rotate(180deg)}.study-focused .question-map{margin-top:8px}.study-focused .question-numbers{grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:10px}.study-focused .question-numbers>button{width:100%;min-height:40px}.study-loading{max-width:900px;margin:40px auto}.study-loading>.study-back{margin-bottom:24px}.study-loading>h1{font-size:24px}.study-loading>.error-message{margin:20px 0}.feedback-compact{color:var(--theme-ink);margin-top:22px;padding-top:4px}.feedback-compact-title{align-items:flex-start;gap:9px;font-size:15px;line-height:1.65;display:flex}.feedback-compact-title svg{margin-top:3px}.feedback-compact-title strong{font-weight:600}.feedback-compact.revealed .feedback-compact-title,.feedback-compact.pending .feedback-compact-title{color:var(--theme-accent-ink)}.feedback-compact.correct .feedback-compact-title{color:var(--theme-success-ink,#36734b)}.feedback-compact.close .feedback-compact-title,.feedback-compact.incorrect .feedback-compact-title{color:var(--theme-warning-ink,#8c631e)}.feedback-compact details{color:var(--theme-ink-muted);margin-top:10px;font-size:14px}.feedback-compact summary{cursor:pointer;align-items:center;gap:8px;width:fit-content;min-height:40px;list-style:none;display:flex}.feedback-compact summary::-webkit-details-marker{display:none}.feedback-compact details[open]>summary svg{transform:rotate(180deg)}.feedback-compact details>p{margin:12px 0}.feedback-compact blockquote{border-left:2px solid var(--theme-accent-border);margin:14px 0 0;padding-left:14px;line-height:1.8}.source-evidence blockquote{white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4}.source-evidence mark{color:var(--theme-ink);background:#efc84b4d;border-radius:3px;padding:1px 0}.source-caption{color:var(--theme-ink-muted);justify-content:space-between;align-items:baseline;gap:16px;margin:10px 0;font-size:13px;display:flex}.source-caption span{overflow-wrap:anywhere;min-width:0}.source-caption a{color:var(--theme-accent-ink);flex-shrink:0}.source-original{background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:10px;margin-top:12px;padding:10px;overflow:auto}.source-original canvas{max-width:none;height:auto;display:block}.source-original canvas[data-source-theme=dark],:root[data-theme=dark] .source-original:not([data-original-colors=true]) canvas[data-source-theme=light]{display:none}:root[data-theme=dark] .source-original:not([data-original-colors=true]) canvas[data-source-theme=dark]{display:block}.source-original[data-original-colors=true]{background:#fff}.source-actions{flex-shrink:0;align-items:baseline;gap:14px;display:flex}.source-color-toggle{color:var(--theme-accent-ink);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;display:none}:root[data-theme=dark] .source-color-toggle{display:inline}.source-color-toggle:hover,.source-color-toggle[aria-pressed=true]{text-underline-offset:3px;text-decoration:underline}.source-status{color:var(--theme-ink-muted);margin:8px 0;font-size:13px}.compact-answer{flex-direction:column;gap:5px;margin-top:12px;display:flex}.compact-answer>span{color:var(--theme-ink-muted);font-size:13px}.compact-answer>strong{white-space:pre-wrap;font-size:16px;font-weight:500}@media (width<=680px){.study-focused .main-content{padding:0 16px 28px}.study-focused .focus-study-header{flex-wrap:nowrap;gap:10px;min-height:66px;margin-bottom:14px}.focus-study-header>span{max-width:none;font-size:13px}.focus-header-actions{gap:6px}.focus-header-actions .btn{min-height:40px;padding:8px 10px}.study-focused .study-progress-meta{font-size:13px}.study-focused .study-progress-meta>span:last-child{display:none}.study-focused .study-progress{margin-bottom:20px}.study-focused .question-panel{min-height:0;padding:22px 18px}.study-focused .question-panel h1{margin-bottom:24px;font-size:22px}.study-focused .answer-options{grid-template-columns:minmax(0,1fr);gap:10px}.study-focused .answer-option{min-height:60px;padding:12px 14px;font-size:15px}.study-focused .question-actions{gap:10px}.study-focused .question-actions>.btn{flex-basis:130px}.study-focused .question-actions>.text-btn{flex:0 auto;width:auto;padding:8px 0}}.study-top>.back-link{white-space:nowrap;flex-shrink:0;margin-bottom:0;font-size:14px}:root{--ui-radius:18px;--ui-shadow:0 3px 14px #20344905;--sidebar-width:288px;text-rendering:optimizelegibility;--motion-ease:cubic-bezier(.2, .7, .2, 1);--hover-surface:color-mix(in srgb, var(--theme-surface), var(--theme-accent-ink) 8%);--hover-selected:color-mix(in srgb, var(--theme-surface), var(--theme-accent-ink) 13%);--hover-border:var(--theme-accent-border);--primary-button-hover-border:#a6c9e9;--danger-button-hover:#a63845;--danger-button-border:#942d39;--danger-button-shadow:#942d3926;--danger-hover-surface:#fbe9ec;line-height:1.55}:root[data-theme=dark]{--ui-shadow:0 3px 14px #0000000c;--primary-button-hover-border:#527da4;--danger-button-hover:#a93a47;--danger-button-border:#e48691;--danger-button-shadow:#00000038;--danger-hover-surface:#422b32}h1,h2,h3{letter-spacing:-.025em;overflow-wrap:anywhere}button,a{touch-action:manipulation}.main-content:focus{outline:none}.skip-link{z-index:100;background:var(--theme-surface);border-radius:10px;padding:12px 18px;position:fixed;top:-100px;left:20px;box-shadow:0 3px 14px #0002}.skip-link:focus{top:12px}.main-content{padding:32px clamp(22px,2.6vw,40px) 48px}.sidebar{height:100dvh;min-height:0;padding:0;bottom:auto;overflow:hidden}.sidebar-header{padding:calc(22px + env(safe-area-inset-top,0px)) 24px 24px;flex:none;justify-content:center;align-items:center;gap:10px;display:flex;position:relative}.sidebar-header .sidebar-close{flex-shrink:0;position:absolute;top:50%;right:12px;translate:0 -50%}.sidebar-scroll{overscroll-behavior-y:contain;scrollbar-width:thin;flex-direction:column;flex:auto;min-height:0;padding:0 14px 28px;scroll-padding-block:12px 32px;display:flex;overflow-y:auto}.sidebar-scroll>*{flex-shrink:0}.sidebar-scroll:focus-visible{outline:2px solid var(--theme-accent-border);outline-offset:-3px;border-radius:8px}.sidebar-scroll .nav-label{font-size:14px;line-height:1.5;display:block}.sidebar-admin{margin-top:28px}.sidebar-scroll .sidebar-bottom{padding-top:28px}.sidebar-scroll .sidebar-cta{margin-bottom:0}.sidebar-user{z-index:1;background:var(--sidebar-surface);padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));flex:none;margin:0;position:relative}.sidebar-user:before{content:"";background:linear-gradient(to bottom, transparent, var(--sidebar-surface));pointer-events:none;height:28px;position:absolute;inset:auto 0 100%}.sidebar-user .user-profile{width:100%;min-height:64px;color:var(--theme-ink);border:1px solid #0000;border-radius:14px;gap:12px;padding:10px 12px}.sidebar-user .user-profile .avatar{width:36px;height:36px}.user-profile.active{background:var(--theme-accent-surface);border-color:#0000}@media (hover:hover) and (pointer:fine){.sidebar-user .user-profile:hover{background:var(--hover-surface);color:var(--theme-ink);box-shadow:none;border-color:#0000;transform:none}.sidebar-user .user-profile.active:hover{background:var(--hover-selected)}}@media (height<=500px){.sidebar .sidebar-header{padding-top:calc(10px + env(safe-area-inset-top,0px));padding-bottom:10px}.sidebar-user{padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.sidebar-user:before{height:20px}.sidebar-scroll{padding-bottom:24px}}.page-intro{align-items:center;margin-bottom:26px}.page-intro h1{color:var(--theme-ink);font-size:clamp(24px,2.2vw,30px)}.page-intro p,.section-heading p{margin-top:7px;font-size:14px;line-height:1.7}.btn{border-radius:11px;min-height:44px;padding:11px 17px}.btn.small-btn{min-height:40px}.btn{text-align:center;justify-content:center;gap:8px;line-height:1.45}.btn>svg,.text-btn>svg,.back-link>svg,.danger-link>svg{flex:0 0 18px;width:18px;height:18px;margin:0}.hero .btn>svg:last-child{margin:0}.hero .btn,.study-config .btn{border-radius:11px;gap:8px;min-height:44px;padding:11px 16px;font-size:14px}select{--select-padding-start:12px;--select-padding-end:32px;--select-chevron-inset:12px;--select-caret-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 5'%3E%3Cpath fill='%23596879' d='M0 0h10L5 5z'/%3E%3C/svg%3E");appearance:none;padding-left:var(--select-padding-start);padding-right:var(--select-padding-end);background-image:var(--select-caret-image);background-position:right var(--select-chevron-inset) center;background-repeat:no-repeat;background-size:10px 5px;line-height:1.5}:root[data-theme=dark] select{--select-caret-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 5'%3E%3Cpath fill='%23aeb8c5' d='M0 0h10L5 5z'/%3E%3C/svg%3E")}.filter-bar>select{padding-left:var(--select-padding-start);padding-right:var(--select-padding-end);border-radius:11px;min-height:44px}:is(.filter-bar,.results-page .section-heading)>select{field-sizing:content;min-width:0}.results-page .section-heading select{padding-left:var(--select-padding-start);padding-right:var(--select-padding-end)}.library-page .library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}.continue-panel{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:16px;justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px;padding:20px 22px;display:flex}.continue-panel>div{min-width:0}.continue-panel strong{overflow-wrap:anywhere;font-size:16px;font-weight:600;display:block}.continue-panel p{color:var(--theme-ink-muted);margin-top:5px;font-size:13px}.continue-panel .btn{flex-shrink:0}.library-continue{border-left:3px solid var(--brand-accent)}.library-toolbar{background:0 0;border:0;border-radius:0;align-items:center;margin-bottom:16px;padding:0;display:block}.filter-tabs{--tab-track:#e6edf5;--tab-track-edge:#cbd8e7;--tab-selected:#fff;--tab-selected-hover:color-mix(in srgb, var(--tab-selected), var(--theme-accent-ink) 5%);--tab-selected-edge:#d4dfea;--tab-selected-ink:var(--theme-accent-ink);--tab-selected-shadow:#243b5629;background:var(--tab-track);width:fit-content;max-width:100%;box-shadow:inset 0 0 0 1px var(--tab-track-edge);border:0;border-radius:12px;align-items:stretch;gap:4px;padding:4px;display:flex}:root[data-theme=dark] .filter-tabs{--tab-track:#15191f;--tab-track-edge:#242b34;--tab-selected:var(--theme-surface);--tab-selected-edge:var(--theme-border);--tab-selected-shadow:#0006}.filter-tabs>button{min-height:44px;color:var(--theme-ink-muted);white-space:nowrap;transition:background-color .16s var(--motion-ease), color .16s var(--motion-ease), box-shadow .16s var(--motion-ease);background:0 0;border:0;border-radius:9px;margin:0;padding:10px 15px;font-size:14px;font-weight:500;line-height:1.5}.filter-tabs>button[aria-pressed=true]{background:var(--tab-selected);color:var(--tab-selected-ink);box-shadow:inset 0 0 0 1px var(--tab-selected-edge), 0 1px 4px var(--tab-selected-shadow)}.filter-tabs>button:focus-visible{outline-offset:-2px}.filter-tabs>button[aria-pressed=true]:focus-visible{outline-color:var(--tab-selected-ink)}.library-results-meta{color:var(--theme-ink-muted);justify-content:space-between;align-items:baseline;gap:16px;margin:0 2px 20px;font-size:13px;display:flex}.library-results-meta>span{white-space:nowrap}.library-page .empty{border-style:dashed;border-radius:18px;min-height:260px;padding:36px 24px}.library-page .empty h3{color:var(--theme-ink);font-size:18px}.library-page .empty>p{max-width:530px;font-size:14px}.study-config h2{margin-bottom:18px;font-size:19px;line-height:1.4}.mode-options>button{grid-template-columns:20px minmax(0,1fr) 16px;gap:10px;min-height:80px;padding:14px 12px;display:grid}.mode-options>button>svg{width:20px;height:20px}.mode-options>button>span{min-width:0}.mode-options strong{font-size:15px;font-weight:600}.mode-options small{margin-top:4px;font-size:13px;line-height:1.5}.mode-options .radio-dot{width:16px;height:16px;margin:0}.question-types label{gap:8px;padding:11px 10px}.config-label{align-items:baseline;gap:10px}.config-label>span{text-align:right}.count-control{gap:12px}.count-control>div{grid-template-columns:36px 40px 36px;align-items:center;gap:0;display:grid}.count-control input{text-align:center;font-variant-numeric:tabular-nums;width:40px;padding:8px 0}.config-foot{margin-top:12px;font-size:13px;line-height:1.6}.icon-btn{width:40px;height:40px}.text-btn{min-height:40px}.filter-bar{gap:18px}.badge{line-height:1.5}.hero{background:linear-gradient(115deg, var(--theme-accent-surface), var(--theme-surface));border-radius:22px;min-height:250px;padding:30px 34px}:root[data-theme=dark] .hero{background:linear-gradient(115deg, var(--theme-surface-muted), var(--theme-surface));border-color:var(--theme-border)}.hero-copy{flex:1;min-width:0;max-width:630px}.hero h2{font-size:clamp(25px,2.4vw,34px);line-height:1.4}.hero p{font-size:15px;line-height:1.8}.hero .book-art{width:210px;margin-left:30px}.hero.resume-hero{min-height:228px}:root .hero.resume-hero{--resume-tint:#f1f5fc;background:linear-gradient(to left, var(--resume-tint), var(--theme-surface) 70%)}:root[data-theme=dark] .hero.resume-hero{--resume-tint:#212833}.resume-hero h2{font-size:clamp(24px,2.2vw,30px)}.resume-hero p{overflow-wrap:anywhere}.resume-track{background:var(--theme-border);border-radius:8px;height:6px;margin:18px 0 23px;overflow:hidden}.resume-track>span{background:var(--progress-fill);border-radius:inherit;height:100%;display:block}.resume-hero .button-row{gap:12px}.resume-hero .button-row .btn{margin:0}.stats-grid{gap:16px;margin:24px 0 30px}.stat-card{box-shadow:var(--ui-shadow);border-radius:16px;padding:19px 20px}.stat-value{font-variant-numeric:tabular-nums;margin-top:13px;font-size:35px;line-height:1.3}.stat-value>span{margin-top:7px;font-size:13px;font-weight:400}.stat-label{gap:8px;font-size:14px}.section-heading{gap:16px;margin-bottom:18px}.section-heading h2{font-size:19px}.section-heading .text-btn{flex-shrink:0}.course-card,.panel,.activity-card,.tip-card,.settings-card{border-radius:var(--ui-radius);box-shadow:var(--ui-shadow)}.library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:22px}.course-card{text-align:left;transition:border-color .18s,box-shadow .18s,transform .18s;overflow:hidden}.course-card:hover{border-color:var(--theme-accent-border);transform:translateY(-3px);box-shadow:0 8px 26px #173e6110}.course-cover{height:122px}.cover-dots{display:none}.course-card-body{padding:20px}.course-card h3{margin:11px 0 15px;font-size:17px;line-height:1.55}.course-meta,.course-card-footer{font-size:13px;line-height:1.6}.course-card-footer>span:first-child{min-width:0}.new-course-card{border-radius:var(--ui-radius);text-align:center;gap:4px;min-height:190px;padding:24px 16px}.new-course-card>span{margin-bottom:10px}.new-course-card strong{color:var(--theme-ink);font-size:16px;font-weight:700;line-height:1.45}.course-card .card-title,.new-course-card .card-title{letter-spacing:-.015em;color:var(--theme-ink);font-family:inherit;font-size:17px;font-weight:700;line-height:1.55}.new-course-card small{font-size:13px;line-height:1.5}.new-course-card .card-title{color:var(--theme-ink-muted)}.history-row{gap:14px;min-height:84px;padding:18px}.history-name{flex:1;min-width:0}.history-name strong{color:var(--theme-ink);font-size:15px;font-weight:600;line-height:1.5}.history-name small{margin-top:5px;font-size:13px;line-height:1.6}.history-row .badge{flex-shrink:0}.sidebar-cta{background:var(--theme-surface-muted);padding:17px}.sidebar-cta .mini-sparkle{display:none}.sidebar-cta strong{font-size:14px}.sidebar-cta p,.sidebar-cta button{font-size:13px;line-height:1.7}.course-banner{border-radius:22px;margin-bottom:26px;padding:27px 30px}.course-banner h1{color:var(--theme-ink);font-size:clamp(24px,2.3vw,30px);line-height:1.4}.course-banner p{flex-wrap:wrap;font-size:14px}.study-config{border-radius:var(--ui-radius);scroll-margin-top:calc(var(--topbar-height) + 20px);padding:24px}.course-mobile-jump{display:none}.study-config h2{color:var(--theme-ink);font-size:21px;font-weight:600}.mode-options>button{border-radius:12px;min-height:80px}.mode-options small{font-size:13px;line-height:1.6}.question-types label{border-radius:10px;min-height:44px}.question-types label,.checkbox-label,.lesson strong{font-size:14px;line-height:1.6}.lesson small{font-size:13px;line-height:1.65}.lesson-row{min-height:80px}.source-text{overflow-wrap:anywhere;max-height:60vh;font-size:15px;line-height:1.9;overflow:auto}.file-row{gap:14px}.file-row>span{min-width:0}.file-type.document-file-icon{width:44px;min-width:44px;height:52px;color:var(--theme-accent-ink);background:0 0;border-radius:0;flex:0 0 44px;padding:0}.file-type.document-file-icon.pdf{color:#b24e60}.file-type.document-file-icon.pptx{color:#a26926}[data-theme=dark] .file-type.document-file-icon.pdf{color:#e6a0ae}[data-theme=dark] .file-type.document-file-icon.pptx{color:#e3b97b}.document-file-icon svg{flex-shrink:0;display:block}.document-format-label{fill:var(--theme-surface,#fff);stroke:currentColor;stroke-width:1.4px}.file-row strong{overflow-wrap:anywhere;font-size:14px}.file-row small{overflow-wrap:anywhere;font-size:13px;line-height:1.7}.count-control .icon-btn{width:40px;height:40px}.field-note,.privacy-note,.config-foot{font-size:13px;line-height:1.8}.study-config>.field-note{font-size:13px}.study-focused .focus-study-header{z-index:25;border-bottom:1px solid color-mix(in srgb, var(--theme-border) 75%, transparent);margin-bottom:22px;position:sticky;top:0}.study-focused .focus-study-header>span:not(.badge){color:var(--theme-ink)}.study-save-status{min-height:20px;color:var(--theme-ink-muted);justify-content:flex-end;align-items:center;gap:6px;margin-bottom:18px;font-size:12px;display:flex}.study-save-status.error{color:var(--theme-warning-ink)}.study-focused .question-panel{box-shadow:var(--ui-shadow);border-radius:22px}.study-focused .question-panel h1{white-space:pre-wrap;font-weight:550}.study-focused .question-panel h1:focus{outline:none}.study-focused .answer-option{border-radius:13px}.study-focused .answer-option:where(:not(.correct-option,.wrong-option)){color:var(--theme-ink)}.study-focused .answered .answer-option:not(.correct-option):not(.wrong-option){opacity:.65}.study-focused .practice-actions{flex-wrap:wrap;gap:24px}.practice-hint-slot{flex:180px;min-width:0}.study-focused .practice-actions .practice-hint-link{flex:none;justify-content:flex-start;width:auto;min-height:44px;margin-left:0;padding:8px 0}.practice-submit-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:16px 32px;max-width:100%;margin-left:auto;display:flex}.practice-submit-actions>.text-btn{min-height:44px;padding:8px 0}.practice-hint{color:var(--theme-ink-muted);overflow-wrap:anywhere;margin-top:2px;font-size:14px}.masked-answer-hint{letter-spacing:.06em;white-space:pre-wrap;font-size:16px;line-height:1.8}@media (width<=540px){.study-focused .practice-actions,.practice-submit-actions{gap:12px 24px}}.keyboard-hint{color:var(--theme-ink-muted);text-align:right;margin-top:14px;font-size:12px}kbd{border:1px solid var(--theme-border);font:inherit;background:var(--theme-surface-muted);border-radius:4px;padding:0 5px;display:inline-block}.grading-status{color:var(--theme-ink-muted);align-items:center;gap:8px;margin-top:16px;font-size:14px;display:flex}.submit-review{border:1px solid var(--theme-border);border-radius:12px;margin:18px 0;padding:0 14px}.submit-review>summary{cursor:pointer;align-items:center;gap:8px;min-height:48px;font-size:14px;list-style:none;display:flex}.submit-review .question-numbers{grid-template-columns:repeat(auto-fill,minmax(40px,1fr));padding-bottom:14px}.question-numbers>button{min-height:40px}.result-hero{border-radius:22px;padding:32px}.result-hero h1{font-size:clamp(23px,2.2vw,30px);line-height:1.5}.result-score strong{color:var(--theme-ink);font-variant-numeric:tabular-nums;font-size:54px}.result-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0;display:grid}.result-stats>div{background:var(--theme-surface-muted);border:0;border-radius:12px;padding:14px 10px}.result-stats span{font-size:13px}.result-stats .revealed{color:var(--theme-accent-ink)}.result-pending-note{color:var(--theme-ink-muted);max-width:560px;margin:0 auto 20px;font-size:14px}.review-item{border-radius:14px}.review-item>summary{grid-template-columns:34px minmax(0,1fr) auto 18px;align-items:center;gap:14px;padding:18px;display:grid}.review-item>summary>span:nth-child(2){min-width:0;font-size:15px;line-height:1.65}.review-content{padding:0 22px 22px}.review-content .feedback{border-radius:12px}.modal-backdrop{overflow:clip}.modal-backdrop:before{content:"";z-index:-1;pointer-events:none;background:var(--modal-scrim,#20293165);position:absolute;inset:0}.modal{--modal-padding:28px;border-radius:22px;flex-direction:column;min-height:0;max-height:calc(100dvh - 40px);padding:0;display:flex;overflow:hidden}.modal-head{z-index:3;padding:var(--modal-padding) var(--modal-padding) 16px;background:var(--theme-surface);flex:none;gap:12px;margin-bottom:0;position:relative}.modal-head:after{content:"";background:linear-gradient(to bottom, var(--theme-surface), transparent);pointer-events:none;height:16px;position:absolute;inset:100% 0 auto}.modal-body{overscroll-behavior-y:contain;min-height:0;padding:16px var(--modal-padding) var(--modal-padding);flex:auto;scroll-padding-block:16px;overflow:hidden auto}.modal-body:empty{display:none}.modal-body>:first-child{margin-top:0}.modal-body>:last-child{margin-bottom:0}.modal-head h2{color:var(--theme-ink);font-size:22px}.modal-head p,.modal label,.modal legend{font-size:14px}.drop-zone{transition:background-color .18s var(--motion-ease), border-color .18s var(--motion-ease), box-shadow .18s var(--motion-ease);border-radius:14px}.drop-zone.dragging:not(.disabled){border-style:solid;border-color:var(--brand-accent);background:var(--theme-blue-surface);box-shadow:inset 0 0 0 1px var(--theme-accent-border), 0 0 0 4px color-mix(in srgb, var(--brand-accent) 13%, transparent), 0 0 24px color-mix(in srgb, var(--brand-accent) 20%, transparent)}.drop-zone.dragging .upload-symbol{color:var(--theme-accent-ink);background:var(--theme-surface)}.drop-zone.dragging strong{color:var(--theme-accent-ink)}.selected-upload{border:1px solid var(--theme-accent-border);background:var(--theme-accent-surface);border-radius:14px;margin:18px 0 24px;padding:16px}.upload-conversion-note{margin:-12px 0 22px}.selected-upload-heading{color:var(--theme-accent-ink);align-items:flex-start;gap:10px;display:flex}.selected-upload-heading>svg{flex-shrink:0;margin-top:2px}.selected-upload-heading strong{font-size:15px;font-weight:600}.selected-upload-heading p{color:var(--theme-ink-muted);margin-top:4px;font-size:13px}.selected-upload .file-list{margin:14px 0 0}.selected-upload .file-row{background:var(--theme-surface);border-color:var(--theme-accent-border);gap:10px;padding:12px}.selected-upload .file-row>svg{color:var(--theme-accent-ink)}.selected-upload .file-row>span{min-width:0}.selected-upload .file-row strong{color:var(--theme-ink);overflow-wrap:anywhere;white-space:normal;font-weight:600}.selected-upload .file-row .icon-btn{flex-shrink:0}.drop-zone strong{font-size:15px}.drop-zone small,.drop-zone span:not(.upload-symbol){font-size:13px}.upload-notes{margin-top:14px}.upload-notes summary{color:var(--theme-ink-muted);cursor:pointer;padding:8px 0;font-size:13px}.upload-notes .field-note{margin-top:5px}.color-swatch{width:34px;height:34px}.mobile-search-trigger{display:none}.search-dialog-field{width:100%;min-height:48px}.search-dialog-field input{font-size:16px}.search-results{max-height:50vh;margin:16px -8px 10px;overflow-y:auto}.search-result{text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;width:100%;padding:14px 10px;display:flex}.search-result:hover{background:var(--theme-accent-surface)}.search-result>span{flex:1;min-width:0}.search-result strong{overflow-wrap:anywhere;font-size:15px;display:block}.search-result small{color:var(--theme-ink-muted);font-size:13px}.search-show-all{margin-top:8px}.user-table-wrap{contain:inline-size layout paint;max-width:100%;overflow-x:auto}.user-cell{min-width:0}.settings-card dd{overflow-wrap:anywhere}.auth-form{max-width:430px}.app-shell,.not-found-page,.app-loading,.auth-layout{--page-glow:color-mix(in srgb, var(--brand-accent) 8%, transparent);--page-glow-soft:color-mix(in srgb, var(--brand-accent) 3%, transparent);--glow-background:radial-gradient(ellipse 90% 620px at 0% 0%, var(--page-glow), transparent 75%), radial-gradient(ellipse 60% 540px at 100% 0%, var(--page-glow-soft), transparent 75%);isolation:isolate;background:var(--theme-page)}:is(.app-shell,.not-found-page,.app-loading,.auth-layout):before{content:"";z-index:-1;pointer-events:none;background:var(--glow-background);position:fixed;inset:0}:root[data-theme=dark] :is(.app-shell,.not-found-page,.app-loading){--page-glow:color-mix(in srgb, var(--brand-accent) 7%, transparent)}:root .app-shell.study-focused{--page-glow:color-mix(in srgb, var(--brand-accent) 5%, transparent);--page-glow-soft:color-mix(in srgb, var(--brand-accent) 2%, transparent)}.auth-layout,.app-loading.auth-loading{--auth-glow:color-mix(in srgb, var(--brand-accent) 12%, transparent);--auth-glow-soft:color-mix(in srgb, var(--brand-accent) 5%, transparent);--glow-background:radial-gradient(ellipse 90% 90% at 0% 0%, var(--auth-glow), transparent 70%), radial-gradient(ellipse 65% 75% at 100% 0%, var(--auth-glow-soft), transparent 75%);background:var(--theme-surface)}:root[data-theme=dark] :is(.auth-layout,.auth-loading){--auth-glow:color-mix(in srgb, var(--brand-accent) 11%, transparent)}:root .auth-layout :is(.auth-story,.auth-form-panel){background:0 0}.auth-layout.auth-verification{grid-template-columns:minmax(0,1fr)}.auth-verification .auth-mobile-brand{margin-bottom:32px;display:block}.auth-story{justify-content:center;padding-block:100px}.auth-story>.brand{position:absolute;top:38px;left:50px}.auth-story-content{margin:0;padding:0}.auth-story-content h1{margin-top:0}.auth-story .auth-story-description,.auth-story .auth-story-tagline{font-size:15px}.auth-story .auth-story-tagline{margin-top:16px}.auth-form h2{font-size:28px;line-height:1.4}.auth-form>p{font-size:15px}.auth-form .auth-note{font-size:13px}@media (width<=1000px){.course-layout{gap:26px}.course-mobile-jump{margin:-8px 0 22px;display:flex}.study-config .field-note,.study-config .privacy-note{margin-top:12px}}@media (width<1180px),(aspect-ratio<1){.sidebar{width:min(var(--sidebar-width), calc(100vw - 48px))}.sidebar-header{padding:calc(18px + env(safe-area-inset-top,0px)) 24px 20px}.continue-panel{flex-direction:column;align-items:stretch;gap:14px;padding:20px}.continue-panel .btn{width:100%}.library-toolbar{gap:12px;padding:0}.filter-tabs{gap:3px;width:100%}.filter-tabs>button{white-space:normal;flex:auto;min-width:0;padding:9px 6px;font-size:13px}.library-controls>select{width:auto}.library-results-meta{flex-direction:column;gap:5px}.global-search{display:none}.mobile-search-trigger{display:inline-flex}.icon-btn{width:44px;height:44px}.topbar{padding:0 14px}.topbar-right{gap:3px}.breadcrumb-trail strong{font-size:13px}.main-content{padding:25px 18px 36px}.page-intro{gap:18px;margin-bottom:24px}.page-intro h1{font-size:24px}.page-intro p{font-size:14px}.hero{border-radius:18px;min-height:0;padding:24px}.hero .book-art{display:none}.hero.resume-hero{min-height:0}.hero-copy{max-width:none}.hero h2,.resume-hero h2{font-size:25px}.hero p{font-size:14px}.hero-footnote{max-width:none;font-size:12px}.hero .button-row{grid-template-columns:1fr;display:grid}.hero .button-row .btn{width:100%}.stats-grid{gap:12px;margin:20px 0 26px}.stat-card{padding:16px}.stat-label{align-items:flex-start;font-size:13px}.stat-label .stat-icon{width:28px;height:28px}.stat-value{font-size:33px}.stat-value>span{font-size:12px}.section-heading h2{font-size:18px}.section-heading p,.section-heading .text-btn{font-size:13px}.course-card h3{font-size:16px}.course-card-body{padding:18px}.course-card-footer,.course-meta{font-size:13px}.history-row{flex-wrap:wrap;gap:10px;padding:16px 12px}.history-name{flex-basis:calc(100% - 70px)}.history-row .badge{margin-left:50px}.history-row>svg:last-child{margin-left:auto}.filter-bar{align-items:stretch}.filter-bar>select{min-height:44px}.course-banner{padding:23px}.course-banner p{font-size:13px}.study-config{padding:22px}.study-config h2{font-size:21px}.study-config .mode-options{grid-template-columns:1fr}.lesson strong,.checkbox-label{font-size:14px}.study-top .back-link{font-size:13px}.focus-study-header>span{display:none}.focus-header-actions{margin-left:auto}.study-focused .question-panel{border-radius:18px;padding:24px 19px}.study-focused .question-panel h1{font-size:22px}.study-save-status{margin-bottom:15px}.keyboard-hint{display:none}.result-hero{padding:26px 19px}.result-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.result-hero .button-row{display:flex}.review-item>summary{grid-template-columns:30px minmax(0,1fr) 18px;gap:10px;padding:16px}.review-item>summary .badge{grid-column:2;justify-self:start}.review-item>summary>svg{grid-area:1/3}.review-content{padding:0 16px 18px}.results-page .section-heading{flex-direction:column;align-items:stretch}.results-page .section-heading select{max-width:none;min-height:44px;font-size:16px}.modal{--modal-padding:22px;border-radius:18px;max-height:calc(100dvh - 24px);padding:0}.modal .modal-actions{gap:10px}.modal-actions .btn{flex:1}.modal-head h2{font-size:21px}.modal-head p{font-size:14px}.upload-quota{flex-wrap:wrap;gap:8px;font-size:12px}.drop-zone{min-height:150px;padding:20px 15px}.drop-zone strong{font-size:14px}.field-note,.privacy-note,.config-foot{font-size:13px}input:not([type=checkbox]),select,textarea{font-size:16px}.settings-card{padding:22px}.user-table{min-width:570px}.auth-form-panel{padding:28px 24px}.auth-form h2{font-size:26px}}.modal-footer{z-index:4;padding:20px var(--modal-padding);padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--theme-border);background:var(--theme-surface);flex:none;position:relative}.modal-footer:before{content:"";pointer-events:none;background:linear-gradient(to bottom, transparent, var(--theme-surface));height:16px;position:absolute;bottom:calc(100% + 1px);left:0;right:0}.modal-footer .modal-actions{border:0;margin:0;padding:0}.modal-footer .btn{white-space:normal;min-width:0}.modal-footer .upload-actions .btn{flex:none}.modal-footer .upload-actions .btn.primary{min-width:150px;max-width:100%}.upload-actions .btn>span{overflow-wrap:anywhere;min-width:0}.modal-footer .upload-actions{flex-wrap:wrap}.modal.confirmation-modal{--modal-padding:24px;max-width:440px}.confirmation-modal .modal-head{padding-bottom:22px}.confirmation-modal .modal-head h2{font-size:20px;line-height:1.4}.confirmation-modal .modal-head p{overflow-wrap:anywhere;margin-top:8px;line-height:1.65}.confirmation-modal .modal-head>.icon-btn{flex-shrink:0;margin:-4px -6px 0 0}.confirmation-modal .modal-footer{padding-block:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}.confirmation-modal .modal-footer .btn{min-width:88px;min-height:44px}@media (height<=500px){.modal-footer{padding-block:8px}.modal-backdrop{padding:4px}.modal{max-height:calc(100dvh - 8px)}.modal-head{padding-top:12px;padding-bottom:8px}.modal-head p{font-size:13px;line-height:1.4}.modal-head:after,.modal-footer:before{height:8px}}@media (forced-colors:active){select{appearance:auto;background-image:none}}.search-field{transition:background-color .18s var(--motion-ease), border-color .18s var(--motion-ease), outline-color .18s var(--motion-ease)}.search-field input:focus{outline:none}@media (hover:hover) and (pointer:fine){.search-field:hover{border-color:var(--hover-border)}}.search-field:focus-within{border-color:var(--theme-ink-muted)}@media (forced-colors:active){.search-field:focus-within{outline:2px solid highlight}}button,a,.btn,.icon-btn,.course-card,.new-course-card,.filter-tabs>button,.text-btn,.back-link,.danger-link{transition:background-color .18s var(--motion-ease), border-color .18s var(--motion-ease), color .18s var(--motion-ease), box-shadow .18s var(--motion-ease), transform .18s var(--motion-ease), text-decoration-color .18s var(--motion-ease)}.btn.primary{transition:--primary-gradient-start .18s var(--motion-ease), --primary-gradient-end .18s var(--motion-ease), border-color .18s var(--motion-ease), box-shadow .18s var(--motion-ease)}.text-btn,.back-link{text-underline-offset:4px;-webkit-text-decoration:underline #0000;text-decoration:underline #0000}@media (hover:hover) and (pointer:fine){.btn:hover:not(:disabled){transform:none}.btn.primary:hover:not(:disabled){border-color:var(--primary-button-hover-border)}.btn.danger:hover:not(:disabled){background:var(--danger-button-hover);border-color:var(--danger-button-border);color:#fff;box-shadow:0 3px 8px var(--danger-button-shadow)}.btn.secondary:hover:not(:disabled){background:color-mix(in srgb, var(--theme-surface), var(--theme-accent-ink) 16%);color:var(--theme-accent-ink);border-color:currentColor}:root .new-course-card:hover:not(:disabled){background:var(--hover-surface);border-color:var(--hover-border);color:var(--theme-accent-ink)}.icon-btn:hover:not(:disabled),.sidebar nav button:hover:not(:disabled){background:var(--hover-surface);color:var(--theme-accent-ink)}.history-row:hover:not(:disabled),.search-result:hover:not(:disabled){background:var(--hover-surface);color:var(--theme-ink)}.filter-tabs>button:hover:not(:disabled){background:var(--hover-surface);color:var(--theme-accent-ink)}.sidebar nav button.active:hover:not(:disabled){background:var(--hover-selected);color:var(--theme-accent-ink)}.filter-tabs>button[aria-pressed=true]:hover:not(:disabled){background:var(--tab-selected-hover);color:var(--tab-selected-ink)}.mode-options>button:hover:not(:disabled),.answer-option:where(:not(.correct-option,.wrong-option)):hover:not(:disabled){background:var(--hover-surface);border-color:var(--hover-border)}.mode-options>button.active:hover:not(:disabled),.answer-option.selected:where(:not(.correct-option,.wrong-option)):hover:not(:disabled){background:var(--hover-selected)}.text-btn:hover:not(:disabled),.back-link:hover:not(:disabled),.breadcrumb-parent:hover,.auth-forgot:hover,.auth-signup-prompt a:hover,.sidebar-cta button:hover:not(:disabled),.source-color-toggle:hover,a[href]:not([class]):hover{color:var(--accent-hover);text-decoration-color:currentColor}.danger-link:hover:not(:disabled){color:var(--theme-danger-ink,#a1384b);text-underline-offset:4px;text-decoration:underline}.icon-btn.danger-icon:hover:not(:disabled){color:var(--theme-danger-ink,#a1384b);background:var(--danger-hover-surface)}}@keyframes backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes popup-enter{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:no-preference){.study-page,.results-page{animation:backdrop-enter .2s var(--motion-ease)}.modal-backdrop:before{animation:backdrop-enter .18s var(--motion-ease)}.modal{animation:popup-enter .2s var(--motion-ease)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.auth-links{gap:10px;margin-top:18px;display:grid}.auth-form h2{color:var(--theme-ink);letter-spacing:-.5px;margin:0 0 6px;font-weight:650}.auth-form>p{margin-top:0;line-height:1.65}.auth-form .auth-note{margin-top:20px}.auth-links .btn{margin-top:0}.auth-field{margin-bottom:20px}.auth-field label{color:var(--theme-ink);margin:0 0 8px;font-weight:600;display:block}.auth-input-shell{align-items:center;min-width:0;display:flex;position:relative}.auth-input-shell input{width:100%}.user-table .session-count{text-align:center}.auth-input-shell.has-counter input{padding-right:76px}.auth-input-shell.has-toggle input{padding-right:48px}.auth-input-count{color:var(--theme-ink-muted);font-variant-numeric:tabular-nums;pointer-events:none;align-items:center;font-size:12px;font-weight:400;line-height:1;display:flex;position:absolute;top:0;bottom:0;right:14px}.auth-input-shell>.icon-btn{margin-block:auto;position:absolute;top:0;bottom:0;right:3px}.auth-field-error{color:var(--theme-danger-ink,#b8324b);overflow-wrap:anywhere;margin:8px 0 0;font-size:14px;line-height:1.6}.auth-input-shell input[aria-invalid=true]{border-color:var(--theme-danger-ink,#b8324b)}.auth-recovery-links{justify-items:center;gap:4px;margin-top:12px;display:grid}.auth-forgot{text-underline-offset:4px;color:var(--theme-accent-ink);justify-self:center;padding:6px 10px;font-size:14px;text-decoration:underline}.auth-signup-prompt{text-align:center;color:var(--theme-ink-muted);margin:0;font-size:14px}.auth-signup-prompt a{color:var(--theme-accent-ink);text-underline-offset:3px;padding-block:4px;text-decoration:underline;display:inline-block}.auth-divider{color:var(--theme-ink-muted);align-items:center;gap:14px;margin:3px 0;font-size:13px;line-height:1.4;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--theme-border);flex:1;height:1px}.google-signin{background:var(--theme-surface);border:1px solid var(--theme-border);color:var(--theme-ink);box-shadow:none;gap:12px;font-weight:500}.google-signin img{object-fit:contain;flex:0 0 20px;width:20px;height:20px}.google-signin:hover{background:var(--hover-surface);border-color:var(--hover-border);color:var(--theme-ink)}[data-theme=dark] .google-signin{border-color:color-mix(in srgb, var(--theme-ink-muted) 45%, var(--theme-border))}[data-theme=dark] .google-signin:hover{border-color:var(--hover-border)}.account-profile{border-color:var(--theme-accent-border);background:linear-gradient(120deg, var(--theme-accent-surface), var(--theme-panel,var(--theme-surface)));margin-bottom:24px}.account-profile-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px;display:flex}.account-profile-actions .account-logout{margin-left:auto}.account-profile dl{grid-template-columns:110px minmax(0,1fr);max-width:680px}.account-profile dd strong{color:var(--theme-ink);font-size:18px}.account-security-grid{grid-template-columns:minmax(0,1fr);margin-bottom:24px}.account-security-grid .settings-card form,.profile-edit{max-width:560px}.settings-card form{gap:16px;margin-top:22px;display:grid}.settings-card form label{gap:8px;margin:0;display:grid}.settings-card form>.btn{justify-self:start}.profile-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.settings-card>h2{color:var(--theme-ink)}.settings-grid+.ai-connection{margin-top:24px}@media (width<=540px){.account-profile dl{grid-template-columns:minmax(0,1fr);gap:5px}.account-profile dd{margin-bottom:12px}}.avatar{background:var(--avatar-surface);color:var(--avatar-ink);overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.profile-avatar-actions{flex-wrap:wrap;align-items:center;gap:16px;margin:16px 0 24px;display:flex}.not-found-page{min-height:100svh;color:var(--theme-ink);grid-template-rows:auto 1fr;padding:clamp(24px,5vw,48px) 24px;display:grid}.not-found-brand{justify-content:center;display:flex}.not-found-content{text-align:center;align-self:center;padding:56px 0 96px}.not-found-eyebrow{color:var(--theme-ink-muted);margin:0 0 4px;font-size:16px;font-weight:600}.not-found-content h1{letter-spacing:-.055em;margin:0;font-size:clamp(100px,23vw,168px);font-weight:750;line-height:1}.not-found-subtitle{max-width:36ch;color:var(--theme-ink-muted);margin:24px auto 28px;font-size:16px;line-height:1.65}.not-found-content .back-link{margin:0;display:inline-flex}.library-toolbar{flex-wrap:wrap;justify-content:flex-start;display:flex}.library-controls>.document-search{flex:0 360px;width:min(360px,100%);margin-left:auto}.library-controls>select{field-sizing:content;flex:none;width:auto;min-width:0;max-width:100%;min-height:44px;margin-left:0;font-size:14px}.sticky-tabs{top:var(--topbar-height,76px);z-index:8;align-self:flex-start;width:100%;padding-block:12px;position:sticky}.sticky-tabs:after{content:"";pointer-events:none;height:18px;position:absolute;inset:100% 0 auto;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.app-shell :is(.topbar,.focus-study-header,.sticky-tabs),.app-shell .sticky-tabs:after{background-color:var(--theme-page);background-image:var(--glow-background);background-attachment:fixed}.app-shell .topbar{background-color:var(--topbar-surface);border-bottom-color:var(--line)}.list-search{width:min(320px,100%);margin-left:auto}.active-account-count{color:var(--theme-ink-muted);margin:0 0 20px}.filter-bar.admin-toolbar{flex-flow:wrap;justify-content:space-between;align-items:center;gap:12px}.admin-toolbar .search-field{flex:245px;min-width:0;max-width:360px}.admin-toolbar .search-field svg{flex-shrink:0}.admin-toolbar .search-field input{min-width:0}.admin-toolbar .admin-create-account{flex:none;gap:8px;margin-inline-start:auto}.pagination{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:24px 0 4px;display:flex}.pagination button{min-width:40px;min-height:40px;color:var(--theme-ink-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;padding:6px;transition:background-color .16s,color .16s;display:inline-flex}.pagination button:hover:not(:disabled){background:var(--hover-surface);color:var(--theme-accent-ink)}.pagination button[aria-current=page]{background:var(--theme-accent-surface);color:var(--theme-accent-ink);border-color:var(--theme-border);font-weight:600}.pagination button:disabled{opacity:.4;cursor:default}.pagination-summary{color:var(--theme-ink-muted);margin-right:10px;font-size:13px}@media (width<1180px),(aspect-ratio<1){.library-toolbar.sticky-tabs{flex-direction:row;align-items:center}.library-toolbar>.filter-tabs{flex-basis:100%}.library-controls>.document-search{flex:1 1 0;gap:6px;width:auto;min-width:0;padding-inline:8px}.library-controls>select{width:auto;max-width:100%}.list-search{width:100%;margin-left:0}}@media (prefers-reduced-motion:reduce){.pagination button{transition:none}}@media (width<1180px),(aspect-ratio<1){.auth-form-panel{min-height:100svh;padding-top:calc(28px + env(safe-area-inset-top,0px));padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));justify-content:flex-start}.auth-mobile-brand{flex:none;margin-top:auto}.auth-form{flex:none}.auth-copyright{text-align:center;flex:none;margin-top:24px;margin-bottom:auto;line-height:1.6;display:block;position:static}}@media (width<=600px){.course-grid,.library-grid{grid-template-columns:minmax(0,1fr);gap:16px}.history-row{grid-template-columns:35px minmax(0,1fr) 17px;align-items:start;gap:8px 12px;display:grid}.history-icon{grid-area:1/1/3}.history-name{grid-area:1/2}.history-name strong{white-space:normal;overflow-wrap:anywhere}.history-row .badge{grid-area:2/2;justify-self:start;margin-left:0}.history-row>svg:last-child{grid-area:1/3/3;align-self:center;margin-left:0}}.library-controls>.document-search>svg{flex-shrink:0}.library-controls{flex:360px;align-items:center;gap:12px;min-width:min(100%,280px);display:flex}.library-controls>.document-search{flex:1 1 0;min-width:0}@media (width<1180px),(aspect-ratio<1){.library-controls{flex-basis:100%;gap:8px}.library-controls>select{--select-padding-start:10px;--select-padding-end:26px;--select-chevron-inset:9px;text-overflow:ellipsis;max-width:calc(100% - 118px)}}@media (width<=600px){.page-intro{align-items:stretch}.page-intro>div{text-align:left;width:100%}}@media (width<1180px),(aspect-ratio<1){.course-layout{grid-template-columns:minmax(0,1fr)}.course-mobile-jump{width:100%;margin:-8px 0 22px;display:flex}}.creation-modal .study-config-dialog{background:0 0;border:0;border-radius:0;padding:0;position:static}@media (width>=1180px) and (aspect-ratio>=1){.creation-modal:has(.upload-actions){max-width:576px}}@media (width<620px){.modal-backdrop.creation-backdrop{padding:0}.modal.creation-modal{border:0;border-radius:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0}.creation-modal .modal-head{padding-top:calc(20px + env(safe-area-inset-top,0px))}.creation-modal :is(.modal-body,.modal-head,.modal-footer){padding-inline:max(20px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px))}}@media (width<=600px){.study-focused .question-actions.practice-actions{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px 12px;display:grid}.practice-actions .practice-hint-slot,.practice-actions .practice-submit-actions{display:contents}.study-focused .practice-actions .practice-hint-link{white-space:nowrap;grid-area:1/1;font-size:14px}.practice-actions .practice-submit-actions>.text-btn{white-space:nowrap;grid-area:1/2;font-size:14px}.practice-actions svg{flex-shrink:0}.practice-actions .practice-hint{grid-area:2/1/auto/-1;margin:0}.study-focused .practice-actions .practice-submit-actions>.btn{white-space:nowrap;grid-column:1/-1;width:100%}.study-focused .question-actions:not(.practice-actions){grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.study-focused .question-actions:not(.practice-actions)>.btn{gap:6px;padding-inline:8px;font-size:13px}}@media (width<=540px){.account-profile-actions{grid-template-columns:minmax(0,1fr);display:grid}.account-profile-actions .btn{width:100%}.account-profile-actions .account-logout{margin-left:0}.profile-avatar-actions{margin-bottom:16px}.confirmation-modal .modal-footer .modal-actions{flex-wrap:wrap;justify-content:flex-end}.confirmation-modal .modal-footer .modal-actions .btn{white-space:nowrap;flex:0 auto;padding-inline:16px}.ai-connection-setup>.btn{width:100%}}@media (width<=340px){.confirmation-modal .modal-footer .modal-actions{grid-template-columns:minmax(0,1fr);display:grid}.confirmation-modal .modal-footer .modal-actions .btn{width:100%}}@media (prefers-reduced-motion:no-preference){[data-button-held]{transition:scale 60ms ease-out;scale:.96}}@media (width<1180px),(aspect-ratio<1){.sidebar{pointer-events:none;transition:transform .24s var(--motion-ease), visibility 0s linear .24s}.sidebar.mobile-open{pointer-events:auto;transition:transform .24s var(--motion-ease), visibility 0s}.sidebar-scrim{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .24s var(--motion-ease), visibility 0s linear .24s}.sidebar-scrim.is-open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .24s var(--motion-ease), visibility 0s}}@media (prefers-reduced-motion:reduce){.sidebar,.sidebar-scrim{transition:none}}.dashboard-courses{min-width:0}.hero.resume-hero h2{font-size:clamp(20px,1.65vw,26px);line-height:1.4}.rhythm-section{min-width:0;margin-top:32px}.rhythm-section .section-heading h2{margin:0;font-size:20px}.rhythm-section .section-heading{flex-wrap:wrap}.rhythm-panel{min-width:0;padding:24px;overflow:hidden}.rhythm-panel-summary{color:var(--theme-ink-muted);flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:24px;font-size:14px;display:flex}.rhythm-panel-summary strong{color:var(--theme-ink);font-size:28px}.rhythm-period{margin-left:auto}.rhythm-chart{scrollbar-width:thin;gap:12px;min-width:0;max-width:100%;padding:6px 4px 12px;display:grid;overflow-x:auto}.rhythm-chart-week{grid-template-columns:repeat(7,minmax(24px,1fr))}.rhythm-chart-year{grid-template-columns:repeat(12,minmax(44px,1fr))}.rhythm-chart-month{grid-template-columns:repeat(31,minmax(26px,1fr));gap:8px}.rhythm-column{min-width:0;color:var(--theme-ink-muted);font:inherit;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:end;align-items:center;gap:10px;padding:8px 4px;display:flex}button.rhythm-column{cursor:pointer}button.rhythm-column:disabled{opacity:.42;cursor:default}button.rhythm-column:hover:not(:disabled){background:var(--hover-surface);color:var(--theme-accent-ink)}.rhythm-count{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px}.rhythm-bar-label{white-space:nowrap;font-size:13px}.rhythm-track{background:var(--theme-accent-surface);border-radius:7px;align-items:end;width:min(100%,44px);height:148px;display:flex;overflow:hidden}.rhythm-track>span{background:var(--theme-viz-fill);border-radius:7px;width:100%;display:block}.rhythm-track>.no-activity{background:var(--theme-border)}.rhythm-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.rhythm-stats>div{color:var(--theme-ink-muted);gap:12px;padding:20px;font-size:14px;display:grid}.rhythm-stats strong{color:var(--theme-ink);font-variant-numeric:tabular-nums;font-size:28px}.rhythm-week-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rhythm-week-controls select{field-sizing:content;width:auto;max-width:100%}.chart-scroll-note{display:none}.rhythm-year{color:var(--theme-ink-muted);flex-direction:row;align-items:center;gap:10px;margin:0;font-size:14px;display:flex}.rhythm-year select{width:calc(4ch + var(--select-padding-start) + var(--select-padding-end) + 2px);font-variant-numeric:tabular-nums}@supports (field-sizing:content){.rhythm-year select{field-sizing:content;width:auto}}.rhythm-note,.rhythm-empty{margin:24px 0 16px;line-height:1.8}.uploaded-documents{gap:14px;display:grid}.document-search{flex:220px;min-width:0;max-width:360px;height:44px}.document-search input{width:100%;min-width:0}.uploaded-document{align-items:center;gap:18px;min-width:0;padding:20px;display:flex}.uploaded-document-info{text-align:left;flex:1;min-width:0}.uploaded-document-info h2{overflow-wrap:anywhere;text-align:left;margin:0 0 6px;font-size:16px;line-height:1.6}.uploaded-document-info p{color:var(--theme-ink-muted);margin:0;font-size:13px}.uploaded-document-info .text-btn{text-align:left;overflow-wrap:anywhere;justify-content:flex-start;padding-left:0}.uploaded-document>.file-type,.uploaded-document>.icon-btn{flex-shrink:0}@media (width<1180px),(aspect-ratio<1){.document-search{flex:none;width:100%;max-width:none}.chart-scroll-note{color:var(--theme-ink-muted);margin:12px 4px 0;font-size:13px;display:block}.rhythm-week-controls{width:100%}.rhythm-week-controls select{flex-basis:100%;width:100%}.rhythm-stats{grid-template-columns:1fr;gap:10px}.rhythm-stats>div{justify-content:space-between;align-items:center;padding:16px;display:flex}.rhythm-panel{padding:16px 10px}.rhythm-chart{gap:6px}.rhythm-period{flex-basis:100%;margin-left:0}.rhythm-track{height:120px}.uploaded-document{gap:12px;padding:16px 12px}.library-toolbar .filter-tabs{max-width:100%}.rhythm-section .section-heading h2{font-size:18px}}.rhythm-figure{--plot-height:148px;--plot-top:36px;gap:10px;min-width:0;display:flex}.rhythm-scale{min-width:28px;height:var(--plot-height);margin-top:var(--plot-top);color:var(--theme-ink-muted);font-variant-numeric:tabular-nums;text-align:right;flex:none;font-size:12px;position:relative}.rhythm-scale>span{position:absolute;top:0;right:0;translate:0 -50%}.rhythm-scale>span:nth-child(2){top:50%}.rhythm-scale>span:last-child{top:100%}.rhythm-figure .rhythm-chart{padding:var(--plot-top) 4px 12px;background-image:linear-gradient(var(--theme-border), var(--theme-border)), linear-gradient(var(--theme-border), var(--theme-border)), linear-gradient(var(--theme-border), var(--theme-border));background-size:100% 1px;background-position:0 var(--plot-top), 0 calc(var(--plot-top) + var(--plot-height) / 2), 0 calc(var(--plot-top) + var(--plot-height));background-repeat:no-repeat;background-attachment:local;flex:1;position:relative}.rhythm-figure .rhythm-column{gap:10px;padding:0 4px}.rhythm-figure .rhythm-track{height:var(--plot-height);background:0 0;border-radius:0;width:100%;position:relative;overflow:visible}.rhythm-figure .rhythm-track>.rhythm-bar{background:var(--theme-viz-fill);border-radius:5px 5px 0 0;width:min(66%,32px);min-height:0;transition:filter .16s;position:absolute;bottom:0;left:50%;translate:-50%}.rhythm-figure .rhythm-count{width:auto;color:var(--theme-ink-muted);pointer-events:none;background:0 0;border-radius:0;font-weight:500;line-height:1.4;display:block;position:absolute;left:50%;translate:-50%}.rhythm-column:focus-visible{outline:2px solid var(--theme-accent-ink);outline-offset:-2px}.rhythm-column:hover .has-activity,.rhythm-column:focus-visible .has-activity{filter:brightness(1.15)}@media (prefers-reduced-motion:reduce){.rhythm-figure .rhythm-track>.rhythm-bar{transition:none}}@media (width<=600px){.rhythm-figure{--plot-height:120px}}.rhythm-figure .rhythm-column{position:relative}.rhythm-figure button.rhythm-column:hover:not(:disabled){background:0 0}.rhythm-figure button.rhythm-column:before{content:"";background:var(--hover-surface);opacity:0;pointer-events:none;-webkit-mask-image:linear-gradient(to bottom, #000 0 32px, transparent 32px 33px, #000 33px calc(32px + var(--plot-height) / 2), transparent calc(32px + var(--plot-height) / 2) calc(33px + var(--plot-height) / 2), #000 calc(33px + var(--plot-height) / 2) calc(32px + var(--plot-height)), transparent calc(32px + var(--plot-height)) calc(33px + var(--plot-height)), #000 calc(33px + var(--plot-height)) 100%);mask-image:linear-gradient(to bottom, #000 0 32px, transparent 32px 33px, #000 33px calc(32px + var(--plot-height) / 2), transparent calc(32px + var(--plot-height) / 2) calc(33px + var(--plot-height) / 2), #000 calc(33px + var(--plot-height) / 2) calc(32px + var(--plot-height)), transparent calc(32px + var(--plot-height)) calc(33px + var(--plot-height)), #000 calc(33px + var(--plot-height)) 100%);border-radius:10px;transition:opacity .16s;position:absolute;inset:-32px 0 -8px}.rhythm-figure button.rhythm-column:hover:before,.rhythm-figure button.rhythm-column:focus-visible:before{opacity:1}.rhythm-figure .rhythm-track,.rhythm-figure .rhythm-bar-label{position:relative}@media (prefers-reduced-motion:reduce){.rhythm-figure button.rhythm-column:before{transition:none}}.study-focused .study-progress{margin-bottom:24px}.search-field,.filter-bar>select,.library-controls>select{height:44px;min-height:44px}.search-field input{width:100%;height:100%;min-height:0}.course-layout{display:block}.course-toolbar{flex-flow:wrap;align-items:center;gap:12px;display:flex}.course-toolbar .filter-tabs{width:auto;margin-left:0}.course-setup-trigger{flex:none;margin:0 0 0 auto}.chapter-group>h3{margin-bottom:12px}.lesson-toolbar{gap:12px;margin:0 0 16px}.lesson-row strong,.lesson-row small{overflow-wrap:anywhere}.lesson-preview{border-top:1px solid var(--theme-border);padding:0 20px 20px}.source-excerpt blockquote{white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;line-height:1.8}.source-excerpt mark{color:var(--theme-ink);background:#efc84b4d}.lesson-preview .source-original canvas{max-width:100%}.count-control>div{grid-template-columns:40px 48px 40px;padding:3px}.count-control .icon-btn{justify-self:center;width:40px;min-width:40px;height:40px;min-height:40px;margin:0;padding:0}.count-control input{width:48px;height:40px;min-height:40px;padding:0}@media (width<=899px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=620px) and (width<=1179px){.main-content{padding:28px 28px 40px}.page-intro{flex-flow:wrap;align-items:center}.page-intro>div{flex:240px}.hero .button-row{flex-wrap:wrap;display:flex}.hero .button-row .btn{width:auto}.filter-tabs{width:fit-content}.list-search{flex:220px;width:min(320px,100%);margin-left:auto}.library-toolbar>.filter-tabs{flex-basis:auto}.library-controls{flex-basis:320px}.continue-panel{flex-flow:wrap;align-items:center}.continue-panel .btn{width:auto}}@media (width<=619px){.lesson-preview{padding-inline:12px}.lesson-toolbar{flex-wrap:wrap}}.hero.resume-hero{gap:24px;container:resume-card/inline-size}.hero.resume-hero>.book-art{display:none}.hero.resume-hero .button-row{grid-template-columns:minmax(0,1fr);display:grid}.hero.resume-hero .button-row .btn.primary{width:100%}.resume-hero :where(.button-row) .btn.secondary{width:auto;min-height:36px;box-shadow:none;background:0 0;border-width:0;justify-self:center;padding:2px 8px}@media (width>=620px){@container resume-card (width>=580px){.hero.resume-hero .resume-track{max-width:400px}.hero.resume-hero>.book-art{opacity:1;width:210px;max-width:none;margin:0;display:block;position:static}.hero.resume-hero .button-row{display:flex}.hero.resume-hero .button-row .btn.primary{width:auto}.resume-hero :where(.button-row) .btn.secondary{background:var(--theme-surface);border-width:1px;min-height:44px;padding:10px 16px}}}
