/* GENERATED FILE — DO NOT EDIT.
   Source: styles/acts/act-tab.css.tmpl
   Regenerate: npm run build:act-styles
   Both act stylesheets come from one template; editing this copy would
   silently re-fork them and be reverted by the next build. */
/* ───────────────────────────────────────────────────────────────────────────
 * NRMA tab — chapter shell + chapter rail.
 * Loaded inside #nrma-hero, which is the cream page in light theme and the
 * navy page in dark. There is no dark backdrop under these rules any more:
 * text that was written white for one is invisible on the cream.
 *
 * Conventions (the Infinimaker sheet the rest of the site uses):
 *   - Cards and panels are one flat raised sheet: --guide-color-raised,
 *     a 1px --guide-color-line edge, 12px radius, --guide-shadow-rest. No frost,
 *     no colour ramp, no hover lift, no coloured edge.
 *   - --guide-color-action (lake) is every link, button, selected state and
 *     focus ring. moss / ochre / brick appear only where a rule encodes a
 *     graded status. Montana red is the wordmark's and never appears here.
 *   - Headings are --guide-font-display in sentence case. Uppercase survives
 *     only on a short eyebrow: an id chip ("FW-05") or an 11px kicker.
 *   - Every value is a role token, so the dark theme follows on its own and
 *     this sheet carries no [data-theme="dark"] block.
 * ──────────────────────────────────────────────────────────────────────── */

/* ─── Chapter rail header (label above the rail) ─── */
.nrma-rail-header {
  width: 100%;
  max-width: 1180px;
  margin: 18px auto 8px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.nrma-rail-title {
  margin: 0;
  font-family: var(--guide-font-display);
  font-size: var(--guide-fs-lg);
  font-weight: 600;
  color: var(--guide-color-ink);
}
.nrma-rail-sub {
  margin: 4px 0 0;
  font-size: var(--guide-fs-xs);
  font-weight: 500;
  color: var(--guide-color-ink-soft);
}
@media (max-width: 640px) {
  .nrma-rail-title { font-size: var(--guide-fs-md); }
  .nrma-rail-sub { font-size: var(--guide-fs-2xs); }
}

/* ─── Chapter grid (above the launchpad inside .nrma-hero-inner) ──────────
 * 21 cards (Overview + NR-01 → NR-20): line icon, NR-NN id chip, short
 * label. A recessed paper-2 tray holds raised cards.
 * ─────────────────────────────────────────────────────────────────────── */
#nrma-chapter-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 18px;
  padding: 14px;
  background: var(--guide-color-paper-2);
  border: 1px solid var(--guide-color-line);
  border-radius: 12px;
  position: relative;
  z-index: 2;
}
.nrma-fw-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 16px 12px 14px;
  min-height: 124px;
  background: var(--guide-color-raised);
  border: 1px solid var(--guide-color-line);
  border-radius: 12px;
  box-shadow: var(--guide-shadow-rest);
  text-decoration: none;
  color: var(--guide-color-ink);
  text-align: center;
  transition: border-color var(--guide-dur-fast) ease, background var(--guide-dur-fast) ease;
  cursor: pointer;
  position: relative;
}
.nrma-fw-card:hover { border-color: var(--guide-color-action); }
.nrma-fw-card:focus-visible {
  outline: 2px solid var(--guide-color-action);
  outline-offset: 2px;
}
.nrma-fw-card.is-active {
  /* Selected is an interaction state, so it is lake: a lake edge on a flat
     lake-tinted sheet. It was a red→gold ramp, then a lake ramp. */
  background: color-mix(in srgb, var(--guide-color-action) 8%, var(--guide-color-raised));
  border-color: var(--guide-color-action);
}
.nrma-fw-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--guide-color-ink);
}
.nrma-fw-card-icon i,
.nrma-fw-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--guide-color-ink);
  stroke: currentColor;
  stroke-width: 1.75;
}
.nrma-fw-card.is-active .nrma-fw-card-icon,
.nrma-fw-card.is-active .nrma-fw-card-icon i,
.nrma-fw-card.is-active .nrma-fw-card-icon svg { color: var(--guide-color-action); }
/* An id chip ("FW-05") — the one place uppercase earns its keep. */
.nrma-fw-card-badge {
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  letter-spacing: var(--guide-letter-eyebrow);
  color: var(--guide-color-ink-soft);
  text-transform: var(--guide-label-case, uppercase);
  line-height: 1;
}
.nrma-fw-card.is-active .nrma-fw-card-badge { color: var(--guide-color-action); }
.nrma-fw-card-label {
  font-size: var(--guide-fs-xs);
  font-weight: 600;
  line-height: 1.3;
  color: var(--guide-color-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nrma-fw-card.is-active .nrma-fw-card-label { color: var(--guide-color-action); }

/* ─── Chapter view (sibling of #remix-launchpad inside .nrma-hero-inner) ─── */
/* NOTE: when the library reader takes over (#nrma-chapter-view.nrma-lib-root),
   the wider library layout governs — see styles/modules/nrma-library.css.
   This 1180px cap is the older non-library chapter shell. */
#nrma-chapter-view {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4px;
  position: relative;
  z-index: 2;
  color: var(--guide-color-ink);
}
/* When the chapter view IS the library reader, let the library's wider
   max-width take over (see .nrma-lib-root rules in nrma-library.css). */
#nrma-chapter-view.nrma-lib-root {
  max-width: min(96vw, 1720px);
  padding: 0 20px 60px;
}
#nrma-chapter-view[hidden] { display: none; }

