/* Trí Lữ Journey V29 — lớp bố cục khôi phục từ canary 14/08.
 * Scope bằng html.journey-v29; runtime và dữ liệu bài học bên dưới giữ nguyên. */
@font-face{font-family:"Be Vietnam Pro";src:url("/tra-cuu-fonts/be-vietnam-pro-400-vietnamese.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Be Vietnam Pro";src:url("/tra-cuu-fonts/be-vietnam-pro-600-vietnamese.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:"Bricolage Grotesque";src:url("/tra-cuu-fonts/bricolage-grotesque-500-600-vietnamese.woff2") format("woff2");font-style:normal;font-weight:500 700;font-display:swap}

html.journey-v29{
  --j-ink:#0b2137;--j-muted:#344c61;--j-open:#155e91;--j-form:#0e7a6f;
  --j-example:#b0344f;--j-check:#8a4bc4;--j-warm:#9c4d08;
  --j-line:rgba(37,74,101,.28);--j-edge:rgba(255,255,255,.68);
  --j-glass:rgba(239,248,250,.34);--j-glass-strong:rgba(250,251,247,.72);
  --j-glass-raised:rgba(250,252,249,.82);--j-shadow:0 22px 70px rgba(27,47,66,.18);
  --j-signature:linear-gradient(120deg,#155e91,#8a4bc4 52%,#b0344f);
  min-width:320px;color-scheme:light;background:#dfeaf2;
}
html.journey-v29[data-mode="dark"]{
  --j-ink:#f9fcff;--j-muted:#d7e5ef;--j-open:#7cc8f5;--j-form:#6fe3d0;
  --j-example:#ffa3b8;--j-check:#c9a6ff;--j-warm:#ffc073;
  --j-line:rgba(201,231,250,.24);--j-edge:rgba(237,249,255,.38);
  --j-glass:rgba(6,20,38,.68);--j-glass-strong:rgba(7,24,44,.78);
  --j-glass-raised:rgba(9,28,50,.84);--j-shadow:0 22px 80px rgba(0,5,15,.44);
  --j-signature:linear-gradient(120deg,#83e8ff,#c7a9ff 52%,#ff9bc8);
  color-scheme:dark;background:#020713;
}

html.journey-v29 body{margin:0!important;min-height:100dvh!important;overflow-x:hidden!important;color:var(--j-ink)!important;font-family:"Be Vietnam Pro",system-ui,sans-serif!important;font-size:18px!important;line-height:1.65!important;background:transparent!important}
html.journey-v29 body::before,html.journey-v29 body::after{display:none!important}
html.journey-v29 button,html.journey-v29 a{font-family:inherit}
html.journey-v29 button:focus-visible,html.journey-v29 a:focus-visible{outline:3px solid var(--j-open)!important;outline-offset:3px}
.journey-skip{position:fixed;z-index:1000;top:10px;left:10px;transform:translateY(-160%);padding:10px 16px;border-radius:12px;background:#fff;color:#061629;font-weight:600;text-decoration:none}.journey-skip:focus{transform:none}

.journey-atmosphere{position:fixed;inset:0;z-index:-3;overflow:hidden;background:#dfeaf2;contain:layout paint style}
html[data-mode="dark"] .journey-atmosphere{background:#020713}
.journey-atmosphere__scene{position:absolute;inset:-1.5%;background-position:center top;background-repeat:no-repeat;background-size:cover;transition:opacity .72s cubic-bezier(.2,.78,.25,1)}
.journey-atmosphere__scene--light{z-index:0;opacity:1;background-image:image-set(url("/anh-art/lesson-dawn-900.avif") type("image/avif"),url("/anh-art/lesson-dawn-900.webp") type("image/webp"))}
.journey-atmosphere__scene--dark{z-index:1;opacity:0}
html[data-mode="dark"] .journey-atmosphere__scene--light{opacity:0;background-image:none}
html[data-mode="dark"] .journey-atmosphere__scene--dark{opacity:1;background-image:image-set(url("/anh-art/lesson-night-900.avif") type("image/avif"),url("/anh-art/lesson-night-900.webp") type("image/webp"))}
html.journey-scenes-ready:not([data-mode="dark"]) .journey-atmosphere__scene--dark{background-image:image-set(url("/anh-art/lesson-night-900.avif") type("image/avif"),url("/anh-art/lesson-night-900.webp") type("image/webp"))}
html.journey-scenes-ready[data-mode="dark"] .journey-atmosphere__scene--light{background-image:image-set(url("/anh-art/lesson-dawn-900.avif") type("image/avif"),url("/anh-art/lesson-dawn-900.webp") type("image/webp"))}
.journey-atmosphere::after{content:"";position:absolute;inset:0;z-index:4;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(235,245,251,.06) 42%,rgba(214,228,239,.50) 100%),radial-gradient(circle at 73% 52%,rgba(255,206,164,.20),transparent 32%)}
html[data-mode="dark"] .journey-atmosphere::after{background:linear-gradient(180deg,rgba(1,5,14,.04),rgba(2,7,19,.24) 52%,rgba(2,7,19,.72) 100%),radial-gradient(circle at 13% 73%,rgba(26,83,126,.16),transparent 28%)}
.journey-atmosphere__mist{position:absolute;z-index:2;left:-16%;width:132%;height:22vh;min-height:120px;border-radius:50%;opacity:.42;background:linear-gradient(90deg,transparent,rgba(255,255,255,.48) 22%,rgba(220,236,246,.34) 57%,transparent 86%)}
.journey-atmosphere__mist--near{bottom:8%}.journey-atmosphere__mist--far{right:-20%;bottom:31%;left:auto;width:92%;height:12vh;opacity:.24}
html[data-mode="dark"] .journey-atmosphere__mist{opacity:.09;background:linear-gradient(90deg,transparent,rgba(112,174,222,.34) 32%,rgba(255,246,212,.12) 62%,transparent 88%)}

@media(min-width:760px){
  .journey-atmosphere__scene--light{background-image:image-set(url("/anh-art/lesson-dawn-1200.avif") type("image/avif"),url("/anh-art/lesson-dawn-1200.webp") type("image/webp"))}
  html[data-mode="dark"] .journey-atmosphere__scene--dark{background-image:image-set(url("/anh-art/lesson-night-1200.avif") type("image/avif"),url("/anh-art/lesson-night-1200.webp") type("image/webp"))}
}
@media(min-width:1400px){
  .journey-atmosphere__scene--light{background-image:image-set(url("/anh-art/lesson-dawn-1672.avif") type("image/avif"),url("/anh-art/lesson-dawn-1672.webp") type("image/webp"))}
  html[data-mode="dark"] .journey-atmosphere__scene--dark{background-image:image-set(url("/anh-art/lesson-night-1672.avif") type("image/avif"),url("/anh-art/lesson-night-1672.webp") type("image/webp"))}
}

html.journey-v29 .app{display:block!important;width:100%!important;max-width:none!important;min-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html.journey-v29 .hd.journey-header{position:sticky!important;top:0!important;z-index:50!important;min-height:82px!important;padding:10px clamp(16px,3vw,46px)!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.24)!important;border-radius:0!important;background:linear-gradient(110deg,rgba(247,251,251,.58),rgba(240,246,248,.24))!important;-webkit-backdrop-filter:blur(24px) saturate(170%)!important;backdrop-filter:blur(24px) saturate(170%)!important;box-shadow:0 12px 34px rgba(18,39,57,.10)!important}
html[data-mode="dark"].journey-v29 .hd.journey-header{background:linear-gradient(110deg,rgba(4,18,34,.88),rgba(4,17,34,.68))!important;box-shadow:0 12px 34px rgba(0,6,16,.28)!important}
html.journey-v29 .hd-row{display:grid!important;grid-template-columns:auto auto minmax(180px,1fr) auto auto!important;align-items:center!important;gap:12px!important}
html.journey-v29 .hd-back,html.journey-v29 .hd-mode{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:14px!important;border:1px solid var(--j-edge)!important;background:linear-gradient(135deg,rgba(255,255,255,.23),rgba(255,255,255,.04)),var(--j-glass)!important;color:var(--j-ink)!important;box-shadow:inset 0 1px rgba(255,255,255,.32),0 9px 24px rgba(8,28,44,.12)!important}
.journey-brand{display:flex;align-items:center;gap:10px;min-width:44px;min-height:44px;text-decoration:none;color:var(--j-ink)}
.journey-brand__seal{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;border:1px solid rgba(255,228,206,.72);background:linear-gradient(145deg,#bc4934,#912c30);box-shadow:inset 0 1px rgba(255,255,255,.3),0 8px 22px rgba(77,22,26,.18);color:#fff8e8;font-family:"Yu Mincho",serif;font-size:18px;letter-spacing:-.08em}
.journey-brand__copy{display:grid;gap:2px;line-height:1}.journey-brand__copy b{font-family:"Bricolage Grotesque",sans-serif;font-size:22px}.journey-brand__copy small{font-size:12px;font-weight:600;letter-spacing:.18em;color:var(--j-muted)}
html.journey-v29 .hd-tt{text-align:center!important}html.journey-v29 .hd-kicker{font-family:"Be Vietnam Pro",sans-serif!important;font-size:13px!important;font-weight:700!important;letter-spacing:.13em!important;color:var(--j-warm)!important}html.journey-v29 .hd-name{font-family:"Bricolage Grotesque",sans-serif!important;font-size:20px!important;font-weight:600!important;color:var(--j-ink)!important}
html.journey-v29 .pbar{height:6px!important;margin-top:6px!important;background:color-mix(in srgb,var(--j-ink) 10%,transparent)!important}html.journey-v29 .pbar>i{background:var(--j-signature)!important}html.journey-v29 .pmeta{font-family:"Be Vietnam Pro",sans-serif!important;font-size:14px!important;color:var(--j-muted)!important}

.journey-shell{width:min(1540px,100%);min-height:calc(100dvh - 82px);margin:0 auto;padding:clamp(18px,3vw,42px);display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr) minmax(195px,245px);gap:clamp(16px,2vw,28px);align-items:start}
.journey-panel,.journey-toolbox,.journey-stage,.journey-companion{border:1px solid var(--j-edge);background:var(--j-glass);-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);box-shadow:var(--j-shadow),inset 0 1px rgba(255,255,255,.45),inset 0 -1px rgba(12,34,54,.10)}
.journey-left{position:sticky;top:104px;display:grid;gap:12px;max-height:calc(100dvh - 126px)}
.journey-panel{position:static;max-height:calc(100dvh - 272px);overflow:auto;border-radius:24px;padding:20px 14px;scrollbar-width:thin}
.journey-toolbox{border-radius:20px;padding:12px 14px}
.journey-panel__title{padding:0 8px 18px;border-bottom:1px solid var(--j-line)}.journey-panel__title small,.journey-tools-title{display:block;font-size:14px;font-weight:700;letter-spacing:.13em;color:var(--j-warm)}.journey-panel__title strong{display:block;margin-top:6px;font-family:"Bricolage Grotesque",sans-serif;font-size:20px;line-height:1.2}
.journey-step-list{display:grid;margin-top:12px}.journey-step{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:8px;border:0;border-radius:15px;background:transparent;text-align:left;cursor:pointer;color:var(--j-ink)}.journey-step::before{content:"";position:absolute;left:23px;top:-9px;width:1px;height:18px;background:var(--j-line)}.journey-step:first-child::before{display:none}.journey-step__num{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--j-line);border-radius:50%;background:rgba(255,255,255,.07);font-family:"Bricolage Grotesque",sans-serif;font-size:14px;font-weight:700}.journey-step__copy{min-width:0}.journey-step__copy b{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.journey-step__copy small{display:block;font-size:14px;color:var(--j-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.journey-step[aria-current="step"]{background:linear-gradient(110deg,color-mix(in srgb,var(--j-open) 20%,transparent),color-mix(in srgb,var(--j-check) 14%,transparent));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--j-open) 34%,transparent)}.journey-step[aria-current="step"] .journey-step__num{border-color:transparent;background:var(--j-signature);color:#061426}.journey-step[aria-current="step"] .journey-step__copy b{color:var(--j-open)}.journey-step.is-done .journey-step__num{border-color:transparent;background:var(--j-signature);color:#06131f;opacity:.55}
.journey-tools-title{margin:0 4px 8px}
html.journey-v29 .journey-toolbox .bnav{position:static!important;left:auto!important;bottom:auto!important;transform:none!important;z-index:auto!important;width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:0!important;border:0!important;background:transparent!important;backdrop-filter:none!important;box-shadow:none!important}
html.journey-v29 .journey-toolbox .bnav.source-no-exercises{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html.journey-v29 .journey-toolbox .bnav button{min-height:56px!important;padding:8px 4px!important;border:1px solid transparent!important;border-radius:14px!important;font-size:13px!important;color:var(--j-muted)!important}html.journey-v29 .journey-toolbox .bnav button.on{border-color:color-mix(in srgb,var(--j-open) 25%,transparent)!important;background:color-mix(in srgb,var(--j-open) 12%,transparent)!important;color:var(--j-open)!important}html.journey-v29 .journey-toolbox .bnav button .ic{font-size:20px!important}
.journey-back{display:flex;align-items:center;min-height:44px;margin:14px 8px 0;padding-top:14px;border-top:1px solid var(--j-line);font-size:15px;font-weight:600;text-decoration:none;color:var(--j-muted)}

.tl-section-picker{display:none;grid-template-columns:92px minmax(0,1fr) 92px;gap:8px;margin:0;padding:8px;border:1px solid var(--j-edge);border-radius:20px;background:var(--j-glass);box-shadow:inset 0 1px rgba(255,255,255,.34)}
.tl-section-picker button{min-width:0;min-height:56px;border:1px solid var(--j-line);border-radius:15px;background:var(--j-glass-raised);color:var(--j-ink);cursor:pointer}
.tl-section-picker button:not(:disabled):hover{border-color:color-mix(in srgb,var(--j-open) 52%,var(--j-line));background:color-mix(in srgb,var(--j-open) 11%,var(--j-glass-raised))}
.tl-section-picker__direction{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;font-size:14px}.tl-section-picker__direction span{color:var(--j-open);font-family:"Bricolage Grotesque",sans-serif;font-size:18px}.tl-section-picker__direction:disabled{cursor:not-allowed;opacity:.42}
.tl-section-picker__current{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;text-align:left}.tl-section-picker__current>span{display:grid;min-width:0;gap:2px}.tl-section-picker__current small{color:var(--j-open);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.tl-section-picker__current b{overflow:hidden;font-family:"Bricolage Grotesque",sans-serif;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.tl-section-picker__current i{color:var(--j-open);font-family:"Bricolage Grotesque",sans-serif;font-size:20px;font-style:normal}.tl-section-picker__current:disabled{cursor:default;opacity:1}
.tl-section-picker.is-single{grid-template-columns:minmax(0,1fr)}.tl-section-picker.is-single .tl-section-picker__direction{display:none}.tl-section-picker.is-single .tl-section-picker__current{justify-content:center;text-align:center}
.tl-section-dialog{width:min(680px,calc(100% - 28px));max-height:min(82dvh,760px);margin:auto;padding:0;overflow:hidden;border:1px solid var(--j-edge);border-radius:24px;background:var(--j-glass-raised);color:var(--j-ink);box-shadow:0 28px 90px rgba(2,8,18,.42);-webkit-backdrop-filter:blur(24px) saturate(165%);backdrop-filter:blur(24px) saturate(165%)}
.tl-section-dialog:not([open]){display:none}.tl-section-dialog::backdrop{background:rgba(3,10,20,.60);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.tl-section-dialog__inner{max-height:min(82dvh,760px);overflow:auto;padding:20px}.tl-section-dialog__head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 16px;border-bottom:1px solid var(--j-line);background:var(--j-glass-raised)}.tl-section-dialog__head small{color:var(--j-warm);font-size:13px;font-weight:700;letter-spacing:.13em}.tl-section-dialog__head h2{margin:4px 0 0;font-family:"Bricolage Grotesque",sans-serif;font-size:25px}.tl-section-dialog__close{min-width:64px;min-height:44px;padding:8px 14px;border:1px solid var(--j-line);border-radius:14px;background:transparent;color:var(--j-ink);font-weight:700;cursor:pointer}
.tl-section-dialog__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0 0;padding:0;border-top:1px solid var(--j-line);list-style:none}.tl-section-dialog__list li{min-width:0;border-right:1px solid var(--j-line);border-bottom:1px solid var(--j-line)}.tl-section-dialog__list li:nth-child(2n){border-right:0}.tl-section-dialog__list button{display:grid;width:100%;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;min-height:68px;padding:10px 12px;border:0;background:transparent;color:var(--j-muted);text-align:left;cursor:pointer}.tl-section-dialog__list button>span:first-child{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--j-line);border-radius:50%;font-family:"Bricolage Grotesque",sans-serif;font-size:13px;font-weight:700}.tl-section-dialog__copy{display:grid;min-width:0;gap:2px}.tl-section-dialog__copy b{overflow:hidden;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.tl-section-dialog__copy small{overflow:hidden;color:var(--j-muted);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.tl-section-dialog__list button:hover,.tl-section-dialog__list button[aria-current="step"]{background:color-mix(in srgb,var(--j-open) 12%,transparent);color:var(--j-open)}.tl-section-dialog__list button[aria-current="step"]>span:first-child{border-color:transparent;background:var(--j-signature);color:#fff}

.journey-settings-trigger{min-width:44px!important;min-height:44px!important;display:grid!important;place-items:center!important;cursor:pointer!important}
.journey-settings-dialog{width:min(470px,calc(100% - 24px));max-height:min(720px,calc(100dvh - 24px));margin:auto;padding:0;overflow:auto;border:1px solid var(--j-edge);border-radius:24px;background:var(--j-glass-raised);color:var(--j-ink);box-shadow:0 28px 90px rgba(2,8,18,.42);-webkit-backdrop-filter:blur(24px) saturate(165%);backdrop-filter:blur(24px) saturate(165%)}
.journey-settings-dialog::backdrop{background:rgba(3,10,20,.62);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.journey-settings-dialog__head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:12px 18px;border-bottom:1px solid var(--j-line);background:var(--j-glass-raised);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.journey-settings-dialog__head h2{margin:0;font-family:"Bricolage Grotesque",sans-serif;font-size:22px;color:var(--j-ink)}
.journey-settings-close{min-width:60px;min-height:44px;padding:8px 14px;border:1px solid var(--j-line);border-radius:14px;background:transparent;color:var(--j-ink);font-weight:700;cursor:pointer}
.journey-settings-dialog__intro{margin:0;padding:18px 18px 14px;color:var(--j-muted);font-size:14px}
.journey-settings-dialog__body{display:grid;padding:0 18px 18px}
.journey-settings-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:72px;padding:12px 0;border-top:1px solid var(--j-line)}
.journey-settings-row[hidden]{display:none!important}
.journey-settings-row__copy b,.journey-settings-row__copy small{display:block}.journey-settings-row__copy b{font-size:15px}.journey-settings-row__copy small{margin-top:3px;color:var(--j-muted);font-size:12px;line-height:1.4}
.journey-settings-row__control{display:flex;align-items:center;justify-content:flex-end;min-width:44px}
.journey-settings-row__control>.hd-mode,.journey-settings-row__control>button,.journey-settings-row__control>a{position:static!important;inset:auto!important;min-width:44px!important;min-height:44px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--j-line)!important;border-radius:14px!important;background:rgba(255,255,255,.07)!important;color:var(--j-ink)!important;box-shadow:none!important;transform:none!important;text-decoration:none!important}
.journey-settings-row__control #tl-ctl{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;transform:none!important;z-index:auto!important}.journey-settings-row__control #tl-mode-btn{display:none!important}.journey-settings-row__control #tl-lang{min-height:44px!important;padding:0 14px!important}.journey-settings-row__control #tl-menu{top:50px!important;right:0!important;bottom:auto!important;left:auto!important;z-index:5!important}
.journey-settings-row__control #tl-furi,.journey-settings-row__control #hnc-am,.journey-settings-row__control #tln-bell,.journey-settings-row__control #tlp-btn{position:static!important;inset:auto!important;display:flex!important;min-width:44px!important;min-height:44px!important;margin:0!important;transform:none!important;box-shadow:none!important}
.journey-settings-row__control #modeBtn[data-journey-label],.journey-settings-row__control #hnc-am[data-journey-label]{min-width:72px!important;padding:0 11px!important;gap:6px!important;font-size:16px!important}.journey-settings-row__control #modeBtn[data-journey-label]::after,.journey-settings-row__control #hnc-am[data-journey-label]::after{content:attr(data-journey-label);font-size:12px;font-weight:700}
.journey-settings-row__control #modeBtn[data-journey-label]::after,.journey-settings-row__control #hnc-am[data-journey-label]::after{display:inline-block!important;color:var(--j-ink)!important}.journey-settings-row__control a[aria-label="Mở tài liệu nguồn"]{min-width:78px!important;padding:0 12px!important;font-size:12px!important;font-weight:700!important}
.journey-settings-row__control:empty{display:none}.journey-settings-control{flex:0 0 auto}

.journey-stage{position:relative;min-height:calc(100dvh - 150px);overflow:hidden;border-radius:30px;padding:clamp(24px,3vw,48px);background:linear-gradient(135deg,rgba(255,255,255,.12),transparent 45%),var(--j-glass-strong)}
.journey-stage::before{content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at 10% 0,rgba(255,255,255,.24),transparent 34%),linear-gradient(105deg,rgba(96,213,244,.06),transparent 42%,rgba(255,141,188,.06));box-shadow:inset 0 1px rgba(255,255,255,.28)}
html[data-mode="dark"] .journey-stage::before{background:linear-gradient(105deg,color-mix(in srgb,var(--j-open) 7%,transparent),transparent 46%,color-mix(in srgb,var(--j-example) 6%,transparent));box-shadow:inset 0 1px rgba(160,215,255,.10)}
.journey-stage__glyph{position:absolute;right:-18px;top:72px;z-index:0;font-family:"Yu Mincho",serif;font-size:clamp(64px,7.5vw,132px);line-height:.9;writing-mode:vertical-rl;color:var(--j-open);opacity:.065;pointer-events:none}
.journey-stage__body{position:relative;z-index:1}.journey-stage .view{padding:0!important;background:transparent!important}.journey-stage .view.on{display:block!important}
html.journey-v29 .v25-rail{display:none!important}
html.journey-v29 .lm-switch{margin:0 0 18px!important;min-height:48px!important;border:1px solid var(--j-line)!important;background:rgba(255,255,255,.06)!important}html.journey-v29 .lm-switch button{min-height:46px!important;font-size:14px!important;color:var(--j-muted)!important}html.journey-v29 .lm-switch button.on{background:linear-gradient(110deg,var(--j-open),var(--j-check))!important;color:#fff!important}
html.journey-v29 #flowBox,html.journey-v29 #pointList,html.journey-v29 #wordList{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
html.journey-v29 .fl-top{min-height:60px;margin:0 0 20px!important;padding:0 0 18px!important;border-bottom:1px solid var(--j-line)!important}html.journey-v29 .fl-step{font-family:"Be Vietnam Pro",sans-serif!important;font-size:13px!important;font-weight:700!important;letter-spacing:.13em!important;color:var(--j-open)!important}html.journey-v29 .fl-dots i{width:9px!important;height:9px!important;background:color-mix(in srgb,var(--j-ink) 12%,transparent)!important;border-color:var(--j-line)!important}html.journey-v29 .fl-dots i.on{background:var(--j-signature)!important}
html.journey-v29 .fl-dots.hnc{gap:0!important;flex-wrap:wrap!important;justify-content:flex-end!important}html.journey-v29 .fl-dots.hnc i[role="button"]{display:inline-grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border:0!important;border-radius:50%!important;background:transparent!important;transform:none!important}html.journey-v29 .fl-dots.hnc i[role="button"]::before{content:"";width:11px;height:11px;border:1px solid var(--j-line);border-radius:50%;background:color-mix(in srgb,var(--j-ink) 12%,transparent);transition:transform .2s,background .2s}html.journey-v29 .fl-dots.hnc i[role="button"]::after{display:none!important}html.journey-v29 .fl-dots.hnc i[role="button"].on::before{background:var(--j-signature)}html.journey-v29 .fl-dots.hnc i[role="button"]:hover::before,html.journey-v29 .fl-dots.hnc i[role="button"]:focus-visible::before{transform:scale(1.35)}
html.journey-v29 .fl-stage{overflow:visible!important}html.journey-v29 .wcard{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--j-ink)!important}html.journey-v29 .wcard::before,html.journey-v29 .wcard::after{display:none!important}
html.journey-v29 .w-num{position:static!important;display:inline-flex!important;width:auto!important;min-width:44px!important;min-height:36px!important;margin-bottom:10px!important;padding:5px 12px!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:999px!important;background:var(--j-signature)!important;color:#fff!important;font-size:13px!important;font-weight:700!important}
html.journey-v29 .w-hero{padding:0 0 22px!important;text-align:left!important;border-bottom:1px solid var(--j-line)!important}html.journey-v29 .g-title,html.journey-v29 .w-kanji{max-width:18ch!important;margin:0!important;font-family:"Bricolage Grotesque","Noto Sans JP",sans-serif!important;font-size:clamp(30px,3.2vw,48px)!important;font-weight:600!important;line-height:1.18!important;letter-spacing:-.025em!important;color:var(--j-ink)!important;text-align:left!important}html[data-mode="dark"].journey-v29 .g-title,html[data-mode="dark"].journey-v29 .w-kanji{text-shadow:0 0 28px rgba(124,200,245,.28),0 0 64px rgba(201,166,255,.14)!important}
html.journey-v29 .w-mean{margin:12px 0 0!important;text-align:left!important;font-size:18px!important;color:var(--j-muted)!important}html.journey-v29 .tl-meaning-toggle{min-width:110px!important;min-height:44px!important;margin:12px 0 0!important;border:1px solid transparent!important;border-radius:14px!important;background:linear-gradient(var(--j-glass-raised),var(--j-glass-raised)) padding-box,var(--j-signature) border-box!important;color:var(--j-ink)!important}
html.journey-v29 .g-sec,html.journey-v29 .kb,html.journey-v29 .w-ex{margin-top:24px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}html.journey-v29 .g-lbl,html.journey-v29 .kb-title{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:12px!important;font-family:"Bricolage Grotesque",sans-serif!important;font-size:20px!important;font-weight:600!important;letter-spacing:0!important;color:var(--j-open)!important}html.journey-v29 .g-lbl::before,html.journey-v29 .kb-title::before{content:"";width:7px;height:28px;border-radius:6px;background:var(--j-signature)}html.journey-v29 .kb-title::after{display:none!important}
html.journey-v29 .g-struct,html.journey-v29 .g-explain,html.journey-v29 .g-cmp,html.journey-v29 .g-usage,html.journey-v29 .kb-row,html.journey-v29 .kb-combine,html.journey-v29 .kb-note{border:1px solid var(--j-line)!important;border-radius:18px!important;background:var(--j-glass-raised)!important;color:var(--j-ink)!important;box-shadow:inset 0 1px rgba(255,255,255,.35)!important}html.journey-v29 .g-struct{padding:20px 24px!important;border-left:4px solid var(--j-form)!important;font-family:"Yu Mincho","Noto Serif JP",serif!important;font-size:clamp(20px,1.7vw,27px)!important;line-height:1.7!important}html.journey-v29 .g-explain,html.journey-v29 .g-cmp{padding:18px 20px!important;font-size:17px!important;line-height:1.75!important}html.journey-v29 .g-usage{padding:18px 20px 18px 38px!important;font-size:16px!important}
html.journey-v29 .g-exs{display:grid!important;gap:10px!important}html.journey-v29 .g-ex{position:relative!important;display:block!important;padding:16px 18px!important;border:1px solid var(--j-line)!important;border-left:3px solid color-mix(in srgb,var(--j-example) 62%,transparent)!important;border-radius:17px!important;background:linear-gradient(100deg,color-mix(in srgb,var(--j-example) 6%,transparent),transparent 62%),var(--j-glass-raised)!important}html.journey-v29 .g-ex .jp{font-family:"Yu Mincho","Noto Serif JP",serif!important;font-size:clamp(19px,1.5vw,23px)!important;line-height:2.05!important;color:var(--j-ink)!important}html.journey-v29 .g-ex .vn{font-size:14px!important;color:var(--j-muted)!important}html.journey-v29 .tl-example-meaning-toggle,html.journey-v29 .exspk{min-height:44px!important;margin-top:8px!important;border:1px solid var(--j-line)!important;border-radius:14px!important;background:rgba(255,255,255,.07)!important;color:var(--j-ink)!important}
html.journey-v29 .source-hold{font-size:14px!important;color:var(--j-muted)!important}
html.journey-v29 .exspk{min-width:44px!important}
html.journey-v29 #tl-furi,html.journey-v29 button.noi{min-height:44px!important}
html.journey-v29 .w-foot{margin-top:24px!important;padding-top:18px!important;border-top:1px solid var(--j-line)!important}html.journey-v29 .knowbtn{min-height:48px!important;border:1px solid var(--j-line)!important;border-radius:15px!important;background:rgba(255,255,255,.08)!important;color:var(--j-muted)!important}html.journey-v29 .knowbtn.on{color:var(--j-form)!important}
html.journey-v29 .fl-nav{display:grid!important;grid-template-columns:auto minmax(180px,1fr)!important;gap:12px!important;margin-top:22px!important;padding-top:18px!important;border-top:1px solid var(--j-line)!important}html.journey-v29 .fl-prev,html.journey-v29 .fl-next{min-width:52px!important;min-height:50px!important;border-radius:15px!important}html.journey-v29 .fl-next{border:0!important;background:var(--j-signature)!important;color:#fff!important;box-shadow:0 10px 28px color-mix(in srgb,var(--j-check) 28%,transparent)!important}html.journey-v29 .fl-hintswipe{font-size:13px!important;color:var(--j-muted)!important}
html.journey-v29 .exwrap{width:100%!important;max-width:none!important;margin:0!important;padding:clamp(20px,3vw,32px)!important;border:1px solid color-mix(in srgb,var(--j-check) 34%,transparent)!important;border-radius:22px!important;background:linear-gradient(120deg,color-mix(in srgb,var(--j-check) 11%,transparent),color-mix(in srgb,var(--j-open) 8%,transparent)),var(--j-glass-raised)!important;box-shadow:none!important;color:var(--j-ink)!important}html.journey-v29 .q-label{font-size:13px!important;font-weight:700!important;letter-spacing:.12em!important;color:var(--j-check)!important}html.journey-v29 .q-stem{font-family:"Bricolage Grotesque",sans-serif!important;font-size:clamp(22px,2vw,30px)!important;line-height:1.35!important;color:var(--j-ink)!important}html.journey-v29 .nextbtn,html.journey-v29 .ghost,html.journey-v29 .opt,html.journey-v29 .mt{min-height:48px!important;border-radius:14px!important}
html.journey-v29 .ex-quit{min-width:44px!important;min-height:44px!important}html.journey-v29 #xtraBar>button{min-height:44px!important}
html.journey-v29 #pointList .wcard,html.journey-v29 #wordList .wcard{margin-bottom:18px!important;padding:22px!important;border:1px solid var(--j-line)!important;border-radius:22px!important;background:var(--j-glass-raised)!important;box-shadow:inset 0 1px rgba(255,255,255,.38)!important;scroll-margin-top:110px!important}html.journey-v29 .journey-target{outline:3px solid var(--j-open)!important;outline-offset:4px!important}

.journey-companion{position:sticky;top:104px;overflow:hidden;border-radius:24px;padding:22px;background:linear-gradient(145deg,rgba(255,255,255,.13),transparent),var(--j-glass)}.journey-companion__mark{position:absolute;right:-8px;bottom:-20px;font-family:"Yu Mincho",serif;font-size:92px;line-height:1;color:var(--j-warm);opacity:.10}.journey-companion small{font-size:13px;font-weight:700;letter-spacing:.12em;color:var(--j-warm)}.journey-companion__title{display:block;margin:10px 0 8px;font-family:"Bricolage Grotesque",sans-serif;font-size:21px;line-height:1.2}.journey-companion__copy{position:relative;margin:0;font-size:14px;color:var(--j-muted)}.journey-companion__dots{position:relative;display:flex;flex-wrap:wrap;gap:5px;margin-top:18px}.journey-companion__dots i{width:20px;height:3px;border-radius:3px;background:color-mix(in srgb,var(--j-ink) 12%,transparent)}.journey-companion__dots i.is-current{background:var(--j-signature)}

/* Canary lesson-focus-chrome-v1: mobile/tablet chrome stays out of the lesson
 * until the learner explicitly asks for it. The runtime adds this scope only
 * for ?canary=lesson-focus-chrome-v1; desktop remains unchanged. */
.journey-chrome-reveal,.journey-chrome-close{display:none}

@media(max-width:1120px){.journey-shell{grid-template-columns:220px minmax(0,1fr)}.journey-companion{display:none}}
@media(max-width:780px){
  html.journey-v29 .hd.journey-header{min-height:70px!important;padding:8px 12px!important}.journey-brand__seal{width:44px;height:44px}.journey-brand__copy{display:none}html.journey-v29 .hd-row{grid-template-columns:auto auto minmax(0,1fr) auto!important;gap:8px!important}html.journey-v29 .hd-tt{text-align:left!important}html.journey-v29 .hd-name{font-size:17px!important}html.journey-v29 .hd-row #docLink{display:none!important}html.journey-v29 .pmeta{font-size:13px!important}
  .journey-shell{display:block;min-height:calc(100dvh - 70px);padding:12px 12px 92px}.journey-left{position:relative;top:auto;display:block;max-height:none}.journey-panel{position:relative;top:auto;max-height:none;margin-bottom:12px;padding:0;border:0;border-radius:20px;overflow:visible;background:transparent;box-shadow:none;backdrop-filter:none}.journey-panel__title,.journey-tools-title,.journey-back,.journey-step-list{display:none}.tl-section-picker{display:grid}.journey-toolbox{position:static;padding:0;border:0;background:transparent;backdrop-filter:none;box-shadow:none}
  html.journey-v29 .journey-toolbox .bnav{position:fixed!important;left:50%!important;bottom:0!important;transform:translateX(-50%)!important;z-index:60!important;width:calc(100% - 24px)!important;max-width:520px!important;grid-template-columns:repeat(4,1fr)!important;padding:6px 8px calc(8px + env(safe-area-inset-bottom))!important;border:1px solid var(--j-edge)!important;border-bottom:0!important;border-radius:20px 20px 0 0!important;background:var(--j-glass-strong)!important;-webkit-backdrop-filter:blur(22px) saturate(170%)!important;backdrop-filter:blur(22px) saturate(170%)!important;box-shadow:0 -12px 34px rgba(12,34,54,.14)!important}html.journey-v29 .journey-toolbox .bnav.source-no-exercises{grid-template-columns:repeat(3,1fr)!important}.journey-stage{min-height:auto;border-radius:24px;padding:22px 18px}.journey-stage__glyph{font-size:72px}.journey-stage .view{padding:0!important}html.journey-v29 .g-title,html.journey-v29 .w-kanji{font-size:clamp(28px,8vw,38px)!important}.journey-companion{display:none}html.journey-v29 .fl-nav{grid-template-columns:56px minmax(0,1fr)!important}html.journey-v29 .g-struct{padding:17px 18px!important}.journey-atmosphere__scene{background-position:center top}

  html.journey-v29.journey-immersive-chrome-v1{scroll-padding-top:12px}
  html.journey-v29.journey-immersive-chrome-v1 .journey-shell{min-height:100dvh;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
  html.journey-v29.journey-immersive-chrome-v1 .hd.journey-header{position:fixed!important;right:0!important;left:0!important;width:100%!important;transform:translateY(calc(-100% - 14px))!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:transform .28s cubic-bezier(.2,.76,.24,1),opacity .2s ease,visibility 0s linear .28s!important}
  html.journey-v29.journey-immersive-chrome-v1 .journey-toolbox .bnav{transform:translate(-50%,calc(100% + env(safe-area-inset-bottom) + 16px))!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:transform .28s cubic-bezier(.2,.76,.24,1),opacity .2s ease,visibility 0s linear .28s!important}
  html.journey-v29.journey-immersive-chrome-v1.journey-chrome-open .hd.journey-header{transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition-delay:0s!important}
  html.journey-v29.journey-immersive-chrome-v1.journey-chrome-open .journey-toolbox .bnav{transform:translateX(-50%)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition-delay:0s!important}
  html.journey-v29.journey-immersive-chrome-v1 .hd-row{grid-template-columns:auto auto minmax(0,1fr) auto auto!important}
  html.journey-v29.journey-immersive-chrome-v1 .journey-chrome-reveal{position:fixed;z-index:74;top:max(10px,env(safe-area-inset-top));right:12px;display:grid;width:44px;height:44px;min-width:44px;min-height:44px;place-items:center;padding:0;border:1px solid var(--j-edge);border-radius:14px;background:linear-gradient(135deg,rgba(255,255,255,.28),rgba(255,255,255,.06)),var(--j-glass-strong);color:var(--j-ink);box-shadow:inset 0 1px rgba(255,255,255,.38),0 10px 28px rgba(8,28,44,.16);-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);cursor:pointer}
  html.journey-v29.journey-immersive-chrome-v1 .journey-chrome-reveal span{display:grid;width:22px;height:18px;place-items:center;font-family:"Bricolage Grotesque",sans-serif;font-size:25px;line-height:1;transform:translateY(-2px)}
  html.journey-v29.journey-immersive-chrome-v1.journey-chrome-open .journey-chrome-reveal{display:none}
  html.journey-v29.journey-immersive-chrome-v1 .journey-chrome-close{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;place-items:center!important;padding:0!important;border:1px solid var(--j-edge)!important;border-radius:14px!important;background:linear-gradient(135deg,rgba(255,255,255,.23),rgba(255,255,255,.04)),var(--j-glass)!important;color:var(--j-ink)!important;font-size:24px!important;line-height:1!important;box-shadow:inset 0 1px rgba(255,255,255,.32),0 9px 24px rgba(8,28,44,.12)!important;cursor:pointer!important}
  html.journey-v29.journey-immersive-chrome-v1.journey-chrome-open .journey-chrome-close{display:grid}
  html.journey-v29.journey-immersive-chrome-v1 .journey-settings-trigger svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}
@media(max-width:520px){.journey-settings-dialog{width:100%;max-width:none;max-height:min(760px,calc(100dvh - 8px));margin:auto 0 0;border-radius:24px 24px 0 0}.journey-settings-dialog__head{min-height:64px}.journey-settings-row{min-height:68px}.tl-section-picker{grid-template-columns:76px minmax(0,1fr) 76px;gap:6px;border-radius:18px}.tl-section-picker__direction{gap:4px;padding:6px;font-size:13px}.tl-section-picker__direction span{font-size:16px}.tl-section-picker__current{padding:7px 10px}.tl-section-picker__current small{font-size:11px}.tl-section-picker__current b{font-size:17px}.tl-section-picker.is-single{grid-template-columns:minmax(0,1fr)}.tl-section-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:22px}.tl-section-dialog__inner{max-height:calc(100dvh - 16px);padding:16px}.tl-section-dialog__list{grid-template-columns:1fr}.tl-section-dialog__list li,.tl-section-dialog__list li:nth-child(2n){border-right:0}}
@media(max-width:430px){html.journey-v29 .hd-back{display:none!important}.journey-shell{padding-inline:8px}.journey-stage{padding:18px 14px}.journey-brand__seal{width:44px;height:44px}.journey-brand{gap:0}}
@media(prefers-reduced-motion:reduce){.journey-atmosphere__scene{transition:none}.journey-step,.journey-target{scroll-behavior:auto!important}html.journey-v29.journey-immersive-chrome-v1 .hd.journey-header,html.journey-v29.journey-immersive-chrome-v1 .journey-toolbox .bnav{transition:none!important}}
@media(prefers-reduced-transparency:reduce){.journey-atmosphere{display:none}.journey-panel,.journey-stage,.journey-companion,.tl-section-picker,.tl-section-dialog,html.journey-v29 .hd.journey-header{backdrop-filter:none!important;background:var(--j-glass-strong)!important}}
@media(forced-colors:active){.journey-atmosphere{display:none!important}.journey-step[aria-current="step"] .journey-step__num,.tl-section-dialog__list button[aria-current="step"]>span:first-child,html.journey-v29 .lm-switch button.on,html.journey-v29 .fl-next{background:Highlight!important;color:HighlightText!important}}
