:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f6f5f1;--surface:#fff;--surface-2:#f0eee8;--ink:#1d1c1a;--ink-2:#57544e;--ink-3:#85817a;--line:#e3e0d8;--accent:#0f766e;--accent-strong:#0d5f59;--accent-soft:#ddf0eb;--on-accent:#fff;--good:#157a3c;--good-soft:#e2f3e7;--bad:#b3262f;--bad-soft:#fbe8e8;--warn:#965607;--warn-soft:#fbf0d8;--banmal:#b45309;--banmal-soft:#fcefdc;--haeyo:#0f766e;--haeyo-soft:#ddf0eb;--hamnida:#4a3fc2;--hamnida-soft:#e8e6fb;--focus:#1d4ed8;--shadow:0 1px 2px #1e1c180d, 0 6px 20px #1e1c180d;--radius:20px;--radius-sm:14px;--gutter:16px;--tap:52px;--font:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Nanum Gothic", sans-serif;--font-ko:"Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", "Nanum Gothic", system-ui, sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0e1312;--surface:#161c1b;--surface-2:#1e2624;--ink:#ebeae6;--ink-2:#b4b1aa;--ink-3:#87847c;--line:#29322f;--accent:#3cc4b0;--accent-strong:#6fd9c8;--accent-soft:#143633;--on-accent:#042320;--good:#5bd389;--good-soft:#13291c;--bad:#f48a8a;--bad-soft:#3a1a1b;--warn:#f2b84b;--warn-soft:#33270f;--banmal:#f2a64b;--banmal-soft:#33250f;--haeyo:#3cc4b0;--haeyo-soft:#143633;--hamnida:#a9b2ff;--hamnida-soft:#212449;--focus:#93c5fd;--shadow:none}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{background:var(--bg);min-height:100dvh;color:var(--ink);font:16px/1.5 var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overflow-wrap:break-word;margin:0}[lang=ko]{font-family:var(--font-ko);word-break:keep-all;overflow-wrap:anywhere}h1,h2,p,ul,ol,dl,dd{margin:0}ul,ol{padding:0;list-style:none}button,input{font:inherit;color:inherit}button{cursor:pointer;-webkit-user-select:none;user-select:none}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.screen{min-height:100dvh}.page{width:100%;max-width:560px;padding:calc(16px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));flex-direction:column;gap:16px;margin:0 auto;display:flex}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:12px;min-width:0;padding:20px;display:flex}.card-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--accent-strong);font-size:.78rem;font-weight:700}.muted{color:var(--ink-2)}.hint{color:var(--ink-2);font-size:.9rem}.section-title{color:var(--ink-2);font-size:.95rem;font-weight:700}.step-title{font-size:1.3rem;font-weight:700;line-height:1.3}.footnote{text-align:center;color:var(--ink-3);font-size:.85rem}.wordmark{letter-spacing:-.01em;font-size:1.15rem;font-weight:800}.wordmark span{color:var(--accent);margin-left:2px;font-weight:700}.btn{min-height:var(--tap);border-radius:var(--radius-sm);border:1.5px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:1rem;font-weight:650;transition:background-color .15s,border-color .15s,transform .1s;display:inline-flex}.btn:active:not(:disabled){transform:scale(.98)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-primary:hover:not(:disabled){background:var(--accent-strong)}.btn-secondary{background:var(--surface);border-color:var(--line)}.btn-secondary:hover:not(:disabled){border-color:var(--ink-3)}.btn-ghost{color:var(--ink-2);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--surface-2)}.btn-small{min-height:44px;padding:0 14px}.btn-block{width:100%}.btn-mic{background:var(--accent-soft);color:var(--accent-strong)}.btn-mic.is-listening{opacity:1;animation:1.4s ease-in-out infinite pulse}.icon-button{width:44px;height:44px;color:var(--ink-2);background:0 0;border:0;border-radius:12px;flex:none;place-items:center;display:grid}.icon-button:hover:not(:disabled){background:var(--surface-2)}.link-button{min-height:44px;color:var(--accent-strong);text-underline-offset:3px;background:0 0;border:0;align-self:flex-start;padding:0 4px;font-weight:650;text-decoration:underline}.chip{background:var(--surface-2);color:var(--ink-2);white-space:nowrap;border:0;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:.8rem;font-weight:650;display:inline-flex}.chip-accent{background:var(--accent-soft);color:var(--accent-strong)}.chip-warn{background:var(--warn-soft);color:var(--warn)}.chip-button{border:1px solid var(--line);background:var(--surface);min-height:36px;padding:6px 14px}.progress{background:var(--surface-2);border-radius:999px;height:6px;overflow:hidden}.progress-fill{border-radius:inherit;background:var(--accent);height:100%;transition:width .3s}.person{align-items:center;gap:12px;min-width:0;display:flex}.person-text{flex-direction:column;min-width:0;display:flex}.person-name{font-size:1.05rem;font-weight:700}.person-lg .person-name{font-size:1.35rem}.person-desc{color:var(--ink-2);font-size:.9rem;line-height:1.35}.person-role{color:var(--ink);font-weight:650}.role-badge{background:var(--surface-2);width:44px;height:44px;color:var(--ink-2);border-radius:14px;flex:none;place-items:center;display:grid}.person-lg .role-badge{border-radius:18px;width:56px;height:56px}.role-friend{background:var(--banmal-soft);color:var(--banmal)}.role-senior,.role-clerk{background:var(--haeyo-soft);color:var(--haeyo)}.role-boss,.role-elder{background:var(--hamnida-soft);color:var(--hamnida)}.register-tag{white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:.8rem;font-weight:700}.register-banmal{background:var(--banmal-soft);color:var(--banmal)}.register-haeyo{background:var(--haeyo-soft);color:var(--haeyo)}.register-hamnida{background:var(--hamnida-soft);color:var(--hamnida)}.home-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.today{gap:14px}.today-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.today-chips{flex-wrap:wrap;gap:6px;display:flex}.today-title{letter-spacing:-.01em;font-size:2rem;font-weight:800;line-height:1.2}.today-en{color:var(--ink-2);margin-top:-8px;font-size:1.05rem;font-weight:600}.today-situation{font-size:.95rem}.people{border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;gap:12px;padding:14px;display:flex}.people .role-badge{background:var(--surface)}.people .role-friend{color:var(--banmal)}.people .role-senior,.people .role-clerk{color:var(--haeyo)}.people .role-boss,.people .role-elder{color:var(--hamnida)}.resume-row{align-items:center;gap:12px;font-size:.9rem;display:flex}.resume-track{background:var(--surface-2);border-radius:999px;flex:1;height:6px;overflow:hidden}.resume-track span{background:var(--accent);height:100%;display:block}.today-actions{flex-direction:column;gap:10px;margin-top:4px;display:flex}.today-actions.commute-first .btn:nth-child(2){order:-1}.today-actions .hint{text-align:center}.week{flex-wrap:wrap;gap:10px;display:flex}.week-stat{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);color:var(--ink-2);flex:150px;align-items:center;gap:10px;padding:14px 16px;font-size:.92rem;display:flex}.week-stat svg{color:var(--accent);flex:none}.week-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.week-text strong{color:var(--ink);font-size:1.3rem}.register-scores{flex:100%;gap:8px;display:flex}.register-score{border-radius:var(--radius-sm);flex-direction:column;flex:1;align-items:center;padding:10px 6px;font-size:.85rem;font-weight:600;display:flex}.register-score strong{font-size:1.1rem}.session{flex-direction:column;display:flex}.session-header{z-index:5;padding:calc(6px + env(safe-area-inset-top)) var(--gutter) 10px;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(10px);position:sticky;top:0}.session-bar{align-items:center;gap:8px;max-width:560px;margin:0 auto 6px;display:flex}.session-bar-spacer{flex:none;width:44px}.session-title{flex-direction:column;flex:1;align-items:center;min-width:0;line-height:1.25;display:flex}.session-header .progress{max-width:560px;margin:0 auto}.step-kind{align-items:center;gap:8px;font-weight:700;display:inline-flex}.step-count{color:var(--ink-3);font-size:.82rem}.review-badge{background:var(--warn-soft);color:var(--warn);border-radius:999px;padding:1px 8px;font-size:.72rem}.session-body{width:100%;max-width:560px;padding:8px max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));flex-direction:column;flex:1;gap:16px;margin:0 auto;animation:.25s ease-out enter;display:flex}.session-body:focus{outline:none}.step-actions{padding:16px 0 calc(14px + env(safe-area-inset-bottom));background:linear-gradient(to bottom, transparent, var(--bg) 24px);gap:12px;margin-top:auto;display:flex;position:sticky;bottom:0}.step-actions .btn-primary{flex:2}.step-actions .btn-ghost{border-color:var(--line);flex:1}.listen-card{text-align:center;align-items:center;padding:24px 20px}.play-big{background:var(--accent);width:96px;height:96px;color:var(--on-accent);box-shadow:0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent);border:0;border-radius:50%;place-items:center;margin:8px auto 0;transition:transform .15s;display:grid}.play-big:active{transform:scale(.96)}.play-big.is-playing{animation:1.6s ease-in-out infinite pulse}.play-status{min-height:1.5em;color:var(--ink-2);font-size:.92rem}.transcript,.lines{flex-direction:column;gap:8px;display:flex}.lines li{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);grid-template-columns:auto 1fr;column-gap:10px;padding:12px 14px;transition:border-color .2s;display:grid}.lines li.is-current{border-color:var(--accent)}.line-speaker{color:var(--ink-3);grid-row:span 2;padding-top:3px;font-size:.82rem;font-weight:700}.line-ko{font-size:1.1rem;font-weight:600}.line-en{color:var(--ink-2);font-size:.9rem}.choices{flex-direction:column;gap:10px;margin-top:4px;display:flex}.choice{border-radius:var(--radius-sm);border:1.5px solid var(--line);background:var(--surface);text-align:left;grid-template-columns:1fr auto;align-items:center;column-gap:8px;width:100%;min-height:56px;padding:12px 16px;transition:border-color .15s,background-color .15s;display:grid}.choice:hover:not(:disabled){border-color:var(--accent)}.choice:disabled{cursor:default}.choice-ko{font-size:1.2rem;font-weight:650}.choice-text{font-weight:550}.choice-en{color:var(--ink-2);grid-column:1;font-size:.88rem}.choice-mark{grid-area:1/2/span 2}.choice.is-right{border-color:var(--good);background:var(--good-soft)}.choice.is-right .choice-mark{color:var(--good)}.choice.is-wrong{border-color:var(--bad);background:var(--bad-soft)}.choice.is-wrong .choice-mark{color:var(--bad)}.choice.is-dim{opacity:.6}.voice-row{flex-direction:column;gap:8px;display:flex}.verdict{border-radius:var(--radius-sm);flex-direction:column;gap:4px;padding:12px 14px;font-weight:650;display:flex}.verdict-good{background:var(--good-soft);color:var(--good)}.verdict-bad{background:var(--bad-soft);color:var(--bad)}.you-said{color:var(--ink-2);font-size:.9rem;font-weight:500}.expression{font-size:1.8rem;font-weight:750;line-height:1.3}.expression-en{color:var(--ink-2);margin-top:-6px}.note{background:var(--surface-2);color:var(--ink-2);border-radius:12px;padding:10px 12px;font-size:.9rem}.shadow-controls{flex-wrap:wrap;gap:10px;margin-top:4px;display:flex}.shadow-controls .btn{flex:140px}.score{flex-direction:column;gap:6px;display:flex}.score-bar{background:var(--surface-2);border-radius:999px;height:10px;overflow:hidden}.score-fill{border-radius:inherit;height:100%;transition:width .4s}.score-fill.is-good{background:var(--good)}.score-fill.is-low{background:var(--warn)}.roleplay-card{gap:16px}.intent{border-radius:var(--radius-sm);background:var(--accent-soft);padding:14px}.intent-label,.model-label{letter-spacing:.06em;text-transform:uppercase;color:var(--accent-strong);font-size:.75rem;font-weight:700;display:block}.intent-text{margin-top:2px;font-size:1.15rem;font-weight:650;line-height:1.35}.answer-area{flex-direction:column;gap:10px;display:flex}.type-row{gap:8px;display:flex}.text-input{min-width:0;min-height:var(--tap);border-radius:var(--radius-sm);border:1.5px solid var(--line);background:var(--bg);flex:1;padding:0 14px;font-size:1.05rem}.text-input:focus-visible{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent);outline:none}.type-row .btn{flex:none}.feedback{flex-direction:column;gap:12px;display:flex}.feedback .verdict{font-size:1.05rem}.checks{flex-direction:column;gap:8px;display:flex}.checks li{border-radius:12px;grid-template-columns:22px 1fr;align-items:start;gap:8px;padding:10px 12px;font-size:.95rem;line-height:1.45;display:grid}.checks li svg{margin-top:2px}.checks .is-ok{background:var(--good-soft)}.checks .is-ok svg{color:var(--good)}.checks .is-issue{background:var(--bad-soft)}.checks .is-issue svg{color:var(--bad)}.swap{margin-top:2px;display:block}.model{border-radius:var(--radius-sm);border:1.5px dashed var(--line);padding:12px 14px}.model-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.model-text{font-size:1.3rem;font-weight:700}.model .icon-button{color:var(--accent);background:var(--accent-soft)}.summary-head{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:16px 0 4px;display:flex}.summary-head h1{font-size:1.7rem}.summary-mark{background:var(--good-soft);width:56px;height:56px;color:var(--good);border-radius:50%;place-items:center;margin-bottom:4px;display:grid}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.stat{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);text-align:center;padding:14px 8px}.stat dt{color:var(--ink-2);font-size:.8rem;font-weight:600}.stat dd{font-size:1.5rem;font-weight:800;line-height:1.2}.stat small{color:var(--ink-3);font-size:.85rem;font-weight:600}.accuracy{flex-direction:column;gap:10px;display:flex}.accuracy li{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label value""bar bar";gap:4px 8px;display:grid}.accuracy-label{grid-area:label;font-size:.95rem;font-weight:650}.accuracy-value{grid-area:value;font-weight:700}.accuracy-bar{background:var(--surface-2);border-radius:999px;grid-area:bar;height:8px;overflow:hidden}.accuracy-fill{height:100%;display:block}.accuracy-fill.register-banmal{background:var(--banmal)}.accuracy-fill.register-haeyo{background:var(--haeyo)}.accuracy-fill.register-hamnida{background:var(--hamnida)}.review-list{flex-direction:column;gap:8px;display:flex}.review-list li{background:var(--surface-2);border-radius:12px;flex-direction:column;padding:10px 12px;display:flex}.review-list [lang=ko]{font-size:1.05rem;font-weight:700}.review-list .muted{font-size:.88rem}.ad-slot{border-radius:var(--radius-sm);border:1px dashed var(--line);place-items:center;min-height:100px;margin-top:8px;display:grid;overflow:hidden}.ad-placeholder{letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);font-size:.75rem;font-weight:700}.intro{gap:14px;padding:24px 20px}.intro h1{font-size:1.7rem;line-height:1.25}.placement .play-big,.listen-card .play-big{margin-bottom:4px}.result{text-align:center;align-items:center;padding:28px 20px}.level-big{color:var(--accent);font-size:3.5rem;font-weight:800;line-height:1.1}.focus{border-radius:var(--radius-sm);background:var(--accent-soft);width:100%;padding:14px;font-weight:650}.sheet-backdrop{z-index:20;padding:var(--gutter);padding-bottom:calc(var(--gutter) + env(safe-area-inset-bottom));background:#0a0c0c73;justify-content:center;align-items:flex-end;animation:.2s ease-out fade;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border-radius:24px;flex-direction:column;gap:12px;width:100%;max-width:480px;max-height:100%;padding:24px 20px 20px;animation:.25s ease-out rise;display:flex;overflow-y:auto}.sheet h2{font-size:1.3rem}.sheet-icon{background:var(--accent-soft);width:48px;height:48px;color:var(--accent-strong);border-radius:14px;place-items:center;display:grid}.notice-list{flex-direction:column;gap:8px;display:flex}.notice-list li{color:var(--ink-2);padding-left:18px;position:relative}.notice-list li:before{content:"";background:var(--accent);border-radius:50%;width:7px;height:7px;position:absolute;top:.6em;left:2px}.sheet-actions{flex-direction:column;gap:8px;margin-top:6px;display:flex}@media (width>=640px){.sheet-backdrop{align-items:center}}.commute{max-width:560px;padding:calc(12px + env(safe-area-inset-top)) var(--gutter) calc(20px + env(safe-area-inset-bottom));flex-direction:column;margin:0 auto;display:flex}.commute-head{justify-content:space-between;align-items:center;display:flex}.commute-main{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;padding:24px 0;display:flex}.commute-count{color:var(--ink-3);font-weight:650}.commute-label{letter-spacing:-.02em;font-size:clamp(2.2rem,11vw,3.2rem);font-weight:800;line-height:1.1}.commute-detail{color:var(--ink-2);font-size:1.3rem;font-weight:650}.commute-phase{min-height:1.6em;color:var(--ink-2);font-size:1.1rem}.commute-phase.is-listening{color:var(--accent-strong);font-weight:700}.commute-toggle{background:var(--accent);width:120px;height:120px;color:var(--on-accent);box-shadow:0 10px 30px color-mix(in srgb, var(--accent) 30%, transparent);border:0;border-radius:50%;place-items:center;margin:12px 0;display:grid}.commute-tip{max-width:34ch;color:var(--ink-3);font-size:.92rem}@keyframes pulse{50%{box-shadow:0 0 0 10px color-mix(in srgb, var(--accent) 14%, transparent)}}@keyframes enter{0%{opacity:0;transform:translateY(6px)}}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(16px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