.nrma-section {
  background: var(--guide-color-raised);
  color: var(--guide-color-ink);
  border: 1px solid var(--guide-color-line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 14px 0;
  box-shadow: var(--guide-shadow-rest);
  text-align: left;
}
.nrma-section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.nrma-section-title h2 {
  margin: 0;
  font-family: var(--guide-font-display);
  font-size: var(--guide-fs-lg);
  font-weight: 600;
  color: var(--guide-color-ink);
}
.nrma-section-hint {
  font-size: var(--guide-fs-xs);
  color: var(--guide-color-ink-soft);
}
.nrma-muted { color: var(--guide-color-ink-soft); font-size: var(--guide-fs-sm); }

/* ─── Cross-act section ("Related in WUA Remix") ─── */
.nrma-xact-group { margin: 12px 0 0; }
.nrma-xact-group:first-of-type { margin-top: 6px; }
.nrma-xact-rel {
  margin: 0 0 6px;
  font-size: var(--guide-fs-xs);
  font-weight: 600;
  /* NOT --nrma-accent. That variable is declared on the HERO block alone,
     and these cross-act panels render outside it, so every one of them fell
     through to a fallback no theme could reach (2.38:1 on the dark page).
     A group heading is text; it takes the text token and flips. */
  color: var(--guide-color-ink-soft);
}
.nrma-xact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nrma-xact-item {
  border: 1px solid var(--guide-color-line);
  border-radius: 8px;
  padding: 8px 12px;
  background: transparent;
}
.nrma-xact-link {
  display: inline-block;
  font-weight: 600;
  font-size: var(--guide-fs-sm);
  /* An anchor to another act's chapter: the link token, not an accent that is
     only in scope inside the hero. */
  color: var(--guide-color-action);
  text-decoration: none;
}
.nrma-xact-link:hover { text-decoration: underline; }
.nrma-xact-summary {
  margin: 4px 0 0;
  font-size: var(--guide-fs-sm);
  color: var(--guide-color-ink-soft);
  line-height: 1.45;
  max-width: 72ch;
}
.nrma-xact-cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.nrma-xact-cite { font-size: var(--guide-fs-2xs); color: var(--guide-color-ink-soft); }

/* ─── Hero block ─── */
/* A flat sheet. chapter-shell.js still sets --nrma-accent inline (Montana red
   when a chapter has no colour); nothing here reads it, so the wordmark's hue
   cannot reach the hero through that hand-off. */
.nrma-hero-content {
  background: var(--guide-color-raised);
  border: 1px solid var(--guide-color-line);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 8px 0 16px;
  box-shadow: var(--guide-shadow-rest);
  text-align: left;
  color: var(--guide-color-ink);
}
.nrma-hero-content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: var(--guide-fs-2xs);
  font-weight: 600;
  color: var(--guide-color-ink-soft);
  margin-bottom: 6px;
}
.nrma-hero-content-id {
  font-family: var(--guide-font-mono);
  color: var(--guide-color-ink);
  border: 1px solid var(--guide-color-line-strong);
  padding: 1px 7px;
  border-radius: 4px;
  text-transform: var(--guide-label-case, uppercase);
  letter-spacing: 0.04em;
}
.nrma-hero-content-tag { color: var(--guide-color-ink-soft); font-weight: 600; }
/* "Legal review pending" — a pending-verification state, so ochre, and quiet:
   an outlined tag, not a filled alarm. */
