/* plan.css — this page's shell only. Components and tokens are ui.css's
   (vendored from jgeschwendt/ui; provenance note in index.html's head). */

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

.eyebrow {
  color: var(--ui-fg-faint);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  color: var(--ui-fg-muted);
  max-width: 48rem;
}

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

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

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

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

.plan-coda {
  margin-top: 1rem;
}

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.6;
  margin-top: 1rem;
  overflow-x: auto;
  padding: 1rem 1.25rem;
}

pre.snippet b {
  color: var(--ui-fg);
  font-weight: 600;
}

pre.snippet i {
  color: var(--ui-fg-faint);
  font-style: normal;
}

figure.snippet-figure {
  margin-top: 1rem;
  max-width: 56rem;
}

figure.snippet-figure > pre.snippet {
  margin-top: 0;
}

figcaption {
  color: var(--ui-fg-faint);
  font-size: 0.8125rem;
  margin-top: 0.5rem;
}

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

.stations .panel-body ul {
  color: var(--ui-fg-muted);
  display: grid;
  font-size: 0.875rem;
  gap: 0.375rem;
}

.stations .panel-body li::before {
  color: var(--ui-fg-faint);
  content: "— ";
}

.stations-detail {
  grid-template-columns: 1fr;
}

/* the plate is drawn on cream; it keeps its own light card in every theme so it
   never lands as a mismatched slab on a dark page */
figure.plate {
  background: #faf7f2;
  border: 1px solid var(--ui-border);
  border-radius: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem;
}

figure.plate img {
  border-radius: 0.375rem;
  width: 100%;
}

figure.plate figcaption {
  color: #6b6559;
  margin: 0.625rem 0.25rem 0.125rem;
}

/* the caption sits on the plate's cream, not the page's — its chips follow */
figure.plate figcaption .code {
  background: #f0ece3;
  border-color: #ddd7ca;
  color: #4c4639;
}

ul.exits {
  color: var(--ui-fg-muted);
  display: grid;
  font-size: 0.9375rem;
  gap: 0.5rem;
  margin-top: 1rem;
}

.link-row {
  border-top: 1px solid var(--ui-border);
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 1.25rem;
}
