:root{--safe-area-top:calc(env(safe-area-inset-top) + min(16px, env(safe-area-inset-top) * 100))}html[data-theme]{background:var(--background);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--tile-hover:color-mix(in srgb, var(--brand-soft) 65%, var(--surface))}html[data-theme] body{background:var(--background);color:var(--foreground);isolation:isolate;position:relative}html[data-theme] .adult-app{background:0 0}html[data-theme] .cg-standard{background:var(--background);isolation:isolate}.theme-decoration{z-index:-1;pointer-events:none;position:fixed;inset:0;overflow:hidden}.theme-decoration i{background:var(--brand-soft);opacity:.45;border-radius:var(--decoration-radius);width:clamp(280px,58vw,580px);height:clamp(310px,62vw,620px);display:block;position:absolute;transform:rotate(24deg)}.theme-decoration i:first-child{top:18%;right:clamp(-330px,-32vw,-165px)}.theme-decoration i:nth-child(2){bottom:-18%;left:clamp(-350px,-36vw,-170px)}html[data-theme=rose] .theme-decoration i{opacity:.8}html[data-theme=rose] .theme-decoration i:first-child{border-radius:58% 42% 48% 52%/40% 54% 46% 60%}html[data-theme=rose] .theme-decoration i:nth-child(2){border-radius:40% 60% 55% 45%/55% 39% 61% 45%;transform:rotate(-18deg)}.theme-falling-leaves{pointer-events:none;position:absolute;inset:0}.falling-leaf{width:26px;height:34px;color:color-mix(in srgb, var(--brand-accent) 85%, var(--brand) 15%);opacity:0;--leaf-drift:14px;animation:28s linear infinite both autumn-leaf-fall;position:absolute;top:-44px}.falling-leaf svg{width:100%;height:100%;display:block}.falling-leaf-right{--leaf-drift:-14px;animation-delay:14s;right:clamp(4px,25vw - 295px,72px)}.falling-leaf-left{animation-delay:1s;left:clamp(2px,25vw - 295px,72px)}@keyframes autumn-leaf-fall{0%{opacity:0;transform:translate(0,0)rotate(-25deg)}8%{opacity:.45;transform:translate3d(var(--leaf-drift), 14dvh, 0) rotate(10deg)}24%{opacity:.45;transform:translateY(43dvh)rotate(-35deg)}40%{opacity:.4;transform:translate3d(var(--leaf-drift), 73dvh, 0) rotate(20deg)}58%,to{opacity:0;transform:translateY(calc(100dvh + 88px))rotate(55deg)}}.theme-falling-pumpkins{pointer-events:none;position:absolute;inset:0}.falling-pumpkin{width:30px;height:28px;color:color-mix(in srgb, var(--brand-accent) 70%, var(--brand) 30%);opacity:0;--pumpkin-drift:10px;animation:32s linear infinite both autumn-pumpkin-fall;position:absolute;top:-44px}.falling-pumpkin svg{width:100%;height:100%;display:block}.falling-pumpkin-left{animation-delay:8s;left:clamp(6px,25vw - 255px,120px)}.falling-pumpkin-right{--pumpkin-drift:-10px;animation-delay:24s;right:clamp(6px,25vw - 255px,120px)}@keyframes autumn-pumpkin-fall{0%{opacity:0;transform:translate(0,0)rotate(-8deg)}8%{opacity:.45;transform:translate3d(var(--pumpkin-drift), 14dvh, 0) rotate(6deg)}26%{opacity:.45;transform:translateY(45dvh)rotate(-10deg)}42%{opacity:.4;transform:translate3d(var(--pumpkin-drift), 74dvh, 0) rotate(8deg)}58%,to{opacity:0;transform:translateY(calc(100dvh + 88px))rotate(-6deg)}}html[data-background-motion=off] .theme-falling-leaves,html[data-background-pumpkins=off] .theme-falling-pumpkins{display:none}@media (max-width:800px){.falling-leaf{width:20px;height:26px}.falling-pumpkin{width:24px;height:22px}}@media (prefers-reduced-motion:reduce){.theme-falling-leaves,.theme-falling-pumpkins{display:none}.falling-leaf,.falling-pumpkin{animation:none}}.theme-filter-defs{pointer-events:none;position:absolute}html[data-theme] [data-tile-pressed]:not(.correct):not(.wrong):not(.selected-error):not(.selected-wrong):not(:has(input:checked)){background:var(--tile-hover);border-color:var(--brand-accent)}html[data-theme=rose] .brand-logo img{filter:url(#school-logo-rose)}html[data-theme=sand] .brand-logo img{filter:url(#school-logo-sand)}html[data-theme] :is(button,[data-slot=button],a[role=button]){min-width:44px;min-height:44px;box-shadow:none;font-weight:600}html[data-theme] :is(button,[role=button],[data-slot=button],.appearance-option,.teacher-course-option){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}html[data-theme] :is(input,textarea,[contenteditable=true]){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}html[data-theme] :is(button,input,select,textarea,[data-slot=button]){border-radius:var(--control-radius)}html[data-theme] :is(button,[data-slot=button]):focus-visible{outline:3px solid var(--brand-heading);outline-offset:3px}html[data-theme] :is(input,select,textarea):focus-visible{outline:2px solid var(--brand-heading);outline-offset:2px}html[data-theme] :is(input,select,textarea){color:var(--foreground);border-color:var(--border);background:var(--surface);accent-color:var(--brand)}html[data-theme] input[type=checkbox],html[data-theme] input[type=radio]{accent-color:var(--brand)}html[data-theme] :is(button,[data-slot=button]):disabled{cursor:default}html[data-theme] [data-slot=button]{height:auto;min-height:44px;box-shadow:none;background:var(--brand);color:var(--primary-foreground);border-width:1px;font-size:14px;line-height:1.35}html[data-theme] [data-slot=button]:is([data-variant=outline],[data-variant=ghost],[data-variant=link]){background:var(--surface);color:var(--brand);border-color:var(--border)}html[data-theme] [data-slot=button][data-variant=secondary]{background:var(--brand-soft);color:var(--brand)}html[data-theme] [data-slot=button][data-variant=destructive]{background:var(--error-bg);color:var(--error-ink);border-color:var(--error-border)}html[data-theme] [data-slot=button]:hover:not(:disabled){filter:brightness(.96)}html[data-theme] :is(.game-card,.lesson-list>button,.lesson-choice-card,.token-bank button,.correction-word-grid button):is(:hover,:active){box-shadow:none;transform:none}html[data-theme] :is(h1,h2,h3){font-weight:500}html[data-theme] :is(strong,b){font-weight:600}html[data-theme] :is(.section-title span,.admin-heading>div>span,.simple-page-header span,.game-label,.result-page>span,.access-kicker,.question-form-head>div>span,.lesson-choice-card small,.notification-card>div>small){color:var(--brand-heading);letter-spacing:.08em;font-weight:600}html[data-theme] :is(.section-title>p,.admin-heading p,.question-panel>p,.result-page>p,.game-copy small,.lesson-main>small,.lesson-task-count,.lesson-meta,.result-stats small,.question-list p,.student-list small,.teacher-list small,.course-admin-open small,.cg-muted,.cg-center p,.cg-setup p,.access-card>p,.lesson-choice-card p){color:var(--muted-foreground)}html[data-theme] :is(.lesson-main strong,.game-copy strong,.option-list>button strong,.lesson-choice-card strong,.hero-action strong,.course-badge strong){font-weight:600}html[data-theme] :is(.lesson-main strong,.course-admin-open strong,.course-admin-open small,.hero-action strong,.course-badge strong,.signed-profile strong,.teacher-profile strong){white-space:normal;text-overflow:clip;overflow-wrap:anywhere;max-width:100%}html[data-theme] :is(.adult-hero,.game-card,.lesson-list>button,.quick-practice,.result-stats>div,.question-form,.question-library,.content-selectors,.progress-cards article,.weekly-card,.lesson-choice-card,.lesson-publication,.teacher-report,.access-card,.pdf-import,.pdf-import-preview article,.qr-access-panel,.student-list article,.course-admin-open,.teacher-course-option,.cg-setup,.cg-invitation,.cg-players,.cg-dialog,.cg-join-page .cg-center,.cg-team-scores>div,.cg-ranking li,.correction-entry,.translation-entry){border:1px solid var(--border);border-radius:var(--card-radius);background:var(--surface);color:var(--foreground);box-shadow:none}html[data-theme] :is(.round-button,.option-list>button,.token-bank button,.sentence-dropzone button,.correction-word-grid button,.cg-letter-keys button,.cg-tiles>button,.admin-tabs button,.admin-main-tabs button,.student-qr-button,.notification-disable,.lesson-choice-card>i,.listen-button,.match-column button){background:var(--surface);border:1px solid var(--border);color:var(--foreground);box-shadow:none}html[data-theme] :is(.game-card.active,.cg-library .cg-game-cards .game-card.active,.option-list>button.selected,.admin-tabs button.active,.admin-main-tabs button.active,.cg-team-scores>div.active,.course-admin-open:hover,.correction-word-grid button.selected-error,.sentence-dropzone button){background:var(--brand-soft);border-color:var(--brand-accent);color:var(--brand);box-shadow:none}html[data-theme] :is(.game-icon,.question-icon,.lesson-step,.lesson-choice-icon,.lesson-overview-icon,.notification-icon,.option-list>button>span,.course-admin-open>span,.game-copy b,.student-switch>span,.signed-profile>span,.access-mark,.listen-button>svg,.medal-icon){color:var(--brand);background:var(--brand-soft);border-radius:var(--control-radius);box-shadow:none}html[data-theme] :is(.game-card:hover,.lesson-list>button:hover:not(:disabled),.option-list>button:hover:not(:disabled),.cg-tiles>button:hover:not(:disabled)){border-color:var(--brand-accent)}@media (hover:hover){html[data-theme] :is(.game-card,.lesson-list>button,.lesson-choice-card,.course-admin-open,.cg-tiles>button,.option-list>button,.token-bank button,.sentence-dropzone button,.correction-word-grid button,.match-column button,.round-button,.adult-nav button:not(.active)):enabled:not(.correct):not(.wrong):not(.selected-error):not(.selected-wrong):hover{background:var(--tile-hover);border-color:var(--brand-accent)}html[data-theme] :is(.appearance-option,.teacher-course-option):has(input:enabled):not(:has(input:checked)):hover{background:var(--tile-hover);border-color:var(--brand-accent)}}html[data-theme] :is(.game-card,.lesson-list>button,.lesson-choice-card,.course-admin-open,.cg-tiles>button,.option-list>button,.token-bank button,.sentence-dropzone button,.correction-word-grid button,.match-column button,.round-button,.adult-nav button:not(.active)):enabled:not(.correct):not(.wrong):not(.selected-error):not(.selected-wrong):active{background:var(--tile-hover);border-color:var(--brand-accent)}html[data-theme] :is(.appearance-option,.teacher-course-option):has(input:enabled):not(:has(input:checked)):active{background:var(--tile-hover);border-color:var(--brand-accent)}html[data-theme] .lesson-list>button.locked{opacity:1;color:var(--muted-foreground);background:var(--surface)}html[data-theme] .lesson-list>button.locked :is(.lesson-step,.lesson-meta){color:var(--muted-foreground)}html[data-theme] .lesson-list>button.locked .lesson-step{background:var(--muted)}html[data-theme] :is(.lesson-list>button.done .lesson-step){color:var(--success-ink);background:var(--success-bg)}html[data-theme] .learning-reviews .lesson-step,html[data-theme] .learning-reviews>button:disabled .lesson-step{background:var(--brand-soft);color:var(--brand)}html[data-theme] .lesson-main>small{font-weight:400}html[data-theme] :is(.lesson-main>small,.lesson-task-count){font-size:12px}html[data-theme] .option-list[data-fresh-question]>button:enabled:not(.correct):not(.wrong):not(.selected-error):not(.selected-wrong):hover{background:var(--surface);border-color:var(--border)}html[data-theme] .option-list>button strong{font-size:16px;line-height:1.4}html[data-theme] :is(.hero-action small,.course-badge small){font-size:10px;font-weight:600}html[data-theme] .course-badge strong{font-size:14px}html[data-theme] .adult-nav button{font-size:12px}html[data-theme] :is(.streak,.signed-profile,.student-switch){border-color:var(--border);background:var(--surface);color:var(--brand)}html[data-theme] .main-header .header-actions{--header-control-height:46px}html[data-theme] .main-header :is(.streak,.student-switch),html[data-theme] .main-header .header-actions>.profile-settings-trigger{height:var(--header-control-height);min-height:var(--header-control-height)}html[data-theme] .main-header .header-actions>.profile-settings-trigger{width:var(--header-control-height)}html[data-theme] .main-header .signed-profile{min-height:var(--header-control-height);padding-block:0}html[data-theme] .student-switch{min-width:0;padding-block:0}html[data-theme] .student-switch>span{flex:none}html[data-theme] .student-switch select{background:0 0;min-width:0;padding:6px 2px;line-height:1.3}html[data-theme] .student-switch select:focus-visible{outline:none}html[data-theme] .student-switch:has(select:focus-visible){outline:2px solid var(--brand-heading);outline-offset:2px}html[data-theme] .signed-profile>button{background:var(--brand-soft);color:var(--brand)}html[data-theme] .main-header .signed-profile>:is(.profile-avatar,.profile-logout-trigger){background:0 0;border:0;flex:0 0 44px;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:grid}html[data-theme] .signed-profile :is(.profile-avatar,.profile-logout-trigger)>span{border-radius:var(--control-radius);width:32px;height:32px;color:var(--brand);background:var(--brand-soft);pointer-events:none;place-items:center;display:grid}html[data-theme] .signed-profile .profile-logout-trigger svg{width:16px;height:16px;display:block}@media (hover:hover) and (pointer:fine){html[data-theme] .profile-logout-trigger:hover>span{background:var(--tile-hover)}}html[data-theme] .profile-logout-trigger:active>span{background:var(--tile-hover)}html[data-theme] :is(.hero-action,.course-badge,.course-summary,.daily-panel,.lesson-overview,.progress-hero,.library-count){background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:var(--card-radius);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}html[data-theme] .admin-heading .library-count>strong{color:var(--primary-foreground)}html[data-theme] .admin-heading .library-count>span{color:var(--brand-soft)}html[data-theme] :is(.hero-action small,.course-badge small,.course-summary p,.course-summary small,.daily-panel p,.lesson-overview p,.lesson-overview>div>small,.lesson-overview-meta b,.progress-hero p){color:#f7eef1}html[data-theme] :is(.hero-action,.course-summary,.daily-panel,.lesson-overview,.progress-hero) [data-slot=button],html[data-theme] :is(.course-badge>span,.course-summary>span,.daily-head b,.big-xp){background:var(--brand-soft);color:var(--brand);border-radius:var(--control-radius);box-shadow:none}html[data-theme] .progress-hero{flex-direction:row;align-items:center}html[data-theme] .progress-hero>div:first-child{overflow-wrap:anywhere;min-width:0}html[data-theme] .hero-action strong{line-height:1.3}html[data-theme] :is(.adult-progress,.course-progress) [data-slot=progress-track]{background:var(--brand-soft)}html[data-theme] .adult-progress [data-slot=progress-indicator]{background:var(--brand)}html[data-theme] .course-progress [data-slot=progress-track]{background:#865c69}html[data-theme] .course-progress [data-slot=progress-indicator]{background:var(--brand-accent)}html[data-theme] :is(.notification-card,.notification-card.enabled){background:var(--brand-soft);border:1px solid var(--border);border-radius:var(--card-radius);box-shadow:none}html[data-theme] .notification-card :is(p,em){color:var(--muted-foreground)}html[data-theme] .notification-card>div>strong{color:var(--foreground);font-size:14px;font-weight:600}html[data-theme] .notification-card .notification-icon{background:var(--brand);color:var(--brand-accent)}html[data-theme] .notification-card p{font-size:12px}html[data-theme] .adult-nav{background:var(--surface);border-color:var(--border);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;height:auto;padding:8px 12px calc(8px + env(safe-area-inset-bottom));grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;display:grid}html[data-theme] .adult-nav button{color:var(--muted-foreground);border-radius:var(--control-radius);text-align:center;min-width:0;min-height:56px;padding:8px 12px;font-weight:500;line-height:1.2}html[data-theme] .adult-nav button>span{overflow-wrap:anywhere;max-width:100%}html[data-theme] .adult-nav button>svg{flex:none;width:22px;height:22px}html[data-theme] .adult-nav button.active{color:var(--brand);background:var(--brand-soft);font-weight:600}html[data-theme] .app-page:has(>.adult-nav){padding-bottom:max(108px, calc(100px + env(safe-area-inset-bottom)))}html[data-theme] .lesson-list>button{scroll-margin-bottom:calc(88px + env(safe-area-inset-bottom))}@media (max-width:899px){html[data-theme] .adult-nav{min-height:0;padding:6px 12px max(4px, env(safe-area-inset-bottom))}html[data-theme] .app-page:has(>.adult-nav){padding-bottom:max(90px, calc(84px + env(safe-area-inset-bottom)))}}@media (min-width:900px){html[data-theme] .adult-nav{grid-auto-columns:minmax(100px,1fr);width:max-content;max-width:calc(100% - 32px)}}html[data-theme] .lesson-contents-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;margin:24px 0 12px;display:flex}html[data-theme] .lesson-contents-heading>span{color:var(--brand-heading);letter-spacing:.08em;font-size:9px;font-weight:600}html[data-theme] .lesson-contents-card{width:100%}html[data-theme] .lesson-contents-card strong,html[data-theme] .lesson-contents-card p{overflow-wrap:anywhere}html[data-theme] .lesson-contents-header{margin-bottom:18px}html[data-theme] .lesson-contents-header>div{min-width:0}html[data-theme] .lesson-contents-header :is(h1,span){overflow-wrap:anywhere}html[data-theme] .lesson-contents-header span{text-transform:uppercase}html[data-theme] .lesson-contents-intro{color:var(--muted-foreground);margin:0 0 20px;font-size:13px;line-height:1.5}html[data-theme] .lesson-contents-tabs{border:0;gap:7px;min-width:0;margin:0 0 24px;padding:0;display:flex}html[data-theme] .lesson-contents-tabs [aria-pressed=true]{background:var(--brand-soft);color:var(--brand);border-color:var(--brand-accent)}html[data-theme] .lesson-contents-list-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}html[data-theme] .lesson-contents-list-heading>h2{letter-spacing:-.035em;margin:0;font-size:18px;line-height:1.5}html[data-theme] .lesson-contents-list-heading>span{color:var(--muted-foreground);font-size:12px;line-height:1.5}html[data-theme] .lesson-contents-tasks{gap:10px;margin:0;padding:0;list-style:none;display:grid}html[data-theme] .lesson-contents-tasks>li{border:1px solid var(--border);border-radius:var(--card-radius);background:var(--surface)}html[data-theme] .lesson-contents-tasks .lesson-contents-task-toggle{border-radius:var(--card-radius);width:100%;min-height:44px;color:var(--foreground);background:var(--surface);text-align:left;white-space:normal;filter:none;border:0;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:18px;display:grid;transform:none}@media (hover:hover){html[data-theme] .lesson-contents-task-toggle:hover:not(:disabled){background:var(--tile-hover)}}html[data-theme] .lesson-contents-task-toggle:active{background:var(--tile-hover)}html[data-theme] .lesson-contents-task-toggle>svg{width:18px;height:18px;color:var(--muted-foreground)}html[data-theme] .lesson-contents-task-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}html[data-theme] .lesson-contents-task-copy{min-width:0}html[data-theme] .lesson-contents-number{border-radius:var(--control-radius);background:var(--brand-soft);width:32px;height:32px;color:var(--brand);align-self:start;place-items:center;font-size:12px;font-weight:600;display:grid}html[data-theme] .lesson-contents-tasks small{color:var(--muted-foreground);margin-bottom:5px;font-size:10px;font-weight:400;line-height:1.5;display:block}html[data-theme] .lesson-contents-prompt{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:15px;font-weight:500;line-height:1.5;display:block}html[data-theme] .lesson-contents-task-options{padding:0 18px 18px 64px}html[data-theme] .lesson-contents-options-label{color:var(--muted-foreground);font-size:12px;font-weight:400;line-height:1.5}html[data-theme] .lesson-contents-options{gap:8px;margin:10px 0 0;padding:0;list-style:none;display:grid}html[data-theme] .lesson-contents-options>li{border:1px solid var(--border);border-radius:var(--control-radius);background:var(--background);min-width:0;color:var(--foreground);overflow-wrap:anywhere;white-space:pre-wrap;padding:10px 12px;font-size:14px;font-weight:400;line-height:1.5}html[data-theme] .lesson-contents-word-bank{flex-wrap:wrap;display:flex}html[data-theme] .lesson-contents-vocabulary{border:1px solid var(--border);border-radius:var(--card-radius);background:var(--surface);overflow:hidden}html[data-theme] .lesson-contents-vocabulary table{border-collapse:collapse;table-layout:fixed;text-align:left;width:100%}html[data-theme] .lesson-contents-vocabulary th{background:var(--brand-soft);color:var(--brand-heading);letter-spacing:.08em;text-transform:uppercase;padding:13px 20px;font-size:10px;font-weight:600}html[data-theme] .lesson-contents-vocabulary td{border-top:1px solid var(--border);color:var(--foreground);overflow-wrap:anywhere;white-space:pre-wrap;padding:15px 20px;font-size:14px;line-height:1.5}html[data-theme] .lesson-contents-vocabulary td:first-child{padding-block:6px;font-weight:600}html[data-theme] .lesson-contents-word{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}html[data-theme] .lesson-contents-word>span{min-width:0}html[data-theme] .lesson-contents-word>[data-slot=button]{flex:none}html[data-theme] .lesson-contents-word>[data-slot=button] svg{width:18px;height:18px}html[data-theme] .lesson-contents-empty{border:1px solid var(--border);border-radius:var(--card-radius);background:var(--surface);color:var(--muted-foreground);margin:0;padding:18px;font-size:14px}html[data-theme] .lesson-contents-footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:16px;margin-top:24px;display:flex}@media (max-width:480px){html[data-theme] .lesson-contents-heading{flex-direction:column;align-items:start;gap:4px}html[data-theme] .lesson-contents-tabs>button{flex:1;min-width:0}html[data-theme] .lesson-contents-list-heading{flex-direction:column;align-items:start;gap:4px}html[data-theme] .lesson-contents-tasks .lesson-contents-task-toggle{gap:12px;padding:14px}html[data-theme] .lesson-contents-task-options{padding:0 14px 14px}html[data-theme] .lesson-contents-vocabulary :is(th,td){padding:13px 14px}html[data-theme] .lesson-contents-footer{flex-direction:column;align-items:stretch}}html[data-theme]{--admin-label-size:10px;--admin-field-size:11px;--admin-subheading-size:12px;--admin-copy-size:11px;--admin-help-size:10px}html[data-theme] :is(.question-form,.admin-inline-form) label{font-size:var(--admin-label-size);color:var(--foreground);font-weight:600}html[data-theme] :is(.question-form,.admin-inline-form) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){border:1px solid var(--border);border-radius:var(--control-radius);width:100%;min-width:0;min-height:44px;font-size:var(--admin-field-size);color:var(--foreground);background:var(--surface);padding:10px 11px}.admin-inline-form label{flex-direction:column;gap:6px;display:flex}html[data-theme] .student-list>output{font-size:var(--admin-copy-size);color:var(--muted-foreground);line-height:1.5}html[data-theme] .admin-local-note :is(strong,small){font-size:var(--admin-subheading-size);color:var(--foreground);line-height:1.5}html[data-theme] .admin-local-note strong{font-weight:600}.admin-local-note>svg{flex-shrink:0}.admin-local-note>span{min-width:0}.admin-local-note{scroll-margin-bottom:calc(88px + env(safe-area-inset-bottom))}.student-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:14px;display:grid}.student-filters label{min-width:0}.group-qr-export{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;margin-bottom:14px;display:flex}.group-qr-export p{font-size:var(--admin-copy-size);color:var(--muted-foreground);overflow-wrap:anywhere;margin:0}html[data-theme] .group-qr-export [data-slot=button]{font-size:var(--admin-help-size)}.group-qr-export [role=alert]{color:var(--error-ink);flex-basis:100%}html[data-theme] .student-filters select{border:1px solid var(--border);border-radius:var(--control-radius);width:100%;min-width:0;min-height:44px;font-size:var(--admin-field-size);color:var(--foreground);background:var(--surface);padding:10px 11px}@media (max-width:800px){.student-filters{grid-template-columns:1fr}}html[data-theme] :is(.question-form,.admin-inline-form) [data-slot=button]{border-radius:var(--control-radius);font-weight:600}@media (max-width:800px) and (pointer:coarse){html[data-theme]{--admin-field-size:16px}}html[data-theme] :is(.question-form input,.question-form select,.question-form textarea,.content-selectors select,.pdf-import input,.pdf-import select,.pdf-import textarea,.correction-entry input,.translation-entry textarea,.report-controls select){border-color:var(--border);color:var(--foreground);background:var(--surface)}html[data-theme] :is(.question-form label,.pdf-import label,.correction-entry>label,.report-controls label){color:var(--foreground);font-weight:600}html[data-theme] :is(.question-form-head .form-icon,.publication-badge,.qr-note,.correction-task-note,.pdf-import-game,.pdf-import-area){color:var(--brand);background:var(--brand-soft)}html[data-theme] :is(.question-list article,.teacher-report td,.teacher-report th,.report-detail article,.report-controls select){border-color:var(--border)}html[data-theme] :is(.teacher-report th,.report-detail small,.pdf-import>p,.pdf-import small){color:var(--muted-foreground)}html[data-theme] :is(.report-controls>button,.cg-button,.question-wheel-spin){background:var(--brand);color:var(--primary-foreground);border-color:var(--brand);box-shadow:none}html[data-theme] :is(.report-detail span,.teacher-report td button,.cg-invitation a,.cg-round-meta strong,.cg-wheel-zone small){color:var(--brand)}html[data-theme] :is(.cg-round-meta strong,.correction-steps b,.correction-steps>span.active b){background:var(--brand-soft);color:var(--brand)}html[data-theme] .cg-wheel-disc{border-color:var(--brand);box-shadow:none}html[data-theme] .cg-wheel-pointer{border-top-color:var(--brand)}html[data-theme] .cg-tiles>button:disabled{background:var(--brand-soft)}html[data-theme] :is(.sentence-dropzone,.correction-word-grid,.token-bank){border-color:var(--border)}html[data-theme] :is(.sentence-dropzone,.correction-word-grid){background:var(--surface);border-width:1px}html[data-theme] .qr-scanner-backdrop{background:var(--background)}.qr-gallery-button{white-space:normal;width:100%;margin-top:16px;margin-bottom:16px;padding:12px 16px}.qr-gallery-button svg{flex-shrink:0}.qr-image-status{color:var(--muted-foreground);margin-bottom:16px;font-size:14px;display:block}html[data-theme] .qr-scanner-dialog{color:var(--foreground);background:var(--background)}html[data-theme] .qr-scanner-dialog :is(h2,p,small){color:var(--foreground)}html[data-theme] .qr-scanner-dialog button{background:var(--surface);color:var(--brand);border-color:var(--border)}html[data-theme] .qr-camera-view{background:#302527}html[data-theme] .qr-camera-view :is(p,button){color:#fff;background:#302527}html[data-theme] .qr-privacy-note{color:var(--muted-foreground)}html[data-theme] .cg-dialog::backdrop,.appearance-dialog::backdrop{background:#30252780}html[data-theme] :is(.option-list>button.correct,.answer-feedback.correct,.four-status.correct,.cg-board-reveal,.correction-word-grid button.correct,.lesson-complete-mark,.publication-badge.live){background:var(--success-bg);color:var(--success-ink);border-color:var(--success-border);box-shadow:none}html[data-theme] :is(.option-list>button.wrong,.answer-feedback.wrong,.four-status.wrong,.correction-word-grid button.selected-wrong,.access-error,.cg-error,.pdf-import-error){background:var(--error-bg);color:var(--error-ink);border-color:var(--error-border);box-shadow:none}html[data-theme] .answer-feedback.correct .feedback-symbol{background:var(--success-ink);color:#fff}html[data-theme] .answer-feedback.wrong .feedback-symbol{background:var(--error-ink);color:#fff}html[data-theme] :is(.delete-course-button,.delete-lesson-button,.delete-student-button){background:var(--error-bg);color:var(--error-ink);border-color:var(--error-border)}html[data-theme] :is(.option-list>button.correct,.option-list>button.wrong)>span{background:var(--surface);color:inherit}html[data-theme] :is(.four-board,.boss-player-hud,.boss-nameplate,.boss-question-badge){background:var(--brand);border-color:var(--brand);box-shadow:none}html[data-theme] .four-cell.player,html[data-theme] .four-legend i.player{background:var(--brand-heading)}html[data-theme] .four-cell.computer,html[data-theme] .four-legend i.computer{background:var(--brand-accent)}html[data-theme] :is(.boss-arena,.boss-question-panel){background:var(--surface);color:var(--foreground);border-color:var(--border);box-shadow:none}html[data-theme] .cg-millionaire{background:var(--brand);color:#fff}html[data-theme] .million-backdrop{background:0 0}html[data-theme] :is(.million-hint-dialog,.million-answers .cg-answer){background:var(--surface);border-color:var(--border);color:var(--foreground)}html[data-theme] :is(.million-top strong,.million-result h1,.million-result>svg,.million-hint){color:var(--brand-accent)}html[data-theme] :is(.million-lifelines>button,.cg-millionaire .cg-button,.million-answers .cg-answer.selected){background:var(--brand-soft);color:var(--brand);border-color:var(--brand-accent);box-shadow:none}html[data-theme] .million-answers .cg-answer b{color:var(--brand)}html[data-theme] .million-answers .cg-answer.correct{background:var(--success-bg);color:var(--success-ink);border-color:var(--success-border)}html[data-theme] .million-steps span{background:#865c69}html[data-theme] .million-steps span.current{background:var(--brand-accent)}html[data-theme] .million-steps span.passed{background:var(--success-border)}html[data-theme] .cg-millionaire .cg-icon{color:#fff;border-color:var(--brand-accent)}html[data-theme] :is(.qr-card,.qr-card-missing,.student-avatar,.qr-empty-state,.qr-issue-button,.qr-generate-button,.student-qr-button){background:var(--brand-soft);color:var(--brand);border-color:var(--border);box-shadow:none}html[data-theme] .qr-card .qr-code,html[data-theme] .qr-card .qr-empty-state{background:#fff}html[data-theme] :is(.qr-card>div>small,.qr-card h3,.qr-card p,.qr-note,.question-count,.form-title p,.library-head p,.content-heading p,.form-message){color:var(--muted-foreground)}html[data-theme] .course-admin-item{grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:10px 12px;display:grid}html[data-theme] .course-admin-open{min-width:0;padding:12px}html[data-theme] .course-admin-open>.course-open-label{width:auto;height:auto;color:var(--brand);background:0 0;font-size:12px;font-weight:600}html[data-theme] .course-admin-item>.delete-course-button{width:44px;height:44px;margin-top:12px;position:static;transform:none}.course-groups{border:1px solid var(--border);border-radius:var(--control-radius);background:var(--surface);grid-column:1/-1;min-width:0;padding:12px}.course-groups summary{cursor:pointer;min-height:44px;color:var(--brand);font-size:var(--admin-subheading-size);align-content:center;font-weight:600}.course-group-list>div{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:10px 0;display:flex}.course-group-list>div>span{overflow-wrap:anywhere;min-width:0;font-size:var(--admin-copy-size);flex:1;font-weight:600}.course-group-list small{color:var(--muted-foreground);font-size:var(--admin-help-size);font-weight:400;display:block}.course-groups form{gap:14px;margin-top:4px;display:grid}.course-group-actions{flex-wrap:wrap;gap:8px;display:flex}.course-groups [role=alert]{color:var(--error-ink);font-size:var(--admin-copy-size)}.student-assignments{flex:0 210px;gap:8px;min-width:0;max-width:100%;display:grid}html[data-theme] .student-assignments select{width:100%;min-width:0}.teacher-group-picks{gap:8px;min-width:0;display:grid}.teacher-group-picks strong{font-size:13px}html[data-theme] .question-form .teacher-course-option{min-height:44px;margin:0;padding:10px 12px}.teacher-course-picks>p{color:var(--muted-foreground);font-size:13px;line-height:1.5}@media (max-width:800px){.student-assignments{flex-basis:100%}html[data-theme] .course-admin-open>.course-open-label{display:none}}html[data-theme] .form-message.success{background:var(--success-bg);color:var(--success-ink)}html[data-theme] .form-message.error{background:var(--error-bg);color:var(--error-ink)}html[data-theme] .progress-cards svg,html[data-theme] .quick-practice svg{color:var(--brand)}html[data-theme] .quick-practice>span{color:var(--brand-heading)}html[data-theme] .quick-practice>button{color:var(--foreground)}html[data-theme] .quick-practice>button:hover:not(:disabled),html[data-theme] .quick-practice small{background:var(--brand-soft);color:var(--brand)}html[data-theme] .lesson-list>button.locked{filter:none}html[data-theme] .weekly-card i{background:var(--brand-soft)}html[data-theme] .weekly-card .active i{background:var(--brand)}html[data-theme] .question-list article{background:var(--surface);color:var(--foreground)}html[data-theme] :is(.translation-answer,.teacher-list article,.pdf-import-word){background:var(--surface);color:var(--foreground);border:1px solid var(--border);border-radius:var(--card-radius);box-shadow:none}html[data-theme] :is(.translation-answer>label,.content-selectors label){color:var(--foreground)}html[data-theme] :is(.translation-answer>textarea,.correction-entry input):focus{border-color:var(--brand);box-shadow:none}html[data-theme] :is(.translation-actions>small,.access-card>small,.pdf-import-heading p,.pdf-import-note,.pdf-import-preview-heading>span,.progress-cards small,.progress-cards p,.weekly-card p,.teacher-list small){color:var(--muted-foreground)}html[data-theme] :is(.ai-task-note,.pdf-import-warning,.learning-sync,.teacher-list .teacher-inactive){color:var(--brand);background:var(--brand-soft);border-color:var(--border);box-shadow:none}html[data-theme] :is(.ai-task-note svg,.correction-task-note svg,.translation-actions>small svg,.correction-steps>span.active,.qr-scanner-dialog>header span){color:var(--brand)}html[data-theme] .correction-steps{color:var(--muted-foreground)}html[data-theme] .correction-steps>i{background:var(--border)}html[data-theme] .correction-steps>span.done{color:var(--success-ink)}html[data-theme] .correction-steps>span.done b,html[data-theme] :is(.pdf-import-notice,.four-status.correct){color:var(--success-ink);background:var(--success-bg)}html[data-theme] :is(.translation-error,.qr-scanner-message,.four-status.wrong){color:var(--error-ink);background:var(--error-bg)}html[data-theme] .four-status.correct .feedback-symbol{background:var(--success-ink)}html[data-theme] .four-status.wrong .feedback-symbol{background:var(--error-ink)}html[data-theme] .access-scan-trigger:is(:hover,:active){box-shadow:none;transform:none}html[data-theme] .access-scan-trigger>small{background:var(--brand);color:var(--primary-foreground);box-shadow:none}html[data-theme] .qr-scan-frame i{border-color:var(--brand-accent)}html[data-theme] .qr-scanner-dialog{box-shadow:none;border-color:var(--border)}html[data-theme] .qr-camera-view:after{background:0 0}html[data-theme] .qr-image-fallback{background:var(--brand-soft);color:var(--brand);box-shadow:none}html[data-theme] :is(.qr-generate-button:hover,.qr-card-actions .qr-generate-button:hover){background:var(--brand-soft);color:var(--brand)}html[data-theme] .cg-tiles>button:enabled:hover{background:var(--brand-soft)}html[data-theme] .cg-button.secondary{background:var(--surface);color:var(--brand);border-color:var(--border)}html[data-theme] .cg-screen:not(.cg-millionaire){background:var(--background);color:var(--foreground)}html[data-theme] .million-answers .cg-answer{border-width:1px}html[data-theme] .million-hint-dialog .cg-button{background:var(--brand);color:var(--primary-foreground)}html[data-theme] .million-action>strong{color:var(--success-bg)}html[data-theme] .cg-millionaire .cg-answer.correct{animation:.4s ease-out cg-reveal}@media (max-height:680px){html[data-theme] .million-answers .cg-answer{gap:6px;padding:6px 8px}}@media (max-width:360px){html[data-theme] .cg-letter-keys{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}}html[data-theme] :is(.cg-player,.cg-dialog,.translation-entry,.correction-entry){border-color:var(--border);box-shadow:none}html[data-theme] .cg-player .classroom-action{color:var(--error-ink)}html[data-theme] .profile-settings-trigger{color:var(--brand);background:var(--surface);border:1px solid var(--border);cursor:pointer;flex:none;justify-content:center;align-items:center;padding:10px;display:inline-flex}html[data-theme] .profile-name-trigger,html[data-theme] .signed-profile>.profile-name-trigger{width:auto;min-width:0;height:auto;color:inherit;text-align:left;background:0 0;border:0;flex:1;padding:4px 6px}html[data-theme] .profile-name-trigger strong{font-size:13px;line-height:1.3}html[data-theme] .profile-settings-trigger svg{width:20px;height:20px}.appearance-dialog:not([open]){display:none}html[data-theme] .appearance-dialog{width:min(480px,100% - 32px);max-height:calc(100dvh - 32px);color:var(--foreground);background:var(--surface);border:1px solid var(--border);border-radius:var(--card-radius);text-align:left;margin:auto;padding:24px;position:fixed;inset:0}.appearance-dialog header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.appearance-dialog h2{outline:none;margin:0;font-size:22px}html[data-theme] .appearance-close{width:44px;height:44px;color:var(--brand);border:1px solid var(--border);background:var(--surface);place-items:center;display:grid}.appearance-dialog fieldset{border:0;min-width:0;margin:0;padding:0}.appearance-dialog legend{color:var(--brand-heading);margin-bottom:12px;font-weight:600}.appearance-options{gap:10px;display:grid}html[data-theme] .appearance-option{border:1px solid var(--border);border-radius:var(--control-radius);background:var(--surface);color:var(--foreground);cursor:pointer;align-items:center;gap:12px;padding:14px;font-size:16px;display:flex}html[data-theme] .appearance-option:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}.appearance-option input{opacity:0;width:1px;height:1px;position:absolute}html[data-theme] .appearance-motion-option{min-height:44px;color:var(--foreground);cursor:pointer;align-items:center;gap:12px;margin-top:12px;padding:10px 2px;font-size:14px;display:flex}html[data-theme] .appearance-motion-option+.appearance-motion-option{margin-top:0}.appearance-motion-option input{flex:none;width:18px;height:18px}.appearance-option:has(input:focus-visible){outline:3px solid var(--brand);outline-offset:3px}.appearance-option strong{flex:1;font-size:16px;font-weight:600}.appearance-option>svg{width:20px;height:20px;color:var(--brand)}.appearance-swatch{border:1px solid var(--border);border-radius:8px;width:66px;height:30px;display:flex;overflow:hidden}.appearance-swatch i{flex:1}.appearance-dialog>:is(.appearance-note,.appearance-version){color:var(--muted-foreground);margin:16px 0 0;font-size:12px;display:block}.appearance-dialog>.appearance-version{margin-top:8px}html[data-theme] .progress-hero>div>span{color:var(--brand-soft)}html[data-theme] .progress-cards article>div>span{color:var(--muted-foreground)}html[data-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select){min-height:44px}@media (max-width:700px) and (max-height:700px){html[data-theme] .cg-standard .option-list>button strong{font-size:var(--cg-answer-size,16px);line-height:1.3}}@media (max-width:640px){html[data-theme] .main-header{gap:12px;height:auto;min-height:58px}html[data-theme] .header-actions{gap:6px;min-width:0}html[data-theme] .signed-profile{min-width:0}html[data-theme] .hero-action{align-items:center}html[data-theme] .course-badge{max-width:calc(100% - 32px)}html[data-theme] .appearance-dialog{padding:18px}}@media print{.theme-decoration,.theme-filter-defs,.appearance-dialog{display:none!important}}.course-language-editor{grid-column:1/-1;min-width:0}html[data-theme] .word-search-picker{max-width:620px;margin:24px 0}html[data-theme] .word-search-picker select{width:100%}html[data-theme] .word-search-game-list{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] .word-search-game .round-button{min-width:44px;min-height:44px}html[data-theme] .word-search-game .question-panel{padding-top:clamp(24px,5vh,48px)}html[data-theme] .word-search-game .game-label{overflow-wrap:anywhere;max-width:100%}html[data-theme] .word-search-game .question-icon{place-items:center;display:grid}html[data-theme] .word-search-targets{flex-wrap:wrap;justify-content:center;gap:8px;max-width:100%;margin:24px 0 16px;padding:0;list-style:none;display:flex}html[data-theme] .word-search-targets li{border:1px solid var(--border);border-radius:var(--control-radius);background:var(--surface);color:var(--foreground);overflow-wrap:anywhere;align-items:center;gap:4px;min-width:0;padding:6px 10px;font-size:13px;line-height:1.4;display:flex}html[data-theme] .word-search-targets li.is-found{border-color:var(--success-border);color:var(--success-ink);background:var(--success-bg)}html[data-theme] .word-search-targets .is-found span{min-width:0;text-decoration:line-through}html[data-theme] .word-search-targets svg{flex:none;width:14px;height:14px}html[data-theme] .word-search-board-wrap{border:1px solid var(--border);border-radius:var(--card-radius);background:var(--surface);max-width:100%;padding:8px;overflow:auto}html[data-theme] .word-search-grid{grid-template-columns:repeat(var(--ws-columns), 44px);width:calc(var(--ws-columns) * 44px);touch-action:none;-webkit-user-select:none;user-select:none;display:grid;position:relative}html[data-theme] .word-search-grid>svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}html[data-theme] .word-search-grid line{stroke-width:.78px;stroke-linecap:round}html[data-theme] .word-search-grid .ws-found-line{stroke:var(--success-bg)}html[data-theme] .word-search-grid .ws-preview-line{stroke:var(--brand-soft)}html[data-theme] .word-search-grid button{z-index:1;width:44px;height:44px;min-height:44px;color:var(--foreground);cursor:crosshair;box-shadow:none;background:0 0;border:0;border-radius:0;place-items:center;margin:0;padding:0;font-size:18px;font-weight:600;display:grid;position:relative}html[data-theme] .word-search-grid button.is-found{color:var(--success-ink)}html[data-theme] .word-search-grid button.is-selected{color:var(--brand)}html[data-theme] .word-search-grid button:disabled{opacity:1}html[data-theme] .word-search-grid button:focus-visible{outline:2px solid var(--brand);outline-offset:-4px;border-radius:8px}html[data-theme] .word-search-selection{min-height:44px;color:var(--muted-foreground);overflow-wrap:anywhere;justify-content:center;align-items:center;gap:8px;max-width:100%;margin:8px 0 0;font-size:12px;line-height:1.4;display:flex}html[data-theme] .word-search-selection button{flex:none;min-width:44px}html[data-theme] .word-search-feedback{border-radius:var(--control-radius);align-items:center;gap:12px;width:min(100%,620px);min-height:52px;margin:16px auto 0;padding:12px 16px;font-size:14px;line-height:1.5;display:flex}html[data-theme] .word-search-feedback svg{flex:none;width:22px;height:22px}html[data-theme] .word-search-feedback.correct{color:var(--success-ink);background:var(--success-bg)}html[data-theme] .word-search-feedback.wrong{color:var(--error-ink);background:var(--error-bg)}html[data-theme] .word-search-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin:16px 0 0;display:flex}html[data-theme] .word-search-empty{color:var(--muted-foreground);font-size:14px}@media (max-width:700px),(pointer:coarse){html[data-theme] .word-search-board-wrap{max-width:calc(100vw - 8px);padding:0}}@media (max-width:700px){html[data-theme] .word-search-game-list{grid-template-columns:minmax(0,1fr)}html[data-theme] .word-search-game{padding-bottom:max(24px, env(safe-area-inset-bottom))}html[data-theme] .word-search-game .question-panel{padding-top:24px}html[data-theme] .word-search-game .question-icon{display:none}html[data-theme] .word-search-targets{margin-top:16px}}html[data-theme] .lesson-puzzle-game .question-panel h1{overflow-wrap:anywhere;max-width:100%}html[data-theme] .lesson-puzzle-empty{margin-top:24px}html[data-theme] .crossword-layout{justify-content:center;align-items:flex-start;gap:24px;width:100%;margin-top:24px;display:flex}html[data-theme] .crossword-board{grid-template-columns:repeat(var(--crossword-columns), 44px);background:var(--surface);border:1px solid var(--border);border-radius:var(--card-radius);flex:none;padding:8px;display:grid}html[data-theme] .crossword-board button{border:1px solid var(--border);background:var(--surface);width:44px;height:44px;color:var(--foreground);cursor:pointer;border-radius:0;place-items:center;padding:0;font-size:18px;font-weight:600;display:grid;position:relative}html[data-theme] .crossword-board button small{font-size:10px;font-weight:400;line-height:1;position:absolute;top:1px;left:3px}html[data-theme] .crossword-board button.is-selected{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}html[data-theme] .crossword-board button.is-solved{color:var(--success-ink)}html[data-theme] .crossword-board button:disabled{opacity:1;cursor:default}html[data-theme] .crossword-controls{text-align:left;flex-direction:column;flex:1;gap:16px;min-width:0;max-width:380px;display:flex}html[data-theme] .crossword-clues{flex-direction:column;gap:8px;display:flex}html[data-theme] .crossword-clues button{border:1px solid var(--border);border-radius:var(--control-radius);background:var(--surface);width:100%;min-height:44px;color:var(--foreground);text-align:left;cursor:pointer;align-items:center;gap:12px;padding:10px 12px;display:flex}html[data-theme] .crossword-clues button[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand-accent);color:var(--brand)}html[data-theme] .crossword-clues button.is-solved{color:var(--success-ink);background:var(--success-bg);border-color:var(--success-border)}html[data-theme] .crossword-clue-number{flex:none;font-size:14px;font-weight:600}html[data-theme] .crossword-clues button>span:nth-child(2){overflow-wrap:anywhere;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}html[data-theme] .crossword-clues strong{font-size:14px;line-height:1.4}html[data-theme] .crossword-clues small{color:var(--muted-foreground);font-size:12px;font-weight:400}html[data-theme] .crossword-clues svg{flex:none;width:18px;height:18px}html[data-theme] .crossword-answer{flex-direction:column;margin:0;display:flex}html[data-theme] .crossword-controls .word-search-feedback{margin:0}html[data-theme] .crossword-answer input{width:100%;margin-top:6px;font-size:16px}html[data-theme] .crossword-answer [data-slot=button]{margin-top:12px}html[data-theme] .anagram-workspace{width:min(100%,650px);margin-top:24px}html[data-theme] .anagram-answer{gap:16px;margin-top:0;padding:16px}html[data-theme] .anagram-word{flex-wrap:wrap;justify-content:center;gap:4px;max-width:100%;display:flex}html[data-theme] :is(.anagram-answer button,.anagram-bank button,.anagram-slot){border-radius:var(--control-radius);place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:18px;font-weight:600;display:grid}html[data-theme] .anagram-slot{border:1px dashed var(--border);background:var(--surface)}html[data-theme] .anagram-answer.is-correct button{color:var(--success-ink);background:var(--success-bg);border-color:var(--success-border);opacity:1}html[data-theme] .anagram-bank{gap:8px;margin:16px 0 8px}html[data-theme] .anagram-bank button:disabled{opacity:.35}html[data-theme] .puzzle-summary{text-align:left;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,620px);margin-top:24px;display:grid}html[data-theme] .puzzle-summary p{background:var(--surface);border:1px solid var(--border);border-radius:var(--control-radius);align-items:center;gap:12px;margin:0;padding:12px;display:flex}html[data-theme] .puzzle-summary svg{width:18px;height:18px;color:var(--success-ink);flex:none}html[data-theme] .puzzle-summary p>span{overflow-wrap:anywhere;flex-direction:column;gap:4px;min-width:0;font-size:14px;display:flex}html[data-theme] .puzzle-summary p>span>span{color:var(--muted-foreground);font-size:13px}html[data-theme] .memory-board{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:min(100%,650px);margin-top:24px;display:grid}html[data-theme] .memory-board:has(>button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:320px}html[data-theme] .memory-board button{border:1px solid var(--border);border-radius:var(--card-radius);background:var(--brand-soft);min-width:0;min-height:110px;color:var(--brand);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px;display:flex;position:relative}html[data-theme] .memory-board button.is-open{background:var(--surface);border-color:var(--brand-accent);color:var(--foreground)}html[data-theme] .memory-board button.is-matched{background:var(--success-bg);border-color:var(--success-border);color:var(--success-ink);cursor:default;opacity:1}html[data-theme] .memory-board small{color:var(--muted-foreground);font-size:12px;font-weight:400;line-height:1.4}html[data-theme] .memory-board strong{overflow-wrap:anywhere;max-width:100%;font-size:14px;line-height:1.4}html[data-theme] .memory-board svg{flex:none;width:22px;height:22px}html[data-theme] .memory-card-copy{align-items:center;gap:inherit;visibility:hidden;flex-direction:column;width:100%;min-width:0;display:flex}html[data-theme] .memory-board .is-open .memory-card-copy{visibility:visible}html[data-theme] .memory-card-language{justify-content:center;align-items:center;gap:4px;max-width:100%;display:flex}html[data-theme] .memory-board .memory-card-check{visibility:hidden;width:16px;height:16px}html[data-theme] .memory-board .is-matched .memory-card-check{visibility:visible}html[data-theme] .memory-board .memory-card-back{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}html[data-theme] :is(.crossword-board,.crossword-clues,.memory-board) button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}@media (max-width:700px){html[data-theme] .crossword-layout{flex-direction:column;align-items:center;gap:16px}html[data-theme] .crossword-controls{width:100%;max-width:100%}html[data-theme] .memory-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}html[data-theme] .memory-board-wide{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] .memory-board button{gap:4px;min-height:64px;padding:4px 6px}html[data-theme] .anagram-answer{padding:12px}html[data-theme] .puzzle-summary{grid-template-columns:minmax(0,1fr)}}html[data-color-mode=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=rose][data-color-mode=dark] .brand-logo img{filter:url(#school-logo-rose-dark)}html[data-theme=sand][data-color-mode=dark] .brand-logo img{filter:url(#school-logo-sand-dark)}html[data-theme][data-color-mode=dark] .theme-decoration i{opacity:.22}html[data-theme][data-color-mode=dark] .course-hero>img{filter:brightness(.66)saturate(.78)}html[data-theme][data-color-mode=dark] :is(.hero-action,.course-badge,.course-summary,.daily-panel,.lesson-overview,.progress-hero,.library-count,.cg-millionaire,.four-board,.boss-player-hud,.boss-nameplate,.boss-question-badge){background:var(--brand-panel);border-color:var(--brand-panel-border);color:var(--foreground)}html[data-theme][data-color-mode=dark] :is(.hero-action small,.course-badge small,.course-badge .course-picker-group,.course-summary p,.course-summary small,.daily-panel p,.lesson-overview p,.lesson-overview>div>small,.lesson-overview-meta b,.progress-hero p,.progress-hero>div>span,.admin-heading .library-count>span){color:var(--muted-foreground)}html[data-theme][data-color-mode=dark] :is(.hero-action strong,.course-badge strong,.course-summary h2,.lesson-overview h2,.progress-hero h1,.admin-heading .library-count>strong){color:var(--foreground)}html[data-theme][data-color-mode=dark] :is(.hero-action,.daily-panel,.course-summary,.lesson-overview,.progress-hero) [data-slot=button]{background:var(--brand);color:var(--primary-foreground)}html[data-theme][data-color-mode=dark] .course-progress [data-slot=progress-track],html[data-theme][data-color-mode=dark] .million-steps span{background:var(--border)}html[data-theme][data-color-mode=dark] .million-steps span.current{background:var(--brand-accent)}html[data-theme][data-color-mode=dark] .million-steps span.passed{background:var(--success-border)}html[data-theme][data-color-mode=dark] .notification-card .notification-icon{background:var(--brand-soft);color:var(--brand)}html[data-theme][data-color-mode=dark] :is(.answer-feedback.correct,.answer-feedback.wrong,.four-status.correct,.four-status.wrong) .feedback-symbol{color:var(--background)}html[data-theme][data-color-mode=dark] :is(input,textarea)::placeholder{color:var(--muted-foreground);opacity:.85}html[data-theme][data-color-mode=dark] .game-header>span{color:var(--muted-foreground)}html[data-theme][data-color-mode=dark] .cg-millionaire .cg-icon{color:var(--foreground)}html[data-theme][data-color-mode=dark] .qr-card .qr-empty-state{color:#501c2a}html[data-theme] [data-slot=button].color-mode-toggle{border:1px solid var(--border);border-radius:var(--control-radius);background:var(--surface);width:84px;min-width:84px;height:46px;min-height:46px;color:var(--muted-foreground);flex:0 0 84px;grid-template-columns:1fr 1fr;align-items:center;gap:0;padding:4px;display:grid;position:relative;transform:none}html[data-theme] .color-mode-toggle:before{content:"";border-radius:calc(var(--control-radius) - 4px);background:var(--brand);width:36px;height:36px;transition:transform .18s;position:absolute;top:4px;left:4px}html[data-color-mode=dark] .color-mode-toggle:before{transform:translate(38px)}html[data-theme] .color-mode-toggle>svg{z-index:1;justify-self:center;width:18px;height:18px}html:not([data-color-mode=dark]) .color-mode-toggle .mode-sun,html[data-color-mode=dark] .color-mode-toggle .mode-moon{color:var(--primary-foreground)}.appearance-mode-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;font-size:14px;display:flex}.profile-compact-initials{display:none}.auth-app:has(.access-appearance){padding-top:calc(86px + var(--safe-area-top))}.access-appearance{top:calc(20px + var(--safe-area-top));position:absolute;right:20px}@media (max-width:640px){html[data-theme] .signed-profile:has(.compact-profile-trigger)>.profile-avatar{display:none}html[data-theme] .compact-profile-trigger,html[data-theme] .signed-profile>.compact-profile-trigger{flex:0 0 44px;place-items:center;width:44px;min-width:44px;height:44px;padding:0;display:grid}html[data-theme] .compact-profile-trigger>strong{display:none}html[data-theme] .profile-compact-initials{border-radius:var(--control-radius);background:var(--brand-soft);width:32px;height:32px;color:var(--brand);place-items:center;font-size:9px;font-weight:700;display:grid}html[data-theme] .teacher-profile{gap:6px}html[data-theme] .admin-page>.main-header .header-action-label{display:none}html[data-theme] .main-header:has(.student-switch){grid-template-columns:minmax(0,1fr) 84px 46px;gap:8px 6px;display:grid}html[data-theme] .header-actions:has(.student-switch){display:contents}html[data-theme] .header-actions:has(.student-switch)>.streak{display:none}html[data-theme] .header-actions>.student-switch{grid-area:2/1/auto/-1;width:100%}html[data-theme] .student-switch select{flex:1}}@media (prefers-reduced-motion:reduce){html[data-theme] .color-mode-toggle:before{transition:none}}
html[data-theme] .progress-method{color:var(--muted-foreground);margin:20px 0;font-size:11px;line-height:1.6}html[data-theme] .progress-method summary{cursor:pointer;min-height:44px;color:var(--brand);align-items:center;font-weight:600;display:flex}html[data-theme] .progress-method summary:focus-visible{outline:3px solid var(--brand-heading);outline-offset:3px;border-radius:var(--control-radius)}html[data-theme] .progress-method p{margin:8px 0}html[data-theme] .report-controls.admin-inline-form{margin-top:0}html[data-theme] .report-controls>button{font-size:var(--text-sm)}html[data-theme] .report-controls.admin-inline-form label{flex:180px;min-width:0}html[data-theme] .report-controls.admin-inline-form select{width:100%;min-width:0;min-height:44px;font-size:var(--admin-field-size);border-radius:var(--control-radius)}html[data-theme] .report-method-note{font-size:var(--admin-copy-size);color:var(--muted-foreground);margin:12px 0;line-height:1.6}html[data-theme] .teacher-report>[role=alert]{color:var(--error-ink)}.report-student-list,.lesson-progress-list{gap:12px;min-width:0;display:grid}html[data-theme] :is(.report-student-card,.lesson-progress-card){border:1px solid var(--border);border-radius:var(--card-radius);background:var(--surface);min-width:0;color:var(--foreground);overflow-wrap:anywhere;padding:14px 16px}html[data-theme] .report-student-open{width:100%;min-width:0;box-shadow:none;white-space:normal;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;display:flex}html[data-theme] .report-student-open:hover{background:var(--tile-hover)}html[data-theme] .report-student-name{gap:4px;min-width:0;display:grid}html[data-theme] .report-student-name strong{font-size:var(--admin-copy-size);color:var(--foreground);font-weight:600}html[data-theme] .report-student-name small{font-size:var(--admin-help-size);color:var(--muted-foreground);font-weight:400;line-height:1.5}.report-student-metrics{grid-template-columns:minmax(0,.7fr) minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:12px 20px;margin:12px 12px 0;display:grid}html[data-theme] :is(.report-student-metrics,.lesson-progress-metrics) dt{font-size:var(--admin-help-size);color:var(--muted-foreground);margin:0 0 4px;line-height:1.5}html[data-theme] :is(.report-student-metrics,.lesson-progress-metrics) dd{font-size:var(--admin-subheading-size);color:var(--foreground);margin:0;font-weight:600;line-height:1.5}html[data-theme] .report-student-metrics small{font-size:var(--admin-help-size);color:var(--muted-foreground);margin-top:4px;font-weight:400;display:block}html[data-theme] .report-current-lesson{font-size:var(--admin-copy-size)}html[data-theme] .report-detail h2{overflow-wrap:anywhere;font-size:18px;font-weight:600}html[data-theme] .report-error-list :is(article,p){font-size:var(--admin-copy-size)}html[data-theme] .report-error-list article>span{font-size:var(--admin-copy-size);color:var(--muted-foreground)}html[data-theme] .report-detail .lesson-progress-card{padding:14px 16px;display:block}.lesson-progress-card>header{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:8px 16px;display:flex}html[data-theme] .lesson-progress-card>header>strong{flex:220px;min-width:0;font-size:14px;font-weight:600;line-height:1.5}html[data-theme] .lesson-progress-card .lesson-progress-complete{color:var(--success-ink);align-items:center;gap:4px;font-size:11px;line-height:1.5;display:inline-flex}.lesson-progress-parts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin-top:14px;display:grid}.lesson-progress-part{min-width:0}.lesson-progress-part-heading{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:6px 12px;display:flex}html[data-theme] .lesson-progress-part-heading>span{color:var(--muted-foreground);align-items:center;gap:6px;font-size:11px;line-height:1.5;display:inline-flex}html[data-theme] .lesson-progress-part-heading>span:first-child{color:var(--foreground);font-weight:600}html[data-theme] .lesson-progress-part-heading svg{color:var(--brand);flex:none}html[data-theme] .lesson-progress-part[data-status=completed] svg{color:var(--success-ink)}.lesson-progress-part progress{appearance:none;background:var(--brand-soft);width:100%;height:6px;accent-color:var(--brand);border:0;border-radius:6px;margin-top:9px;display:block;overflow:hidden}.lesson-progress-part progress::-webkit-progress-bar{background:var(--brand-soft)}.lesson-progress-part progress::-webkit-progress-value{background:var(--brand);border-radius:6px}.lesson-progress-part progress::-moz-progress-bar{background:var(--brand);border-radius:6px}html[data-theme] .lesson-progress-part>small{color:var(--muted-foreground);margin-top:6px;font-size:10px;display:block}.lesson-progress-metrics{border-top:1px solid var(--border);flex-wrap:wrap;gap:12px 24px;margin:14px 0 0;padding-top:12px;display:flex}html[data-theme] .lesson-progress-metrics dd{font-size:11px}.progress-page .progress-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.progress-page .progress-cards article{min-width:0}.progress-page .progress-cards article>div{overflow-wrap:anywhere;min-width:0}.progress-page .progress-cards article>svg{flex:none}html[data-theme] .progress-page .progress-cards :is(span,small){color:var(--muted-foreground);font-size:10px;line-height:1.5}.progress-page .lesson-progress-list{margin-top:20px}@media (max-width:800px){.report-student-metrics,.progress-page .progress-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.lesson-progress-parts{grid-template-columns:minmax(0,1fr)}html[data-theme] :is(.report-student-card,.report-detail .lesson-progress-card,.lesson-progress-card){padding:12px}.report-student-metrics{gap:12px}html[data-theme] .report-controls>button{width:100%}.progress-page .progress-cards article{gap:8px;padding:12px}}
