/* ════════════════════════════════════════════════════════════════════════
   Options Drill — site.css (OD-REVAMP-002)
   Single design-system stylesheet, mezcal-night theme. Replaces the former
   public/page-styles.css + the homepage's inline <style> block.
   CSP: style-src is 'self' with ZERO hashes — never add inline styles.
   Sections are labeled; append new page sections at the end.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #0B0F14;
  --fg: #E9E3D7;
  --accent: #5FA8D3;
  --accent2: #D07A4B;
  --muted: #0F1620;
  --muted-text: #A79F92;
  --border: rgba(233,227,215,0.16);
  --success: #276124;
  --danger: #B0302F;
  --highlight: #EB8F2C;
  --brand-pop: #B0367F;
  --link: var(--accent);
  --link-hover: #8CC7E8;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: static; width: auto; height: auto; overflow: visible;
  padding: 8px 16px; background: var(--accent); color: var(--bg); font-weight: 600;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Site chrome: header (partials/header.html) ── */
header.site { border-bottom: 1px solid var(--border); }
header.site .inner {
  max-width: 860px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
header.site .logo { font-size: 1.15rem; font-weight: 800; color: var(--fg); letter-spacing: -0.01em; text-decoration: none; }
header.site .logo span { color: var(--brand-pop); }
header.site .logo:hover { color: var(--accent); text-decoration: none; }
header.site nav a { font-size: 0.85rem; color: var(--muted-text); margin-left: 1rem; }
header.site nav a:hover { color: var(--fg); text-decoration: none; }
header.site nav a[aria-current="page"] { color: var(--brand-pop); }

/* ── Main / article layout ── */
main { flex: 1; max-width: 860px; margin: 0 auto; padding: 2rem 24px 4rem; width: 100%; }
article { max-width: 720px; }

.breadcrumb { font-size: 0.82rem; color: var(--muted-text); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted-text); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--fg); }

h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.75rem;
}
.byline {
  font-size: 0.82rem; color: var(--muted-text);
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}

h2 { font-size: 1.25rem; font-weight: 600; color: var(--fg); margin: 2.25rem 0 0.75rem; }
h3 { font-size: 1rem; font-weight: 600; color: var(--accent); margin: 1.5rem 0 0.5rem; }
p { margin-bottom: 1rem; }
p.lede { font-size: 1.02rem; margin-bottom: 1.5rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }
strong { font-weight: 600; }

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; margin: 0.75rem 0 1.5rem; font-size: 0.9rem; }
th {
  background: var(--muted); color: var(--fg); padding: 0.55rem 0.85rem;
  text-align: left; font-weight: 600; border-bottom: 1px solid var(--border);
}
td { padding: 0.55rem 0.85rem; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: rgba(15,22,32,0.6); }

/* ── Formula box ── */
.formula {
  background: var(--muted); border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0; padding: 0.85rem 1.1rem;
  margin: 0.75rem 0 1.25rem; font-size: 0.92rem; color: var(--accent); font-weight: 600;
}