.nrma-hero-content-legal-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  font-size: var(--guide-fs-2xs);
  font-weight: 600;
  line-height: 1.5;
  color: var(--guide-color-ochre);
  background: transparent;
  border: 1px solid var(--guide-color-ochre);
  border-radius: var(--guide-radius-pill);
  cursor: help;
}
.nrma-hero-content-title {
  margin: 0 0 6px;
  font-family: var(--guide-font-display);
  font-size: var(--guide-fs-2xl);
  font-weight: 600;
  line-height: 1.25;
}
.nrma-hero-content-tagline {
  margin: 0 0 12px;
  font-size: var(--guide-fs-md);
  color: var(--guide-color-ink-soft);
  font-style: italic;
  max-width: 72ch;
}
.nrma-hero-content-counts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* The available / in-progress / coming-soon counts ARE a graded status, so
   they keep moss / ochre / brick. */
.nrma-count {
  font-size: var(--guide-fs-2xs);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--guide-radius-pill);
  border: 1px solid currentColor;
  background: transparent;
}
.nrma-count--shipped { color: var(--guide-color-status-ok); }
.nrma-count--partial { color: var(--guide-color-status-watch); }
.nrma-count--missing { color: var(--guide-color-status-crit); }

/* ─── Panel grid (mounted modules) ─── */
.nrma-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.nrma-panel-tile {
  cursor: pointer;
  text-align: left;
  background: var(--guide-color-raised);
  border: 1px solid var(--guide-color-line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--guide-color-ink);
  transition: border-color var(--guide-dur-fast) ease;
}
.nrma-panel-tile:hover { border-color: var(--guide-color-action); }
.nrma-panel-tile:focus-visible {
  outline: 2px solid var(--guide-color-action);
  outline-offset: 2px;
}
.nrma-panel-id {
  font-size: var(--guide-fs-sm);
  font-weight: 600;
  color: var(--guide-color-ink);
  margin-bottom: 3px;
}
.nrma-panel-module {
  font-family: var(--guide-font-mono);
  font-size: var(--guide-fs-2xs);
  color: var(--guide-color-ink-soft);
}
.nrma-panel-opener {
  margin-top: 6px;
  font-family: var(--guide-font-mono);
  font-size: var(--guide-fs-2xs);
  color: var(--guide-color-action);
}

/* ─── Chips / citation list / HITL ─── */
.nrma-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.nrma-chip {
  background: var(--guide-color-paper-2);
  border: 1px solid var(--guide-color-line);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--guide-font-mono);
  font-size: var(--guide-fs-2xs);
  color: var(--guide-color-ink);
}
.nrma-citations { margin: 0; padding-left: 18px; }
.nrma-citations li { font-size: var(--guide-fs-sm); line-height: 1.7; color: var(--guide-color-ink-soft); }
.nrma-hitl { list-style: none; padding: 0; margin: 0; }
.nrma-hitl-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--guide-color-line);
  font-size: var(--guide-fs-sm);
}
.nrma-hitl-item:last-child { border-bottom: none; }
/* A blocker is the critical tier of a graded state. */
.nrma-hitl-item--blocker .nrma-chip {
  background: transparent;
  border-color: var(--guide-color-status-crit);
  color: var(--guide-color-status-crit);
}
.nrma-hitl-desc { flex: 1 1 auto; color: var(--guide-color-ink-soft); }
.nrma-hitl-phase {
  font-size: var(--guide-fs-2xs);
  color: var(--guide-color-ink-soft);
  font-family: var(--guide-font-mono);
}

