/* ── src/css/base.css ── */
/* src/css/base.css: the core frame every page wears (lane A, the scaffold).
   Colors come ONLY from theme/tokens.css (generated from the Base theme
   documents, theme/*.ColorTheme.json); never write a hex here. Lanes add
   their own file in src/css/lanes/<lane>.css (concatenated after this one)
   and never edit core files.

   Phone first: a 16px side gutter, no horizontal page scroll at 320px+. */

:where(:root) {
  /* Fallbacks if tokens.css fails to load; the real values are the theme's. */
  --bg: #FFFFFF;
  --surface: #F5F5F5;
  --surface-lift: #EFEFEF;
  --border: #E6E6E6;
  --border-bright: #8A8A8A;
  --text-primary: #000000;
  --text-bright: #000000;
  --text-secondary: #3A3A3C;
  --text-muted: #6B6B6B;
  --accent: #1E6BFF;
  --link: #1E6BFF;
  --font-body: system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-display: system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

:root {
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --gutter: 16px;
  --measure: 46rem;
  --page: 72rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --header-h: 3.75rem;
  /* The brand blue as a FILL. White ink on #1E6BFF is 4.57:1 (AA for text);
     the derived --ink-on-accent picks black by a hair, which reads wrong on
     the app's own blue, so buttons use this pair instead. */
  --brand: var(--accent);
  --ink-on-brand: #FFFFFF;
  /* .segmented (the release toggle, the report kind) */
  --seg-ground: var(--surface);
  --seg-thumb: var(--bg);
  --seg-ink: var(--text-bright);
}

@media (min-width: 40rem) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* The closed mobile drawer sits off-canvas (translateX(100%)); clip it so
     it never widens the page. */
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + var(--space-2));
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-bright);
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 var(--space-2);
}
h1 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 var(--space-2); max-width: var(--measure); }

a {
  color: var(--link);
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.15em;
}
a:hover { text-decoration-color: currentColor; }

img, svg { max-width: 100%; }

code, pre, kbd { font-family: var(--font-mono); font-size: 0.9em; }
code { background: var(--surface); padding: 0.1em 0.35em; border-radius: 4px; }
pre { background: var(--surface); padding: var(--space-2); border-radius: var(--radius-md); overflow-x: auto; max-width: 100%; }
pre code { background: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--surface);
  color: var(--text-bright);
  padding: var(--space-1) var(--space-2);
}
.skip-link:focus { left: var(--gutter); top: var(--space-1); }

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--space-6);
}
main > .page-title { margin: var(--space-5) 0 var(--space-4); }
main > section, main > header { margin: 0 0 var(--space-5); }

/* A SLOT: a section its lane has not filled yet (wireframe.yml, no layout). */
.slot {
  border: 1px dashed var(--border-bright);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  color: var(--text-muted);
}
.slot-note { margin: 0; }

/* Tables from pipeline/markdown.mjs scroll inside their own box, never the page. */
.table { overflow-x: auto; max-width: 100%; margin: 0 0 var(--space-3); }
table { border-collapse: collapse; width: 100%; font-size: 0.95em; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.65rem; border-bottom: 1px solid var(--border); }
th { color: var(--text-bright); }

/* Rendered Markdown (manual sections, legal documents, agents pages). */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-4); }
.prose h3 { margin-top: var(--space-3); }
.prose ul, .prose ol { padding-inline-start: 1.4em; margin: 0 0 var(--space-2); max-width: var(--measure); }
.prose li { margin: 0.3rem 0; }

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

/* ── src/css/components.css ── */
/* src/css/components.css: the chrome every page shares (lane A): header,
   nav and its mobile drawer, footer, buttons, the segmented control, the
   draft banner. Page-specific styles belong to a lane file in src/css/lanes/. */

/* ── header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--header-h);
  padding: 0.5rem var(--gutter);
  /* Solid, no backdrop-filter: a filter makes the header the containing block
     for its position:fixed children, which would trap the mobile drawer and
     its scrim inside the bar. */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-bright);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-inline-end: auto;
  min-height: 44px;
}
.wordmark-mark { width: 28px; height: 28px; border-radius: 7px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.975rem;
}
.nav-link:hover { color: var(--text-bright); background: var(--surface); }
.nav-link[aria-current="page"] { color: var(--text-bright); font-weight: 600; }
.nav .nav-home, .nav .nav-cta, .nav .nav-sub { display: none; }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-bright);
  cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 160ms ease;
}
.nav-toggle-bars { position: relative; background: transparent; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { transform: translateY(-4px); }
.nav-toggle-bars::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: rotate(-45deg); }
.nav-scrim { display: none; }

/* Below 54rem: with script, the nav becomes a drawer behind the toggle
   (src/js/nav-toggle.js). Without script the toggle stays hidden and the nav
   wraps under the wordmark, which always works. */
