/* ============================================================
   ui_kits/app/components/kit-components.css
   Isolation frame for the standalone component files in this folder.
   Each component page renders one piece on a bare --bg ground so it can be
   reviewed, iframed, or copied without the surrounding app shell.
   No colour literal here: everything comes from the contract.
   ============================================================ */

body.kitc {
  margin: 0;
  padding: 26px 28px 44px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
}

.kitc__head { max-width: 980px; margin-bottom: 18px; }
.kitc__eyebrow {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.085em;
  text-transform: uppercase; color: var(--muted-ink);
}
.kitc__head h1 { margin-top: 6px; font-size: 19px; }
.kitc__head p {
  margin: 7px 0 0; font-size: 12.5px; color: var(--muted-ink);
  line-height: 1.55; max-width: 72ch;
}
.kitc__classes {
  margin-top: 11px; display: flex; flex-wrap: wrap; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
}
.kitc__classes span {
  padding: 2px 7px; border-radius: 4px;
  background: var(--subtle); border: 1px solid var(--border); color: var(--muted-ink);
}
.kitc__stage { max-width: 980px; }
.kitc__note {
  max-width: 980px; margin-top: 16px;
  font-size: 12.5px; color: var(--muted-ink); line-height: 1.55;
}
.kitc__note code { font-family: var(--font-mono); background: var(--subtle); border-radius: 3px; padding: 0 4px; }

/* the sidebar component renders outside .shell, so it needs an explicit box */
.kitc__rail {
  width: var(--rail); max-width: 100%;
  height: 560px; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
}
.kitc__rail .sidebar { position: static; height: 100%; border-right: 0; }
