:root {
  --md-primary-fg-color: #f7f4ed;
  --md-primary-bg-color: #18211f;
  --md-accent-fg-color: #bb3e1d;
  --ink: #18211f;
  --muted: #69716d;
  --paper: #f7f4ed;
  --callout: #f0ece2;
  --hover: #efeade;
  --line: #d9d3c7;
  --orange: #bb3e1d;
  --topic-data: #387363;
  --topic-ai: #6976a1;
  --topic-finance: #ac8032;
  --site-paper: var(--paper);
  --site-line: var(--line);
  --site-ink: var(--ink);
  --site-muted: var(--muted);
  --blue: #1e4a69;
  --page-width: 1120px;
  --page-gutter: 1.2rem;
  --display-size: clamp(3.25rem, 4.8vw, 4.75rem);
  --intro-space-top: clamp(3.5rem, 6vw, 4rem);
  --intro-space-bottom: clamp(2rem, 4vw, 2.75rem);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { font-size: 100% !important; scrollbar-gutter: stable; }

[data-md-color-scheme="adam"] {
  --md-primary-fg-color: var(--paper);
  --md-primary-bg-color: var(--ink);
  --md-default-bg-color: var(--paper);
  --md-default-fg-color: var(--ink);
  --md-default-fg-color--light: var(--muted);
  --md-typeset-a-color: var(--orange);
  color-scheme: light;
}

[data-md-color-scheme="slate"] {
  --ink: #f4f0e7;
  --muted: #bbc1bd;
  --paper: #1b2026;
  --callout: #242c32;
  --hover: #242c32;
  --line: #3d4744;
  --orange: #ff8d67;
  --md-accent-fg-color: var(--orange);
  --topic-data: #82b49c;
  --topic-ai: #93a6d7;
  --topic-finance: #dfbb75;
  --site-paper: var(--paper);
  --site-line: var(--line);
  --site-ink: var(--ink);
  --site-muted: var(--muted);
  color-scheme: dark;
  --blue: #213f54;
  --md-primary-fg-color: var(--paper);
  --md-primary-bg-color: var(--ink);
  --md-default-bg-color: var(--paper);
  --md-default-fg-color: var(--ink);
  --md-default-fg-color--light: var(--muted);
  --md-typeset-a-color: var(--orange);
}

body, .md-typeset { font-family: var(--sans); }
.md-typeset { font-size: 0.83rem; line-height: 1.7; }
.site-header { background: var(--paper); box-shadow: none; border-bottom: 1px solid var(--line); color: var(--ink); }
.site-header .site-header__inner { display: flex; width: calc(100% - (2 * var(--page-gutter))); min-height: 3rem; max-width: var(--page-width); margin: 0 auto; gap: 0; }
.site-header__brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 2.75rem; color: var(--ink); font-size: 1rem; font-weight: 800; letter-spacing: -0.045em; text-decoration: none; white-space: nowrap; }
.site-header__links { display: flex; align-items: stretch; gap: 0.1rem; margin: 0 0 0 1.8rem; padding: 0; list-style: none; }
.site-header__links .md-tabs__item { height: auto; padding: 0; }
.site-header__links .md-tabs__link { display: flex; align-items: center; min-height: 2.75rem; height: 100%; margin: 0; padding: 0 0.72rem; color: var(--muted); font-size: 0.88rem; opacity: 1; transform: none; transition: color 150ms ease, opacity 150ms ease; }
.site-header__links .md-tabs__link--active,
.site-header__links .md-tabs__link:hover { color: var(--orange); }
.site-header__tools { display: flex; align-items: center; margin-left: auto; }
.site-header__tools .md-search { margin-left: 0.1rem; }
.site-header__tools .md-search__form { height: 2.75rem; background: transparent; border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.site-header__tools button.md-search__icon { width: 2.75rem; height: 2.75rem; }
.site-header__tools .md-search__form:hover,
.site-header__tools .md-search__form:focus-within { background: transparent; border-color: var(--ink); }
.site-header__tools .md-search__input { color: var(--ink); font-size: 0.78rem; }
.site-header__tools .md-search__input::placeholder { color: var(--muted); opacity: 1; }
.site-header__tools .md-search__icon { color: var(--ink); }
.md-main__inner { margin-top: 0; }
.md-content { width: 100%; max-width: 100%; }
.md-content__inner { margin: 0 var(--page-gutter); padding-bottom: 104px; }
.md-main__inner.md-grid { max-width: calc(var(--page-width) + (2 * var(--page-gutter))); }
.md-typeset h1, .md-typeset h2, .md-typeset h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; letter-spacing: -0.045em; }
.md-typeset h1 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: 0.95; }
.md-typeset h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1; }
.md-typeset h3 { font-size: 1.45rem; line-height: 1.1; }
.md-typeset a { color: inherit; }
.md-sidebar, .md-content__button { display: none !important; }
.md-grid { max-width: 1280px; }
.md-footer { margin-top: 0; }
.eyebrow { color: var(--orange); font-family: var(--sans); font-size: 0.69rem; font-weight: 800; line-height: 1.2; letter-spacing: 0.11em; text-transform: uppercase; }
.topic-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 21px 0 10px; }
.topic-tab { border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; padding: 8px 12px; font: inherit; }
.topic-tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.writing-topic-tabs { margin: 0 0 24px; }
.article-list [hidden] { display: none; }
.article-list { display: block; }
.article-list a { display: block; border-top: 1px solid var(--line); padding: 18px 0; text-decoration: none; }
.article-list a:hover h3 { color: var(--orange); }
.article-list span { color: var(--orange); font-size: 0.69rem; font-weight: 800; line-height: 1.2; letter-spacing: 0.11em; text-transform: uppercase; }
.article-list h3 { margin: 7px 0; font-size: 1.65rem; transition: color 150ms ease; }
.article-list p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.full-width { max-width: 100%; grid-template-columns: 1fr; }
.email-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; max-width: var(--page-width); margin: 72px auto 0; padding: 24px; border: 1px solid var(--ink); }
.email-notes[hidden] { display: none; }
.email-notes h2 { margin: 6px 0 10px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.email-notes p { color: var(--muted); }
.email-notes form { position: relative; align-self: center; display: grid; grid-template-columns: 1fr auto; gap: 0; }
.email-notes input { min-width: 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 10px 0; color: var(--ink); font: inherit; }
.email-notes button { border: 0; background: var(--ink); color: var(--paper); cursor: pointer; padding: 10px 16px; font: inherit; font-weight: 700; }
.email-notes button:hover, .email-notes button:focus-visible { background: var(--orange); color: #fff; outline: none; }
.email-notes button:disabled { opacity: 0.65; cursor: wait; }
.signup-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.signup-consent { grid-column: 1 / -1; margin: 9px 0 0; font-size: 0.68rem; line-height: 1.45; }
.signup-status { grid-column: 1 / -1; min-height: 1.5em; margin: 6px 0 0; color: var(--ink) !important; font-size: 0.75rem; font-weight: 700; }
.page-intro { max-width: 100%; padding: var(--intro-space-top) 0 var(--intro-space-bottom); }
.page-intro h1 { margin: 12px 0; }
.page-intro h1, .about-page h1 { font-size: var(--display-size); line-height: 0.96; }
.about-page h1 { font-size: clamp(2.75rem, 4vw, 4rem); }
.page-intro > p:last-child { max-width: 100%; color: var(--muted); font-size: 1rem; }
.about-page { max-width: 850px; padding-bottom: 16px; }
.about-page + .article-audio { max-width: 850px; margin: 0 0 2rem; }
.about-copy { max-width: 850px; padding-bottom: 72px; font-family: var(--serif); font-size: 1.125rem; line-height: 1.78; }
.about-copy p:first-child { margin-top: 0; }
.project-page-list { max-width: 100%; }
.project-page-list article { border-top: 1px solid var(--line); padding: 24px 0; }
.project-page-list h2 { margin: 7px 0; font-size: 2rem; }
.project-page-list p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.65; }
body:has(.longform) .md-main__inner.md-grid { display: grid; grid-template-columns: calc(850px + (2 * var(--page-gutter))) 230px; column-gap: 40px; }
body:has(.longform) .md-content { grid-column: 1; grid-row: 1; min-width: 0; width: auto; }
body:has(.longform) .md-sidebar--secondary { display: block !important; grid-column: 2; grid-row: 1; align-self: start; width: 230px; height: calc(100vh - 3rem); padding: 72px 0 1rem; }
body:has(.longform) .md-sidebar--secondary .md-nav__title { padding: 0 0 0.75rem; background: transparent; box-shadow: none; color: var(--orange); font-family: var(--sans); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
body:has(.longform) .md-sidebar--secondary .md-nav__list { padding-left: 0; }
body:has(.longform) .md-sidebar--secondary .md-nav .md-nav { display: none; }
body:has(.longform) .md-sidebar--secondary .md-nav__link { margin: 0; padding: 0.42rem 0; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
body:has(.longform) .md-sidebar--secondary .md-nav__link:hover,
body:has(.longform) .md-sidebar--secondary .md-nav__link--active { color: var(--orange); }
.longform { max-width: 100%; padding-top: 72px; font-family: var(--serif); font-size: 1.125rem; line-height: 1.78; }
.longform--continuation { padding-top: 0; }
.longform h1 { margin: 0 0 2.5rem; font-size: clamp(2.75rem, 4.2vw, 4.5rem); line-height: 0.99; }
.longform h1 + .article-version { margin-top: -1.55rem; }
.article-version { margin: 0 0 1.5rem; color: var(--muted); font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.45; }
.longform h2 { margin-top: 3.25rem; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.08; }
.longform h3 { margin-top: 2.5rem; font-size: 1.65rem; line-height: 1.18; }
.longform p, .longform li { hanging-punctuation: first last; }
.longform blockquote { margin: 2rem 0; padding: 1rem 1.25rem; font-family: var(--sans); font-size: 0.94rem; line-height: 1.65; }
.md-typeset .longform .md-typeset__scrollwrap { width: 100%; margin: 1.5rem 0; }
.md-typeset .longform .md-typeset__table { display: block; width: 100%; margin: 0; padding: 0; }
.md-typeset .longform table:not([class]) { display: table; width: 100%; font-family: var(--sans); font-size: 0.82rem; line-height: 1.5; }
.md-typeset .longform table:not([class]) th,
.md-typeset .longform table:not([class]) td { padding: 0.7rem 0.8rem; }
.longform code { font-size: 0.86em; }
.md-typeset .longform .highlight,
.md-typeset .longform .highlighttable,
.md-typeset .longform .highlighttable td,
.md-typeset .longform .highlight pre,
.md-typeset .longform .highlight pre > code {
  background-color: var(--paper) !important;
  box-shadow: none;
}
.md-typeset .longform .highlight pre > code { color: var(--ink); }
.longform .mermaid {
  margin: 0 0 1rem;
  background: transparent !important;
  padding: 2rem 0;
  font-family: var(--sans);
  text-align: center;
}
.longform .mermaid svg { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 auto; background: transparent !important; }
.longform .mermaid g.ordinary > rect,
.longform .mermaid g.ordinary > polygon,
.longform .mermaid g.ordinary > path { fill: var(--paper) !important; stroke: var(--muted) !important; }
.longform .mermaid g.decision > rect,
.longform .mermaid g.decision > polygon,
.longform .mermaid g.decision > path { fill: var(--paper) !important; stroke: var(--orange) !important; }
.longform .mermaid g.final > rect,
.longform .mermaid g.final > polygon,
.longform .mermaid g.final > path { fill: var(--paper) !important; stroke: var(--ink) !important; }
.longform .mermaid g.ordinary .nodeLabel,
.longform .mermaid g.decision .nodeLabel,
.longform .mermaid g.final .nodeLabel { color: var(--ink) !important; }
.longform .mermaid .edgeLabel,
.longform .mermaid .edgeLabel p,
.longform .mermaid .edgeLabel rect,
.longform .mermaid .labelBkg { background: var(--paper) !important; fill: var(--paper) !important; }
.longform .mermaid + p { margin-top: 0; color: var(--muted); font-family: var(--sans); font-size: 0.84rem; line-height: 1.55; }
.md-typeset .article-snippet {
  margin: 2.25rem 0;
  border-block: 1px solid var(--line);
  background: transparent;
}
.md-typeset .article-snippet__label {
  margin: 0;
  padding: 0.85rem 0 0.55rem;
  color: var(--orange);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.md-typeset .article-snippet .highlight,
.md-typeset .article-snippet .highlighttable,
.md-typeset .article-snippet .highlighttable td { margin: 0; background: var(--paper) !important; box-shadow: none; }
.md-typeset .article-snippet .highlight pre {
  margin: 0;
  padding: 0.65rem 0 1.15rem;
  background: var(--paper) !important;
  box-shadow: none;
}
.md-typeset .article-snippet .highlight pre > code { background: var(--paper) !important; }
.md-typeset .article-snippet .highlight code {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.58;
}
.md-typeset .article-snippet .md-clipboard { color: var(--muted); }
.md-typeset .article-snippet .md-clipboard:hover { color: var(--orange); }
.md-typeset details.article-diagram {
  margin: 2.75rem 0;
  border: 0;
  border-block: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.md-typeset details.article-diagram > summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  cursor: pointer;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}
.md-typeset details.article-diagram > summary::before { display: none; }
.md-typeset details.article-diagram > summary::-webkit-details-marker { display: none; }
.md-typeset details.article-diagram > summary span { color: var(--orange); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.md-typeset details.article-diagram > summary::after { content: "+"; margin-left: auto; color: var(--orange); font-size: 1.25rem; font-weight: 400; line-height: 1; }
.md-typeset details.article-diagram[open] > summary { border-bottom: 1px solid var(--line); }
.md-typeset details.article-diagram[open] > summary::after { content: "−"; }
.md-typeset details.article-diagram > :not(summary) { margin-right: 0; margin-left: 0; }
.md-typeset details.article-diagram > p:last-child { margin-bottom: 1rem; }
.article-diagram-viewer {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
.article-diagram__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  min-height: 2.9rem;
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0;
}
.article-diagram__status {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.article-diagram__toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.article-diagram__toolbar button:hover,
.article-diagram__toolbar button:focus-visible,
.article-diagram__toolbar button[aria-pressed="true"] {
  background: var(--hover);
  color: var(--orange);
  outline: 0;
}
.article-diagram__toolbar button:focus-visible { box-shadow: 0 0 0 2px var(--orange); }
.article-diagram__toolbar button:disabled { cursor: default; opacity: 0.28; }
.article-diagram__toolbar .md-icon { display: inline-flex; width: 1.1rem; height: 1.1rem; }
.article-diagram__toolbar svg { width: 100%; height: 100%; fill: currentColor; }
.article-diagram__exit-fullscreen { display: none !important; }
.article-diagram__toolbar button[aria-pressed="true"] .article-diagram__enter-fullscreen { display: none; }
.article-diagram__toolbar button[aria-pressed="true"] .article-diagram__exit-fullscreen { display: inline-flex !important; }
.article-diagram__viewport {
  position: relative;
  height: clamp(24rem, 68vh, 44rem);
  overflow: hidden;
  background: var(--paper);
  outline: 0;
  touch-action: none;
}
.article-diagram__viewport:focus-visible { box-shadow: inset 0 0 0 2px var(--orange); }
.article-diagram__viewport--pannable { cursor: grab; }
.article-diagram__viewport--dragging { cursor: grabbing; }
.article-diagram__canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform-origin: center;
  user-select: none;
  will-change: transform;
}
.article-diagram__canvas > img,
.article-diagram__canvas > .mermaid,
.article-diagram__canvas > .mermaid svg {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.article-diagram__canvas > .mermaid { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.article-diagram-viewer--fullscreen,
.article-diagram-viewer--expanded {
  padding: 0 1rem 1rem;
  background: var(--paper);
}
.article-diagram-viewer--fullscreen .article-diagram__toolbar,
.article-diagram-viewer--expanded .article-diagram__toolbar { padding-top: 0.75rem; }
.article-diagram-viewer--fullscreen .article-diagram__viewport,
.article-diagram-viewer--expanded .article-diagram__viewport { height: calc(100vh - 5rem); }
.article-diagram-viewer--expanded {
  position: fixed;
  z-index: 1000;
  inset: 0;
}
body.article-diagram-open { overflow: hidden; }
@media (max-width: 44.99em) {
  .article-diagram__viewport { height: clamp(20rem, 62vh, 34rem); }
  .article-diagram__status { font-size: 0.68rem; }
}
.article-audio {
  margin: 2rem 0 2.75rem;
  border-block: 1px solid var(--line);
  padding: 0.8rem 0;
  font-family: var(--sans);
}
.article-audio--quick {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.article-audio--chapter { margin: 0.85rem 0 1.25rem; padding: 0.45rem 0; }
.article-audio--chapter .article-audio__quick-listen { font-size: 0.76rem; }
.article-audio--pending {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}
.article-audio--pending p { margin: 0; }
.article-audio__quick-listen {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0.35rem 0;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
}
.article-audio__quick-listen:hover,
.article-audio__quick-listen:focus-visible { color: var(--orange); }
.article-audio__quick-listen:disabled { color: var(--muted); cursor: progress; }
.article-audio__quick-status {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}
.article-audio__listen {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0.35rem 0;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
}
.article-audio__listen:hover,
.article-audio__listen:focus-visible { color: var(--orange); }
.article-audio__length {
  border-left: 1px solid var(--line);
  padding-left: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.article-audio__panel { padding: 0.8rem 0 0.3rem; }
.article-audio__controls {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
}
.article-audio__play {
  min-width: 4.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  padding: 0.48rem 0.8rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
}
.article-audio__play:hover,
.article-audio__play:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.article-audio__progress {
  width: 100%;
  accent-color: var(--orange);
  cursor: pointer;
}
.article-audio__time {
  min-width: 6.7rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.article-audio__speed {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.38rem;
  font: inherit;
  font-size: 0.76rem;
}
.article-audio__chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-top: 0.95rem;
}
.article-audio__chapters button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0;
  font: inherit;
  font-size: 0.72rem;
}
.article-audio__chapters button:hover,
.article-audio__chapters button:focus-visible,
.article-audio__chapters button[aria-current="true"] {
  border-bottom-color: var(--orange);
  color: var(--orange);
}
.article-audio__disclosure {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}
.article-ai-disclosure {
  margin-top: 3.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
}
.article-ai-disclosure p { margin: 0; }
.article-ai-disclosure strong { color: var(--ink); }
.listen-selection {
  position: fixed;
  z-index: 20;
  transform: translate(-50%, -100%);
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
  color: var(--paper);
  cursor: pointer;
  padding: 0.5rem 0.72rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}
.listen-selection:hover,
.listen-selection:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  outline: none;
}
.md-typeset blockquote { border-left-color: var(--orange); background: var(--callout); color: var(--ink); }
.md-typeset .md-content__inner > h1:first-child + blockquote { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media screen and (max-width: 76.1875em) { .md-sidebar { display: none; } }
@media screen and (max-width: 1000px) {
  body:has(.longform) .md-main__inner.md-grid { display: block; }
  body:has(.longform) .md-content { width: 100%; }
  body:has(.longform) .md-sidebar--secondary { display: none !important; }
}
@media screen and (max-width: 850px) {
  .site-header .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 0;
  }
  .site-header__brand { align-content: center; min-height: 3rem; }
  .site-header__tools { grid-column: 2; grid-row: 1; }
  .site-header__links { grid-column: 1 / -1; flex-wrap: wrap; margin: 0; }
  .site-header__links .md-tabs__link { min-height: 2.75rem; padding: 0 0.58rem; }
  .site-header__links > :first-child .md-tabs__link { padding-left: 0; }
}
@media screen and (max-width: 720px) {
  .email-notes { grid-template-columns: 1fr; margin-bottom: 48px; }
  .article-audio__controls { grid-template-columns: auto 1fr auto; }
  .article-audio__time { grid-column: 2; grid-row: 2; min-width: 0; text-align: left; }
  .article-audio__speed { grid-column: 3; grid-row: 1 / span 2; }
}

[data-topic="data"], [data-map-topic="data"] { --topic-colour: var(--topic-data); }
[data-topic="ai"], [data-map-topic="ai"] { --topic-colour: var(--topic-ai); }
[data-topic="finance"], [data-map-topic="finance"] { --topic-colour: var(--topic-finance); }

.md-typeset .site-text-link {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 0.24em;
}
.site-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.4rem; }
.home-hero .site-actions .site-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: 0.55rem;
}
.md-typeset .site-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
}
.md-typeset .site-button--quiet { border-color: var(--line); background: var(--paper); color: var(--ink); }
.md-typeset .site-button:not(:disabled):hover { border-color: var(--orange); background: var(--hover); color: var(--ink); }
.md-typeset .site-button:disabled { opacity: 0.55; cursor: default; }
.site-header a:focus-visible,
.md-typeset :is(.site-button, .site-text-link, .path-card, .notebook-nav a, .library-entries a, .evidence-list a, .article-list a, .topic-tab, .map-topic-links a, .library-filters input, .library-filters select):focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  margin: var(--intro-space-top) 0 var(--intro-space-bottom);
}
.home-hero h1 { margin: 0.2em 0 0.3em; font-size: var(--display-size); line-height: 0.96; }
.home-intro,
.md-typeset .editorial-intro > p:not(.eyebrow) { max-width: 42rem; color: var(--muted); font-size: 1rem; }
.editorial-intro { padding: clamp(2.1rem, 4vw, 3rem) 0 1.25rem; }
.editorial-intro > .eyebrow { margin-top: 0; }
.home-hero .home-intro { max-width: 30rem; }
.home-lead { display: none; }
.home-map { min-width: 0; }
.home-map > .eyebrow { margin: 0; }
.home-map > .site-text-link { display: inline-flex; align-items: center; min-height: 2.75rem; }

.editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem clamp(2rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.65rem;
}
.editorial-section--stacked { grid-template-columns: minmax(0, 1fr); }
.editorial-heading { max-width: 35rem; }
.editorial-heading .eyebrow { margin: 0 0 0.65rem; }
.editorial-heading h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.04; }
.editorial-heading p:not(.eyebrow),
.evidence-list p:not(.eyebrow) { color: var(--muted); font-size: 0.94rem; }
.editorial-heading h2 + .site-text-link { display: inline-block; margin-top: 0.8rem; }
.evidence-list article { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.evidence-list article:first-child { padding-top: 0; border-top: 0; }
.evidence-list .eyebrow { margin: 0 0 0.5rem; }
.evidence-list h3 { margin: 0; font-size: 1.65rem; }
.evidence-list p:last-child { margin-bottom: 0; }
.evidence-list a { text-decoration: underline; text-underline-offset: 0.24em; }
.evidence-list a:hover { color: var(--orange); }

.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0.25rem 0; }
.path-card { display: block; border-top: 2px solid var(--topic-colour); padding: 0.8rem; text-decoration: none; }
.path-card:hover { background: var(--hover); }
.path-card h3 { margin: 0.25rem 0; font-size: 1.55rem; }
.path-card p { margin: 0.5rem 0 0; color: var(--muted); }

.notebook-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 2.28fr);
  gap: clamp(1.5rem, 6vw, 4rem);
}
.notebook-nav { align-self: start; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.notebook-nav .eyebrow { margin: 0 0 0.35rem; }
.notebook-count { margin-inline-start: auto; color: var(--muted); font-size: 0.75rem; }
.notebook-nav a, .map-topic-links a { display: flex; align-items: center; min-height: 2.75rem; }
.notebook-nav a[data-topic], .map-topic-links a[data-map-topic] { gap: 0.6rem; width: 100%; }
.topic-count { color: var(--muted); font: 400 0.78rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.notebook-nav a:hover, .map-topic-links a:hover { color: var(--orange); }
.notebook-nav a[data-topic]::before, .map-topic-links a[data-map-topic]::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--topic-colour);
  border-radius: 50%;
}
.md-typeset .notebook-heading { margin: 0 0 1rem; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }

