/* =========================================================================
   Documentation site chrome.

   This file styles the docs site only. It reuses the kit's tokens so the
   reference and the thing it documents cannot drift apart, but it defines
   no `lb-` classes and the kit does not depend on it.
   ========================================================================= */

html { scroll-padding-top: var(--lb-scroll-offset); }
/* A safety net, not a strategy: every wide child owns its own overflow.
   `clip`, not `hidden`: overflow: hidden makes the element a scroll
   container, and a scroll container between a sticky element and the
   viewport is what stops it sticking. Both rails and the floating
   navigation scrolled away with the page because of this one line. */
html, body { overflow-x: clip; }

body {
  margin: 0;
  --gutter: var(--lb-gutter);
  background: var(--lb-background);
  color: var(--lb-on-surface);
  font: var(--lb-type-body-sm);
  font-family: var(--lb-font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--lb-dur-normal) var(--lb-ease), color var(--lb-dur-normal) var(--lb-ease);
}

* { box-sizing: border-box; }

@media (min-width: 560px) { body { --gutter: var(--lb-gutter-md); } }
@media (min-width: 1024px) { body { --gutter: var(--lb-gutter-lg); } }

::selection { background: var(--lb-scrim-strong); }

:where(a, button, input, [tabindex]):focus { outline: none; }
:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--lb-focus);
  outline-offset: 2px;
  border-radius: 4px;
}
[tabindex="-1"]:focus { outline: none; }

.skip {
  position: fixed;
  top: -100px;
  left: var(--lb-s-4);
  z-index: var(--lb-z-toast);
  padding: var(--lb-s-3) var(--lb-s-5);
  background: var(--lb-primary);
  color: var(--lb-on-primary);
  border-radius: var(--lb-r-pill);
  font: var(--lb-type-label);
  text-decoration: none;
  box-shadow: var(--lb-elev-popover);
  transition: top var(--lb-dur-fast) var(--lb-ease);
}
.skip:focus { top: var(--lb-s-4); }

/* ---------- Navigation: three islands, one row --------------------------
   A documentation page asks two independent "where am I" questions — what
   site is this, and where am I inside this page. The islands answer the
   first; the rails answer the second. Nothing is pinned across the top as
   a solid bar, so the page still scrolls visibly through the gaps and
   reads as a page rather than a screen with a sealed top edge.
   ------------------------------------------------------------------------ */

.nav-stack {
  position: sticky;
  top: 0;
  z-index: var(--lb-z-sticky, 30);
  padding-block: var(--lb-nav-top);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--lb-s-3);
  max-width: var(--lb-shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  /* The gaps are real: without this the empty space between islands is an
     invisible click blocker across the top of every page. */
  pointer-events: none;
}
.island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--lb-s-2);
  min-height: var(--lb-nav-h);
  padding-inline: var(--lb-s-3);
  border: 1px solid var(--lb-outline);
  border-radius: var(--lb-r-pill);
  background: var(--lb-surface);
  box-shadow: var(--lb-elev-float);
}
@supports (backdrop-filter: blur(1px)) {
  .island { background: color-mix(in oklab, var(--lb-surface) 88%, transparent); backdrop-filter: blur(12px) saturate(1.3); }
}
.brand-island { grid-column: 1; justify-self: start; text-decoration: none; color: var(--lb-on-surface); padding-inline: var(--lb-s-2) var(--lb-s-5); }
.nav-island { grid-column: 2; justify-self: center; display: none; padding-inline: var(--lb-s-2); }
.actions-island { grid-column: 3; justify-self: end; padding-inline: var(--lb-s-2); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex: 0 0 auto;
  border-radius: var(--lb-r-full);
  background: var(--lb-primary);
  color: var(--lb-on-primary);
  font: var(--lb-type-mono-xs);
  letter-spacing: 0.02em;
}
/* Mobile-first: the wordmark is absent below xs and appears with it, so
   the ladder is written with min-width only. */
.brand-word { display: none; font: var(--lb-type-label-lg); white-space: nowrap; }
@media (min-width: 480px) { .brand-word { display: block; } }