/* ─── Requirements table ─── */
.nrma-req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--guide-fs-sm);
}
.nrma-req-table th {
  text-align: left;
  font-size: var(--guide-fs-xs);
  font-weight: 600;
  color: var(--guide-color-ink-soft);
  padding: 6px 8px;
  border-bottom: 1px solid var(--guide-color-line-strong);
}
.nrma-req-table td {
  padding: 8px;
  border-bottom: 1px dashed var(--guide-color-line);
  vertical-align: top;
}
.nrma-req-id {
  font-family: var(--guide-font-mono);
  font-size: var(--guide-fs-2xs);
  color: var(--guide-color-ink-soft);
  white-space: nowrap;
}
/* Requirement status: shipped / partial / missing is a graded ladder and keeps
   its hues. Deferred and out-of-scope are not on that ladder, so they are
   neutral — deferred used to borrow lake, the interaction colour. */
.nrma-pill {
  display: inline-block;
  font-size: var(--guide-fs-2xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.nrma-pill--shipped { background: color-mix(in srgb, var(--guide-color-status-ok) 12%, transparent); color: var(--guide-color-status-ok); }
.nrma-pill--partial { background: color-mix(in srgb, var(--guide-color-status-watch) 12%, transparent); color: var(--guide-color-status-watch); }
.nrma-pill--missing { background: color-mix(in srgb, var(--guide-color-status-crit) 10%, transparent); color: var(--guide-color-status-crit); }
.nrma-pill--deferred { background: transparent; border: 1px solid var(--guide-color-line-strong); color: var(--guide-color-ink-soft); }
.nrma-pill--out-of-scope { background: var(--guide-color-paper-2); color: var(--guide-color-ink-soft); }
.nrma-req--shipped { background: color-mix(in srgb, var(--guide-color-status-ok) 3%, transparent); }
.nrma-req--partial { background: color-mix(in srgb, var(--guide-color-status-watch) 3%, transparent); }
.nrma-req--missing { background: color-mix(in srgb, var(--guide-color-status-crit) 3%, transparent); }

/* ─── Footer ─── */
/* Written white-on-glass for a dark backdrop that no longer exists, so on the
   cream page both links were white on near-white. Ink text, lake links. */
.nrma-footer {
  margin: 18px 0 24px;
  padding: 14px 16px;
  background: var(--guide-color-raised);
  border: 1px solid var(--guide-color-line);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: var(--guide-fs-sm);
  color: var(--guide-color-ink-soft);
}
.nrma-footer a,
.nrma-back-link {
  color: var(--guide-color-action);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--guide-color-action) 40%, transparent);
  text-underline-offset: 2px;
}
.nrma-footer a:hover,
.nrma-back-link:hover {
  color: var(--guide-color-action-hover);
  text-decoration-color: currentColor;
}
.nrma-footer a:focus-visible,
.nrma-back-link:focus-visible {
  outline: 2px solid var(--guide-color-action);
  outline-offset: 2px;
  border-radius: 2px;
}
.nrma-footer-sep { color: var(--guide-color-ink-soft); }

/* ───────────────────────────────────────────────────────────────────────────
 *  LAUNCHPAD TILES (22) — token-driven chip color via data-fw-accent.
 *  Eliminates inline hex from the 22-tile block in index.html.
 * ─────────────────────────────────────────────────────────────────────── */
/* #remix-launchpad is defined once, in styles/modules/wuar-tab.css. Both acts
   render into the same element id, and this sheet carried a byte-identical
   second copy that simply won by load order. Removed 2026-07-27. */
/* Default accent for a tile with no data-fw-accent — the per-chapter rules
   below override it. Documented in styles/README.md as the hand-off any
   descendant can read without knowing the chapter id. Both acts render
   their tiles into .remix-launch-tile; only the chapter prefix differs,
   so this is one tokenised list and not two.

   A tile with no chapter has no chapter accent to take, so its default is a
   neutral control edge. It was the wordmark red, which is not an accent. */
