/* Ditch Assist Learning Center (/learn/)
   Built on site.css tokens. Text stays black / grey / white; brand colours mark graphics only:
   orange = annotation pins and focus, green = done / good, red = safety, yellow = DIG only. */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

body.lc { background: var(--bg); }

/* ------------------------------------------------------------------ Learning Center bar */
.lc-bar { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.lc-bar__inner { max-width: 1440px; margin: 0 auto; padding: 10px var(--pad); display: flex; align-items: center; gap: 18px; }
.lc-bar__home { font: 800 16px/1 var(--font-display); color: var(--ink); text-decoration: none; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.lc-bar__home::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--brand-green); }
.lc-bar__menu { display: none; margin-left: auto; appearance: none; border: 1px solid var(--line-2); background: #fff; border-radius: 8px; font: 700 14px var(--font-display); padding: 8px 14px; color: var(--ink); }

.lc-search { position: relative; flex: 1; max-width: 640px; }
.lc-search input { width: 100%; box-sizing: border-box; font: 500 15px var(--font-body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 11px 44px 11px 40px; outline: none; transition: border-color .15s, background .15s; }
.lc-search::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border: 2px solid var(--ink-3); border-radius: 50%; pointer-events: none; }
.lc-search::after { content: ""; position: absolute; left: 27px; top: 50%; width: 2px; height: 7px; margin-top: 3px; background: var(--ink-3); transform: rotate(-45deg); pointer-events: none; }
.lc-search input:focus { border-color: var(--ink); background: #fff; }
.lc-search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 700 12px var(--font-body); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 7px; background: #fff; }
.lc-search input:focus + kbd { display: none; }
.lc-search__results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 48px rgba(26, 22, 18, .16); max-height: min(70vh, 560px); overflow-y: auto; padding: 6px; z-index: 40; }
.lc-search__results a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); }
.lc-search__results a[aria-selected="true"], .lc-search__results a:hover { background: #f3ecdf; }
.lc-search__results .lc-r__sec { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.lc-search__results .lc-r__t { display: block; font-weight: 700; color: var(--ink); font-size: 15px; }
.lc-search__results .lc-r__d { display: block; font-size: 13.5px; line-height: 1.45; margin-top: 3px; color: var(--ink-2); }
.lc-search__results mark, .lc-results mark { background: rgba(226, 110, 27, .18); color: inherit; border-radius: 2px; padding: 0 1px; }
.lc-search__empty { padding: 14px 12px; font-size: 14px; color: var(--ink-2); }
.lc-search__all { border-top: 1px solid var(--line); margin-top: 4px; font-weight: 700; color: var(--ink) !important; }

/* ------------------------------------------------------------------ Shell */
.lc-shell { max-width: 1440px; margin: 0 auto; padding: 28px var(--pad) 72px; display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 40px; align-items: start; }
.lc-main { min-width: 0; }
.lc-article { max-width: 820px; }

/* Side nav */
.lc-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; font-size: 14px; padding-bottom: 24px; scrollbar-width: thin; }
.lc-side ul { list-style: none; margin: 0; padding: 0; }
.lc-side__sec { border-bottom: 1px solid var(--line); }
.lc-side__sec > details > summary { list-style: none; cursor: pointer; padding: 11px 26px 11px 2px; font: 800 14.5px/1.3 var(--font-display); color: var(--ink); position: relative; }
.lc-side__sec > details > summary::-webkit-details-marker { display: none; }
.lc-side__sec > details > summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.lc-side__sec > details[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.lc-side__sec summary a { color: inherit; text-decoration: none; }
.lc-side__sec summary a:hover { text-decoration: underline; }
.lc-side__sec ul { padding: 0 0 10px; }
.lc-side__sec li a { display: block; padding: 5px 10px 5px 12px; margin-left: 2px; color: var(--ink-2); text-decoration: none; border-left: 2px solid var(--line); line-height: 1.35; }
.lc-side__sec li a:hover { color: var(--ink); border-left-color: var(--ink-3); }
.lc-side__sec li a[aria-current="page"] { color: var(--ink); font-weight: 700; border-left-color: var(--brand-orange); background: linear-gradient(90deg, rgba(226,110,27,.08), transparent 80%); }
.lc-side__group { font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 10px 0 4px 2px; }
.lc-side__plain { display: block; padding: 12px 2px; font: 800 14.5px var(--font-display); color: var(--ink); text-decoration: none; }
.lc-side__plain[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand-orange); text-underline-offset: 4px; }

/* On this page */
.lc-toc { position: sticky; top: 16px; font-size: 13.5px; max-height: calc(100vh - 32px); overflow-y: auto; }
.lc-toc__head { font-weight: 700; color: var(--ink); margin: 4px 0 10px; }
.lc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.lc-toc a { display: block; padding: 5px 0 5px 12px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; line-height: 1.35; }
.lc-toc a:hover { color: var(--ink); }
.lc-toc a.is-active { color: var(--ink); border-left-color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ Article head */
.lc-crumbs { font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; }
.lc-crumbs a { color: var(--ink-3); text-decoration: none; }
.lc-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.lc-crumbs span[aria-hidden] { color: var(--ink-faint); }
.lc-head h1 { font: 800 clamp(30px, 3.4vw, 44px)/1.08 var(--font-display); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 14px; text-wrap: balance; }
.lc-summary { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 0 0 18px; max-width: 64ch; }
.l-kits { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; }
.l-kit { font-size: 12.5px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px 4px 9px; display: inline-flex; align-items: center; gap: 7px; }
.l-kit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green); }
.l-kit--guidance::before { background: #fff; border: 2px solid var(--brand-green); width: 4px; height: 4px; }
.l-kit--lite::before { background: var(--brand-orange); }
.l-kit--dig::before { background: var(--brand-yellow); }
.l-apppath { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; margin: 0 0 8px; }
.l-apppath > span:first-child { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.lc-head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------------ Body typography */
.lc-body { font-size: 17px; line-height: 1.68; color: var(--ink-2); }
.lc-body > * { max-width: 72ch; }
.lc-body > figure, .lc-body > .l-shot, .lc-body > .l-diagram, .lc-body > .l-steps, .lc-body > .l-list, .lc-body > .l-table-wrap, .lc-body > .l-grid, .lc-body > .l-video, .lc-body > .l-symptoms, .lc-body > .l-dodont, .lc-body > .l-paths, .lc-body > .l-compare, .lc-body > ul.l-list, .lc-body > details, .lc-body > .l-note, .lc-body > .l-checklist, .lc-body > .l-walk { max-width: none; }
.lc-body p { margin: 0 0 16px; }
.lc-body strong { color: var(--ink); font-weight: 700; }
.lc-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand-orange); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.lc-body a:hover { text-decoration-thickness: 2.5px; }
.lc-body h2 { font: 800 26px/1.2 var(--font-display); color: var(--ink); letter-spacing: -0.01em; margin: 52px 0 16px; scroll-margin-top: 20px; position: relative; }
.lc-body h3 { font: 700 19px/1.3 var(--font-display); color: var(--ink); margin: 32px 0 10px; scroll-margin-top: 20px; position: relative; }
.lc-body h4 { font: 700 16px/1.35 var(--font-display); color: var(--ink); margin: 24px 0 8px; }
.lc-body > h2:first-child, .lc-body > h3:first-child { margin-top: 0; }
.lc-body ul, .lc-body ol { margin: 0 0 18px; padding-left: 24px; }
.lc-body li { margin: 6px 0; }
.lc-body li > ul, .lc-body li > ol { margin: 6px 0 0; }
.lc-body code { font-family: Consolas, "SF Mono", Menlo, monospace; font-size: .88em; background: #f1ebde; padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.lc-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.lc-body blockquote { margin: 18px 0; padding: 4px 18px; border-left: 3px solid var(--line-2); color: var(--ink-2); }

.l-anchor { position: absolute; left: -26px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); opacity: 0; border-radius: 4px; text-decoration: none !important; }
.l-anchor::before { content: "#"; display: block; text-align: center; font: 700 16px/20px var(--font-body); color: var(--ink-3); }
h2:hover > .l-anchor, h3:hover > .l-anchor, .l-anchor:focus { opacity: 1; }
.l-anchor.is-copied::after { content: "Link copied"; position: absolute; left: 24px; top: -2px; white-space: nowrap; font: 600 12px var(--font-body); background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 5px; }

/* Inline UI label: what the operator taps */
.l-ui { display: inline-block; font: 700 .88em/1.35 var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; white-space: nowrap; }
.l-msg { font-style: normal; background: #f1ebde; border-radius: 4px; padding: 1px 6px; color: var(--ink); }

/* ------------------------------------------------------------------ Steps */
.l-steps { list-style: none; counter-reset: step; padding: 0 !important; margin: 28px 0 32px !important; }
.l-step { counter-increment: step; position: relative; padding: 0 0 30px 62px !important; margin: 0 !important; }
.l-step::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 18px/40px var(--font-display); text-align: center; }
.l-step::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: var(--line-2); }
.l-step:last-child { padding-bottom: 6px !important; }
.l-step:last-child::after { display: none; }
.l-step > h3 { margin: 6px 0 8px !important; font-size: 19px; }
.l-step > p:last-child { margin-bottom: 0; }
.l-step > .l-shot, .l-step > .l-figure, .l-step > .l-diagram { margin: 16px 0 6px; }
.l-steps--compact .l-step { padding-bottom: 16px !important; }