@media (max-width: 54rem) {
  .site-header { flex-wrap: wrap; }
  .site-header .header-cta { display: none; }
  .nav-toggle:not([hidden]) { display: inline-block; }
  .nav-toggle:not([hidden]) ~ .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 86vw);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + var(--space-1)) var(--space-2) var(--space-3);
    background: var(--bg);
    border-left: 1px solid var(--border);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 200ms ease, visibility 0s linear 200ms;
    z-index: 60;
  }
  .nav-toggle[aria-expanded="true"] ~ .nav {
    transform: none;
    visibility: visible;
    transition: transform 200ms ease;
  }
  .nav-toggle:not([hidden]) ~ .nav .nav-home,
  .nav-toggle:not([hidden]) ~ .nav .nav-cta { display: inline-flex; }
  .nav-toggle:not([hidden]) ~ .nav .nav-cta { margin-top: var(--space-2); justify-content: center; }
  .nav-toggle:not([hidden]) ~ .nav .nav-sub { display: block; padding: 0 0 var(--space-1) 0.7rem; }
  .nav-toggle { position: relative; z-index: 70; }
  .nav-toggle[aria-expanded="true"] ~ .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: color-mix(in srgb, var(--text-bright) 30%, transparent);
  }
}

.nav-sub-title { margin: var(--space-1) 0 0.25rem; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.nav-sub-list { list-style: none; margin: 0; padding: 0; }
.nav-sub-list a { display: block; padding: 0.35rem 0; color: var(--text-secondary); text-decoration: none; font-size: 0.925rem; }
.nav-sub-list a[aria-current="page"] { color: var(--text-bright); font-weight: 600; }

/* ── buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary { background: var(--brand); color: var(--ink-on-brand); }
.btn--primary:hover { background: var(--accent-bright, var(--brand)); color: var(--ink-on-accent-bright, var(--ink-on-brand)); }
.btn--ghost { background: transparent; color: var(--text-bright); border-color: var(--border-bright); }
.btn--ghost:hover { background: var(--surface); }
.badge--coming-soon, [aria-disabled="true"].btn { opacity: 0.55; cursor: default; }
/* cta.json `kind: "link"`: a quiet text link beside the buttons. */
.cta-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.25rem; font-weight: 600; text-decoration: none; }
.cta-link::after { content: "\00a0→"; }
.cta-link:hover { text-decoration: underline; }

/* ── segmented control ──────────────────────────────────────────────────── */

.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--seg-ground);
  border: 1px solid var(--border);
}
.segmented-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: var(--text-secondary);
}
.segmented--sm .segmented-option { padding: 0.25rem 0.75rem; }

/* ── shared bits ────────────────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 var(--space-1);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.band-alt { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-4) var(--gutter); }
.icon { display: inline-block; }

/* ── the draft banner (legal pages until counsel approves) ─────────────── */

.draft-banner {
  margin: var(--space-4) 0 calc(var(--space-4) * -1 + var(--space-2));
  padding: var(--space-2) var(--space-3);
  border: 2px solid var(--warning, var(--border-bright));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--warning, var(--surface)) 12%, var(--bg));
  max-width: var(--measure);
}
.draft-banner-title { margin: 0; font-weight: 700; color: var(--text-bright); }
.draft-banner-detail { margin: 0.25rem 0 0; color: var(--text-secondary); font-size: 0.95rem; }

/* ── footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-4) var(--gutter) var(--space-3);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--space-3);
  max-width: var(--page);
  margin: 0 auto var(--space-4);
}
.footer-col-title { font-size: 0.85rem; font-weight: 600; color: var(--text-bright); margin: 0 0 var(--space-1); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0.2rem 0; }
.footer-col a, .legal-nav a { color: var(--text-secondary); text-decoration: none; display: inline-block; padding: 0.3rem 0; }
.footer-col a:hover, .legal-nav a:hover { color: var(--text-bright); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  max-width: var(--page);
  margin: 0 auto;
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}
.footer-copy { margin: 0; color: var(--text-muted); font-size: 0.875rem; }
.colophon::before { content: "· "; }
.footer-utils { display: flex; align-items: center; gap: var(--space-2); }
.legal-nav { display: flex; gap: var(--space-2); }

/* The dark/light switch: the knob sits on the side of the CURRENT pole. */
.theme-switch {
  position: relative;
  width: 3.25rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-bright);
  background: var(--surface);
  color: var(--text-bright);
  cursor: pointer;
  padding: 0;
}
.theme-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: transform 160ms ease;
}
.theme-switch[aria-checked="true"] .theme-switch-knob { transform: translateX(1.3rem); }
.theme-switch-icon { width: 0.95rem; height: 0.95rem; grid-area: 1 / 1; }
.theme-switch-icon--moon { display: none; }
.theme-switch[aria-checked="true"] .theme-switch-icon--sun { display: none; }
.theme-switch[aria-checked="true"] .theme-switch-icon--moon { display: block; }

/* ── src/css/lanes/agents.css ── */
/* src/css/lanes/agents.css: lane C (Agents): the /agents section
   (layouts/agents-page.yml). The same frame as /docs (sidebar beside the body
   on a wide screen, after it on a phone), under its own class names so the two
   lanes never restyle each other. */

.agents-layout { max-width: var(--page); }