.remix-launch-tile { --nrma-tile-accent: var(--guide-color-line-strong); }
.remix-launch-tile[data-fw-accent="NR-01"] { --nrma-tile-accent: var(--guide-fw-01-accent); }
.remix-launch-tile[data-fw-accent="NR-02"] { --nrma-tile-accent: var(--guide-fw-02-accent); }
.remix-launch-tile[data-fw-accent="NR-03"] { --nrma-tile-accent: var(--guide-fw-03-accent); }
.remix-launch-tile[data-fw-accent="NR-04"] { --nrma-tile-accent: var(--guide-fw-04-accent); }
.remix-launch-tile[data-fw-accent="NR-05"] { --nrma-tile-accent: var(--guide-fw-05-accent); }
.remix-launch-tile[data-fw-accent="NR-06"] { --nrma-tile-accent: var(--guide-fw-06-accent); }
.remix-launch-tile[data-fw-accent="NR-07"] { --nrma-tile-accent: var(--guide-fw-07-accent); }
.remix-launch-tile[data-fw-accent="NR-08"] { --nrma-tile-accent: var(--guide-fw-08-accent); }
.remix-launch-tile[data-fw-accent="NR-09"] { --nrma-tile-accent: var(--guide-fw-09-accent); }
.remix-launch-tile[data-fw-accent="NR-10"] { --nrma-tile-accent: var(--guide-fw-10-accent); }
.remix-launch-tile[data-fw-accent="NR-11"] { --nrma-tile-accent: var(--guide-fw-11-accent); }
.remix-launch-tile[data-fw-accent="NR-12"] { --nrma-tile-accent: var(--guide-fw-12-accent); }
.remix-launch-tile[data-fw-accent="NR-13"] { --nrma-tile-accent: var(--guide-fw-13-accent); }
.remix-launch-tile[data-fw-accent="NR-14"] { --nrma-tile-accent: var(--guide-fw-14-accent); }
.remix-launch-tile[data-fw-accent="NR-15"] { --nrma-tile-accent: var(--guide-fw-15-accent); }
.remix-launch-tile[data-fw-accent="NR-16"] { --nrma-tile-accent: var(--guide-fw-16-accent); }
.remix-launch-tile[data-fw-accent="NR-17"] { --nrma-tile-accent: var(--guide-fw-17-accent); }
.remix-launch-tile[data-fw-accent="NR-18"] { --nrma-tile-accent: var(--guide-fw-18-accent); }
.remix-launch-tile[data-fw-accent="NR-19"] { --nrma-tile-accent: var(--guide-fw-19-accent); }
.remix-launch-tile[data-fw-accent="NR-20"] { --nrma-tile-accent: var(--guide-fw-20-accent); }

