:root {
  --ink: #111113;
  --muted: #111113;
  --paper: #fafaf9;
  --white: #ffffff;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --line: #e4e4e7;
  --dark: #18181b;
  --surface-2: #f4f4f5;
  --green: var(--accent);
  --mint: #dbeafe;
  --lime: #93c5fd;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius: 5px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
/* Mono only for real code / filenames — UI labels stay in Instrument Sans */
pre, pre code,
.example-command code,
.tutorial-step code,
.example-steps code,
.nb-cell pre code,
.file-tree,
.structure-schema-file,
.structure-schema-branch,
.structure-schema-pattern code,
.param-strip code,
.schema-line code,
.standard-note code,
.tutorial-shell .detail-hero code,
.nb-markdown code,
.array-report code,
.example-link-card code,
.settings-table code {
  font-family: var(--mono);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.topbar {
  height: 64px;
  padding: 0 max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 249, .92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 500; transition: color .15s; }
nav a:hover { color: var(--ink); }
main { overflow: hidden; }

.hero {
  min-height: 560px;
  padding: 72px max(5vw, 24px) 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 6vw;
  align-items: center;
  background: var(--paper);
}
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 600;
  max-width: 16ch;
  margin-bottom: 20px;
}
.lede { max-width: 540px; font-size: 17px; color: var(--muted); line-height: 1.6; }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.button.primary { color: white; background: var(--accent); }
.button.primary:hover { background: var(--accent-hover); }
.button.secondary { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.button.secondary:hover { border-color: #a1a1aa; }
.button.full { width: 100%; }

.hero-usecase { position: relative; min-width: 0; padding-bottom: 30px; }
.hero-usecase > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-ready-panel {
  position: absolute;
  right: -8px;
  bottom: 0;
  left: 28px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(24, 24, 27, .14);
}
.hero-ready-panel small { display: block; margin-bottom: 5px; color: var(--accent); font-size: 10px; font-weight: 650; }
.hero-ready-panel strong { display: block; font-size: 16px; font-weight: 620; }
.hero-ready-panel > div { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.hero-ready-panel span { display: flex; align-items: center; gap: 6px; color: #52525b; font-size: 11px; font-weight: 550; }
.hero-ready-panel span::before { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; content: ""; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px max(5vw, 24px);
  background: var(--dark);
  color: white;
}
.stats div { padding: 4px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats strong, .stats span { display: block; }
.stats strong { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.stats span { color: #ffffff; font-size: 12px; margin-top: 4px; opacity: .85; }

.agent-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 52px;
  align-items: center;
  padding: 52px max(5vw, 24px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  scroll-margin-top: 82px;
}
.agent-section h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 600;
}
.agent-section > div:first-child > p:last-child { max-width: 650px; margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.agent-prompt { min-width: 0; padding-left: 40px; border-left: 1px solid var(--line); }
.agent-prompt > span,
.agent-examples > span { color: var(--accent); font-size: 11px; font-weight: 650; }
.agent-instruction { margin: 7px 0 9px; font-size: 14px; }
.agent-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.agent-copy-row code { overflow-wrap: anywhere; font: 500 12px/1.55 var(--mono); }
.agent-copy { min-width: 94px; border: 0; cursor: pointer; font-family: var(--sans); white-space: nowrap; }
.agent-followup { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.agent-examples { margin-top: 17px; }
.agent-examples ul { margin: 7px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.agent-examples li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.45; }

.catalog-section { padding: 88px max(5vw, 24px) 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 600;
  margin: 0;
}
.section-heading > p { max-width: 380px; color: var(--muted); margin: 0; font-size: 14px; }
.controls { display: flex; gap: 10px; margin-bottom: 14px; }
.search { flex: 1; }
.controls input, .controls select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}
.controls select { width: 200px; }
.task-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.task-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 7px 11px;
  color: var(--muted);
  cursor: pointer;
  font: 500 12px/1.2 var(--sans);
  transition: background .15s, border-color .15s, color .15s;
}
.task-chip span { margin-left: 4px; color: var(--ink); }
.task-chip:hover { border-color: #a1a1aa; color: var(--ink); }
.task-chip.active { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }
.task-chip.active span { color: var(--muted); }
.result-count { margin: 24px 0 12px; color: var(--muted); font-size: 12px; }

.dataset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dataset-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .15s;
}
.dataset-card:hover { border-color: #a1a1aa; }
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.access, .standard-status, .sample-badge {
  display: inline-block;
  border-radius: 3px;
  padding: 3px 7px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
}
.access { margin-left: 4px; }
.access.direct { background: #eff6ff; border-color: #bfdbfe; color: var(--accent); }
.access.unclear { background: #fafafa; color: var(--muted); }
.standard-status.adapter-ready, .standard-status.verified { background: #f4f4f5; color: var(--ink); }
.sample-badge { margin-right: 4px; background: #eff6ff; border-color: #bfdbfe; color: var(--accent); }
.dataset-card h3 { font-size: 22px; line-height: 1.1; margin: 20px 0 10px; letter-spacing: -.03em; font-weight: 600; }
.dataset-card h3 a { text-decoration: none; }
.dataset-card > p { color: var(--muted); font-size: 13px; }
.task-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 18px; }
.task-tags span {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 550;
  color: var(--ink);
}
.task-tags.large span { font-size: 11px; padding: 4px 8px; }
.detail-hero .task-tags { gap: 6px; margin: 0; }
.detail-hero .task-tags.large span { padding: 5px 9px; border-color: #dbeafe; border-radius: 999px; background: #f8fbff; color: #1e3a8a; font-size: 10px; }
.dataset-card dl { margin: auto 0 16px; }
.dataset-card dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.dataset-card dt { color: var(--muted); }
.dataset-card dd { margin: 0; }
.card-link {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.empty-state { padding: 48px; text-align: center; border: 1px dashed var(--line); color: var(--muted); }

.standard-section { padding: 88px max(5vw, 24px); background: var(--dark); color: white; }
.section-heading.light .eyebrow { color: #ffffff; }
.standard-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.standard-flow article { border-top: 1px solid #3f3f46; padding-top: 16px; }
.standard-flow article > span { color: #ffffff; font: 500 11px var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.standard-flow h3 { font-size: 20px; margin: 28px 0 8px; font-weight: 600; }
.standard-flow p { color: #ffffff; font-size: 13px; }
.standard-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.standard-jobs article {
  padding: 24px;
  border: 1px solid #3f3f46;
  border-radius: var(--radius);
  background: transparent;
}
.standard-jobs article > span { color: #ffffff; font: 500 11px var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.standard-jobs h3 { font-size: 24px; margin: 14px 0 8px; letter-spacing: -.03em; font-weight: 600; }
.standard-jobs p { color: #ffffff; font-size: 14px; margin: 0 0 18px; max-width: 42ch; }
.schema-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding: 18px;
  border: 1px solid #3f3f46;
  border-radius: var(--radius);
}
.schema-line code { color: #93c5fd; font-size: 13px; }
.schema-line.compact { margin-top: 0; padding: 12px 14px; justify-content: flex-start; gap: 8px; }
.schema-line.compact code { font-size: 12px; }
.standard-example-link { margin: 28px 0 0; color: #ffffff; font-size: 13px; }
.standard-example-link a { color: #93c5fd; font-weight: 600; text-decoration: none; }
.standard-example-link a:hover { text-decoration: underline; }

.cite-section { padding: 88px max(5vw, 24px); background: var(--paper); }
.citation-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.citation-card p { margin: 0; color: var(--muted); font-size: 14px; }
.citation-card p + p { margin-top: 10px; }
.citation-card strong { color: var(--ink); font-weight: 650; }
.citation-card a { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; text-decoration: none; }
.citation-card a:hover { text-decoration: underline; }

.beginner-section { padding: 76px max(5vw, 24px); background: var(--paper); border-bottom: 1px solid var(--line); }
.beginner-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.beginner-entry h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; font-weight: 600; }
.beginner-entry p { max-width: 760px; margin: 0; color: var(--muted); font-size: 14px; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 20px max(5vw, 24px);
  background: #09090b;
  color: #ffffff;
  font-size: 12px;
}
footer p { margin: 0; }

.detail-shell { width: min(1320px, 100%); margin: 0 auto; padding: 38px max(4vw, 24px) 80px; min-height: 80vh; overflow: visible; }
.back-link { display: inline-flex; align-items: center; margin-bottom: 26px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 550; }
.back-link:hover { color: var(--ink); }
.detail-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: 20px 0 48px; }
.detail-intro.no-figure { grid-template-columns: minmax(0, 1fr); }
.detail-intro.no-figure .detail-hero { max-width: 980px; }
.detail-hero { max-width: 680px; }
.detail-hero h1 { font-size: clamp(44px, 5.5vw, 72px); line-height: .96; margin-bottom: 18px; font-weight: 620; letter-spacing: -.055em; }
.detail-hero.long-title h1 { max-width: 980px; font-size: clamp(40px, 4.35vw, 58px); line-height: 1; letter-spacing: -.045em; }
.detail-hero > p:not(.eyebrow) { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 640px; margin-bottom: 18px; }
.detail-hero-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.detail-hero-meta span { position: relative; }
.detail-hero-meta span + span::before { content: ""; position: absolute; left: -10px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #a1a1aa; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: clamp(36px, 5vw, 68px); margin-top: 0; align-items: start; }
.detail-main { min-width: 0; width: 100%; }
.detail-main section { padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.detail-main h2, .access-panel h2 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 10px; font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.facts div, .access-panel dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt, .access-panel dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.facts dd, .access-panel dd { margin: 4px 0 0; font-size: 13px; }

.collection-setting { padding-top: 16px !important; padding-bottom: 14px !important; }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 10px 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.collection-cell {
  min-width: 0;
  padding: 8px 10px;
  background: var(--white);
}
.collection-cell dt {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.collection-cell dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.collection-tasks { margin-top: 4px; }
.collection-tasks-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
.collection-tasks-head h3 { margin: 0; font-size: 14px; font-weight: 600; }
.collection-tasks-head p { margin: 0; color: var(--ink); font-size: 12px; }
.collection-task {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 6px;
  overflow: hidden;
}
.collection-task-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
}
.collection-task-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.collection-task-main strong { font-size: 13px; font-weight: 600; }
.collection-task-meta { font-size: 11px; color: var(--ink); opacity: .75; }
.collection-task-body {
  flex: 1;
  padding: 10px;
  border-top: 1px solid var(--line);
  max-height: 108px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.collection-subgroup h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.collection-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.collection-chips span {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface-2);
  font-size: 11px;
  line-height: 1.2;
}
.collection-empty { font-size: 12px; color: var(--ink); opacity: .7; }
.compact-dataset-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  overflow: hidden;
}
.compact-dataset-facts > div { min-width: 0; padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compact-dataset-facts > div:nth-child(3n) { border-right: 0; }
.compact-dataset-facts dt { margin-bottom: 3px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.compact-dataset-facts dd { margin: 0; font-size: 11px; line-height: 1.35; }
.compact-task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.compact-task-list .collection-task { margin: 0; }
.compact-task-list .collection-task-header { min-height: 44px; padding: 7px 9px; }
.compact-task-list .collection-task-main { flex-direction: row; align-items: baseline; gap: 7px; }
.compact-task-list .collection-task-main strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.compact-task-list .collection-task-meta { flex: none; font-size: 9px; }
.compact-label-body { display: block; padding: 9px; }
.compact-label-body .collection-chips { gap: 4px; }
.compact-label-body .collection-chips span { padding: 3px 6px; font-size: 10px; }
.collection-info-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 24px;
}
.collection-info-card {
  grid-column: span 2;
  min-width: 0;
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 3px 0 #d4d4d8;
}
.collection-info-card.scenario,
.collection-info-card.device { grid-column: span 4; }
.collection-info-card.scenario { box-shadow: inset 0 3px 0 var(--accent); }
.collection-info-card.distance { box-shadow: inset 0 3px 0 #8b5cf6; }
.collection-info-card.environment { box-shadow: inset 0 3px 0 #0ea5e9; }
.collection-info-card > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.collection-info-card > strong { display: block; font-size: 13px; line-height: 1.42; font-weight: 620; }
.collection-info-card > small { display: block; margin-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.task-setting-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.task-setting-list div { min-width: 0; padding: 8px 9px; border-radius: 5px; background: var(--surface-2); }
.task-setting-list dt { margin: 0 0 3px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.task-setting-list dd { margin: 0; font-size: 10px; line-height: 1.35; }
.collection-scenario { margin: 0 0 12px; color: var(--ink); font-size: 13px; }
.collection-table { width: 100%; border-collapse: collapse; font-size: 13px; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.collection-table th, .collection-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.4; }
.collection-table tr:last-child th, .collection-table tr:last-child td { border-bottom: 0; }
.collection-table th { width: 28%; max-width: 180px; color: var(--ink); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: var(--surface-2); white-space: nowrap; }
.collection-table td { color: var(--ink); }
.collection-table .label-line { margin: 0 0 4px; }
.collection-table .label-line:last-child { margin-bottom: 0; }
.collection-table .label-key { color: var(--ink); font-weight: 550; }

.standard-note { padding: 18px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.standard-note strong, .standard-note code { display: inline-block; margin-right: 8px; }
.standard-note code { padding: 2px 6px; background: var(--white); border: 1px solid var(--line); border-radius: 3px; font-size: 12px; color: var(--accent); }
.standard-note p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.source-list { list-style: none; padding: 0; }
.source-list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.source-list span { color: var(--muted); }
.source-list a { overflow-wrap: anywhere; color: var(--accent); text-decoration: none; }
.source-list a:hover { text-decoration: underline; }

.access-panel {
  position: sticky;
  top: 88px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(24, 24, 27, .06);
}
.access-heading { position: relative; padding-right: 72px; }
.access-heading .eyebrow { margin-bottom: 7px; color: var(--accent); }
.access-heading h2 { margin-bottom: 12px; font-size: 21px; }
.access-state { position: absolute; right: 0; top: 0; padding: 3px 8px; border-radius: 999px; background: #eff6ff; border: 1px solid #bfdbfe; color: var(--accent); font-size: 10px; font-weight: 650; }
.access-panel dl { margin: 0 0 20px; }
.access-panel .button.full { width: 100%; gap: 8px; }
.page-nav { display: grid; gap: 8px; margin: 22px -4px 0; padding: 18px 4px 0; border-top: 1px solid var(--line); }
.page-nav > span { margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.page-nav a { color: var(--muted); font-size: 12px; text-decoration: none; }
.page-nav a:hover { color: var(--accent); }
.verification { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 11px; }

.example-shell .detail-hero { max-width: 1050px; }
.example-command {
  margin: 40px 0;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #e4e4e7;
  overflow: auto;
  border: 1px solid #3f3f46;
}
.example-command pre { margin: 0; }
.example-command code { font: 13px/1.7 var(--mono); }
.example-results { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.example-results h2 { font-size: 28px; font-weight: 600; }
.example-results aside { padding: 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.example-results aside li { margin: 8px 0; }
.array-report div { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.array-report code { color: var(--accent); }
.array-report small { color: var(--muted); }
.honesty-note {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.honesty-note p { margin: 0; color: var(--muted); }
.example-command.compact { margin: 12px 0; }

.tutorial-shell .detail-hero code {
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: .86em;
}
.tutorial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 48px 0 64px; }
.tutorial-grid article, .tutorial-choice article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.tutorial-grid span { color: var(--muted); font: 600 11px var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.tutorial-grid h2 { margin: 24px 0 8px; font-size: 22px; letter-spacing: -.03em; font-weight: 600; }
.tutorial-grid p, .tutorial-choice p { color: var(--muted); font-size: 13px; }
.tutorial-step { padding: 48px 0; border-top: 1px solid var(--line); }
.tutorial-step pre {
  margin: 14px 0 0;
  padding: 16px;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--dark);
  color: #e4e4e7;
  border: 1px solid #3f3f46;
}
.tutorial-step code { font: 12px/1.65 var(--mono); }
.folder-tree pre { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.tutorial-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tutorial-choice h3 { font-size: 20px; margin-bottom: 8px; font-weight: 600; }
.tutorial-choice .button { margin-top: 8px; }

.notebook-frame {
  width: 100%;
  height: 760px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.notebook-body { background: var(--paper); }
.notebook-page { max-width: 1120px; margin: 0 auto; padding: 36px 24px 64px; }
.notebook-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.notebook-toolbar h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 600; }
.notebook-viewer { padding-top: 18px; }
.nb-cell {
  margin: 14px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.nb-markdown h2 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.03em; font-weight: 600; }
.nb-markdown h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.nb-markdown p { color: var(--muted); }
.nb-markdown code { padding: 2px 5px; border-radius: 3px; background: var(--surface-2); color: var(--accent); border: 1px solid var(--line); }
.nb-cell pre { margin: 10px 0 0; padding: 14px; overflow: auto; border-radius: var(--radius); background: var(--dark); color: #e4e4e7; }
.nb-cell pre code { font: 12px/1.6 var(--mono); }
.nb-input-label, .nb-output-label { color: var(--accent); font: 600 11px var(--sans); letter-spacing: .04em; }
.nb-output { background: var(--surface-2) !important; color: var(--ink) !important; border: 1px solid var(--line); }

.view-options {
  margin: 14px 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.view-options summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.view-options p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.table-scroll { overflow: auto; }
.settings-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.settings-table th, .settings-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.settings-table th { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.settings-table small { padding: 2px 5px; border-radius: 3px; background: #eff6ff; color: var(--accent); border: 1px solid #bfdbfe; }
.setting-help { margin-top: 12px; color: var(--muted); font-size: 13px; }

.example-steps { padding-left: 18px; }
.example-steps li { margin: 16px 0 22px; padding-left: 6px; }
.example-steps pre {
  margin: 8px 0 0;
  padding: 14px;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--dark);
  color: #e4e4e7;
  border: 1px solid #3f3f46;
}
.example-steps code { font: 12px/1.65 var(--mono); }
.example-output { margin-top: 18px; }
.dataset-example-index { padding: 48px 0; border-top: 1px solid var(--line); }
.example-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.example-link-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}
.example-link-card:hover { border-color: #a1a1aa; }
.example-link-card span, .example-link-card code, .example-link-card small { display: block; }
.example-link-card span { font-weight: 600; }
.example-link-card code { margin: 6px 0; color: var(--accent); font-size: 11px; }
.example-link-card small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }

.sample-download { display: flex; align-items: center; gap: 14px; margin: 12px 0 16px; flex-wrap: wrap; }
.sample-download small { color: var(--muted); max-width: 420px; font-size: 12px; }

.sample-structure { margin: 8px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sample-structure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}
.sample-structure > summary::-webkit-details-marker { display: none; }
.sample-structure > summary::after { content: "▸"; color: var(--muted); font-size: 12px; transition: transform .15s; }
.sample-structure[open] > summary::after { transform: rotate(90deg); }
.sample-structure > summary h3 { margin: 0; font-size: 14px; font-weight: 600; }
.sample-structure .structure-hint { color: var(--muted); font-size: 12px; }
.sample-structure > .file-tree { margin: 0; padding: 4px 14px 12px 28px; border-top: 1px solid var(--line); max-height: 360px; overflow: auto; }

.structure-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.structure-compare { padding-top: 8px; }
.structure-compare .compare-caption { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.structure-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.structure-block > header { padding: 12px 14px 10px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.structure-block > header h4 { margin: 6px 0 2px; font-size: 14px; letter-spacing: -.02em; font-weight: 600; }
.structure-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.structure-block-standardized > header { background: #eff6ff; }
.structure-block-standardized .structure-badge { background: var(--accent); border-color: var(--accent); color: white; }
.structure-pane-hint { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.structure-block-body { padding: 10px 12px 12px; max-height: 380px; overflow: auto; flex: 1; }
.structure-block-body > .file-tree { margin: 0; padding-left: 12px; }
.structure-empty { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.structure-vs {
  align-self: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.what-we-do { padding-top: 8px !important; }
.what-we-do > h2 { margin-bottom: 8px; }
.job-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 16px; }
.job-card {
  position: relative;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.job-card:first-child { border-top: 3px solid var(--ink); }
.job-card:last-child { border-top: 3px solid var(--accent); }
.job-card > span { color: var(--muted); font: 600 11px var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.job-card h3 { margin: 8px 0 6px; font-size: 16px; letter-spacing: -.02em; font-weight: 600; }
.job-card p { margin: 0; color: var(--muted); font-size: 13px; }
.param-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.param-strip > div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.param-strip > div:nth-child(3n) { border-right: 0; }
.param-strip dt {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.param-strip dd { margin: 0; font-size: 13px; }
.param-strip code { font-size: 12px; color: var(--accent); }
.param-before { color: var(--muted); }
.param-arrow { display: inline-block; margin: 0 6px; color: var(--accent); font-weight: 600; }

.delta-heading { margin: 14px 0 8px; font-size: 13px; letter-spacing: -.01em; font-weight: 600; }
.delta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.delta-table th, .delta-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.delta-table thead th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}
.delta-table tbody th { width: 22%; color: var(--muted); font-weight: 550; }
.delta-table tbody tr:last-child th, .delta-table tbody tr:last-child td { border-bottom: 0; }

.packaging-aside {
  margin: 16px 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.packaging-aside > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}
.packaging-aside > summary::-webkit-details-marker { display: none; }
.packaging-aside > summary::after { content: "▸"; color: var(--muted); font-size: 12px; transition: transform .15s; }
.packaging-aside[open] > summary::after { transform: rotate(90deg); }
.packaging-aside > summary h2 { margin: 0; font-size: 16px; font-weight: 600; }
.packaging-aside > summary span { color: var(--muted); font-size: 12px; }
.packaging-aside > .setting-help,
.packaging-aside > .usecase-picker { margin: 0; padding: 0 14px 14px; }

.preview-label-details { margin: 12px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.preview-label-details > summary { padding: 10px 12px; cursor: pointer; font-weight: 600; color: var(--accent); font-size: 13px; }
.preview-label-heading { margin: 0; padding: 10px 12px; color: var(--accent); font-size: 13px; }
.preview-label-details .preview-task-groups { padding: 0 12px 12px; }

.structure-schema { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.structure-schema-folder { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.structure-schema-folder code { color: var(--accent); font-weight: 600; font-size: 12px; }
.structure-schema-folder span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.structure-schema-files { margin: 0; padding: 0; list-style: none; }
.structure-schema-files li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: baseline;
  padding: 2px 0;
}
.structure-schema-branch { color: var(--muted); font: 12px/1.5 var(--sans); }
.structure-schema-file {
  min-width: 0;
  font: 12px/1.45 var(--mono);
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.structure-schema-file.is-muted { color: var(--muted); }
.structure-schema-files small { color: var(--muted); font-size: 10px; white-space: nowrap; }
.structure-schema-pattern { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; border-top: 1px dashed var(--line); }
.structure-schema-pattern > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.structure-schema-pattern code { font: 11px/1.5 var(--mono); color: var(--accent); word-break: break-all; }
.structure-schema-more { margin: 4px 0 0; color: var(--muted); font-size: 11px; }

.usecase-picker { display: flex; flex-direction: column; gap: 10px; }
.structure-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  width: fit-content;
  max-width: 100%;
}
.structure-mode-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 3px;
  font: 550 11px/1.2 var(--sans);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.structure-mode-toggle button small { margin-left: 4px; opacity: .75; font-weight: 500; }
.structure-mode-toggle button.is-active { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.structure-mode-toggle button:disabled { cursor: default; }
.structure-mode-toggle.is-static { background: transparent; border-color: transparent; padding: 0; }
.structure-mode-toggle.is-static button.is-active { background: var(--surface-2); }
.usecase-schema-panel[hidden] { display: none !important; }

.file-tree { margin: 8px 0 0; padding-left: 16px; list-style: none; font: 12px/1.65 var(--mono); }
.file-tree li { position: relative; }
.file-tree .file-tree { margin: 0; padding-left: 14px; }
.tree-dir > details > summary { cursor: pointer; list-style: none; color: var(--accent); font-weight: 600; }
.tree-dir > details > summary::-webkit-details-marker { display: none; }
.tree-dir > details > summary::before { content: "▸ "; color: var(--muted); font-weight: 400; }
.tree-dir > details[open] > summary::before { content: "▾ "; }
.tree-name { word-break: break-all; }
.tree-file { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.tree-file small { color: var(--muted); flex: none; }

.setup-figure-top { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 18px 50px rgba(24, 24, 27, .06); }
.setup-figure-top h2 { margin: 2px 4px 10px; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 650; }
.setup-figure-top .setup-figure { margin: 0; padding: 5px; border-radius: 8px; background: var(--surface-2); }
.setup-figure-top .setup-figure img { display: block; max-height: 390px; width: 100%; height: auto; object-fit: contain; margin: 0 auto; border-radius: 6px; }
.setup-figure-top .figure-source { margin: 9px 4px 1px; color: var(--muted); font-size: 10px; }
.setup-figure { margin: 12px 0 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.setup-figure img { display: block; width: 100%; height: auto; border-radius: 3px; }
.figure-source { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.figure-source a { color: var(--accent); }

.preview-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 20px; }
.preview-pair.compact { gap: 10px; margin: 10px 0 12px; }
.preview-grid-note { margin: 12px 0 4px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.preview-section.compact .preview-lead { margin-bottom: 10px; font-size: 13px; }
.preview-section.compact .preview-lead.synthetic-note {
  padding: 9px 11px;
  border-left: 3px solid #f59e0b;
  background: #fffbeb;
  color: #713f12;
}
.preview-honesty-note {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #eff6ff;
}
.preview-honesty-note strong { display: block; margin-bottom: 4px; font-size: 13px; }
.preview-honesty-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.preview-honesty-note code { color: var(--accent); font-size: 11px; }
.preview-compare-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; }
.preview-meta-card { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.preview-meta-card h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.preview-meta-card .facts.compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 0 0 10px; font-size: 12px; }
.preview-meta-card .facts.compact div { margin: 0; }
.preview-meta-card .facts.compact dt { font-size: 10px; margin-bottom: 2px; }
.preview-meta-card .facts.compact dd { margin: 0; }
.preview-dim-block h4 { margin: 0 0 6px; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.compact-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.compact-table th, .compact-table td { padding: 4px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.preview-section .preview-panel img { max-height: 320px; object-fit: contain; }
.preview-panel.compact { padding: 8px 10px; }
.preview-panel.compact img { max-height: 220px; margin-top: 4px; }
.preview-panel.compact figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.preview-panel {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.preview-panel img { display: block; width: 100%; height: auto; border-radius: 3px; margin-top: 8px; }
.preview-panel figcaption { color: var(--muted); font-size: 12px; }
.preview-panel figcaption strong { color: var(--ink); }
.preview-sample-download { align-self: flex-start; margin-top: 5px; padding: 4px 7px; border: 1px solid #bfdbfe; border-radius: 5px; background: #eff6ff; color: var(--accent); font-size: 9px; font-weight: 650; text-decoration: none; }
.preview-sample-download:hover { border-color: var(--accent); background: #dbeafe; }
.preview-label-section h3 { margin: 8px 0 10px; font-size: 14px; font-weight: 600; }
.preview-label-table { margin: 8px 0 12px; }
.preview-label-table h3 { margin: 0 0 8px; font-size: 14px; }
.compact-table.wide code { font-size: 10px; }
.preview-task-groups { display: grid; gap: 18px; }
.preview-task-group { min-width: 0; }
.preview-task-group > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.preview-task-group > header h3 { margin: 0; font-size: 14px; }
.preview-task-group > header span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.preview-label-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; align-items: stretch; }
.preview-label-grid .preview-panel { display: flex; flex-direction: column; height: 100%; }
.preview-label-grid .preview-panel img { width: 100%; aspect-ratio: 5 / 3; max-height: none; object-fit: contain; margin-top: auto; }

/* Learner-first dataset journey */
.section-step {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.detail-main .section-lead { max-width: 760px; margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.collection-setting > h2,
.plan-section > h2,
.workflow-section > h2,
.output-guide > h2 { margin-bottom: 7px; font-size: 24px; }
.collection-setting .collection-cell { padding: 12px 13px; }
.collection-setting .collection-cell dd { display: block; overflow: visible; font-size: 12px; -webkit-line-clamp: initial; }
.collection-setting .collection-grid { margin-top: 18px; }
.collection-tasks { margin-top: 22px; }
.collection-tasks-head { align-items: end; }
.collection-tasks-head h3 { font-size: 16px; }

.two-step-model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}
.two-step-model > div { display: grid; grid-template-columns: 30px 1fr; gap: 1px 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.two-step-model > div > span { grid-row: 1 / 3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: white; font-size: 12px; font-weight: 700; }
.two-step-model > div:last-child > span { background: var(--accent); }
.two-step-model strong { font-size: 14px; }
.two-step-model small { color: var(--muted); font-size: 11px; }
.two-step-model > b { color: var(--accent); text-align: center; }
.plan-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); font-size: 12px; }
.plan-table th, .plan-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.plan-table thead th { background: var(--surface-2); color: var(--muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.plan-table tbody th { font-weight: 620; }
.plan-table tr:last-child th, .plan-table tr:last-child td { border-bottom: 0; }
.profile-pill { display: inline-flex; align-items: center; width: fit-content; padding: 3px 8px; border: 1px solid; border-radius: 999px; font: 600 10px/1.3 var(--mono); }
.profile-pill.vital { border-color: #c4b5fd; background: #f5f3ff; color: #6d28d9; }
.profile-pill.general { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.ready-state { color: #047857; font-size: 11px; font-weight: 650; }
.ready-state::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #10b981; }
.assumption-note { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid #f59e0b; background: #fffbeb; color: #713f12; font-size: 12px; }

.preprocess-options > h2 { margin-bottom: 7px; font-size: 24px; }
.preprocess-profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 12px; }
.preprocess-profiles article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 5px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.preprocess-profiles strong { font-size: 14px; }
.preprocess-profiles article > code { color: var(--accent); font: 11px var(--mono); }
.preprocess-profiles small { grid-column: 2 / -1; color: var(--muted); font-size: 10px; }
.split-setting-explainer { margin: 0 0 12px; padding: 14px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; }
.split-setting-title { display: flex; align-items: center; gap: 10px; }
.split-setting-title > code { padding: 3px 7px; border-radius: 4px; background: var(--accent); color: white; font: 600 11px var(--mono); }
.split-setting-title > span { color: #1e40af; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.split-setting-explainer > p { margin: 9px 0 11px; color: #1e3a8a; font-size: 12px; line-height: 1.5; }
.split-setting-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.split-setting-choices article { display: flex; flex-direction: column; gap: 4px; padding: 11px 12px; border: 1px solid #dbeafe; border-radius: 6px; background: white; }
.split-setting-choices article > code { color: var(--accent); font: 600 10px var(--mono); }
.split-setting-choices article > strong { font-size: 12px; }
.split-setting-choices article > span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.split-setting-explainer > small { display: block; margin-top: 9px; color: #1e40af; font-size: 10px; }
.split-setting-explainer > small code { font-size: 9px; }
.preprocess-table { width: 100%; min-width: 660px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); font-size: 12px; }
.preprocess-table th, .preprocess-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.preprocess-table thead th { background: var(--surface-2); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.preprocess-table tbody th { width: 20%; font-weight: 600; }
.preprocess-table tbody td:nth-child(2) { width: 31%; color: var(--muted); }
.preprocess-table tr:last-child th, .preprocess-table tr:last-child td { border-bottom: 0; }
.preprocess-table code { color: var(--accent); font-size: 11px; }
.preprocess-example-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: 10px; margin-top: 12px; }
.preprocess-command-card,
.preprocess-rules-card { min-width: 0; padding: 15px 16px; border-radius: 8px; }
.preprocess-command-card { background: #18181b; color: white; }
.preprocess-command-card > span,
.preprocess-rules-card > span { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.preprocess-command-card h3 { margin: 7px 0 10px; font-size: 14px; }
.preprocess-command-card pre { margin: 0; overflow: auto; }
.preprocess-command-card pre code { color: #e4e4e7; font: 10px/1.65 var(--mono); }
.preprocess-command-card p { margin: 10px 0 0; color: #a1a1aa; font-size: 11px; }
.preprocess-command-card p code { color: white; font-size: 10px; }
.preprocess-rules-card { border: 1px solid var(--line); background: var(--white); }
.preprocess-rules-card dl { margin: 10px 0 0; }
.preprocess-rules-card dl div { padding: 9px 0; border-top: 1px solid var(--line); }
.preprocess-rules-card dt { font: 600 11px var(--mono); }
.preprocess-rules-card dd { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.preprocess-note { margin: 12px 0 0; padding: 11px 12px; border-left: 3px solid var(--accent); background: #eff6ff; color: #1e3a8a; font-size: 11px; line-height: 1.5; }
.preprocess-note code { color: var(--accent); font-size: 10px; }

.command-setup { display: flex; align-items: center; gap: 14px; margin: 18px 0 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); }
.command-setup span { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.command-setup code { font: 12px var(--mono); }
.profile-commands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.profile-commands article { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.command-card-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 14px 15px 12px; }
.command-card-head h3 { margin: 7px 0 0; font-size: 15px; }
.command-card-head small { color: var(--muted); font-size: 10px; white-space: nowrap; }
.profile-commands pre { margin: 0; padding: 14px 15px; overflow: auto; background: #18181b; color: #f4f4f5; }
.profile-commands pre code { font: 11px/1.7 var(--mono); }

.output-flow { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); gap: 8px; align-items: stretch; margin: 18px 0 12px; }
.output-flow > article { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.output-flow > article.is-primary { border-color: #93c5fd; box-shadow: inset 0 3px 0 var(--accent); }
.output-flow > article > span { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.output-flow h3 { margin: 6px 0 11px; font-size: 14px; }
.output-flow pre { margin: 0; overflow: auto; }
.output-flow code { font: 10px/1.6 var(--mono); }
.output-flow > b { display: grid; place-items: center; color: var(--accent); }
.simple-code { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px; border-radius: 8px; background: #18181b; color: white; }
.simple-code > div > span { font-size: 13px; font-weight: 650; }
.simple-code > div p { margin: 5px 0 0; color: #a1a1aa; font-size: 11px; }
.simple-code pre { margin: 0; overflow: auto; }
.simple-code code { color: #e4e4e7; font: 11px/1.65 var(--mono); }

.use-case-intro { margin: 22px 0 10px; }
.use-case-intro h3 { margin: 0 0 4px; font-size: 17px; }
.use-case-intro p { margin: 0; color: var(--muted); font-size: 12px; }
.output-use-cases { display: grid; gap: 10px; }
.output-use-case { border: 1px solid var(--line); border-radius: 8px; background: var(--white); overflow: hidden; }
.output-use-case > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; cursor: pointer; list-style: none; }
.output-use-case > summary::-webkit-details-marker { display: none; }
.output-use-case > summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 5px; font-size: 16px; }
.output-use-case[open] > summary::after { content: "−"; background: var(--ink); color: white; }
.output-use-case > summary > span { display: flex; flex-direction: column; gap: 3px; }
.output-use-case > summary small { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .07em; }
.output-use-case > summary strong { font-size: 14px; }
.output-use-case > summary em { margin-left: auto; color: var(--muted); font-size: 11px; font-style: normal; text-align: right; }
.use-case-body { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); border-top: 1px solid var(--line); }
.use-case-structure,
.use-case-demo { min-width: 0; padding: 15px 16px; }
.use-case-structure { border-right: 1px solid var(--line); background: var(--surface-2); }
.use-case-body span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.use-case-body p { margin: -3px 0 9px; color: var(--muted); font-size: 11px; }
.use-case-body pre { margin: 0; overflow: auto; }
.use-case-body code { font: 10px/1.65 var(--mono); }
.use-case-demo { background: #18181b; color: white; }
.use-case-demo span,
.use-case-demo p { color: #a1a1aa; }
.use-case-demo code { color: #e4e4e7; }

.sample-subset-section > h2 { margin-bottom: 7px; font-size: 24px; }
.sample-subset-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; }
.sample-subset-card h3 { margin: 7px 0 3px; font-size: 16px; }
.sample-subset-card p { margin: 0; color: var(--muted); font-size: 11px; }
.sample-subset-card .button { flex: none; }
.sample-ready-badge { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.sample-save-command { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; margin-top: 10px; padding: 14px 16px; border-radius: 8px; background: #18181b; color: white; }
.sample-save-command > div { display: flex; flex-direction: column; gap: 4px; }
.sample-save-command strong { font-size: 13px; }
.sample-save-command span { color: #a1a1aa; font-size: 10px; line-height: 1.4; }
.sample-save-command pre { margin: 0; overflow: auto; }
.sample-save-command code { color: #e4e4e7; font: 11px/1.65 var(--mono); }
.website-download-command { margin-top: 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); overflow: hidden; }
.website-download-command summary { padding: 9px 12px; cursor: pointer; font-size: 11px; font-weight: 600; }
.website-download-command pre { margin: 0; padding: 12px; overflow: auto; border-top: 1px solid var(--line); background: var(--surface-2); }
.website-download-command code { font: 10px/1.65 var(--mono); }
.sample-license-note { margin: 9px 0 0; color: var(--muted); font-size: 10px; }

/* Compact dataset pages: unique facts first, shared concepts in guide.html */
.dataset-hero-actions { margin-top: 22px; }
.sample-action-section > h2,
.dataset-processing-section > h2,
.preview-section > h2 { margin-bottom: 7px; font-size: 24px; }
.sample-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sample-action-grid article { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.sample-action-grid h3 { margin: 7px 0 5px; font-size: 17px; }
.sample-action-grid p { min-height: 44px; margin: 0 0 13px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.sample-action-grid .sample-label-coverage { min-height: 0; margin: -4px 0 12px; color: var(--ink); }
.sample-label-coverage strong { color: var(--accent); font-weight: 650; }
.agent-action-card { border-color: #93c5fd !important; background: #eff6ff !important; }
.agent-action-card pre { margin: 0; padding: 12px; overflow: auto; border-radius: 6px; background: var(--dark); color: #e4e4e7; }
.agent-action-card code { font: 10px/1.6 var(--mono); }
.download-action-card .button { margin-top: 2px; }
.download-action-card.is-fixture { border-style: dashed; }
.restricted-sample-section { padding: 22px; border: 1px solid #f2cf74; border-radius: 10px; background: #fffbeb; }
.restricted-local-steps { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.restricted-local-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 11px; align-items: start; padding: 13px; border: 1px solid #eadcae; border-radius: 8px; background: rgba(255,255,255,.78); }
.restricted-local-steps li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #92400e; color: white; font: 700 11px var(--mono); }
.restricted-local-steps strong { display: block; margin-top: 2px; font-size: 13px; }
.restricted-local-steps p { margin: 5px 0 9px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.restricted-local-steps pre { margin: 7px 0 0; padding: 11px; overflow: auto; border-radius: 6px; background: var(--dark); color: #e4e4e7; }
.restricted-local-steps code { font: 10px/1.6 var(--mono); }
.restricted-preview { padding: 22px; border: 1px dashed #d6b85b; border-radius: 10px; background: #fffdf5; }
.restricted-shape-flow { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); gap: 9px; align-items: stretch; margin: 17px 0 12px; }
.restricted-shape-flow.three-stage { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); }
.restricted-shape-flow article { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.restricted-shape-flow article > span { display: block; margin-bottom: 7px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.restricted-shape-flow strong { display: block; font-size: 14px; }
.restricted-shape-flow small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; }
.restricted-shape-flow > b { display: grid; place-items: center; color: var(--accent); }
.compact-command-details,
.preview-change-details,
.guide-details { margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.compact-command-details > summary,
.preview-change-details > summary,
.guide-details > summary { padding: 10px 13px; cursor: pointer; list-style: none; font-size: 11px; font-weight: 650; }
.compact-command-details > summary::after,
.preview-change-details > summary::after,
.guide-details > summary::after { content: "+"; float: right; color: var(--accent); font-size: 15px; line-height: 1; }
.compact-command-details[open] > summary::after,
.preview-change-details[open] > summary::after,
.guide-details[open] > summary::after { content: "−"; }
.compact-command-details pre { margin: 0; padding: 13px; overflow: auto; border-top: 1px solid var(--line); background: var(--dark); color: #e4e4e7; }
.compact-command-details code { font: 10px/1.65 var(--mono); }
.preview-change-details .table-scroll,
.guide-details .table-scroll { border-top: 1px solid var(--line); }

.dataset-pipeline { display: grid; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr); gap: 7px; align-items: stretch; margin: 17px 0 10px; }
.dataset-pipeline article { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.dataset-pipeline article.is-primary { border-color: #93c5fd; box-shadow: inset 0 3px 0 var(--accent); }
.dataset-pipeline article > span,
.processing-summary-row span,
.shared-guide-callout span { display: block; margin-bottom: 6px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.dataset-pipeline strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.dataset-pipeline small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.dataset-pipeline small code { color: var(--accent); font: 9px var(--mono); }
.dataset-pipeline > b { display: grid; place-items: center; color: var(--accent); }
.processing-summary-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.processing-summary-row > div { padding: 10px 12px; border-right: 1px solid var(--line); }
.processing-summary-row > div:last-child { border-right: 0; }
.processing-summary-row span { margin-bottom: 3px; color: var(--muted); font-size: 8px; }
.processing-summary-row strong { font-size: 11px; }
.processing-summary-row code { color: var(--accent); font: 10px var(--mono); }
.segment-policy-note { margin: 9px 0 0; padding: 9px 11px; border-left: 3px solid var(--accent); background: #eff6ff; color: #1e3a8a; font-size: 10px; line-height: 1.5; }
.segment-policy-note code { color: var(--accent); font: 9px var(--mono); }
.processing-presets { margin-top: 17px; }
.processing-presets > h3 { margin-bottom: 8px; font-size: 15px; }
.processing-preset { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border-top: 1px solid var(--line); }
.processing-preset:last-child { border-bottom: 1px solid var(--line); }
.processing-preset > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.processing-preset strong { overflow: hidden; font-size: 11px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.processing-preset > code { flex: none; color: var(--muted); font: 10px var(--mono); }
.shared-guide-callout { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; padding: 14px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; }
.shared-guide-callout span { margin-bottom: 3px; }
.shared-guide-callout strong { display: block; font-size: 12px; }
.shared-guide-callout .button { flex: none; background: white; }
.access-evidence { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.access-evidence > span { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.access-evidence ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.access-evidence a { display: inline-flex; padding: 4px 7px; border: 1px solid var(--line); border-radius: 4px; color: var(--accent); font-size: 10px; text-decoration: none; }
.access-evidence a:hover { border-color: #93c5fd; background: #eff6ff; }

.guide-shell { max-width: 1120px; }
.guide-hero { max-width: 820px; padding-bottom: 46px; }
.guide-hero h1 { max-width: none; }
.guide-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 58px; }
.guide-index a { display: flex; flex-direction: column; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 600; }
.guide-index a:hover { border-color: #93c5fd; color: var(--accent); }
.guide-index span { color: var(--accent); font: 600 10px var(--mono); }
.guide-jobs article { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: var(--white); color: var(--ink); }
.guide-jobs article > span { color: var(--accent); }
.guide-jobs p { color: var(--muted); }
.guide-details .preprocess-table { border: 0; border-radius: 0; }
.guide-shell .tutorial-step > p { color: var(--muted); }

.applications-shell { max-width: 1100px; padding-top: 26px; padding-bottom: 56px; }
.applications-shell > .back-link { margin-bottom: 16px; }
.applications-shell h1,
.applications-shell h2,
.applications-shell h3 { letter-spacing: 0; }
.applications-hero { max-width: 850px; padding: 8px 0 34px; }
.applications-hero h1 {
  max-width: none;
  margin-bottom: 14px;
  font-size: 50px;
  line-height: 1.06;
  font-weight: 620;
}
.applications-kicker { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 600; }
.applications-lede { max-width: 760px; margin: 0; color: var(--ink); font-size: 18px; line-height: 1.5; }
.applications-hero .hero-actions { margin-top: 20px; }
.applications-jump {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.applications-jump span { color: var(--muted); font-size: 12px; font-weight: 600; }
.applications-jump a { color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.applications-jump a:hover { color: var(--accent); }

.learning-chapter { padding: 50px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 82px; }
.chapter-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 790px);
  gap: 14px;
  align-items: start;
  margin-bottom: 25px;
}
.chapter-number { padding-top: 5px; color: var(--accent); font: 600 12px var(--mono); }
.chapter-heading h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.15; font-weight: 620; }
.chapter-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.csi-explainer {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  margin: 0 0 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.csi-explainer-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 18px 24px 25px 0;
  border-right: 1px solid var(--line);
}
.csi-photo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 22px;
}
.csi-photo-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.csi-photo-paths { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.csi-photo-path,
.csi-photo-node,
.csi-photo-readout path,
.csi-photo-readout polyline { vector-effect: non-scaling-stroke; }
.csi-photo-path { fill: none; stroke-linecap: round; stroke-width: 2.25; opacity: .88; }
.csi-photo-path-static { stroke: #52525b; stroke-dasharray: 7 7; }
.csi-photo-path-direct { stroke: #2563eb; }
.csi-photo-path-dynamic { stroke: #e11d48; }
.csi-photo-node { fill: #fff; stroke: #18181b; stroke-width: 2; }
.csi-endpoint {
  position: absolute;
  padding: 4px 7px;
  border: 1px solid rgba(24, 24, 27, .2);
  border-radius: 4px;
  color: #18181b;
  background: rgba(255, 255, 255, .92);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.csi-endpoint-tx { top: 34%; left: 4.5%; }
.csi-endpoint-rx { top: 56%; left: 77%; }
.csi-photo-readout {
  position: absolute;
  bottom: -26px;
  left: 18px;
  width: min(330px, calc(100% - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(24, 24, 27, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(24, 24, 27, .14);
}
.csi-photo-readout small { display: block; margin-bottom: 7px; color: #52525b; font-size: 10px; font-weight: 650; }
.csi-photo-readout > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: center; }
.csi-photo-readout > div + div { margin-top: 4px; }
.csi-photo-readout span { font-size: 11px; font-weight: 650; }
.csi-photo-readout svg { display: block; width: 100%; height: 22px; }
.csi-trace-axis { fill: none; stroke: #e4e4e7; stroke-width: 1; }
.csi-trace-amplitude,
.csi-trace-phase { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.csi-trace-amplitude { stroke: #2563eb; }
.csi-trace-phase { stroke: #e11d48; }
.csi-explainer figcaption { align-self: center; padding: 24px 0 24px 24px; }
.csi-explainer figcaption > span { display: block; margin-bottom: 7px; color: var(--accent); font-size: 12px; font-weight: 650; }
.csi-explainer h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 620; }
.csi-explainer figcaption > p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.csi-explainer dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 16px 0 0; }
.csi-explainer dl div { padding: 10px 14px 0 0; border-top: 1px solid var(--line); }
.csi-explainer dl div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.csi-explainer dt { font-size: 14px; font-weight: 650; }
.csi-explainer dd { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }

.signal-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 0;
}
.signal-pair > div { min-width: 0; }
.signal-pair img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.signal-pair p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.signal-pair p strong { color: var(--ink); }
.signal-pair figcaption { grid-column: 1 / -1; max-width: 900px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.signal-pair figcaption a { color: var(--accent); font-weight: 600; }
.signal-reading {
  display: grid;
  grid-template-columns: 125px repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.signal-reading h3 { margin: 0; font-size: 15px; font-weight: 620; }
.signal-reading p { margin: 0; padding: 0 16px; border-left: 1px solid var(--line); font-size: 14px; }
.signal-reading strong,
.signal-reading span { display: block; }
.signal-reading span { margin-top: 2px; color: var(--muted); }
.term-details { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.term-details summary { padding: 13px 0; cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 600; }
.term-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 0; padding: 0 0 20px; }
.term-details dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.term-details dt { font-size: 14px; font-weight: 650; }
.term-details dd { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

.application-list { border-top: 1px solid var(--line); }
.application-list article {
  display: grid;
  grid-template-columns: minmax(230px, .9fr) minmax(280px, 1.1fr) 165px;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.application-list span { display: block; margin-bottom: 7px; color: var(--accent); font-size: 12px; font-weight: 650; }
.application-list h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 620; }
.application-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.application-list a { justify-self: end; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: none; }
.application-list a:hover { text-decoration: underline; }
.scenario-intro {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  margin: 34px 0 16px;
  align-items: start;
}
.scenario-intro h3 { margin: 0; font-size: 19px; font-weight: 620; }
.scenario-intro p { max-width: 650px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.scenario-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}
.scenario-figure {
  min-width: 0;
  margin: 0;
}
.scenario-visual { position: relative; margin: 0 0 50px; }
.scenario-visual > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.scenario-figure--activity .scenario-visual > img { object-position: center 46%; }
.scenario-readout {
  position: absolute;
  right: -10px;
  bottom: -40px;
  left: 24px;
  padding: 11px 13px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(17, 17, 19, .13);
}
.scenario-readout > small { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 600; }
.scenario-readout > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; align-items: center; }
.scenario-readout > div + div { margin-top: 6px; }
.scenario-readout span { font-size: 10px; font-weight: 650; }
.scenario-readout b { display: block; height: 9px; overflow: hidden; border-radius: 2px; background: #e8eefc; }
.scenario-readout i { display: block; height: 100%; border-radius: inherit; background: #2563eb; }
.scenario-figure--breathing .scenario-readout b { background: #f8dce6; }
.scenario-figure--breathing .scenario-readout i { background: #d84b78; }
.scenario-figure--activity .scenario-readout b { background: #f9e4ca; }
.scenario-figure--activity .scenario-readout i { background: #e56b00; }
.scenario-figure figcaption > strong { display: block; font-size: 20px; font-weight: 620; }
.scenario-figure figcaption > p { min-height: 42px; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.scenario-figure figcaption > a { display: inline-block; margin-top: 9px; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: none; }
.scenario-figure figcaption > small { display: block; margin-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.scenario-figure figcaption a { color: var(--accent); font-weight: 600; }
.scenario-figure figcaption a:hover { text-decoration: underline; }
.applications-boundary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  margin-top: 28px;
  padding: 16px;
  border-left: 3px solid #d6a329;
  background: #fff9e8;
}
.applications-boundary strong { font-size: 14px; }
.applications-boundary p { margin: 0; color: #4f4630; font-size: 14px; }

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.workflow-list li { min-width: 0; padding: 0 18px; border-left: 1px solid var(--line); }
.workflow-list li:first-child { padding-left: 0; border-left: 0; }
.workflow-list li:last-child { padding-right: 0; }
.workflow-list span { display: block; margin-bottom: 12px; color: var(--accent); font: 600 11px var(--mono); }
.workflow-list h3 { margin: 0 0 6px; font-size: 18px; font-weight: 620; }
.workflow-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.start-options { margin-top: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.start-options > h3 { margin: 0; padding: 14px 0; font-size: 17px; font-weight: 620; }
.start-options > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.start-options > a:hover b { text-decoration: underline; }
.start-options strong,
.start-options small { display: block; }
.start-options strong { font-size: 15px; }
.start-options small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.start-options b { color: var(--accent); font-size: 13px; font-weight: 600; }

.education-route { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.education-route > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.education-route ol { margin: 0; padding: 0; list-style: none; counter-reset: classroom; border-top: 1px solid var(--line); }
.education-route li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.education-route strong { font-size: 14px; }
.education-route span { color: var(--muted); font-size: 14px; }

.reading-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.reading-list li {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr) 130px;
  gap: 18px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.reading-list > li > span { color: var(--accent); font-size: 12px; font-weight: 650; }
.reading-list strong { display: block; font-size: 15px; }
.reading-list a { justify-self: end; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: none; }
.reading-list a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-usecase { max-width: 700px; }
  .agent-section { grid-template-columns: 1fr; gap: 28px; }
  .agent-prompt { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .dataset-grid { grid-template-columns: repeat(2, 1fr); }
  .example-link-grid { grid-template-columns: repeat(2, 1fr); }
  .standard-flow, .tutorial-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-intro { grid-template-columns: 1fr; gap: 30px; }
  .detail-hero { max-width: 760px; }
  .setup-figure-top { max-width: 760px; }
  .access-panel { position: static; }
  .page-nav { display: none; }
  .profile-commands { grid-template-columns: 1fr; }
  .output-flow { grid-template-columns: 1fr; }
  .output-flow > b { transform: rotate(90deg); min-height: 18px; }
  .section-heading { align-items: start; flex-direction: column; }
  .preview-pair, .preview-compare-meta { grid-template-columns: 1fr; }
  .preview-label-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-meta-card .facts.compact { grid-template-columns: 1fr; }
  .structure-split { grid-template-columns: 1fr; }
  .structure-vs { justify-self: center; transform: rotate(90deg); }
  .standard-jobs, .job-cards, .param-strip, .collection-grid { grid-template-columns: 1fr 1fr; }
  .collection-task-body { grid-template-columns: 1fr; }
  .param-strip > div { border-right: 0; }
  .dataset-pipeline { grid-template-columns: 1fr; }
  .dataset-pipeline > b { min-height: 15px; transform: rotate(90deg); }
  .guide-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .beginner-entry { align-items: flex-start; flex-direction: column; }
  .beginner-entry .button { width: 100%; }
  .application-list article { grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr); }
  .application-list a { grid-column: 2; justify-self: start; }
  .scenario-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .education-route { gap: 42px; }
}
@media (max-width: 640px) {
  .topbar {
    height: auto;
    min-height: 64px;
    padding: 10px 18px 8px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .topbar nav {
    width: 100%;
    gap: 18px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav a { flex: 0 0 auto; white-space: nowrap; }
  .hero { min-height: auto; padding: 34px 18px 24px; }
  .hero-copy .hero-actions { align-items: stretch; flex-direction: row; margin-top: 20px; }
  .hero-copy .hero-actions .button { flex: 1; padding-right: 10px; padding-left: 10px; }
  .hero-usecase { width: 100%; padding-bottom: 34px; }
  .hero-ready-panel { right: 12px; left: 12px; padding: 12px 14px; }
  .hero-ready-panel strong { font-size: 15px; }
  .hero-ready-panel > div { gap: 6px 12px; }
  .hero-ready-panel span { font-size: 10px; }
  .agent-section { gap: 22px; padding: 38px 18px; scroll-margin-top: 116px; }
  .agent-section h2 { font-size: 30px; }
  .agent-section > div:first-child > p:last-child { font-size: 14px; }
  .agent-prompt { padding-top: 20px; }
  .agent-copy-row { grid-template-columns: 1fr; gap: 10px; }
  .agent-copy { width: 100%; }
  .hero-actions, .controls, .notebook-toolbar { flex-direction: column; align-items: flex-start; }
  .controls select { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats div, .stats div:first-child { padding: 0; border: 0; }
  .dataset-grid, .example-link-grid, .standard-flow, .facts, .example-results, .tutorial-grid, .tutorial-choice, .collection-grid { grid-template-columns: 1fr; }
  .dataset-card { min-height: 320px; }
  .detail-shell { padding: 26px 18px 56px; }
  .detail-intro { padding: 8px 0 34px; }
  .detail-hero h1 { font-size: clamp(42px, 14vw, 58px); }
  .detail-hero > p:not(.eyebrow) { font-size: 16px; }
  .detail-hero-meta span + span::before { display: none; }
  .detail-hero-meta { gap: 6px 12px; }
  .setup-figure-top { padding: 8px; border-radius: 9px; }
  .access-panel { padding: 18px; }
  .detail-main section { padding: 26px 0; }
  .job-cards, .param-strip { grid-template-columns: 1fr; }
  .delta-table { min-width: 560px; }
  .preview-label-grid { grid-template-columns: 1fr; }
  .two-step-model { grid-template-columns: 1fr; }
  .two-step-model > b { transform: rotate(90deg); }
  .simple-code { grid-template-columns: 1fr; }
  .preprocess-profiles,
  .preprocess-example-grid { grid-template-columns: 1fr; }
  .split-setting-title { align-items: flex-start; flex-direction: column; gap: 7px; }
  .split-setting-choices { grid-template-columns: 1fr; }
  .preprocess-profiles article { grid-template-columns: 1fr auto; }
  .preprocess-profiles article .profile-pill { grid-column: 1 / -1; }
  .preprocess-profiles small { grid-column: 1 / -1; }
  .use-case-body { grid-template-columns: 1fr; }
  .use-case-structure { border-right: 0; border-bottom: 1px solid var(--line); }
  .output-use-case > summary { align-items: flex-start; }
  .output-use-case > summary em { display: none; }
  .sample-subset-card { align-items: flex-start; flex-direction: column; }
  .sample-subset-card .button { width: 100%; }
  .sample-save-command { grid-template-columns: 1fr; }
  .sample-action-grid,
  .processing-summary-row,
  .guide-index { grid-template-columns: 1fr; }
  .restricted-shape-flow { grid-template-columns: 1fr; }
  .restricted-shape-flow.three-stage { grid-template-columns: 1fr; }
  .restricted-shape-flow > b { min-height: 15px; transform: rotate(90deg); }
  .processing-summary-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .processing-summary-row > div:last-child { border-bottom: 0; }
  .processing-preset { align-items: flex-start; flex-direction: column; }
  .processing-preset > div { align-items: flex-start; flex-direction: column; }
  .processing-preset strong { white-space: normal; }
  .shared-guide-callout { align-items: flex-start; flex-direction: column; }
  .shared-guide-callout .button { width: 100%; }
  .command-setup { align-items: flex-start; flex-direction: column; gap: 5px; }
  .command-card-head { align-items: flex-start; flex-direction: column; }
  .plan-table { display: block; min-width: 0; border: 0; background: transparent; }
  .plan-table thead { display: none; }
  .plan-table tbody { display: grid; gap: 8px; }
  .plan-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
  .plan-table tbody th { grid-column: 1 / -1; padding: 0 0 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .plan-table td { padding: 9px 6px 2px 0; border: 0; white-space: normal; }
  .plan-table td::before { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .plan-table td:nth-child(2)::before { content: "Profile"; }
  .plan-table td:nth-child(3)::before { content: "Rate"; }
  .plan-table td:nth-child(4)::before { content: "Duration"; }
  .plan-table td:nth-child(5)::before { content: "Output shape"; }
  .plan-table td:nth-child(6)::before { content: "Status"; }
  .preprocess-table { display: block; min-width: 0; border: 0; background: transparent; }
  .preprocess-table thead { display: none; }
  .preprocess-table tbody { display: grid; gap: 8px; }
  .preprocess-table tr { display: block; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
  .preprocess-table tbody th,
  .preprocess-table tbody td,
  .preprocess-table tbody td:nth-child(2) { display: block; width: auto; padding: 0; border: 0; }
  .preprocess-table tbody th { margin-bottom: 9px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .preprocess-table tbody td { margin-top: 8px; color: var(--ink); }
  .preprocess-table tbody td::before { display: block; margin-bottom: 3px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .preprocess-table tbody td:nth-child(2)::before { content: "Choose"; }
  .preprocess-table tbody td:nth-child(3)::before { content: "Effect"; }
  .collection-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-dataset-facts { grid-template-columns: 1fr; }
  .compact-dataset-facts > div,
  .compact-dataset-facts > div:nth-child(3n) { border-right: 0; }
  .compact-task-list { grid-template-columns: 1fr; }
  .collection-info-card { grid-column: span 1; min-height: 104px; }
  .collection-info-card.scenario,
  .collection-info-card.environment,
  .collection-info-card.distance,
  .collection-info-card.subjects,
  .collection-info-card.device,
  .collection-info-card.sampling,
  .collection-info-card.clip { grid-column: span 2; }
  .task-setting-list { grid-template-columns: 1fr; }
  .source-list li, .array-report div, .honesty-note { grid-template-columns: 1fr; gap: 4px; }
  .beginner-section { padding: 48px 18px; }
  .applications-shell { padding-top: 20px; padding-bottom: 40px; }
  .applications-hero { padding: 0 0 28px; }
  .applications-hero h1 { font-size: 38px; }
  .applications-lede { font-size: 16px; }
  .applications-hero .hero-actions { align-items: stretch; flex-direction: row; }
  .applications-hero .button { flex: 1; width: auto; padding-right: 12px; padding-left: 12px; }
  .applications-jump { align-items: center; flex-direction: row; gap: 7px 16px; }
  .applications-jump span { flex-basis: 100%; margin-bottom: 0; }
  .learning-chapter { padding: 38px 0; scroll-margin-top: 116px; }
  .chapter-heading { grid-template-columns: 1fr; gap: 6px; margin-bottom: 20px; }
  .chapter-number { padding-top: 0; }
  .chapter-heading h2 { font-size: 27px; }
  .chapter-heading p { font-size: 15px; }
  .csi-explainer { grid-template-columns: 1fr; margin-bottom: 30px; }
  .csi-explainer-visual { padding: 14px 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .csi-photo-stage { margin-bottom: 24px; }
  .csi-photo-readout { right: 12px; bottom: -28px; left: 12px; width: auto; }
  .csi-endpoint { padding: 3px 5px; font-size: 8px; }
  .csi-explainer figcaption { padding: 20px 0 22px; }
  .csi-explainer h3 { font-size: 19px; }
  .csi-explainer dl { grid-template-columns: 1fr; }
  .csi-explainer dl div { padding: 8px 0; }
  .csi-explainer dl div + div { padding-left: 0; border-left: 0; }
  .signal-pair { grid-template-columns: 1fr; }
  .signal-pair figcaption { grid-column: auto; }
  .signal-reading { grid-template-columns: 1fr; padding: 0; }
  .signal-reading h3 { padding: 12px 0; }
  .signal-reading p { padding: 10px 0; border-top: 1px solid var(--line); border-left: 0; }
  .term-details dl { grid-template-columns: 1fr; }
  .application-list article { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
  .application-list a { grid-column: auto; justify-self: start; }
  .scenario-intro { grid-template-columns: 1fr; gap: 6px; margin-top: 28px; }
  .scenario-gallery { grid-template-columns: 1fr; gap: 42px; }
  .scenario-readout { right: 10px; left: 18px; }
  .scenario-figure figcaption > p { min-height: 0; }
  .applications-boundary { grid-template-columns: 1fr; gap: 6px; margin-top: 22px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li,
  .workflow-list li:first-child,
  .workflow-list li:last-child { padding: 14px 0; border-top: 1px solid var(--line); border-left: 0; }
  .workflow-list li:first-child { border-top: 0; }
  .workflow-list span { margin-bottom: 5px; }
  .start-options > a { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .start-options b { justify-self: end; }
  .education-route { grid-template-columns: 1fr; gap: 20px; }
  .education-route li { grid-template-columns: 80px 1fr; }
  .reading-list li { grid-template-columns: 76px minmax(0, 1fr); gap: 4px 12px; }
  .reading-list a { grid-column: 2; justify-self: start; margin-top: 0; }
  footer { flex-direction: column; gap: 6px; }
}
