:root {
  --ink: #15312e;
  --ink-soft: #49625f;
  --forest: #0b5148;
  --forest-dark: #073a35;
  --mint: #bfe8df;
  --mint-soft: #edf8f5;
  --coral: #e86f51;
  --gold: #efc76d;
  --paper: #fffdf8;
  --canvas: #f2f6f3;
  --line: rgba(21, 49, 46, 0.14);
  --shadow: 0 18px 50px rgba(11, 63, 58, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --sidebar-width: 320px;
  color-scheme: light;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 20px; line-height: 1.75; overflow-x: hidden; }
:root[data-font-scale="large"] body { font-size: 23.6px; }
:root[data-font-scale="xlarge"] body { font-size: 27.2px; }
a { color: inherit; }
button, input, textarea { font: inherit; }
img { max-width: 100%; height: auto; }
p, h1, h2, h3, blockquote, pre { overflow-wrap: anywhere; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 300; padding: 10px 16px; background: #fff; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 80; width: var(--sidebar-width); display: flex; flex-direction: column; background: var(--forest-dark); color: #f6fffc; transition: width .3s ease, transform .3s ease; }
.sidebar__brand { min-height: 100px; display: flex; align-items: center; gap: 10px; padding: 18px 16px 18px 24px; border-bottom: 1px solid rgba(255,255,255,.13); }
.brand-link { min-width: 0; flex: 1; display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 8px; border-radius: 13px; background: var(--mint); transform: rotate(-3deg); }
.brand-mark i { display: block; border-radius: 99px; background: var(--forest-dark); }
.brand-mark i:nth-child(1) { height: 45%; }.brand-mark i:nth-child(2) { height: 78%; }.brand-mark i:nth-child(3) { height: 100%; background: var(--coral); }
.brand-copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.25; }
.brand-copy strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-copy small { margin-top: 5px; color: var(--mint); font-weight: 800; letter-spacing: .15em; }
.icon-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; color: inherit; background: transparent; cursor: pointer; }
.sidebar-collapse span[aria-hidden] { font-size: 34px; line-height: 1; transition: transform .25s ease; }
.course-nav { padding: 18px 12px; overflow-y: auto; scrollbar-width: thin; }
.course-nav ol { list-style: none; margin: 8px 0 0; padding: 0; }
.course-nav li { margin: 3px 0; }
.course-nav a { display: grid; grid-template-columns: 40px 1fr; align-items: center; min-height: 50px; gap: 10px; padding: 7px 12px; border-radius: 13px; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.35; text-decoration: none; transition: color .2s, background .2s, transform .2s; }
.course-nav a:hover { color: #fff; background: rgba(255,255,255,.08); transform: translateX(3px); }
.course-nav a.is-active { color: var(--forest-dark); background: var(--mint); font-weight: 800; }
.nav-symbol, .nav-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); font-size: 13px; font-variant-numeric: tabular-nums; }
.is-active .nav-symbol, .is-active .nav-number { background: rgba(7,58,53,.09); }
.sidebar__footer { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 18px 24px 22px; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.45; }
.sidebar-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(232,111,81,.13); }

.site-frame { min-height: 100vh; margin-left: var(--sidebar-width); transition: margin-left .3s ease; }
.topbar { position: sticky; top: 0; z-index: 60; min-height: 74px; display: flex; align-items: center; gap: 16px; padding: 12px clamp(20px, 4vw, 52px); border-bottom: 1px solid var(--line); background: rgba(242,246,243,.9); backdrop-filter: blur(16px); }
.topbar__title { margin-right: auto; display: none; font-size: 14px; font-weight: 800; text-decoration: none; }
.menu-button { display: none; color: var(--ink); border-color: var(--line); }
.font-controls { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.72); font-size: 13px; }
.font-controls > span { padding: 0 7px; color: var(--ink-soft); font-weight: 700; }
.font-controls button { padding: 7px 11px; border: 0; border-radius: 9px; color: var(--ink-soft); background: transparent; font-weight: 700; cursor: pointer; }
.font-controls button[aria-pressed="true"] { color: white; background: var(--forest); }
.scroll-progress { position: fixed; inset: 0 0 auto var(--sidebar-width); z-index: 110; height: 4px; background: transparent; transition: left .3s ease; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--coral), var(--gold), var(--forest)); transform: scaleX(0); transform-origin: left center; }
.drawer-scrim { display: none; }

