:root{color-scheme:light;--ink:#172243;--muted:#54617a;--canvas:#f3f5fa;--line:#e0e5ee;--blue:#304bb0;--gold:#ffd66b;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:16px DM Sans,system-ui,sans-serif}.brand,h1,h2,h3{font-family:Manrope,system-ui,sans-serif}h1,h2,h3,p{margin-top:0}a{color:inherit;text-decoration:none}button,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.65}:focus-visible{outline:3px solid #697ffa;outline-offset:4px}.wrap{max-width:1180px;margin:auto;padding-inline:24px}header{background:var(--white);border-bottom:1px solid var(--line)}.bar{display:flex;align-items:center;justify-content:space-between;min-height:76px}.lesson-tile{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:12px;background:#e8edff;color:var(--blue)}small{display:block;font-size:.82rem;color:var(--muted);font-weight:500}main{padding-block:30px 56px}.primary.button{height:auto;display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--action);color:#fff;border:0;border-radius:99px;padding:12px 22px;min-height:46px;font-weight:800}.primary.button:focus,.primary.button:hover:not(:disabled){background:#b3172b;color:#fff}.lesson{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;scroll-margin-top:20px}.lesson-head{display:flex;align-items:center;gap:13px}.lesson-head h2{font-size:clamp(1.35rem,3vw,1.85rem);margin:0}.lesson-head p{color:var(--muted);margin:3px 0 0}.practice-steps{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0;border-bottom:1px solid var(--line);padding-bottom:10px}.audio,.option,.phrases button,.practice-steps button,.words button{border:1px solid var(--line);background:#fff;color:var(--ink);padding:9px 12px;border-radius:9px;min-height:44px;text-align:left}.option[aria-pressed=true],.practice-steps button[aria-pressed=true]{background:#e8edff;color:#233b96;border-color:#94a5ed}.audio:hover,.option:hover,.phrases button:hover,.practice-steps button:hover,.words button:hover{border-color:#697ffa}.rule{background:#f0f3ff;border-radius:11px;padding:14px;line-height:1.5}.phrases{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.phrases i{margin-right:8px;color:var(--blue)}.words{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:9px;gap:9px;margin-bottom:20px}.words i{color:var(--blue)}fieldset{min-width:0;margin:0 0 16px;border:1px solid var(--line);border-radius:12px;padding:14px}legend{font-weight:700;padding:0 6px}.option{display:block;width:100%;margin:7px 0}.retry,.success{font-weight:700;margin:10px 0 0}.success{color:#18744b}.retry{color:#9e3c28}form label{font-weight:700}textarea{display:block;width:100%;padding:10px 12px;color:var(--ink);border:1px solid #9ba8c3;border-radius:9px;margin:6px 0 12px;resize:vertical}@media(max-width:720px){.wrap{padding-inline:14px}.lesson{padding:17px}}.lesson audio{width:100%;margin:6px 0 14px}.record-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.hint,.record-controls span{color:var(--muted);font-size:.9rem}.feedback{margin-top:14px;white-space:pre-wrap}:root{--ink:#24336b;--muted:#505c80;--canvas:#eaf0fb;--line:#d5deef;--blue:#24336b;--red:#f23043;--action:#d21f35}.bar{min-height:68px}.lesson{box-shadow:0 8px 24px #243b6510}.lesson-goal{display:flex;align-items:baseline;gap:9px;background:#e8f5f0;color:#144f43;border-radius:12px;padding:12px 14px;margin:16px 0 0}.practice-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px}.practice-steps button{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700;text-align:center}.step-icon{color:var(--blue)}.lesson h3{font-size:1.15rem;font-weight:800}.transfer-task{margin:15px 0 0}.lesson-done{gap:.75rem;background:#eef8e9;padding:14px;border-radius:12px}.lesson-done i.fa-star{color:#815500}details.hint{margin-top:8px}@media(max-width:540px){.practice-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-steps button{min-height:48px}}.word-label{overflow-wrap:anywhere}.word-play{font-size:.75rem}.voice-reply{margin:6px 0}.voice-reply audio{margin:6px 0 0}.voice-reply button{font-size:.88rem}@media(max-width:440px){.words{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}}.scene-card{--scene-bg:#eaf1ff;--scene-ink:#233f83;margin:0 0 20px;border:1px solid var(--line);border-radius:16px;overflow:hidden}.scene-card[data-theme=cafe]{--scene-bg:#fff0dd;--scene-ink:#743c16}.scene-card[data-theme=street]{--scene-bg:#e3f3ec;--scene-ink:#165849}.scene-card[data-theme=shop]{--scene-bg:#f4eaff;--scene-ink:#633f85}.scene-card[data-theme=airport]{--scene-bg:#e7f2fd;--scene-ink:#194c76}.scene-heading{display:flex;align-items:center;gap:13px;padding:16px;background:var(--scene-bg);color:var(--scene-ink)}.scene-heading h3{margin:1px 0 4px;font-size:1.3rem}.scene-heading p{margin:0}.scene-place{font-weight:700;font-size:.81rem}.scene-picture{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:14px;background:#ffffffa8;font-size:1.4rem}.scene-body{padding:14px;background:#fff}.scene-audio-settings,.scene-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}.scene-audio-settings{justify-content:space-between;color:var(--muted);font-size:.9rem}.scene-audio-settings label{display:flex;gap:8px;align-items:center;color:var(--ink);font-weight:700}.scene-options .audio[aria-pressed=true]{background:var(--scene-bg);color:var(--scene-ink);border-color:var(--scene-ink)}.scene-check{margin-bottom:8px}.scene-transcript{margin-bottom:14px;color:var(--scene-ink)}.scene-transcript dl{margin:8px 0}.scene-transcript dl div{display:grid;grid-template-columns:minmax(78px,110px) 1fr;grid-gap:8px;gap:8px;padding:4px 0}.scene-transcript dt{font-weight:700}.scene-credit{font-size:.76rem;margin:10px 0 0;color:var(--muted)}.scene-credit a{text-decoration:underline}.scene-body>.primary{max-width:100%;white-space:normal;text-align:center}.module-videos{margin-top:22px;padding:clamp(16px,4vw,24px);border:1px solid var(--line);border-radius:18px;background:#fff;scroll-margin-top:20px}.module-video-actions,.module-video-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.module-video-player{max-width:820px;margin-top:16px}.module-video-player iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;border-radius:12px;background:#172243}.module-video-actions{align-items:center;justify-content:space-between}.module-video-actions a{color:var(--blue);text-decoration:underline}.module-menu{display:flex;flex-wrap:wrap;gap:8px;padding:7px;margin:0 0 15px;border:1px solid var(--line);border-radius:14px;background:#fff}.module-menu a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 15px;border-radius:9px;font-weight:700;color:var(--blue)}.module-menu a:hover{background:#f1f4fc}.module-menu a[aria-current=location]{background:var(--blue);color:#fff}#lesson-content,#module-videos,.module-video-player{scroll-margin-top:16px}.scene-image{display:block;width:100%;height:clamp(126px,26vw,235px);object-fit:cover;object-position:center 54%}.scene-card[data-theme=street] .scene-image{object-position:center 67%}.module-videos{margin-top:0}.module-video-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.module-video-card{display:block;overflow:hidden;text-align:left;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink)}.module-video-card:hover,.module-video-card[aria-pressed=true]{border-color:var(--blue);background:#f1f4fc}.module-video-cover{position:relative;display:grid;place-items:center;aspect-ratio:16/9;background:linear-gradient(140deg,#172243,#4165b6);overflow:hidden}.module-video-cover img{display:block;width:100%;height:100%;object-fit:cover}.module-video-play{position:absolute;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#172243e6;color:#fff;box-shadow:0 2px 8px #0003}.module-video-play i{margin:0 0 0 2px;color:white}.module-video-label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;padding:11px 12px}.module-video-label>span{font-size:.82rem;color:var(--muted)}.module-video-player h3{font-size:1.12rem;font-weight:800;margin:0 0 8px}@media(min-width:960px){.module-video-options{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:360px){.module-video-options{gap:9px}.module-video-label{padding:8px}}.module-menu{position:-webkit-sticky;position:sticky;top:0;z-index:3}#lesson-content,#module-videos,.course-map,.lesson,.module-video-player{scroll-margin-top:74px}.brand{display:flex;align-items:center;gap:16px;font-weight:700;font-size:1.05rem}.brand img{display:block;width:auto;height:46px}.brand span{border-left:1px solid var(--line);padding-left:16px}.course-level{color:var(--blue);background:var(--canvas);padding:9px 14px;border-radius:24px;font-weight:700;font-size:.88rem}h1{font-size:clamp(2.2rem,5vw,3.6rem);letter-spacing:-.035em;font-weight:800;line-height:1.05;margin-bottom:16px;color:inherit}.course-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#24336b;color:#fff;border-radius:28px;overflow:hidden;margin-bottom:44px}.hero-copy{padding:clamp(22px,4vw,52px)}.hero-copy p{color:#e3e9fa;line-height:1.55;max-width:46ch}.hero-copy .hero-module{font-weight:700;margin-bottom:10px}.hero-copy .button{margin:20px 0 28px;white-space:normal}.hero-photo{display:block;width:100%;height:100%;min-height:220px;object-fit:cover}.hero-progress p{margin-bottom:10px}.hero-progress b{color:#fff}.hero-steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.hero-steps li{position:relative;display:grid;place-items:center;width:30px;height:30px;border:2px solid #aebbe4;border-radius:50%;font-size:.8rem}.hero-steps li.done{background:#fff;border-color:#fff;color:#24336b}.course-map{margin-bottom:44px}.course-map h2{font-size:clamp(1.6rem,3vw,2.1rem);font-weight:800;text-align:center;margin-bottom:22px}.course-map nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.course-map a{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr auto;align-items:center;grid-gap:12px 14px;gap:12px 14px;padding:20px;background:#fff;border:2px solid transparent;border-radius:18px}.course-map a:hover{border-color:#9aabdb}.course-map a[aria-current]{border-color:var(--red)}.lesson-name{font:700 1.08rem Manrope,system-ui,sans-serif}.lesson-aim,.lesson-state{grid-column:1/-1}.lesson-aim{align-self:start;color:var(--muted);line-height:1.5}.lesson-state{font-weight:700;color:var(--action)}.lesson-state.done{color:#18744b}@media(max-width:960px){.course-map nav{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.course-hero{grid-template-columns:minmax(0,1fr)}.hero-photo{order:-1;height:190px;min-height:0}.course-hero,.course-map{margin-bottom:30px}}@media(max-width:600px){.course-map nav{grid-template-columns:minmax(0,1fr)}.brand{gap:10px}.brand img{height:38px}.brand span{padding-left:10px;font-size:.95rem}.course-level{font-size:.78rem;padding:7px 10px}}.words button{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr;align-items:center;grid-gap:10px;gap:10px;padding:10px 12px}.word-art{grid-column:1/-1;display:grid;place-items:center;height:88px;margin:-2px -4px 0;border-radius:8px;background:var(--canvas)}.word-art svg{width:64px;height:64px;fill:none;stroke:#24336b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.word-art .b{fill:#b9ccf5}.word-art .n{fill:#24336b}.word-art .r{fill:#f23043}.word-art .w{fill:#fff}.word-art .y{fill:#ffd257}.word-art .g{fill:#4fae7b}.word-art .o{fill:#f0914a}.word-art .k{fill:#9a6a4a}.word-art .s{fill:#edbd97}.word-art .e{fill:#a3aec7}.explain{margin:10px 0 0;padding:12px 14px;border-radius:10px;background:#fdecee;color:#7d1422;line-height:1.5}.explain p{margin:0}.explain p+p{margin-top:4px}.practice-round{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.practice-round h3{margin-bottom:8px}.practice-round>p{margin-bottom:12px}.practice-round>.button:not(.primary){height:auto;min-height:44px;white-space:normal;border-radius:99px;border-color:var(--blue);color:var(--blue);font-weight:700}.phrases button[aria-pressed=true]{background:#e8edff;border-color:var(--blue)}.comparison{margin:0 0 14px;padding:14px;border:1px solid var(--line);border-radius:12px}.comparison p{margin-bottom:8px}.comparison p:last-child{margin:0}.compared{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.compared>span{padding:5px 9px;border-radius:8px;font-weight:700}.compared small{color:inherit}.word-ok{background:#e4f4ea;color:#14603b}.word-different,.word-missing{background:#fdecee;color:#8c1626;border-bottom:2px dashed #8c1626}.speaking .phrases{margin-top:14px}.voice-reply .audio{display:inline-flex;align-items:center;gap:8px;height:auto;min-height:44px}.lesson:has(.tutor-open){padding-bottom:84px}.tutor-open{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));z-index:5;display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:12px 22px;border:0;border-radius:99px;background:var(--blue);color:#fff;font-weight:800;box-shadow:0 8px 22px #172a6344}.tutor-open:hover{background:#31458c}.coach{display:flex;flex-direction:column;height:min(720px,calc(100dvh - 110px));margin-top:16px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#f4f7fd;scroll-margin-top:74px}.coach-head{display:flex;align-items:center;gap:12px;padding:12px 14px;color:#fff;background:var(--blue);border:0}.coach-head h3,.coach-head p{margin:0;color:inherit}.coach-head p{font-size:.9rem;color:#dfe7fb}.coach-close{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-left:auto;padding:8px 14px;border:1px solid #8798d0;border-radius:99px;background:transparent;color:#fff;font-weight:700}.coach-close:hover{background:#31458c}.coach-avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:var(--white);color:var(--blue)}.chat{flex:1 1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 14px;overflow-wrap:anywhere}.chat-turn{display:flex;align-items:flex-start;gap:9px;margin-bottom:14px}.chat-turn.user{justify-content:flex-end}.chat-turn .coach-avatar{width:34px;height:34px;flex-basis:34px;background:var(--blue);color:#fff;font-size:.85rem}.bubble{max-width:min(88%,62ch);padding:11px 14px;border:1px solid var(--line);border-radius:4px 16px 16px 16px;background:#fff;line-height:1.5}.bubble p{margin:0;white-space:pre-wrap}.chat-turn.user .bubble{border-color:var(--blue);border-radius:16px 4px 16px 16px;background:var(--blue);color:#fff}.example-card{margin-top:10px;padding:11px 13px;border-radius:12px;background:#fff3cf;color:var(--ink)}.example-card strong{display:block;font-size:1.12rem;color:var(--ink)}.typing{display:flex;gap:5px;align-items:center;min-height:24px}.typing i{width:8px;height:8px;border-radius:50%;background:#8493bd;animation:typing 1s infinite alternate}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes typing{to{opacity:.25}}@media(prefers-reduced-motion:reduce){.typing i{animation:none}}.coach-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:9px;gap:9px;margin:4px 0 14px}.coach-actions button{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 13px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font-weight:700;text-align:left}.coach-actions button i{width:20px;flex:0 0 20px;text-align:center;color:var(--action)}.coach-next{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px 43px}.coach-next button{min-height:44px;padding:8px 15px;border:1px solid var(--blue);border-radius:99px;background:#fff;color:var(--blue);font-weight:700}.coach-actions button:hover:not(:disabled),.coach-next button:hover:not(:disabled),.coach-words button:hover:not(:disabled){background:#e8edff}.coach-words{padding:10px 14px;overflow-x:auto;border-top:1px solid var(--line);scrollbar-width:thin}.coach-words,.coach-words button{display:flex;gap:8px;background:#fff}.coach-words button{align-items:center;flex:none;min-height:46px;padding:4px 13px 4px 7px;border:1px solid var(--line);border-radius:12px;color:var(--ink);font-weight:700}.coach-words .word-art{height:34px;width:38px;margin:0;border-radius:8px}.coach-words .word-art svg{width:30px;height:30px}.coach-compose{display:flex;align-items:flex-end;gap:9px;padding:10px 14px calc(12px + env(safe-area-inset-bottom));background:#fff}.coach-compose textarea{flex:1 1;min-width:0;min-height:48px;max-height:130px;margin:0;border-radius:14px;resize:none}.coach-compose .button{flex:none;width:48px;height:48px;min-height:48px;padding:0;border-radius:50%}.coach-error{margin:0 0 14px;padding:12px 14px;border-radius:12px;background:#fdecee;color:#7d1422}.coach-error p{margin:0 0 8px}.coach-error button{min-height:44px;padding:8px 16px;border:1px solid #7d1422;border-radius:99px;background:#fff;color:#7d1422;font-weight:700}@media(max-width:720px){body:has(.coach){overflow:hidden;visibility:hidden}.coach{visibility:visible;position:fixed;inset:0;z-index:20;height:100dvh;margin:0;border:0;border-radius:0}}@media(max-width:350px){.coach-actions{grid-template-columns:minmax(0,1fr)}.coach-close span{display:none}}@media(max-height:520px){.coach-words{display:none}}.practice-studio{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.practice-brief{padding:18px 20px;background:#eef3ff;border-bottom:1px solid var(--line)}.practice-brief p{margin:6px 0 0;line-height:1.5;max-width:64ch}.speaking .practice-examples{margin:16px 20px 0}.practice-work{padding:16px 20px}.practice-work label{display:block;font-weight:700}.practice-work textarea{font-size:max(1rem,1em);min-height:110px}.practice-work textarea:user-invalid{border-color:var(--action)}.practice-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0}.practice-actions .button{min-height:48px}.practice-work audio{display:block;width:min(100%,28rem);margin:14px 0}.practice-work .hint{margin-top:8px}.practice-actions .hint{margin:0}.practice-work .retry:empty{margin:0;padding:0}.practice-feedback{padding:14px 18px;margin:0 20px 16px;background:#e8f5f0;color:#144f43;border-radius:10px;white-space:pre-wrap}.practice-feedback p{margin:0}.practice-feedback p+p{margin-top:8px}.practice-studio>.audio{margin:0 20px 16px}@media(max-width:600px){.lesson:has(.practice-studio):has(.tutor-open){padding-bottom:24px}.lesson:has(.practice-studio) .tutor-open{position:static;margin-top:16px;box-shadow:none}}