/* The tile's id chip ("FW-05") — an eyebrow, so it may stay uppercase. */
.nrma-tile-chip {
  display: flex;
  align-items: center;
  gap: var(--guide-sp-2, 10px);
  margin-bottom: var(--guide-sp-2, 6px);
  color: var(--guide-color-ink-soft);
  font-weight: var(--guide-fw-bold, 700);
  font-size: var(--guide-fs-2xs);
  text-transform: var(--guide-label-case, uppercase);
  letter-spacing: var(--guide-letter-eyebrow, 0.06em);
}
.nrma-tile-chip i {
  width: 16px;
  height: 16px;
  color: var(--guide-color-ink);
  stroke: currentColor;
}
.nrma-tile-title {
  font-family: var(--guide-font-display);
  font-size: var(--guide-fs-lg);
  font-weight: 600;
  color: var(--guide-color-ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.nrma-tile-desc {
  font-size: var(--guide-fs-xs);
  color: var(--guide-color-ink-soft);
  line-height: 1.5;
}
.nrma-tile-foot {
  margin-top: var(--guide-sp-2, 8px);
  font-size: var(--guide-fs-2xs);
  color: var(--guide-color-ink-soft);
}

/* ───────────────────────────────────────────────────────────────────────────
 *  PERSONA RAIL — top-level nav-row icons in Remix mode (replaces the 22-
 *  quick-launch row from before; the 22 tiles still live in the launchpad
 *  below the hero).
 * ─────────────────────────────────────────────────────────────────────── */
/* !important stays, and it is not a specificity war this sheet can win.
   body.nrma-mode #nrma-rail is (0,1,1,1) against layout.css:793's
   #remix-rail.rail-active at (0,1,1,0) — this rule already has the higher
   specificity. It loses anyway because that one is itself !important, and
   !important beats specificity outright. Dropping it here would let the rail
   reappear in Remix mode the moment JS adds .rail-active. The fix belongs in
   layout.css, which this template does not own; until then the two cancel.
   NRMA has no .rail-active counterpart, so its copy is redundant rather than
   load-bearing — one tokenised line is still better than forking the sheet. */
body.nrma-mode #nrma-rail { display: none !important; }


/* ───────────────────────────────────────────────────────────────────────────
 *  PERSONA JOURNEY PAGE — the step-by-step guided experience.
 * ─────────────────────────────────────────────────────────────────────── */
.nrma-journey-hero {
  background: var(--guide-color-raised);
  border: 1px solid var(--guide-color-line);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 8px 0 16px;
  box-shadow: var(--guide-shadow-rest);
  color: var(--guide-color-ink);
  text-align: left;
}
.nrma-journey-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  text-transform: var(--guide-label-case, uppercase);
  letter-spacing: var(--guide-letter-eyebrow);
  color: var(--guide-color-ink-soft);
  margin-bottom: 4px;
}
.nrma-journey-title {
  margin: 0 0 6px;
  font-family: var(--guide-font-display);
  font-size: var(--guide-fs-2xl);
  font-weight: 600;
  line-height: 1.2;
}
.nrma-journey-audience {
  margin: 0;
  font-size: var(--guide-fs-md);
  color: var(--guide-color-ink-soft);
  max-width: 72ch;
}
.nrma-journey-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 16px;
}
.nrma-step {
  display: flex;
  gap: 16px;
  background: var(--guide-color-raised);
  border: 1px solid var(--guide-color-line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--guide-shadow-rest);
  color: var(--guide-color-ink);
}
/* A step number is a position, not a control, so it is outlined ink rather
   than a lake fill that reads as a button. */
.nrma-step-num {
  flex: 0 0 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--guide-font-mono);
  font-size: var(--guide-fs-sm);
  font-weight: 700;
  color: var(--guide-color-ink);
  background: transparent;
  border: 1px solid var(--guide-color-line-strong);
  border-radius: 50%;
  letter-spacing: 0;
}
.nrma-step-body { flex: 1 1 auto; min-width: 0; }
.nrma-step-title {
  margin: 0 0 4px;
  font-family: var(--guide-font-display);
  font-size: var(--guide-fs-lg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nrma-step-fw {
  font-family: var(--guide-font-mono);
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  color: var(--guide-color-action);
  text-decoration: none;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--guide-color-action) 40%, transparent);
  padding: 1px 6px;
  border-radius: 4px;
}
.nrma-step-fw:hover { background: color-mix(in srgb, var(--guide-color-action) 8%, transparent); }
.nrma-step-summary {
  margin: 0;
  font-size: var(--guide-fs-sm);
  line-height: 1.55;
  color: var(--guide-color-ink-soft);
  max-width: 72ch;
}
.nrma-step-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nrma-step-action {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: var(--guide-fs-sm);
  color: var(--guide-color-on-action);
  background: var(--guide-color-action);
  border: 1px solid var(--guide-color-action);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--guide-dur-fast) ease, border-color var(--guide-dur-fast) ease;
}
.nrma-step-action:hover {
  background: var(--guide-color-action-hover);
  border-color: var(--guide-color-action-hover);
}
.nrma-step-action:focus-visible {
  outline: 2px solid var(--guide-color-action);
  outline-offset: 2px;
}
.nrma-step-coming {
  font-size: var(--guide-fs-xs);
  font-weight: 600;
  color: var(--guide-color-ink-soft);
  background: var(--guide-color-paper-2);
  padding: 4px 10px;
  border-radius: var(--guide-radius-pill);
}
.nrma-journey-related {
  margin: 8px 0 24px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--guide-color-raised);
  border: 1px solid var(--guide-color-line);
  border-radius: 12px;
  color: var(--guide-color-ink);
}
.nrma-journey-related-label {
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  text-transform: var(--guide-label-case, uppercase);
  letter-spacing: var(--guide-letter-eyebrow);
  color: var(--guide-color-ink-soft);
}
.nrma-journey-related-list { display: flex; gap: 6px; flex-wrap: wrap; }