.sidebar-is-collapsed .sidebar { width: 88px; }
.sidebar-is-collapsed .site-frame { margin-left: 88px; }
.sidebar-is-collapsed .scroll-progress { left: 88px; }
.sidebar-is-collapsed .sidebar__brand { padding-inline: 22px; }
.sidebar-is-collapsed .brand-copy, .sidebar-is-collapsed .nav-copy, .sidebar-is-collapsed .sidebar__footer { display: none; }
.sidebar-is-collapsed .sidebar-collapse { position: absolute; left: 66px; top: 56px; width: 30px; height: 30px; color: var(--forest-dark); border: 0; background: var(--mint); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.sidebar-is-collapsed .sidebar-collapse span[aria-hidden] { transform: rotate(180deg); font-size: 25px; }
.sidebar-is-collapsed .course-nav { padding-inline: 16px; }
.sidebar-is-collapsed .course-nav a { grid-template-columns: 40px; padding-inline: 8px; }

.main-content { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: clamp(36px, 6vw, 82px) 0 100px; }
.eyebrow { margin: 0 0 12px; color: var(--coral); font-size: .68em; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero { position: relative; min-height: 580px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: center; gap: clamp(40px, 6vw, 90px); overflow: hidden; padding: clamp(48px, 7vw, 90px); border-radius: var(--radius-lg); color: white; background: linear-gradient(135deg, #073a35 0%, #0b5148 54%, #147366 100%); box-shadow: var(--shadow); }
.hero__content, .hero__visual { position: relative; z-index: 2; }
.hero .eyebrow { color: #d9ffec; text-shadow: 0 1px 18px rgba(0,0,0,.22); }
.hero h1 { max-width: 800px; margin: 0; font-size: clamp(2.4rem, 5.5vw, 5.2rem); line-height: 1.05; letter-spacing: -.04em; }
.hero__lead { max-width: 720px; margin: 26px 0 0; color: rgba(255,255,255,.82); font-size: 1.05em; line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 20px; border: 1px solid transparent; border-radius: 14px; font-size: .82em; font-weight: 900; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--forest-dark); background: var(--mint); box-shadow: 0 10px 24px rgba(4,34,30,.18); }
.button--ghost { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); }
.hero__visual { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__visual span { width: min(100%, 220px); padding: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 17px; background: rgba(255,255,255,.1); box-shadow: inset 0 1px rgba(255,255,255,.17); text-align: center; font-size: .86em; font-weight: 900; backdrop-filter: blur(10px); }
.hero__visual i { width: 2px; height: 42px; background: linear-gradient(var(--mint), var(--coral)); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .45; }
.hero__glow--one { width: 320px; height: 320px; top: -150px; right: -30px; background: var(--mint); animation: drift 8s ease-in-out infinite; }
.hero__glow--two { width: 240px; height: 240px; bottom: -130px; left: 38%; background: var(--coral); animation: drift 10s ease-in-out infinite reverse; }
@keyframes drift { 50% { transform: translate(16px, 22px) scale(1.05); } }

.section-heading { max-width: 800px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.15; letter-spacing: -.035em; }
.section-heading > p:last-child { color: var(--ink-soft); }
.course-map, .resource-hub { padding-top: clamp(80px, 10vw, 140px); }
.map-stage { position: relative; padding: 34px 0 52px 100px; }
.map-stage:not(:last-child)::before { content: ""; position: absolute; top: 58px; bottom: -18px; left: 38px; width: 2px; background: repeating-linear-gradient(to bottom, var(--forest) 0 8px, transparent 8px 17px); opacity: .35; }
.map-stage__header { position: relative; margin-bottom: 20px; }
.map-stage__header::before { content: ""; position: absolute; left: -78px; top: 4px; width: 30px; height: 30px; border: 8px solid var(--canvas); border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px var(--forest); }
.map-stage__header span { color: var(--coral); font-size: .7em; font-weight: 900; letter-spacing: .12em; }
.map-stage__header h2 { margin: 2px 0 0; font-size: 1.4em; line-height: 1.25; }
.task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.task-card { display: grid; grid-template-columns: 58px 1fr 28px; align-items: center; gap: 16px; min-width: 0; min-height: 126px; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: 0 7px 22px rgba(11,63,58,.06); text-decoration: none; transition: transform .25s ease var(--delay), border-color .2s, box-shadow .2s; }
.task-card:hover { transform: translateY(-4px); border-color: rgba(11,81,72,.4); box-shadow: var(--shadow); }
.task-card__number { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 17px; color: var(--forest-dark); background: var(--mint-soft); font-size: .76em; font-weight: 900; }
.task-card__body { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.task-card__body strong { line-height: 1.35; }
.task-card__body small { display: -webkit-box; overflow: hidden; color: var(--ink-soft); font-size: .66em; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.task-card__arrow { color: var(--coral); font-size: 1.25em; transition: transform .2s; }
.task-card:hover .task-card__arrow { transform: translate(3px,-3px); }

.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.qr-card { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; align-items: center; gap: 28px; padding: 26px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.qr-card__image { position: relative; display: block; padding: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; cursor: zoom-in; }
.qr-card__image img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.qr-card__image span { position: absolute; right: 14px; bottom: 14px; padding: 5px 9px; border-radius: 99px; color: white; background: rgba(7,58,53,.86); font-size: 12px; font-weight: 800; }
.qr-card h3 { margin: 0; font-size: 1.25em; }.qr-card p { color: var(--ink-soft); font-size: .8em; }.qr-card a { color: var(--forest); font-size: .78em; font-weight: 900; }
.qr-dialog { width: min(92vw, 620px); padding: 34px; border: 0; border-radius: 28px; color: var(--ink); background: var(--paper); box-shadow: 0 35px 100px rgba(0,0,0,.3); text-align: center; }
.qr-dialog::backdrop { background: rgba(3,25,22,.72); backdrop-filter: blur(8px); }
.qr-dialog img { display: block; width: min(100%, 430px); aspect-ratio: 1; margin: 18px auto 24px; object-fit: contain; border: 10px solid white; border-radius: 18px; }
.qr-dialog h2 { margin: 0; }.qr-dialog .button { color: var(--forest-dark); }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; font-size: 28px; cursor: pointer; }

.lesson-main { width: min(1040px, calc(100% - 48px)); }
.lesson-hero { padding: clamp(26px, 4vw, 56px) 0 clamp(58px, 8vw, 96px); }
.lesson-hero__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--ink-soft); font-size: .72em; font-weight: 800; }
.lesson-number { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 18px; color: white; background: var(--forest); box-shadow: 0 8px 20px rgba(11,81,72,.2); }
.lesson-hero h1 { max-width: 920px; margin: 0; font-size: clamp(2.35rem, 5.2vw, 5rem); line-height: 1.08; letter-spacing: -.045em; }
.lesson-lead { max-width: 800px; margin: 25px 0 0; color: var(--ink-soft); font-size: 1.08em; }
.quick-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.quick-jump a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); background: rgba(255,255,255,.64); font-size: .68em; font-weight: 800; text-decoration: none; }
.quick-jump a:hover { color: white; background: var(--forest); }
.lesson-section { scroll-margin-top: 110px; margin-bottom: 34px; padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.lesson-section > h2 { max-width: 840px; margin: 0 0 28px; font-size: clamp(1.75rem, 3.1vw, 2.8rem); line-height: 1.25; letter-spacing: -.025em; }
.section-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--coral); font-size: .68em; font-weight: 900; letter-spacing: .05em; }
.section-kicker span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--forest-dark); background: var(--mint); font-size: .85em; }
.outcome-card { color: white; border-color: transparent; background: linear-gradient(135deg, var(--forest-dark), var(--forest)); box-shadow: var(--shadow); }
.outcome-card .section-kicker { color: var(--mint); }.outcome-card .section-kicker span { color: white; background: rgba(255,255,255,.13); }
.outcome-card h2 { margin-bottom: 0; font-size: clamp(2rem, 3.8vw, 3.35rem); }
.step-list { list-style: none; margin: 0; padding: 0; }
.step-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.step-list li:first-child { border-top: 0; }
.step-list > li > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; color: var(--forest-dark); background: var(--mint-soft); font-size: .72em; font-weight: 900; }
.step-list h3 { margin: 0; font-size: 1em; }.step-list p { margin: 6px 0 0; color: var(--ink-soft); font-size: .86em; }
.prompt-box { overflow: hidden; border-radius: 24px; color: #effffb; background: #092f2c; box-shadow: inset 0 1px rgba(255,255,255,.06); }
.prompt-box__top { display: flex; align-items: center; gap: 16px; padding: 17px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.prompt-box__top h2 { margin: 0 auto 0 0; color: var(--mint); font-size: .8em; }
.copy-button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; color: white; background: rgba(255,255,255,.07); font-size: .68em; font-weight: 900; cursor: pointer; }
.prompt-box pre { max-height: 460px; margin: 0; padding: 26px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .88em; line-height: 1.8; }
.prompt-notes { margin: 0; padding: 0 42px 25px; color: rgba(255,255,255,.7); font-size: .72em; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: var(--mint-soft); }
.check-list li span { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 50%; color: white; background: var(--forest); font-size: .7em; font-weight: 900; }.check-list p { margin: 0; font-size: .82em; }
.why-card { background: linear-gradient(145deg, #fffdf8, #f3ebe1); }.prose { max-width: 780px; }.prose p { margin: 0 0 1em; color: var(--ink-soft); }.prose p:last-child { margin-bottom: 0; }
.takeaway-card { position: relative; overflow: hidden; border: 0; color: white; background: var(--coral); }
.takeaway-card::after { content: "“"; position: absolute; right: 20px; bottom: -85px; color: rgba(255,255,255,.12); font-family: Georgia,serif; font-size: 260px; line-height: 1; }
.takeaway-card .section-kicker { color: white; }.takeaway-card .section-kicker span { color: var(--coral); background: white; }
.takeaway-card blockquote { position: relative; z-index: 1; max-width: 820px; margin: 0; font-size: clamp(1.65rem, 3.2vw, 2.8rem); font-weight: 900; line-height: 1.35; letter-spacing: -.02em; }
.inline-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.download-chip { display: inline-grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 10px; padding: 11px 15px; border-radius: 14px; color: var(--forest-dark); background: var(--mint); font-size: .72em; text-decoration: none; }
.download-chip > span { grid-row: 1 / 3; font-size: 1.5em; }.download-chip strong { line-height: 1.25; }.download-chip small { color: var(--ink-soft); }
.page-pager { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 50px; }
.page-pager a { display: flex; min-width: 0; flex-direction: column; gap: 5px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.page-pager a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }.page-pager__next { text-align: right; }.page-pager span { color: var(--coral); font-size: .67em; font-weight: 900; }.page-pager strong { font-size: .79em; line-height: 1.4; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 clamp(24px,4vw,52px); padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }.site-footer a { color: var(--forest); font-weight: 800; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
html { opacity: 1; transition: opacity .13s ease; } html.is-leaving { opacity: .45; }

@media (max-width: 1180px) {
  .task-grid { grid-template-columns: 1fr; }
  .qr-card { grid-template-columns: minmax(130px,180px) 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  body { font-size: 18px; }
  :root[data-font-scale="large"] body { font-size: 21.24px; }
  :root[data-font-scale="xlarge"] body { font-size: 24.48px; }
  .sidebar, .sidebar-is-collapsed .sidebar { width: min(88vw, 340px); transform: translateX(-105%); box-shadow: 20px 0 70px rgba(0,0,0,.28); }
  .drawer-is-open .sidebar { transform: translateX(0); }
  .sidebar-is-collapsed .brand-copy, .sidebar-is-collapsed .nav-copy, .sidebar-is-collapsed .sidebar__footer { display: initial; }
  .sidebar-is-collapsed .sidebar__brand { padding: 18px 16px 18px 24px; }
  .sidebar-is-collapsed .sidebar-collapse { display: none; }
  .sidebar-is-collapsed .course-nav { padding: 18px 12px; }
  .sidebar-is-collapsed .course-nav a { grid-template-columns: 40px 1fr; padding: 7px 12px; }
  .sidebar-collapse { display: none; }
  .site-frame, .sidebar-is-collapsed .site-frame { margin-left: 0; }
  .scroll-progress, .sidebar-is-collapsed .scroll-progress { left: 0; }
  .topbar { padding: 10px 16px; }
  .menu-button, .topbar__title { display: grid; }
  .topbar__title { display: block; max-width: 34vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .drawer-scrim { position: fixed; inset: 0; z-index: 70; width: 100%; height: 100%; border: 0; background: rgba(3,25,22,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .drawer-is-open .drawer-scrim { display: block; opacity: 1; pointer-events: auto; }
  .main-content, .lesson-main { width: min(100% - 30px, 1040px); padding-top: 28px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 42px 28px; }
  .hero__visual { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; }
  .hero__visual span { width: auto; padding: 13px 8px; font-size: .7em; }.hero__visual i { width: 24px; height: 2px; }
  .map-stage { padding-left: 68px; }.map-stage:not(:last-child)::before { left: 22px; }.map-stage__header::before { left: -61px; }
  .lesson-section { padding: 28px 22px; }
}

@media (max-width: 620px) {
  .font-controls > span { display: none; }
  .font-controls button { padding: 7px 8px; font-size: 12px; }
  .topbar__title { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .hero__visual { display: flex; align-items: stretch; }.hero__visual i { width: 2px; height: 24px; align-self: center; }
  .task-card { grid-template-columns: 48px 1fr 22px; min-height: 110px; padding: 17px; gap: 12px; }.task-card__number { width: 46px; height: 46px; }
  .map-stage { padding-left: 0; }.map-stage:not(:last-child)::before, .map-stage__header::before { display: none; }
  .qr-card { grid-template-columns: 1fr; }.qr-card__image { width: min(100%, 260px); }
  .lesson-hero h1 { font-size: clamp(2.25rem, 12vw, 3.6rem); }
  .quick-jump { flex-wrap: nowrap; margin-right: -15px; padding: 3px 15px 8px 0; overflow-x: auto; }.quick-jump a { flex: 0 0 auto; }
  .step-list li { grid-template-columns: 44px 1fr; gap: 14px; }.step-list > li > span { width: 42px; height: 42px; }
  .prompt-box__top { align-items: flex-start; }.copy-button { flex: 0 0 auto; }.copy-button span:first-child { display: none; }
  .prompt-box pre { max-height: 520px; padding: 20px; }
  .check-list, .page-pager { grid-template-columns: 1fr; }.page-pager__next { text-align: left; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .qr-dialog { padding: 28px 18px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .sidebar, .topbar, .scroll-progress, .quick-jump, .page-pager, .site-footer { display: none !important; }
  .site-frame { margin: 0; }.main-content, .lesson-main { width: 100%; padding: 0; }.lesson-section { break-inside: avoid; box-shadow: none; }
}