@media (min-width: 54rem) {
  .agents-layout {
    display: grid;
    grid-template-columns: 15.5rem minmax(0, 1fr);
    grid-template-areas: "nav body";
    column-gap: var(--space-5);
    align-items: start;
  }
  .agents-nav {
    grid-area: nav;
    position: sticky;
    top: calc(var(--header-h) + var(--space-2));
    max-height: calc(100vh - var(--header-h) - var(--space-3));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: var(--space-1);
  }
  .agents-body { grid-area: body; }
  .agents-nav-jump { display: none; }
}

/* ── the sidebar ── (lane H: the same metrics and states as .docs-nav, so the
   two sections read as one site) */

.agents-nav { font-size: 0.875rem; line-height: 1.4; }
@media (max-width: 53.99rem) {
  .agents-nav {
    margin-top: var(--space-5);
    padding: var(--space-3) var(--space-2) var(--space-1);
    background: var(--surface);
    border-radius: var(--radius-md);
  }
}
.agents-nav-group { margin-bottom: var(--space-3); }
.agents-nav-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
  padding-left: 0.65rem;
}
.agents-nav-list { list-style: none; margin: 0; padding: 0; }
.agents-nav-list li { margin: 0; }
.agents-nav-list a {
  display: block;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
}
.agents-nav-list a:hover { color: var(--text-bright); background: var(--surface-lift); }
.agents-nav-list a[aria-current="page"] {
  color: var(--text-bright);
  font-weight: 600;
  background: var(--surface-lift);
  box-shadow: inset 2px 0 0 var(--accent);
}
@media (min-width: 54rem) {
  .agents-nav-list a[aria-current="page"] { background: var(--surface); }
}

/* ── the document column ── */

.agents-body { max-width: var(--measure); min-width: 0; }

.agents-summary { font-size: 1.1875rem; line-height: 1.5; color: var(--text-secondary); margin: 0 0 var(--space-2); }

.agents-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem var(--space-2);
  margin: 0 0 var(--space-4);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.agents-meta:not(:has(a:not(.agents-nav-jump))) { margin-bottom: var(--space-3); }
.agents-raw { font-weight: 600; }
.agents-nav-jump { white-space: nowrap; margin-left: auto; }

.agents-prose h2,
.agents-prose h3,
.agents-entry-title {
  font-weight: 600;
  margin: var(--space-5) 0 var(--space-2);
  scroll-margin-top: calc(var(--header-h) + var(--space-2));
}
.agents-prose h2 { font-size: 1.25rem; }
.agents-prose h3 { font-size: 1.0625rem; }
.agents-prose > :first-child { margin-top: 0; }
.agents-prose ul,
.agents-prose ol { margin: 0 0 var(--space-2); padding-left: 1.25em; }
.agents-prose li { margin-bottom: var(--space-1); }
.agents-prose li::marker { color: var(--text-muted); }
.agents-prose pre,
.agents-entry-header { margin: 0 0 var(--space-3); font-size: 0.8125rem; line-height: 1.5; }
.agents-prose td code,
.agents-prose th code { overflow-wrap: anywhere; }
.agents-prose a { overflow-wrap: anywhere; }

/* ── Get the skill (on /agents) ── */

.agents-get {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-3);
  margin: 0 0 var(--space-5);
  scroll-margin-top: calc(var(--header-h) + var(--space-2));
}
.agents-get-title { font-size: 1.125rem; font-weight: 600; margin: 0 0 var(--space-1); }
.agents-get-lede { margin: 0 0 var(--space-2); color: var(--text-secondary); }
.agents-get-actions { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); margin: 0; }
@media (max-width: 30rem) {
  .agents-get-actions .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
}

/* ── /agents/scripts ── */

.agents-entries { list-style: none; margin: 0; padding: 0; }
.agents-entry { margin: 0 0 var(--space-5); scroll-margin-top: calc(var(--header-h) + var(--space-2)); }
.agents-entry-title { font-size: 1.125rem; margin-top: 0; }
.agents-entry-title code { background: none; padding: 0; font-size: 1em; }
.agents-entry-lead { margin: 0 0 var(--space-2); }
.agents-entry-link { margin: 0; font-size: 0.875rem; }

/* ── /agents/schemas ── */

.agents-schemas .agents-entry { margin-bottom: var(--space-4); }
.agents-entry-title a code { color: inherit; overflow-wrap: anywhere; }
.agents-entry-validates { margin: 0 0 0.25rem; font-size: 0.875rem; color: var(--text-muted); }

/* ── pager ── */

.agents-pager {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}
.agents-pager a { color: var(--text-secondary); text-decoration: none; }
.agents-pager a:hover { color: var(--text-bright); text-decoration: underline; }
.agents-pager-prev::before { content: "← "; color: var(--text-muted); }
.agents-pager-next { margin-left: auto; text-align: right; }
.agents-pager-next::after { content: " →"; color: var(--text-muted); }

/* ── src/css/lanes/docs.css ── */
/* src/css/lanes/docs.css: lane B (Docs): /docs and /docs/<slug>. Started from
   Terminal C's docs layout (components.css). Owned by lane B.

   The frame: on a wide screen, the sidebar (every section, grouped) on the
   left and the document beside it; on a phone, the document first and the
   sidebar after it (Terminal C's grid areas), reached by "All sections". */

.docs-layout { max-width: var(--page); }