.library-filters {
  display: grid;
  grid-template-columns: minmax(7.5rem, 1.1fr) minmax(8rem, 1.2fr) minmax(7rem, 1fr) auto;
  gap: 0.7rem;
  align-items: end;
  margin-bottom: 0.75rem;
}
.library-filters label { display: grid; gap: 0.2rem; min-width: 0; font-weight: 700; }
.md-typeset .library-filters :is(input, select) {
  min-width: 0;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--muted);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.library-results,
.library-empty { margin: 0.6rem 0 0; color: var(--muted); }
.library-results:empty,
.md-typeset :is(.library-filters, .library-entry)[hidden] { display: none; }

.md-typeset ul.library-entries { list-style: none; margin: 0; padding: 0; }
.md-typeset ul.library-entries > .library-entry {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  gap: 0.55rem 1.25rem;
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.md-typeset ul.library-entries > .library-entry[hidden] { display: none; }
.library-entry-meta { color: var(--muted); font-size: 0.75rem; line-height: 1.45; }
.library-entry-meta > * { display: block; margin: 0 0 0.3rem; }
.library-entry-copy h3 { margin: 0; font-size: 1.5rem; }
.library-entry-copy a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.2em; }
.library-entry-copy a:hover { color: var(--orange); text-decoration-color: currentColor; }
.library-entry-copy p { margin: 0.45rem 0 0; color: var(--muted); }
.md-typeset .editorial-section:not(.editorial-section--stacked) ul.library-entries > .library-entry {
  grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
}
.md-typeset ul.library-entries:not(:has(li)) { display: none; }