/* ───────────────────────────────────────────────────────────────────────────
 *  VERB CARDS — "What can I do here" on the redesigned chapter page.
 * ─────────────────────────────────────────────────────────────────────── */
.nrma-hero-content-why {
  margin: 8px 0 14px;
  font-size: var(--guide-fs-base);
  line-height: 1.6;
  color: var(--guide-color-ink-soft);
  max-width: 72ch;
}
.nrma-verb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--guide-sp-2);
}
/* A way in is a row: the verb, then what it opens, then an arrow. It was a
   two-line card whose kicker read "READ" over "the Master Framework Architecture
   chapter", so a sentence was broken across two lines to fit a tile. */
.nrma-verb-card {
  cursor: pointer;
  text-align: left;
  background: var(--guide-color-raised);
  border: 1px solid var(--guide-color-line);
  border-radius: var(--guide-radius-lg);
  padding: var(--guide-sp-3) var(--guide-sp-4);
  font: inherit;
  color: var(--guide-color-ink);
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: var(--guide-sp-3);
  transition: border-color var(--guide-dur-fast) ease;
}
.nrma-verb-card:not(.is-disabled)::after {
  content: '\2192';
  margin-left: auto;
  color: var(--guide-color-action);
}
.nrma-verb-card:hover { border-color: var(--guide-color-action); }
.nrma-verb-card:focus-visible {
  outline: 2px solid var(--guide-color-action);
  outline-offset: 2px;
}
.nrma-verb-card.is-disabled { cursor: default; opacity: 0.85; }
.nrma-verb-card.is-disabled:hover { border-color: var(--guide-color-line); }
.nrma-verb-card.is-coming-soon { background: var(--guide-color-paper-2); }
/* The kicker names what the card DOES, and the card is a button: action. */
.nrma-verb {
  flex: none;
  min-width: 4.5rem;
  font-size: var(--guide-fs-xs);
  font-weight: 700;
  color: var(--guide-color-action);
}
.nrma-verb-label {
  font-size: var(--guide-fs-base);
  font-weight: 600;
  line-height: 1.35;
  color: var(--guide-color-ink);
}
.nrma-verb-coming {
  font-size: var(--guide-fs-2xs);
  font-weight: 600;
  color: var(--guide-color-ink-soft);
  align-self: center;
  background: var(--guide-color-paper-2);
  padding: 2px 8px;
  border-radius: var(--guide-radius-pill);
}

/* ───────────────────────────────────────────────────────────────────────────
 *  RELATED CHAPTERS — "How this connects".
 * ─────────────────────────────────────────────────────────────────────── */
.nrma-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--guide-sp-1) var(--guide-sp-4);
}
.nrma-related-link {
  display: flex;
  align-items: baseline;
  gap: var(--guide-sp-2);
  padding: var(--guide-sp-2) 0;
  text-decoration: none;
  border-bottom: 1px solid var(--guide-color-line);
}
.nrma-related-code { flex: none; font-family: var(--guide-font-mono); font-size: var(--guide-fs-xs); color: var(--guide-color-ink-soft); }
.nrma-related-title { font-size: var(--guide-fs-sm); font-weight: 600; color: var(--guide-color-action); }
.nrma-related-link:hover .nrma-related-title { text-decoration: underline; }
.nrma-related-link:focus-visible { outline: 2px solid var(--guide-color-action); outline-offset: 2px; }

/* ───────────────────────────────────────────────────────────────────────────
 *  FOR THE CURIOUS — collapsed audit details.
 * ─────────────────────────────────────────────────────────────────────── */
