:root{--bg:#0f1424;--card:#171e33;--card2:#1f2742;--line:#243052;--line2:#2a3353;--fg:#eceff7;--muted:#9aa4c2;--accent:#f2a33a;--accent-fg:#1a1200;--user:#2a5bd7;--user-label:#d6e2ff;--tutor:#232c4a;--tutor-label:#b9c2de;--danger:#e04b4b;--ok:#7ed99a;--think:#c0a8ff;--r:14px;--gap:12px;--pad:16px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-lang=en]{--accent:#5aa9ff;--accent-fg:#06192e}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--fg);margin:0;font:16px/1.45 Manrope,system-ui,-apple-system,Segoe UI,sans-serif}#root{min-height:100dvh}a{color:var(--muted)}a:hover{color:var(--fg)}h1{letter-spacing:-.02em;margin:0;font-size:22px;font-weight:800}h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0;font-size:13px;font-weight:700}h3{margin:0;font-size:16px;font-weight:700}p{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.right{text-align:right}.ok{color:var(--ok)}.accent{color:var(--accent)}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:600}.page{flex-direction:column;gap:18px;max-width:760px;margin:0 auto;padding:16px 20px 96px;display:flex}.top{justify-content:space-between;align-items:center;gap:12px;display:flex}.sec{flex-direction:column;gap:10px;display:flex}.sec-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.card{background:var(--card);border-radius:var(--r);padding:var(--pad);gap:var(--gap);flex-direction:column;display:flex}.card.dashed{border:1px dashed #3a4670}.card.tight{gap:8px;padding:14px 16px}.divider{background:var(--line);height:1px}.row{align-items:center;gap:10px;display:flex}.col{flex-direction:column;gap:4px;display:flex}.grow{flex:1;min-width:0}.error{border:1px solid var(--danger);background:#3a1c22;border-radius:10px;padding:10px 12px}.notice{background:var(--card2);border:1px solid var(--accent);border-radius:10px;padding:10px 12px}.avatar{background:var(--accent);color:var(--accent-fg);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.avatar.small{background:var(--tutor);color:var(--fg)}button{font:inherit;cursor:pointer;color:var(--fg);background:var(--line2);border:0;border-radius:12px;min-height:44px;padding:12px 16px}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button.primary{background:var(--accent);color:var(--accent-fg);border-radius:var(--r);min-height:56px;font-size:17px;font-weight:800}button.ghost{border:1px solid var(--line2);background:0 0;font-weight:600}button.icon{background:var(--card);border-radius:20px;justify-content:center;align-items:center;width:40px;height:40px;min-height:40px;padding:0;display:inline-flex}button.link{min-height:0;color:var(--accent);background:0 0;padding:0;font-size:14px;font-weight:600}.nav{border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:5;background:#0f1424f5;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.nav button{color:var(--muted);background:0 0;border-radius:10px;flex-direction:column;align-items:center;gap:2px;min-height:48px;padding:6px 14px;font-size:11px;font-weight:600;display:flex}.nav button.on{color:var(--accent)}@media (width>=760px){.nav{border-top:0;border-bottom:1px solid var(--line);justify-content:flex-start;gap:6px;padding:8px calc(50% - 360px);position:sticky;top:0;bottom:auto}.nav button{flex-direction:row;gap:8px;font-size:14px}.page{padding-bottom:40px}}.week{gap:6px;display:flex}.week span{background:var(--line2);border-radius:4px;flex:1;height:8px}.week span.on{background:var(--accent)}.modes{flex-direction:column;gap:10px;display:flex}.modecard{background:var(--card);border-radius:var(--r);text-align:left;border:2px solid #0000;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:72px;padding:14px 16px;display:grid}.modecard:hover{border-color:var(--line2)}.modecard .ico{background:var(--card2);width:44px;height:44px;color:var(--accent);border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.modecard .t{flex-direction:column;gap:2px;min-width:0;display:flex}.modecard .t b{font-size:16px}.modecard .t small{color:var(--muted);font-size:13px}.modecard .chev{color:var(--muted)}@media (width>=560px){.modes{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.modecard{grid-template-rows:auto auto;grid-template-columns:1fr;align-content:start;gap:10px;min-height:140px}.modecard .chev{display:none}}.lastrow{background:var(--card);border-radius:var(--r);text-align:left;border:2px solid #0000;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));align-items:center;gap:8px;padding:12px 16px;display:grid}.lastrow:hover{border-color:var(--line2)}.lastrow b{font-size:15px;display:block}.lastrow small{color:var(--muted);font-size:12px}.lastrow .end{text-align:right}.settingsline{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:13px;display:flex}.list{flex-direction:column;gap:8px;display:flex}.item{background:var(--card);border-radius:var(--r);text-align:left;border:2px solid #0000;grid-template-columns:36px minmax(0,1fr) auto 18px;align-items:center;gap:12px;min-height:60px;padding:12px 14px;display:grid}.item:hover{border-color:var(--line2)}.item .n{background:var(--card2);width:36px;height:36px;color:var(--accent);border-radius:10px;justify-content:center;align-items:center;font-size:14px;font-weight:800;display:inline-flex}.item .t{flex-direction:column;gap:2px;min-width:0;display:flex}.item .t b{font-size:15px}.item .t small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.item .meta{color:var(--muted);white-space:nowrap;text-align:right;font-size:12px;font-weight:700}.item .meta.ok{color:var(--ok)}.item .chev{color:var(--muted)}.hrow{background:var(--card);border-radius:var(--r);text-align:left;border:2px solid #0000;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));align-items:center;gap:8px;padding:12px 14px;display:grid}.hrow:hover{border-color:var(--line2)}.hrow b{font-size:14px;display:block}.hrow small{color:var(--muted);font-size:12px}.hrow .end{text-align:right}.seg{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.seg.four{grid-template-columns:repeat(4,minmax(0,1fr))}.seg button{border:1px solid var(--line2);background:0 0;min-height:40px;padding:8px;font-size:14px;font-weight:600}.seg button.on{border:2px solid var(--accent);background:var(--card2);font-weight:700}.setting{flex-direction:column;gap:8px;display:flex}.setting .lbl{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.setting .lbl b{font-size:15px}.setting .lbl small{color:var(--muted);font-size:12px}.setting .help{color:var(--muted);font-size:13px}.choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.choice button{border:2px solid var(--line2);text-align:left;background:0 0;border-radius:12px;flex-direction:column;justify-content:center;gap:2px;min-height:56px;padding:8px 12px;font-weight:700;display:flex}.choice button.on{border-color:var(--accent);background:var(--card2)}.choice button:disabled{color:var(--muted)}.choice button small{color:var(--muted);font-size:12px;font-weight:500}.levels{flex-direction:column;gap:6px;display:flex}.levels button{text-align:left;border:2px solid var(--line2);background:0 0;border-radius:12px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;min-height:52px;padding:8px 10px;display:grid}.levels button.on{border-color:var(--accent);background:var(--card2)}.levels .id{color:var(--accent);font-size:15px;font-weight:800}.levels .t{flex-direction:column;gap:1px;min-width:0;display:flex}.levels .t b{font-size:14px}.levels .t small{color:var(--muted);font-size:12px;line-height:1.35}.kv{grid-template-columns:auto minmax(0,1fr);gap:4px 12px;font-size:13px;display:grid}.kv span:nth-child(odd){color:var(--muted)}.kv .sel,select.sel{font:inherit;border:1px solid var(--line2);background:var(--card2);width:100%;max-width:100%;color:inherit;border-radius:8px;padding:5px 8px;font-size:13px}.tag{background:var(--card2);color:var(--muted);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;border-radius:999px;align-items:center;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.tag.accent{color:var(--accent-fg);background:var(--accent)}.grouphead{justify-content:space-between;align-items:baseline;gap:10px;margin-top:4px;display:flex}.hint{color:var(--muted);align-items:flex-start;gap:10px;font-size:13px;line-height:1.4;display:flex}.hint svg{flex-shrink:0;margin-top:1px}.steps{flex-direction:column;gap:8px;font-size:15px;line-height:1.35;display:flex}.steps div{align-items:flex-start;gap:10px;display:flex}.steps span.n{background:var(--card2);width:22px;height:22px;color:var(--accent);border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:800;display:inline-flex}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips span{background:var(--card2);border-radius:999px;padding:7px 11px;font-size:14px;font-weight:600}.vocab{flex-direction:column;display:flex}.vocab div{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 12px;padding:7px 0;font-size:15px;display:grid}.vocab div:last-child{border-bottom:0}.vocab div small{grid-column:1/-1;font-size:12px}.conj{border-bottom:1px solid var(--line);flex-direction:column;gap:6px;padding:8px 0;display:flex}.conj:last-of-type{border-bottom:0}.conj-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;font-size:14px;display:grid}.cardtext{white-space:pre-line;margin:0;font-size:14px;line-height:1.5}.sticky-cta{bottom:calc(68px + env(safe-area-inset-bottom,0px));background:linear-gradient(to top, var(--bg) 70%, transparent);flex-direction:column;gap:8px;padding-top:12px;display:flex;position:sticky}@media (width>=760px){.sticky-cta{bottom:0}}.session{gap:10px;max-width:none;height:100dvh;padding:12px 16px 16px}.session .top{align-items:flex-start}.state{color:var(--muted);align-items:center;gap:6px;font-size:13px;font-weight:600;display:flex}.state:before{content:"";background:var(--muted);border-radius:4px;width:8px;height:8px}.state.listening{color:var(--ok)}.state.listening:before{background:var(--ok)}.state.speaking{color:var(--accent)}.state.speaking:before{background:var(--accent)}.state.thinking{color:var(--think)}.state.thinking:before{background:var(--think)}.layout{flex:1;gap:20px;width:100%;max-width:1216px;min-height:0;margin:0 auto;display:flex}.main{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.panel{flex-direction:column;gap:12px;width:340px;display:none}.tabs{background:var(--card);border-radius:12px;gap:4px;padding:4px;display:flex}.tabs button{min-height:36px;color:var(--muted);background:0 0;border-radius:9px;flex:1;padding:6px 8px;font-size:13px;font-weight:700}.tabs button.on{background:var(--card2);color:var(--fg)}.pane{background:var(--card);border-radius:var(--r);flex-direction:column;flex:1;gap:10px;min-height:0;padding:14px 16px;display:flex;overflow-y:auto}@media (width>=960px){.session{padding:20px 32px 24px}.panel{display:flex}.main .tabs{display:none}.transcript{background:var(--card);border-radius:18px;padding:20px}}.transcript{flex-direction:column;flex:1;justify-content:flex-start;gap:10px;min-height:0;margin:0;padding:4px 0;list-style:none;display:flex;overflow-y:auto}.transcript li{flex-direction:column;gap:3px;max-width:86%;padding:10px 14px;font-size:16px;line-height:1.4;display:flex}.transcript li .who{text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:700}.transcript li.tutor{background:var(--tutor);border-radius:16px 16px 16px 4px;align-self:flex-start}.transcript li.tutor .who{color:var(--tutor-label)}.transcript li.user{background:var(--user);border-radius:16px 16px 4px;align-self:flex-end}.transcript li.user .who{color:var(--user-label)}.transcript li.interim{opacity:.6}.transcript li.live{border:1px solid var(--accent)}.transcript.small li{padding:8px 12px;font-size:14px}.micline{color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.ptt{background:var(--user);color:#fff;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:88px;font-size:18px;font-weight:800;display:flex}.ptt small{color:var(--user-label);font-size:13px;font-weight:600}.ptt.active{background:var(--danger);box-shadow:0 0 0 6px #e04b4b40}.ptt.active small{color:#ffe1e1}.actions{gap:8px;display:flex}.actions button{border:1px solid var(--line2);background:0 0;flex:1;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px;font-size:13px;font-weight:600;display:inline-flex}.actions button.end{color:#ffb3b3;border-color:#5a2a30}@media (width>=960px){.bottom{gap:12px;display:flex}.bottom .ptt{flex-direction:row;flex:1;gap:12px;min-height:72px}.bottom .actions{flex:none}.actions button{padding:8px 14px}}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.stats .col small{color:var(--muted);font-size:12px}.stats .col b{font-size:18px;font-weight:800}.hintbox{border-top:1px solid #ffffff26;flex-direction:column;gap:2px;margin-top:6px;padding-top:6px;font-size:14px;display:flex}.hintbox s{color:#d6e2ff;opacity:.8}.hintbox b{font-weight:700}.hintbox small{color:#d6e2ff;opacity:.9;font-size:12px}.plbox{color:#d6e2ff;border-top:1px solid #ffffff26;margin-top:6px;padding-top:6px;font-size:14px;line-height:1.4}.hintchip{color:#fff;background:#00000040;border:1px solid #ffffff40;border-radius:999px;align-self:flex-start;min-height:30px;margin-top:6px;padding:4px 10px;font-size:12px;font-weight:700}.w{min-height:0;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;margin:0;padding:0 1px}.w:hover,.w:focus-visible{background:#ffffff24;outline:none}.w.looked{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.sheet{background:var(--card2);border:1px solid var(--line2);border-radius:var(--r);flex-direction:column;gap:4px;padding:12px 14px;display:flex;position:sticky;bottom:0;box-shadow:0 -4px 24px #00000059}.sheet .row{justify-content:space-between;align-items:baseline}.sheet .word{font-size:18px;font-weight:800}.sheet .base{color:var(--muted);font-size:13px}.sheet .gloss{font-size:16px}.sheet .note{color:var(--muted);font-size:13px}.sheet button{min-height:32px;padding:4px 10px;font-size:13px}.tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.tile{background:var(--card);border-radius:var(--r);flex-direction:column;gap:2px;padding:12px;display:flex}.tile small{color:var(--muted);font-size:12px;font-weight:600}.tile b{font-size:20px;font-weight:800}.tile .sub{color:var(--muted);font-size:12px}.bar{background:var(--line2);border-radius:3px;width:96px;height:6px;overflow:hidden}.bar span{background:var(--accent);height:6px;display:block}.corr{border-left:3px solid var(--accent);flex-direction:column;gap:2px;padding-left:10px;font-size:14px;line-height:1.35;display:flex}.corr s{color:var(--muted)}.corr b{font-weight:700}.corr small{color:var(--muted);font-size:12px}.rate{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.rate button{border:1px solid var(--line2);background:0 0;font-size:14px;font-weight:600}.rate button.on{border:2px solid var(--accent);background:var(--card2);font-weight:700}.toggle{cursor:pointer;justify-content:space-between;align-items:center;font-size:14px;display:flex}.toggle input{width:20px;height:20px;accent-color:var(--accent);margin:0}.stars{gap:6px;display:flex}.stars button{border:1px solid var(--line2);background:0 0;width:40px;min-height:40px;padding:0;font-weight:700}.stars button.on{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}details summary{cursor:pointer;font-weight:600}.subhead{font-size:14px;font-weight:700}@media (prefers-reduced-motion:no-preference){.modecard,.item,.hrow,.lastrow{transition:border-color .15s}}.page.nonav{padding-bottom:24px}.page.nonav .sticky-cta{bottom:0}.field{flex-direction:column;gap:6px;display:flex}.field label{color:var(--muted);font-size:13px}.field input{font:inherit;border:2px solid var(--line2);background:var(--card2);color:inherit;border-radius:12px;width:100%;min-height:48px;padding:12px 14px;font-size:17px}.field input:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:#0000}.field input.code{letter-spacing:10px;text-align:center;font-variant-numeric:tabular-nums;font-size:28px}.guest{border-top:1px solid var(--line2);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:10px 0;display:grid}.guest small{color:var(--muted);font-size:12px}.guest .ctl{align-items:center;gap:6px;display:flex}.guest .ctl input{width:68px;font:inherit;border:1px solid var(--line2);background:var(--card2);color:inherit;border-radius:8px;padding:6px 8px;font-size:14px}.invitebox{align-items:center;gap:8px;display:flex}.invitebox code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;flex:1;min-width:0;font-size:12px}