.nav-island ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-island a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: var(--lb-s-4);
  border-radius: var(--lb-r-pill);
  font: var(--lb-type-label);
  color: var(--lb-on-surface-2);
  text-decoration: none;
  white-space: nowrap;
}
.nav-island a:hover { color: var(--lb-on-surface); background: var(--lb-scrim); }
.nav-island a[aria-current] { background: var(--lb-primary); color: var(--lb-on-primary); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: var(--lb-r-full);
  background: none;
  color: var(--lb-on-surface-2);
  cursor: pointer;
}
.icon-btn:hover { background: var(--lb-scrim); color: var(--lb-on-surface); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Shell: rail | content | rail --------------------------------
   Both rails are one token, so the two sides cannot drift apart and the
   reading column is centred in the viewport rather than pushed left by a
   wide rail with a narrower one opposite. At lg the right rail is an empty
   spacer; at xl it fills with the contents list. Crossing xl changes what
   is in the rail, never the geometry.
   ------------------------------------------------------------------------ */

.shell {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--lb-s-8);
  max-width: var(--lb-shell);
  margin-inline: auto;
  padding: var(--lb-s-6) var(--gutter) var(--lb-s-11);
}

/* minmax(0, 1fr) is required: without the zero minimum a wide table or code
   block pushes the grid past the viewport and breaks both sticky rails. */
@media (min-width: 1024px) {
  .shell {
    grid-template-columns: var(--lb-rail) minmax(0, 1fr) var(--lb-rail);
    gap: var(--lb-s-10);
    align-items: start;
  }
}

.rail {
  min-width: 0;
  display: none;
  position: sticky;
  top: var(--lb-rail-top);
  max-height: calc(100dvh - var(--lb-rail-top) - var(--lb-s-6));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-bottom: var(--lb-s-6);
}
@media (min-width: 1024px) {
  .nav-island { display: flex; }
  .rail-nav { display: block; }
  /* At lg the right rail is an empty spacer: the geometry is identical
     either side of xl, only its contents change. */
  .rail-toc { display: block; visibility: hidden; }
}
@media (min-width: 1280px) { .rail-toc { visibility: visible; } }
.rail-toc[hidden] { display: none; }

.rail-label {
  margin: var(--lb-s-5) 0 var(--lb-s-2);
  font: var(--lb-type-mono-xs);
  letter-spacing: var(--lb-track-caps);
  text-transform: uppercase;
  color: var(--lb-on-surface-3);
}
.rail-label:first-child { margin-top: 0; }

.rail-list, .toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rail-list a, .toc-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lb-s-2);
  min-height: 34px;
  padding: var(--lb-s-1) var(--lb-s-3);
  border-radius: var(--lb-r-sm);
  font: var(--lb-type-body-xs);
  color: var(--lb-on-surface-2);
  text-decoration: none;
}
.rail-list a:hover, .toc-list a:hover { background: var(--lb-scrim); color: var(--lb-on-surface); }
.rail-list a[aria-current], .toc-list a[aria-current] { background: var(--lb-surface-3); color: var(--lb-on-surface); }
/* An absolutely-positioned marker, not a border-left: a border inherits the
   link's corner radius and bows away from the text edge. */
.rail-list a[aria-current]::before,
.toc-list a[aria-current]::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 5px; bottom: 5px;
  width: 2px;
  border-radius: 0;
  background: var(--lb-on-surface);
}
.rail-list .count { font: var(--lb-type-mono-xs); color: var(--lb-on-surface-3); }
.toc-list .toc-sub a { padding-left: var(--lb-s-6); color: var(--lb-on-surface-3); }

/* ---------- Drawer (below lg) -------------------------------------------- */

.drawer {
  width: min(88vw, 380px);
  max-width: none;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--lb-outline);
  background: var(--lb-surface);
  color: var(--lb-on-surface);
  box-shadow: var(--lb-elev-modal);
}
.drawer::backdrop { background: var(--lb-overlay); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lb-s-3);
  padding: var(--lb-s-4) var(--lb-s-5);
  border-bottom: 1px solid var(--lb-outline);
  position: sticky;
  top: 0;
  background: var(--lb-surface);
}
.drawer-head .rail-label { margin: 0; }
.drawer-body { padding: var(--lb-s-5) var(--lb-s-5) var(--lb-s-10); overflow-y: auto; }
@media (min-width: 1024px) { .drawer-btn { display: none; } }

/* ---------- Content column ----------------------------------------------- */

.content {
  container-type: inline-size;
  container-name: content;
  min-width: 0;
  width: 100%;
  max-width: var(--lb-content);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--lb-s-9);
}
@media (min-width: 768px) { .content { gap: var(--lb-s-10); } }

/* A break-out extends symmetrically past the reading column without
   becoming a page mode of its own. */
.content > .bleed-wide {
  width: min(var(--lb-wide), 100%);
  margin-inline: calc(50% - min(var(--lb-wide), 100%) / 2);
}

/* ---------- Prose -------------------------------------------------------- */