@media (min-width: 54rem) {
  .docs-layout {
    display: grid;
    grid-template-columns: 15.5rem minmax(0, 1fr);
    grid-template-areas: "nav body";
    column-gap: var(--space-5);
    align-items: start;
  }
  /* The sticky offset clears the header bar; the max-height shrinks by the
   * same amount so the list's tail stays reachable. */
  .docs-nav {
    grid-area: nav;
    position: sticky;
    top: calc(var(--header-h) + var(--space-2));
    max-height: calc(100vh - var(--header-h) - var(--space-3));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: var(--space-1);
  }
  .docs-body { grid-area: body; }
  /* The jump link exists for the one-column order; beside a visible sidebar
   * it is a control that does nothing. */
  .docs-nav-jump { display: none; }
}

/* ── the sidebar / section list ── */

.docs-nav { font-size: 0.875rem; line-height: 1.4; }

/* On a phone the list follows the document: a quiet panel of its own. */
@media (max-width: 53.99rem) {
  .docs-nav {
    margin-top: var(--space-5);
    padding: var(--space-3) var(--space-2) var(--space-1);
    background: var(--surface);
    border-radius: var(--radius-md);
  }
}

.docs-nav-group { margin-bottom: var(--space-3); }

/* Group names step DOWN from the body, not up: the nav is wayfinding beside a
 * document, and ten loud headings would out-shout the prose they serve. */
.docs-nav-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
  padding-left: 0.65rem;
}

.docs-nav-list { list-style: none; margin: 0; padding: 0; }
.docs-nav-list li { margin: 0; }
.docs-nav-list a {
  display: block;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
}
.docs-nav-list a:hover { color: var(--text-bright); background: var(--surface-lift); }
/* Current: bright and weighted, with a quiet ground and a thin rule in the
 * accent so "you are here" reads at a glance in a long list. */
.docs-nav-list a[aria-current="page"] {
  color: var(--text-bright);
  font-weight: 600;
  background: var(--surface-lift);
  box-shadow: inset 2px 0 0 var(--accent);
}
@media (min-width: 54rem) {
  .docs-nav-list a[aria-current="page"] { background: var(--surface); }
}

/* ── the document column ── */

.docs-body { max-width: var(--measure); min-width: 0; }

.docs-summary {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 var(--space-1);
}

.docs-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}
.docs-meta .docs-nav-jump { margin-left: auto; }

/* The manual's own stable id (GS-1, AS-2): the app, the phone and an agent
 * all name sections by it. */
.docs-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  white-space: nowrap;
}

.docs-nav-jump { white-space: nowrap; font-size: 0.875rem; }

.docs-prose { line-height: 1.7; }
.docs-prose p { margin: 0 0 var(--space-2); }
.docs-prose h2,
.docs-prose h3 {
  font-weight: 650;
  line-height: 1.3;
  margin: var(--space-4) 0 var(--space-1);
}
.docs-prose h2 { font-size: 1.375rem; letter-spacing: -0.01em; }
.docs-prose h3 { font-size: 1.125rem; }
.docs-prose > :first-child { margin-top: 0; }

.docs-prose ul,
.docs-prose ol { margin: 0 0 var(--space-2); padding-left: 1.3em; }
.docs-prose li { margin-bottom: 0.4rem; }
.docs-prose li > ul,
.docs-prose li > ol { margin: 0.4rem 0 0; }
.docs-prose li::marker { color: var(--text-muted); }
.docs-prose strong { color: var(--text-bright); font-weight: 600; }
.docs-prose code { font-size: 0.85em; overflow-wrap: anywhere; }
.docs-prose pre code { overflow-wrap: normal; }

/* Cross-references ("See Confirmation cards (AS-2)") link to their section. */
.docs-xref { white-space: normal; }

.docs-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.docs-pager-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-bright);
  min-width: 0;
}
.docs-pager-link:hover { border-color: var(--border-bright); background: var(--surface); }
.docs-pager-label { font-size: 0.8125rem; color: var(--text-muted); }
.docs-pager-title { font-weight: 600; line-height: 1.35; }
.docs-pager-prev .docs-pager-label::before { content: "← "; }
.docs-pager-next { grid-column: 2; text-align: right; }
.docs-pager-next .docs-pager-label::after { content: " →"; }

.docs-provenance {
  margin: var(--space-3) 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── /docs — the grouped directory ── */

.docs-intro {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 var(--space-4);
}

.docs-group { margin-bottom: var(--space-4); }

.docs-group-title {
  font-size: 1.25rem;
  font-weight: 650;
  margin: var(--space-4) 0 var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid var(--border);
}
.docs-intro + .docs-group .docs-group-title { margin-top: 0; }

.docs-entries { list-style: none; margin: 0; padding: 0; }

/* Deep-link targets by the manual's own section ids (/docs#AP-4); the
 * header offset is base.css's scroll-padding-top. */
.docs-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.6rem;
  padding: 0.6rem 0;
}
.docs-entry:target { background: var(--surface); border-radius: var(--radius-sm); padding-inline: 0.6rem; margin-inline: -0.6rem; }

/* Weight only: the base `a` affordance (link color, visible underline) stays,
 * so every row reads as clickable. */
.docs-entry-title { font-weight: 600; }

