@charset "UTF-8";.app-shell{--as-surface: white;--as-surface-2: #faf8f3;--as-line: rgba(26, 26, 26, .08);--as-line-2: rgba(26, 26, 26, .05);display:grid;grid-template-columns:248px 1fr;min-height:100vh;background:#f6f4ef;color:#1a1a1a;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-shell a{text-decoration:none;color:inherit}@media(max-width:768px){.app-shell{grid-template-columns:1fr}}.as-side{position:sticky;top:0;height:100vh;background:var(--as-surface);border-right:1px solid var(--as-line);display:flex;flex-direction:column;padding:18px 14px}@media(max-width:768px){.as-side{position:static;height:auto;flex-direction:row;align-items:center;gap:.5rem;padding:10px 14px;overflow-x:auto}}.as-brand{display:flex;align-items:center;gap:10px;padding:6px 8px 18px}@media(max-width:768px){.as-brand{padding:0 8px 0 0;flex-shrink:0}}.as-brand-logo{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,#c73e1d,#9e2f14);color:#fff;display:grid;place-items:center;font-family:"Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif;font-weight:700;font-size:19px;flex-shrink:0}.as-brand-name{font-weight:700;font-size:15px;letter-spacing:-.01em}.as-brand-sub{font-size:11px;color:#6b6b6b;font-family:"Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif}.as-nav{display:flex;flex-direction:column;gap:2px;margin-top:6px}@media(max-width:768px){.as-nav{flex-direction:row;margin-top:0;gap:2px}}.as-nav-label{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#6b6b6b;padding:14px 10px 6px}@media(max-width:768px){.as-nav-label{display:none}}.as-nav-item{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:9px;color:#404040;font-weight:500;white-space:nowrap;transition:background .11s cubic-bezier(.16,1,.3,1),color .11s cubic-bezier(.16,1,.3,1)}.as-nav-item .as-ic{width:18px;height:18px;flex-shrink:0;opacity:.75}.as-nav-item:hover{background:#1a1a1a0a;color:#1a1a1a}.as-nav-item.active{background:#c73e1d17;color:#c73e1d;font-weight:600}.as-nav-item.active .as-ic{opacity:1}.as-side-foot{margin-top:auto;padding-top:14px;border-top:1px solid var(--as-line-2)}@media(max-width:768px){.as-side-foot{margin-top:0;margin-left:auto;padding-top:0;border-top:none}}.as-user{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;transition:background .11s cubic-bezier(.16,1,.3,1)}.as-user:hover{background:#1a1a1a0a}.as-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#4a7c59,#6fa383);color:#fff;display:grid;place-items:center;font-weight:600;font-size:13px;flex-shrink:0}.as-user-name{font-size:13px;font-weight:600;line-height:1.2}.as-user-role{font-size:11px;color:#6b6b6b}.as-main{padding:26px 32px 48px;max-width:1180px;width:100%}@media(max-width:640px){.as-main{padding:18px 16px 40px}}.as-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px;flex-wrap:wrap}.as-greeting{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#6b6b6b;margin:0 0 5px}.as-title{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.1;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.as-title .zh{font-family:"Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif;font-weight:500;color:#6b6b6b;font-size:18px;margin-left:10px}.as-page-sub{font-size:14px;color:#6b6b6b;margin:6px 0 0}.as-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}@media(max-width:1024px){.as-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.as-stats{grid-template-columns:1fr}}.as-stat{background:var(--as-surface);border:1px solid var(--as-line-2);border-radius:14px;padding:16px 16px 14px;box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;transition:transform .17s cubic-bezier(.16,1,.3,1),box-shadow .17s cubic-bezier(.16,1,.3,1)}.as-stat:hover{transform:translateY(-2px);box-shadow:0 4px 10px #1a1a1a12,0 16px 32px #1a1a1a1a}.as-stat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;min-height:30px}.as-stat-ic{width:30px;height:30px;border-radius:8px;display:grid;place-items:center}.as-stat-ic.red{background:#c73e1d1a;color:#c73e1d}.as-stat-ic.gold{background:#d4a5742e;color:#b08456}.as-stat-ic.jade{background:#4a7c591f;color:#4a7c59}.as-stat-ic.info{background:#4a6fa51f;color:#4a6fa5}.as-stat-pill{font-size:11px;font-weight:600;color:#345540;background:#4a7c591a;padding:2px 7px;border-radius:20px}.as-stat-pill.warn{color:#b08456;background:#d4a57426}.as-stat-num{font-size:30px;font-weight:700;letter-spacing:-.02em;line-height:1}.as-stat-num .u{font-size:18px}.as-stat-label{font-size:12.5px;color:#6b6b6b;margin-top:3px}.as-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;align-items:start}@media(max-width:1024px){.as-grid{grid-template-columns:1fr}}.as-col{display:flex;flex-direction:column;gap:18px;min-width:0}.as-panel{background:var(--as-surface);border:1px solid var(--as-line-2);border-radius:14px;box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;overflow:hidden}.as-panel-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--as-line-2)}.as-panel-title{font-size:15px;font-weight:700;letter-spacing:-.01em}.as-panel-title .count{color:#6b6b6b;font-weight:400;margin-left:6px}.as-panel-link{font-size:13px;color:#6b6b6b;font-weight:500}.as-panel-link:hover{color:#c73e1d}.as-panel-body{padding:8px}.as-lrow{display:flex;align-items:center;gap:13px;padding:11px 12px;border-radius:10px;transition:background .11s cubic-bezier(.16,1,.3,1)}.as-lrow:hover{background:var(--as-surface-2)}.as-lrow+.as-lrow{border-top:1px solid var(--as-line-2)}.as-lmid{flex:1;min-width:0}.as-lname{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.as-ltags{display:flex;gap:5px;margin-top:3px;flex-wrap:wrap}.as-tag{font-size:11px;font-weight:500;color:#345540;background:#4a7c591a;border:1px solid rgba(74,124,89,.2);padding:1px 7px;border-radius:20px}.as-lright{display:flex;align-items:center;gap:12px;flex-shrink:0}.as-lwords{font-size:12.5px;color:#6b6b6b;white-space:nowrap}.as-arrow{color:#6b6b6b;transition:transform .11s cubic-bezier(.16,1,.3,1),color .11s cubic-bezier(.16,1,.3,1)}.as-lrow:hover .as-arrow{color:#c73e1d;transform:translate(2px)}.as-ring-wrap{display:flex;align-items:center;gap:18px;padding:18px}.as-ring{width:108px;height:108px;border-radius:50%;flex-shrink:0;position:relative;display:grid;place-items:center}.as-ring:after{content:"";position:absolute;inset:13px;background:var(--as-surface);border-radius:50%;box-shadow:inset 0 0 6px #1a1a1a0d}.as-ring-center{position:relative;z-index:1;text-align:center}.as-ring-num{font-size:26px;font-weight:700;line-height:1}.as-ring-cap{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:#6b6b6b}.as-legend{display:flex;flex-direction:column;gap:9px;flex:1}.as-leg{display:flex;align-items:center;gap:9px;font-size:13px}.as-leg .leg-label{color:#404040}.as-leg .c{margin-left:auto;font-weight:700}.as-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.as-dot.mastered{background:#4a7c59}.as-dot.familiar{background:#4a6fa5}.as-dot.learning{background:#d4a574}.as-dot.struggling{background:#c73e1d}.as-vrow{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:12px;padding:10px 12px;border-radius:9px;transition:background .11s cubic-bezier(.16,1,.3,1)}.as-vrow:hover{background:var(--as-surface-2)}.as-vrow+.as-vrow{border-top:1px solid var(--as-line-2)}.as-vchar{font-family:"Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif;font-size:19px;font-weight:600}.as-vpin{font-size:13px;color:#4a7c59}.as-vdef{font-size:13px;color:#6b6b6b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.as-empty{padding:26px 18px;text-align:center}.as-empty-char{font-family:"Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif;font-size:40px;color:#1a1a1a21;line-height:1}.as-empty-title{font-weight:600;margin-top:8px}.as-empty-sub{color:#6b6b6b;font-size:13px;margin:4px 0 14px}.as-ic{stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}:root{--paper: #f6f4ef;--ink: #1a1a1a;--jade: #345540;--red: #c73e1d;--muted: #706f67;--line: rgba(26, 26, 26, .08);--surface: #fff;--accent: #c73e1d;--radius: 16px;--space-1: .35rem;--space-2: .75rem;--space-3: 1.25rem;--space-4: 2rem;--space-5: 3rem;color:var(--ink);background:var(--paper);font-family:Inter,Segoe UI,system-ui,sans-serif;font-synthesis:none;line-height:1.6}*{box-sizing:border-box}@media(max-width:720px){.live-app .sidebar{flex-direction:column;gap:.75rem;padding:1rem}.live-app .sidebar nav{display:flex;flex-wrap:wrap;gap:.25rem}.live-app .sidebar nav a{padding:.4rem .65rem;min-height:44px;display:inline-flex;align-items:center}.live-app h1{font-size:2rem}.live-app .study{padding:1.25rem}}body{margin:0}.auth-page{width:min(100% - 2rem,32rem);margin:3rem auto}.auth-page>.brand{margin-bottom:2rem}.auth-page h1{font-size:2rem}.auth-links{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.5rem 0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--jade);outline-offset:4px}a{color:var(--jade);text-underline-offset:.22em}button,select,input{min-height:44px}button{cursor:pointer}button:disabled{cursor:default}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,4vw,3rem);font-weight:700;line-height:1.2;letter-spacing:-.025em}h2{font-size:1.5rem;line-height:1.3;letter-spacing:-.025em}h3{font-size:1rem}small,.muted{color:var(--muted)}.gallery{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--surface);border-right:1px solid var(--line);padding:18px 14px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:2rem}.brand{display:flex;align-items:center;gap:.6rem;font-weight:650;font-size:1.05rem}.brand-mark{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:9px;background:linear-gradient(135deg,#c73e1d,#9e2f14);color:#fff;font:700 19px "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif}.sidebar nav{display:grid;gap:.35rem}.sidebar a{text-decoration:none;color:var(--muted);padding:.65rem .75rem;border-radius:7px;font-size:.9rem}.sidebar a:first-child{background:#c73e1d17;color:var(--accent);font-weight:600}.sidebar-foot{margin-top:auto;font-size:.75rem}.main{max-width:1400px;width:100%;padding:2rem clamp(1.25rem,4vw,4.5rem) 4rem}.topline{display:flex;justify-content:space-between;gap:1rem;color:var(--muted);font-size:.75rem;letter-spacing:.06em;margin-bottom:3.25rem}.eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.14em;font-weight:650;color:var(--jade)}.hero{max-width:670px;margin-bottom:2.75rem}.hero p{max-width:490px;font-size:1rem;color:var(--muted)}.pill{border:1px solid var(--line);border-radius:99px;padding:.25rem .7rem;white-space:nowrap}.preferences{display:flex;flex-wrap:wrap;align-items:end;gap:1.25rem;padding:1.2rem 1.4rem;background:#edf0e6;border:1px solid var(--line);border-radius:12px;margin-bottom:2rem}.preferences .intro{margin-right:auto;align-self:center}.preferences .intro strong{display:block;font-size:.9rem}.preferences .intro small{font-size:.78rem}.preferences .ui-field{margin:0}.live-app .sidebar a:first-child{background:none}.live-app .sidebar nav a{font-weight:400;color:var(--muted);background:transparent}.live-app .sidebar nav a[aria-current=page]{font-weight:600;color:var(--accent);background:#c73e1d17}.live-app .main{max-width:1280px}.live-app .panel{margin-bottom:1.25rem}.live-app .panel .ui-field{max-width:36rem}.live-app .dictionary-result .chinese-text{font-size:2rem}.live-app .dictionary-result p{margin:1rem 0 0}.search-row{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.search-row .ui-field{flex:1}.live-app .study{border:1px solid var(--line);border-radius:var(--radius);padding:2rem;background:var(--surface)}.live-app .study .chinese-text{font-size:clamp(2rem,5vw,3.5rem)}.study-controls{display:grid;gap:1.25rem;margin-top:2rem}.study-controls>.ui-button{justify-self:end;min-width:8rem}.study-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.study-choices button{min-height:4rem;white-space:normal}.study-choices [aria-pressed=true]{background:#e4eddc;border:2px solid var(--jade);color:var(--ink)}.study-question,.study-definition{font-size:1.5rem}.study-progress{color:var(--muted);font-size:.85rem;margin-bottom:1.5rem}.study-navigation,.study-actions,.study-ratings{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}.study--feedback h2{color:var(--jade)}.study--feedback .ui-button{margin-top:1rem}.live-app .typing{border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.25rem,4vw,2rem);background:var(--surface)}.typing>.chinese-text{display:flex;justify-content:center;font-size:clamp(2.5rem,7vw,4rem);padding:2rem 0}.typing .ui-field{margin:1.5rem 0}.typing>.ui-button-control+.ui-button-control{margin-left:.75rem}.typing-stats,.lesson-actions,.lesson-tags{display:flex;flex-wrap:wrap;gap:.75rem}.typing-stats{justify-content:space-between;color:var(--muted)}.typing--feedback .chinese-text{font-size:2.25rem;margin:1rem 0}.typing-progress{font-size:.85rem;color:var(--muted)}.lessons>.ui-button-control{margin-bottom:1.5rem}.lesson-actions{margin-top:1.25rem}.lesson-tags{margin-bottom:1rem}.lesson-editor>.ui-button-control+.ui-button-control{margin-left:.75rem}.ui-button-control{display:inline-flex;flex-direction:column;vertical-align:top;max-width:100%}.preference{display:grid;gap:.3rem;min-width:140px}.preference label{color:var(--muted);font-size:.75rem}select{border:1px solid #cbd0c1;background:var(--surface);color:var(--ink);border-radius:7px;padding:.4rem .65rem;width:100%;font-size:.9rem}.show-pronunciation{display:flex;gap:.5rem;align-items:center;font-size:.8rem}.show-pronunciation input{accent-color:var(--jade)}.examples{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1.5rem;align-items:start}.example-label{display:flex;align-items:center;gap:.6rem;margin-bottom:.8rem}.example-label span{color:var(--muted);font-size:.7rem}.example-label h2{font-size:.85rem;margin:0;letter-spacing:0}.panel,.ui-surface,.ui-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;overflow:hidden}.panel-body{padding:1.5rem}.study-header{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 1.5rem;border-bottom:1px solid var(--line);font-size:.75rem}.study-word{padding:2.5rem 1rem 1.5rem;text-align:center}.study-word .chinese-text,.study-word .chinese-word{font-size:3rem}.chinese-text{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.25em;font-family:Noto Sans CJK SC,Microsoft JhengHei,sans-serif}.chinese-word{display:inline-flex;flex-direction:column;align-items:center}.chinese-word a{color:inherit;text-decoration-color:#bcc8b6;text-decoration-thickness:1px}.chinese-word a:hover{color:var(--jade)}.chinese-phonetic,.phonetic{font-family:inherit;font-size:1rem;color:var(--muted);letter-spacing:.04em}.chinese-fallback,.chinese-unavailable{font:.7rem system-ui;color:var(--muted)}.study-help{font-size:.75rem;color:var(--muted);margin:.65rem 0 0}.study-footer{border-top:1px solid var(--line);padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem}.study-footer small{font-size:.7rem}.side-examples{display:grid;gap:1.5rem}.row-between{display:flex;gap:1rem;align-items:center;justify-content:space-between}.vocab-example .chinese-text{font-size:1.55rem}.vocab-example p{margin:1rem 0}.tags{display:flex;gap:.5rem;flex-wrap:wrap}.tag{background:#eef0e7;padding:.2rem .55rem;border-radius:5px;font-size:.7rem;color:var(--jade)}.ui-button{min-height:44px;border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:9px;padding:.6rem 1rem;font-size:.85rem;font-weight:600;display:inline-grid;align-items:center;justify-content:center}.ui-button:hover:not(:disabled){filter:brightness(1.1)}.ui-button--secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}.ui-button--quiet{background:transparent;border-color:transparent;color:var(--muted)}.ui-button--danger{background:var(--red);border-color:var(--red)}.ui-button:disabled{opacity:.65}.ui-button-label-reserve{visibility:hidden;grid-area:1/1}.ui-button-label{grid-area:1/1}.ui-button-reason{display:block;color:var(--muted);font-size:.75rem;margin-top:.3rem}.ui-field{display:grid;gap:.35rem;margin-bottom:1rem;min-width:0}.ui-field label{font-size:.8rem;font-weight:600}.ui-field input,.ui-field textarea{border:1px solid #cbd0c1;border-radius:7px;padding:.6rem .75rem;width:100%;color:var(--ink);background:#fff}.ui-field input[aria-invalid=true]{border-color:var(--red)}.ui-field-help{color:var(--muted);font-size:.75rem}.ui-field-error{color:var(--red);font-size:.75rem}.ui-feedback{padding:.75rem 1rem;border-radius:7px;background:#edf2e7;color:var(--jade);margin:0 0 1rem;font-size:.85rem}.ui-loading{display:flex;align-items:center;gap:.6rem;margin:.75rem 0;font-size:.85rem;color:var(--jade)}.ui-loading-spinner{display:inline-block;flex:0 0 auto;width:1.1rem;height:1.1rem;border:2px solid var(--line);border-top-color:currentColor;border-right-color:currentColor;border-radius:50%}@keyframes ui-loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:no-preference){.ui-loading-spinner{animation:ui-loading-spin .8s linear infinite}}.component-shelf{margin-top:2.5rem;border-top:1px solid var(--line);padding-top:1.75rem}.component-shelf .row-between{align-items:flex-start;margin-bottom:1rem}.component-shelf h2{font-size:1.1rem}.button-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:start}.footer-note{color:var(--muted);font-size:.75rem;margin-top:3rem}dialog{width:min(540px,100vw - 2rem);max-height:calc(100dvh - 2rem);border:1px solid var(--line);border-radius:18px;padding:0;overflow:hidden;background:var(--surface);color:var(--ink);box-shadow:0 24px 100px #19221930}dialog::backdrop{background:#1a251c66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog .preferences{margin-top:1rem;padding:.8rem;gap:.75rem}dialog .chinese-text{font-size:2.5rem;margin:1rem 0}.dictionary-definition{border-top:1px solid var(--line);padding-top:1rem}.dialog-heading{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid var(--line);background:var(--surface)}.dialog-heading h2{margin:0}.ui-dialog__content{max-height:calc(100dvh - 7rem);overflow-y:auto;overscroll-behavior:contain;padding:1.25rem}.ui-dialog-close{display:inline-grid;width:2rem;height:2rem;flex:0 0 auto;place-items:center;border:0;border-radius:50%;padding:0;color:var(--muted);background:transparent;font-size:1.5rem;line-height:1;cursor:pointer}.ui-dialog-close:hover,.ui-dialog-close:focus-visible{color:var(--ink);background:var(--soft)}.full-entry{max-width:640px;margin:3rem auto;padding:1.5rem}@media(max-width:1000px){.gallery{grid-template-columns:170px minmax(0,1fr)}.sidebar{padding:1.5rem 1rem}.examples{grid-template-columns:1fr}.side-examples{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.gallery{display:block}.sidebar{position:static;height:auto;padding:1rem 1.25rem;flex-direction:row;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line);gap:1rem}.sidebar nav,.sidebar-foot{display:none}.main{padding-top:1.25rem}.topline{margin-bottom:2rem}.side-examples{grid-template-columns:1fr}.preferences{gap:.75rem}.preferences .intro{width:100%}.preference{flex:1;min-width:115px}.hero{margin-bottom:1.5rem}.study-footer{flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){.ui-button{transition:background-color .12s,opacity .12s}}.arcade-game-area{position:relative;height:560px;overflow:hidden;background:var(--surface-soft, #f5f3ef);border:1px solid var(--border, #dedbd3);border-radius:1rem;margin:1rem 0}.falling-word{position:absolute;transform:translate(-50%);padding:.5rem .75rem;border-radius:.75rem;background:var(--surface, white);box-shadow:0 2px 8px #0001;white-space:nowrap}.arcade-stats,.arcade-scope{display:flex;flex-wrap:wrap;gap:1rem}.ui-table-scroll{overflow-x:auto;max-width:100%;margin:1.2rem 0}.ui-table{width:100%;border-collapse:collapse;text-align:left}.ui-table caption{text-align:left;font-weight:700;padding:.8rem 0}.ui-table th,.ui-table td{padding:.75rem;border-bottom:1px solid var(--border, #dedbd3);vertical-align:top;overflow-wrap:anywhere}.ui-table th{font-size:.85rem;color:var(--muted, #645f59)}.mobile-menu-toggle{display:none}.account-identity{font-size:.78rem;color:var(--muted);overflow-wrap:anywhere;margin-top:auto}@media(max-width:720px){.live-app .sidebar{display:grid;grid-template-columns:1fr auto;position:static;height:auto}.mobile-menu-toggle{display:block}.live-app .sidebar nav{display:none;grid-column:1/-1}.live-app .sidebar--open nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.account-identity{grid-column:1/-1;margin:0}}.live-app .main{width:100%;padding:clamp(1.25rem,4vw,3rem)}.live-app h1{font-size:clamp(1.6rem,3vw,2rem);margin-bottom:1.5rem;overflow-wrap:anywhere}.live-app h2{font-size:1.2rem;margin:0 0 1.1rem}.live-app h3{margin-bottom:.5rem}.live-app :is(textarea,select,input:not([type=radio]):not([type=checkbox])){font:inherit;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:.65rem .8rem;max-width:100%}.live-app textarea{width:100%;resize:vertical;min-height:7rem}.live-app .ui-field{margin:0 0 1.2rem}.live-app label{color:var(--ink);font-size:.88rem}.live-app .sidebar{gap:1.5rem;overflow-y:auto}.live-app .sidebar nav{gap:.2rem}.sidebar .brand{font-size:15px;color:var(--ink);padding:6px 8px 18px;line-height:1.3}.brand-name{color:var(--ink);font-weight:700}.editor{display:grid;gap:1.5rem}.editor>h1{margin-bottom:0}.editor>:is(.editor-metadata,.editor-lookup,.editor-bulk,.editor-vocabulary,.editor-grammar,.editor-students),.translation,.teacher-student-detail,.teacher-lesson-detail,.assignment-detail,.teacher-assignment-detail,.student-lesson,.student-study,.student-history,.student-history-detail,.student-progress{padding:clamp(1.2rem,3vw,2rem);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.editor :is(.editor-preview,.editor-bulk-review,.editor-generated-grammar){margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--line)}.editor .chinese-text,.student-vocabulary .chinese-text,.teacher-vocabulary .chinese-text{font-size:1.75rem;margin-bottom:.8rem}.editor :is(ul,.editor-generated-grammar),.teacher ul,.student-dashboard ul,.student-lessons ul,.student-lesson ul,.student-progress ul,.student-history ul,.student-history-detail ul,.assignment-submissions ul{list-style:none;margin:0;padding:0}.editor :is(.editor-vocabulary-row,.editor-bulk-row),.editor-existing-grammar>li,.editor-generated-grammar>li,.teacher-vocabulary>li,.teacher-grammar>li,.student-vocabulary>li,.student-grammar>li,.student-history li,.student-history-detail li,.assignment-submissions li{padding:1.2rem 0;border-bottom:1px solid var(--line)}.editor .ui-button-control,.teacher .ui-button-control,.student-lesson .ui-button-control,.translation .ui-button-control{margin:.35rem .45rem .35rem 0}.editor-grammar-option{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.65rem}.editor-grammar-option .ui-field{margin-bottom:.5rem}.editor-grammar-option input[type=radio]{min-height:1.2rem}.editor-students label{display:flex;align-items:center;gap:.65rem}.teacher-stats,.teacher-student-stats,.mastery-legend,.student-mastery-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1.5rem}.teacher-stat,.mastery-legend>p,.student-mastery-summary>p{margin:0;padding:1rem;border-radius:10px;background:#eef0e7;font-size:.88rem}.teacher-stat p:last-child{font-size:1.5rem;margin:.35rem 0 0;font-variant-numeric:tabular-nums}.teacher-actions,.teacher-student-sort,.teacher-lesson-sort,.student-tag-filters,.student-page-controls,.student-history-pagination,.translation-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}.teacher-students,.teacher-dashboard>ul,.student-assigned-lessons>ul,.student-lessons>ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem;margin:1rem 0 2rem}.teacher-dashboard>ul>li,.teacher-students>li,.student-assigned-lessons>ul>li,.student-lessons>ul>li{padding:1.3rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.teacher-pending{display:inline-block;color:#805820;background:#f6edd5;border-radius:100px;padding:.2rem .6rem;font-size:.8rem}.teacher-lessons{margin-top:2rem}.teacher-lessons li{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;padding:.8rem 0;border-bottom:1px solid var(--line)}.teacher-lessons li>a{flex:1;min-width:8rem}.teacher-lessons li>p{margin:0;color:var(--muted)}.student-dashboard>:is(.student-recent,.student-personal-list,.student-invites),.student-study-controls{margin-top:1.5rem;padding:1.5rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.student-recent li,.student-personal-list li{padding:.8rem 0;border-bottom:1px solid var(--line)}.student-progress>ul>li{margin-top:2rem}.student-progress li>ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:1rem}.student-progress li>ul>li{padding:1rem;background:var(--paper);border-radius:10px}.student-study-controls>div{margin-bottom:1rem}.student-study-controls select{display:block;width:100%;margin-top:.4rem}.translation-result{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line)}.translation-result .chinese-text{font-size:1.6rem;line-height:1.8}.ui-table-container{margin:1.5rem 0}@media(max-width:720px){.teacher-stats,.teacher-student-stats,.mastery-legend,.student-mastery-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.live-app .sidebar{overflow:visible}.editor-grammar-option{grid-template-columns:minmax(0,1fr) auto}.editor-grammar-option label:last-child{grid-column:1/-1}}.stroke-orders{display:flex;flex-wrap:wrap;gap:1rem}.stroke-order-card{padding:1rem;border:1px solid var(--line);border-radius:1rem}stroke-order-player{display:block;min-width:180px;min-height:180px}.stroke-order-stage{width:180px;height:180px;background:var(--surface);border-radius:.5rem}.lesson-links{display:flex;flex-wrap:wrap;gap:.75rem}.ui-study-modes{display:flex;gap:.35rem;padding:.3rem;margin:0 0 1.5rem;width:fit-content;border-radius:12px;background:#ede7dc}.ui-study-mode{text-decoration:none;color:var(--ink);padding:.65rem 1.1rem;min-height:44px;border-radius:8px;font-weight:600}.ui-study-mode:hover,.ui-study-mode[aria-current=page]{background:var(--surface);box-shadow:0 1px 2px #1a1a1a0a;color:var(--accent)}.ui-link-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.6rem 1rem;border:1px solid var(--line);border-radius:9px;text-decoration:none;background:var(--surface);color:var(--ink);font-size:.85rem;font-weight:600}.ui-link-button:hover{border-color:var(--accent);color:var(--accent)}.practice-sheet-page{width:min(100% - 2rem,48rem);margin:2rem auto 4rem}.practice-sheet-page>.brand{margin-bottom:1.5rem}.practice-sheet-page h1{font-family:Crimson Pro,Georgia,serif;font-size:clamp(1.8rem,4vw,2.4rem)}.practice-sheet-page .panel-body{padding:clamp(1.25rem,4vw,2.5rem)}.practice-sheet-page textarea{font:1.25rem/1.8 Noto Sans CJK SC,Source Han Sans SC,PingFang SC,sans-serif;min-height:13rem;resize:vertical}.practice-sheet-page .ui-field input[type=number]{max-width:8rem}.practice-sheet-page .form-actions,.practice-sheet-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}.practice-sheet-page .ui-feedback{margin-top:1rem}.student-study-controls label:has(input[type=checkbox]){display:flex;align-items:center;gap:.6rem;width:fit-content;cursor:pointer}.student-study-controls input[type=checkbox]{width:1.1rem;height:1.1rem;min-height:0;margin:0;accent-color:var(--accent)}.student-study-tone{margin:1rem 0}.student-study-disclosure{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;min-height:44px;border:0;background:transparent;color:var(--ink);padding:0;text-align:left;font-weight:650;font-size:1.1rem}.student-study-disclosure:after{content:"";width:8px;height:8px;margin-right:.3rem;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg)}.student-study-disclosure[aria-expanded=true]:after{transform:rotate(225deg)}.student-study-controls-content{padding-top:1.25rem}.student-study-controls:has(.student-study-disclosure){padding:1rem 1.5rem}.student-study-controls>.student-study-controls-content{margin-bottom:0}.student-study>.ui-link-button{margin:1.25rem 0}.ui-audio-button{display:inline-grid;place-items:center;width:44px;height:44px;padding:.6rem;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--muted);vertical-align:middle}.ui-audio-button svg{display:block;width:22px;height:22px}.ui-audio-button-icon{display:block;width:22px;height:22px;font-size:0;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4zm12.5 3c0-1.77-1-3.29-2.5-4.03v8.05A4.49 4.49 0 0 0 16.5 12zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.5 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4zm12.5 3c0-1.77-1-3.29-2.5-4.03v8.05A4.49 4.49 0 0 0 16.5 12zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.5 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E") center/contain no-repeat}.ui-audio-button:hover{background:var(--surface);border-color:var(--line);color:var(--accent)}.student-progress .student-progress-words{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.85rem}.student-progress .student-progress-word{position:relative;padding:1.1rem;border:1px solid var(--line);border-top:4px solid var(--mastery-color);border-radius:12px;background:var(--mastery-bg);box-shadow:0 1px 2px #1a1a1a0a}.student-progress-word--mastered,.mastery-mastered{--mastery-color: #4a7c59;--mastery-bg: #eef5ef}.student-progress-word--familiar,.mastery-familiar{--mastery-color: #4a6fa5;--mastery-bg: #eef3f8}.student-progress-word--learning,.mastery-learning{--mastery-color: #b08456;--mastery-bg: #faf4e9}.student-progress-word--struggling,.mastery-struggling{--mastery-color: #c73e1d;--mastery-bg: #fcf0ec}.student-progress-word-action{position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;border-radius:10px}.student-progress-word-action:hover{box-shadow:0 4px 10px #1a1a1a12,0 16px 32px #1a1a1a1a}.student-progress-word-content{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.7rem;pointer-events:none}.student-progress-word-content .chinese-text{font-size:1.8rem}.student-progress-word-content :is(a,button){position:relative;z-index:1;pointer-events:auto}.student-progress-word-definition{grid-column:1/-1;margin:0;color:var(--muted);font-size:.9rem}.student-mastery-summary-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:.5rem;background:var(--mastery-color)}.student-mastery-summary>.student-mastery-summary-item{background:var(--mastery-bg);border-bottom:3px solid var(--mastery-color)}.student-dashboard-layout .student-mastery-summary>p:before{display:none}.journey-hero{display:flex;align-items:center;gap:1.25rem;margin-bottom:1.5rem}.journey-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1rem 0 1.5rem}.journey-stat-card{background:var(--paper);border-radius:10px;padding:.85rem}.journey-stat-value{font-size:1.2rem;font-weight:650}.journey-stat-label{font-size:.75rem;color:var(--muted)}.journey-timeline{padding-left:1.1rem;border-left:2px solid var(--line);list-style:none}.journey-timeline-item{padding:.5rem 0}.brand{text-decoration:none}.brand-name,.as-brand-name{display:block;color:var(--ink);font-weight:700}.brand-subtitle,.brand-chinese{display:block;margin-top:3px;color:var(--muted);font:11px "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif}.sidebar nav a:hover{background:#1a1a1a0a;color:var(--ink)}.account-identity{border-top:1px solid var(--line);padding:1rem .5rem 0}.auth-page{padding:2rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.auth-page h1{font-family:Crimson Pro,Georgia,serif}.live-app :is(.study,.typing,.translation,.student-lesson,.student-history,.student-progress,.teacher-student-detail,.teacher-lesson-detail,.assignment-detail,.teacher-assignment-detail){box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.teacher-stat{background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.teacher-stat:first-child{border-top:3px solid #c73e1d}.teacher-stat:nth-child(2){border-top:3px solid #d4a574}.teacher-stat:nth-child(3){border-top:3px solid #4a7c59}.student-assigned-lessons>ul>li,.student-lessons>ul>li{box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;padding:0;overflow:hidden}.student-assigned-lessons li>a,.student-lessons li>a{display:block;padding:1.25rem;text-decoration:none;color:var(--ink);height:100%}.teacher-students>li{box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.teacher-students li>a{font-weight:600;text-decoration:none;overflow-wrap:anywhere}.teacher-student-card{position:relative}.teacher-student-card-link:after{content:"";position:absolute;inset:0;border-radius:var(--radius)}.teacher-student-card-link:focus-visible:after{outline:2px solid currentColor;outline-offset:3px}.teacher-student-card>.ui-button-control{position:relative;z-index:1;width:fit-content}.student-assigned-lessons li>a:hover,.student-lessons li>a:hover{background:#faf8f3}.student-assigned-lessons li>a h3,.student-lessons li>a h3{font-size:.95rem;font-weight:650}.student-assigned-lessons li>a p,.student-lessons li>a p{font-size:.8rem;color:var(--muted);margin-bottom:.5rem}.student-lesson-tags{display:flex;flex-wrap:wrap;gap:.35rem;margin:.6rem 0}.student-lesson-tag{font-size:.7rem;color:#345540;background:#4a7c591a;border:1px solid rgba(74,124,89,.2);padding:.1rem .5rem;border-radius:20px}.student-assigned-lessons li>a:after,.student-lessons li>a:after{content:"→";display:block;color:var(--accent);text-align:right}.mastery-legend>p{background:var(--surface);border:1px solid var(--line);border-left:3px solid #c73e1d}.mastery-legend>p:nth-child(2){border-left-color:#d4a574}.mastery-legend>p:nth-child(3){border-left-color:#4a6fa5}.mastery-legend>p:nth-child(4){border-left-color:#4a7c59}.student-recent .chinese-text,.student-personal-list .chinese-text{font-size:1.5rem}.ui-dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem}.ui-stat-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.25rem;box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;position:relative;overflow:hidden}.ui-stat-card:after{content:"";position:absolute;bottom:0;left:1.25rem;width:2.25rem;height:3px;background:#c73e1d}.ui-stat-card:nth-child(2):after{background:#d4a574}.ui-stat-card:nth-child(3):after{background:#4a7c59}.ui-stat-value{font-size:2rem;font-weight:700;line-height:1.2;letter-spacing:-.025em;margin:0 0 .3rem;font-variant-numeric:tabular-nums}.ui-stat-label,.ui-stat-detail{font-size:.8rem;color:var(--muted);margin:0}.ui-dashboard-panel{border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;overflow:hidden;min-width:0}.ui-dashboard-panel-head{padding:1.1rem 1.25rem;border-bottom:1px solid var(--line)}.live-app .ui-dashboard-panel-title,.ui-dashboard-panel-title{font-size:1rem;margin:0}.ui-dashboard-panel-body{padding:1.25rem}.ui-dashboard-panel-body>:last-child{margin-bottom:0}.student-dashboard-hero{padding:.5rem 0 1.25rem}.live-app .student-dashboard-hero h1{margin-bottom:0;font-family:Crimson Pro,Georgia,serif;font-size:clamp(2rem,3vw,2.5rem)}.student-dashboard-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:1.25rem;align-items:start}.student-dashboard-column{display:grid;gap:1.25rem;min-width:0}.student-dashboard-callout{margin-bottom:1.5rem}.student-dashboard-callout .ui-dashboard-panel{border-left:3px solid var(--accent)}.student-dashboard-callout .ui-dashboard-panel-head{border:0;padding-bottom:0}.student-dashboard-callout .ui-dashboard-panel-body{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding-top:.75rem}.student-dashboard-callout p{margin:0;color:var(--muted)}.student-dashboard-layout .student-assigned-lessons>ul{margin:0;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.student-dashboard-layout .student-assigned-lessons>ul>li{box-shadow:none}.student-dashboard-layout .mastery-legend{grid-template-columns:1fr;gap:.6rem;margin:0}.student-dashboard-layout .mastery-legend>p{padding:.6rem .75rem}.student-dashboard-layout .student-mastery-summary{grid-template-columns:1fr;margin:0;gap:.75rem}.student-dashboard-layout .student-mastery-summary>p{background:transparent;padding:0;display:flex;align-items:center;gap:.65rem}.student-dashboard-layout .student-mastery-summary>p:before{content:"";width:9px;height:9px;border-radius:50%;background:#4a7c59}.student-dashboard-layout .student-mastery-summary>p:nth-child(2):before{background:#4a6fa5}.student-dashboard-layout .student-mastery-summary>p:nth-child(3):before{background:#d4a574}.student-dashboard-layout .student-mastery-summary>p:nth-child(4):before{background:#c73e1d}.student-dashboard-layout .student-recent li:first-child,.student-dashboard-layout .student-personal-list li:first-child{padding-top:0}.student-dashboard-layout .student-personal-list ul{margin-top:1rem}@media(prefers-reduced-motion:no-preference){.sidebar nav a,.student-assigned-lessons li,.student-lessons li{transition:background-color .11s,box-shadow .11s,transform .11s}.student-assigned-lessons li:hover,.student-lessons li:hover{transform:translateY(-2px);box-shadow:0 4px 10px #1a1a1a12,0 16px 32px #1a1a1a1a}}@media(min-width:721px){.live-app{grid-template-columns:248px minmax(0,1fr)}}@media(max-width:1100px){.student-dashboard-layout{grid-template-columns:1fr}}@media(max-width:720px){.live-app{display:block}.sidebar .brand{padding:0}.auth-page{padding:1.5rem}.student-dashboard-layout{grid-template-columns:1fr}.ui-dashboard-stats{gap:.6rem}.ui-stat-card{padding:.8rem}.ui-stat-value{font-size:1.7rem}.ui-stat-label{font-size:.75rem}.student-dashboard-layout .student-assigned-lessons>ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}}.ui-icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.academy-icon-gallery{display:flex;gap:1.25rem;margin:1rem 0}.live-app.app-shell{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.6}.live-app.app-shell .main.as-main{max-width:1180px;padding:26px 32px 48px}.live-app.app-shell .sidebar.as-side{gap:0}.live-app.app-shell .sidebar .brand{margin-bottom:6px}.live-app.app-shell .sidebar .as-nav{gap:2px}.live-app.app-shell .sidebar nav a{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:9px;font-size:1rem;font-weight:500;color:#404040}.live-app.app-shell .sidebar nav a[aria-current=page]{color:var(--accent);font-weight:600}.live-app.app-shell .sidebar nav a .ui-icon{opacity:.75}.live-app.app-shell .sidebar nav a[aria-current=page] .ui-icon{opacity:1}.live-app.app-shell .sidebar nav>.ui-button{margin-top:1.5rem}.live-app.app-shell .account-identity{margin-top:auto;padding-top:14px;font-size:13px;overflow-wrap:anywhere}.live-app.app-shell .as-nav-label{min-width:0}@media(max-width:720px){.live-app.app-shell{display:block}.live-app.app-shell .main.as-main{padding:18px 16px 40px}.live-app.app-shell .sidebar.as-side{gap:.75rem;overflow:visible}.live-app.app-shell .sidebar .brand{margin:0}.live-app.app-shell .sidebar .as-nav-label{grid-column:1/-1;display:block;padding-top:8px}.live-app.app-shell .account-identity{margin:0}}.live-app.app-shell .ui-button{font-size:1rem;border-radius:12px}.live-app.app-shell a.ui-button--primary{color:#fff}.student-dashboard,.student-study,.student-progress{max-width:1180px;margin:0 auto}.student-dashboard-topbar,.student-progress-topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.35rem}.student-dashboard-greeting{margin:0 0 .3rem;color:var(--muted);font-size:.73rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.live-app .student-dashboard-topbar h1,.live-app .student-progress-topbar h1,.live-app .student-study-header h1{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:clamp(1.7rem,3vw,2rem)}.student-dashboard-motto{margin-left:.7rem;color:var(--muted);font:.75em "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif}.student-dashboard .ui-dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.student-dashboard .ui-stat-card{min-height:125px;box-sizing:border-box;padding:16px 16px 14px;color:var(--ink);text-decoration:none}.student-dashboard .ui-stat-card:after{content:none}.student-dashboard .as-stat-top{display:flex;align-items:center;justify-content:space-between;min-height:30px;margin-bottom:10px}.student-dashboard .as-stat-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f9e9e3;color:#c73e1d}.student-dashboard .as-stat:nth-child(2) .as-stat-ic{background:#e7f0e9;color:#345540}.student-dashboard .as-stat:nth-child(3) .as-stat-ic{background:#fbefdf;color:#b08456}.student-dashboard .as-stat:nth-child(4) .as-stat-ic{background:#e8eef9;color:#4a6fa5}.student-dashboard .as-stat-ic .ui-icon{width:17px;height:17px;background:currentColor}.student-dashboard .as-stat-num{margin:0;font-size:30px;font-weight:700;letter-spacing:-.02em;line-height:1}.student-dashboard .as-stat-label{margin:3px 0 0;font-size:12.5px}.student-dashboard-layout{grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr)}.student-dashboard .as-panel-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.student-dashboard .as-panel-link{color:var(--ink);font-size:.82rem;font-weight:600;text-decoration:none;white-space:nowrap}.student-dashboard .as-panel-link:hover{color:var(--accent)}.student-dashboard-lesson-list{margin:0}.student-dashboard-lesson-row{display:flex;align-items:center;justify-content:space-between;gap:13px;min-height:70px;box-sizing:border-box;padding:11px 12px;color:var(--ink);text-decoration:none;border-radius:10px}.student-dashboard-lesson-row+.student-dashboard-lesson-row{border-top:1px solid var(--line)}.student-dashboard-lesson-row:hover{background:#faf8f3}.student-dashboard .as-lmid{flex:1;min-width:0}.student-dashboard .as-lname{font-size:14px}.student-dashboard .as-ltags{gap:5px;margin-top:3px}.student-dashboard .as-lright{gap:12px}.student-dashboard .as-lwords{font-size:12.5px}.student-dashboard .student-lesson-tag{font-size:10px;padding:2px 7px}.student-dashboard .ui-dashboard-panel-actions{display:flex;align-items:center;gap:8px}.student-dashboard .ui-dashboard-panel-actions .ui-button-control{margin:0}.student-dashboard .ui-dashboard-panel-actions .ui-button{min-height:0;padding:7px 11px;font-size:12px}.student-dashboard-ring-wrap,.student-progress-mastery-content{display:flex;align-items:center;gap:1.25rem}.student-dashboard-ring{display:grid;place-items:center;flex:0 0 108px;width:108px;height:108px;padding:12px;border-radius:50%}.student-dashboard-ring-center{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--surface)}.student-dashboard-ring-center strong{font-size:1.55rem;font-variant-numeric:tabular-nums}.student-dashboard-ring-center span{color:var(--muted);font-size:.65rem;letter-spacing:.08em;text-transform:uppercase}.student-dashboard-legend{display:grid;gap:.62rem;width:100%}.student-dashboard-legend-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.55rem;color:var(--muted);font-size:.83rem}.student-dashboard-legend-item strong{color:var(--ink)}.student-dashboard-legend-dot{width:9px;height:9px;border-radius:50%;background:#4a7c59}.student-dashboard-legend-item.mastery-familiar .student-dashboard-legend-dot{background:#4a6fa5}.student-dashboard-legend-item.mastery-learning .student-dashboard-legend-dot{background:#d4a574}.student-dashboard-legend-item.mastery-struggling .student-dashboard-legend-dot{background:#c73e1d}.live-app .student-study{border:0;padding:0;background:transparent;box-shadow:none}.student-study-header{margin:0 0 1.25rem}.student-study-statistics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin:0 0 2.4rem}.student-study-stat{display:grid;min-height:142px;box-sizing:border-box;justify-items:center;padding:1.65rem 1rem;border-left:3px solid #d4a574;border-radius:14px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;text-align:center}.student-study-stat--success{border-left-color:#4a7c59}.student-study-stat--danger{border-left-color:#c73e1d}.student-study-stat-label{color:var(--muted);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}.student-study-stat-value{margin:.25rem 0;color:#b08456;font-size:2rem;font-variant-numeric:tabular-nums}.student-study-stat--success .student-study-stat-value{color:#345540}.student-study-stat--danger .student-study-stat-value{color:#c73e1d}.student-study-stat-detail{color:var(--muted);font-size:.82rem}.student-study-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.student-study-mode-card{display:flex;flex-direction:column;min-height:306px;padding:2rem;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.student-study-mode-icon{display:grid;place-items:center;width:60px;height:60px;margin-bottom:1rem;border-radius:50%;background:#e4bb8e;font-size:1.65rem}.live-app .student-study-mode-card h2{font-family:Crimson Pro,Georgia,serif;font-size:24px}.student-study-mode-card p{color:var(--muted);line-height:1.65}.student-study-mode-footer{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:1rem;margin-top:auto;padding-top:1.4rem}.student-study-mode-action{order:-1;margin:0}.student-study-mode-count{color:var(--muted)}.student-study-mode-count strong{color:#c73e1d;font-size:20px}.student-study-caught-up{color:#345540!important;font-weight:650}.student-study .student-study-controls{margin-top:1.5rem}.live-app .student-lessons,.live-app .student-lesson,.live-app .student-history,.live-app .student-history-detail{max-width:1180px;margin:0 auto;border:0;padding:0;background:transparent;box-shadow:none}.student-lessons-header,.student-lesson-header,.student-history-header,.student-history-detail-header{margin-bottom:1.25rem}.live-app .student-lessons-header h1,.live-app .student-lesson-header h1,.live-app .student-history-header h1,.live-app .student-history-detail-header h1{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:28px}.student-lessons-summary,.student-lesson-description{color:var(--muted);margin:.35rem 0 0}.student-lessons-filter-chips{gap:8px;padding:0;background:transparent;border:0}.student-lessons-filter-chips .ui-button{min-height:34px;padding:6px 12px;border-radius:20px;font-size:13px}.student-lessons-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.student-lesson-card{min-height:150px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;color:var(--ink);text-decoration:none}.student-lesson-card:hover{box-shadow:0 4px 10px #1a1a1a12,0 16px 32px #1a1a1a1a;transform:translateY(-2px)}.student-lesson-card-header{display:flex;align-items:start;justify-content:space-between;gap:12px}.live-app .student-lesson-card h2{margin:0;font-size:16px}.student-lesson-word-count{flex:0 0 auto;padding:3px 8px;border-radius:20px;background:#4a7c591a;color:#345540;font-size:11px}.student-lesson-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.student-lesson-card-description{color:var(--muted);font-size:13px;line-height:1.5}.student-lessons-pagination{justify-content:center;margin-top:24px}.student-lessons-pagination p{margin:0;color:var(--muted);font-size:13px}.student-lessons-empty{padding:36px;border-radius:14px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;text-align:center}.student-lesson-actions,.student-history-actions,.student-history-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}.student-history-table,.student-history-review-table{width:100%;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.student-lesson-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--line);position:relative}.student-lesson-header:after{content:"";position:absolute;bottom:-2px;left:0;width:64px;height:2px;background:linear-gradient(90deg,#c73e1d,transparent)}.student-lesson-header-copy{flex:1;min-width:0}.student-lesson-back{display:inline-block;margin-bottom:.65rem;color:var(--muted);text-decoration:none;font-size:.8rem}.student-lesson-description{font-style:italic}.student-lesson-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.65rem}.student-lesson-header-right{display:flex;flex-direction:column;align-items:flex-end;gap:.9rem;max-width:60%}.student-lesson-counts{display:flex;gap:.7rem}.student-lesson-count{display:grid;gap:.25rem;min-width:68px;padding:.6rem 1rem;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.student-lesson-count strong{font:700 1.4rem/1 Crimson Pro,Georgia,serif}.student-lesson-count span{font-size:.7rem;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}.student-lesson-actions{justify-content:flex-end;margin:0}.student-lesson-actions .ui-button{font-size:.8rem;min-height:38px;padding:.5rem .75rem;text-decoration:none}.student-lesson-vocabulary-panel{margin-top:1.5rem}.student-lesson-grammar-panel{margin-top:2.5rem}.student-lesson-grammar-panel h2{margin-bottom:.25rem;font-size:1.25rem}.student-grammar-intro{color:var(--muted);font-size:.9rem;margin-bottom:1rem}.student-lesson .student-vocabulary-grid,.student-lesson .student-grammar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:1rem}.student-vocabulary-grid>.student-vocabulary-card,.student-grammar-grid>.student-grammar-card{min-width:0;min-height:180px;padding:1rem;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;overflow-wrap:anywhere}.student-vocabulary-card{transition:transform .2s,box-shadow .2s}.student-vocabulary-card:hover{transform:translateY(-2px);box-shadow:0 4px 10px #1a1a1a12,0 16px 32px #1a1a1a1a}.student-vocabulary-card>.chinese-text{display:block;text-align:center;font-family:"Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif;font-size:2rem;margin-bottom:.75rem}.student-vocabulary-card .chinese-phonetic{color:#c73e1d;font-size:1rem}.student-vocabulary-definition{color:var(--ink);font-size:.9rem;line-height:1.5;margin:.5rem 0}.student-vocabulary-example{color:var(--muted);font-style:italic;margin:.5rem 0}.student-vocabulary-card .student-vocabulary-example .chinese-text{font-size:.9rem;margin:0}.student-vocabulary-card>.ui-button-control{margin-top:.75rem}.student-vocabulary-card .ui-audio{min-height:32px}.student-grammar-question{font-weight:600;margin:0 0 .6rem}.student-lesson .student-grammar-options{list-style:disc;padding-left:1.1rem;font-size:.9rem}.student-grammar-options li{padding:.15rem 0}.student-grammar-explanation{color:var(--muted);font-size:.85rem;font-style:italic;margin-bottom:0}.student-lesson-empty{text-align:center;padding:2.5rem 1rem;color:var(--muted)}.student-lesson-empty>span{font:3rem/1 "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif;opacity:.4}@media(max-width:720px){.student-lesson-header{flex-direction:column}.student-lesson-header-right{align-items:flex-start;max-width:100%}.student-lesson-actions{justify-content:flex-start}.student-lesson .student-vocabulary-grid,.student-lesson .student-grammar-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.student-vocabulary-card{transition:none}.student-vocabulary-card:hover{transform:none}}.student-history-table,.student-history-review-table{border-collapse:separate;border-spacing:0;overflow:hidden}.student-history-table th,.student-history-table td,.student-history-review-table th,.student-history-review-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.student-history-table th,.student-history-review-table th{color:var(--muted);font-size:11px;letter-spacing:.05em;text-transform:uppercase}.student-history-table tr:last-child td,.student-history-review-table tr:last-child td{border-bottom:0}.student-history-detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.student-history-detail-stat{display:grid;gap:5px;padding:16px;border-radius:12px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.student-history-detail-stat span{color:var(--muted);font-size:12px}.student-history-detail-stat strong{font-size:24px}.student-review-correct{color:#345540;font-weight:650}.student-review-incorrect{color:#c73e1d;font-weight:650}.live-app .student-progress{border:0;padding:0;background:transparent;box-shadow:none}.student-progress-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:1.5rem;border-radius:14px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;overflow:hidden}.student-progress-at-a-glance{display:grid;justify-items:center;padding:1.15rem;border-right:1px solid var(--line)}.student-progress-at-a-glance:last-child{border-right:0}.student-progress-at-a-glance strong{font-size:1.6rem;color:#b08456}.student-progress-at-a-glance span{color:var(--muted);font-size:.78rem}.student-progress-mastery-card,.student-progress-heatmap{margin-bottom:1.5rem;padding:1.25rem;border-radius:14px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.student-progress-mastery-card h2,.student-progress-heatmap h2{font-size:1rem}.student-progress-ring .student-dashboard-ring{flex-basis:160px;width:160px;height:160px;padding:15px}.student-progress-ring .student-dashboard-ring-center strong{font-size:2rem}.student-progress-heatmap-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line)}.student-progress-heatmap-head p{color:var(--muted);font-size:.82rem}.student-progress-group{margin-top:1.25rem!important}.student-progress-group h2{font-size:1rem}.student-progress .student-progress-words{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}@media(max-width:800px){.student-dashboard .ui-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.student-study-statistics,.student-progress-overview{gap:.75rem}.student-study-mode-grid{grid-template-columns:1fr}.student-history-table,.student-history-review-table{display:block;overflow-x:auto}}@media(max-width:560px){.student-dashboard-topbar,.student-progress-topbar{align-items:flex-start;flex-direction:column}.student-study-statistics,.student-progress-overview{grid-template-columns:1fr}.student-dashboard-ring-wrap{align-items:flex-start;flex-direction:column}.student-history-detail-stats{grid-template-columns:1fr}}@media(max-width:1024px){.student-dashboard-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:560px){.student-progress-ring .as-ring-wrap{flex-direction:column;align-items:stretch}}.live-app .student-dashboard .ui-dashboard-panel-head{padding:15px 18px}.live-app .student-dashboard .ui-dashboard-panel-title{font-size:15px}.student-dashboard .ui-dashboard-panel-body{padding:8px}.student-dashboard-mastery .ui-dashboard-panel-body{padding:0}.student-dashboard-layout,.student-dashboard-column{gap:18px}.student-dashboard .student-recent .chinese-word{align-items:flex-start}.live-app .student-dashboard-topbar h1,.live-app .student-progress-topbar h1,.live-app .student-study-header h1{font-size:28px;line-height:1.1}.student-dashboard-motto{font-size:18px;font-weight:500;margin-left:10px}.student-dashboard .as-panel-link{font-size:13px;font-weight:500}.student-study-mode-action .ui-button-control{margin:0}.live-app .student-study-mode-action .ui-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;padding:12px 16px;line-height:1.5}.live-app .flashcard-container{max-width:600px;margin:0 auto;padding:0;border:0;background:transparent}.flashcard-container .flashcard{position:relative;min-height:400px;display:flex;flex-direction:column;justify-content:flex-start;text-align:center;overflow:hidden;padding:2.5rem 2rem;background:var(--surface);border-radius:1.5rem;box-shadow:0 12px 32px #1a1a1a1f,0 4px 8px #1a1a1a14}.flashcard-container .flashcard:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at top left,rgba(250,248,243,.45),transparent 40%),radial-gradient(ellipse at bottom right,rgba(237,231,220,.35),transparent 40%)}.flashcard-container .flashcard:after{content:"学";position:absolute;top:1rem;right:1rem;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--red);color:#fff;font:700 1.25rem "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif;transform:rotate(-15deg);box-shadow:0 2px 4px #1a1a1a14}.flashcard-display,.flashcard-container .study-controls{position:relative;z-index:1}.flashcard-display .character-display{margin:0 0 1rem;font-family:"Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif;font-size:clamp(4rem,12vw,5rem);line-height:1}.flashcard-display .character-display .chinese-text{font-size:inherit}.flashcard-display .traditional-display{margin:0 0 1rem;color:#6b6b6b;font:2rem "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif}.flashcard-display .pinyin-display{margin:0 0 .75rem;color:#404040;font-size:2rem;letter-spacing:.05em}.flashcard-display .definition-display{max-width:80%;margin:0 auto 1.5rem;color:#404040;font-size:1.25rem;line-height:1.8}.flashcard-display .study-question{margin:0;font-size:1.75rem;line-height:1.5}.flashcard-display .answer-prompt{margin:1.5rem 0 0;color:#404040;font-size:1.125rem}.flashcard-display .tone-guide{margin:.75rem 0 0;color:var(--muted);font-size:.9rem}.flashcard-container .study-controls{display:grid;gap:1rem;margin-top:2rem}.flashcard-container .study-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.flashcard-container .study-choice{min-height:3.5rem;padding:1rem;border:2px solid #959595;border-radius:.5rem;background:#fff;color:var(--ink);font-size:1rem;font-weight:500;text-align:left;transition:border-color .15s,transform .15s,box-shadow .15s}.flashcard-container .study-choice-content{display:flex;align-items:center;gap:.75rem}.flashcard-container .study-choice-shortcut{flex-shrink:0;padding:.1rem .4rem;border:1px solid var(--line);border-radius:.25rem;background:var(--paper);color:var(--muted);font-size:.8rem;font-weight:500}.flashcard-container .study-shortcut-help{margin:0;color:var(--muted);font-size:.8rem;line-height:1.5}.flashcard-container .study-choices:focus-visible{outline:2px solid var(--jade);outline-offset:6px;border-radius:.5rem}.flashcard-container .study-choice:hover,.flashcard-container .study-choice[aria-pressed=true]{border-color:var(--red);color:var(--ink);background:#c73e1d0d;transform:translateY(-2px);box-shadow:0 2px 4px #1a1a1a14}.flashcard-container .study-controls .ui-field{width:min(100%,400px);margin:0 auto;text-align:left}.flashcard-container .study-controls .ui-field input{text-align:center;font-size:1.35rem}.flashcard-container .ui-button:disabled{filter:grayscale(1);transform:none}.flashcard-container .study-session-actions{display:flex;justify-content:center;gap:.75rem;margin:1.5rem 0 0}.flashcard-container .study-session-actions>.ui-button-control,.flashcard-container .study-session-actions .ui-button{min-width:0}.flashcard-container .study-answer-action{display:grid;gap:1rem}.flashcard-container #study-feedback{scroll-margin-block:1rem}.flashcard-container #study-feedback:focus:not(:focus-visible){outline:none}.flashcard-container #study-feedback:focus-visible{outline:2px solid var(--jade);outline-offset:6px;border-radius:.75rem}.flashcard-container .study-feedback-inline .feedback-message{margin:0;font-family:Crimson Pro,Georgia,serif;font-size:1.5rem;line-height:1.3}.flashcard-container .feedback-correct .feedback-message{color:#345540}.flashcard-container .feedback-incorrect .feedback-message{color:#9e2f14}.flashcard-container .feedback-answer{margin:.5rem 0 0;font-size:1rem;line-height:1.5}.flashcard-container .study-feedback-details{padding:1rem;border-radius:.75rem;background:#faf8f3e6;color:var(--ink);font-size:1rem;line-height:1.6;text-align:left;overflow-wrap:anywhere}.flashcard-container .study-feedback-details .feedback-vocabulary-details{text-align:center}.flashcard-container .study-feedback-details .chinese-text{font-size:2rem}.flashcard-container .study-feedback-details .chinese-phonetic{font-size:1.125rem}.flashcard-container .feedback-meaning{margin:.75rem 0 0}.flashcard-container .feedback-explanation{margin:0}.flashcard-container .your-answer{margin:.75rem 0 0;color:var(--muted);font-size:.875rem}.flashcard-container.study--feedback .ui-button{margin-top:0}@media(prefers-reduced-motion:reduce){.flashcard-container .study-choice{transition:none}.flashcard-container .study-choice:hover{transform:none}}.flashcard-container .study-progress{padding:0 1rem;margin:0 0 2rem;color:#6b6b6b}.flashcard-container .progress-stats{display:flex;justify-content:space-between;gap:.4rem;margin-bottom:.5rem;font-size:.9375rem}.flashcard-container .progress-value{color:var(--ink);font-weight:700}.flashcard-container .progress-bar{position:relative;height:12px;overflow:hidden;border-radius:9999px;background:#9595951a}.flashcard-container .progress-fill{height:100%;border-radius:inherit;background:linear-gradient(135deg,#d4a574,#e2c19f);transition:width .4s cubic-bezier(0,0,.2,1)}.flashcard-container .milestone{position:absolute;top:50%;width:3px;height:18px;background:#959595;transform:translateY(-50%)}.flashcard-container .milestone-25{left:25%}.flashcard-container .milestone-50{left:50%}.flashcard-container .milestone-75{left:75%}.live-app .study-feedback{max-width:600px;margin:0 auto;padding:2rem;border:0;text-align:center;background:var(--surface);border-radius:1.5rem;box-shadow:0 12px 32px #1a1a1a1f}.study-feedback .feedback-icon{font-size:4rem;margin-bottom:1rem}.study-feedback.feedback-correct .feedback-icon,.study-feedback.feedback-correct .feedback-message{color:#345540}.study-feedback.feedback-incorrect .feedback-icon,.study-feedback.feedback-incorrect .feedback-message{color:#9e2f14}.study-feedback .correct-answer{margin:1rem 0;padding:1rem;border-left:4px solid #4a7c59;border-radius:.5rem;background:#faf8f3cc}.study-feedback .correct-answer .label{margin-bottom:.5rem;color:#6b6b6b;font-size:.9375rem}.study-feedback .correct-answer .value{color:#345540;font-size:1.5rem;font-weight:500}.study-feedback .feedback-explanation{max-width:600px;margin:1rem auto;color:#404040;line-height:1.8}.study-feedback .feedback-vocabulary-details{margin:1.5rem 0;padding:1rem;border-radius:.5rem;background:#faf8f3cc}.study-feedback .feedback-vocabulary-details .chinese-text{font-size:2rem}.study-feedback .feedback-vocabulary-details .chinese-phonetic{color:var(--ink);font-size:1.125rem}.study-feedback .feedback-meaning{margin:.75rem 0 0}@media(max-width:600px){.flashcard-container .flashcard{min-height:340px;padding:2rem 1.25rem}.flashcard-container .study-session-actions{flex-wrap:wrap}.flashcard-container .progress-stats{font-size:.8rem}}.live-app .flashcard-container{box-shadow:none}.live-app .study--complete{display:grid;place-items:center;max-width:none;padding:clamp(1.5rem,5vw,4rem) 1rem;border:0;background:transparent;box-shadow:none}.study-completion-card{width:min(100%,44rem);padding:clamp(1.75rem,5vw,3rem);border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 12px 32px #1a1a1a1f,0 4px 8px #1a1a1a14;text-align:center}.study-completion-mark{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 1rem;border-radius:50%;background:#4a7c591f;color:#345540;font-size:2rem;font-weight:700}.live-app .study-completion-card h2{margin:0 0 1.5rem;color:#1a1a1a;font-family:Crimson Pro,Georgia,serif;font-size:clamp(1.9rem,5vw,2.5rem)}.study-completion-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;margin:0 0 1.5rem;border:1px solid var(--line);border-radius:14px;background:#faf8f3}.study-completion-metric{display:grid;gap:.28rem;margin:0;padding:1rem .7rem;border-right:1px solid var(--line);font-variant-numeric:tabular-nums}.study-completion-metric:last-child{border-right:0}.study-completion-metric-value{color:#1a1a1a;font-size:1.65rem;line-height:1}.study-completion-metric-label{color:#6b6b6b;font-size:.78rem}.study-completion-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.75rem}.study-completion-actions .ui-button-control,.study-completion-practice-sheet{margin:0}.study-completion-dashboard{margin-top:1.25rem}@media(max-width:520px){.study-completion-metrics{grid-template-columns:1fr}.study-completion-metric{border-right:0;border-bottom:1px solid var(--line)}.study-completion-metric:last-child{border-bottom:0}.study-completion-actions{align-items:stretch;flex-direction:column}.study-completion-actions>:is(.ui-button-control,.study-completion-practice-sheet){width:100%}.study-completion-actions .ui-button{width:100%}}.dictionary-container{padding:32px 0 48px}.live-app .dictionary-page-header h1{text-align:center;font:700 28px Crimson Pro,Georgia,serif;margin-bottom:24px}.dictionary-page-header .chinese-title{margin-left:16px;color:#6b6b6b;font:400 20px "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif;vertical-align:middle}.dictionary-search{max-width:800px;margin:0 auto 48px;align-items:end}.live-app .dictionary-search .ui-field{margin:0}.dictionary-search .ui-field-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.live-app .dictionary-search input{padding:16px 24px;font-size:18px;box-shadow:0 1px 2px #1a1a1a0d,0 2px 4px #1a1a1a0a;border-radius:12px}.live-app .dictionary-search .ui-button{padding:16px 24px;background:linear-gradient(135deg,#4a7c59,#345540);border:0;font-size:16px}.dictionary-results-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:16px;margin-bottom:32px}.dict-result-card{min-width:0;background:#fff;padding:24px;border-radius:16px;border:1px solid rgba(26,26,26,.05);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.dictionary-result-word{display:flex;align-items:center;justify-content:space-between;gap:12px}.dictionary-result-word .chinese-text{font:500 32px "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif}.dictionary-result-word .chinese-phonetic{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#4a7c59}.dictionary-result .definition{color:#404040;font-size:14px;line-height:1.4;margin:16px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.dictionary-result .lesson-count{color:#6b6b6b;font-size:12px;font-style:italic;text-align:right;margin:12px 0 0}.dictionary-results .results-count{text-align:center;margin-bottom:16px;color:#6b6b6b;font-size:14px;font-style:italic}.dictionary-pagination{display:flex;justify-content:center;align-items:center;gap:16px}.dict-back-link{display:inline-block;color:#6b6b6b;margin-bottom:24px}.dictionary-detail-card{max-width:720px;margin:0 auto;padding:32px;border-radius:16px;background:#fff;box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.dictionary-detail-card>.chinese-text{font:600 48px "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif}.dictionary-detail-card .dictionary-definition{margin:24px 0;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.dictionary-detail-card .stroke-orders{border-bottom:1px solid var(--line);padding:24px 0;margin-bottom:24px}@media(prefers-reduced-motion:no-preference){.dict-result-card{transition:transform .2s,box-shadow .2s}.dict-result-card:hover{transform:translateY(-3px);box-shadow:0 4px 10px #1a1a1a12,0 16px 32px #1a1a1a1a}}@media(max-width:600px){.dictionary-search{gap:8px}.live-app .dictionary-search input,.live-app .dictionary-search .ui-button{padding:14px}.dictionary-detail-card{padding:20px}}.editor{padding-bottom:5.5rem}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:2rem;align-items:start}.editor-work-area{min-width:0;padding-top:1.5rem}.editor-work-area>:is(.editor-lookup,.editor-bulk,.editor-vocabulary,.editor-grammar),.editor-sidebar-card{margin-bottom:1.5rem;overflow:hidden;border:1px solid var(--line);border-radius:1rem;background:var(--surface);box-shadow:0 2px 12px #1a1a1a0f}.editor-work-area>:is(.editor-lookup,.editor-bulk,.editor-vocabulary,.editor-grammar){padding:1.5rem}.editor-work-area h2,.editor-sidebar h2{font-family:Georgia,serif;font-weight:600;letter-spacing:.01em}.editor-lookup .ui-button-control{margin:0 0 .5rem}.editor-preview,.editor-bulk-review,.editor-generated-grammar{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--line)}.editor-vocabulary>ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:1rem}.editor .editor-vocabulary-row{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.35rem;padding:1.1rem 1.2rem;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 1px 4px #1a1a1a0a}.editor-vocabulary-row>.chinese-text{font-size:1.75rem}.editor .editor-vocabulary-example .chinese-text{display:inline;font-size:inherit;line-height:inherit;margin:0}.editor-vocabulary-example .chinese-word{display:inline}.editor-vocabulary-example{overflow-wrap:anywhere}.editor-vocabulary-row>p{margin:0}.editor-vocabulary-row .ui-button-control{margin:.35rem .35rem 0 0}.editor-bulk textarea{min-height:10rem}.editor-bulk-review>ul,.editor-generated-grammar,.editor-existing-grammar{display:grid;gap:.8rem}.editor .editor-bulk-row,.editor-existing-grammar>li,.editor-generated-grammar>li{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.75rem 1rem;padding:1rem;border:1px solid var(--line);border-radius:9px;background:#faf8f3}.editor-existing-grammar>li.editor-existing-grammar-card{grid-template-columns:minmax(0,1fr);align-items:stretch}.editor-existing-grammar-options{display:grid;gap:.35rem}.editor-existing-grammar-options>li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding:.45rem .65rem;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.editor-existing-grammar-options>.editor-grammar-correct{border-color:#4a7c594d;background:#4a7c5912}.editor-grammar-correct-label{color:#345540;font-size:.75rem;font-weight:700}.editor-existing-grammar-question{margin:0;font-weight:700}.editor-existing-grammar-explanation{margin:0;color:var(--muted)}.editor-existing-grammar-actions{display:flex;flex-wrap:wrap;gap:.5rem}.editor-generated-grammar>li>ul{grid-column:1/-1}.editor-grammar-option{grid-template-columns:1.25rem minmax(0,1fr);align-items:center}.editor-grammar-option>label:first-child,.editor-grammar-option>input[type=text]{grid-column:1/-1}.editor-grammar-option>input[type=radio]{grid-column:1;grid-row:auto;justify-self:center}.editor-grammar-option>label:last-child{grid-column:2}.editor-grammar-option input[type=radio]{width:1.1rem;height:1.1rem;accent-color:var(--accent)}.editor-sidebar{min-width:0;position:sticky;top:1.5rem}.editor-sidebar-card{padding-bottom:1rem}.editor-sidebar-top{padding:1.25rem 1.5rem 1rem;border-bottom:1px solid var(--line);background:#faf8f3;box-shadow:inset 0 3px var(--accent)}.editor-back{display:inline-flex;margin-bottom:.75rem;color:var(--muted);font-size:.75rem;font-weight:600;letter-spacing:.08em;text-decoration:none;text-transform:uppercase}.editor-back:hover{color:var(--accent)}.editor-sidebar .editor-lesson-title{margin:0;font-size:1.6rem}.editor-sidebar .editor-metadata,.editor-sidebar .editor-students{padding:1.25rem 1.5rem 0}.editor-sidebar .editor-metadata h2,.editor-sidebar .editor-students h2{margin-bottom:.85rem;font-family:inherit;font-size:.7rem;font-weight:700;line-height:1.3;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}.editor-sidebar .editor-students{border-top:1px solid var(--line);margin-top:.5rem;padding-top:1.2rem}.editor-sidebar .editor-students li{padding:.35rem 0}.editor-sidebar .editor-students label{display:flex;align-items:center;gap:.6rem}.editor-sidebar .editor-students li:has(input[type=checkbox]){display:flex;align-items:center;justify-content:space-between;gap:.75rem}.editor-sidebar .editor-students input[type=checkbox]{flex:0 0 auto;width:1.1rem;height:1.1rem;accent-color:var(--accent)}.editor-save-bar{position:fixed;z-index:10;right:0;bottom:0;left:248px;padding:.85rem clamp(1.25rem,4vw,3rem);border-top:1px solid var(--line);background:#fffffff5;box-shadow:0 -4px 24px #1a1a1a14;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.editor-save-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:1280px;margin:0 auto}.editor-save-context,.editor-save-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}.editor-save-context{margin-right:auto}.editor-save-name{font-family:Georgia,serif;font-weight:700}.editor-save-separator{color:var(--muted)}.editor-save-count{color:var(--muted);font-size:.875rem}.editor-view-lesson{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem 1rem;border:1px solid var(--line);border-radius:8px;color:var(--ink);text-decoration:none;font-size:.875rem}.editor-view-lesson:hover{border-color:var(--accent);color:var(--accent)}.editor-save-bar-inner>:is(p,.ui-field-error){margin:0}.editor-save-bar .ui-button-control{flex-shrink:0}@media(max-width:1000px){.editor-layout{grid-template-columns:minmax(0,1fr) 280px;gap:1.25rem}}@media(max-width:900px){.editor-layout{grid-template-columns:minmax(0,1fr)}.editor-sidebar{position:static;grid-row:1}.editor-work-area{grid-row:2;padding-top:0}.editor-sidebar-card{margin-bottom:1rem}}@media(max-width:720px){.editor-save-bar{left:0;padding:.75rem 1rem}.editor-save-bar-inner{flex-wrap:wrap}.editor-save-context{flex-basis:100%}.editor .editor-bulk-row,.editor-generated-grammar>li{grid-template-columns:minmax(0,1fr)}.editor-existing-grammar>li{grid-template-columns:minmax(0,1fr) auto}.editor-existing-grammar>li .ui-button-control:last-child{grid-column:2}}.editor-bulk>label[for=bulk-examples]{display:flex;align-items:center;gap:.6rem;margin:.75rem 0}.editor-bulk>label[for=bulk-examples] input{flex:0 0 auto;width:1.1rem;height:1.1rem;margin:0;accent-color:var(--accent)}.live-app .teacher-student-detail,.live-app .teacher-lesson-detail{max-width:1120px;margin:0 auto;padding:0;background:transparent;border:0;box-shadow:none}.teacher-student-hero,.teacher-lesson-header{position:relative;margin-bottom:2rem;padding:1.5rem 0 1.75rem;border-bottom:1px solid rgba(149,149,149,.18)}.teacher-student-hero:after,.teacher-lesson-header:after{position:absolute;bottom:-2px;left:0;width:76px;height:2px;content:"";background:linear-gradient(90deg,#c73e1d,transparent)}.teacher-breadcrumb{display:inline-block;margin-bottom:1rem;color:var(--muted);font-size:.82rem;text-decoration:none}.teacher-breadcrumb:hover{color:var(--accent)}.teacher-student-identity{display:flex;align-items:center;gap:1rem}.teacher-student-avatar{display:grid;width:54px;height:54px;flex:0 0 auto;place-items:center;border-radius:50%;background:#c73e1d;color:#fff;font:700 1.45rem/1 Crimson Pro,Georgia,serif}.live-app .teacher-student-identity h1,.live-app .teacher-lesson-header h1{margin:0;font-family:Crimson Pro,Georgia,serif;font-size:clamp(1.7rem,3vw,2.35rem)}.teacher-student-email,.teacher-lesson-description{margin:.2rem 0 0;color:var(--muted)}.teacher-student-identity .teacher-pending{margin-left:.65rem;vertical-align:middle}.teacher-student-stats,.teacher-student-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1.25rem}.teacher-student-stats{margin-top:1.5rem}.teacher-student-stat{display:grid;gap:.1rem;min-width:92px}.teacher-student-stat+.teacher-student-stat{padding-left:1.25rem;border-left:1px solid var(--line)}.teacher-student-stat-value{font:700 1.35rem/1.1 Crimson Pro,Georgia,serif;font-variant-numeric:tabular-nums}.teacher-student-stat-label{color:var(--muted);font-size:.73rem}.teacher-student-actions{margin-top:1.25rem}.teacher-lessons{margin-top:2.25rem}.teacher-section-heading{display:flex;align-items:baseline;gap:.5rem;margin-bottom:.55rem}.live-app .teacher-section-heading h2{margin:0;font-family:Crimson Pro,Georgia,serif;font-size:1.2rem}.teacher-section-count{color:var(--muted);font-size:.88rem}.teacher-lesson-sort{margin-bottom:.5rem}.teacher-lesson-sort .ui-button{min-height:34px;padding:.3rem .55rem;font-size:.75rem}.teacher-assigned-lessons-table{margin:0}.teacher-assigned-lessons-table th{padding-top:.6rem}.teacher-assigned-lessons-table td{padding-top:.9rem;padding-bottom:.9rem}.teacher-assigned-lessons-table td:first-child a{color:var(--ink);font-weight:650;text-decoration:none}.teacher-assigned-lessons-table td:first-child a:hover{color:var(--accent)}.teacher-assigned-lessons-number,.teacher-assigned-lessons-date{color:var(--muted);font-size:.84rem;font-variant-numeric:tabular-nums;white-space:nowrap}.teacher-assigned-lessons-action{width:1%;white-space:nowrap;text-align:right}.teacher-assigned-lessons-action .ui-button{min-height:32px;padding:.25rem .45rem;font-size:.75rem}.teacher-empty-value{color:var(--muted)}.teacher-lesson-tag{display:inline-block;margin:.1rem .25rem .1rem 0;border:1px solid rgba(74,124,89,.22);border-radius:999px;background:#4a7c5914;color:#345540;font-size:.69rem;line-height:1.35;padding:.14rem .48rem;text-decoration:none}.teacher-lessons-empty,.teacher-lesson-empty{padding:2.5rem 1rem;text-align:center;color:var(--muted)}.teacher-lessons-empty-character,.teacher-lesson-empty>span{display:block;color:#95959559;font:3rem/1 "Noto Serif CJK SC","Source Han Serif SC",Songti SC,serif}.teacher-lesson-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem}.teacher-lesson-header-copy{min-width:0}.teacher-lesson-header-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.6rem}.teacher-lesson-meta{display:flex;align-items:stretch}.teacher-lesson-meta-pill{display:grid;min-width:64px;padding:0 .75rem;text-align:center}.teacher-lesson-meta-pill+.teacher-lesson-meta-pill{border-left:1px solid var(--line)}.teacher-lesson-meta-value{font:700 1.2rem/1.1 Crimson Pro,Georgia,serif;font-variant-numeric:tabular-nums}.teacher-lesson-meta-label{margin-top:.2rem;color:var(--muted);font-size:.69rem}.teacher-lesson-header-actions>.ui-button{min-height:38px;padding:.45rem .7rem;font-size:.8rem;text-decoration:none}.teacher-lesson-tags{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.75rem}.teacher-lesson-tags .teacher-lesson-tag{margin:0}.teacher-lesson-assignees{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin:-1rem 0 1.75rem;color:var(--muted);font-size:.82rem}.teacher-lesson-assignee-list{display:flex;flex-wrap:wrap;gap:.35rem}.teacher-lesson-assignee{border-radius:999px;background:#d4a57424;color:#1a1a1a;padding:.15rem .55rem}.teacher-lesson-section{margin-top:2.35rem}.teacher-vocabulary-grid,.teacher-grammar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:1rem;margin:1rem 0 0;padding:0}.teacher-vocabulary-grid>.teacher-vocabulary-card,.teacher-grammar-grid>.teacher-grammar-card{min-width:0;margin:0;padding:1.15rem;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;list-style:none}.teacher-vocabulary-card .chinese-text{margin:0;font-size:1.8rem}.teacher-vocabulary-card>p{margin:.75rem 0 0;color:var(--muted)}.teacher-vocabulary-card>.ui-button-control{margin-top:.9rem}.teacher-vocabulary-card .ui-audio{min-height:34px}.teacher-vocabulary-example{margin-bottom:0;color:var(--muted);font-style:italic;font-size:.88rem}.teacher-grammar-intro{margin:-.1rem 0 1rem;color:var(--muted);font-size:.87rem}.teacher-grammar-question{margin:0 0 .7rem;color:var(--ink);font-weight:650}.teacher-grammar-options{display:grid;gap:.4rem;margin:0;padding-left:1.15rem;color:var(--muted);font-size:.9rem}.teacher-grammar-option--correct{padding:.4rem .6rem;border-radius:6px;background:#4a7c5917;border:1px solid rgba(74,124,89,.22)}.teacher-grammar-options strong{color:#345540}.teacher-grammar-card>p:last-child{margin:.75rem 0 0;color:var(--muted);font-size:.85rem;font-style:italic}@media(max-width:720px){.teacher-student-hero,.teacher-lesson-header{margin-bottom:1.5rem;padding-top:.5rem}.teacher-student-stat+.teacher-student-stat{padding-left:.8rem}.teacher-lesson-header{display:grid;align-items:start}.teacher-lesson-header-actions{justify-content:flex-start}.teacher-assigned-lessons-table thead{display:none}.teacher-assigned-lessons-table tbody{display:block}.teacher-assigned-lessons-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:.8rem 0;border-bottom:1px solid var(--line)}.teacher-assigned-lessons-table td{padding:.25rem .45rem;border:0}.teacher-assigned-lessons-table td:first-child{grid-column:1}.teacher-assigned-lessons-table td:nth-child(2){grid-column:1}.teacher-assigned-lessons-table td:nth-child(3){display:none}.teacher-assigned-lessons-table td:nth-child(4){grid-column:1;white-space:normal}.teacher-assigned-lessons-table td:last-child{grid-column:2;grid-row:1/4;align-self:center;width:auto}.teacher-vocabulary-grid,.teacher-grammar-grid{grid-template-columns:1fr}}.live-app .teacher-lesson-header-actions>a.ui-button:not(.ui-button--secondary){color:#fff}.teacher-vocabulary-card .teacher-vocabulary-example .chinese-text{font-size:1rem;margin:0}.teacher-lessons--available>ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:1rem;padding:0}.teacher-lessons--available .teacher-available-lesson{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;padding:1rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.teacher-available-lesson>a{font-weight:650;text-decoration:none}.teacher-available-lesson>p{margin:0}.teacher-available-lesson-date{color:var(--muted);font-size:.8rem}.admin-smoke-page,.admin-log-page{position:relative}.admin-smoke-page>h1,.admin-log-page>h1{font-family:Crimson Pro,Georgia,serif;margin-bottom:.75rem}.admin-smoke-page>.auth-links,.admin-log-page>.auth-links{gap:.2rem 1.2rem;border-bottom:1px solid var(--line);margin:0 0 1.5rem}.admin-smoke-page>.auth-links a,.admin-log-page>.auth-links a{padding:.6rem 0;text-decoration:none;font-size:.85rem;color:var(--muted)}.admin-smoke-page>.auth-links a[aria-current],.admin-log-page>.auth-links a[aria-current]{color:var(--accent);border-bottom:2px solid var(--accent);font-weight:650}.admin-smoke-page>.admin-loading,.admin-log-page>.admin-loading{position:absolute;top:.5rem;right:0;font-size:.75rem;color:var(--muted)}.admin-smoke-page>[role=alert],.admin-log-page>[role=alert]{background:var(--surface);border-left:3px solid var(--red);padding:1rem;margin-bottom:1rem}.smoke-dashboard{display:grid;gap:1.25rem}.smoke-control{padding:1.5rem;border:1px solid var(--line);border-radius:var(--radius);background:radial-gradient(ellipse at top right,rgba(74,124,89,.1),transparent 65%),var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.smoke-control h2{font-family:Crimson Pro,Georgia,serif;font-size:clamp(1.4rem,2.3vw,1.9rem);margin:.3rem 0 1.1rem}.smoke-control .eyebrow{margin:0}.smoke-control-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem}.smoke-monitor-label{font-size:.7rem;border:1px solid var(--line);border-radius:99px;padding:.25rem .65rem;white-space:nowrap;color:var(--muted)}.smoke-actions{gap:.65rem;margin:0 0 1rem}.smoke-actions .ui-button{min-height:42px;padding:.55rem 1rem;font-size:.82rem}.smoke-schedule{margin:0;font-size:.8rem}.smoke-ai-note{color:var(--muted);font-size:.75rem;margin:.25rem 0 0}.smoke-notice{margin:1rem 0 0;font-size:.85rem;font-weight:600}.smoke-active{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;border-top:1px solid var(--line);padding-top:1rem;margin-top:1rem;font-size:.8rem}.smoke-active button{border:0;background:transparent;color:var(--jade);padding:0 .5rem;margin-left:auto;text-decoration:underline;font-size:.8rem}.smoke-latest{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line);font-size:.75rem}.smoke-latest time{color:var(--muted);margin-left:auto;font-size:.7rem}.smoke-dashboard .ui-dashboard-stats{margin:0;gap:.85rem}.smoke-dashboard .ui-stat-card{padding:1rem 1.25rem}.smoke-dashboard .ui-stat-card:after{background:var(--jade)}.smoke-dashboard .ui-stat-card:nth-child(2):after{background:var(--red)}.smoke-dashboard .ui-stat-card:nth-child(3):after{background:var(--muted)}.smoke-dashboard .ui-stat-detail{margin-top:.25rem;font-size:.7rem}.smoke-history{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a}.smoke-history-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 1.5rem}.smoke-history-heading h2{margin:0;font-size:1rem}.smoke-history-heading p{margin:.25rem 0 0;font-size:.75rem;color:var(--muted)}.smoke-history-count{color:var(--muted);white-space:nowrap;font-size:.75rem}.smoke-run-list{list-style:none;padding:0;margin:0}.smoke-run-list li{border-top:1px solid var(--line)}.smoke-run{display:grid;grid-template-columns:6.4rem minmax(0,1.5fr) minmax(0,1fr) minmax(4rem,.55fr) 1rem;gap:1rem;align-items:center;width:100%;padding:1rem 1.5rem;border:0;background:transparent;color:var(--ink);text-align:left;font-size:.8rem}.smoke-run:hover{background:var(--paper)}.smoke-run:focus-visible{outline-offset:-4px}.smoke-run strong{font-weight:650}.smoke-run-main,.smoke-run-context,.smoke-run-timing{display:flex;flex-direction:column;gap:.2rem;min-width:0}.smoke-run-main time{color:var(--muted);font-size:.7rem;font-variant-numeric:tabular-nums}.smoke-run-timing{text-align:right;font-variant-numeric:tabular-nums}.smoke-run-timing code{font:.7rem JetBrains Mono,SF Mono,Monaco,monospace;color:var(--muted)}.smoke-run-arrow{color:var(--muted)}.smoke-status{display:inline-flex;align-items:center;gap:.4rem;width:fit-content;padding:.25rem .6rem;border-radius:5px;font-size:.7rem;font-weight:650;white-space:nowrap;background:var(--paper);color:var(--muted)}.smoke-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.smoke-status--good{background:#4a7c591a;color:var(--jade)}.smoke-status--bad{background:#c73e1d17;color:var(--red)}.smoke-status--warn{background:#fbf0db;color:#805713}.smoke-status--busy{background:#e9f1f8;color:#326082}.smoke-pagination{padding:1rem 1.5rem;border-top:1px solid var(--line)}.smoke-pagination .button-row{margin:0;justify-content:space-between;gap:.5rem;align-items:center}.smoke-pagination .button-row p{margin:0;font-size:.75rem;color:var(--muted)}.smoke-pagination .ui-button{font-size:.75rem;padding:.4rem .65rem}.smoke-empty{padding:2rem 1.5rem;border-top:1px solid var(--line);text-align:center;color:var(--muted)}.smoke-empty p{margin:0}#smoke-run-details{width:min(42rem,100vw - 2rem);max-height:calc(100dvh - 2rem);overflow-y:auto}#smoke-run-details .dialog-heading{position:sticky;top:0;background:var(--surface);z-index:1}#smoke-run-details h3{margin:1.5rem 0 .65rem;font-size:.85rem}.smoke-detail-summary{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;font-size:.9rem}.smoke-detail-summary>span:last-child{margin-left:auto;color:var(--muted)}.smoke-failure{background:#c73e1d0f;border-left:3px solid var(--red);padding:.85rem 1rem;margin-top:1.25rem;overflow-wrap:anywhere}#smoke-run-details .smoke-failure h3{color:var(--red);margin:0 0 .25rem}.smoke-failure code,.smoke-checks code{font-size:.8rem}.smoke-checks{list-style:none;padding:0;margin:0 0 1.5rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem 1rem}.smoke-checks li{display:flex;align-items:baseline;gap:.6rem;overflow-wrap:anywhere;min-width:0}.smoke-checks li>span{color:var(--jade)}.smoke-checks code{min-width:0}.smoke-metadata{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:.55rem 1rem;font-size:.75rem;padding-top:1rem;border-top:1px solid var(--line)}.smoke-metadata dt{color:var(--muted)}.smoke-metadata dd{margin:0;overflow-wrap:anywhere;font-family:JetBrains Mono,SF Mono,Monaco,monospace}@media(max-width:1050px){.smoke-run{grid-template-columns:6rem minmax(0,1fr) 5rem;gap:.65rem}.smoke-run-context{grid-column:2;grid-row:2;flex-direction:row;flex-wrap:wrap;gap:.5rem}.smoke-run-timing{grid-column:3;grid-row:1/3}.smoke-run-arrow{display:none}.smoke-run>.smoke-status{grid-row:1/3}}@media(max-width:600px){.smoke-control{padding:1.1rem}.smoke-control-heading{flex-wrap:wrap;gap:.5rem}.smoke-control h2{margin-bottom:.3rem}.smoke-monitor-label{margin-bottom:.8rem}.smoke-dashboard .ui-dashboard-stats{gap:.5rem}.smoke-dashboard .ui-stat-card{padding:.75rem}.smoke-dashboard .ui-stat-value{font-size:1.7rem}.smoke-dashboard .ui-stat-label{font-size:.7rem}.smoke-history-heading{padding:1rem;align-items:start}.smoke-history-count{white-space:normal;text-align:right}.smoke-run{padding:1rem;grid-template-columns:minmax(0,1fr) auto}.smoke-run>.smoke-status{grid-column:2;grid-row:1;justify-self:end}.smoke-run-main{grid-column:1;grid-row:1}.smoke-run-context{grid-column:1;grid-row:2;font-size:.7rem}.smoke-run-timing{grid-column:2;grid-row:2;font-size:.75rem}.smoke-run-main time{font-size:.65rem}.smoke-pagination{padding:.75rem}.smoke-pagination .button-row p{width:100%;text-align:center;order:1}.smoke-checks{grid-template-columns:1fr}.smoke-metadata{grid-template-columns:5.5rem minmax(0,1fr);gap:.5rem}}.admin-error-log{--log-time-width: 13rem}.admin-error-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.75rem 0 1rem}.admin-error-count{margin:0;font-size:1rem;font-weight:650}.admin-error-hint{margin:.2rem 0 0;color:var(--muted);font-size:.8rem}.admin-error-history{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 1px 2px #1a1a1a0d,0 4px 12px #1a1a1a0a;overflow:hidden}.admin-error-columns,.admin-error-row{display:grid;grid-template-columns:var(--log-time-width) minmax(0,1fr);gap:1.75rem;padding:1.1rem 1.5rem}.admin-error-columns{font-size:.7rem;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);background:linear-gradient(90deg,var(--paper),var(--surface));border-bottom:1px solid var(--line)}.admin-error-list{list-style:none;margin:0;padding:0}.admin-error-list>li+li{border-top:1px solid var(--line)}.admin-error-row{width:100%;border:0;background:transparent;text-align:left;color:var(--ink);align-items:center;min-width:0}.admin-error-row:hover{background:var(--paper)}.admin-error-row:focus-visible{outline-offset:-4px}.log-level-error{--log-color: #ad351d;--log-tint: #fcf0ec}.log-level-warning{--log-color: #835710;--log-tint: #fbf4e4}.log-level-info{--log-color: #28614c;--log-tint: #edf5ef}.log-level-debug{--log-color: #3e638c;--log-tint: #eef3f9}.log-level-neutral{--log-color: #65655e;--log-tint: #f1f1ed}.admin-error-stamp{min-width:0;border-left:3px solid var(--log-color);border-radius:0 7px 7px 0;padding:.5rem .7rem;background:var(--log-tint);color:var(--log-color)}.admin-error-level{display:block;font-size:.6rem;letter-spacing:.09em;font-weight:750;margin-bottom:.25rem;overflow-wrap:anywhere}.admin-error-stamp learner-local-time{font-size:.78rem;font-variant-numeric:tabular-nums}.admin-error-log .local-time-date,.admin-error-log .local-time-clock{display:block}.admin-error-stamp .local-time-date{font-weight:600}.admin-error-stamp .local-time-clock{margin-top:.1rem}.admin-error-message{min-width:0;font-size:.9rem;line-height:1.65;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.admin-error-pagination{border-top:1px solid var(--line);padding:1rem 1.5rem}.admin-error-pagination .button-row{margin:0;align-items:center;justify-content:space-between;gap:.5rem}.admin-error-pagination p{margin:0;color:var(--muted);font-size:.75rem}.admin-error-pagination .ui-button{padding:.45rem .7rem}.admin-error-empty{margin:0;padding:3rem 1.5rem;text-align:center;color:var(--muted)}.admin-error-timezone{font-size:.7rem;color:var(--muted);margin:.85rem 0 0}#admin-error-details{width:min(45rem,100vw - 2rem)}#admin-error-details h3{margin:1.5rem 0 .5rem;color:var(--muted);font-size:.75rem}.admin-error-detail-heading{display:flex;gap:1rem;align-items:center;padding:.8rem 1rem;border-left:3px solid var(--log-color);background:var(--log-tint);color:var(--log-color);border-radius:0 8px 8px 0}.admin-error-detail-heading .admin-error-level{margin:0;font-size:.7rem}.admin-error-detail-heading learner-local-time{font-size:.8rem}.admin-error-full-message{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 1.5rem;line-height:1.7;font-size:.95rem}.admin-error-metadata{display:grid;grid-template-columns:8rem minmax(0,1fr);gap:.8rem 1rem;border-top:1px solid var(--line);padding-top:1.25rem;font-size:.75rem}.admin-error-metadata dt{color:var(--muted)}.admin-error-metadata dd{margin:0;overflow-wrap:anywhere}.admin-error-metadata code,.admin-error-fields code{font-family:JetBrains Mono,SF Mono,Monaco,monospace;font-size:.75rem}.admin-error-fields{white-space:pre-wrap;overflow-wrap:anywhere;padding:1rem;margin:0;background:var(--paper);border:1px solid var(--line);border-radius:8px}@media(max-width:600px){.admin-error-log{--log-time-width: 8.5rem}.admin-error-toolbar{margin-top:1rem}.admin-error-columns,.admin-error-row{gap:.75rem;padding:.85rem}.admin-error-stamp{padding:.4rem .5rem}.admin-error-stamp learner-local-time{font-size:.68rem}.admin-error-message{font-size:.8rem;-webkit-line-clamp:4}.admin-error-pagination{padding:.75rem}.admin-error-pagination p{width:100%;text-align:center;order:1}.admin-error-metadata{grid-template-columns:1fr;gap:.25rem}.admin-error-metadata dd{margin-bottom:.6rem}}:root{--academy-red: #c73e1d;--academy-red-dark: #9e2f14;--academy-paper: #f6f4ef;--academy-surface: #fff;--academy-ink: #1a1a1a;--academy-muted: #706f67;--academy-line: #e8e6e2;--academy-radius: 12px}.live-app{color:var(--academy-ink);font-family:Inter,Segoe UI,system-ui,sans-serif}.live-app .chinese-text{font-family:Noto Sans SC,Noto Sans CJK SC,Microsoft JhengHei,sans-serif}.live-app{grid-template-columns:256px minmax(0,1fr)}.live-app h1,.live-app h2,.live-app h3{font-family:Crimson Pro,Georgia,serif}.live-app .gallery{grid-template-columns:256px minmax(0,1fr)}.live-app .sidebar.as-side{padding:32px 16px 16px;border-right-color:var(--academy-line);background:var(--academy-surface)}.live-app.app-shell .main.as-main{max-width:none;padding:48px;background:var(--academy-paper)}.live-app .brand-mark{background:linear-gradient(110deg,var(--academy-red),var(--academy-red-dark))}.live-app.app-shell .sidebar nav a{min-height:48px;border-radius:8px}.live-app.app-shell .sidebar nav a[aria-current=page]{color:var(--academy-red);background:#faede9}.live-app .panel,.live-app .ui-surface,.live-app .ui-card,.live-app .ui-dashboard-panel,.live-app .ui-stat-card,.live-app .teacher-student-card,.live-app .teacher-vocabulary-card,.live-app .teacher-grammar-card{border:1px solid var(--academy-line);border-radius:var(--academy-radius);background:var(--academy-surface);box-shadow:0 2px 10px #1a1a1a0a}.live-app .panel-body{padding:24px}.live-app .ui-field{gap:6px;margin-bottom:16px}.live-app .ui-field label{font-size:14px}.live-app .ui-field input,.live-app .ui-field textarea,.live-app select{min-height:44px;border-color:var(--academy-line);border-radius:8px}.live-app.app-shell .ui-button{min-height:44px;border-radius:8px;background:var(--academy-red);border-color:var(--academy-red)}.live-app.app-shell .ui-button--secondary{border-color:var(--academy-line);background:var(--academy-surface)}.live-app.app-shell .ui-button--quiet{background:transparent;color:var(--academy-ink);border-color:transparent}.live-app .main>h1,.live-app .student-dashboard-topbar h1{font-size:48px;line-height:1.16;font-weight:400}.live-app .ui-button:focus-visible,.live-app a:focus-visible,.live-app input:focus-visible,.live-app select:focus-visible,.live-app textarea:focus-visible{outline:3px solid rgba(199,62,29,.32);outline-offset:2px}.live-app .teacher-student-card,.live-app .teacher-vocabulary-card,.live-app .teacher-grammar-card{padding:20px}.live-app .settings-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);align-items:start;gap:32px}.live-app .main.as-main h1:not(.character-display){font-family:Crimson Pro,Georgia,serif;font-size:48px;font-weight:400;line-height:56px}.live-app .settings-preview .chinese-text{font-size:32px}.live-app .settings-preview p{margin:12px 0 0}.live-app .editor{display:flex;flex-direction:column;padding-bottom:0}.live-app .editor>h1{font-size:48px;font-weight:400;line-height:56px;order:0}.live-app .editor-layout{order:2;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:32px}.live-app .editor-work-area{padding-top:0}.live-app .editor-save-bar{order:1;position:static;padding:0;margin:0 0 32px;border:0;box-shadow:none;background:transparent}.live-app .editor-save-bar-inner{flex-wrap:wrap}.live-app .editor-work-area>:is(.editor-lookup,.editor-bulk,.editor-vocabulary,.editor-grammar),.live-app .editor-sidebar-card{border:1px solid var(--academy-line);border-radius:12px;box-shadow:none}.live-app .editor h2{font:600 22px/30px Inter,sans-serif}.live-app .ui-dashboard-panel,.live-app .as-panel{border-radius:12px;border:1px solid var(--academy-line);box-shadow:none}@media(max-width:900px){.live-app .editor-layout,.live-app .settings-layout{grid-template-columns:1fr}.live-app .editor-work-area{grid-row:1}.live-app .editor-sidebar{grid-row:2}.live-app .editor>h1{font-size:36px;line-height:44px}}@media(max-width:720px){.live-app .main.as-main h1:not(.character-display){font-size:36px;line-height:44px}}.auth-page{width:min(100% - 32px,512px);margin:48px auto;color:var(--academy-ink);font-family:Inter,Segoe UI,system-ui,sans-serif}.auth-page>.panel{border:1px solid var(--academy-line);border-radius:var(--academy-radius);background:var(--academy-surface);box-shadow:0 2px 10px #1a1a1a0a;padding:32px}.auth-page h1{font-family:Crimson Pro,Georgia,serif;font-size:40px}.auth-page .ui-field{gap:6px;margin-bottom:16px}.auth-page .ui-field label{font-size:14px}.auth-page .ui-field input{min-height:44px;border-color:var(--academy-line);border-radius:8px}.auth-page .ui-button{min-height:44px;border-radius:8px;background:var(--academy-red);border-color:var(--academy-red)}.auth-page .ui-button--quiet{color:var(--academy-ink);background:transparent;border-color:transparent}.auth-page .ui-button--secondary{color:var(--academy-ink);background:#fff;border-color:var(--academy-line)}.auth-page :focus-visible{outline:3px solid rgba(199,62,29,.32);outline-offset:2px}@media(max-width:1000px){.live-app.app-shell .main.as-main{padding:32px}}@media(max-width:720px){.live-app{display:block}.live-app .sidebar.as-side{padding:16px}.live-app.app-shell .main.as-main{padding:24px 16px 40px}.live-app .ui-game-summary{padding:24px 16px}.live-app .ui-game-summary-metrics{gap:12px 8px}.auth-page{margin:24px auto}.auth-page>.panel{padding:24px 20px}.live-app .main>h1,.live-app .student-dashboard-topbar h1{font-size:36px}.live-app .study.study--card.flashcard-container{padding:0}.live-app .flashcard-container>.flashcard{padding:20px}}.ui-game-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ui-game-choice{min-height:72px;padding:16px;border:1px solid var(--academy-line);border-radius:8px;background:var(--academy-surface);color:var(--academy-ink);font:600 16px/24px Inter,sans-serif;cursor:pointer}.ui-game-choice[aria-pressed=true]{border:2px solid var(--academy-red);background:#faede9;color:var(--academy-red)}.live-app .arcade,.live-app .arcade-lobby,.live-app .match-pairs{width:min(100%,720px);margin:0 auto}.live-app .study-page-title{width:min(100%,720px);margin:0 auto 24px;font-size:48px;font-weight:400;line-height:56px}.live-app .arcade h1,.live-app .arcade-lobby h1,.live-app .match-pairs h1{font-size:48px;font-weight:400;line-height:56px;margin:0 0 24px}.live-app .arcade-lobby-card,.live-app .match-board{background:#fff;border:1px solid var(--academy-line);border-radius:12px;padding:32px}.live-app .arcade-lobby-card .arcade-scope{padding:24px 0 0;box-shadow:none;border:0}.live-app .arcade-lobby-card>.ui-button-control,.live-app .arcade-lobby-card>.ui-button-control .ui-button{width:100%}.live-app .arcade-lobby .arcade-stats,.live-app .arcade-lobby .arcade-leaderboard{margin-top:24px}.live-app .arcade--game{width:min(100%,880px);padding:32px;background:#fff;border:1px solid var(--academy-line);border-radius:12px}.live-app .arcade-game-area{background:var(--academy-paper);border-color:var(--academy-line)}.live-app .match-board-head,.live-app .match-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--academy-red)}.live-app .match-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.live-app .match-column{display:grid;gap:12px;align-content:start}.live-app .match-tile{width:100%;min-height:76px;padding:12px;border-radius:8px;border:1px solid var(--academy-line);background:#fff;color:var(--academy-ink);font:600 14px/20px Inter,sans-serif;cursor:pointer;overflow-wrap:anywhere}.live-app .match-tile--word{font-family:Noto Sans SC,sans-serif;font-size:28px;line-height:40px}.live-app .match-tile[aria-pressed=true]{border:2px solid var(--academy-red);background:#faede9}.live-app .match-tile--matched{visibility:hidden}.live-app .match-tile:disabled{cursor:default}.live-app .match-footer{margin-top:24px}.live-app .match-feedback{min-height:24px;margin:20px 0 0;color:var(--academy-muted)}@media(max-width:720px){.live-app .arcade h1,.live-app .arcade-lobby h1,.live-app .match-pairs h1{font-size:36px;line-height:44px}.live-app .arcade-lobby-card,.live-app .match-board,.live-app .arcade--game{padding:20px}}.ui-game-summary{display:grid;justify-items:center;gap:20px;width:100%;margin:0 auto;padding:32px;border:1px solid var(--academy-line);border-radius:var(--academy-radius);background:var(--academy-surface);text-align:center}.ui-game-summary-score{padding:8px 0}.ui-game-summary-score-value{margin:0;color:var(--academy-red);font-size:56px;font-weight:700;line-height:1.25}.ui-game-summary-score-label,.ui-game-summary-metric-label{margin:0;color:var(--academy-muted);font-size:14px;line-height:18px}.ui-game-summary-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:16px;width:100%;padding:16px 0}.ui-game-summary-metric-value{margin:0 0 6px;font-size:28px;font-weight:700;line-height:35px;overflow-wrap:anywhere}.ui-game-summary-actions{display:grid;gap:12px;width:100%}.ui-game-summary-actions .ui-button-control,.ui-game-summary-actions .ui-button{width:100%}.arcade-scope-choice{display:flex;flex:1 1 100%;flex-wrap:wrap;gap:.75rem 1rem;min-width:0;padding:0;border:0}.arcade-scope-choice legend{width:100%;margin-bottom:.25rem;font-weight:600}.arcade-scope-choice-option{display:inline-flex;align-items:center;gap:.45rem;cursor:pointer}.live-app .teacher-lesson-detail{max-width:none;margin:0;padding:0;background:transparent;border:0;box-shadow:none}.live-app .teacher-lesson-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 24px;padding:0 0 24px;border-bottom:1px solid var(--academy-line, #e8e6e2)}.live-app .teacher-lesson-header:after{display:none}.live-app .teacher-lesson-header-copy{min-width:0}.live-app .teacher-lesson-header-copy h1{margin:0;color:var(--academy-ink, #1a1a1a);font-family:Crimson Pro,Georgia,serif;font-size:48px;font-weight:400;line-height:56px;overflow-wrap:anywhere}.live-app .teacher-lesson-description{margin:8px 0 0;color:var(--academy-muted, #706f67);font-size:16px;line-height:26px}.live-app .teacher-lesson-header-actions{flex:0 0 auto;justify-content:flex-end;gap:12px}.live-app .teacher-lesson-header-actions>a.ui-button{min-height:44px;padding:12px;border-radius:8px;font-size:14px;text-decoration:none}.live-app .teacher-lesson-assignees{display:block;margin:0 0 32px;padding:16px 20px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:var(--academy-surface, #fff);color:var(--academy-ink, #1a1a1a);font-size:14px}.live-app .teacher-lesson-assignees-label{display:block;margin-bottom:8px;font-weight:600}.live-app .teacher-lesson-assigned-students{display:flex;flex-wrap:wrap;gap:0 20px}.live-app .teacher-lesson-assigned-student{padding:4px 0;border-radius:0;background:transparent;color:var(--academy-muted, #706f67)}.live-app .teacher-lesson-section{margin-top:32px}.live-app .teacher-section-heading{align-items:baseline;gap:8px;margin:0}.live-app .teacher-section-heading h2{margin:0;color:var(--academy-ink, #1a1a1a);font-family:Inter,Segoe UI,system-ui,sans-serif;font-size:22px;font-weight:600;line-height:30px}.live-app .teacher-section-count{color:var(--academy-muted, #706f67);font-size:14px}.live-app .teacher-vocabulary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:16px}.live-app .teacher-vocabulary-grid>.teacher-vocabulary-card{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:12px;margin:0;padding:24px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:var(--academy-surface, #fff);box-shadow:0 2px 10px #1a1a1a0a;list-style:none}.live-app .teacher-vocabulary-card>.chinese-text{margin:0;color:var(--academy-ink, #1a1a1a);font-family:Noto Sans SC,Microsoft JhengHei,sans-serif;font-size:32px;line-height:44px}.live-app .teacher-vocabulary-card .chinese-phonetic{color:var(--academy-muted, #706f67);font-family:Inter,Segoe UI,system-ui,sans-serif;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0}.live-app .teacher-vocabulary-card>.teacher-vocabulary-meaning{margin:0;color:var(--academy-ink, #1a1a1a);font-size:16px;font-weight:400;line-height:26px;overflow-wrap:anywhere}.live-app .teacher-vocabulary-card>.ui-button-control{margin-top:0}.live-app .teacher-vocabulary-card .ui-audio{min-height:44px}.live-app .teacher-vocabulary-card>.teacher-vocabulary-example{margin:0;color:var(--academy-muted, #706f67);font-family:Noto Sans SC,Microsoft JhengHei,sans-serif;font-size:16px;font-style:normal;line-height:28px;overflow-wrap:anywhere}.live-app .teacher-vocabulary-example .chinese-text{margin:0;font-size:inherit}.live-app .teacher-grammar-section{padding:24px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:var(--academy-surface, #fff)}.live-app .teacher-grammar-section .teacher-section-heading{margin-bottom:12px}.live-app .teacher-grammar-intro{margin:0 0 12px;color:var(--academy-muted, #706f67);font-size:14px}.live-app .teacher-grammar-grid{grid-template-columns:1fr;gap:12px;margin-top:0}.live-app .teacher-grammar-grid>.teacher-grammar-card{min-width:0;margin:0;padding:16px;border:1px solid var(--academy-line, #e8e6e2);border-radius:8px;background:var(--academy-surface, #fff);box-shadow:none}.live-app .teacher-grammar-question{margin:0 0 8px;color:var(--academy-ink, #1a1a1a);font-size:16px;font-weight:600;line-height:26px}.live-app .teacher-grammar-options{gap:6px;font-size:14px;line-height:22px}.live-app .teacher-grammar-option--correct{border-radius:6px}.live-app .teacher-grammar-card>p:last-child{margin:8px 0 0;color:var(--academy-muted, #706f67);font-size:14px;font-style:normal;line-height:22px}@media(max-width:720px){.live-app .teacher-lesson-header{display:grid;align-items:start;gap:16px;margin-bottom:20px;padding-bottom:20px}.live-app .teacher-lesson-header-copy h1{font-size:40px;line-height:46px}.live-app .teacher-lesson-header-actions{justify-content:flex-start}.live-app .teacher-lesson-assignees{margin-bottom:24px;padding:16px}.live-app .teacher-lesson-section{margin-top:24px}.live-app .teacher-vocabulary-grid{grid-template-columns:minmax(0,1fr);gap:16px}.live-app .teacher-vocabulary-grid>.teacher-vocabulary-card{padding:20px}.live-app .teacher-grammar-section{padding:20px}}.live-app .student-dashboard.student-dashboard--academy{display:grid;gap:32px}.live-app .student-dashboard-topbar.student-dashboard-hero{display:block;margin:0;padding:0}.live-app .student-dashboard-hero h1{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;margin:0;color:var(--academy-ink, #1a1a1a);font-family:Crimson Pro,Georgia,serif;font-size:48px;font-weight:400;line-height:56px}.live-app .student-dashboard-motto{color:var(--academy-muted, #706f67);font-family:Inter,Noto Sans SC,sans-serif;font-size:18px;line-height:26px}.live-app .student-dashboard-greeting{margin:4px 0 0;color:var(--academy-muted, #706f67);font-size:16px;line-height:26px}.live-app .student-dashboard-review-card{display:grid;grid-template-columns:minmax(0,1fr) 288px;align-items:center;gap:48px;padding:32px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:var(--academy-surface, #fff)}.live-app .student-dashboard-review-action{display:grid;justify-items:start;gap:16px}.live-app .student-dashboard-review-action h2{margin:0;color:var(--academy-ink, #1a1a1a);font-family:Crimson Pro,Georgia,serif;font-size:32px;font-weight:600;line-height:40px}.live-app .student-dashboard-review-action .ui-button{min-height:44px;border-radius:8px}.live-app .student-dashboard-due{display:grid;justify-items:center;gap:4px;color:var(--academy-ink, #1a1a1a);text-align:center}.live-app .student-dashboard-due-value{margin:0;font-family:Crimson Pro,Georgia,serif;font-size:48px;font-weight:400;line-height:56px;font-variant-numeric:tabular-nums}.live-app .student-dashboard-due-label{margin:0;color:var(--academy-muted, #706f67);font-size:12px;font-weight:500;line-height:18px;letter-spacing:.04em;text-transform:uppercase}.live-app .student-dashboard-metrics{padding:24px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:var(--academy-surface, #fff)}.live-app .student-dashboard-metrics .ui-dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin:0}.live-app .student-dashboard-metrics .ui-stat-card{min-width:0;padding:0 0 8px;border:0;border-radius:0;background:transparent;box-shadow:none}.live-app .student-dashboard-metrics .ui-stat-card:after,.live-app .student-dashboard-metrics .ui-stat-card:nth-child(2):after,.live-app .student-dashboard-metrics .ui-stat-card:nth-child(3):after{position:static;width:24px;height:3px;margin-top:8px;background:var(--academy-red, #c73e1d);content:""}.live-app .student-dashboard-metrics .as-stat-top{min-height:18px;margin-bottom:4px}.live-app .student-dashboard-metrics .as-stat-ic{display:none}.live-app .student-dashboard-metrics .as-stat-pill{padding:0;border:0;border-radius:0;background:transparent;color:var(--academy-muted, #706f67);font-size:12px}.live-app .student-dashboard-metrics .ui-stat-value{margin:0 0 4px;color:var(--academy-ink, #1a1a1a);font-family:Crimson Pro,Georgia,serif;font-size:32px;font-weight:600;line-height:40px}.live-app .student-dashboard-metrics .ui-stat-label{color:var(--academy-muted, #706f67);font-size:12px;line-height:18px}.live-app .student-dashboard-layout{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:32px;align-items:start}.live-app .student-dashboard-column{gap:32px}.live-app .student-dashboard-layout .ui-dashboard-panel{min-width:0;padding:24px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:var(--academy-surface, #fff);box-shadow:none}.live-app .student-dashboard-layout .ui-dashboard-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 16px;border:0}.live-app .student-dashboard-layout .ui-dashboard-panel-title{min-width:0;color:var(--academy-ink, #1a1a1a);font-family:Inter,Segoe UI,system-ui,sans-serif;font-size:22px;font-weight:600;line-height:30px}.live-app .student-dashboard-layout .ui-dashboard-panel-actions{flex:0 0 auto}.live-app .student-dashboard-layout .ui-dashboard-panel-actions a{color:var(--academy-red, #c73e1d);font-size:14px;font-weight:600;white-space:nowrap}.live-app .student-dashboard-layout .ui-dashboard-panel-body{padding:0}.live-app .student-dashboard-lesson-list{display:grid;gap:12px}.live-app .student-dashboard-lesson-row{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:var(--academy-surface, #fff);color:var(--academy-ink, #1a1a1a);text-decoration:none}.live-app .student-dashboard-lesson-row:hover{background:#fcfbf9}.live-app .student-dashboard-lesson-row .as-lmid{min-width:0}.live-app .student-dashboard-lesson-row .as-lname{color:var(--academy-ink, #1a1a1a);font-size:14px;font-weight:600;line-height:20px;overflow-wrap:anywhere}.live-app .student-dashboard-lesson-row .as-ltags{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.live-app .student-dashboard-lesson-row .as-tag{margin:0;padding:0 7px;font-size:11px;line-height:14px}.live-app .student-dashboard-lesson-row .as-lright{display:flex;flex:0 0 auto;align-items:center;gap:12px;color:var(--academy-muted, #706f67);font-size:12px}.live-app .student-dashboard-lesson-row .as-arrow{color:var(--academy-red, #c73e1d);font-size:16px;font-weight:600}.live-app .student-dashboard-mastery .ui-dashboard-panel-body{padding:0}.live-app .student-dashboard-layout .student-dashboard-ring-wrap{gap:16px}.live-app .student-dashboard-layout .student-dashboard-ring{width:108px;height:108px;flex-basis:108px;padding:9px}.live-app .student-dashboard-layout .student-dashboard-legend{gap:8px}.live-app .student-dashboard-layout .student-dashboard-legend-item{gap:8px;font-size:12px}.live-app .student-dashboard-layout .student-recent li:first-child,.live-app .student-dashboard-layout .student-personal-list li:first-child{padding-top:0}.auth-page{display:flex;width:min(100% - 64px,512px);min-height:100vh;flex-direction:column;margin:0 auto;padding:64px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--academy-ink, #1a1a1a);font-family:Inter,Segoe UI,system-ui,sans-serif}.auth-page>.brand{margin:0 0 24px}.auth-page>h1{margin:0 0 24px;color:var(--academy-ink, #1a1a1a);font-family:Inter,Segoe UI,system-ui,sans-serif;font-size:32px;font-weight:700;line-height:40px}.auth-page>.panel.panel-body{padding:24px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:var(--academy-surface, #fff);box-shadow:none}.auth-page .ui-field{gap:8px;margin:0}.auth-page .ui-field label{color:var(--academy-ink, #1a1a1a);font-size:14px;font-weight:600;line-height:20px}.auth-page .ui-field input{min-height:48px;padding:12px;border-color:var(--academy-muted, #706f67);border-radius:8px;font-size:16px;line-height:26px}.auth-page form{display:grid;gap:16px}.auth-page form .ui-button-control,.auth-page form .ui-button{width:100%}.auth-page .ui-button{min-height:44px;border-radius:8px}.auth-page .auth-links{gap:12px 16px;margin:16px 0 0}@media(max-width:1100px){.live-app .student-dashboard-layout{grid-template-columns:minmax(0,1fr)}.live-app .student-dashboard-mastery .ui-dashboard-panel-body{display:flex;justify-content:flex-start}}@media(max-width:760px){.live-app .student-dashboard.student-dashboard--academy{gap:24px}.live-app .student-dashboard-hero h1{font-size:40px;line-height:46px}.live-app .student-dashboard-review-card{grid-template-columns:minmax(0,1fr);gap:20px;padding:24px}.live-app .student-dashboard-review-action h2{font-size:28px;line-height:36px}.live-app .student-dashboard-due{justify-items:start;text-align:left}.live-app .student-dashboard-metrics{padding:20px}.live-app .student-dashboard-metrics .ui-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.live-app .student-dashboard-layout,.live-app .student-dashboard-column{gap:24px}.live-app .student-dashboard-layout .ui-dashboard-panel{padding:20px}.live-app .student-dashboard-layout .student-dashboard-ring-wrap{align-items:flex-start;flex-direction:column}.auth-page{width:min(100% - 32px,512px);padding:32px 0}.auth-page>.panel.panel-body{padding:20px}}.live-app .student-study{display:grid;gap:24px}.live-app .student-study-header{margin:0}.live-app .student-study-header h1{margin:0;color:var(--academy-ink, #1a1a1a);font-family:Crimson Pro,Georgia,serif;font-size:48px;font-weight:400;line-height:56px}.live-app .student-study-review{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:32px;padding:24px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:#fff}.live-app .student-study-review-copy h2{margin:0 0 8px;font:600 28px/36px Crimson Pro,Georgia,serif;color:var(--academy-ink, #1a1a1a)}.live-app .student-study-review-copy p{max-width:680px;margin:0 0 12px;color:var(--academy-muted, #706f67);line-height:24px}.live-app .student-study-review-copy .student-study-mode-count{color:var(--academy-muted, #706f67);font-size:14px}.live-app .student-study-review-copy .student-study-mode-count strong{color:var(--academy-red, #c73e1d);font-size:24px}.live-app .student-study-review-action{display:flex;justify-content:flex-end}.live-app .student-study-review-action .ui-button{min-width:220px;min-height:48px;justify-content:center;border-radius:8px}.live-app .student-study-statistics{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}.live-app .student-study-stat{display:grid;min-height:0;justify-items:start;padding:14px 16px;border:1px solid var(--academy-line, #e8e6e2);border-left:0;border-radius:12px;background:#fff;box-shadow:none;text-align:left}.live-app .student-study-stat-label{font-size:12px;letter-spacing:0;text-transform:none}.live-app .student-study-stat-value{margin:2px 0;color:var(--academy-ink, #1a1a1a);font:600 26px/32px Inter,sans-serif}.live-app .student-study-stat-detail{font-size:12px}.live-app .student-study-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.live-app .student-study-mode-card{min-height:0;padding:24px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:#fff;box-shadow:none}.live-app .student-study-mode-card h2{margin:0 0 8px;color:var(--academy-ink, #1a1a1a);font:600 24px/32px Inter,sans-serif}.live-app .student-study-mode-card p{margin:0 0 16px;color:var(--academy-muted, #706f67);line-height:24px}.live-app .student-study-mode-card .ui-button{min-height:44px;border-radius:8px}.live-app .student-study-mode-card--custom .student-study-controls{margin:0}.live-app .student-study-mode-card--custom .student-study-disclosure{min-height:44px;padding:10px 14px;border:1px solid var(--academy-line, #e8e6e2);border-radius:8px;background:#fff;color:var(--academy-ink, #1a1a1a)}.live-app .student-study-mode-card--custom .student-study-controls-content{margin-top:16px}.live-app .student-study-mode-card--custom .student-study-controls-content .ui-button{width:100%}.live-app .student-study-tools{display:grid;gap:12px}.live-app .student-study-tool{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border:1px solid var(--academy-line, #e8e6e2);border-radius:12px;background:#fff}.live-app .student-study-tool h2{margin:0;color:var(--academy-ink, #1a1a1a);font:600 16px/24px Inter,sans-serif}.live-app .student-study-tool p{margin:2px 0 0;color:var(--academy-muted, #706f67);font-size:13px;line-height:20px}.live-app .student-study-tool-link{flex:0 0 auto;color:var(--academy-red, #c73e1d);font-size:14px;font-weight:600;text-decoration:none}.live-app .student-study-tool-link:hover{text-decoration:underline}@media(max-width:760px){.live-app .student-study-header h1{font-size:40px;line-height:46px}.live-app .student-study-review{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px}.live-app .student-study-review-action{justify-content:flex-start}.live-app .student-study-review-action .ui-button{width:100%}.live-app .student-study-statistics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.live-app .student-study-stat{padding:12px 10px}.live-app .student-study-stat-value{font-size:22px;line-height:28px}.live-app .student-study-stat-detail{display:none}.live-app .student-study-mode-grid{grid-template-columns:minmax(0,1fr);gap:16px}.live-app .student-study-mode-card{padding:20px}.live-app .student-study-tool{align-items:flex-start;padding:14px 16px}.live-app .student-study-tool p{max-width:42ch}}.live-app .study-history-panel{margin-top:24px;min-width:0}.live-app .study-history-panel>h2{margin:0 0 20px;font:600 22px/30px Inter,sans-serif}.live-app .study-history-scroll{max-width:100%;overflow-x:auto}.live-app .study-history-scroll .student-history-table{box-shadow:none;border:0;border-radius:0}.live-app .study-history-scroll th{background:var(--academy-paper)}.live-app .study-history-scroll td{vertical-align:middle}.live-app .study-history-scroll td:first-child{white-space:nowrap}.live-app .study-history-scroll .local-time-date{display:block;font-weight:600}.live-app .study-history-scroll .local-time-clock{display:block;color:var(--academy-muted);font-size:12px}.live-app .student-history-pagination{justify-content:space-between;margin:20px 0 0}.live-app .student-history-pagination p{margin:0;color:var(--academy-muted);font-size:14px}@media(max-width:720px){.live-app .study-history-scroll .student-history-table,.live-app .study-history-scroll tbody{display:block}.live-app .study-history-scroll thead{display:none}.live-app .study-history-scroll tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0;border-bottom:1px solid var(--academy-line)}.live-app .study-history-scroll td{padding:0;border:0}.live-app .study-history-scroll td:first-child{grid-column:1/-1}.live-app .study-history-scroll td[data-label]:before{content:attr(data-label);display:block;color:var(--academy-muted);font-size:11px;margin-bottom:4px}.live-app .study-history-scroll td:last-child{grid-column:1/-1}}.practice-sheet-history-page .practice-sheet-history-panel{display:grid;gap:1rem}.practice-sheet-history-page .practice-sheet-history-panel>h1{margin:0}.practice-sheet-history-page .practice-sheet-history-heading{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem 1rem;justify-content:space-between}.practice-sheet-history-page .practice-sheet-history-heading h1{margin:0}.practice-sheet-history-page .practice-sheet-history-list{display:grid;gap:.65rem;list-style:none;margin:0;padding:0}.practice-sheet-history-page .practice-sheet-history-item{align-items:center;border:1px solid var(--academy-line, #e8e6e2);border-radius:.75rem;display:flex;gap:1rem;justify-content:space-between;min-width:0;padding:1rem}.practice-sheet-history-page .practice-sheet-history-details{min-width:0}.practice-sheet-history-page .practice-sheet-history-title{font-size:1.1rem;margin:0 0 .25rem;overflow-wrap:anywhere}.practice-sheet-history-page .practice-sheet-history-source,.practice-sheet-history-page .practice-sheet-history-item learner-local-time{color:var(--academy-muted, #706f67);font-size:.9rem;margin:0 .5rem 0 0}.practice-sheet-history-page .practice-sheet-history-view{flex:0 0 auto}.practice-sheet-history-page .practice-sheet-history-pagination{align-items:center;display:flex;gap:.75rem;justify-content:center;margin-top:.5rem}.practice-sheet-history-page .practice-sheet-history-page-count{margin:0;min-width:4rem;text-align:center}.practice-sheet-history-page .practice-sheet-history-sign-in{margin-left:.75rem}@media(max-width:36rem){.practice-sheet-history-page .practice-sheet-history-item{align-items:flex-start;flex-direction:column}}
