/* Everyday adventures · original visual system, using locally bundled daisyUI. */
:root,[data-theme=light]{--bg:#f7f8fc;--paper:#fff;--ink:#25334d;--muted:#748097;--green:#4775dd;--soft:#edf2ff;--line:#e3e8f1;--orange:#4775dd;--shadow:0 8px 24px #25334d06;--radius:24px;--accent:#4775dd;--accent-dark:#315cad;--tint:#edf3ff;--color-primary:#4775dd;--color-primary-content:#fff;font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;}
[data-context=travel]{--accent:#477bd6;--accent-dark:#2f5fae;--tint:#edf4ff;--green:var(--accent);--orange:var(--accent);--soft:var(--tint);--color-primary:var(--accent)}
[data-context=fitness]{--accent:#dc7735;--accent-dark:#ad5626;--tint:#fff3e8;--green:var(--accent);--orange:var(--accent);--soft:var(--tint);--color-primary:var(--accent)}
[data-context=social]{--accent:#8861c8;--accent-dark:#69479e;--tint:#f3eeff;--green:var(--accent);--orange:var(--accent);--soft:var(--tint);--color-primary:var(--accent)}
body{background:var(--bg);color:var(--ink)}svg{flex-shrink:0}button svg,.button svg,.tag svg{width:20px;height:20px}button,.button,.btn{background:var(--accent);color:white;border:1px solid var(--accent);border-bottom:4px solid var(--accent-dark);border-radius:14px;min-height:48px;padding:12px 19px;font-weight:700;box-shadow:none;transition:transform .15s,background .15s;line-height:1.4;text-transform:none}button:hover,.button:hover{filter:none;transform:translateY(-1px);background:var(--accent-dark)}button:active,.button:active{transform:translateY(2px)}button:disabled{border-color:#d5dce7;border-bottom-color:#bac4d4;background:#e6ebf2;color:#8792a6;transform:none}.secondary,.quiet{background:var(--paper);color:var(--ink);border-color:var(--line);border-bottom-color:#d3dbe8}.secondary:hover,.quiet:hover{background:var(--tint);color:var(--accent-dark)}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.site-header{max-width:none;padding:18px max(28px,calc((100vw - 1160px)/2));background:white;gap:30px;border-bottom:1px solid var(--line)}.brand{color:#263651;font-size:17px;letter-spacing:-.3px}.brand-icon{background:#4775dd;border:2px solid #fff;box-shadow:0 0 0 1px #d9e4ff;border-radius:15px;transform:rotate(-5deg);font:800 29px "Segoe UI"}.brand small{font-size:9px;letter-spacing:1.8px;color:#8995a8}.site-header nav{gap:8px}.site-header nav a{padding:11px 14px;border-radius:12px;font-size:13px;font-weight:600;color:#758198}.site-header nav a[aria-current=page]{color:#4775dd;background:#edf2ff}.header-note{border-left:1px solid #e5eaf3;padding-left:23px;color:#8290a5}
main{max-width:1200px;padding:35px 28px 64px}h1{font-weight:800;letter-spacing:-1.5px;color:#263651}h2{font-weight:750}p{line-height:1.8}.eyebrow{letter-spacing:1.7px;font-size:10px;margin-bottom:14px;color:var(--accent);font-weight:800}.tag{background:var(--tint);color:var(--accent-dark);font-weight:650;padding:7px 11px;gap:6px;font-size:12px;border:1px solid color-mix(in srgb,var(--accent) 15%,white)}.tag svg{width:16px;height:16px}
.hero{grid-template-columns:1.05fr 1fr;gap:28px;min-height:366px;margin:3px 0 28px}.hero-copy{padding:10px 0 8px 10px}.hero .eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:21px}.tiny-star{background:#fff0d0;color:#bd813b;display:grid;place-items:center;width:27px;height:27px;border-radius:9px;font-size:18px}.hero h1{font-size:clamp(34px,4.1vw,49px);line-height:1.35;margin-bottom:17px}.hero em{color:#4775dd}.hero p{font-size:15px;color:#75829a}.hero-bottom{gap:18px;margin-top:24px}.hero-caption{font-size:11px;color:#8490a5;line-height:1.8}.hero-art{min-height:336px;background:#eaf1ff;border:1px solid #dbe7fa;border-radius:35px;overflow:visible;padding:0;isolation:isolate}.hero-art:before{width:224px;height:224px;background:#e1ebff;border:1px solid #d3e2ff;top:25px;right:32px;z-index:-1}.world-main{width:100%;padding:28px 0 14px;color:#4775dd}.world-main svg{width:100%;display:block}.world-stamp{position:absolute;background:#fff;border:1px solid #dce5f4;border-radius:15px;padding:12px 15px;box-shadow:0 8px 18px #47679b0d;display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700}.world-stamp>svg{width:32px;height:32px;padding:6px;border-radius:10px;background:#edf3ff;color:#4775dd}.world-stamp small{display:block;font-weight:400;font-size:11px;margin-top:4px;color:#8c98ac}.stamp-one{top:18px;left:18px;transform:rotate(-3deg)}.stamp-two{bottom:15px;right:12px;transform:rotate(3deg)}.stamp-two>svg{background:#eaf7ef;color:#4b9b73}.world-spark{position:absolute;font-size:25px;color:#ffbc60}.spark-one{right:24px;top:25px}.spark-two{left:26px;bottom:15px;font-size:18px}
.continue-card{display:flex;align-items:center;gap:16px;padding:20px 25px;background:var(--paper);border:1px solid var(--line);border-radius:19px;margin:20px 0 35px;border-left:5px solid var(--accent)}.continue-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--tint);color:var(--accent);border-radius:14px}.continue-icon svg{width:25px;height:25px}.continue-card h3{margin:5px 0;font-size:17px}.continue-card small,.continue-card div>span{font-size:11px;color:var(--muted)}.continue-arrow{margin-left:auto;color:var(--accent)}.continue-arrow svg{width:23px;height:23px}.section-heading{align-items:end;margin:25px 0 20px}.section-heading .eyebrow{margin-bottom:6px}.section-heading h2{font-size:23px}.section-heading p{font-size:12px}.context-grid{gap:20px}.context-card{box-shadow:none;border:1px solid var(--line);border-bottom:4px solid #dee4ee;transition:transform .18s,border-color .18s}.context-card:hover{transform:translateY(-5px);border-color:var(--accent)}.context-art{height:180px;padding:14px 12px 0;background:var(--tint);color:var(--accent)}.context-art svg{height:100%;width:100%;object-fit:contain}.scene-label{position:absolute;top:12px;left:15px;display:flex;align-items:center;gap:5px;font-size:9px;letter-spacing:1.3px;color:var(--accent-dark);font-weight:700}.scene-label svg{width:14px;height:14px}.context-body{padding:21px 23px 20px;display:block;gap:0}.context-body h3{font-size:23px;letter-spacing:-.6px;margin-bottom:10px}.context-body p{font-size:12px;color:var(--muted);min-height:44px;margin-bottom:16px}.card-bottom{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;color:var(--muted)}.card-bottom .arrow{display:grid;place-items:center;width:28px;height:28px;background:var(--tint);color:var(--accent);border-radius:9px}.arrow svg{width:16px;height:16px}.progress{width:100%;height:7px;color:var(--accent);background:#e9eef6;border:0;border-radius:8px;overflow:hidden;appearance:none}.progress::-webkit-progress-bar{background:#e9eef6;border-radius:8px}.progress::-webkit-progress-value{background:var(--accent);border-radius:8px}.progress::-moz-progress-bar{background:var(--accent);border-radius:8px}.context-body .progress{margin-top:14px;display:block;height:5px}
.progress-strip{margin-top:28px;padding:22px 27px;border:1px solid var(--line);background:white;border-radius:20px;gap:22px;box-shadow:none}.progress-strip strong{font-size:26px;color:#354866}.progress-strip p{font-size:11px;line-height:1.8;margin:4px 0}.progress-strip>div{flex:0 1 auto}.progress-strip>p{flex:1}.progress-strip .button{font-size:12px}.radial-progress{color:var(--accent);font-size:17px;font-weight:750;flex-shrink:0;--size:4.6rem;--thickness:.38rem}.radial-progress small{font-size:10px;color:inherit;margin-left:1px}.radial-progress:after{display:none}
.map-heading{align-items:center;margin:0 0 26px}.page-title h1{font-size:32px;letter-spacing:-.8px;margin:12px 0 10px}.page-title p{font-size:13px;color:var(--muted);margin-bottom:0}.toolbar{flex-wrap:wrap;gap:10px}.toolbar label{font-size:12px;line-height:1.8;color:var(--muted);display:flex;align-items:center;gap:7px}.toolbar select,.toolbar input{background:#fff;border:1px solid var(--line);min-height:42px;border-radius:11px;color:var(--ink)}.toolbar input{width:64px}.toolbar button{min-height:42px;padding:8px 14px;font-size:12px}.journey-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start}.map-chapter{border:1px solid var(--line);background:#fff;border-radius:22px;overflow:hidden;margin-bottom:23px;scroll-margin-top:20px}.group-head{margin:0;padding:22px 25px;background:var(--tint);border-bottom:1px solid color-mix(in srgb,var(--accent) 12%,white);gap:16px;display:flex;align-items:center}.group-head .chapter-index{display:grid;place-items:center;width:42px;height:42px;background:var(--accent);color:white;border:0;border-radius:13px;padding:0;font-size:18px;font-weight:800}.group-head h2{font-size:18px;margin:4px 0 0}.group-head small{font-size:10px;color:var(--accent-dark)}.chapter-flag{margin-left:auto;color:var(--accent)}.chapter-flag svg{width:24px;height:24px}.stage-grid{display:block;position:relative;padding:25px 22px;isolation:isolate}.route-line{position:absolute;top:25px;left:22px;width:160px;height:1080px;z-index:-1;overflow:visible}.route-line path{fill:none;stroke:color-mix(in srgb,var(--accent) 25%,white);stroke-width:6px;stroke-linecap:round;stroke-dasharray:3 12}.stage-card{margin:0 0 0 var(--bend);padding:0 8px 0 0;min-height:108px;height:108px;display:flex;align-items:center;gap:21px;border:0;background:transparent;box-shadow:none;border-radius:14px;transition:background .15s}.stage-card:hover{background:var(--tint);transform:none;border:0}.stage-card.complete{background:transparent;border:0}.stage-orb{position:relative;display:grid;place-items:center;width:76px;height:76px;border-radius:50%;flex-shrink:0;background:var(--tint);color:var(--accent);border:2px solid color-mix(in srgb,var(--accent) 32%,white);border-bottom:6px solid color-mix(in srgb,var(--accent) 50%,white);box-shadow:0 0 0 7px white;transition:transform .16s}.stage-orb>svg{width:25px;height:25px;margin-top:-12px}.stage-card:hover .stage-orb{transform:translateY(-2px)}.stage-number{position:absolute;bottom:9px;left:0;right:0;font-size:12px;text-align:center;font-weight:800;color:inherit;background:none;padding:0}.stage-card.complete .stage-orb,.stage-card.active .stage-orb{background:var(--accent);border-color:var(--accent);border-bottom-color:var(--accent-dark);color:white}.stage-card.recommended .stage-orb{outline:3px solid color-mix(in srgb,var(--accent) 27%,white);outline-offset:7px}.stage-copy{min-width:0;flex:1}.stage-top{display:flex;align-items:center;gap:8px;margin:0 0 5px}.stage-top .status{font-size:10px;color:var(--muted);background:#f1f4f8;padding:3px 7px;border-radius:6px}.complete .status{color:var(--accent-dark);background:var(--tint)}.stage-copy h3{font-size:15px;line-height:1.6;margin:0 0 5px;color:var(--ink)}.stage-copy>small{font-size:10px;color:var(--muted);line-height:1.5;display:block}.here-label{font-size:9px;color:var(--accent);font-weight:600}.node-arrow{color:#b5bece}.node-arrow svg{width:17px;height:17px}.journey-sidebar{position:sticky;top:25px;background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden}.journey-scene{background:var(--tint);padding:14px 6px 0;color:var(--accent)}.journey-scene svg{width:100%;display:block}.journey-score{display:flex;align-items:center;gap:17px;padding:22px}.journey-score strong{font-size:28px}.journey-score strong small{font-size:13px}.journey-score p{font-size:11px;color:var(--muted);margin:5px 0 0}.chapter-links{padding:0 20px 20px}.chapter-links h3{font-size:13px;margin:6px 0 10px}.chapter-link{display:flex;width:100%;background:white;border:0;border-radius:10px;color:var(--muted);text-align:left;justify-content:start;padding:9px 5px;font-size:11px;gap:9px;min-height:44px;font-weight:500}.chapter-link span{font-size:10px;background:var(--tint);color:var(--accent);padding:5px;border-radius:6px}.chapter-link svg{width:14px;height:14px;margin-left:auto}.chapter-link:hover{color:var(--accent);background:var(--tint);transform:none}.journey-note{display:flex;align-items:start;gap:9px;padding:17px 21px;background:#fafbfd;border-top:1px solid var(--line)}.journey-note svg{width:18px;height:18px;color:var(--accent);margin-top:3px}.journey-note p{font-size:12px;margin:0}.journey-note small{display:block;font-size:10px;margin-top:5px;line-height:1.8}
.learning-heading{margin-bottom:20px;gap:12px}.back-link{font-size:12px;font-weight:600;color:var(--muted)}.lesson-layout{display:block}.lesson-rail{position:static;background:white;border:1px solid var(--line);border-radius:22px;padding:23px 28px 18px;margin-bottom:20px;display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:14px 25px}.lesson-title h1{font-size:26px;letter-spacing:-.7px;margin:0 0 8px;line-height:1.5}.lesson-title .eyebrow{margin:0 0 7px}.lesson-title p{font-size:11px;color:var(--muted);margin:0}.lesson-progress{align-self:center;min-width:0}.lesson-progress>span{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:10px}.lesson-progress b{color:var(--accent);font-size:12px}.step-nav{grid-column:1/-1;display:flex;justify-content:space-between;gap:5px;margin:7px 0 0;padding-top:15px;border-top:1px solid var(--line);overflow-x:auto}.step-nav .step{display:block;min-width:0;flex:1}.step-nav .step:before,.step-nav .step:after{display:none}.step-nav button{width:100%;white-space:nowrap;min-height:44px;padding:9px 6px;border:0;background:transparent;color:#8290a5;gap:7px;font-size:11px;font-weight:500;justify-content:center;box-shadow:none;border-radius:11px}.step-nav button span{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#eef2f8;font-size:10px;color:inherit;flex-shrink:0}.step-nav button.current{background:var(--tint);color:var(--accent);font-weight:700}.step-nav .step-primary button span{background:var(--accent);color:white}.step-nav button:hover{background:var(--tint);color:var(--accent);transform:none}.lesson-panel{max-width:900px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px 36px;box-shadow:none;min-width:0}.learn-controls{gap:12px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:24px;font-size:10px;justify-content:start}.learn-controls label:last-of-type{margin-left:auto}.learn-controls select{background:#f8faff;border:1px solid var(--line);min-height:34px}.learn-controls input{accent-color:var(--accent)}#voice-status{font-size:10px;color:#909caf}.lesson-panel h2{font-size:25px;color:var(--ink)}.lesson-panel>div>p{font-size:14px}.task-overview{border:1px solid var(--line);border-left:3px solid var(--accent);background:#fafbfe;border-radius:13px;line-height:1.8}.task-overview small{font-size:10px;color:#8b97aa}.task-overview p{font-size:13px}.practical-outcomes{background:var(--tint);border-left:0;border:1px solid color-mix(in srgb,var(--accent) 17%,white);border-radius:15px;color:var(--ink);padding:17px 20px;font-size:13px}.practical-outcomes b{color:var(--accent-dark);font-size:13px}.practical-outcomes ul{line-height:1.85;padding-left:19px}.lesson-kit{border:1px solid var(--line);border-radius:13px;padding:15px 18px;margin:20px 0}.lesson-kit>summary{font-weight:650;font-size:13px;color:var(--ink)}.lesson-kit h3{margin-top:20px;font-size:15px}.callout{background:var(--tint);border-left-color:var(--accent);color:var(--ink);font-size:13px;line-height:1.8;border-radius:11px}.notice{background:#f5f7fc;border:1px solid #e3e8f2;color:#6e7b91;font-size:12px;border-radius:12px}.goal-list{font-size:13px;line-height:1.8;color:var(--muted)}.flow-times{gap:6px;flex-wrap:wrap}.flow-times span{font-size:10px;background:#f4f6fb;border:1px solid var(--line);border-radius:7px;padding:7px}.subheading{font-size:11px;line-height:1.8;color:var(--muted)}.buttons{gap:10px;flex-wrap:wrap}.buttons button,.buttons .button{font-size:13px}.fitness-reference{background:var(--tint);border:1px solid color-mix(in srgb,var(--accent) 15%,white);padding:13px 16px;font-size:12px;border-radius:12px}.fitness-reference>summary{font-size:12px;color:var(--accent-dark)}.phrase-card{border-color:var(--line);background:white;font-size:14px;border-radius:11px}.phrase-card small{font-size:11px;color:var(--muted)}.phrase-card button{font-size:12px;min-height:40px;padding:8px 12px}.example{border:1px solid var(--line);background:white;border-radius:16px;padding:20px 22px;margin:15px 0}.example-purpose{color:var(--accent);font-size:11px;font-weight:600}.sentence{font-size:22px;font-weight:600;color:var(--ink);line-height:1.65}.sentence button{font-weight:500;font-size:11px}.translation{color:var(--muted);font-size:13px;line-height:1.8}.example details,.contrast-card p{font-size:12px}.contrast-card{background:#f5f7fb;border:1px solid var(--line);border-radius:14px;color:var(--ink);padding:17px 20px}.contrast-card b{font-size:13px}.structure{font-size:12px}.whole-chunk{background:var(--tint)}
.question-top{margin:0 0 16px}.question-top small{font-size:12px;color:var(--accent);font-weight:600}.dialogue-bubble.chat{display:block;position:relative;background:transparent;border:0;padding:0;margin-bottom:18px;overflow:visible}.speaker.chat-header{display:flex;align-items:center;gap:10px;color:#65758e;font-size:12px;font-weight:600;margin-bottom:12px}.speaker .avatar{display:grid;place-items:center;width:37px;height:37px;border-radius:13px;background:var(--tint);color:var(--accent);border:1px solid color-mix(in srgb,var(--accent) 20%,white);font-size:16px;font-weight:700}.partner-en.chat-bubble{max-width:100%;padding:20px 23px;border:1px solid color-mix(in srgb,var(--accent) 15%,white);border-radius:0 18px 18px 18px;background:var(--tint);color:#30415d;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:75px}.partner-en.chat-bubble:before{display:none}.partner-en>span{font-size:22px;font-weight:600;line-height:1.6;min-width:0;overflow-wrap:anywhere}.partner-en button{width:40px;height:40px;min-height:40px;padding:0;border-radius:12px;background:white;color:var(--accent);border-color:color-mix(in srgb,var(--accent) 15%,white);font-size:13px;flex-shrink:0}.dialogue-bubble .translation{margin:10px 0 0 5px;font-size:12px}.info-card{background:#f8faff;border:1px solid var(--line);border-radius:12px;font-size:12px;line-height:1.8;margin:16px 0;padding:13px 17px;color:#7b889d}.info-card strong{font-size:11px;color:#4e607f;display:block;margin-bottom:4px}.response-heading{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;margin:20px 0 10px}.response-heading span{font-size:9px;letter-spacing:1.6px;color:#a0aabb;font-weight:500}.exercise-label{font-size:11px;color:var(--muted);line-height:1.8;display:block;margin-bottom:11px}.input-line{border:2px solid #dce3f0;border-radius:14px;font-size:18px;min-height:54px;line-height:1.65;color:var(--ink);padding:13px 16px;scroll-margin-bottom:150px}.input-line:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px var(--tint)}.input-line::placeholder{color:#a0abbd;font-size:12px}.order-answer{min-height:74px;background:#fbfcff;border:2px dashed #d8e1f1;border-radius:14px;padding:12px}.word-bank button,.order-answer button{background:white;border:1px solid var(--line);border-bottom:3px solid #ced8e7;border-radius:11px;min-height:46px;padding:10px 15px;font-size:16px;font-weight:500;color:var(--ink)}.order-answer button{background:var(--tint);border-color:color-mix(in srgb,var(--accent) 22%,white);border-bottom-color:color-mix(in srgb,var(--accent) 35%,white)}.cloze-line{background:#f8faff;padding:15px 18px;border-radius:12px;font-size:22px;color:var(--ink)}.cloze-line b{color:var(--accent)}.choice{border:2px solid #e5eaf3;border-radius:13px;background:white;padding:14px 17px;font-size:17px}.choice:has(input:checked){border-color:var(--accent);background:var(--tint)}.choice input{accent-color:var(--accent)}.exercise-actions{margin-top:19px;padding-top:0}.exercise-actions button[type=submit]{min-width:150px}.help-actions{gap:8px}.help-actions button{border:1px solid var(--line);border-radius:9px;min-height:40px;font-size:11px;background:white;color:var(--muted);padding:8px 11px}.help-actions button:hover{background:var(--tint);color:var(--accent)}.feedback{border:1px solid #f1dcc3;background:#fff7ec;border-radius:13px;color:#997242;font-size:13px}.feedback.correct{background:#edf8f1;color:#3d7959;border-color:#d5eddf}.hint-panel{background:var(--tint);border:1px solid color-mix(in srgb,var(--accent) 20%,white);font-size:12px;line-height:1.9;color:var(--ink)}.scene-cue{background:var(--tint);border:1px solid var(--line);font-size:12px}.conversation-history,.task-reference{background:#f9faff;border:1px solid var(--line);border-radius:11px;padding:12px 15px}.conversation-history summary,.task-reference summary,#word-help summary{font-size:11px;color:var(--muted)}.conversation-history li{font-size:12px}.confirmed-facts{background:var(--tint);border-color:var(--line);color:var(--accent-dark);font-size:11px}
.completion-banner{display:flex;align-items:center;gap:20px;margin:2px 0 27px;padding:25px;border-radius:19px;background:var(--tint);border:1px solid color-mix(in srgb,var(--accent) 15%,white)}.completion-mark{display:grid;place-items:center;width:68px;height:68px;background:var(--accent);color:white;border-radius:23px;border-bottom:5px solid var(--accent-dark);flex-shrink:0}.completion-mark svg{width:34px;height:34px}.completion-banner small{font-size:11px;color:var(--accent-dark)}.completion-banner h2{margin:8px 0 0;font-size:25px}.is-complete .completion-mark{animation:finish-pop .45s ease-out both}.is-complete .completion-mark svg path{stroke-dasharray:32;stroke-dashoffset:32;animation:draw-check .5s .15s ease forwards}.is-pending .completion-mark{background:#b1bfd4;border-bottom-color:#8a9ab3}.score-grid{gap:12px}.score-grid div{background:#f8faff;border:1px solid var(--line);border-radius:13px;padding:17px}.score-grid strong{font-size:27px;color:var(--accent)}.score-grid small{color:var(--muted);font-size:10px}.outcome{font-size:17px;border-color:var(--line);padding:15px 0}.outcome .tick{color:var(--accent);background:var(--tint);width:25px;height:25px;display:grid;place-items:center;border-radius:8px;flex-shrink:0;font-size:12px}.outcome small{font-size:11px}.same-stage{margin-top:25px;border-top:1px solid var(--line);padding-top:22px}.same-stage h3{font-size:15px}.switch-next a{background:var(--tint);border-color:color-mix(in srgb,var(--accent) 17%,white);border-radius:12px;padding:13px 8px;color:var(--accent-dark);font-size:11px}.same-stage .switch-next{grid-template-columns:repeat(2,minmax(0,1fr))}.oral-practice{background:#f8faff;border-color:var(--line);margin-top:28px;font-size:12px}.oral-practice h3{font-size:15px}.oral-practice summary{font-size:12px}.grammar-card,.guide-panel,.review-item{border-color:var(--line);background:white;box-shadow:none}.grammar-card h2{font-size:19px}.grammar-card .ref-en{color:var(--accent)}.review-item .button{font-size:12px}.guide-panel{border-radius:22px}summary{color:var(--accent-dark)}footer{border-color:var(--line);font-size:11px;color:#8a97ad;max-width:1144px;padding:25px 0}#toast{background:#304668;border-radius:13px;font-size:12px;bottom:18px}.optional-panel{background:var(--tint)}
@keyframes finish-pop{0%{transform:scale(.75) rotate(-8deg);opacity:0}70%{transform:scale(1.06) rotate(2deg)}100%{transform:scale(1) rotate(0);opacity:1}}@keyframes draw-check{to{stroke-dashoffset:0}}
@media(max-width:1000px){.site-header{padding:16px 26px}.hero h1{font-size:39px}.hero-caption{font-size:10px}.hero-art{min-height:300px}.context-body{padding:18px}.context-body h3{font-size:21px}.journey-layout{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.stage-card{gap:15px}.node-arrow{display:none}.journey-score{gap:12px;padding:18px}.journey-score strong{font-size:23px}.chapter-links{padding:0 15px 18px}.chapter-link{font-size:10px}}
@media(max-width:800px){.site-header{padding:16px 22px}.brand{font-size:16px}.site-header nav a{padding:9px 10px;font-size:12px}main{padding:25px 22px 50px}.hero{gap:20px;min-height:310px}.hero-copy{padding:0}.hero h1{font-size:34px}.hero p{font-size:13px}.hero-art{min-height:285px}.world-stamp{font-size:10px;padding:10px;gap:6px}.world-stamp small{font-size:9px}.world-stamp>svg{width:27px;height:27px}.hero-bottom{gap:12px}.hero-caption{width:100%}.hero-bottom .button{font-size:12px;padding:11px 15px}.context-art{height:146px}.context-body h3{font-size:19px}.section-heading h2{font-size:21px}.journey-layout{grid-template-columns:1fr}.journey-sidebar{position:static;grid-row:1;display:grid;grid-template-columns:1fr 1.2fr}.journey-scene,.journey-note{display:none}.journey-score{padding:18px 22px}.chapter-links{padding:12px 17px;border-left:1px solid var(--line)}.chapter-links h3{display:none}.chapter-link{min-height:32px;padding:4px;font-size:10px}.lesson-rail{padding:20px 22px 14px;grid-template-columns:minmax(0,1fr) 160px;gap:12px}.lesson-title h1{font-size:23px}.step-nav .step{flex:0 0 auto}.step-nav button{padding:9px 8px}.lesson-panel{padding:25px 28px}.learn-controls label:last-of-type{margin-left:0}.step-nav{justify-content:start;gap:7px}footer{margin:0 22px}}
@media(max-width:540px){.site-header{padding:16px 18px 11px;gap:13px}.brand small{font-size:8px}.brand-icon{width:37px;height:37px;font-size:25px}.site-header nav{width:100%;justify-content:space-between;gap:5px;margin:0}.site-header nav a{padding:8px 10px;min-height:36px;font-size:11px}.header-note{display:none}main{padding:22px 16px 40px}.hero{grid-template-columns:1fr;gap:20px;margin:0 0 28px}.hero h1{font-size:36px;line-height:1.35;letter-spacing:-1px}.hero .eyebrow{font-size:9px;margin-bottom:16px}.hero p{font-size:14px;line-height:1.85;margin-bottom:0}.hero-bottom{margin-top:20px;gap:13px}.hero-bottom .button{font-size:13px}.hero-caption{width:auto;font-size:9px}.hero-art{min-height:255px;border-radius:26px}.world-main{padding:25px 0 5px;max-width:430px;margin:auto}.hero-art:before{width:170px;height:170px;right:35px;top:25px}.world-stamp{font-size:10px;padding:9px 12px}.stamp-one{top:14px;left:12px}.stamp-two{bottom:14px;right:12px}.world-stamp small{font-size:9px}.continue-card{padding:16px 17px;gap:11px;margin-bottom:27px}.continue-icon{width:39px;height:39px;flex-shrink:0}.continue-icon svg{width:21px;height:21px}.continue-card h3{font-size:13px;line-height:1.6}.continue-card small,.continue-card div>span{font-size:10px}.continue-arrow svg{width:18px;height:18px}.section-heading{gap:9px;margin-bottom:16px;align-items:start}.section-heading h2{font-size:20px;letter-spacing:-.5px}.section-heading p{font-size:10px}.section-heading .eyebrow{font-size:9px}.context-grid{grid-template-columns:1fr;gap:14px}.context-card{display:grid;grid-template-columns:120px minmax(0,1fr);border-radius:18px;border-bottom-width:3px}.context-art{height:100%;min-height:170px;display:flex;align-items:center;padding:25px 0 0}.context-art svg{width:180px;max-width:none;height:auto;margin-left:-30px;flex-shrink:0}.scene-label{font-size:8px;top:12px;left:12px;letter-spacing:.6px}.context-body{padding:18px 17px}.context-body h3{font-size:19px;margin-bottom:7px;line-height:1.5}.context-body p{font-size:11px;line-height:1.8;min-height:0;margin-bottom:12px}.card-bottom{font-size:10px}.progress-strip{padding:18px 17px;gap:15px;display:flex;align-items:center;flex-wrap:wrap}.progress-strip .radial-progress{--size:3.7rem!important;font-size:15px}.progress-strip>div{flex:0 1 auto;min-width:0}.progress-strip>p{flex:1 0 100%;font-size:11px}.progress-strip .button{font-size:11px;width:100%}.progress-strip strong{font-size:25px}.map-heading{gap:18px;align-items:start;margin-bottom:19px}.page-title h1{font-size:28px;margin:10px 0 8px}.map-heading .toolbar{gap:8px}.toolbar label{font-size:11px}.toolbar select,.toolbar input{font-size:11px;min-height:39px}.toolbar button{min-height:39px}.journey-sidebar{grid-template-columns:1fr}.journey-score{padding:15px 20px;gap:17px}.journey-score .radial-progress{--size:3.6rem!important;font-size:14px}.journey-score strong{font-size:24px}.journey-score p{font-size:10px}.chapter-links{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:10px 12px}.chapter-link{font-size:9px;gap:5px;min-height:40px}.chapter-link svg{display:none}.chapter-link span{font-size:9px}.group-head{padding:17px;gap:12px}.group-head .chapter-index{width:36px;height:36px;font-size:15px}.group-head h2{font-size:15px}.group-head small{font-size:9px}.chapter-flag svg{width:20px;height:20px}.map-chapter{border-radius:18px}.stage-grid{padding:22px 12px}.route-line{top:22px;left:12px;transform:scaleX(.68);transform-origin:left}.stage-card{margin-left:calc(var(--bend)*.68);gap:14px;height:108px;min-height:108px;padding-right:3px}.stage-orb{width:62px;height:62px;box-shadow:0 0 0 6px #fff;border-bottom-width:5px}.stage-orb>svg{width:21px;height:21px;margin-top:-10px}.stage-number{font-size:10px;bottom:7px}.stage-copy h3{font-size:13px;margin:0 0 3px;line-height:1.65}.stage-copy>small{font-size:9px;line-height:1.6}.stage-top{gap:4px;margin-bottom:4px}.stage-top .status{font-size:9px;padding:2px 5px}.here-label{font-size:8px}.learning-heading{gap:11px;margin-bottom:15px}.learning-heading .toolbar{gap:8px;flex-wrap:wrap}.back-link{font-size:11px}.learning-heading .tag{font-size:10px}.lesson-rail{display:block;border-radius:18px;padding:19px 18px 12px;margin-bottom:14px}.lesson-title h1{font-size:22px;line-height:1.5;letter-spacing:-.4px}.lesson-title p{font-size:10px;line-height:1.9}.lesson-progress{margin-top:17px}.lesson-progress>span{font-size:10px;margin-bottom:8px}.lesson-progress .progress{height:5px}.step-nav{padding-top:12px;margin-top:14px;gap:4px;overflow-x:auto;scrollbar-width:thin}.step-nav button{font-size:10px;padding:8px 7px;gap:6px}.step-nav button span{width:18px;height:18px;font-size:9px}.lesson-panel{padding:20px 17px;border-radius:18px}.learn-controls{font-size:9px;gap:8px;margin-bottom:20px;padding-bottom:12px;flex-wrap:wrap}.learn-controls select{font-size:10px;padding:4px;min-height:32px}#voice-status{font-size:9px}.lesson-panel h2{font-size:22px;line-height:1.5}.lesson-panel>div>p{font-size:13px}.practical-outcomes{padding:14px 16px;font-size:12px}.task-overview{padding:14px}.task-overview p{font-size:12px}.lesson-kit{padding:13px 14px}.lesson-kit summary{font-size:12px}.callout,.goal-list{font-size:12px}.buttons>button{min-width:110px;font-size:12px;flex:1}.example{padding:17px 15px}.sentence{font-size:20px;line-height:1.6}.question-top{gap:7px}.question-top .tag{font-size:10px}.question-top small{font-size:10px}.speaker.chat-header{font-size:11px;gap:8px}.speaker .avatar{width:32px;height:32px;border-radius:10px;font-size:14px}.partner-en.chat-bubble{padding:16px 15px;gap:10px;min-height:70px}.partner-en>span{font-size:20px;line-height:1.65}.partner-en button{width:34px;height:34px;min-height:34px;flex-shrink:0}.dialogue-bubble .translation{font-size:11px}.info-card{font-size:11px;padding:12px 14px}.response-heading{font-size:13px}.input-line{font-size:18px;padding:12px 13px;min-height:52px}.exercise-label{font-size:10px}.word-bank button,.order-answer button{font-size:15px;padding:9px 12px;min-height:44px}.cloze-line{font-size:20px;padding:13px}.choice{font-size:16px;padding:12px}.exercise-actions{position:sticky;bottom:8px;padding:9px 0 0;background:white;z-index:3;gap:8px;isolation:isolate}.exercise-actions button[type=submit]{min-width:100px}.help-actions{gap:6px}.help-actions button{font-size:10px;padding:8px 9px;min-height:40px}.feedback{font-size:12px;padding:13px 15px}.completion-banner{padding:18px 16px;gap:14px}.completion-mark{width:53px;height:53px;border-radius:18px}.completion-mark svg{width:27px;height:27px}.completion-banner h2{font-size:21px}.completion-banner small{font-size:10px}.score-grid{gap:7px}.score-grid div{padding:13px 9px}.score-grid strong{font-size:23px}.score-grid small{font-size:9px;line-height:1.7}.contrast-card{padding:14px}.outcome{font-size:16px;gap:10px}.outcome small{font-size:10px}.switch-next{gap:7px}.switch-next a{font-size:10px;padding:11px 5px;line-height:1.8}.same-stage h3{font-size:14px}.oral-practice{padding:14px}.grammar-card{padding:20px}.grammar-card .ref-en{font-size:18px}.guide-panel{padding:21px}.guide-panel p,.guide-panel li{font-size:13px}.review-item{padding:16px;flex-wrap:wrap}.review-item h3{font-size:16px}footer{margin:0 16px;padding:22px 0;display:block;font-size:10px}footer span{display:block;margin-top:7px}}
/* Explicitly reset the old column cards; the map pairs each node with its task. */
.stage-card{flex-direction:row}.stage-card h3{flex:none}
.radial-progress:before{background:conic-gradient(currentColor calc(var(--value)*1%),#e8edf5 0)}
@media(max-width:540px){.route-line{left:17px}.exercise-actions{position:static}#exercise-form:has(#answer):focus-within .exercise-actions{position:sticky;bottom:calc(8px + var(--keyboard-inset,0px));box-shadow:0 -7px 12px white}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.is-complete .completion-mark svg path{stroke-dashoffset:0}button:hover,.button:hover,.context-card:hover,.stage-card:hover .stage-orb{transform:none}}
/* Sentence explanations stay secondary to the response, including on narrow screens. */
.sentence-note{margin:14px 0;border:1px solid var(--line,#e4e8ee);border-radius:16px;background:#f8faff;padding:14px 16px;color:#283b55;min-width:0;overflow-wrap:anywhere}
.sentence-note .note-summary{margin:0 0 9px;font-size:14px;line-height:1.75}
.sentence-note details{margin:0;background:transparent;border:0;padding:0}
.sentence-note summary{font-weight:650;font-size:14px;line-height:1.65;cursor:pointer}
.sentence-note h4{font-size:15px;margin:22px 0 9px}
.sentence-note details p{font-size:14px;line-height:1.85;margin:8px 0}
.note-rule{background:#fff;border-left:3px solid var(--accent);border-radius:0 12px 12px 0;padding:12px 14px}
.note-rule-label{display:block;font-size:12px;font-weight:700;color:var(--accent-dark);margin-bottom:6px}
.sentence-note .note-rule p{margin:0;line-height:1.85}
.sentence-note .note-more{margin-top:12px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 14px}
.sentence-note .note-more>summary{padding:12px 0;font-size:13px;min-height:44px}
.note-more>summary span{margin-left:8px;font-size:12px;font-weight:400;color:var(--muted)}
.note-points{list-style:decimal;margin:0;padding:0 0 2px 22px;font-size:14px;line-height:1.85}
.note-points li{padding:10px 0 12px 4px;border-top:1px solid var(--line)}
.note-points li::marker{color:var(--accent);font-weight:700}
.note-segments{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:9px;margin-top:16px}
.note-segments>div{padding:12px;background:white;border:1px solid #dde6f1;border-radius:12px;min-width:0}
.note-segments b{display:block;font-size:17px;color:#183b66;line-height:1.6}
.note-segments span{display:block;font-size:13px;margin-top:6px;line-height:1.75}
.note-error{border-left:3px solid #dfae68;padding:10px 14px;background:#fff8ec;border-radius:0 10px 10px 0;margin-top:18px}
.note-error>p[lang=en]{text-decoration:underline wavy #d5a676;text-underline-offset:5px}
.note-ahead{background:#edf3fb;border-radius:10px;padding:12px}
.note-variant{padding:10px;background:white;border-radius:10px;color:#183b66;font-weight:650}
.annotation--partner{background:#fff;margin-top:12px}.annotation--partner .note-summary{font-size:13px;color:#4c627d}
.answer-reference{margin:20px 0}.answer-reference>.sentence{margin:8px 0}
@media(max-width:480px){.sentence-note{padding:12px;border-radius:12px}.note-segments{grid-template-columns:1fr}.note-segments b{font-size:16px}}