.docs-entry-summary {
  flex-basis: 100%;
  margin: 0.15rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ── src/css/lanes/features.css ── */
/* src/css/lanes/features.css: phase 2 (Features): /features and any
   feature-grid band. Owned by the features lane. Colors only from the theme
   tokens (base.css / theme/tokens.css); phone first. */

.feature-lede { padding: var(--space-5) 0 var(--space-2); }
.feature-lede-detail { font-size: 1.15rem; color: var(--text-secondary); }

/* The compact section index: chips that wrap, never scroll the page. */
.feature-index ul {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.feature-index a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  min-height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
}
.feature-index a:hover { border-color: var(--border-bright); }
.feature-index .icon { color: var(--accent); font-size: 1rem; }

.feature-section { margin-bottom: var(--space-5); scroll-margin-top: calc(var(--header-h) + var(--space-2)); }
.feature-section-title { display: flex; align-items: center; gap: 0.5rem; }
.feature-section-icon { color: var(--accent); }
.feature-section-lede { color: var(--text-secondary); }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.feature-card {
  position: relative;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.feature-card:hover { border-color: var(--border-bright); }
.feature-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
/* The title is the card's one link; it covers the card so the whole card taps. */
.feature-card-link { color: var(--text-bright); text-decoration: none; }
.feature-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.feature-card-link:focus-visible { outline: none; }
.feature-card:has(.feature-card-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.feature-card p { margin: 0; color: var(--text-secondary); font-size: 0.975rem; }
.feature-icon { display: block; font-size: 1.4rem; color: var(--accent); margin-bottom: var(--space-1); }

/* Phone: the icon sits beside the title, so 69 cards don't make a mile-long page. */
@media (max-width: 40rem) {
  .feature-card { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: baseline; padding: var(--space-2); }
  .feature-icon { grid-row: 1 / span 2; margin: 0; font-size: 1.25rem; }
  .feature-cards { gap: 0.75rem; }
}

/* ── src/css/lanes/home.css ── */
/* src/css/lanes/home.css: lane F (home, phase 3). The hero, the trust strip,
   the home bands, how it works, the screenshots and the closing band.
   Calm and spacious (Terminal C's register): strong type, hairlines, one
   accent, no animation. Colors only from the theme's tokens. */

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero { padding: var(--space-5) 0 0; }
.hero-text { max-width: 46rem; }
.hero .eyebrow { margin-bottom: var(--space-2); color: var(--accent-text, var(--link)); }
.hero-title {
  font-size: clamp(2.6rem, 8.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 750;
  margin: 0 0 var(--space-3);
  max-width: 14ch;
  text-wrap: balance;
}
.hero-title .accent { color: var(--accent-text, var(--link)); }
.hero-sub {
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 40rem;
  text-wrap: pretty;
}
.hero-cta, .cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-2);
  margin-top: var(--space-3);
}
.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.25rem;
  font-weight: 600;
  text-decoration: none;
}
.hero-link:hover { text-decoration: underline; }
.hero-note, .cta-final-note { margin-top: var(--space-2); font-size: 0.9rem; color: var(--text-muted); }

.hero-art { margin: var(--space-5) 0 0; position: relative; }
/* A soft wash of the app's blue behind the screenshot: one CSS gradient. */
.hero-art::before {
  content: "";
  position: absolute;
  inset: -8% -4% 20%;
  z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-art-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 24px 60px -24px rgb(0 0 0 / 0.35);
}
.hero-art img { display: block; width: 100%; height: auto; }
.hero-art-caption, .home-shot-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-art-caption { margin-top: var(--space-2); max-width: var(--measure); }

/* ── trust strip ────────────────────────────────────────────────────────── */

.home-trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0;
}
.home-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 36rem) { .home-trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .home-trust-list { grid-template-columns: repeat(4, 1fr); } }
.home-trust-icon, .home-point-icon {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: var(--space-1);
  border-radius: 10px;
  font-size: 1.15rem;
  color: var(--accent-text, var(--link));
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.home-trust-title { margin: 0 0 0.25rem; font-weight: 650; color: var(--text-bright); }
/* Narrow screens: icon beside the words, so four promises stay short. */
@media (max-width: 59.99rem) {
  .home-trust-item { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: var(--space-2); }
  .home-trust-icon { grid-row: span 2; margin-bottom: 0; }
}
.home-trust-detail { margin: 0; font-size: 0.95rem; color: var(--text-secondary); }

/* ── the home bands ─────────────────────────────────────────────────────── */

main > .home-band, main > .home-proof, main > .steps { margin-bottom: var(--space-6); }
.home-band-head { max-width: 46rem; margin-bottom: var(--space-4); }
.home-band-title, .steps-title, .cta-final-title {
  font-size: clamp(1.75rem, 4.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
.home-band-lede, .cta-final-lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  text-wrap: pretty;
}
.home-band--split .home-band-head { margin-bottom: var(--space-3); }
.home-band-body p { font-size: 1.075rem; line-height: 1.65; color: var(--text-secondary); }
.home-band-body p:last-child { margin-bottom: 0; }

/* The problem: title left, words right, on a wide screen. */
@media (min-width: 60rem) {
  .home-band--split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--space-5);
    align-items: start;
  }
  .home-band--split .home-band-head { margin-bottom: 0; }
}