.page-head { display: flex; flex-direction: column; gap: var(--lb-s-4); }
.page-head h1 {
  margin: 0;
  font: var(--lb-type-h1);
  letter-spacing: var(--lb-track-tight);
  text-wrap: balance;
  max-width: 20ch;
}
.dek { margin: 0; font: var(--lb-type-body-lg); color: var(--lb-on-surface-2); max-width: 62ch; letter-spacing: var(--lb-track-snug); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--lb-s-3);
  margin: 0;
  font: var(--lb-type-mono-xs);
  letter-spacing: var(--lb-track-caps);
  text-transform: uppercase;
  color: var(--lb-on-surface-3);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--lb-outline-strong);
}
.quiet { color: var(--lb-on-surface-3); }

.content > section {
  display: flex;
  flex-direction: column;
  gap: var(--lb-s-5);
  padding-top: var(--lb-s-9);
  border-top: 1px solid var(--lb-outline);
  scroll-margin-top: var(--lb-scroll-offset);
}
@media (min-width: 768px) { .content > section { padding-top: var(--lb-s-10); } }
/* The first section on a page has no rule above it. */
.content > .page-head + section { padding-top: 0; border-top: 0; }

section { display: flex; flex-direction: column; gap: var(--lb-s-4); }
section h2 {
  margin: 0;
  font: var(--lb-type-h2);
  letter-spacing: var(--lb-track-snug);
  scroll-margin-top: var(--lb-scroll-offset);
}
/* Numbered sections. The number is written into the markup at build time
   rather than counted in CSS: a CSS counter is invisible to the contents
   rail, cannot be linked to, and — as review found — silently restarts
   inside an element with style containment, which is how two sections both
   came out as 01. */
.content > section > h2 { display: flex; align-items: baseline; gap: var(--lb-s-4); }
.section-index {
  flex: 0 0 auto;
  font: var(--lb-type-mono-xs);
  letter-spacing: var(--lb-track-caps);
  color: var(--lb-on-surface-3);
  font-variant-numeric: tabular-nums;
}
.toc-list .toc-index { margin-right: var(--lb-s-2); color: var(--lb-on-surface-3); font: var(--lb-type-mono-xs); }
section h3 {
  margin: var(--lb-s-4) 0 0;
  font: var(--lb-type-h4);
  letter-spacing: var(--lb-track-snug);
  color: var(--lb-on-surface);
}
section p { margin: 0; max-width: 68ch; color: var(--lb-on-surface-2); }
section p a, .notes a { color: var(--lb-on-surface); text-underline-offset: 3px; text-decoration-color: var(--lb-outline-strong); }

.notes, .facts { margin: 0; padding-inline-start: var(--lb-s-5); display: flex; flex-direction: column; gap: var(--lb-s-2); max-width: 68ch; color: var(--lb-on-surface-2); }
.notes li::marker, .facts li::marker { color: var(--lb-on-surface-3); }
.facts strong { color: var(--lb-on-surface); font-weight: 500; }

code:not([class*="lb-"]) {
  font: var(--lb-type-mono);
  padding: 2px 6px;
  border-radius: var(--lb-r-xs);
  background: var(--lb-code-surface);
  border: 1px solid var(--lb-outline);
  color: var(--lb-on-surface);
}
code.t { color: var(--lb-code-attr); }

pre:not([class*="lb-"]) {
  margin: 0;
  padding: var(--lb-s-4) var(--lb-s-5);
  overflow-x: auto;
  background: var(--lb-code-surface);
  border: 1px solid var(--lb-outline);
  border-radius: var(--lb-r-md);
  font: var(--lb-type-mono);
  color: var(--lb-code-plain);
  tab-size: 2;
}
pre:not([class*="lb-"]) code { padding: 0; border: 0; background: none; color: inherit; }

/* Code must not be typeset like prose. The page enables stylistic sets and
   contextual alternates for its sans; inherited into a monospace face they
   turned `-->` into an arrow and `</` into a single glyph. */
/* The docs' own samples are rendered by the kit's code-snippet component,
   so the documentation and the thing it documents share one highlighter. */
.doc-code { display: block; }

code, pre, kbd, samp, .lb-c :where(code, pre, kbd, samp) {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "calt" 0;
}