/* ------------------------------------------------------------------ Annotated screenshot */
.l-shot { margin: 26px 0 30px; }
.l-shot__frame { position: relative; background: var(--bg-soil); padding: 10px; border-radius: 18px; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 14px 36px rgba(26,22,18,.18); line-height: 0; }
.l-shot__frame > img, .l-shot__frame > video { display: block; width: 100%; height: auto; border-radius: 9px; background: #fff; }
.l-shot__stage { position: relative; line-height: 0; }
.l-shot--bare .l-shot__frame { background: transparent; padding: 0; box-shadow: 0 10px 30px rgba(26,22,18,.14); border-radius: 12px; }
.l-shot--bare .l-shot__frame > img, .l-shot--bare .l-shot__stage > img { border-radius: 12px; border: 1px solid var(--line); }
.l-shot--crop { max-width: 640px; }
.l-shot--crop.l-shot--wide { max-width: 860px; }
.l-shot--small { max-width: 440px; }
.l-pin { position: absolute; left: var(--x); top: var(--y); width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; background: var(--brand-orange); color: #fff; font: 800 15px/28px var(--font-display); text-align: center; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); z-index: 2; cursor: default; transition: transform .15s; box-sizing: border-box; }
.l-pin--dark { background: var(--ink); }
.l-box { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 3px solid var(--brand-orange); border-radius: 9px; box-shadow: 0 0 0 3px rgba(255,255,255,.55); background: transparent; z-index: 1; pointer-events: none; transition: background .15s, box-shadow .15s; box-sizing: border-box; }
.l-box--quiet { border-style: dashed; background: transparent; }
.l-pin.is-hot { transform: scale(1.22); }
.l-box.is-hot { background: rgba(226,110,27,.16); box-shadow: 0 0 0 4px rgba(226,110,27,.35); }
.l-shot figcaption { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.l-shot figcaption > p { margin: 0 0 8px; }
.l-keys { list-style: none; counter-reset: key; padding: 0 !important; margin: 10px 0 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 22px; }
.l-keys li { counter-increment: key; position: relative; padding: 3px 0 3px 36px !important; margin: 0 !important; border-radius: 8px; transition: background .15s; }
.l-keys li::before { content: counter(key); position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-orange); color: #fff; font: 800 12.5px/24px var(--font-display); text-align: center; }
.l-keys li.is-hot { background: rgba(226,110,27,.09); }
.l-keys li strong:first-child { color: var(--ink); }
.l-shot__zoom { position: absolute; right: 18px; bottom: 18px; z-index: 3; appearance: none; border: 0; border-radius: 8px; background: rgba(26,22,18,.78); color: #fff; font: 700 12.5px/1 var(--font-body); padding: 7px 10px; cursor: zoom-in; opacity: 0; transition: opacity .15s; }
.l-shot__frame:hover .l-shot__zoom, .l-shot__zoom:focus { opacity: 1; }

/* Plain figures (manual screenshots, photos) */
.l-figure { margin: 22px 0 26px; }
.l-figure img { display: block; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.l-figure figcaption { font-size: 14.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }
.l-zoom { display: block; cursor: zoom-in; }
.l-figure--photo img { border: 0; }
.l-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 22px 0; }
.l-grid > figure { margin: 0; }

/* ------------------------------------------------------------------ Diagrams */
.l-diagram { margin: 28px 0 32px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(14px, 2.4vw, 28px); }
.l-diagram__art svg { display: block; width: 100%; height: auto; max-height: 620px; }
.l-diagram figcaption { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; border-top: 1px solid var(--line); padding-top: 12px; }
.l-diagram--soil { background: var(--bg-soil); border-color: var(--bg-soil); }
.l-diagram--soil figcaption { color: #e9e2d6; border-top-color: rgba(255,255,255,.12); }

/* ------------------------------------------------------------------ Notes */
.l-note { margin: 22px 0; padding: 14px 18px 14px 52px; border-radius: 12px; background: #fff; border: 1px solid var(--line); position: relative; font-size: 16px; line-height: 1.6; }
.l-note > :last-child { margin-bottom: 0; }
.l-note::before { position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 50%; font: 800 14px/24px var(--font-display); text-align: center; color: #fff; background: var(--ink-3); content: "i"; }
.l-note__title { display: block; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.l-note--tip::before { content: "✓"; background: var(--brand-green); font-size: 13px; }
.l-note--tip { border-left: 4px solid var(--brand-green); }
.l-note--warn { border-left: 4px solid var(--brand-red); background: #fff; }
.l-note--warn::before { content: "!"; background: var(--brand-red); }
.l-note--check { border-left: 4px solid var(--brand-green); background: #f6faf4; }
.l-note--check::before { content: "✓"; background: var(--brand-green); }
.l-note--why { border-left: 4px solid var(--ink); }
.l-note--why::before { content: "?"; background: var(--ink); }
.l-note--support { border-left: 4px solid var(--brand-orange); }
.l-note--support::before { content: "☎"; background: var(--brand-orange); font-size: 13px; }

/* Do / don't pair */
.l-dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.l-dodont > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; border-top: 4px solid var(--brand-green); font-size: 15.5px; }
.l-dodont > div.l-dont { border-top-color: var(--brand-red); }
.l-dodont h4 { margin: 0 0 6px !important; }
.l-dodont p:last-child, .l-dodont ul:last-child { margin-bottom: 0; }

/* Checklist */
.l-checklist { list-style: none; padding: 0 !important; margin: 18px 0 24px !important; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.l-checklist li { margin: 0 !important; padding: 12px 16px 12px 50px; border-bottom: 1px solid var(--line); position: relative; }
.l-checklist li:last-child { border-bottom: 0; }
.l-checklist li::before { content: ""; position: absolute; left: 16px; top: 13px; width: 18px; height: 18px; border: 2px solid var(--ink-3); border-radius: 5px; background: #fff; cursor: pointer; }
.l-checklist li.is-done::before { background: var(--brand-green); border-color: var(--brand-green); }
.l-checklist li.is-done::after { content: ""; position: absolute; left: 22px; top: 16px; width: 6px; height: 11px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); }
.l-checklist li.is-done { color: var(--ink-3); }

/* ------------------------------------------------------------------ Tables */
.l-table-wrap { overflow-x: auto; margin: 20px 0 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; -webkit-overflow-scrolling: touch; }
.l-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.l-table th, .l-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.l-table th { font-weight: 700; color: var(--ink); background: #fbf9f4; white-space: nowrap; }
.l-table tr:last-child td { border-bottom: 0; }
.l-table td:first-child { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ Cards / listings */
.l-list { list-style: none; padding: 0 !important; margin: 16px 0 28px !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.l-list li { margin: 0 !important; }
.l-list__title { margin-top: 36px !important; }
.l-card { display: block; height: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 17px; text-decoration: none !important; color: var(--ink-2) !important; transition: border-color .15s, transform .15s; }
.l-card:hover { border-color: var(--ink); }
.l-card strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; margin-bottom: 4px; }
.l-card span { display: block; font-size: 14px; line-height: 1.5; }
.l-list--compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.l-list--compact .l-card { padding: 10px 14px; }
.l-list--compact .l-card strong { font-size: 15px; margin: 0; }

/* Symptom finder (troubleshooting) */
.l-symptoms { margin: 18px 0 28px; display: grid; gap: 10px; }
.l-symptom { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.l-symptom > summary { list-style: none; cursor: pointer; padding: 15px 48px 15px 18px; font: 700 16.5px/1.35 var(--font-display); color: var(--ink); position: relative; }
.l-symptom > summary::-webkit-details-marker { display: none; }
.l-symptom > summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.l-symptom[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.l-symptom[open] > summary { border-bottom: 1px solid var(--line); }
.l-symptom__body { padding: 6px 18px 16px; font-size: 16px; }
.l-symptom__msg { display: block; font-weight: 500; font-size: 14px; color: var(--ink-3); margin-top: 3px; font-family: var(--font-body); }
.l-cause { border-left: 3px solid var(--line-2); padding: 2px 0 2px 16px; margin: 14px 0; }
.l-cause > h4 { margin: 0 0 4px !important; }
.l-cause__likely { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 8px; margin-left: 6px; vertical-align: 2px; }

/* Paths ("I want to…" doors) */
.l-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 32px; }
.l-path { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 20px; text-decoration: none !important; color: var(--ink-2) !important; transition: border-color .15s; }
.l-path:hover { border-color: var(--ink); }
.l-path strong { font: 800 19px/1.25 var(--font-display); color: var(--ink); margin-bottom: 6px; }
.l-path span { font-size: 15px; line-height: 1.5; }

/* Video */
.l-video { margin: 24px 0 30px; }
.l-video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.l-video__frame iframe, .l-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.l-video figcaption { font-size: 14.5px; color: var(--ink-3); margin-top: 8px; }

/* Related + prev/next + help */
.lc-related { margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.lc-related__h { font: 800 18px var(--font-display); color: var(--ink); margin: 0 0 12px; }
.lc-related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.lc-related a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.35; }
.lc-related a:hover { border-color: var(--ink); }
.lc-related a span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
.lc-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 48px 0 0; }
.lc-pn a { display: block; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.lc-pn a:hover { border-color: var(--ink); }
.lc-pn span { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 3px; font-weight: 600; }
.lc-pn strong { font-size: 16px; line-height: 1.3; }
.lc-pn__next { text-align: right; }
.lc-help { margin: 40px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 20px 34px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; font-size: 15px; color: var(--ink-2); }
.lc-help p { margin: 0; }
.lc-help a { color: var(--ink); font-weight: 700; }
.lc-help__btns { display: flex; gap: 8px; margin-top: 8px; }
.lc-help__btns button { appearance: none; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 700 14px var(--font-body); border-radius: 999px; padding: 6px 18px; cursor: pointer; }
.lc-help__btns button:hover, .lc-help__btns button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lc-help__thanks { margin-top: 8px !important; font-size: 14px; }
.lc-help__tip { margin-top: 8px !important; font-size: 14px; color: var(--ink-3); }

/* Search results page */
.lc-results ol { list-style: none; padding: 0; margin: 0; }
.lc-results li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.lc-results a { font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; }
.lc-results a:hover { text-decoration: underline; text-decoration-color: var(--brand-orange); }
.lc-results .lc-r__sec { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 2px; }
.lc-results .lc-r__d { margin: 4px 0 0; font-size: 15px; }

/* ------------------------------------------------------------------ Hub layout */
.lc-shell--hub { grid-template-columns: minmax(0, 1fr); max-width: 1240px; }
.lc-shell--hub .lc-side, .lc-shell--hub .lc-toc { display: none; }
.lc-shell--hub .lc-article { max-width: none; }
.lc-shell--hub .lc-head { display: none; }
.lc-shell--hub .lc-crumbs { display: none; }
.lc-shell--hub .lc-pn { display: none; }
.lc-shell--hub .lc-body > * { max-width: none; }
.lc-shell--wide .lc-toc { display: none; }
.lc-shell--wide { grid-template-columns: 250px minmax(0, 1fr); }
.lc-shell--wide .lc-article { max-width: 1040px; }

/* ------------------------------------------------------------------ Lightbox */
.l-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 10, 8, .92); display: flex; align-items: center; justify-content: center; padding: 3vh 3vw; cursor: zoom-out; }
.l-lightbox__inner { position: relative; max-width: 100%; max-height: 100%; line-height: 0; }
.l-lightbox__inner img { max-width: 94vw; max-height: 94vh; width: auto; height: auto; display: block; border-radius: 8px; }
.l-lightbox__close { position: fixed; top: 14px; right: 18px; appearance: none; border: 0; background: #fff; color: var(--ink); font: 800 14px var(--font-body); border-radius: 999px; padding: 8px 14px; cursor: pointer; }

/* ------------------------------------------------------------------ Focus */
.lc a:focus-visible, .lc button:focus-visible, .lc summary:focus-visible, .lc input:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1240px) {
  .lc-shell { grid-template-columns: 236px minmax(0, 1fr); gap: 34px; }
  .lc-toc { display: none; }
}
@media (max-width: 900px) {
  .lc-bar__inner { gap: 10px; padding: 8px 16px; flex-wrap: wrap; }
  .lc-bar__home { order: 1; }
  .lc-bar__menu { display: block; order: 2; }
  .lc-search { order: 3; flex-basis: 100%; max-width: none; }
  .lc-search kbd { display: none; }
  .lc-shell, .lc-shell--wide { grid-template-columns: minmax(0, 1fr); padding: 18px 16px 56px; gap: 0; }
  .lc-side { display: none; position: static; max-height: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px 10px; margin-bottom: 18px; }
  .lc-side.is-open { display: block; }
  .lc-body { font-size: 16.5px; }
  .lc-body h2 { font-size: 23px; margin-top: 42px; }
  .l-anchor { display: none; }
  .l-step { padding-left: 50px !important; }
  /* Pictures inside a step use the full column (not the step's indent): ~20 % bigger on a phone */
  .l-step > .l-shot, .l-step > .l-figure, .l-step > .l-diagram, .l-step > figure { margin-left: -50px !important; position: relative; z-index: 1; }
  .l-step > figure:not(.l-diagram) { background: var(--bg); box-shadow: 0 -6px 0 var(--bg), 0 6px 0 var(--bg); }
  .l-step::before { width: 34px; height: 34px; font-size: 16px; line-height: 34px; }
  .l-step::after { left: 16px; top: 38px; }
  .l-shot__frame { padding: 5px; border-radius: 12px; }
  .l-shot__frame > img { border-radius: 7px; }
  .l-pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 11px; line-height: 18px; border-width: 1.5px; }
  .l-box { border-width: 2px; border-radius: 5px; }
  .l-keys { grid-template-columns: 1fr; }
  .l-paths { grid-template-columns: 1fr; }
  .l-dodont { grid-template-columns: 1fr; }
  .lc-pn { grid-template-columns: 1fr; }
  .lc-pn__next { text-align: left; }
  .lc-help { grid-template-columns: 1fr; }
  .lc-summary { font-size: 17.5px; }
  .l-list { grid-template-columns: 1fr; }
  .l-note { padding-left: 46px; }
  .l-note::before { left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .lc *, .lc *::before, .lc *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------ Print: one clean manual page */
@media print {
  [data-chrome], .lc-bar, .lc-side, .lc-toc, .lc-pn, .lc-help, .lc-related, .l-shot__zoom, .l-anchor { display: none !important; }
  body.lc { background: #fff; }
  .lc-shell { display: block; padding: 0; max-width: none; }
  .lc-article { max-width: none; }
  .l-shot, .l-diagram, .l-step, .l-note, figure { break-inside: avoid; }
  .l-shot__frame { box-shadow: none; }
  .lc-body a { text-decoration: none; }
}

/* ------------------------------------------------------------------ Hub (learn/index.html) */
.lc-hero { background: var(--bg-soil); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 64px) clamp(22px, 5vw, 64px); margin: 4px 0 26px; position: relative; overflow: hidden; }
.lc-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 420px; height: 260px; border-top: 3px solid rgba(40,140,39,.55); border-radius: 50% 50% 0 0; transform: rotate(-8deg); pointer-events: none; }
.lc-hero__copy { position: relative; z-index: 1; max-width: 760px; }
.lc-body .lc-hero__h { font: 800 clamp(36px, 5vw, 60px)/1.02 var(--font-display); letter-spacing: -0.025em; color: #fff; margin: 0 0 14px; }
.lc-body .lc-hero__h .l-anchor { display: none; }
.lc-hero__lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #e9e2d6; margin: 0 0 24px; max-width: 60ch; }
.lc-search--hero { max-width: 680px; }
.lc-search--hero input { font-size: 17px; padding: 16px 18px 16px 46px; background: #fff; border: 0; border-radius: 12px; }
.lc-search--hero::before { left: 17px; }
.lc-search--hero::after { left: 30px; }
.lc-hero__try { margin: 18px 0 0; font-size: 14.5px; color: #cfc6b8; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.lc-body .lc-hero__try a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 5px 12px; font-weight: 600; }
.lc-body .lc-hero__try a:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.lc-doors { margin-top: 0; }
.lc-doors .l-path { padding: 22px 22px 24px; border-width: 1.5px; }
.lc-doors .l-path strong { font-size: 21px; }
.lc-block { margin: 54px 0 0; }
.lc-body .lc-block > h2 { margin: 0 0 6px; font-size: 28px; }
.lc-block__lead { margin: 0 0 18px !important; color: var(--ink-2); }
.lc-kits { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lc-kits li { margin: 0 !important; }
.lc-kitcard { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-decoration: none !important; color: var(--ink-2) !important; font-size: 14.5px; line-height: 1.5; }
.lc-kitcard:hover { border-color: var(--ink); }
.lc-kitcard strong { font: 800 17px/1.25 var(--font-display); color: var(--ink); }
.lc-kitcard__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand-green); margin-bottom: 4px; }
.lc-kitcard__dot--guidance { background: #fff; border: 3px solid var(--brand-green); box-sizing: border-box; }
.lc-kitcard__dot--lite { background: var(--brand-orange); }
.lc-kitcard__dot--dig { background: var(--brand-yellow); }
.lc-modes { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); gap: 1px; }
.lc-modes li { margin: 0 !important; }
.lc-modes a { display: block; height: 100%; box-sizing: border-box; background: #fff; padding: 16px 18px; text-decoration: none !important; color: var(--ink-2) !important; font-size: 14.5px; line-height: 1.45; }
.lc-modes a:hover { background: #fbf8f2; }
.lc-modes strong { display: block; font: 800 17px/1.25 var(--font-display); color: var(--ink); margin-bottom: 3px; }
.lc-sections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lc-section { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none !important; color: var(--ink-2) !important; font-size: 14.5px; line-height: 1.5; border-top: 4px solid var(--ink); }
.lc-section:hover { border-color: var(--ink); }
.lc-section strong { display: block; font: 800 17px/1.25 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.lc-practice { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.lc-practice > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.lc-body .lc-practice h2 { font-size: 22px; margin: 0 0 8px; }
.lc-practice p:last-child { margin-bottom: 0; }
@media (max-width: 1100px) { .lc-kits { grid-template-columns: repeat(2, 1fr); } .lc-sections { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .lc-kits, .lc-modes, .lc-sections, .lc-practice { grid-template-columns: 1fr; }
  .lc-hero { border-radius: 16px; }
  .lc-search--hero input { font-size: 16px; }
}
.lc-shell--hub .lc-help { display: none; }
body.lc:has(.lc-shell--hub) .lc-bar .lc-search { visibility: hidden; }
@media (max-width: 900px) { body.lc:has(.lc-shell--hub) .lc-bar .lc-search { display: none; } }
@media (max-width: 760px) { .lc-hero::after { display: none; } }

/* ================================================================== Phone-first interactions */
:root { --lc-top: 0px; }

/* Annotated screenshot: zoom stage + focus controls */
.l-shot__frame { overflow: hidden; }
.l-shot__stage { position: relative; line-height: 0; transform-origin: 0 0; transition: transform .45s cubic-bezier(.2,.7,.2,1); --s: 1; will-change: transform; }
.l-shot__stage > img { display: block; width: 100%; height: auto; border-radius: 9px; background: #fff; }
.l-shot--bare .l-shot__stage > img { border-radius: 12px; }
.l-shot__stage .l-pin { transform: scale(calc(1 / var(--s))); transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.l-shot__stage .l-pin.is-hot { transform: scale(calc(1.18 / var(--s))); }
.l-shot__stage .l-box { border-width: calc(3px / var(--s)); border-radius: calc(9px / var(--s)); }
.l-shot.is-zoomed .l-pin:not(.is-hot) { opacity: .35; }
.l-shot.is-zoomed .l-box:not(.is-hot) { opacity: 0; }
.l-shot__ctrl { display: none; }
@media (max-width: 900px), (pointer: coarse) {
  .l-shot__ctrl { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; align-items: center; margin: 10px 0 0; }
  .l-shot__ctrl button { appearance: none; height: 44px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 12px; font: 800 15px var(--font-display); cursor: pointer; }
  .l-shot__prev, .l-shot__next { font-size: 24px !important; line-height: 1; }
  .l-shot__count { font-size: 14px !important; }
  .l-shot.is-zoomed .l-shot__count { background: var(--ink); color: #fff; border-color: var(--ink); }
  .l-shot__now { grid-column: 1 / -1; margin: 2px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
  .l-shot__now:empty { display: none; }
  .l-shot__now strong { color: var(--ink); }
  .l-shot__badge { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-orange); color: #fff; font: 800 12.5px/24px var(--font-display); text-align: center; margin-right: 8px; vertical-align: 1px; }
  .l-keys li { cursor: pointer; padding-top: 7px !important; padding-bottom: 7px !important; }
  .l-shot__zoom { opacity: 1; bottom: 10px; right: 10px; padding: 8px 11px; }
}

/* Walkthrough: pinned screenshot that follows the step being read */
.l-walk { counter-reset: walk; margin: 28px 0 36px; position: relative; }
.l-walk__step { counter-increment: walk; position: relative; }
.l-walk__step > h3 { margin-top: 0 !important; }
.l-walk__step > h3::before { content: counter(walk); display: inline-block; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 15px/30px var(--font-display); text-align: center; margin-right: 10px; vertical-align: 1px; }
.l-walk:not(.is-live) .l-walk__step { margin-bottom: 30px; }
.l-walk.is-live .l-walk__media { position: sticky; top: calc(var(--lc-top) + 8px); z-index: 4; display: grid; }
.l-walk.is-live .l-walk__media > figure { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.l-walk.is-live .l-walk__media > figure.is-active { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.l-walk__media figcaption:empty { display: none; }
.l-walk__dots { grid-area: 2 / 1; display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.l-walk__dots button { appearance: none; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line-2); cursor: pointer; transition: width .2s, background .2s; }
.l-walk__dots button.is-active { width: 22px; border-radius: 4px; background: var(--ink); }
.l-walk.is-live .l-walk__step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 0 0 18vh; transition: border-color .2s, box-shadow .2s; }
.l-walk.is-live .l-walk__step:last-child { margin-bottom: 4vh; }
.l-walk.is-live .l-walk__step.is-active { border-color: var(--ink); box-shadow: 0 10px 30px rgba(26,22,18,.08); }
.l-walk__step p:last-child, .l-walk__step ol:last-child { margin-bottom: 0; }
.l-keys--step { grid-template-columns: 1fr !important; margin-top: 12px !important; }
@media (min-width: 901px) {
  .l-walk.is-live { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 0 28px; align-items: start; }
  .l-walk.is-live .l-walk__media { grid-column: 2; grid-row: 1 / span 60; }
  .l-walk.is-live .l-walk__step { grid-column: 1; margin-bottom: 40vh; }
  .lc-shell:has(.l-walk) { grid-template-columns: 236px minmax(0, 1fr); }
  .lc-shell:has(.l-walk) .lc-toc { display: none; }
  .lc-shell:has(.l-walk) .lc-article { max-width: 1080px; }
}
@media (max-width: 900px) {
  .l-walk.is-live .l-walk__media { margin: 0 -16px 14px; padding: 8px 16px 6px; background: rgba(250, 248, 243, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .l-walk.is-live .l-walk__media .l-shot__ctrl { display: none; }
  .l-walk.is-live .l-walk__media .l-shot__frame { padding: 4px; border-radius: 10px; }
  .l-walk.is-live .l-walk__step { margin-bottom: 38vh; }
}

/* Reading progress */
.lc-progress { position: fixed; left: 0; right: 0; top: var(--lc-top); height: 3px; background: var(--brand-orange); transform-origin: 0 50%; transform: scaleX(0); z-index: 49; pointer-events: none; }

/* Bottom dock + sheets (phones) */
.lc-dock { display: none; }
.lc-backdrop { position: fixed; inset: 0; background: rgba(12,10,8,.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 70; }
.lc-backdrop.is-on { opacity: 1; pointer-events: auto; }
.lc-sheet__head { display: none; }
body.lc-locked { overflow: hidden; }
.lc-bar__search { display: none; }
.lc-search__close { display: none; }
@media (max-width: 900px) {
  .lc-dock { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; background: rgba(26, 22, 18, .96); border-radius: 18px; padding: 6px; box-shadow: 0 12px 34px rgba(0,0,0,.28); transition: transform .25s ease, opacity .25s ease; }
  .lc-dock.is-hidden { transform: translateY(140%); opacity: 0; }
  .lc-dock button, .lc-dock a { appearance: none; border: 0; background: transparent; color: #fff; font: 700 11.5px/1.2 var(--font-body); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 2px 6px; border-radius: 12px; text-decoration: none; cursor: pointer; min-height: 48px; }
  .lc-dock button:active, .lc-dock a:active { background: rgba(255,255,255,.12); }
  .lc-dock__i { width: 20px; height: 20px; display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
  .lc-dock__i--menu { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18M3 12h18M3 18h12' stroke='black' stroke-width='2.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
  .lc-dock__i--toc { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13' stroke='black' stroke-width='2.4' stroke-linecap='round' fill='none'/%3E%3Ccircle cx='3.5' cy='6' r='1.8'/%3E%3Ccircle cx='3.5' cy='12' r='1.8'/%3E%3Ccircle cx='3.5' cy='18' r='1.8'/%3E%3C/svg%3E"); }
  .lc-dock__i--search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' stroke='black' stroke-width='2.4' fill='none'/%3E%3Cpath d='M15.5 15.5 21 21' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
  .lc-dock__i--call { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
  body.lc { padding-bottom: 86px; }

  /* Sheets: side nav and on-this-page slide up from the bottom */
  .lc-side, .lc-toc { display: none !important; }
  .lc-side.is-sheet, .lc-toc.is-sheet { display: block !important; position: fixed !important; left: 0; right: 0; bottom: 0; top: auto; max-height: 78vh; overflow-y: auto; background: #fff; border-radius: 20px 20px 0 0; padding: 0 18px calc(24px + env(safe-area-inset-bottom)); margin: 0; z-index: 80; box-shadow: 0 -12px 40px rgba(0,0,0,.25); animation: lc-sheet-up .25s cubic-bezier(.2,.7,.2,1); border: 0; }
  .is-sheet .lc-sheet__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 18px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); z-index: 1; }
  .is-sheet .lc-sheet__head::before { content: ""; position: absolute; left: 50%; top: 7px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line-2); }
  .is-sheet .lc-sheet__head strong { font: 800 17px var(--font-display); color: var(--ink); }
  .lc-sheet__close { appearance: none; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; font: 700 14px var(--font-body); padding: 8px 14px; color: var(--ink); }
  .lc-side.is-sheet li a { padding-top: 10px; padding-bottom: 10px; font-size: 15.5px; }
  .lc-side.is-sheet .lc-side__sec > details > summary { padding-top: 14px; padding-bottom: 14px; font-size: 16px; }
  .lc-toc.is-sheet .lc-toc__head { display: none; }
  .lc-toc.is-sheet a { padding: 11px 0 11px 14px; font-size: 15.5px; }

  /* Compact bar: title + search icon + menu; search opens full screen */
  .lc-bar__inner { flex-wrap: nowrap; }
  .lc-bar .lc-search { display: none; }
  .lc-bar__search { display: block; margin-left: auto; width: 44px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' stroke='black' stroke-width='2.4' fill='none'/%3E%3Cpath d='M15.5 15.5 21 21' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
  .lc-bar__menu { margin-left: 0; height: 40px; }
  body.lc-searching .lc-bar .lc-search { display: block; position: fixed; inset: 0; z-index: 90; background: #fff; padding: 14px 14px 0; max-width: none; }
  body.lc-searching .lc-bar .lc-search input { font-size: 17px; padding: 14px 92px 14px 42px; background: var(--bg); }
  body.lc-searching .lc-bar .lc-search::before { left: 28px; top: 41px; }
  body.lc-searching .lc-bar .lc-search::after { left: 41px; top: 41px; }
  body.lc-searching .lc-search__close { display: block; position: absolute; right: 22px; top: 22px; appearance: none; border: 0; background: transparent; font: 700 15px var(--font-body); color: var(--ink); padding: 10px 6px; }
  body.lc-searching .lc-bar .lc-search__results { position: absolute; left: 0; right: 0; top: 76px; bottom: 0; max-height: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 6px 8px 40px; }
  body.lc-searching .lc-search__results a { padding: 13px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  body.lc-searching .lc-dock { display: none; }
  .lc-search--hero .lc-search__results { max-height: 60vh; }
}
@keyframes lc-sheet-up { from { transform: translateY(40%); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .l-shot__stage, .l-shot__stage .l-pin, .l-walk__media > figure { transition: none !important; }
}
@media print { .lc-dock, .lc-progress, .lc-backdrop, .l-shot__ctrl, .l-walk__dots { display: none !important; } .l-walk.is-live .l-walk__media { position: static; } }
.l-shot__frame, .l-shot { scroll-margin-top: calc(var(--lc-top) + 14px); }
@media (max-width: 900px) { body.lc-searching .lc-bar { z-index: 120; } }
@media (max-width: 900px), (pointer: coarse) { .l-shot.is-zoomed figcaption .l-keys { display: none; } }
@media (max-width: 900px), (pointer: coarse) { .l-shot__zoom { display: none; } }
/* walkthrough + label refinements after phone review */
@media (max-width: 900px) {
  .l-walk.is-live .l-walk__step { margin-bottom: 22vh; }
  .l-ui { white-space: normal; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .l-walk.is-live { display: block; }
  .l-walk.is-live .l-walk__media { margin-bottom: 16px; }
  .l-walk.is-live .l-walk__step { margin-bottom: 30vh; }
}
@media (min-width: 1181px) {
  .l-walk.is-live { grid-template-columns: minmax(320px, 1fr) minmax(0, 1.2fr); }
}
/* Diagrams on phones: keep labels readable (swipe), tap for a big pannable view */
.l-diagram__hint { display: none; }
@media (max-width: 760px) {
  .l-diagram { padding: 10px 0 12px; border-radius: 12px; }
  .l-diagram__art { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 12px; scrollbar-width: thin; }
  .l-diagram__art svg { width: 640px; max-width: none; max-height: none; }
  .l-diagram figcaption { margin: 10px 14px 0; }
  .l-diagram__hint { display: block; margin: 8px auto 0; appearance: none; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); border-radius: 999px; font: 700 12.5px var(--font-body); padding: 7px 14px; }
}
.l-lightbox--pan { display: block; padding: 0; cursor: default; background: #fff; }
.l-lightbox__pane { position: absolute; inset: 0; overflow: auto; -webkit-overflow-scrolling: touch; padding: 64px 20px 40px; touch-action: pan-x pan-y pinch-zoom; }
.l-lightbox__pane svg { display: block; width: max(1100px, 100%); max-width: none; height: auto; margin: 0 auto; }
.l-lightbox--pan .l-lightbox__close { background: var(--ink); color: #fff; z-index: 2; }
/* size classes must win over the body full-width rule */
.lc-body > .l-shot.l-shot--crop { max-width: 640px; }
.lc-body > .l-shot.l-shot--crop.l-shot--wide { max-width: 860px; }
.lc-body > .l-shot.l-shot--small { max-width: 440px; }
.l-clip video { display: block; width: 100%; height: auto; border-radius: 9px; background: #fff; }
.lc-body > .l-shot.l-clip.l-shot--small, .l-clip.l-shot--small { max-width: 300px; }
.l-nw { white-space: nowrap; }
.lc-main a[href^="tel:"], .lc-help a[href^="tel:"], .lc-article a[href^="tel:"] { white-space: nowrap; }
/* Tables with 3+ columns: one card per row on phones (build adds .l-table--stack and data-label) */
@media (max-width: 640px) {
  .l-table--stack, .l-table--stack tbody, .l-table--stack tr, .l-table--stack td, .l-table--stack tbody th { display: block; width: auto; }
  .l-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .l-table--stack tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .l-table--stack tr:last-child { border-bottom: 0; }
  .l-table--stack td, .l-table--stack tbody th { padding: 0; border: 0; background: none; white-space: normal; }
  .l-table--stack tr > :first-child { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
  .l-table--stack tr > :not(:first-child) { margin-top: 6px; font-weight: 400; }
  .l-table--stack tr > :not(:first-child):empty { display: none; }
  .l-table--stack [data-label]::before { content: attr(data-label); display: block; font: 700 12px/1.4 var(--font-body); color: var(--ink-2); letter-spacing: .02em; }
}
@media (max-width: 640px) { .l-table th { white-space: normal; } .l-table:not(.l-table--stack) th, .l-table:not(.l-table--stack) td { padding: 10px 12px; } }
.l-walk.is-live .l-walk__media > figure { justify-self: center; width: 100%; }
.l-table .l-ui { white-space: normal; } .l-table th { white-space: normal; } .l-table td, .l-table th { overflow-wrap: break-word; } .l-table td:first-child code { white-space: nowrap; }
.l-card span.l-nw, .lc-pn span.l-nw, a span.l-nw, span.l-nw { display: inline; font-size: inherit; line-height: inherit; color: inherit; margin: 0; font-weight: inherit; }
/* Walkthrough: the pinned screenshot never gets taller than part of the screen (tall sidebar crops) */
@media (max-width: 900px) { .l-walk.is-live .l-walk__media > figure { max-width: min(var(--cap, 100%), calc(42vh * var(--ar, 10) + 10px)) !important; } }
@media (min-width: 901px) { .l-walk.is-live .l-walk__media > figure { max-width: min(var(--cap, 100%), calc((100vh - var(--lc-top, 60px) - 140px) * var(--ar, 10) + 22px)) !important; } }
/* Magnifier lens: enlarged inset of the control to tap (built from the full-resolution capture) */
.l-lens { position: absolute; z-index: 3; display: block; background-repeat: no-repeat; background-color: #fff; border: 3px solid var(--brand-orange); border-radius: 12px; box-shadow: 0 0 0 3px #fff, 0 12px 30px rgba(0,0,0,.45); box-sizing: border-box; pointer-events: none; }
.l-shot__stage .l-lens { border-width: calc(3px / var(--s)); border-radius: calc(12px / var(--s)); box-shadow: 0 0 0 calc(3px / var(--s)) #fff, 0 12px 30px rgba(0,0,0,.45); }
.l-lens b { position: absolute; left: -14px; top: -14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-orange); color: #fff; font: 800 15px/26px var(--font-display); text-align: center; border: 2px solid #fff; box-sizing: border-box; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.l-shot__stage .l-lens b { transform: scale(calc(1 / var(--s))); transform-origin: 0 0; }
.l-box--lens { border-style: solid; }
.l-shot.is-zoomed .l-lens { opacity: 0; transition: opacity .2s; }
@media (max-width: 900px) { .l-lens { border-width: 2px; border-radius: 8px; } .l-lens b { width: 22px; height: 22px; left: -10px; top: -10px; font-size: 11px; line-height: 19px; } }
/* Lens targets: a thin outline that marks the spot without hiding it */
.l-box.l-box--lens { border-width: 2px; background: transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.75); border-radius: 6px; }
.l-shot__stage .l-box.l-box--lens { border-width: calc(2px / var(--s)); }
@media (max-width: 900px) { .l-box.l-box--lens { border-width: 1.5px; border-radius: 4px; } }
/* Phone-native diagrams: no sideways swipe; narrow ones stay narrow on desktop */
.l-diagram--narrow .l-diagram__art svg { width: 100%; max-width: 560px; margin: 0 auto; }
@media (max-width: 760px) {
  .l-diagram--narrow, .l-diagram--scene { padding: 12px 10px; }
  .l-diagram--narrow .l-diagram__art, .l-diagram--scene .l-diagram__art { overflow: visible; padding: 0; }
  .l-diagram--narrow .l-diagram__art svg, .l-diagram--scene .l-diagram__art svg { width: 100%; }
  .l-diagram--narrow .l-diagram__hint, .l-diagram--scene .l-diagram__hint { display: none; }
}
.l-diagram .l-keys { margin-top: 12px !important; }
/* Desktop: narrow diagrams at full size (no 620 px height cap) with the legend beside them */
@media (min-width: 1100px) {
  .l-diagram--narrow { display: grid; grid-template-columns: minmax(0, 480px) minmax(260px, 1fr); column-gap: 30px; align-items: center; }
  .l-diagram--narrow .l-diagram__art svg { max-width: 480px; max-height: none; }
  .l-diagram--narrow figcaption { margin-top: 0; border-top: 0; padding: 2px 0 2px 24px; border-left: 1px solid var(--line); }
  .l-diagram--narrow .l-keys { grid-template-columns: 1fr; }
}
/* Clickable screenshot: each card area links to its guide */
.l-hotspots__frame { position: relative; line-height: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(26,22,18,.14); }
.l-hotspots__frame img { width: 100%; height: auto; display: block; }
.l-hotspots__frame a { position: absolute; border-radius: 10px; outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .15s, background .15s; }
.l-hotspots__frame a:hover, .l-hotspots__frame a:focus-visible { outline-color: var(--brand-orange); background: rgba(226,110,27,.08); }
.l-hotspots__frame a:active { background: rgba(226,110,27,.18); }