/* For organizations: the one tinted band. */
.home-band--alt {
  background: var(--surface);
  border-radius: calc(var(--radius-md) * 1.5);
  padding: var(--space-5) var(--gutter);
}
@media (min-width: 40rem) { .home-band--alt { padding: var(--space-5) var(--space-4); } }

.home-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .home-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .home-points { grid-template-columns: repeat(3, 1fr); } }
#for-developers .home-points { grid-template-columns: 1fr; }
@media (min-width: 40rem) { #for-developers .home-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { #for-developers .home-points { grid-template-columns: repeat(4, 1fr); } }

.home-point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.home-point-title { margin: 0 0 0.4rem; font-size: 1.075rem; }
.home-point-detail { margin: 0 0 var(--space-2); color: var(--text-secondary); font-size: 0.975rem; line-height: 1.55; }
.home-point-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
}
.home-point-link:hover { text-decoration: underline; }

.home-band-notyet {
  margin: var(--space-4) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 52rem;
}
.home-band-more { margin: var(--space-3) 0 0; }

/* For individuals: one quiet row. */
.home-band--compact {
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}
.home-band--compact .home-band-head { margin-bottom: 0; }
.home-band--compact .home-band-title { font-size: clamp(1.35rem, 3vw, 1.75rem); }
@media (min-width: 52rem) {
  .home-band--compact {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
  }
  .home-band--compact .home-band-more { margin: 0; flex: none; }
}

/* ── how it works ───────────────────────────────────────────────────────── */

.steps .steps-title { max-width: 22ch; margin-bottom: var(--space-4); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 48rem) { .steps-list { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); } }
.step { counter-increment: step; padding-top: var(--space-2); border-top: 2px solid var(--text-bright); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-text, var(--link));
}
.step-title { font-size: 1.25rem; margin: 0 0 0.5rem; }
.step-detail { margin: 0; color: var(--text-secondary); line-height: 1.6; }

/* ── screenshots ────────────────────────────────────────────────────────── */

.home-proof-more { margin: var(--space-2) 0 0; font-weight: 600; }
.home-proof-more a { text-decoration: none; }
.home-proof-more a:hover { text-decoration: underline; }
.home-shots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 40rem) { .home-shots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .home-shots { grid-template-columns: 1fr 1fr 1.45fr; gap: var(--space-3); } }
.home-shot figure { margin: 0; }
.home-shot-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 18px 40px -28px rgb(0 0 0 / 0.4);
}
.home-shot--iphone .home-shot-frame { border-radius: 28px; max-width: 18rem; }
.home-shot--ipad .home-shot-frame { border-radius: 20px; }
.home-shot--mac .home-shot-frame { border-radius: var(--radius-md); }
@media (max-width: 39.99rem) {
  .home-shot--iphone .home-shot-frame { margin: 0 auto; }
  .home-shot--ipad .home-shot-frame { max-width: 26rem; margin: 0 auto; }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .home-shot--ipad { grid-column: 1 / -1; }
  .home-shot--ipad .home-shot-frame { max-width: 30rem; }
}
.home-shot img { display: block; width: 100%; height: auto; }
.home-shot figcaption { display: flex; flex-direction: column; gap: 0.3rem; margin-top: var(--space-2); max-width: 26rem; }
.home-shot-title { font-weight: 650; color: var(--text-bright); }
.home-shot .home-point-link { margin-top: 0; }

/* ── closing band ───────────────────────────────────────────────────────── */

.cta-final {
  text-align: center;
  padding: var(--space-5) var(--gutter);
  border-radius: calc(var(--radius-md) * 1.5);
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    var(--bg);
}
.cta-final-title { margin-left: auto; margin-right: auto; max-width: 20ch; }
.cta-final-lede { margin: 0 auto; max-width: 36rem; }
.cta-final-actions { justify-content: center; }
.cta-final .hero-note, .cta-final-note { margin-left: auto; margin-right: auto; }

/* The closing band is the page's last section: the main's own bottom padding
   is enough room before the footer. */
main > .cta-final:last-child { margin-bottom: 0; }

/* ── src/css/lanes/legal.css ── */
/* src/css/lanes/legal.css: the legal documents (layouts/legal.yml). The draft
   banner is core (src/css/components.css). */

.legal { max-width: var(--measure); }
.legal-toc { margin: 0 0 var(--space-4); padding: var(--space-2) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.95rem; }
.legal-toc ul { margin: 0; padding-inline-start: 1.2em; }
.legal-toc li { margin: 0.2rem 0; }
.legal-body h2 { scroll-margin-top: calc(var(--header-h) + var(--space-2)); }
.legal-signature { margin-top: var(--space-4); color: var(--text-muted); }
.legal-missing { color: var(--text-muted); }

/* ── src/css/lanes/releases-support.css ── */
/* src/css/lanes/releases-support.css — lane D: /releases (layouts/support-releases.yml) and /support
   (layouts/issue-report.yml). The form rules are Terminal C's forms.css, trimmed. Every color is a theme token
   (the Base theme has no success/error colors, so states use the brand and bright ink). */