.actions { display: flex; flex-wrap: wrap; gap: var(--lb-s-2); }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--lb-control-h);
  padding-inline: var(--lb-s-5);
  border-radius: var(--lb-r-pill);
  border: 1px solid var(--lb-outline-strong);
  background: var(--lb-surface);
  color: var(--lb-on-surface);
  font: var(--lb-type-label-lg);
  text-decoration: none;
}
.btn:hover { background: var(--lb-surface-2); }
.btn-primary { background: var(--lb-primary); color: var(--lb-on-primary); border-color: transparent; }
.btn-primary:hover { background: var(--lb-primary-hover); }

/* ---------- Tables ------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--lb-outline);
  border-radius: var(--lb-r-md);
  background: var(--lb-surface);
}
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font: var(--lb-type-body-xs); }
.table-wrap th {
  text-align: left;
  padding: var(--lb-s-3) var(--lb-s-4);
  background: var(--lb-surface-2);
  border-bottom: 1px solid var(--lb-outline);
  font: var(--lb-type-mono-xs);
  letter-spacing: var(--lb-track-caps);
  text-transform: uppercase;
  color: var(--lb-on-surface-3);
  font-weight: 500;
}
.table-wrap td { padding: var(--lb-s-3) var(--lb-s-4); border-bottom: 1px solid var(--lb-outline-soft); vertical-align: top; color: var(--lb-on-surface-2); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td code { white-space: nowrap; }
.req {
  margin-left: var(--lb-s-2);
  font: var(--lb-type-mono-xs);
  letter-spacing: var(--lb-track-caps);
  text-transform: uppercase;
  color: var(--lb-error);
}

/* ---------- Component sections -------------------------------------------- */

.component {
  display: flex;
  flex-direction: column;
  gap: var(--lb-s-5);
  scroll-margin-top: var(--lb-scroll-offset);
}
.component-head .eyebrow::before { display: none; }
.component-head { display: flex; flex-direction: column; gap: var(--lb-s-2); }
.component-head h2 { font: var(--lb-type-h3); letter-spacing: var(--lb-track-snug); }
.component-head .dek { font: var(--lb-type-body-sm); }
.tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lb-s-2); margin-top: var(--lb-s-1); }
.state {
  padding: 3px 8px;
  border-radius: var(--lb-r-pill);
  border: 1px solid var(--lb-outline);
  font: var(--lb-type-mono-xs);
  letter-spacing: var(--lb-track-caps);
  text-transform: uppercase;
  color: var(--lb-on-surface-3);
}
.tokens { display: flex; flex-wrap: wrap; gap: var(--lb-s-2); }

.previews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: var(--lb-s-4);
}
.preview { margin: 0; display: flex; flex-direction: column; gap: var(--lb-s-2); }
.preview figcaption {
  font: var(--lb-type-mono-xs);
  letter-spacing: var(--lb-track-caps);
  text-transform: uppercase;
  color: var(--lb-on-surface-3);
}
/* ---------- The stage --------------------------------------------------
   A component and the page documenting it are made of the same surfaces,
   so a card on a card disappears. The stage gives every specimen a
   distinct, obviously-not-content ground: a dotted field the kit never
   uses, an inset rule rather than a border, and a corner tab naming what
   is being shown. The component is then the only solid object in view. */

.stage,
.preview-stage {
  position: relative;
  padding: var(--lb-s-5);
  border-radius: var(--lb-r-lg);
  background: var(--lb-surface-2);
  box-shadow: inset 0 0 0 1px var(--lb-outline);
  container-type: inline-size;
  /* A transform makes this the containing block for position: fixed, so a
     specimen like floating-cta stays in its own frame instead of pinning
     itself to the viewport and covering the page. */
  transform: translate(0);
}
/* One ground, one hairline. An earlier pass used a dotted field and gave
   each specimen its own second frame; two nested boxes plus a texture is
   louder than anything the kit itself draws, which is the opposite of the
   point. Components are mostly white or outlined, so a single tinted
   ground separates them from the page on its own. */
@media (min-width: 560px) {
  .stage,
  .preview-stage { padding: var(--lb-s-6); }
}

/* ---------- Usage tabs ----------------------------------------------------- */

.tabs { display: flex; flex-direction: column; gap: var(--lb-s-3); }
.tabs [role="tablist"] {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: var(--lb-surface-2);
  border: 1px solid var(--lb-outline);
  border-radius: var(--lb-r-md);
  align-self: flex-start;
  overflow-x: auto;
}
.tabs [role="tab"] {
  min-height: 34px;
  padding-inline: var(--lb-s-4);
  border: 0;
  border-radius: var(--lb-r-sm);
  background: none;
  font: var(--lb-type-label);
  color: var(--lb-on-surface-2);
  cursor: pointer;
  white-space: nowrap;
}
.tabs [role="tab"]:hover { color: var(--lb-on-surface); }
.tabs [role="tab"][aria-selected="true"] {
  background: var(--lb-surface);
  color: var(--lb-on-surface);
  box-shadow: var(--lb-elev-raised);
}
.tabs [role="tabpanel"][hidden] { display: none; }

