.brand .brand-mark { width:36px; height:36px; object-fit:contain; }
.brand span { white-space:nowrap; }
.error-links { display:grid; justify-items:start; gap:4px; margin-block:16px 24px; }
.error-links a { display:inline-flex; align-items:center; min-height:44px; color:var(--primary); text-decoration:underline; text-underline-offset:4px; }
.skip { z-index:1010; }
.batch-intro { color:var(--muted); }
.hero h1 { font-size:clamp(34px,3.7vw,59px); max-width:15em; text-wrap:balance; }
.hero .hero-grid { gap:clamp(28px,4vw,60px); }
.hero-art img { width:100%; display:block; }
.hero .overview { list-style:none; display:flex; gap:10px; padding:0; flex-wrap:wrap; }
.hero .overview li + li::before { content:'›'; padding-right:10px; color:var(--muted); }
.hero .overview li { font-size:14px; color:var(--muted); }
.task-layout, .chapter-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(230px,.8fr); gap:clamp(24px,5vw,80px); align-items:start; }
.task-layout h2 { margin-top:0; }
.task-layout figure, .chapter-layout figure { margin:0; }
.task-layout figure img, .chapter-layout figure img { display:block; width:100%; border-radius:var(--radius); aspect-ratio:3/2; object-fit:cover; }
.task-layout p, .chapter-layout p { line-height:1.8; }
.task-list { margin:12px 0; padding:0; list-style:none; }
.task-list li, .entry-row, .topic-list details { padding:14px 0; border-bottom:1px solid var(--line); }
.task-list strong, .entry-row strong { color:var(--primary); }
.task-list p, .entry-row p, .topic-list p { margin:4px 0; }
.check-row { display:flex; gap:12px; align-items:flex-start; cursor:pointer; }
.check-row input { width:20px; height:20px; margin:6px 0; flex-shrink:0; accent-color:var(--primary); }
.check-row input:checked + span strong { text-decoration:line-through; }
.task-grid { width:100%; border-collapse:collapse; margin-block:14px; }
.task-grid th, .task-grid td { padding:12px 8px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.task-grid th { color:var(--primary); }
.task-grid .compare-note { display:block; min-width:0; width:100%; max-width:17em; box-sizing:border-box; }
.task-grid input, .task-grid select { font:inherit; color:var(--primary); background:var(--paper,#fff); border:1px solid var(--line); border-radius:4px; min-height:40px; padding:4px 6px; }
.task-grid select { max-width:100%; }
.topic-list summary { cursor:pointer; font-weight:bold; color:var(--primary); }
.topic-list details[open] summary { margin-bottom:8px; }
.route-list { counter-reset:route; }
.route-list li { padding-left:44px; position:relative; }
.route-list li::before { counter-increment:route; content:counter(route,decimal-leading-zero); position:absolute; left:0; color:var(--muted); }
.chapter-links { margin-top:24px; display:flex; flex-wrap:wrap; gap:16px; }
.chapter-links a, .task-layout a, .community a { text-underline-offset:4px; color:inherit; }
.chapter { padding-bottom:32px; }
.chapter-layout { padding-block:40px 65px; }
.chapter-layout h2 { font-size:clamp(24px,3vw,36px); margin:0 0 16px; }
.breadcrumbs { font-size:14px; gap:10px; }
.library { margin-top:18px; }
.voice img { aspect-ratio:1; object-fit:cover; }
.site-faq { padding-block:38px; }
.site-faq details { padding:10px 0; }
.site-faq summary { cursor:pointer; font-weight:bold; }
@media(max-width:760px) {
  .chapter-layout,.task-layout { grid-template-columns:1fr; }
  .task-layout figure, .chapter-layout figure { max-width:480px; }
  .task-grid th,.task-grid td { font-size:14px; padding:8px 5px; }
}
@media(max-width:600px) {
  main.home-main { display:flex; flex-direction:column; }
  .home-main > .hero { order:-2; }
  .home-main > .home-download { order:-1; }
  body .hero .hero-grid { gap:8px 10px; }
  .hero h1 { font-size:clamp(22px,5.7vw,29px); line-height:1.18; text-wrap:initial; }
  .hero .intro { line-height:1.48; margin:0; }
  .hero .overview { margin:0; gap:6px; }
  .hero .overview li { font-size:12px; }
  .hero .actions { gap:8px; }
  .hero .actions .button { padding:9px 13px; }
  .header .brand span { font-size:18px; }
  .header .brand-mark { width:26px; height:26px; }
  .topic-list,.task-list { margin-top:8px; }
  .chapter { padding-block:20px; }
  .chapter-layout { padding-block:20px 36px; }
  .library a { grid-template-columns:64px minmax(0,1fr) auto; }
  .site-faq { padding-block:24px; }
  .home-main > section { min-width:0; }
  .wrap.library { align-self:center; }
}