/* ── /releases ─────────────────────────────────────────────────────────────── */

.releases { max-width: var(--measure); }
.rel-intro { color: var(--text-secondary); margin-bottom: var(--space-1); }
.rel-legend { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--space-4); }

.rel-list { list-style: none; margin: 0; padding: 0; }
.rel { border-top: 1px solid var(--border); }
.rel:last-child { border-bottom: 1px solid var(--border); }
.rel:target .rel-date { color: var(--brand); }

.rel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  padding: var(--space-2) 0;
  cursor: pointer;
  list-style: none;
  min-height: 2.75rem;
}
.rel-head::-webkit-details-marker { display: none; }
.rel-head::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  margin-inline-end: 0.15rem;
}
.rel-fold[open] > .rel-head::before { transform: rotate(45deg); }
.rel-head:focus-visible { outline: 2px solid var(--border-bright); outline-offset: 2px; border-radius: var(--radius-sm); }

.rel-date { margin: 0; font-size: 1.15rem; line-height: 1.3; color: var(--text-bright); }
.rel-badges { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; }
.rel-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  font-size: 0.8rem;
  line-height: 1;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  white-space: nowrap;
}
.rel-badge-os { font-weight: 600; color: var(--text-bright); }
.rel-badge-build { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.rel-count { margin-inline-start: auto; font-size: 0.85rem; color: var(--text-muted); }

.rel-highlights { margin: 0 0 var(--space-3); padding-inline-start: 1.6rem; list-style: disc; }
.rel-highlights li { margin-bottom: 0.75rem; max-width: var(--measure); }
.rel-highlights li::marker { color: var(--text-muted); }
.rel-h-title { display: block; color: var(--text-bright); font-weight: 600; }
.rel-h-detail { color: var(--text-secondary); }
.rel-maintenance { color: var(--text-muted); margin: 0 0 var(--space-3) 1.6rem; }

@media (max-width: 30rem) {
  .rel-count { margin-inline-start: 0; flex-basis: 100%; padding-inline-start: 1.1rem; }
}

/* ── /support: shared ──────────────────────────────────────────────────────── */

.support-testflight, .issue-report, .support-help { max-width: var(--measure); margin-top: var(--space-5); }
.support-testflight { margin-top: var(--space-3); }
.support-testflight p:last-child { margin-bottom: 0; }
.support-h { margin-bottom: var(--space-2); }
.support-muted { color: var(--text-secondary); }

/* ── the reporter ──────────────────────────────────────────────────────────── */

.report-intro { color: var(--text-secondary); }
.report-icon { display: inline-block; margin-inline-end: 0.3em; }
.report-icon::before {
  font-family: "launchpad-icons";
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  font-size: 0.85em;
  color: currentColor;
  -webkit-font-smoothing: antialiased;
}

.report-form { margin-top: var(--space-3); max-width: 34rem; }
.report-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--space-3); }
.report-form fieldset[disabled] { opacity: 0.55; }

.report-field { display: grid; gap: 0.4rem; }
.report-label { font-size: 0.875rem; color: var(--text-secondary); }

.report-form input[type="text"],
.report-form input[type="email"],
.report-form select,
.report-form textarea {
  font: inherit;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  width: 100%;
  min-height: 2.75rem;
}
.report-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: right 1.1rem center, right 0.8rem center;
  background-size: 0.3rem 0.3rem, 0.3rem 0.3rem;
  background-repeat: no-repeat;
  cursor: pointer;
}
.report-form select:invalid { color: var(--text-muted); }
.report-form textarea { resize: vertical; min-height: 7rem; }
.report-form input::placeholder, .report-form textarea::placeholder { color: var(--text-muted); }

.report-form input:focus-visible,
.report-form select:focus-visible,
.report-form textarea:focus-visible,
.report-form button:focus-visible { outline: 2px solid var(--border-bright); outline-offset: 2px; }
.report-kind input:focus-visible + .segmented-option { outline: 2px solid var(--border-bright); outline-offset: 1px; }

.report-form .segmented { justify-self: start; }
.report-kind { cursor: pointer; display: inline-flex; }
.report-kind input { position: absolute; opacity: 0; pointer-events: none; }
.report-kind .segmented-option { min-height: 2.75rem; font-size: 0.9375rem; width: 100%; padding-inline: 1.1rem; cursor: pointer; }
.report-kind input:checked + .segmented-option { background: var(--seg-thumb); color: var(--seg-ink); font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / 0.15); }

.report-optional { display: grid; gap: var(--space-2); }
@media (min-width: 34rem) { .report-optional { grid-template-columns: 1fr 1fr; } }

