/* plan.css — this page's shell only. Components and tokens are ui.css's
   (vendored, byte-synced from jgeschwendt/ui — see AGENTS.md). */

.plan-shell {
  margin: 0 auto;
  max-width: 100rem;
  padding: 1.5rem 1.25rem 5rem;
}

.plan-lead {
  max-width: 52rem;
}

.plan-flavor {
  color: var(--ui-fg-faint);
  font-size: 0.9375rem;
  max-width: 52rem;
}

.plan-toc {
  flex-wrap: wrap;
  margin-top: 1rem;
}

.plan-section {
  margin-top: 3rem;
  scroll-margin-top: 5rem;
}

.plan-section > header {
  margin-bottom: 1rem;
}

.plan-note {
  color: var(--ui-fg-muted);
  font-size: 0.9375rem;
  max-width: 52rem;
}

pre.snippet {
  background: var(--ui-sunken);
  border: 1px solid var(--ui-border);
  border-radius: 0.5rem;
  font-family: var(--ui-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding: 1rem 1.25rem;
}

pre.snippet .snippet-note {
  color: var(--ui-fg-faint);
}

.plan-note-after {
  margin-top: 1.25rem;
}

ul.claims {
  color: var(--ui-fg-muted);
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  max-width: 60rem;
}

ul.claims > li::before {
  color: var(--ui-fg-faint);
  content: "— ";
}

ul.claims strong {
  color: var(--ui-fg);
}

.rungs {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 1rem;
}

.rungs .card-body {
  color: var(--ui-fg-muted);
  font-size: 0.875rem;
}

.rungs .card-head {
  gap: 0.5rem;
}

.rung-step {
  color: var(--ui-fg-faint);
  font-family: var(--ui-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.75rem;
}

ol.steps {
  display: grid;
  gap: 0.625rem;
  margin-top: 1rem;
  max-width: 60rem;
  padding-left: 1.5rem;
}

ol.steps > li {
  color: var(--ui-fg-muted);
  font-size: 0.9375rem;
}

ol.steps > li::marker {
  color: var(--ui-fg-faint);
  font-weight: 600;
}

ol.steps strong {
  color: var(--ui-fg);
}

.plan-foot {
  border-top: 1px solid var(--ui-border);
  color: var(--ui-fg-faint);
  font-size: 0.8125rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
}