/* ── Callout ── */
.callout {
  background: var(--muted); border-left: 3px solid var(--highlight);
  border-radius: 0 6px 6px 0; padding: 0.85rem 1.1rem;
  margin: 0.75rem 0 1.25rem; font-size: 0.88rem; color: var(--muted-text);
}
.callout strong { color: var(--fg); }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 2.5rem; }
.faq h2 { margin-top: 0; }
.faq-item { margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
dt { font-weight: 600; color: var(--fg); margin-bottom: 0.4rem; }
dd { color: var(--muted-text); line-height: 1.65; margin-left: 0; }

/* ── Sources ── */
.source-list { list-style: none; padding: 0; margin: 0.75rem 0 1.5rem; font-size: 0.87rem; }
.source-list li {
  padding: 0.5rem 0 0.5rem 1rem; border-bottom: 1px solid var(--border);
  position: relative; color: var(--muted-text);
}
.source-list li::before { content: "›"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.source-list li:last-child { border-bottom: none; }

/* ── CTA box ── */
.cta-box {
  background: var(--muted); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.25rem 1.5rem; margin: 2rem 0; text-align: center;
}
.cta-box p { margin-bottom: 0.6rem; font-size: 0.9rem; color: var(--muted-text); }
.cta-box a {
  display: inline-block; background: var(--accent); color: var(--bg);
  font-weight: 600; font-size: 0.9rem; padding: 8px 20px;
  border-radius: 6px; text-decoration: none; margin-top: 4px;
}
.cta-box a:hover { background: var(--link-hover); color: var(--bg); text-decoration: none; }

/* ── More guides list ── */
.guides-list { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.guides-list li {
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--muted-text);
}
.guides-list li:last-child { border-bottom: none; }
.guides-list a { font-weight: 600; }

/* ── Site chrome: footer (partials/footer.html — carries the disclaimer) ── */
footer.site { border-top: 1px solid var(--border); margin-top: auto; }
footer.site .inner { max-width: 860px; margin: 0 auto; padding: 1.5rem 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.35rem 0; margin-bottom: 0.5rem; font-size: 0.8rem; }
.footer-links a { color: var(--muted-text); }
.footer-links a:hover { color: var(--link-hover); }
.footer-links a.current { color: var(--brand-pop); }
.footer-sep { color: var(--border); margin: 0 0.5rem; }
.footer-by { color: var(--muted-text); margin-right: 0.5rem; }
.disclaimer { font-size: 0.75rem; color: var(--muted-text); margin: 0.75rem 0 0.35rem; line-height: 1.5; }
.disclaimer strong { color: var(--fg); }
.footer-copy { font-size: 0.75rem; color: var(--muted-text); }

@media (max-width: 600px) {
  header.site .inner { padding: 12px 16px; }
  main { padding: 1.5rem 16px 3rem; }
  header.site nav a { margin-left: 0.7rem; }
}

/* ════════════════════════════════════════════════════════════════════════
   Calculator tool (options-profit-calculator page)
   ════════════════════════════════════════════════════════════════════════ */
input[type="number"], select {
  background: var(--muted);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  width: 100%;
  font-family: inherit;
}
input[type="number"]:focus, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.calc-section {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.calc-section h2 { margin-top: 0; }
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.calc-field { display: flex; flex-direction: column; gap: 0.35rem; }
.calc-field label { font-size: 0.8rem; color: var(--muted-text); font-weight: 500; }
.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.calc-result-item {
  background: #0B0F14;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  text-align: center;
}
.calc-label { display: block; font-size: 0.75rem; color: var(--muted-text); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.05em; }
.calc-value { display: block; font-size: 1.2rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-range-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.calc-range-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.calc-range-field label { font-size: 0.85rem; color: var(--muted-text); white-space: nowrap; }
.calc-range-field input { width: 100px; }
tr.profit td { color: #6bba6b; }
tr.loss td { color: #e05c5c; }
tr.breakeven-row td { color: var(--fg); font-weight: 600; }
.noscript-notice {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--muted-text);
  margin: 0.75rem 0;
}
@media (max-width: 600px) {
  .calc-results { grid-template-columns: 1fr 1fr; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   Home page (migrated from static/index.html inline styles, OD-REVAMP-002).
   The hero header is .home-hero (scoped — the old page used a bare <header>);
   home's <main> carries class="home" for its wider 960px measure.
   ════════════════════════════════════════════════════════════════════════ */

.home-hero {
  padding: 56px 24px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.home-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted-text);
  max-width: 560px;
  margin: 0 auto 8px;
}

.badge {
  display: inline-block;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8rem;
  color: var(--muted-text);
  margin-top: 12px;
}

main.home { max-width: 960px; padding: 0 24px 64px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}
.feature-tile {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}
.feature-tile .icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.feature-tile h2 { font-size: 1rem; font-weight: 600; color: var(--fg); margin: 0 0 8px; }
.feature-tile p { font-size: 0.9rem; color: var(--muted-text); line-height: 1.5; }

.cta-row { text-align: center; margin-bottom: 72px; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--link-hover); color: var(--bg); text-decoration: none; }

.coming-soon {
  display: inline-block;
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--muted-text);
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 6px;
  margin-left: 12px;
}

.content { border-top: 1px solid var(--border); padding-top: 56px; margin-bottom: 56px; }
.content h2 { font-size: 1.4rem; font-weight: 600; color: var(--fg); margin: 40px 0 16px; }
.content h2:first-child { margin-top: 0; }
.content p { color: var(--muted-text); margin-bottom: 16px; max-width: 720px; }
.content ul, .content ol { color: var(--muted-text); padding-left: 1.5em; margin-bottom: 16px; max-width: 720px; }
.content li { margin-bottom: 6px; }
.content strong { color: var(--fg); font-weight: 600; }

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}
.strategy-card {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.strategy-card .strategy-name { font-weight: 600; color: var(--fg); font-size: 0.9rem; margin-bottom: 4px; }
.strategy-card .strategy-desc { font-size: 0.8rem; color: var(--muted-text); }

.strategy-guides { border-top: 1px solid var(--border); padding-top: 56px; margin-bottom: 56px; }
.strategy-guides h2 { font-size: 1.4rem; font-weight: 600; color: var(--fg); margin-bottom: 16px; }
.strategy-guides > p { color: var(--muted-text); margin-bottom: 20px; max-width: 720px; }

.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted-text);
  font-size: 0.92rem;
}
.guide-list li:last-child { border-bottom: none; }
.guide-list a { font-weight: 600; }

/* home FAQ keeps the article .faq styles; spacing tweak for the wide measure */
main.home .faq { margin-bottom: 48px; }

@media (max-width: 600px) {
  .home-hero { padding: 40px 16px 32px; }
  main.home { padding: 0 16px 48px; }
  .features { grid-template-columns: 1fr; }
  .strategy-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   Study page — flashcard SRS UI (OD-REVAMP-003, ported from algodrill).
   Button system is .sbtn (borderless, opacity hover) — distinct from the
   solid .btn-primary above.
   ════════════════════════════════════════════════════════════════════════ */

.stats { font-size: 0.75rem; color: var(--muted-text); }

.card-wrap { max-width: 680px; display: flex; flex-direction: column; gap: 1.25rem; }

.card { background: var(--muted); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; min-height: 280px; display: flex; flex-direction: column; gap: 1rem; transition: border-color 0.15s; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted-text); }
.deck-label { text-transform: capitalize; }
.card-front { font-size: 1.05rem; font-weight: 600; color: var(--fg); flex: 1; }
.divider { border: none; border-top: 1px solid var(--border); }
.card-back { font-size: 0.9rem; color: var(--muted-text); line-height: 1.7; }
.card-sources { font-size: 0.75rem; line-height: 1.5; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: baseline; border-top: 1px dashed var(--border); padding-top: 0.65rem; }
.card-sources .src-label { text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; color: var(--muted-text); }
.card-sources .src-sep { color: var(--muted-text); }
.card-sources a { color: var(--link); }

.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-row-center { justify-content: center; }

.sbtn { border: none; border-radius: 6px; padding: 0.55rem 1.4rem; font-family: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: opacity 0.15s; }
.sbtn:hover { opacity: 0.85; text-decoration: none; }
.sbtn:active { opacity: 0.7; }
.btn-flip { background: var(--accent); color: var(--bg); }
.btn-correct { background: var(--accent2); color: var(--bg); }
.btn-incorrect { background: var(--danger); color: var(--fg); }
.btn-neutral { background: var(--muted); color: var(--fg); border: 1px solid var(--border); }
a.btn-neutral { display: inline-block; }
a.btn-neutral:hover { color: var(--fg); }

.keyboard-hint { font-size: 0.75rem; color: var(--muted-text); margin-top: 0.25rem; }

.done-card { background: var(--muted); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.done-icon { font-size: 2.5rem; }
.done-title { font-size: 1.2rem; font-weight: 700; color: var(--brand-pop); }
.done-sub { font-size: 0.85rem; color: var(--muted-text); }

.deck-filter { margin-bottom: 0.25rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.5rem; }
.chip { background: var(--muted); color: var(--muted-text); border: 1px solid var(--border); border-radius: 20px; padding: 0.28rem 0.8rem; font-family: inherit; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: background 0.12s, color 0.12s, border-color 0.12s; user-select: none; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.chip:hover { opacity: 0.82; }
.filter-summary { font-size: 0.75rem; color: var(--muted-text); line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════════════
   Hero payoff diagram (OD-REVAMP-004). Inline SVG generated at build time
   by scripts/gen-hero.mjs from the calculator engine; styled here only.
   Default state = fully visible (no-JS / SEO / reduced-motion). JS sets
   data-anim="run" (hide) → "draw" (curve draws, labels pop) → "done".
   ════════════════════════════════════════════════════════════════════════ */

.hero-payoff { background: var(--muted); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem 1.25rem 1rem; margin: 0 0 1.5rem; }
.hero-payoff svg { width: 100%; height: auto; display: block; }
.hero-caption { font-size: 0.78rem; color: var(--muted-text); line-height: 1.6; margin: 0.75rem 0 0; }
.hero-caption strong { color: var(--fg); }

.pl-axis { stroke: var(--border); stroke-width: 1.5; }
.pl-axis-y { stroke-width: 1; }
.pl-tick { stroke: var(--border); stroke-width: 1; }
.pl-tick-label, .pl-axis-label { fill: var(--muted-text); font-size: 12px; font-family: inherit; }
.pl-be-line { stroke: var(--border); stroke-width: 1; stroke-dasharray: 4 4; }
.pl-curve { fill: none; stroke: var(--brand-pop); stroke-width: 3; stroke-linejoin: round; }
.pl-label { font-size: 13px; font-weight: 700; font-family: inherit; }
.pl-label-profit { fill: #6bba6b; }
.pl-label-loss { fill: #e05c5c; }
.pl-label-be { fill: var(--accent); }

.hero-payoff[data-anim="run"] .pl-curve { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.hero-payoff[data-anim="run"] .pl-label { opacity: 0; }
.hero-payoff[data-anim="draw"] .pl-curve,
.hero-payoff[data-anim="done"] .pl-curve { stroke-dasharray: 1000; stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s ease-out; }
.hero-payoff[data-anim="draw"] .pl-label,
.hero-payoff[data-anim="done"] .pl-label { opacity: 1; transition: opacity 0.4s ease; }
.hero-payoff[data-anim] .pl-pop-1 { transition-delay: 1.1s; }
.hero-payoff[data-anim] .pl-pop-2 { transition-delay: 1.35s; }
.hero-payoff[data-anim] .pl-pop-3 { transition-delay: 1.6s; }
.hero-payoff[data-anim] .pl-pop-4 { transition-delay: 1.75s; }
@media (prefers-reduced-motion: reduce) {
  .hero-payoff[data-anim] .pl-curve { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
  .hero-payoff[data-anim] .pl-label { opacity: 1 !important; transition: none !important; }
}

.cta-row-hero { margin-bottom: 56px; }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  margin-left: 12px;
  transition: background 0.15s, color 0.15s;
}
.btn-ghost:hover { background: var(--accent); color: var(--bg); text-decoration: none; }
.tile-link { color: inherit; }
.tile-link:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 600px) {
  .btn-ghost { margin-left: 0; margin-top: 10px; }
}

/* ════════════════════════════════════════════════════════════════════════
   /resources — reading list (OD-REVAMP-006)
   ════════════════════════════════════════════════════════════════════════ */

.res-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.res { background: var(--muted); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; margin-bottom: 1rem; }
.res-meta { font-size: 0.75rem; color: var(--muted-text); margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.5rem; }
.res-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.res-title a { color: var(--fg); }
.res-title a:hover { color: var(--accent); }
.res p { font-size: 0.88rem; color: var(--muted-text); margin: 0; line-height: 1.6; }
.tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 4px; }
.tag-affiliate { background: rgba(176,54,127,0.15); color: var(--brand-pop); }
.tag-free { background: rgba(95,168,211,0.15); color: var(--accent); }
.disclosure { background: rgba(176,54,127,0.1); border: 1px solid rgba(176,54,127,0.3); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: 0.88rem; line-height: 1.6; }
.disclosure strong { color: var(--brand-pop); }

/* ════════════════════════════════════════════════════════════════════════
   /start — capital path ladder (OD-REVAMP-008)
   ════════════════════════════════════════════════════════════════════════ */

.path-ladder { margin: 1rem 0 1.75rem; }
.path-step {
  background: var(--muted);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.25rem;
  margin-bottom: 0.55rem;
}
.path-step.ps-zero { border-left-color: var(--muted-text); }
.path-step.ps-basic { border-left-color: var(--accent); }
.path-step.ps-covered { border-left-color: var(--accent2); }
.path-step.ps-spreads { border-left-color: var(--highlight); }
.path-step.ps-naked { border-left-color: var(--brand-pop); }
.ps-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.ps-name { font-weight: 700; color: var(--fg); font-size: 0.92rem; }
.ps-floor { font-size: 0.8rem; font-weight: 700; color: var(--accent2); white-space: nowrap; }
.path-step.ps-zero .ps-floor { color: var(--muted-text); }
.path-step.ps-basic .ps-floor { color: var(--accent); }
.path-step.ps-covered .ps-floor { color: var(--accent2); }
.path-step.ps-spreads .ps-floor { color: var(--highlight); }
.path-step.ps-naked .ps-floor { color: var(--brand-pop); }
.ps-detail { font-size: 0.84rem; color: var(--muted-text); margin: 0; line-height: 1.6; }
.ps-approval { font-size: 0.75rem; color: var(--muted-text); margin-top: 0.3rem; font-style: italic; }

.warn-callout {
  background: rgba(235,143,44,0.08);
  border-left: 3px solid var(--highlight);
  border-radius: 0 6px 6px 0;
  padding: 0.85rem 1.1rem;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted-text);
}
.warn-callout strong { color: var(--fg); }

.footnote { font-size: 0.75rem; color: var(--muted-text); margin-top: 0.5rem; line-height: 1.55; }
.as-of { font-size: 0.75rem; color: var(--muted-text); font-style: italic; }