.report-hint, .report-noscript, .report-app { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.report-app { margin-top: var(--space-3); }
.report-noscript { margin-top: var(--space-2); }

.report-form button[type="submit"] { justify-self: start; }

.report-challenge iframe { border: 0; width: 100%; max-width: 20rem; height: 70px; display: block; color-scheme: normal; }

.report-status:empty { display: none; }
.report-status {
  margin-top: var(--space-2);
  font-size: 0.9375rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-inline-start-width: 4px;
  color: var(--text-secondary);
}
.report-status.is-ok { border-color: var(--brand); color: var(--text-primary); }
.report-status.is-error { border-color: var(--text-bright); color: var(--text-bright); font-weight: 500; }

/* ── help ──────────────────────────────────────────────────────────────────── */

.help-groups { display: grid; gap: var(--space-4); margin-top: var(--space-3); }
@media (min-width: 52rem) {
  .support-help { max-width: var(--page); }
  .help-groups { grid-template-columns: 1fr 1fr; }
}
.help-group-title { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--space-1); }
.help-list { list-style: none; margin: 0; padding: 0; }
.help-list li + li { border-top: 1px solid var(--border); }
.help-link {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0;
  text-decoration: none;
  min-height: 2.75rem;
}
.help-link-title { color: var(--link); font-weight: 600; }
.help-link:hover .help-link-title { text-decoration: underline; }
.help-link-summary { color: var(--text-secondary); font-size: 0.9rem; }
.help-link:focus-visible { outline: 2px solid var(--border-bright); outline-offset: 2px; border-radius: var(--radius-sm); }
.support-contact { margin-top: var(--space-4); color: var(--text-secondary); }

/* generated by pipeline/icons.mjs: @dboio/launchpad-icons@5.3.0, 74 glyph(s) used */
@font-face{font-family:"launchpad-icons";src:url("/_site/icons/launchpad-icons-regular.woff2?v=88e7e3c") format("woff2");font-display:block}
.icon::before{font-family:"launchpad-icons";font-style:normal;font-weight:normal;line-height:1;speak:never;-webkit-font-smoothing:antialiased}
.icon--ai-claude::before{content:"\e94c"}
.icon--alert::before{content:"\e859"}
.icon--authentication::before{content:"\e82f"}
.icon--barchart::before{content:"\e8a7"}
.icon--barcode::before{content:"\e98c"}
.icon--bell-desk::before{content:"\ed30"}
.icon--bubble::before{content:"\e8a4"}
.icon--bubble-info::before{content:"\e8a3"}
.icon--bubble-l::before{content:"\e8a4"}
.icon--bubble-r::before{content:"\e8a5"}
.icon--chain::before{content:"\e890"}
.icon--check::before{content:"\e816"}
.icon--checkbox-checked::before{content:"\e857"}
.icon--clipboard-image::before{content:"\e97f"}
.icon--cloud::before{content:"\e851"}
.icon--cloud-checked::before{content:"\e8c0"}
.icon--code::before{content:"\e80c"}
.icon--columns::before{content:"\e8b2"}
.icon--compass::before{content:"\e843"}
.icon--connect::before{content:"\e8dc"}
.icon--diamond::before{content:"\e864"}
.icon--document::before{content:"\e895"}
.icon--document-checked::before{content:"\e8c1"}
.icon--document-download::before{content:"\e86f"}
.icon--download::before{content:"\e800"}
.icon--drive::before{content:"\e847"}
.icon--edit::before{content:"\e825"}
.icon--envelope::before{content:"\e9cb"}
.icon--execute::before{content:"\e809"}
.icon--filter::before{content:"\e87f"}
.icon--folder::before{content:"\ed37"}
.icon--frame::before{content:"\e933"}
.icon--group::before{content:"\e832"}
.icon--hand::before{content:"\e856"}
.icon--headset::before{content:"\e91c"}
.icon--hide::before{content:"\e868"}
.icon--history::before{content:"\ed54"}
.icon--join::before{content:"\e89f"}
.icon--keyboard::before{content:"\ed73"}
.icon--laptop::before{content:"\ed3b"}
.icon--layers::before{content:"\ed2e"}
.icon--library::before{content:"\ed74"}
.icon--lock::before{content:"\e840"}
.icon--logbook::before{content:"\ed3c"}
.icon--login::before{content:"\e82f"}
.icon--merge::before{content:"\ed3d"}
.icon--moon::before{content:"\ed4c"}
.icon--off::before{content:"\e84e"}
.icon--palette::before{content:"\ed3e"}
.icon--pause::before{content:"\e8bc"}
.icon--person::before{content:"\e89a"}
.icon--phone::before{content:"\ed40"}
.icon--plus::before{content:"\e827"}
.icon--refresh::before{content:"\e853"}
.icon--report-bug::before{content:"\ed4a"}
.icon--schema::before{content:"\e95e"}
.icon--server::before{content:"\e884"}
.icon--share::before{content:"\e870"}
.icon--shield::before{content:"\e9cc"}
.icon--shield-lock::before{content:"\ed43"}
.icon--side-by-side::before{content:"\ed75"}
.icon--sidebar::before{content:"\ed44"}
.icon--signature::before{content:"\e993"}
.icon--sparkles::before{content:"\ed45"}
.icon--stack::before{content:"\e81b"}
.icon--style::before{content:"\e8b6"}
.icon--sun::before{content:"\ed4b"}
.icon--ticket::before{content:"\e938"}
.icon--unlock::before{content:"\e841"}
.icon--upload::before{content:"\e829"}
.icon--users::before{content:"\e874"}
.icon--view::before{content:"\e84b"}
.icon--voice::before{content:"\ed5a"}
.icon--wifi::before{content:"\e85a"}