:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#2b1f16;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility;--bg: oklch(1 0 0);--surface: oklch(.985 .012 56);--surface-strong: oklch(.965 .018 56);--ink: oklch(.25 .025 56);--ink-soft: oklch(.4 .02 56);--muted: oklch(.56 .018 56);--line: oklch(.91 .015 56);--line-strong: oklch(.84 .02 56);--primary: oklch(.62 .155 56.6);--primary-deep: oklch(.52 .14 56.6);--primary-soft: oklch(.94 .045 56.6);--accent: oklch(.46 .12 20);--success: oklch(.54 .12 150);--warning: oklch(.63 .13 80);--sidebar: oklch(.23 .025 56);--sidebar-ink: oklch(.94 .012 56);--sidebar-muted: oklch(.7 .018 56);--radius: 10px}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-loading{min-height:100vh;display:grid;place-items:center;background:var(--surface)}.auth-spinner{width:32px;height:32px;border:3px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(420px,.7fr);overflow:hidden;background:#21140d}.login-story{position:relative;min-width:0;min-height:100vh;padding:42px clamp(42px,6vw,96px) 34px;overflow:hidden;display:flex;flex-direction:column;isolation:isolate;color:#fdf7f3;background:#21140d}.login-story:before{content:"";position:absolute;z-index:-2;right:-14%;bottom:-31%;width:68%;aspect-ratio:1;border-radius:18%;background:#47220c;transform:rotate(34deg)}.login-story:after{content:"";position:absolute;z-index:-1;left:0;bottom:0;width:100%;height:23%;background:#160d09ad;clip-path:polygon(0 52%,62% 0,100% 38%,100% 100%,0 100%)}.login-brand{display:flex;align-items:center;gap:12px}.login-brand-mark{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;color:#fff;background:var(--primary)}.login-brand strong,.login-brand small{display:block}.login-brand strong{color:#fff;font-size:14px;line-height:1.2}.login-brand small{margin-top:5px;color:#bbaea6;font-size:10px}.login-environment{margin-left:auto;color:#a99b93;font-size:9px;font-weight:700;letter-spacing:.12em}.login-story-copy{max-width:680px;margin-top:clamp(66px,10vh,112px)}.login-story-label{display:flex;align-items:center;gap:9px;margin:0 0 22px;color:#c5b4a9;font-size:11px}.login-live-dot{width:7px;height:7px;border-radius:50%;background:#53be70;box-shadow:0 0 0 4px #53be701f}.login-story-copy h1{max-width:12ch;margin:0;color:#fff;font-size:clamp(42px,4.35vw,68px);font-weight:730;line-height:1.12;letter-spacing:-.035em;text-wrap:balance}.login-story-copy>p:last-child{max-width:49ch;margin:24px 0 0;color:#bbaea6;font-size:14px;line-height:1.8;text-wrap:pretty}.login-visual{position:relative;width:min(660px,90%);margin:clamp(52px,8vh,86px) 0 54px}.login-console{width:min(590px,calc(100% - 36px));overflow:hidden;border:1px solid oklch(1 0 0 / .14);border-radius:14px;background:#2f1e16f5;box-shadow:6px 7px #0a04036b;will-change:transform}.login-console-head{min-height:60px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid oklch(1 0 0 / .1)}.login-console-head div{display:grid;gap:4px}.login-console-head span{color:#a2968e;font-size:9px}.login-console-head strong{color:#fff;font-size:12px}.login-console-date{padding:6px 9px;border-radius:6px;color:#89d298!important;background:#14361d3d;font-weight:700}.login-console-body{padding:18px}.login-console-primary{display:grid;grid-template-columns:.78fr 1.22fr;gap:22px;min-height:134px;padding-bottom:18px;border-bottom:1px solid oklch(1 0 0 / .1)}.login-console-metric{display:flex;flex-direction:column;justify-content:center}.login-console-metric>span{color:#a2968e;font-size:10px}.login-console-metric>strong{margin-top:8px;color:#fff;font-size:38px;line-height:1;letter-spacing:-.035em}.login-console-metric strong small{color:#b4a8a0;font-size:11px;font-weight:500;letter-spacing:0}.login-console-metric em{margin-top:10px;color:#6fc884;font-size:9px;font-style:normal}.login-chart{min-width:0;height:112px;padding:11px 0 0;display:flex;align-items:flex-end;gap:clamp(6px,1vw,11px);border-bottom:1px solid oklch(1 0 0 / .12)}.login-chart-bar{width:100%;min-width:5px;max-width:23px;border-radius:4px 4px 1px 1px;background:#d97923;will-change:transform}.login-chart-bar:nth-child(2n){background:#b16330}.login-console-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:16px}.login-console-stats>div{min-width:0;min-height:58px;padding:0 12px;display:flex;align-items:center;gap:10px;border-radius:8px;background:#ffffff0e}.login-console-stats p{min-width:0;display:grid;gap:4px;flex:1;margin:0}.login-console-stats small{color:#9b9088;font-size:9px}.login-console-stats strong{overflow:hidden;color:#ebe3dd;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.login-console-stats>div>svg{flex:0 0 auto;color:#7e726a}.login-stat-icon{width:29px;height:29px;display:grid;place-items:center;flex:0 0 auto;border-radius:7px}.login-stat-icon--course{color:#fa9e57;background:#c86a0024;background:oklch(.62 .155 56.6 / .14)}.login-stat-icon--checkin{color:#6cc581;background:#2f824724}.login-signals{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;will-change:transform}.login-signal{position:absolute;min-width:188px;min-height:58px;padding:9px 12px;display:flex;align-items:center;gap:10px;border-radius:10px;color:var(--ink);background:#fff;box-shadow:0 5px 8px #0301013b;will-change:transform}.login-signal>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:7px;color:#fff;background:var(--success)}.login-signal p{display:grid;gap:4px;margin:0}.login-signal strong{font-size:10px}.login-signal small{color:var(--muted);font-size:9px}.login-signal--task{top:-29px;right:-24px}.login-signal--sync{right:10px;bottom:-27px}.login-signal--sync>span{background:#1777b8}.login-story-footer{position:relative;z-index:1;display:flex;align-items:center;gap:12px;margin-top:auto;color:#8f847c;font-size:9px}.login-story-footer i{width:3px;height:3px;border-radius:50%;background:#695a50}.login-access{min-width:0;min-height:100vh;padding:44px clamp(36px,5vw,84px) 30px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;color:var(--ink);background:#fdf9f6}.login-panel{width:min(390px,100%);margin:auto}.login-access-top{display:flex;align-items:center;gap:10px;color:var(--ink-soft);font-size:11px;font-weight:700}.login-access-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;color:var(--primary-deep);background:var(--primary-soft)}.login-heading{margin-top:42px}.login-heading h2{margin:0;color:var(--ink);font-size:30px;line-height:1.2;letter-spacing:-.025em}.login-heading p{margin:10px 0 0;color:var(--muted);font-size:12px}.login-form{display:grid;grid-template-columns:1fr;gap:0;margin-top:38px}.login-form>label{margin:0 0 8px;color:var(--ink-soft);font-size:11px;font-weight:700}.login-form>label:not(:first-child){margin-top:20px}.login-input-wrap{position:relative;height:48px;display:flex;align-items:center}.login-input-wrap>svg{position:absolute;left:14px;color:var(--muted);pointer-events:none}.login-input-wrap input{width:100%;height:100%;padding:0 44px;border:1px solid var(--line-strong);border-radius:9px;outline:0;color:var(--ink);background:#fff;font-size:12px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.login-input-wrap input::placeholder{color:#665b54;opacity:1}.login-input-wrap:focus-within>svg{color:var(--primary-deep)}.login-input-wrap input:focus-visible{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.login-password-toggle{position:absolute;right:7px;width:34px;height:34px;padding:0;display:grid;place-items:center;border:0;border-radius:7px;color:var(--muted);background:transparent}.login-password-toggle:hover{color:var(--ink);background:var(--surface-strong)}.login-password-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.login-error{min-height:38px;margin:15px 0 0;padding:9px 10px;display:flex;align-items:center;gap:8px;border-radius:7px;color:#892a29;background:#ffe8e6;background:oklch(.95 .03 25);font-size:10px;line-height:1.45}.login-error svg{flex:0 0 auto}.login-submit{width:100%;height:48px;margin-top:24px;padding:0 16px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:9px;color:#fff;background:var(--primary);font-size:12px;font-weight:750;transition:background .18s ease,transform .18s ease}.login-submit:hover:not(:disabled){background:var(--primary-deep)}.login-submit:active:not(:disabled){transform:translateY(1px)}.login-submit:focus-visible{outline:2px solid var(--primary-deep);outline-offset:3px}.login-submit:disabled{cursor:wait;opacity:.72}.login-submit-spinner{width:15px;height:15px;border:2px solid oklch(1 0 0 / .35);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.login-security{margin-top:22px;padding-top:20px;display:flex;align-items:flex-start;gap:10px;border-top:1px solid var(--line);color:var(--muted)}.login-security>svg{flex:0 0 auto;margin-top:1px;color:var(--success)}.login-security p{display:grid;gap:4px;margin:0}.login-security strong{color:var(--ink-soft);font-size:10px}.login-security span{max-width:46ch;font-size:9px;line-height:1.55}.login-copyright{margin:auto 0 0;color:var(--muted);font-size:9px;text-align:center}@media (max-width: 1100px){.login-page{grid-template-columns:minmax(0,1fr) 420px}.login-story{padding-left:44px;padding-right:44px}.login-story-copy h1{font-size:48px}.login-visual{width:96%}.login-signal--task{right:-8px}}@media (max-width: 900px){.login-page{min-height:100vh;grid-template-columns:1fr;overflow:auto;background:#fdf9f6}.login-story{min-height:auto;padding:24px 28px 34px}.login-story:before{right:-26%;bottom:-70%;width:78%}.login-brand{position:relative;z-index:1}.login-story-copy{margin-top:52px}.login-story-copy h1{max-width:15ch;font-size:38px}.login-story-copy>p:last-child{margin-top:18px;font-size:12px}.login-visual,.login-story-footer{display:none}.login-access{min-height:auto;padding:42px 28px 28px}.login-panel{width:min(460px,100%)}.login-access-top{display:none}.login-heading{margin-top:0}.login-copyright{margin-top:48px}}@media (max-width: 520px){.login-story{padding:20px 20px 30px}.login-environment{display:none}.login-brand-mark{width:38px;height:38px}.login-story-copy{margin-top:42px}.login-story-copy h1{font-size:31px;line-height:1.2}.login-story-copy>p:last-child{max-width:36ch;line-height:1.65}.login-access{padding:34px 20px calc(24px + env(safe-area-inset-bottom))}.login-heading h2{font-size:26px}.login-form{margin-top:30px}}.app-shell{display:flex;min-height:100vh;background:var(--bg)}.sidebar{width:244px;flex:0 0 244px;min-height:100vh;padding:24px 14px 18px;display:flex;flex-direction:column;background:var(--sidebar);color:var(--sidebar-ink);position:relative;z-index:30}.brand-lockup{display:flex;align-items:center;gap:10px;padding:0 9px 26px}.brand-mark{width:32px;height:32px;display:grid;place-items:center;color:#fff;background:var(--primary);border-radius:9px}.brand-name{margin:0;font-size:14px;font-weight:700;letter-spacing:.01em}.brand-subtitle{margin:3px 0 0;font-size:11px;color:var(--sidebar-muted)}.sidebar-close,.mobile-menu{display:none!important}.book-context{display:flex;align-items:center;gap:9px;min-height:58px;padding:10px;border:1px solid oklch(1 0 0 / .11);border-radius:9px;background:#ffffff0f}.book-icon{width:28px;height:28px;display:grid;place-items:center;color:var(--primary);background:#3f2f24;border-radius:7px}.book-copy{min-width:0;display:grid;gap:3px;flex:1}.book-copy select{width:100%;min-width:0;padding:0 18px 0 0;border:0;outline:0;overflow:hidden;color:var(--sidebar-ink);background:transparent;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.book-copy select:disabled{cursor:wait}.eyebrow,.section-kicker{color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase}.book-copy .eyebrow{color:var(--sidebar-muted)}.book-chevron{margin-left:-20px;color:var(--sidebar-muted);pointer-events:none}.primary-nav{display:grid;gap:5px;margin-top:24px}.nav-item{min-height:40px;display:flex;align-items:center;gap:11px;width:100%;padding:0 11px;border:0;border-radius:8px;color:var(--sidebar-muted);background:transparent;text-align:left;font-size:13px;transition:background .18s ease,color .18s ease}.nav-item:hover{color:var(--sidebar-ink);background:#ffffff14}.nav-item.active{color:var(--sidebar-ink);background:var(--primary)}.nav-arrow{margin-left:auto}.nav-item--muted{margin-top:10px}.sidebar-spacer{flex:1;min-height:32px}.sidebar-note{display:flex;align-items:flex-start;gap:10px;padding:13px 11px;margin:0 0 14px;border:1px solid oklch(1 0 0 / .12);border-radius:8px;color:var(--primary-soft);background:#ffffff0f}.sidebar-note>svg{margin-top:1px;color:var(--primary)}.sidebar-note strong,.sidebar-note span{display:block}.sidebar-note strong{color:var(--sidebar-ink);font-size:12px}.sidebar-note span{margin-top:4px;color:var(--sidebar-muted);font-size:11px}.user-chip{display:flex;align-items:center;gap:9px;padding:18px 9px 0;margin-top:8px;border-top:1px solid oklch(1 0 0 / .1)}.avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--accent);font-size:12px;font-weight:700}.avatar--small{width:28px;height:28px}.user-copy{display:grid;gap:3px}.user-copy strong{color:var(--sidebar-ink);font-size:12px}.user-copy span{color:var(--sidebar-muted);font-size:11px}.user-more{margin-left:auto;color:var(--sidebar-muted)}.main-area{min-width:0;flex:1}.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);background:var(--bg)}.breadcrumb{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.breadcrumb strong{color:var(--ink);font-weight:600}.topbar-actions{display:flex;align-items:center;gap:15px}.topbar-divider{width:1px;height:22px;background:var(--line)}.profile-mini{display:flex;align-items:center;gap:8px;border:0;color:var(--ink-soft);background:transparent;font-size:12px}.profile-mini svg{color:var(--muted)}.icon-button{position:relative;display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:7px;color:var(--muted);background:transparent;transition:color .18s ease,background .18s ease,border-color .18s ease}.icon-button:hover{color:var(--ink);border-color:var(--line);background:var(--surface)}.notification-dot{position:absolute;top:5px;right:5px;width:5px;height:5px;border:1px solid white;border-radius:50%;background:var(--primary)}.content-wrap{max-width:1440px;padding:36px 42px 54px;margin:0 auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading h1{margin:7px 0 6px;color:var(--ink);font-size:26px;line-height:1.2;letter-spacing:-.02em;text-wrap:balance}.page-hint{margin:0;color:var(--muted);font-size:13px}.heading-actions{display:flex;align-items:center;gap:12px}.connection-warning{display:inline-flex;align-items:center;gap:5px;max-width:300px;color:var(--accent);font-size:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 13px;border:1px solid var(--line-strong);border-radius:7px;color:var(--ink-soft);background:var(--bg);font-size:12px;font-weight:600;transition:background .18s ease,border-color .18s ease,transform .18s ease}.button:hover{border-color:var(--ink-soft);background:var(--surface)}.button:active{transform:translateY(1px)}.button--quiet{border-color:var(--line);color:var(--ink-soft)}.button--primary{border-color:var(--primary);color:#fff;background:var(--primary)}.button--primary:hover{border-color:var(--primary-deep);background:var(--primary-deep)}.text-button{display:inline-flex;align-items:center;gap:4px;border:0;color:var(--primary-deep);background:transparent;font-size:12px;font-weight:600}.text-button:hover{color:var(--accent)}.loading-state{display:grid;gap:14px}.loading-bar,.loading-panel{background:var(--surface-strong);border-radius:8px;animation:pulse 1.2s ease-in-out infinite alternate}.loading-bar{width:34%;height:20px}.loading-bar--short{width:18%;height:12px}.loading-panel{width:100%;height:320px;margin-top:9px}@keyframes pulse{0%{opacity:.45}to{opacity:1}}.view-stack{display:grid;gap:18px}.record-filter{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.record-filter-copy{min-width:0;display:flex;align-items:center;gap:11px}.record-filter-copy>div{min-width:0;display:grid;gap:4px}.record-filter-copy strong{color:var(--ink);font-size:12px}.record-filter-copy>div>span{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.record-filter-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;color:var(--primary-deep);background:var(--primary-soft)}.record-child-select{flex:0 0 auto;background:var(--bg)}.record-child-select select{min-width:150px;max-width:240px;cursor:pointer}.records-loading{min-height:180px;display:grid;place-items:center}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{min-height:156px;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg)}.metric-card--primary{border-color:var(--primary);color:#fff;background:var(--primary)}.metric-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted)}.metric-card--primary .metric-top{color:#fffc}.metric-label{font-size:12px;font-weight:600}.metric-value{margin-top:20px;color:var(--ink);font-size:34px;font-weight:700;letter-spacing:-.035em}.metric-card--primary .metric-value{color:#fff}.metric-value small{margin-left:4px;color:var(--muted);font-size:13px;font-weight:500;letter-spacing:0}.metric-card--primary .metric-value small{color:#ffffffbf}.progress-track{width:100%;height:5px;overflow:hidden;border-radius:5px;background:var(--surface-strong)}.progress-track span,.mini-progress span{display:block;height:100%;border-radius:inherit;background:var(--primary)}.progress-track--light{margin-top:13px;background:#ffffff45}.progress-track--light span{background:#fff}.metric-foot,.metric-trend{display:flex;align-items:center;gap:6px;margin-top:10px;color:var(--muted);font-size:11px}.metric-card--primary .metric-foot{justify-content:space-between;color:#ffffffd9}.trend-up{color:var(--success);font-weight:700}.trend-neutral{color:var(--ink-soft);font-weight:700}.content-grid{display:grid;gap:18px}.content-grid--dashboard{grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr)}.content-grid--split{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg)}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:21px 22px 16px}.panel-heading h2{margin:0;color:var(--ink);font-size:15px;line-height:1.3;letter-spacing:-.01em}.panel-heading p{margin:6px 0 0;color:var(--muted);font-size:11px}.panel-actions{display:flex;align-items:center;gap:8px}.heading-icon{color:var(--primary)}.current-lesson{display:flex;align-items:center;gap:14px;padding:6px 22px 20px}.lesson-index{width:49px;height:49px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;color:var(--primary-deep);background:var(--primary-soft);font-size:18px;font-weight:700}.lesson-detail{min-width:0;flex:1}.lesson-unit{color:var(--primary-deep);font-size:10px;font-weight:700;letter-spacing:.05em}.lesson-detail h3{margin:5px 0 3px;color:var(--ink);font-size:16px}.lesson-detail p{overflow:hidden;margin:0;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.status-badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--muted);font-size:11px;font-weight:600}.status-badge>span{width:6px;height:6px;border-radius:50%;background:var(--line-strong)}.status-badge--active{color:var(--primary-deep)}.status-badge--active>span{background:var(--primary)}.status-badge--published{color:var(--success)}.status-badge--published>span{background:var(--success)}.status-badge--draft{color:var(--warning)}.status-badge--draft>span{background:var(--warning)}.course-progress-list{display:grid;gap:15px;padding:16px 22px 22px;border-top:1px solid var(--line)}.course-progress-row{display:grid;grid-template-columns:130px 1fr 50px;align-items:center;gap:12px}.course-row-title{display:flex;align-items:center;gap:8px;color:var(--ink-soft);font-size:11px}.course-row-title small{color:var(--muted)}.mini-progress{height:5px;overflow:hidden;border-radius:5px;background:var(--surface-strong)}.course-percent{color:var(--muted);font-size:10px;text-align:right}.activity-panel{display:flex;flex-direction:column}.activity-list{padding:2px 22px 11px}.activity-item{display:grid;grid-template-columns:24px 1fr auto;align-items:start;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.activity-item:last-child{border-bottom:0}.activity-marker{width:22px;height:22px;display:grid;place-items:center;border-radius:6px}.activity-marker--success{color:var(--success);background:#d6f0da}.activity-marker--info{color:var(--primary-deep);background:var(--primary-soft)}.activity-marker--warning{color:var(--warning);background:#fbedd5}.activity-item strong{display:block;color:var(--ink-soft);font-size:11px;font-weight:600;line-height:1.35}.activity-item p{margin:4px 0 0;color:var(--muted);font-size:10px}.activity-item time{color:var(--muted);font-size:10px;white-space:nowrap}.activity-more{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;margin:auto 22px 18px;border:0;color:var(--primary-deep);background:transparent;font-size:11px;font-weight:600}.today-panel{overflow:hidden}.today-summary{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:6px 22px 21px}.today-date{display:flex;align-items:center;gap:12px}.date-day{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;color:var(--primary-deep);background:var(--primary-soft);font-size:17px;font-weight:700}.today-date strong,.today-date span{display:block}.today-date strong{color:var(--ink-soft);font-size:12px}.today-date span{margin-top:4px;color:var(--muted);font-size:11px}.today-chips{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}.today-chips span{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:var(--surface);font-size:10px}.today-chips .chip-success{color:var(--success);border-color:#a8d5b0;background:#e9f6eb}.toolbar-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 0 4px}.toolbar-copy{display:grid;gap:5px}.toolbar-copy strong{color:var(--ink);font-size:14px}.toolbar-copy span{color:var(--muted);font-size:11px}.toolbar-actions{display:flex;align-items:center;gap:9px}.curriculum-layout{display:grid;grid-template-columns:278px minmax(0,1fr);align-items:start;gap:18px}.unit-list{padding:8px}.unit-list-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 10px 10px;color:var(--ink-soft);font-size:12px;font-weight:700}.unit-item{display:flex;align-items:center;gap:10px;width:100%;min-height:63px;padding:9px 10px;border:0;border-radius:7px;color:var(--muted);background:transparent;text-align:left}.unit-item:hover{background:var(--surface)}.unit-item.active{color:var(--ink);background:var(--primary-soft)}.unit-number{width:28px;color:var(--primary-deep);font-size:11px;font-weight:700}.unit-item-copy{min-width:0;display:grid;gap:4px;flex:1}.unit-item-copy strong{overflow:hidden;color:inherit;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.unit-item-copy small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.unit-item>svg{color:var(--line-strong)}.lesson-panel{overflow:hidden}.lesson-panel-heading{align-items:center;border-bottom:1px solid var(--line)}.lesson-panel-heading h2{margin-top:7px;font-size:16px}.count-label{color:var(--muted);font-size:11px}.lesson-table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:660px}.data-table th{padding:12px 18px;border-bottom:1px solid var(--line);color:var(--muted);font-size:10px;font-weight:600;text-align:left;white-space:nowrap}.data-table td{padding:15px 18px;border-bottom:1px solid var(--line);color:var(--ink-soft);font-size:11px}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover,.data-table tbody tr.row-current{background:#fffdfb;background:oklch(.995 .006 56)}.table-order{color:var(--muted);font-weight:700}.lesson-name{display:grid;gap:4px}.lesson-name strong{color:var(--ink);font-size:12px;font-weight:600}.lesson-name small{color:var(--primary-deep);font-size:10px}.type-label{display:inline-flex;align-items:center;padding:4px 7px;border-radius:5px;color:var(--primary-deep);background:var(--primary-soft);font-size:10px;font-weight:600}.type-label--garden{color:var(--accent);background:#ffe8e8}.type-label--unit_review{color:var(--success);background:#dcf2df}.row-actions{display:flex;gap:2px}.select-control{position:relative;display:flex;align-items:center;gap:7px;min-height:36px;padding:0 10px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--bg);font-size:11px}.select-control>span{white-space:nowrap}.select-control select{max-width:145px;padding-right:15px;border:0;outline:0;color:var(--ink-soft);background:transparent;font-size:11px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.select-control svg{pointer-events:none}.question-panel{overflow:hidden}.question-panel-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px;border-bottom:1px solid var(--line)}.question-panel-top h2{margin:7px 0 5px;color:var(--ink);font-size:18px}.question-panel-top p{margin:0;color:var(--muted);font-size:11px}.question-meta{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:11px}.question-list{padding:4px 22px 16px}.question-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto 32px;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid var(--line)}.question-row:last-child{border-bottom:0}.question-number{color:var(--primary-deep);font-size:12px;font-weight:700}.question-content{min-width:0}.question-tags{display:flex;align-items:center;gap:6px;margin-bottom:7px}.skill-tag{color:var(--muted);font-size:10px}.question-content p{margin:0;color:var(--ink-soft);font-size:12px;line-height:1.6}.inline-loading{padding:44px 22px;color:var(--muted);font-size:12px;text-align:center}.empty-state{display:grid;justify-items:center;gap:8px;padding:52px 20px;color:var(--muted)}.empty-state strong{color:var(--ink-soft);font-size:13px}.empty-state span{font-size:11px}.challenge-banner{display:flex;align-items:center;gap:14px;padding:20px 22px;border:1px solid var(--primary);border-radius:var(--radius);background:var(--primary-soft)}.challenge-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;color:#fff;background:var(--primary)}.challenge-banner h2{margin:5px 0 4px;color:var(--ink);font-size:17px}.challenge-banner p{margin:0;color:var(--ink-soft);font-size:11px}.challenge-progress{margin-left:auto;text-align:right}.challenge-progress strong{display:block;color:var(--primary-deep);font-size:28px;line-height:1}.challenge-progress small{margin-left:2px;color:var(--muted);font-size:13px;font-weight:500}.challenge-progress span{display:block;margin-top:5px;color:var(--muted);font-size:10px}.checkin-panel{overflow:hidden}.calendar-legend{display:flex;align-items:center;gap:13px;color:var(--muted);font-size:10px}.calendar-legend span{display:inline-flex;align-items:center;gap:5px}.legend-dot{width:7px;height:7px;border-radius:50%;background:var(--line-strong)}.legend-dot--done{background:var(--primary)}.legend-dot--current{background:var(--accent)}.checkin-grid{display:grid;grid-template-columns:repeat(10,minmax(50px,1fr));gap:8px;padding:6px 22px 24px}.checkin-day{aspect-ratio:1 / .8;display:grid;place-items:center;align-content:center;gap:4px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--surface);font:inherit;font-size:12px;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.checkin-day:not(:disabled){cursor:pointer}.checkin-day:not(:disabled):hover{border-color:var(--primary-deep);background:var(--primary-soft)}.checkin-day:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.checkin-day small{color:inherit;font-size:9px}.checkin-day--completed{border-color:var(--primary);color:#fff;background:var(--primary)}.checkin-day--completed:not(:disabled):hover{color:var(--primary-deep)}.checkin-day--completed.checkin-day--selected{border-color:var(--primary-deep);box-shadow:0 0 0 3px var(--primary-soft)}.checkin-day--current{border-color:var(--accent);color:var(--accent);background:#feeded}.checkin-day--locked{color:var(--line-strong);background:var(--bg)}.checkin-record-panel{overflow:hidden}.checkin-record-heading{align-items:flex-start}.checkin-record-summary{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:10px;white-space:nowrap}.checkin-record-summary strong{color:var(--ink);font-size:16px}.checkin-record-list{display:grid}.checkin-record-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:12px;padding:15px 22px;border-top:1px solid var(--line)}.checkin-question-order{width:26px;height:26px;display:grid;place-items:center;border-radius:7px;color:var(--primary-deep);background:var(--primary-soft);font-size:11px;font-weight:700}.checkin-question-copy{min-width:0;display:grid;gap:6px}.checkin-question-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:10px}.checkin-question-meta time{color:var(--line-strong)}.checkin-question-copy strong{color:var(--ink-soft);font-size:12px;font-weight:600;line-height:1.5}.checkin-question-copy p{margin:0;overflow-wrap:anywhere;color:var(--muted);font-size:11px;line-height:1.45}.checkin-question-copy p span{margin-right:7px;color:var(--ink-soft);font-weight:600}.attempt-status{align-self:center;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.attempt-status--correct{color:var(--success);background:#dff6e2}.attempt-status--submitted{color:var(--primary-deep);background:var(--primary-soft)}.attempt-status--review{color:var(--accent);background:#ffe8e8}.attempt-status--pending{color:var(--muted);background:var(--surface-strong)}.rule-list{display:grid;gap:2px;padding:1px 22px 19px}.rule-list>div{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.rule-list>div:last-child{border-bottom:0}.rule-icon{width:26px;height:26px;display:grid;place-items:center;flex:0 0 auto;border-radius:6px;color:var(--primary-deep);background:var(--primary-soft)}.rule-list p{margin:0}.rule-list strong,.rule-list small{display:block}.rule-list strong{color:var(--ink-soft);font-size:11px}.rule-list small{margin-top:4px;color:var(--muted);font-size:10px}.stat-list{display:grid;gap:0;padding:2px 22px 20px}.stat-list>div{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line)}.stat-list>div:last-child{border-bottom:0}.stat-list span{color:var(--muted);font-size:11px}.stat-list strong{color:var(--ink-soft);font-size:13px}.text-success{color:var(--success)!important}.lesson-history-panel{overflow:hidden}.lesson-history-list{display:grid}.lesson-history-row{width:100%;min-height:68px;display:grid;grid-template-columns:48px minmax(0,1fr) auto 170px;align-items:center;gap:14px;padding:12px 22px;border:0;border-bottom:1px solid var(--line);color:inherit;font:inherit;text-align:left;background:transparent}.lesson-history-row:last-child{border-bottom:0}.lesson-history-row--clickable{cursor:pointer}.lesson-history-row--clickable:hover,.lesson-history-row--clickable:focus-visible{background:var(--surface)}.lesson-history-row:disabled{opacity:1;cursor:default}.lesson-history-order{color:var(--primary-deep);font-size:12px;font-weight:700}.lesson-history-copy{min-width:0;display:grid;gap:5px}.lesson-history-copy strong{overflow:hidden;color:var(--ink-soft);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.lesson-history-copy span,.lesson-history-row time{color:var(--muted);font-size:10px}.lesson-history-row time{white-space:nowrap;text-align:right}.storage-status{min-height:62px;display:flex;align-items:center;gap:12px;padding:12px 15px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.storage-status-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px}.storage-status>div{min-width:0;display:grid;gap:4px}.storage-status strong{color:var(--ink);font-size:12px}.storage-status>div span{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.storage-status--ready{border-color:#b0d6b6;background:#f1faf2}.storage-status--ready .storage-status-icon{color:var(--success);background:#d6f0da}.storage-status--warning{border-color:#e3caa2;background:#fdf6ea}.storage-status--warning .storage-status-icon{color:var(--warning);background:#fae9ce}.storage-status-label{display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:var(--muted);font-size:10px;white-space:nowrap}.storage-status-label>span{width:7px;height:7px;border-radius:50%;background:var(--warning)}.storage-status--ready .storage-status-label>span{background:var(--success)}.storage-unconfigured{min-height:290px;display:grid;place-items:center;align-content:center;gap:10px;padding:32px;color:var(--muted);text-align:center}.storage-unconfigured strong{color:var(--ink);font-size:15px}.storage-unconfigured span{max-width:420px;font-size:11px;line-height:1.6}.storage-workspace{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:stretch;gap:18px}.upload-panel{overflow:hidden}.upload-body{display:grid;gap:13px;padding:0 22px 22px}.storage-upload-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.storage-category,.workbook-subject{justify-self:start}.storage-category select{min-width:120px}.workbook-subject select{min-width:90px}.upload-dropzone{min-height:150px;display:grid;place-items:center;align-content:center;gap:8px;width:100%;padding:20px;border:1px dashed var(--line-strong);border-radius:8px;color:var(--muted);background:var(--surface);transition:border-color .18s ease,background .18s ease}.upload-dropzone:hover,.upload-dropzone--active{border-color:var(--primary);background:var(--primary-soft)}.upload-dropzone:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.upload-dropzone:disabled{opacity:.65}.upload-dropzone-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;color:var(--primary-deep);background:var(--primary-soft)}.upload-dropzone strong{max-width:100%;overflow-wrap:anywhere;color:var(--ink-soft);font-size:12px}.upload-dropzone>span:last-child{max-width:100%;color:var(--muted);font-size:10px;line-height:1.5}.upload-progress{display:grid;gap:7px}.upload-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}.upload-progress strong{color:var(--primary-deep)}.upload-feedback{display:flex;align-items:flex-start;gap:6px;min-width:0;font-size:10px;line-height:1.45}.upload-feedback svg{flex:0 0 auto}.upload-feedback--success{color:var(--success)}.upload-feedback--error{color:var(--accent)}.upload-submit{justify-self:end}.storage-summary{display:grid;align-content:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.storage-summary>div{display:grid;gap:5px;padding:19px 4px;border-bottom:1px solid var(--line)}.storage-summary>div:last-child{border-bottom:0}.storage-summary span{color:var(--muted);font-size:10px}.storage-summary strong{overflow:hidden;color:var(--ink);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.workbook-review{overflow:hidden}.workbook-review-heading{align-items:center;border-bottom:1px solid var(--line)}.workbook-review-body{display:grid;gap:16px;padding:18px 22px 20px}.workbook-review-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.workbook-review-title>div{min-width:0;display:grid;gap:5px}.workbook-review-title span,.workbook-review-title small{color:var(--muted);font-size:10px}.workbook-review-title strong{overflow-wrap:anywhere;color:var(--ink);font-size:15px}.workbook-review-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subject-token{display:inline-grid;place-items:center;min-width:42px;min-height:26px;padding:0 8px;border-radius:6px;font-size:10px;font-weight:700;white-space:nowrap}.subject-token--chinese{color:#89312f;background:#ffe8e6}.subject-token--math{color:#005580;color:oklch(.43 .11 240);background:#e0f1fe}.workbook-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.workbook-stats>div{display:grid;gap:5px;padding:13px 15px;border-right:1px solid var(--line)}.workbook-stats>div:last-child{border-right:0}.workbook-stats span{color:var(--muted);font-size:10px}.workbook-stats strong{color:var(--ink);font-size:17px}.workbook-unit-strip{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px}.workbook-unit-strip>span{min-width:150px;display:grid;gap:5px;padding:10px 11px;border-radius:7px;background:var(--surface)}.workbook-unit-strip strong{overflow:hidden;color:var(--ink-soft);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.workbook-unit-strip small{color:var(--muted);font-size:9px}.workbook-alert{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border-radius:7px;color:#7b5600;color:oklch(.48 .1 80);background:#fef4e3}.workbook-alert--error{color:var(--accent);background:#fff1f1;background:oklch(.97 .02 20)}.workbook-alert svg{flex:0 0 auto}.workbook-alert>div{min-width:0;display:grid;gap:4px}.workbook-alert strong{font-size:11px}.workbook-alert span{overflow-wrap:anywhere;font-size:10px;line-height:1.5}.workbook-import-form{display:grid;grid-template-columns:220px repeat(3,minmax(0,1fr));gap:10px}.workbook-import-form label{min-width:0;display:grid;gap:6px;color:var(--muted);font-size:10px}.workbook-import-form input,.workbook-import-form select{width:100%;min-width:0;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:7px;outline:0;color:var(--ink-soft);background:var(--bg);font-size:11px}.workbook-import-form input:focus,.workbook-import-form select:focus{border-color:var(--primary);outline:2px solid var(--primary-soft)}.segmented-control{display:grid;grid-template-columns:1fr 1fr;align-self:end;min-height:36px;padding:3px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.segmented-control button{border:0;border-radius:5px;color:var(--muted);background:transparent;font-size:10px}.segmented-control button.active{color:#fff;background:var(--primary)}.segmented-control button:disabled{cursor:not-allowed;opacity:.45}.workbook-review-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.workbook-review-actions>span{max-width:70ch;color:var(--muted);font-size:10px;line-height:1.5}.workbook-feedback{padding:11px 22px;border-top:1px solid var(--line);overflow-wrap:anywhere;color:var(--accent);background:var(--surface);font-size:10px;line-height:1.5}.workbook-feedback--success{color:var(--success)}.object-panel{overflow:hidden}.object-panel-heading{align-items:center;border-bottom:1px solid var(--line)}.object-list{display:grid}.object-row{min-height:67px;display:grid;grid-template-columns:36px minmax(0,1fr) 80px 140px minmax(170px,auto);align-items:center;gap:12px;padding:10px 22px;border-bottom:1px solid var(--line)}.object-row:last-child{border-bottom:0}.object-row:hover{background:var(--surface)}.object-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;color:var(--primary-deep);background:var(--primary-soft)}.object-name{min-width:0;display:grid;gap:4px}.object-name strong,.object-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.object-name strong{color:var(--ink-soft);font-size:11px}.object-name span{color:var(--muted);font-size:9px}.object-name .course-material-label{overflow:visible;color:var(--accent-strong);font-size:10px;font-weight:600;white-space:nowrap}.object-name .course-material-label--missing{color:var(--warning);font-weight:500}.course-material-editor{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:2px}.course-material-editor select{min-width:72px;height:28px;padding:0 7px;border:1px solid var(--line);border-radius:6px;outline:0;color:var(--ink-soft);background:var(--bg);font-size:10px}.course-material-editor select:focus{border-color:var(--primary);outline:2px solid var(--primary-soft)}.course-material-save,.course-material-cancel{min-height:28px;padding:0 9px;font-size:10px}.object-meta{color:var(--muted);font-size:10px;white-space:nowrap}.object-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.object-import,.object-preview,.object-mark{min-width:76px}.import-history-panel{overflow:hidden}.import-history-list{display:grid}.import-history-row{min-height:62px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 22px;border-top:1px solid var(--line)}.import-history-row>div{min-width:0;display:grid;gap:4px}.import-history-row strong,.import-history-row span,.import-history-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.import-history-row strong{color:var(--ink-soft);font-size:11px}.import-history-row span,.import-history-row small{color:var(--muted);font-size:9px}.import-history-row small{color:var(--accent)}.question-dialog{width:min(900px,calc(100vw - 48px));max-height:calc(100vh - 48px);padding:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);background:var(--bg);box-shadow:0 12px 28px #1d140d38}.question-dialog[open]{display:flex;flex-direction:column}.question-dialog::backdrop{background:#12090485}.question-editor{min-height:0;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);gap:20px;padding:20px;overflow-y:auto}.question-editor-main,.question-editor-aside{min-width:0;display:grid;align-content:start;gap:14px}.question-editor-field{display:grid;gap:6px;color:var(--muted);font-size:10px;font-weight:600}.question-editor-field textarea,.question-editor-field select{width:100%;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:7px;outline:0;color:var(--ink-soft);background:var(--bg);font-size:12px;font-weight:400;line-height:1.5;resize:vertical}.question-editor-field textarea:focus,.question-editor-field select:focus{border-color:var(--primary);outline:2px solid var(--primary-soft)}.question-editor-field small{color:var(--muted);font-size:9px;font-weight:400;line-height:1.5}.question-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.question-editor-preview,.question-image-list{display:grid;gap:9px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.question-editor-preview p{margin:0;color:var(--ink-soft);font-size:12px;line-height:1.65;white-space:pre-wrap}.question-image-list img{display:block;max-width:100%;max-height:260px;margin:0 auto;object-fit:contain;background:#fff}.question-feedback{grid-column:1 / -1;margin:0;padding:9px 10px;color:var(--accent);background:#fff1f1;background:oklch(.97 .02 20);font-size:10px;line-height:1.5}.question-feedback--success{color:var(--success);background:#e9f6eb}.question-dialog-footer{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:14px;border-top:1px solid var(--line)}.question-dialog-footer>span{color:var(--muted);font-size:10px}.question-dialog-footer>div{display:flex;gap:8px}.preview-dialog{width:min(960px,calc(100vw - 48px));max-height:calc(100vh - 48px);padding:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);background:var(--bg);box-shadow:0 18px 60px #1d140d38}.preview-dialog[open]{display:flex;flex-direction:column}.preview-dialog::backdrop{background:#12090485}.preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--line)}.preview-header>div{min-width:0}.preview-header h2{overflow:hidden;margin:5px 0 4px;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.preview-header p{margin:0;color:var(--muted);font-size:10px}.preview-stage{min-height:300px;display:grid;place-items:center;flex:1;overflow:auto;background:var(--surface)}.preview-stage img{display:block;max-width:100%;max-height:68vh;object-fit:contain}.preview-stage iframe{width:100%;height:min(68vh,720px);border:0;background:#fff}.preview-stage audio{width:min(520px,calc(100% - 40px))}.preview-stage video{display:block;max-width:100%;max-height:68vh}.preview-fallback{display:grid;justify-items:center;gap:9px;padding:40px;color:var(--muted);text-align:center}.preview-fallback strong{color:var(--ink-soft);font-size:13px}.preview-fallback span{max-width:100%;overflow-wrap:anywhere;font-size:10px}.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 20px;border-top:1px solid var(--line)}.preview-footer>span{color:var(--muted);font-size:10px}.preview-footer a{text-decoration:none}.spin{animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}@media (max-width: 1180px){.content-wrap,.topbar{padding-left:28px;padding-right:28px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid--dashboard{grid-template-columns:1fr}}@media (max-width: 860px){.sidebar{position:fixed;left:-260px;top:0;bottom:0;transition:left .2s ease}.sidebar--open{left:0}.sidebar-close,.mobile-menu{display:inline-grid!important}.sidebar-close{margin-left:auto;color:var(--sidebar-muted)}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:#0303034d}.mobile-menu{margin-right:9px}.topbar{justify-content:flex-start}.topbar-actions{margin-left:auto}.curriculum-layout,.storage-workspace{grid-template-columns:1fr}.unit-list{display:flex;overflow-x:auto;gap:7px;padding:8px}.unit-list-heading{display:none}.unit-item{width:180px;min-width:180px}.storage-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.storage-summary>div{padding:15px;border-right:1px solid var(--line);border-bottom:0}.storage-summary>div:last-child{border-right:0}.workbook-import-form{grid-template-columns:1fr 1fr}.object-row{grid-template-columns:36px minmax(0,1fr) minmax(170px,auto)}.object-row>.object-meta{display:none}}@media (max-width: 640px){.content-wrap{padding:26px 16px 40px}.topbar{height:58px;padding:0 16px}.breadcrumb{font-size:11px}.profile-mini span:not(.avatar){display:none}.page-heading{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:22px}.page-heading h1{font-size:23px}.heading-actions,.heading-actions .button{width:100%}.connection-warning{display:none}.record-filter{align-items:stretch;flex-direction:column;gap:10px}.record-child-select{width:100%}.record-child-select select{min-width:0;max-width:none;flex:1}.metrics-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{min-height:134px;padding:14px}.metric-value{margin-top:17px;font-size:28px}.content-grid--split{grid-template-columns:1fr}.panel-heading{padding:17px 16px 14px}.current-lesson,.course-progress-list,.activity-list{padding-left:16px;padding-right:16px}.today-summary,.toolbar-row,.challenge-banner{align-items:flex-start;flex-direction:column;padding-left:16px;padding-right:16px}.today-chips{justify-content:flex-start}.today-panel .panel-heading{flex-direction:column}.today-panel .panel-actions{width:100%}.today-panel .panel-actions .button{flex:1}.toolbar-actions{width:100%;flex-wrap:wrap}.toolbar-actions>*{flex:1}.select-control select{max-width:none;flex:1}.question-panel-top{flex-direction:column;padding:18px 16px}.question-list{padding-left:16px;padding-right:16px}.question-row{grid-template-columns:27px minmax(0,1fr) 28px}.question-row>.status-badge{display:none}.challenge-progress{margin-left:0;text-align:left}.challenge-banner{gap:11px}.checkin-grid{grid-template-columns:repeat(5,minmax(42px,1fr));gap:7px;padding-left:16px;padding-right:16px}.calendar-legend{flex-wrap:wrap}.content-grid--dashboard{gap:14px}.checkin-record-heading{gap:12px}.checkin-record-summary{width:100%;justify-content:flex-start}.checkin-record-row{grid-template-columns:30px minmax(0,1fr);gap:9px;padding:13px 16px}.attempt-status{grid-column:2;justify-self:start}.lesson-history-row{grid-template-columns:34px minmax(0,1fr) auto;gap:9px;padding:11px 16px}.lesson-history-row time{grid-column:2 / -1;text-align:left}.storage-status{align-items:flex-start}.storage-status-label{display:none}.storage-status>div span{white-space:normal}.upload-body{padding:0 16px 18px}.storage-upload-controls{align-items:stretch;flex-direction:column}.storage-category,.workbook-subject{width:100%}.storage-category select,.workbook-subject select{min-width:0;flex:1}.upload-submit{width:100%}.storage-summary{grid-template-columns:1fr}.storage-summary>div{padding:12px 4px;border-right:0;border-bottom:1px solid var(--line)}.workbook-review-body{padding:15px 16px 17px}.workbook-review-title{align-items:flex-start}.workbook-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.workbook-stats>div{border-bottom:1px solid var(--line)}.workbook-stats>div:nth-child(2n){border-right:0}.workbook-import-form{grid-template-columns:1fr}.workbook-review-actions{align-items:stretch;flex-direction:column}.workbook-review-actions .button{width:100%}.workbook-feedback{padding:11px 16px}.object-row{grid-template-columns:34px minmax(0,1fr);gap:9px;padding:10px 16px}.object-row>.object-meta{display:none}.object-actions{grid-column:2;justify-content:flex-start}.object-import,.object-preview,.object-mark{min-width:0;flex:1}.course-material-editor{align-items:stretch}.course-material-editor select,.course-material-save,.course-material-cancel{flex:1;min-width:0}.import-history-row{grid-template-columns:42px minmax(0,1fr);padding:11px 16px}.import-history-row>.status-badge{grid-column:2;justify-self:start}.preview-dialog,.question-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.question-editor{grid-template-columns:1fr;padding:15px 16px 17px}.question-editor-footer,.question-dialog-footer{align-items:stretch;flex-direction:column}.question-dialog-footer>div{width:100%}.question-dialog-footer .button{flex:1}.preview-header,.preview-footer{padding:14px}.preview-footer{align-items:stretch;flex-direction:column}.preview-footer .button{width:100%}.preview-stage{min-height:240px}}