.graph-surface {
  --paper: #101917;
  --ink: #e5e9df;
  --muted: #a1afa5;
  --line: #30423a;
  --orange: #ff9c7a;
  --hover: #19241f;
  --topic-data: #1f6b52;
  --topic-ai: #3f5f86;
  --topic-finance: #8a6b23;
  --map-root: #15201b;
  --map-guide: #1f6b52;
  --map-course: #8a6b23;
  --map-handbook: #3f5f86;
  --map-term: #a24e36;
  --map-tool: #6b4c80;
  --map-res: #7d6b5d;
  --map-label: #4b5a52;
  --map-strong: #15201b;
  background-color: transparent;
  color: var(--ink);
  color-scheme: dark;
}
[data-md-color-scheme="slate"] .graph-surface {
  --topic-data: #5dbb94;
  --topic-ai: #82a6d6;
  --topic-finance: #d4ac52;
  --map-root: #e2e8e3;
  --map-guide: #5dbb94;
  --map-course: #d4ac52;
  --map-handbook: #82a6d6;
  --map-term: #e2826a;
  --map-tool: #b293d4;
  --map-res: #bba591;
  --map-label: #a7b4ac;
  --map-strong: #e2e8e3;
}
.explore-surface,
.home-map {
  --topic-data: #1f6b52;
  --topic-ai: #3f5f86;
  --topic-finance: #8a6b23;
}
[data-md-color-scheme="slate"] :is(.explore-surface, .home-map) {
  --topic-data: #5dbb94;
  --topic-ai: #82a6d6;
  --topic-finance: #d4ac52;
}
.md-main__inner.md-grid:has(.explore-surface) { max-width: none; }
.md-content__inner:has(.explore-surface) { margin-inline: 0; padding-top: 0; }
.explore-surface {
  --explore-gutter: 0.9rem;
  position: relative;
  min-height: 0;
  background: var(--site-paper);
}
.explore-surface[data-ready] {
  height: calc(100svh - 5.5rem);
  min-height: 32rem;
  overflow: hidden;
}
.explore-rail {
  --ink: var(--site-ink);
  --muted: var(--site-muted);
  --paper: var(--site-paper);
  --line: var(--site-line);
  --hover: var(--site-paper);
  --orange: #bb3e1d;
  color-scheme: light;
  position: relative;
  z-index: 2;
  width: min(100%, 36rem);
  padding: 1.1rem var(--explore-gutter) 0.4rem;
  color: var(--site-ink);
}
[data-md-color-scheme="slate"] .explore-rail {
  --orange: #ff8d67;
  color-scheme: dark;
}
.explore-surface[data-ready] .explore-rail {
  position: absolute;
  top: 0.55rem;
  left: 16px;
  width: 312px;
  max-height: calc(100% - 1.2rem);
  overflow: auto;
  padding: 0.85rem 0.95rem 0.7rem;
  background: color-mix(in srgb, var(--site-paper) 92%, transparent);
  border: 1px solid var(--site-line);
}
.explore-intro { padding: 0; }
.explore-copy .eyebrow { margin-top: 0; }
.md-typeset .explore-copy h1 { margin: 0.2rem 0 0.45rem; font-size: clamp(1.65rem, 2vw, 2.15rem); line-height: 1.02; }
.explore-copy > p:not(.eyebrow) { color: var(--muted); margin: 0; font-size: 0.84rem; }
.explore-intro > a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 0.15rem; }
.explore-filters { padding: 0; }
.explore-filters .library-filters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.55rem;
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
}
.explore-filters .library-search { grid-column: 1 / -1; }
.explore-filters .library-filters button { justify-self: start; }
.explore-reading { width: calc(100% - 2 * var(--page-gutter)); max-width: var(--page-width); margin: 2.75rem auto 0; }
.explore-surface + .local-review {
  width: calc(100% - 2 * var(--page-gutter));
  max-width: var(--page-width);
  margin: 1.25rem auto;
}
#explore-reading { scroll-margin-top: 7rem; }
.map-topic-links { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.explore-surface [hidden], .home-map [hidden] { display: none; }
.explore-map { position: absolute; inset: 0; min-width: 0; }
.explore-surface[data-ready] .explore-map {
  left: 344px;
  right: 32px;
}
.explore-surface:not([data-ready]) .explore-map { display: none; }
.explore-stage {
  --map-paper: #f7f4ed;
  --map-ink: #15201b;
  --map-soft: #4b5a52;
  --map-root: #15201b;
  --map-playbook: #1f6b52;
  --map-handbook: #3f5f86;
  --map-decision: #8a6b23;
  --map-template: #7d6b5d;
  --map-term: #a24e36;
  --map-tool: #6b4c80;
  --map-resource: #9c8f84;
  position: absolute;
  inset: 0;
  background-color: var(--map-paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(24, 33, 31, 0.075) 1px, transparent 1.15px);
  background-size: 26px 26px;
  color: var(--map-ink);
  color-scheme: light;
}
[data-md-color-scheme="slate"] .explore-stage {
  --map-paper: #1b2026;
  --map-ink: #e2e8e3;
  --map-soft: #a7b4ac;
  --map-root: #e2e8e3;
  --map-playbook: #5dbb94;
  --map-handbook: #82a6d6;
  --map-decision: #d4ac52;
  --map-template: #bba591;
  --map-term: #e2826a;
  --map-tool: #b293d4;
  --map-resource: #8e857c;
  background-image: radial-gradient(circle at 1px 1px, rgba(244, 240, 231, 0.06) 1px, transparent 1.15px);
  color-scheme: dark;
}
.home-map .explore-stage {
  position: relative;
  height: clamp(20rem, 32vw, 26rem);
  border: 0;
  margin: 0.35rem 0 0;
  background-color: transparent;
  background-image: none;
}
.explore-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}
.home-map .explore-stage canvas { cursor: default; touch-action: auto; }
.explore-stage canvas:focus-visible { outline: 2px solid var(--map-ink, var(--site-ink)); outline-offset: 2px; }
.map-labels { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.map-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  max-width: none;
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--map-ink);
  font: 12px/1.2 var(--serif);
  letter-spacing: 0;
  pointer-events: auto;
  text-shadow: 0 0 3px var(--map-paper), 0 0 6px var(--map-paper), 0 0 10px var(--map-paper);
  white-space: nowrap;
  cursor: pointer;
}
.map-label--root { font: 600 17px/1 ui-monospace, monospace; letter-spacing: -0.01em; }
.map-label--collection { font: 600 16px/1.1 var(--serif); letter-spacing: -0.01em; }
.map-label--collection::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--dot);
  content: "";
  vertical-align: 1px;
}
.map-label--section { font: 600 13.5px/1.2 var(--serif); }
.map-label--section b { margin-right: 5px; color: var(--dot); font: 600 12px/1 ui-monospace, monospace; letter-spacing: 0.02em; }
.map-label--page { font: 12px/1.2 var(--serif); }
.map-label--term { font: italic 12.5px/1.2 var(--serif); }
.map-label--tool, .map-label--resource { font: 12px/1.2 var(--serif); color: var(--map-ink); }
.map-label.is-selected {
  z-index: 5;
  padding: 4px 9px;
  border: 1px solid var(--site-line);
  background: var(--map-paper);
  box-shadow: none;
  color: var(--map-ink);
  font-family: var(--serif);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  text-shadow: none;
}
.map-ring { position: absolute; left: 0; top: 0; z-index: 1; width: 40px; height: 40px; pointer-events: none; opacity: 0; }
.map-ring.is-on { opacity: 1; }
.map-ring i, .map-ring::after {
  position: absolute;
  left: -50%;
  top: -50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: "";
}
.map-ring i { border: 1.5px solid var(--dot, var(--map-ink)); }
.map-ring::after { border: 1px solid var(--dot, var(--map-ink)); opacity: 0.5; }
.explore-stage :is(.explore-stage-label, .explore-stage-empty) {
  position: absolute;
  color: var(--site-muted);
  margin: 0;
  pointer-events: none;
}
.explore-stage-label {
  inset: 0.9rem auto auto 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.62rem;
}
.explore-surface[data-ready] .explore-stage-label {
  left: 0.95rem;
}
.explore-stage-empty { inset: 50% 0 auto; text-align: center; transform: translateY(-50%); }
.map-screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.explore-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 12px;
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
  bottom: 8px;
  box-sizing: border-box;
  height: auto;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--map-ink, var(--site-ink));
  font-size: 12px;
}
.explore-legend {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  min-width: max-content;
  overflow: visible;
  white-space: nowrap;
}
.map-key {
  display: inline-flex;
  align-items: center;
  color: var(--map-soft, var(--site-muted));
  font: 12px/1 var(--sans);
  text-shadow: 0 0 3px var(--map-paper, var(--site-paper)), 0 0 8px var(--map-paper, var(--site-paper));
}
.map-key::before {
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--topic-colour);
  content: "";
}
.explore-controls-buttons { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; margin-left: 0; }
.explore-surface :is(.explore-controls button, .explore-inspector button) {
  display: inline-flex;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  color: var(--site-ink);
  cursor: pointer;
  text-align: left;
}
.explore-controls button {
  height: 44px;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-paper);
  color: var(--site-ink);
  font-size: 12px;
  line-height: 1;
  text-align: center;
}
.explore-surface :is(.explore-controls button, .explore-inspector button):hover { color: var(--orange); }
.explore-surface :is(.explore-controls button, .explore-inspector button):disabled {
  color: var(--muted);
  opacity: 0.55;
  cursor: default;
}
.explore-surface :is(button, select, canvas):focus-visible { outline: 2px solid var(--site-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .explore-stage canvas { scroll-behavior: auto; }
  .map-label, .map-ring { transition: none; }
}

.explore-inspector {
  min-width: 0;
  padding: 0.35rem 0 0.2rem;
}
.explore-choose { display: grid; gap: 0.35rem; color: var(--muted); font-size: 0.76rem; }
.explore-choose select {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0 0.55rem;
  border: 1px solid var(--site-line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.78rem;
  text-overflow: ellipsis;
}
.explore-inspector > div { margin-top: 1.25rem; }
.explore-inspector .eyebrow { margin: 0; font: 700 0.65rem var(--sans); letter-spacing: 0.11em; }
.explore-topics { display: grid; margin-top: 0.25rem; }
.explore-topics button { gap: 0.55rem; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
.explore-topics button::before, .explore-related button::before {
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--topic-colour);
  content: "";
}
.explore-topics button[aria-pressed="true"] { color: var(--orange); }
.explore-detail-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.explore-surface .explore-inspector .explore-clear { color: var(--muted); font-size: 0.72rem; }
.md-typeset .explore-detail h2 { margin: 0 0 0.45rem; color: var(--ink); font: 1.36rem/1.13 var(--serif); }
.explore-status, .explore-note { margin: 0.45rem 0; color: var(--muted); font-size: 0.75rem; }
.explore-summary { margin: 0.75rem 0 0.25rem; color: var(--ink); font-size: 0.81rem; line-height: 1.52; }
.explore-detail > a { display: inline-flex; min-height: 2.75rem; align-items: center; margin-bottom: 0.65rem; }
.md-typeset ul.explore-related {
  max-height: 10.5rem;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0.4rem 0 0;
  padding: 0.15rem;
  list-style: none;
}
.md-typeset .explore-related li { margin: 0; }
.explore-related button { width: 100%; gap: 0.5rem; border-bottom: 1px solid var(--line); font-size: 0.75rem; }

.local-review {
  border-left: 2px solid var(--orange);
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.9rem;
  background: var(--callout);
  color: var(--ink);
  font-size: 0.8rem;
}

@media screen and (max-width: 50rem) {
  :root { --page-gutter: 20px; }
  /* The 20px page margin must not narrow the header. Its row uses the base gutter. */
  .site-header .site-header__inner { width: calc(100% - 2.4rem); }
  .library-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-filters .library-search { grid-column: 1 / -1; }
  .library-filters button { justify-self: start; }
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .home-lead {
    display: block;
    max-width: 36rem;
    margin-top: 1.15rem;
  }
  .home-lead .eyebrow { margin: 0 0 0.15rem; }
  .home-lead p { margin: 0.15rem 0 0; }
  .home-lead a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .home-map { max-width: none; width: 100%; }
  .home-map .explore-stage { height: 22rem; }
  .explore-surface,
  .explore-surface[data-ready] {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .explore-rail,
  .explore-surface[data-ready] .explore-rail { display: contents; }
  .explore-intro { order: 1; padding: 1rem var(--page-gutter) 0; }
  .explore-filters { order: 2; padding: 0 var(--page-gutter); }
  .explore-surface[data-ready] .explore-map,
  .explore-map {
    order: 3;
    display: flex;
    flex-direction: column;
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    height: auto;
    min-height: 0;
    margin-top: 0.4rem;
  }
  .explore-map .explore-stage {
    position: relative;
    inset: auto;
    height: 23rem;
    border-block: 1px solid var(--site-line);
  }
  .explore-surface[data-ready] .explore-stage-label { left: 0.7rem; right: auto; max-width: 14rem; }
  .explore-controls {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.5rem;
    padding: 0.45rem var(--page-gutter) 0;
    border-radius: 0;
  }
  .explore-controls-buttons { margin-left: 0; }
  .explore-inspector { order: 4; padding: 0.8rem var(--page-gutter) 0; }
}
@media screen and (max-width: 42rem) {
  .editorial-section, .notebook-layout, .path-grid { grid-template-columns: minmax(0, 1fr); }
  .path-card { padding: 0.55rem 0.75rem; }
  .notebook-nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; }
  .notebook-nav .eyebrow { flex-basis: 100%; }
  .md-typeset ul.library-entries > .library-entry,
  .md-typeset .editorial-section:not(.editorial-section--stacked) ul.library-entries > .library-entry {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media screen and (max-width: 28rem) {
  .md-typeset :is(.editorial-intro, .home-hero) h1 { font-size: 2.6rem; }
  /* 0.58rem plus the stable scrollbar leaves About on a second row at 390. */
  .site-header__links .md-tabs__link { font-size: 0.81rem; padding: 0 0.46rem; }
}
