.mc001-page {
  --fm-ink: var(--text-primary);
  --fm-muted: var(--text-secondary);
  --fm-subtle: var(--text-muted);
  --fm-line: var(--border);
  --fm-surface: var(--gray-50);
  --fm-surface-2: var(--gray-100);
  --fm-card: var(--white);
  --fm-blue: var(--violet-medium);
  --fm-blue-2: var(--violet-bright);
  --fm-cyan: var(--violet-dark);
  --fm-violet: var(--violet-medium);
  --fm-success: var(--green-700);
  --fm-max: 1240px;
  --fm-reading: 760px;
  --fm-radius: 18px;
  --fm-shadow: 0 24px 70px rgba(42, 21, 72, .10);
}
.mc001-page { scroll-padding-top: 96px; }
.mc001-page main a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fm-progress { position: fixed; z-index: 1000; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--fm-blue), var(--fm-cyan)); }
.fm-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--fm-line); background: radial-gradient(circle at 75% 18%, rgba(124,77,189,.15), transparent 30%), radial-gradient(circle at 88% 76%, rgba(61,36,102,.13), transparent 28%), linear-gradient(180deg, var(--violet-wash) 0%, var(--white) 88%); }
.fm-hero::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(124,77,189,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(124,77,189,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, transparent, #000 55%, #000); }
.fm-hero-inner { position: relative; max-width: var(--fm-max); margin: 0 auto; padding: 84px 24px 72px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; align-items: center; }
.fm-back { display: inline-flex; gap: 7px; align-items: center; color: var(--fm-muted); text-decoration: none; font-size: 14px; font-weight: 650; margin-bottom: 24px; }
.fm-eyebrow { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 18px; color: var(--fm-blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fm-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fm-blue); box-shadow: 0 0 0 5px rgba(124,77,189,.10); }
.fm-hero h1 { margin: 0; max-width: 820px; font-size: clamp(42px, 5.5vw, 72px); line-height: 1; letter-spacing: -.05em; font-weight: 820; }
.fm-hero h1 span { display: block; background: linear-gradient(100deg, var(--fm-blue), var(--fm-violet) 58%, var(--fm-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fm-lead { margin: 22px 0 0; color: var(--fm-ink); font-family: var(--font-mono); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.fm-deck { max-width: 760px; margin: 26px 0 0; color: var(--fm-muted); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.5; letter-spacing: -.01em; }
.fm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fm-hero-note { margin-top: 22px; color: var(--fm-subtle); font-size: 13px; }
.fm-architecture-card { border: 1px solid rgba(124,77,189,.20); border-radius: 22px; padding: 18px; background: rgba(255,255,255,.90); box-shadow: 0 20px 55px rgba(42,21,72,.12); backdrop-filter: blur(12px); }
.fm-architecture-header { display: flex; align-items: flex-start; flex-direction: column; gap: 3px; margin-bottom: 13px; }
.fm-architecture-kicker { color: var(--fm-blue); font-size: 10px; font-weight: 820; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
.fm-architecture-card h2 { margin: 0; color: var(--fm-muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.fm-architecture-flow { display: block; }
.fm-stack-node { position: relative; display: grid; grid-template-columns: 84px minmax(0,1fr) 24px; gap: 10px; align-items: center; min-height: 60px; padding: 10px 11px; border: 1px solid var(--fm-line); border-radius: 12px; background: rgba(255,255,255,.95); text-align: left; }
.fm-stack-link { color: var(--fm-ink); text-decoration: none; box-shadow: 0 1px 0 rgba(42,21,72,.02); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease; }
.fm-stack-link:hover { border-color: rgba(124,77,189,.44); background: var(--violet-wash); box-shadow: 0 8px 22px rgba(42,21,72,.09); transform: translateY(-1px); }
.fm-stack-link.is-current { border-color: rgba(var(--ms-accent-rgb, 124,77,189),.46); background: var(--ms-soft, var(--violet-wash)); box-shadow: inset 3px 0 0 var(--ms-accent, var(--fm-blue)); }
.fm-stack-link:focus-visible, .fm-domain-links a:focus-visible { outline: 3px solid rgba(124,77,189,.28); outline-offset: 2px; }
.fm-stack-step { color: var(--fm-subtle); font-size: 9px; font-weight: 820; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }
.fm-stack-copy { min-width: 0; color: var(--fm-muted); font-size: 11.5px; font-weight: 650; line-height: 1.25; }
.fm-stack-node strong { display: block; margin-bottom: 2px; color: var(--fm-blue); font-size: 14px; line-height: 1.15; }
.fm-stack-open { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: rgba(124,77,189,.09); color: var(--fm-blue); font-size: 14px; font-weight: 850; transition: background-color .18s ease, transform .18s ease; }
.fm-stack-link:hover .fm-stack-open { background: var(--fm-blue); color: #fff; transform: translateX(2px); }
.fm-stack-arrow { height: 15px; color: var(--fm-blue); font-size: 12px; font-weight: 850; line-height: 15px; text-align: center; }
.fm-stack-domain-node { display: block; padding-bottom: 11px; }
.fm-stack-domain-header { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 10px; align-items: center; }
.fm-stack-domain-header .fm-stack-copy strong { margin-bottom: 0; }
.fm-domain-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--fm-line); }
.fm-domain-links a { display: grid; min-height: 34px; place-items: center; padding: 7px 8px; border: 1px solid rgba(124,77,189,.18); border-radius: 9px; background: rgba(124,77,189,.055); color: var(--fm-blue); font-size: 10.5px; font-weight: 780; line-height: 1.2; text-align: center; text-decoration: none; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.fm-domain-links a:hover { border-color: var(--fm-blue); background: var(--fm-blue); color: #fff; }
.fm-domain-links a.is-current { border-color: var(--ms-accent, var(--fm-blue)); background: var(--ms-accent, var(--fm-blue)); color: #fff; box-shadow: 0 5px 14px rgba(var(--ms-accent-rgb, 124,77,189),.18); }
.fm-meta-strip { border-bottom: 1px solid var(--fm-line); background: #fff; }
/* Content-sized rather than equal columns: the values range from "1.0" to a full sentence, so a
   fixed column count both wastes width and orphans the last item onto a row of its own. */
.fm-meta-inner { max-width: var(--fm-max); margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.fm-meta-item { border-left: 2px solid var(--fm-line); padding-left: 12px; }
.fm-meta-label { display: block; color: var(--fm-subtle); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; font-weight: 760; }
.fm-meta-value { display: block; margin-top: 4px; font-size: 14px; font-weight: 720; }
.fm-page { max-width: var(--fm-max); margin: 0 auto; padding: 54px 24px 100px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.fm-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 14px; scrollbar-width: thin; }
.fm-toc-title { color: var(--fm-subtle); font-size: 11px; font-weight: 820; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 13px; }
.fm-toc nav ul { list-style: none; margin: 0; padding: 0; }
.fm-toc nav ul ul { padding-left: 8px; }
.toc-link { display: block; padding: 6px 10px; margin: 1px 0; border-left: 2px solid transparent; color: var(--fm-subtle); font-size: 12.5px; line-height: 1.35; text-decoration: none; border-radius: 0 7px 7px 0; }
.toc-link:hover { background: var(--fm-surface); color: var(--fm-ink); }
.toc-link.is-active { border-left-color: var(--fm-blue); color: var(--fm-blue); background: rgba(124,77,189,.06); font-weight: 740; }
.toc-level-2 { padding-left: 18px; font-size: 12px; }
.fm-article { min-width: 0; }
.fm-article > :first-child { margin-top: 0; }
.fm-article h1, .fm-article h2, .fm-article h3, .fm-article h4 { position: relative; color: var(--fm-ink); line-height: 1.17; letter-spacing: -.032em; scroll-margin-top: 96px; }
.fm-article h1 { margin: 54px 0 18px; padding-top: 24px; border-top: 1px solid var(--fm-line); font-size: clamp(27px, 2.9vw, 36px); }
.fm-article h2 { margin: 34px 0 10px; font-size: clamp(20px, 1.9vw, 24px); }
.fm-article h3 { margin: 24px 0 8px; font-size: 18px; }
.fm-article h4 { margin: 18px 0 6px; font-size: 17px; }
/* a heading followed immediately by its own first line should not be pushed apart */
.fm-article h2 + p, .fm-article h3 + p, .fm-article h4 + p { margin-top: 0; }
/* Glossary blocks: term and definition on one row rather than a heading each.
   The term column sizes to each block's own longest term, capped - a fixed width
   left short terms like "Parse" stranded 200px from their definition. */
.fm-article dl { display: grid; grid-template-columns: fit-content(240px) minmax(0, 1fr); margin: 16px 0 22px; border-top: 1px solid var(--fm-line); }
.fm-article dt, .fm-article dd { margin: 0; padding: 4px 0; border-bottom: 1px solid var(--fm-line); }
.fm-article dt { color: var(--fm-ink); font-weight: 700; font-size: 16px; line-height: 1.5; }
.fm-article dd { color: var(--gray-700); font-size: 16px; line-height: 1.5; padding-left: 28px; }
.fm-article dd > p { margin: 0; }
@media (max-width: 700px) {
  .fm-article dl { display: block; border-top: 0; }
  .fm-article dt { padding: 10px 0 0; border-bottom: 0; }
  .fm-article dd { padding: 2px 0 10px; }
}
}
.fm-article h2 + ul, .fm-article h3 + ul, .fm-article h4 + ul,
.fm-article h2 + ol, .fm-article h3 + ol, .fm-article h4 + ol { margin-top: 0; }
.heading-anchor { opacity: 0; margin-left: 8px; font-size: .56em; text-decoration: none; color: var(--fm-blue); vertical-align: middle; }
.fm-article h1:hover .heading-anchor, .fm-article h2:hover .heading-anchor, .fm-article h3:hover .heading-anchor { opacity: 1; }
.fm-article p { margin: 0 0 13px; color: var(--gray-700); font-size: 16px; }
.fm-article li { color: var(--gray-700); font-size: 16px; margin: 3px 0; }
.fm-article ul, .fm-article ol { padding-left: 25px; margin: 2px 0 16px; }
.fm-article strong { color: var(--gray-900); }
.fm-article blockquote { margin: 22px 0; padding: 22px 26px; border-left: 4px solid var(--fm-blue); border-radius: 0 12px 12px 0; background: linear-gradient(90deg, rgba(124,77,189,.075), rgba(124,77,189,.018)); }
.fm-article blockquote p { margin: 0 0 8px; color: var(--gray-800); font-size: 17px; font-weight: 600; }
.fm-article blockquote p:last-child { margin-bottom: 0; }
.fm-article hr { border: 0; height: 1px; background: var(--fm-line); margin: 58px 0; }
.fm-visual-header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--fm-line);
  background: rgba(255, 255, 255, .92);
}
.fm-visual-header > div { min-width: 0; flex: 1; }
.fm-visual-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--fm-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.fm-visual-title {
  display: block;
  color: var(--fm-ink);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.012em;
}
.fm-visual-marker {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--violet-light);
  border-radius: 50%;
  background: var(--violet-wash);
  color: var(--violet-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.fm-diagram-card {
  overflow: hidden;
  margin: 30px 0 38px;
  border: 1px solid var(--fm-line);
  border-radius: 18px;
  background: var(--fm-card);
  box-shadow: 0 16px 42px rgba(42, 21, 72, .08);
}
.fm-diagram-canvas {
  overflow-x: auto;
  padding: 8px;
  background:
    radial-gradient(circle at 80% 20%, rgba(124, 77, 189, .10), transparent 34%),
    linear-gradient(rgba(124, 77, 189, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 77, 189, .045) 1px, transparent 1px),
    var(--violet-wash);
  background-size: auto, 28px 28px, 28px 28px, auto;
  scrollbar-width: thin;
  scrollbar-color: var(--violet-light) transparent;
}
.fm-diagram-card .fm-diagram-canvas pre.text {
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 25px 26px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .76);
  color: var(--violet-deep);
  box-shadow: inset 0 0 0 1px rgba(124, 77, 189, .08);
}
.fm-diagram-card .fm-diagram-canvas pre.text code {
  display: block;
  width: max-content;
  margin: 0 auto;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  text-align: left;
}
.fm-diagram-card--comparison .fm-diagram-canvas {
  background:
    linear-gradient(135deg, rgba(124, 77, 189, .07), transparent 58%),
    var(--gray-50);
}
.fm-diagram-card--network .fm-diagram-canvas {
  background:
    radial-gradient(circle at 50% 50%, rgba(167, 139, 250, .18), transparent 46%),
    var(--violet-wash);
}
.fm-diagram-card--workflow .fm-diagram-canvas,
.fm-diagram-card--pipeline .fm-diagram-canvas {
  background:
    linear-gradient(180deg, rgba(124, 77, 189, .08), transparent 48%, rgba(124, 77, 189, .05)),
    var(--violet-wash);
}
.fm-diagram-card--ladder .fm-diagram-canvas,
.fm-diagram-card--hierarchy .fm-diagram-canvas {
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(124, 77, 189, .08) 50%, transparent 50.3%),
    var(--violet-wash);
}
.fm-diagram-card--funnel .fm-diagram-canvas {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(167, 139, 250, .22), transparent 58%),
    linear-gradient(180deg, var(--violet-wash), var(--gray-50));
}
.fm-diagram-card--path .fm-diagram-canvas,
.fm-diagram-card--progression .fm-diagram-canvas {
  background:
    linear-gradient(90deg, rgba(124, 77, 189, .10), rgba(255, 255, 255, .4) 48%, rgba(124, 77, 189, .07)),
    var(--gray-50);
}
.fm-diagram-card--specification .fm-diagram-canvas {
  background:
    repeating-linear-gradient(180deg, transparent 0, transparent 27px, rgba(124, 77, 189, .055) 28px),
    var(--violet-wash);
}
.fm-scroll-hint {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 9px 14px;
  border-top: 1px solid var(--fm-line);
  background: var(--white);
  color: var(--fm-subtle);
  font-size: 11px;
  font-weight: 650;
}
.fm-article code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .89em; padding: .14em .38em; border-radius: 5px; background: var(--gray-100); color: var(--gray-800); }
.fm-article pre { overflow-x: auto; margin: 18px 0; padding: 21px 23px; border: 1px solid var(--violet-dark); border-radius: 14px; background: var(--violet-deep); color: var(--white); box-shadow: 0 15px 36px rgba(42,21,72,.13); }
.fm-article pre code { padding: 0; background: transparent; color: inherit; font-size: 13px; line-height: 1.55; }
.table-scroll { overflow-x: auto; margin: 28px 0 34px; border: 1px solid var(--fm-line); border-radius: 14px; }
.fm-article table { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; font-size: 14px; }
.fm-article th { padding: 13px 15px; text-align: left; background: var(--fm-surface); color: var(--gray-700); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.fm-article td { padding: 13px 15px; vertical-align: top; border-top: 1px solid var(--fm-line); color: var(--gray-600); }
.fm-table-card {
  overflow: hidden;
  margin: 30px 0 38px;
  border: 1px solid var(--fm-line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(42, 21, 72, .07);
}
.fm-table-card .fm-visual-header { border-bottom-color: var(--violet-lightest); }
.fm-table-count {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--violet-lightest);
  color: var(--violet-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fm-table-card .table-scroll {
  margin: 0;
  border: 0;
  border-radius: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--violet-light) transparent;
}
.fm-table-card .fm-article table,
.fm-table-card table { min-width: 660px; }
.fm-table-card th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-top: 14px;
  padding-bottom: 14px;
  background: linear-gradient(180deg, var(--violet-wash), var(--violet-50));
  color: var(--violet-dark);
  border-bottom: 1px solid var(--violet-lightest);
}
.fm-table-card td { line-height: 1.5; }
.fm-table-card tbody tr:nth-child(even) td { background: rgba(248, 246, 255, .72); }
.fm-table-card tbody tr:hover td { background: var(--violet-lightest); }
.fm-table-card td:first-child {
  color: var(--violet-deep);
  font-weight: 750;
}
.fm-table-card--layers th:first-child,
.fm-table-card--layers td:first-child { width: 28%; }
.fm-table-card--ladder th:first-child,
.fm-table-card--ladder td:first-child { width: 20%; }
.fm-table-card--ladder td:nth-child(2) { color: var(--gray-700); font-weight: 600; }
.fm-table-card--evidence table { min-width: 740px; }
.fm-table-card--evidence th:first-child,
.fm-table-card--evidence td:first-child { width: 25%; }
.fm-table-card--evidence th:last-child,
.fm-table-card--evidence td:last-child { width: 19%; }
.fm-table-card--glossary table { min-width: 700px; }
.fm-table-card--glossary th:first-child,
.fm-table-card--glossary td:first-child { width: 29%; }
.fm-mobile-toc { display: none; margin-bottom: 24px; }
.fm-mobile-toc summary { cursor: pointer; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--fm-line); background: var(--fm-surface); font-weight: 750; }
.fm-mobile-toc-body { padding: 10px 4px; max-height: 55vh; overflow: auto; }
.fm-mobile-toc-body ul { list-style: none; padding-left: 0; }
.fm-mobile-toc-body ul ul { padding-left: 10px; }
.fm-cta { margin-top: 70px; border-radius: 24px; padding: 48px; background: radial-gradient(circle at 85% 15%, rgba(167,139,250,.35), transparent 30%), linear-gradient(130deg, var(--violet-deep), var(--violet-dark) 68%, var(--violet-medium)); color: var(--white); box-shadow: var(--fm-shadow); }
.fm-cta .fm-eyebrow { color: var(--violet-light); }
.fm-cta h2 { color: #fff; margin: 6px 0 16px; padding: 0; border: 0; font-size: clamp(28px, 3.5vw, 40px); }
.fm-cta p { color: var(--violet-lightest); max-width: 630px; }
.fm-print-only { display: none; }
@media (max-width: 980px) {
  .fm-hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 62px; }
  .fm-architecture-card { max-width: 520px; }
  .fm-page { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fm-toc { display: none; }
  .fm-mobile-toc { display: block; }
}
@media (max-width: 620px) {
  .fm-hero-inner { padding: 48px 18px 50px; }
  .fm-hero h1 { font-size: 42px; }
  .fm-meta-inner { padding: 12px 18px; gap: 8px 20px; }
  .fm-page { padding: 36px 18px 72px; }
  .fm-cta { padding: 32px 24px; }
  .fm-visual-header { min-height: 70px; padding: 14px 15px; gap: 10px; }
  .fm-visual-title { font-size: 14px; }
  .fm-visual-marker { width: 32px; height: 32px; flex-basis: 32px; }
  .fm-diagram-card, .fm-table-card { margin: 24px 0 32px; border-radius: 14px; }
  .fm-diagram-card .fm-diagram-canvas pre.text { padding: 20px 18px; }
  .fm-diagram-card .fm-diagram-canvas pre.text code { font-size: 11.5px; }
  .fm-table-count { display: none; }
  .fm-stack-node { grid-template-columns: 72px minmax(0,1fr) 24px; }
  .fm-stack-domain-header { grid-template-columns: 72px minmax(0,1fr); }
  .fm-diagram-card.is-scrollable .fm-scroll-hint,
  .fm-table-card.is-scrollable .fm-scroll-hint { display: flex; }
}
.fm-evidence-pointer {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gray-300);
  border-radius: 0 8px 8px 0;
  background: var(--gray-50);
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
}

.fm-cite {
  margin: 48px 0 0;
  padding: 20px 24px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--gray-50);
}
.fm-cite h2 {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.fm-cite-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-600);
  /* the citation ends in a full canonical URL with no break opportunities on narrow screens */
  overflow-wrap: anywhere;
}
.fm-cite-copy {
  font: inherit;
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: #fff;
  color: var(--gray-700);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.fm-cite-copy:hover { border-color: var(--gray-500); color: var(--gray-900); }

.fm-series-nav { margin: 40px 0 0; }
.fm-series-nav-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.fm-series-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--gray-900);
  transition: border-color .18s ease, transform .18s ease;
}
.fm-series-nav-link:hover { border-color: var(--gray-400); transform: translateY(-1px); }
.fm-series-nav-link--next { text-align: right; }
.fm-series-nav-link--next:only-child { grid-column: 2; }
.fm-series-nav-role {
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.fm-series-nav-link strong { font-size: 17px; letter-spacing: -0.01em; }
.fm-series-nav-all {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-600);
}
@media (max-width: 620px) {
  .fm-series-nav-link--next, .fm-series-nav-link--next:only-child { text-align: left; grid-column: auto; }
}

@media print {
  #main-nav, #main-footer, .fm-progress, .fm-toc, .fm-mobile-toc, .fm-hero-actions, .fm-cta, .fm-series-nav, .fm-cite-copy, .cookie-consent-banner, .cookie-preferences-modal { display: none !important; }
  .fm-hero { background: #fff; }
  .fm-hero::before { display: none; }
  .fm-hero-inner { display: block; padding: 20px 0 30px; }
  .fm-architecture-card { box-shadow: none; margin-top: 30px; }
  .fm-meta-strip { border: 0; }
  .fm-meta-inner { padding: 10px 0 20px; }
  .fm-page { display: block; max-width: 780px; padding: 0; }
  .fm-article h1, .fm-article h2, .fm-article h3 { break-after: avoid; }
  .fm-article pre, .table-scroll, blockquote, .fm-diagram-card, .fm-table-card { break-inside: avoid; }
  .fm-diagram-card, .fm-table-card { box-shadow: none; }
  .fm-diagram-canvas { overflow: visible; background: #fff; }
  .fm-diagram-card .fm-diagram-canvas pre.text { width: 100%; min-width: 0; padding: 12px; }
  .fm-scroll-hint { display: none !important; }
  a { color: #000; text-decoration: none; }
  .heading-anchor { display: none; }
}