/* ---------- Overview grid ---------------------------------------------------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--lb-s-3);
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: var(--lb-s-2);
  padding: var(--lb-s-5);
  border: 1px solid var(--lb-outline);
  border-radius: var(--lb-r-lg);
  background: var(--lb-surface);
  text-decoration: none;
  color: var(--lb-on-surface);
  transition: border-color var(--lb-dur-fast) var(--lb-ease), box-shadow var(--lb-dur-fast) var(--lb-ease);
}
.cat-card:hover { border-color: var(--lb-outline-strong); box-shadow: var(--lb-elev-raised); }
.cat-card h3 { margin: 0; font: var(--lb-type-h4); letter-spacing: var(--lb-track-snug); }
.cat-card p { font: var(--lb-type-body-xs); margin: 0; }



/* ---------- Service registry --------------------------------------------- */

.svc { display: inline-flex; align-items: center; gap: var(--lb-s-3); }
.svc-chip {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  flex: 0 0 auto;
  border-radius: var(--lb-r-sm);
  font: var(--lb-type-mono-xs);
  letter-spacing: 0;
}

/* ---------- Swatches --------------------------------------------------------- */

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: var(--lb-s-3);
}
.swatch { display: flex; flex-direction: column; gap: var(--lb-s-2); font: var(--lb-type-body-xs); }
.swatch .chip {
  height: 64px;
  border-radius: var(--lb-r-md);
  border: 1px solid var(--lb-outline);
}
.swatch .quiet { font: var(--lb-type-mono-xs); }

/* ---------- Demo page ----------------------------------------------------------- */

/* The page, not a specimen. These were both called .demo-body: the
   `display: contents` rule meant for the specimen wrapper landed on
   <body>, which removes the body box — and with it the page background,
   leaving a white canvas under a grey sticky header. Same failure as the
   `lb-<name>` host collision: one name, two roles. */
.docs-page { --bleed: var(--gutter); }
/* ---------- Demo specimens -----------------------------------------------
   Ninety-five components stacked on one page will run together unless each
   is given a frame it clearly owns. Each specimen is a panel: a labelled
   header bar, then the component on the dotted stage. */

.demo-cat { display: flex; flex-direction: column; gap: var(--lb-s-5); scroll-margin-top: var(--lb-s-6); }
.demo-cat > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--lb-s-4);
  /* Opaque, and bled to the gutter edges. A fade-to-transparent lets the
     content scroll through the header's own lower half, which is what made
     this read as a mismatched band instead of a heading. */
  margin-inline: calc(var(--bleed, var(--lb-gutter)) * -1);
  padding: var(--lb-s-4) var(--bleed, var(--lb-gutter)) var(--lb-s-3);
  background: var(--lb-background);
  border-bottom: 1px solid var(--lb-outline);
}
.demo-cat h2 { margin: 0; font: var(--lb-type-h3); letter-spacing: var(--lb-track-snug); }
.demo-cat header .count { font: var(--lb-type-mono-xs); color: var(--lb-on-surface-3); }

.demo-items { display: flex; flex-direction: column; gap: var(--lb-s-5); }

.demo-item {
  display: flex;
  flex-direction: column;
  gap: var(--lb-s-3);
  padding-top: var(--lb-s-5);
  border-top: 1px solid var(--lb-outline);
  scroll-margin-top: var(--lb-s-10);
}
.demo-head {
  display: flex;
  align-items: baseline;
  gap: var(--lb-s-3);
}
.demo-name {
  margin: 0;
  margin-right: auto;
  font: var(--lb-type-mono-xs);
  letter-spacing: var(--lb-track-caps);
  text-transform: uppercase;
  color: var(--lb-on-surface-2);
}
.demo-index {
  font: var(--lb-type-mono-xs);
  color: var(--lb-on-surface-3);
  font-variant-numeric: tabular-nums;
}
.demo-doc {
  font: var(--lb-type-mono-xs);
  letter-spacing: var(--lb-track-caps);
  color: var(--lb-on-surface-3);
  text-decoration: none;
  padding: 4px;
}
.demo-doc:hover { color: var(--lb-on-surface); }

@media print {
  .nav-stack, .rail, .skip, .drawer { display: none; }
  .shell { display: block; padding: 0; }
}