.nrma-section--curious { padding: 4px 0; }
.nrma-curious {
  margin: 0;
  padding: 0 18px;
}
/* The summary is the disclosure control, so it is lake. */
.nrma-curious summary {
  cursor: pointer;
  padding: 14px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--guide-fs-sm);
  font-weight: 600;
  color: var(--guide-color-action);
}
.nrma-curious summary:hover { color: var(--guide-color-action-hover); }
.nrma-curious summary:focus-visible {
  outline: 2px solid var(--guide-color-action);
  outline-offset: 2px;
  border-radius: 4px;
}
.nrma-curious summary::-webkit-details-marker { display: none; }
.nrma-curious summary::before {
  content: '▸';
  display: inline-block;
  transition: transform var(--guide-dur-fast) ease;
  font-size: var(--guide-fs-md);
  color: currentColor;
}
.nrma-curious[open] summary::before { transform: rotate(90deg); }
.nrma-curious-body {
  padding: 4px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nrma-curious-subsection h3 {
  margin: 0 0 6px;
  font-family: var(--guide-font-display);
  font-size: var(--guide-fs-base);
  font-weight: 600;
  color: var(--guide-color-ink);
}

/* ───────────────────────────────────────────────────────────────────────────
 *  GLOSSARY TOOLTIP — hover over any .nrma-term to see a plain-English def.
 *  A raised sheet like every other card. It was ink-filled with white text,
 *  which inverted in dark theme into white text on a near-white fill.
 * ─────────────────────────────────────────────────────────────────────── */
.nrma-term {
  border-bottom: 1px dashed color-mix(in srgb, var(--guide-color-action) 45%, transparent);
  cursor: help;
  color: inherit;
}
.nrma-term:hover, .nrma-term:focus {
  background: color-mix(in srgb, var(--guide-color-action) 6%, transparent);
  outline: none;
  border-radius: 2px;
}
.nrma-term:focus-visible { outline: 2px solid var(--guide-color-action); outline-offset: 1px; }
.nrma-tip {
  position: absolute;
  z-index: var(--guide-z-max, 9999);
  max-width: 320px;
  background: var(--guide-color-raised);
  color: var(--guide-color-ink);
  border: 1px solid var(--guide-color-line);
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: var(--guide-shadow-raised);
  font-size: var(--guide-fs-sm);
  line-height: 1.5;
  pointer-events: auto;
}
.nrma-tip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--guide-color-raised);
  border-right: 1px solid var(--guide-color-line);
  border-bottom: 1px solid var(--guide-color-line);
}
.nrma-tip.nrma-tip--below::after {
  top: -7px;
  bottom: auto;
  border: 0;
  border-left: 1px solid var(--guide-color-line);
  border-top: 1px solid var(--guide-color-line);
}
.nrma-tip-plain { font-weight: 700; margin-bottom: 4px; color: var(--guide-color-ink); }
.nrma-tip-long { color: var(--guide-color-ink-soft); font-size: var(--guide-fs-xs); line-height: 1.55; }
.nrma-tip-see {
  display: inline-block;
  margin-top: 8px;
  font-size: var(--guide-fs-xs);
  font-weight: 600;
  color: var(--guide-color-action);
  text-decoration: none;
}
.nrma-tip-see:hover { text-decoration: underline; }

/* ───────────────────────────────────────────────────────────────────────────
 *  Responsive
 * ─────────────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .nrma-hero-content-title { font-size: var(--guide-fs-xl); }
  .nrma-section { padding: 14px 16px; }
  .nrma-journey-title { font-size: var(--guide-fs-xl); }
  .nrma-step { flex-direction: column; gap: 8px; }
  .nrma-step-num { flex: 0 0 auto; align-self: flex-start; }
}

/* ───────────────────────────────────────────────────────────────────────────
 *  DARK THEME
 *  No overrides. Every colour above is a role token with a measured dark
 *  value in theme-tokens.css. The 30-odd rules that used to live here pinned
 *  four hand-picked greys (#1e1e28 #23232e #2a2a38 and a white alpha ramp)
 *  that no theme owned; deleting them is what lets dark follow.
 * ──────────────────────────────────────────────────────────────────────── */
