/* Roaming Cactus site stylesheet: the approved "Ledger" redesign (+ "Card Deck" component) for every real page.
   Palette, type and sizing live in the variables below. Post bodies are stored HTML from three design generations;
   the build strips their inline styles (except ad units and display:none), so the .rc-prose rules below style the bare elements. */

:root {
  --rc-bg: #ffffff;
  --rc-ink: #15191f;
  --rc-ink-2: #3a414c;
  --rc-muted: #5f6875;
  --rc-rule: #e4e7eb;
  --rc-rule-strong: #c8cdd4;
  --rc-surface: #f5f6f8;
  --rc-surface-2: #eceff2;
  --rc-link: #0b6b4e;
  --rc-link-hover: #064a36;
  --rc-focus: #1d4ed8;
  --rc-brand: #0b6b4e;
  --rc-brand-ink: #ffffff;
  --rc-mark: #fff6d6;
  --rc-chip-bg: #eef2f7;
  --rc-chip-fg: #34445a;
  --rc-card-bg: #ffffff;
  --rc-card-rule: #dfe3e8;
  --rc-pro: #17603b;
  --rc-con: #9b1c1c;

  --rc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --rc-font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --rc-size: 17px;
  --rc-size-sm: 0.875rem;
  --rc-size-xs: 0.78rem;
  --rc-leading: 1.55;

  --rc-shell: 1140px;
  --rc-measure: 68ch;
  --rc-aside: 300px;
  --rc-gap: 48px;
  --rc-pad: 20px;
  --rc-radius: 6px;
  --rc-radius-card: 12px;
  --rc-tap: 44px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.rc {
  margin: 0; background: var(--rc-bg); color: var(--rc-ink);
  font: 400 var(--rc-size)/var(--rc-leading) var(--rc-font);
  font-variant-numeric: tabular-nums; overflow-wrap: break-word;
}
.rc a { color: var(--rc-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.rc a:hover { color: var(--rc-link-hover); }
.rc :focus-visible { outline: 2px solid var(--rc-focus); outline-offset: 2px; border-radius: 2px; }
.rc img, .rc video, .rc iframe, .rc embed, .rc object { max-width: 100%; }
.rc img { height: auto; }
.rc-skip { position: absolute; left: -9999px; }
.rc-skip:focus { left: 8px; top: 8px; z-index: 50; background: #fff; padding: 6px 10px; }
.rc-mono { font-family: var(--rc-font-mono); font-size: 0.86em; letter-spacing: -0.01em; }
.rc-muted { color: var(--rc-muted); }
.rc-xs { font-size: var(--rc-size-xs); }
.rc-label {
  margin: 0 0 8px; font-size: var(--rc-size-xs); font-weight: 650; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--rc-muted);
}

/* ---------- header + primary nav ---------- */
.rc-shell { max-width: var(--rc-shell); margin: 0 auto; padding-inline: var(--rc-pad); }
.rc-top { border-bottom: 1px solid var(--rc-rule); }
.rc-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.rc-brand { display: inline-flex; align-items: center; gap: 10px; min-height: var(--rc-tap); color: var(--rc-ink) !important; text-decoration: none; font-weight: 750; font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; }
.rc-brand-mark {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px;
  background: var(--rc-brand); color: var(--rc-brand-ink); font: 700 0.8rem/1 var(--rc-font-mono);
}
.rc-top-links { display: flex; gap: 4px 16px; margin-left: auto; font-size: var(--rc-size-sm); white-space: nowrap; }
.rc-top-links a { display: inline-flex; align-items: center; min-height: var(--rc-tap); }
.rc-menu-btn { display: none; }
.rc-nav { border-bottom: 1px solid var(--rc-rule); background: var(--rc-bg); }
.rc-nav ul { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rc-nav a {
  display: flex; align-items: center; min-height: var(--rc-tap); padding: 0 12px; white-space: nowrap; font-size: 0.94rem; font-weight: 550;
  color: var(--rc-ink-2); text-decoration: none; border-bottom: 2px solid transparent;
}
.rc-nav li:first-child a { padding-left: 0; }
.rc-nav a:hover { color: var(--rc-ink); }
.rc-nav a[aria-current="page"] { color: var(--rc-ink); border-bottom-color: var(--rc-brand); }
@media (max-width: 767px) {
  .rc-top-links { display: none; }
  /* no JS: the hubs wrap as pills; with JS: collapsed behind the Menu button */
  .rc-nav ul { gap: 8px; padding: 10px 0; }
  .rc-nav li:first-child a { padding-left: 14px; }
  .rc-nav a { border: 1px solid var(--rc-rule-strong); border-radius: 999px; padding: 0 14px; }
  .rc-nav a[aria-current="page"] { border-color: var(--rc-brand); background: var(--rc-brand); color: var(--rc-brand-ink); }
  .rc-js .rc-menu-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: var(--rc-tap); min-width: var(--rc-tap); padding: 0 14px;
    font: 600 0.95rem var(--rc-font); color: var(--rc-ink); background: var(--rc-bg); border: 1px solid var(--rc-rule-strong); border-radius: var(--rc-radius); cursor: pointer;
  }
  .rc-js .rc-menu-btn::before { content: ""; width: 16px; height: 10px; border-block: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
  .rc-js .rc-menu-btn[aria-expanded="true"]::before { border: 0; background: none; content: "\00d7"; width: auto; height: auto; font-size: 1.2rem; line-height: 1; }
  .rc-js .rc-nav { display: none; }
  .rc-js .rc-nav.rc-nav-open { display: block; }
  .rc-js .rc-nav ul { flex-direction: column; gap: 0; padding: 4px 0 8px; }
  .rc-js .rc-nav li a { border: 0; border-bottom: 1px solid var(--rc-rule); border-radius: 0; padding: 0; background: none; color: var(--rc-ink-2); }
  .rc-js .rc-nav li:last-child a { border-bottom: 0; }
  .rc-js .rc-nav a[aria-current="page"] { color: var(--rc-brand); font-weight: 700; }
}

/* ---------- page grid: content + 300px sidebar (sidebar drops below the content under 1024px) ---------- */
.rc-grid { display: block; padding-block: 24px 56px; }
.rc-main { min-width: 0; }
.rc-aside { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; min-width: 0; }
.rc-aside:empty { display: none; }
@media (min-width: 1024px) {
  .rc-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--rc-aside); gap: var(--rc-gap); }
  .rc-aside { gap: 28px; margin-top: 0; }
}

/* Ad slots (data/ads.json): fixed-size reserved boxes rendered in the server HTML. The min-height reserve
   (--rc-ad-w x --rc-ad-h) stays until Google sets data-ad-status="unfilled", so a fill does not shift the page.
   The "Advertisement" label (18px strip) shows only once the unit is filled. Unfilled units collapse to nothing.
   desktop units show at >= 1024px only, mobile units below it; rc-ads.js never requests a hidden box. */
.rc-ad {
  position: relative; box-sizing: content-box; width: var(--rc-ad-w, 300px); max-width: 100%; min-height: var(--rc-ad-h, 250px);
  padding-top: 18px; margin: 32px auto; overflow: hidden; text-align: center; line-height: 0;
  outline: 1px dashed var(--rc-rule-strong); outline-offset: -1px;
  background: repeating-linear-gradient(135deg, #fafafa 0 10px, #f0f1f3 10px 20px) content-box, var(--rc-bg);
}
.rc-ad::before {
  content: "Advertisement"; position: absolute; top: 0; left: 0; right: 0; height: 18px; line-height: 18px;
  font: 600 0.62rem/18px var(--rc-font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rc-muted);
}
.rc-ad[data-rc-mode="placeholder"]::after {
  content: attr(data-rc-size); position: absolute; inset: 18px 0 0; display: grid; place-items: center;
  font: 500 var(--rc-size-xs)/1.4 var(--rc-font-mono); color: #8a929c;
}
/* Live: no label, outline, or fill until Google reports filled. The min-height above still holds the space. */
.rc-ad[data-rc-mode="live"] { background: transparent; outline: none; }
.rc-ad[data-rc-mode="live"]:not(.rc-ad--filled)::before { content: none; }
.rc-ad[data-rc-mode="live"]:has(> ins.adsbygoogle[data-ad-status="filled"]) {
  outline: 1px dashed var(--rc-rule-strong); outline-offset: -1px;
  background: var(--rc-surface) content-box, var(--rc-bg);
}
.rc-ad[data-rc-mode="live"]:has(> ins.adsbygoogle[data-ad-status="filled"])::before { content: "Advertisement"; }
.rc-ad[data-rc-mode="live"].rc-ad--filled {
  outline: 1px dashed var(--rc-rule-strong); outline-offset: -1px;
  background: var(--rc-surface) content-box, var(--rc-bg);
}
.rc-ad[data-rc-mode="live"].rc-ad--filled::before { content: "Advertisement"; }
/* no JS = no ad request: never show readers an empty box (.rc-js is set by an inline script in the header, before any box) */
html:not(.rc-js) .rc-ad[data-rc-mode="live"] { display: none !important; }
/* beats the legacy in-post unit rule (.rc-prose ins.adsbygoogle: 28px margins, 250px min-height) so a config unit fills exactly its reserve */
.rc .rc-ad > ins.adsbygoogle { vertical-align: top; margin: 0; min-height: 0; text-decoration: none; }
.rc-ad[data-rc-device="desktop"] { display: none; }
@media (min-width: 1024px) {
  .rc-ad[data-rc-device="desktop"] { display: block; }
  .rc-ad[data-rc-device="mobile"] { display: none; }
}
/* 728x90 needs a 728px main column: 728 + 300 sidebar + 48 gap + 2 x 20 padding = 1116px viewport. */
@media (min-width: 1024px) and (max-width: 1115px) { .rc-ad--728x90 { display: none !important; } }
.rc-aside .rc-ad { margin: 0; }
html:not([data-rc-arm="B"]) .rc-ad[data-rc-arms="B"] { display: none !important; }
/* Google left the unit empty, or the class fallback fired (no :has(), or no status after the request).
   Collapse the ins and the wrapper: no height, no reserve, no label. Beats the desktop display:block rule. */
ins.adsbygoogle[data-ad-status="unfilled"],
ins.adsbygoogle.rc-ad--unfilled {
  display: none !important; height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
}
.rc-ad:has(> ins.adsbygoogle[data-ad-status="unfilled"]) {
  display: none !important; height: 0 !important; min-height: 0 !important; max-height: 0 !important;
  padding: 0 !important; margin: 0 !important; outline: none !important; background: none !important; overflow: hidden !important;
}
.rc-ad:has(> ins.adsbygoogle[data-ad-status="unfilled"])::before { content: none !important; display: none !important; }
.rc-ad.rc-ad--unfilled {
  display: none !important; height: 0 !important; min-height: 0 !important; max-height: 0 !important;
  padding: 0 !important; margin: 0 !important; outline: none !important; background: none !important; overflow: hidden !important;
}
.rc-ad.rc-ad--unfilled::before { content: none !important; display: none !important; }

/* ---------- headings ---------- */
.rc h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem); line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 760; }
.rc h2 { font-size: 1.32rem; line-height: 1.25; letter-spacing: -0.01em; margin: 40px 0 12px; font-weight: 720; }
.rc h3 { font-size: 1.08rem; line-height: 1.3; margin: 28px 0 8px; font-weight: 700; }
.rc h4 { font-size: 1rem; line-height: 1.35; margin: 20px 0 6px; font-weight: 700; }
.rc h5, .rc h6 { font-size: 0.95rem; margin: 16px 0 6px; }
.rc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--rc-ink); padding-bottom: 6px; margin: 40px 0 0; }
.rc-section-head h2 { margin: 0; font-size: 1.12rem; }
.rc-section-head a { font-size: var(--rc-size-sm); white-space: nowrap; display: inline-flex; align-items: center; min-height: var(--rc-tap); margin-block: -12px; }
.rc-section-dek { color: var(--rc-muted); font-size: var(--rc-size-sm); margin: 8px 0 0; }

/* ---------- breadcrumbs, byline, dek, pills ---------- */
.rc-crumbs { font-size: var(--rc-size-sm); color: var(--rc-muted); margin: -10px 0 4px; }
.rc-crumbs ol { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.rc-crumbs li { white-space: nowrap; display: flex; align-items: center; }
.rc-crumbs li:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block; line-height: var(--rc-tap); }
.rc-crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--rc-rule-strong); }
.rc-crumbs a { display: inline-flex; align-items: center; min-height: var(--rc-tap); }
.rc-crumbs [aria-current] { color: var(--rc-ink-2); }
.rc-kicker { margin: 0 0 6px; }
.rc-dek { font-size: 1.06rem; color: var(--rc-ink-2); margin: 0 0 14px; max-width: var(--rc-measure); }
.rc-trust-line { margin: 0 0 16px; font-size: var(--rc-size-sm); color: var(--rc-muted); letter-spacing: 0.02em; }
.rc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.rc-pills a {
  display: inline-flex; align-items: center; min-height: var(--rc-tap); padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--rc-rule-strong); color: var(--rc-ink); text-decoration: none; font-weight: 600; font-size: 0.94rem;
}
.rc-pills li:first-child a { background: var(--rc-ink); border-color: var(--rc-ink); color: #fff; }
.rc-pills a:hover { border-color: var(--rc-link); color: var(--rc-link); }
.rc-pills li:first-child a:hover { background: var(--rc-link); border-color: var(--rc-link); color: #fff; }
.rc-byline { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: var(--rc-size-sm); color: var(--rc-muted); margin: 0 0 14px; }
.rc-byline strong { color: var(--rc-ink); font-weight: 650; }
.rc-byline a { color: var(--rc-ink); font-weight: 650; }
.rc-byline a:hover { color: var(--rc-link); }
.rc-byline img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.rc-byline .rc-by { display: inline-flex; gap: 8px; align-items: center; }
.rc-sources { margin: 36px 0 0; padding: 14px 16px 16px; background: var(--rc-surface); border: 1px solid var(--rc-rule); border-radius: var(--rc-radius); }
.rc-sources ol { margin: 0; padding-left: 1.25rem; }
.rc-sources li { margin: 6px 0; font-size: var(--rc-size-sm); overflow-wrap: anywhere; }
.rc-author-page { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 6px 18px; align-items: center; margin: 0 0 8px; }
.rc-author-page img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; grid-row: span 2; }
.rc-author-page h1 { margin: 0; }
.rc-author-page p { margin: 0; max-width: var(--rc-measure); }
.rc-author-page .rc-author-claim { grid-column: 2; color: var(--rc-muted); font-size: var(--rc-size-sm); }
.rc-author-page--no-photo .rc-author-claim { grid-column: 1; }
.rc-author-index .rc-author-claim { grid-column: 2; margin: 0; color: var(--rc-muted); font-size: var(--rc-size-sm); }
.rc-author-page--no-photo { grid-template-columns: minmax(0, 1fr); }
.rc-author-index { list-style: none; margin: 24px 0 0; padding: 0; }
.rc-author-index > li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--rc-rule); }
.rc-author-index img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; grid-row: span 4; }
.rc-author-index h2 { margin: 0; font-size: 1.15rem; }
.rc-author-index p { margin: 0; }
.rc-meta-dl { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border: 1px solid var(--rc-rule); border-radius: var(--rc-radius); overflow: hidden; }
.rc-meta-dl div { flex: 1 1 100px; padding: 8px 12px; border-right: 1px solid var(--rc-rule); }
.rc-meta-dl div:last-child { border-right: 0; }
.rc-meta-dl dt { font-size: var(--rc-size-xs); color: var(--rc-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.rc-meta-dl dd { margin: 0; font-family: var(--rc-font-mono); font-size: 0.9rem; }

/* ---------- disclosure line ---------- */
.rc-disclosure {
  display: block; margin: 0 0 18px; padding: 8px 12px;
  font-size: var(--rc-size-sm); line-height: 1.45; color: var(--rc-ink-2);
  background: var(--rc-surface); border-left: 3px solid var(--rc-brand); border-radius: 0 var(--rc-radius) var(--rc-radius) 0;
}
.rc-disclosure b { white-space: nowrap; color: var(--rc-ink); margin-right: 4px; }
.rc-disclosure--top { margin: 0 0 24px; padding: 14px 18px; border-left-width: 5px; text-align: center; }
.rc-disclosure--top p { margin: 0; }
.rc-disclosure--top p + p { margin-top: 6px; }
.rc-disclosure--top > p > strong:first-child { color: var(--rc-brand); }

/* ---------- answer-first box ---------- */
.rc-glance { border: 1px solid var(--rc-rule-strong); border-radius: var(--rc-radius); margin: 0 0 20px; background: var(--rc-bg); }
.rc-glance-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; align-items: center; padding: 0 14px; min-height: 40px; background: var(--rc-surface); border-bottom: 1px solid var(--rc-rule); }
.rc-glance-head .rc-label { margin: 0; color: var(--rc-ink); }
.rc-glance-head a { font-size: var(--rc-size-xs); display: inline-flex; align-items: center; min-height: var(--rc-tap); }
.rc-glance-verdict { margin: 0; padding: 12px 14px 0; font-size: 1.02rem; }
.rc-glance-verdict::before { content: "Verdict"; display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 4px; background: var(--rc-ink); color: #fff; font-size: var(--rc-size-xs); font-weight: 650; letter-spacing: 0.04em; vertical-align: 2px; }
.rc-glance .rc-meta-dl { margin: 12px 14px 14px; }

/* ---------- chips ---------- */
.rc-chip {
  display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px;
  font-size: var(--rc-size-xs); font-weight: 600; line-height: 1.6; white-space: nowrap;
  background: var(--rc-chip-bg); color: var(--rc-chip-fg);
}

/* ---------- compact rows (feeds) ---------- */
.rc-rows { list-style: none; margin: 0; padding: 0; }
.rc-row {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--rc-rule);
}
.rc-row time { font-family: var(--rc-font-mono); font-size: 0.8rem; color: var(--rc-muted); }
.rc-row a { color: var(--rc-ink); text-decoration: none; font-weight: 550; line-height: 1.35; }
.rc-row a:hover { color: var(--rc-link); text-decoration: underline; }
.rc-row .rc-row-end { font-size: var(--rc-size-xs); color: var(--rc-muted); text-align: right; white-space: nowrap; }
.rc-rows--numbered { counter-reset: rc; }
.rc-rows--numbered .rc-row { grid-template-columns: 28px 92px minmax(0, 1fr) auto; }
.rc-rows--numbered .rc-row::before { counter-increment: rc; content: counter(rc, decimal-leading-zero); font: 600 0.8rem var(--rc-font-mono); color: var(--rc-brand); }
@media (max-width: 599px) {
  .rc-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; }
  .rc-row time { grid-column: 1; grid-row: 1; }
  .rc-row .rc-row-end { grid-column: 2; grid-row: 1; }
  .rc-row a { grid-column: 1 / -1; grid-row: 2; padding: 4px 0; }
  .rc-rows--numbered .rc-row { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .rc-rows--numbered .rc-row::before { grid-column: 1; grid-row: 1 / span 2; }
  .rc-rows--numbered .rc-row time { grid-column: 2; }
  .rc-rows--numbered .rc-row .rc-row-end { grid-column: 3; }
  .rc-rows--numbered .rc-row a { grid-column: 2 / -1; }
}

/* hub index rows (homepage "Featured in 2026") */
.rc-hubrows { list-style: none; margin: 0; padding: 0; }
.rc-hubrow {
  display: grid; grid-template-columns: minmax(0, 1.1fr) 64px minmax(0, 1.3fr); gap: 4px 18px;
  padding: 12px 0; border-bottom: 1px solid var(--rc-rule); align-items: start;
}
.rc-hubrow h3 { margin: 0 0 2px; font-size: 1rem; }
.rc-hubrow h3 a { color: var(--rc-ink); text-decoration: none; }
.rc-hubrow h3 a:hover { color: var(--rc-link); text-decoration: underline; }
.rc-hubrow p { margin: 0; font-size: var(--rc-size-sm); color: var(--rc-muted); line-height: 1.45; }
.rc-hubrow .rc-count { font: 600 1rem var(--rc-font-mono); text-align: right; }
.rc-hubrow .rc-count small { display: block; font: 400 var(--rc-size-xs) var(--rc-font); color: var(--rc-muted); }
.rc-hubrow .rc-latest { font-size: var(--rc-size-sm); line-height: 1.4; }
.rc-hubrow .rc-latest a { color: var(--rc-ink-2); }
.rc-hubrow .rc-latest time { display: block; font: 0.76rem var(--rc-font-mono); color: var(--rc-muted); }
@media (max-width: 599px) {
  .rc-hubrow { grid-template-columns: minmax(0, 1fr) auto; }
  .rc-hubrow .rc-latest { grid-column: 1 / -1; }
}

/* homepage trust bar (author from data/author.json) */
.rc-trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 28px; align-items: center; margin: 36px 0 0; padding: 18px 0; border-block: 1px solid var(--rc-rule-strong); }
.rc-trust .rc-author { border: 0; margin: 0; padding: 0; }
.rc-trust h4 { margin: 0; font-size: 1rem; }
.rc-trust-stat { margin: 0; padding: 14px 16px; background: var(--rc-surface); border-left: 3px solid var(--rc-brand); border-radius: 0 var(--rc-radius) var(--rc-radius) 0; font-size: 1rem; line-height: 1.45; color: var(--rc-ink); }
@media (max-width: 767px) { .rc-trust { grid-template-columns: 1fr; } }

/* ---------- tables: sideways scroll only (no fixed-height box) + sticky first column on phones ---------- */
.rc-scroll {
  margin: 16px 0 22px; border: 1px solid var(--rc-rule); border-radius: var(--rc-radius);
  overflow-x: auto; overflow-y: hidden; max-height: none; max-width: 100%;
  overscroll-behavior-x: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, var(--rc-bg) 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left, var(--rc-bg) 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,0.18), rgba(0,0,0,0)) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,0.18), rgba(0,0,0,0)) right center / 14px 100% no-repeat scroll;
}
.rc table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.92rem; line-height: 1.4; }
.rc th, .rc td { padding: 8px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rc-rule); }
.rc thead th, .rc-prose table tr:first-child > th {
  position: sticky; top: 0; z-index: 2; background: var(--rc-surface); color: var(--rc-ink);
  font-size: var(--rc-size-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 1px solid var(--rc-rule-strong);
}
.rc tbody tr:last-child > * { border-bottom: 0; }
.rc tbody tr:hover > td, .rc tbody tr:hover > th { background-color: var(--rc-mark); }
.rc td.num, .rc th.num { text-align: right; }
.rc td.num { font-family: var(--rc-font-mono); font-size: 0.84rem; white-space: nowrap; }
.rc td p, .rc th p { margin: 0; }
@media (max-width: 767px) {
  .rc-prose .rc-scroll table { font-size: 1rem; }
  .rc-prose .rc-scroll th, .rc-prose .rc-scroll td { font-size: 1rem; line-height: 1.45; }
  .rc-prose .rc-scroll thead th, .rc-prose .rc-scroll tr:first-child > th { font-size: 0.875rem; }
  .rc-scroll table { min-width: 560px; }
  .rc-scroll th:first-child, .rc-scroll td:first-child {
    position: sticky; left: 0; z-index: 1; background: var(--rc-bg);
    max-width: 42vw; box-shadow: 1px 0 0 var(--rc-rule);
  }
  .rc-scroll thead th:first-child, .rc-scroll tr:first-child > th:first-child { z-index: 3; background: var(--rc-surface); }
}
@media (min-width: 768px) {
  .rc-scroll { overflow: visible; max-height: none; background: none; }
  .rc-scroll thead th:first-child { border-top-left-radius: var(--rc-radius); }
  .rc-scroll thead th:last-child { border-top-right-radius: var(--rc-radius); }
}
/* wide tables still scroll sideways inside their wrapper on desktop instead of pushing the page */
@media (min-width: 768px) {
  .rc-prose .rc-scroll {
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
    background:
      linear-gradient(to right, var(--rc-bg) 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat local,
      linear-gradient(to left, var(--rc-bg) 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, rgba(0,0,0,0.18), rgba(0,0,0,0)) left center / 14px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,0.18), rgba(0,0,0,0)) right center / 14px 100% no-repeat scroll;
  }
  .rc-prose .rc-scroll thead th { position: static; }
}

/* ---------- sidebar modules ---------- */
.rc-box { border: 1px solid var(--rc-rule); border-radius: var(--rc-radius); padding: 14px 16px; font-size: var(--rc-size-sm); }
.rc-box .rc-label { margin-bottom: 10px; }
.rc-box ul { list-style: none; margin: 0; padding: 0; }
.rc-box li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--rc-rule); }
.rc-box li:last-child { border-bottom: 0; }
.rc-box li a { color: var(--rc-ink-2); text-decoration: none; display: flex; align-items: center; min-height: 36px; padding: 4px 0; }
.rc-box li a:hover { color: var(--rc-link); text-decoration: underline; }
.rc-box li a[aria-current] { color: var(--rc-ink); font-weight: 650; }
.rc-box li .rc-mono { color: var(--rc-muted); }
.rc-box--deals li { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 6px; }
.rc-box--deals .rc-deal-meta { font-size: var(--rc-size-xs); color: var(--rc-muted); }
.rc-sticky { position: sticky; top: 16px; }
.rc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.rc-toc li { padding: 0 0 0 26px; position: relative; border-bottom: 0; display: block; }
.rc-toc li::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 9px; font: 0.74rem var(--rc-font-mono); color: var(--rc-muted); }
.rc-toc a { display: block; padding: 6px 0; color: var(--rc-ink-2); text-decoration: none; line-height: 1.35; min-height: 0; }
.rc-toc a:hover { text-decoration: underline; color: var(--rc-link); }
.rc-aside .rc-toc { max-height: calc(100vh - 32px); overflow: auto; }
.rc-aside .rc-toc a { min-height: var(--rc-tap); display: flex; align-items: center; }
.rc-toc-mobile { margin: 0 0 20px; border: 1px solid var(--rc-rule); border-radius: var(--rc-radius); }
.rc-toc-mobile summary { display: flex; align-items: center; min-height: var(--rc-tap); padding: 0 14px; cursor: pointer; font-weight: 650; font-size: 0.95rem; }
.rc-toc-mobile .rc-toc { padding: 0 14px 10px; }
.rc-toc-mobile .rc-toc a { min-height: var(--rc-tap); display: flex; align-items: center; padding: 4px 0; }
.rc-toc-mobile .rc-toc li::before { top: 14px; }
@media (min-width: 1024px) { .rc-toc-mobile { display: none; } }
@media (max-width: 1023px) {
  .rc-aside .rc-toc { display: none; }
  .rc-box li a { min-height: var(--rc-tap); }
}

/* author (data/author.json) */
.rc-author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 16px; align-items: start; border-top: 2px solid var(--rc-ink); padding: 18px 0 0; margin: 40px 0 0; }
.rc-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; grid-row: span 4; }
.rc-author h3 { margin: 0; font-size: 1rem; }
.rc-author p { margin: 0; font-size: var(--rc-size-sm); color: var(--rc-ink-2); }
.rc-author .rc-author-title { color: var(--rc-muted); }
.rc-author a { display: inline-flex; align-items: center; min-height: var(--rc-tap); }
.rc-author--mini { border-top: 0; margin: 0; padding: 0; grid-template-columns: 48px minmax(0, 1fr); }
.rc-author--mini img { width: 48px; height: 48px; }
.rc-author--no-photo { grid-template-columns: minmax(0, 1fr); }
.rc-author--mini + .rc-author--mini { margin-top: 14px; }
.rc-who-link { margin: 10px 0 0; }
.rc-who-link a { display: inline-flex; align-items: center; min-height: var(--rc-tap); }
.rc-trust-authors { display: grid; gap: 18px; }
.rc-box .rc-trust-stat { margin-top: 10px; padding: 10px 12px; font-size: var(--rc-size-sm); }

/* related module */
.rc-related { margin: 36px 0 0; padding: 14px 16px; background: var(--rc-surface); border-radius: var(--rc-radius); }
.rc-related .rc-row { border-bottom-color: var(--rc-rule-strong); }
.rc-related .rc-row:last-child { border-bottom: 0; }
.rc-related .rc-related-next { margin: 12px 0 0; }
.rc-related .rc-related-next a { font-weight: 650; }

/* house promo (RewardTracker.io): kept visually distinct from ad boxes and affiliate CTAs */
.rc-promo { margin: 40px 0 0; padding: 14px 18px; border: 1px solid var(--rc-rule-strong); border-left: 3px solid var(--rc-brand); border-radius: 0 var(--rc-radius) var(--rc-radius) 0; background: var(--rc-bg); }
.rc-promo p { margin: 0; font-size: var(--rc-size-sm); color: var(--rc-ink-2); }
.rc-promo .rc-label { margin-bottom: 4px; }
.rc-promo .rc-promo-head { margin-bottom: 4px; font-size: 1rem; font-weight: 650; color: var(--rc-ink); }
.rc-promo .rc-promo-own { margin-top: 8px; color: var(--rc-muted); font-size: var(--rc-size-xs); }
.rc-promo a { font-weight: 600; }
.rc-promo--hub { margin: 20px 0 28px; }
.rc-foot .footer-tools { margin: 0 0 6px; }
.rc-foot .footer-tools a { color: var(--rc-ink-2); }

/* ---------- post body (stored HTML; inline styles neutralized at build time) ---------- */
.rc-prose { max-width: var(--rc-measure); }
.rc-prose p, .rc-prose ul, .rc-prose ol, .rc-prose dl { margin: 0 0 1em; }
.rc-prose ul, .rc-prose ol { padding-left: 1.4em; }
.rc-prose li { margin: 0.25em 0; }
.rc-prose li > p { margin: 0; }
.rc-prose p, .rc-prose li, .rc-prose h1, .rc-prose h2, .rc-prose h3, .rc-prose h4, .rc-prose td, .rc-prose th { white-space: normal; }
.rc-prose h1 { font-size: 1.32rem; line-height: 1.25; margin: 40px 0 12px; font-weight: 720; letter-spacing: -0.01em; }
.rc-prose h2 { padding-top: 14px; border-top: 1px solid var(--rc-rule); scroll-margin-top: 16px; }
.rc-prose > h2:first-child, .rc-prose > section:first-child > h2:first-child { border-top: 0; padding-top: 0; margin-top: 8px; }
.rc-prose h3, .rc-prose h4, .rc-prose [id] { scroll-margin-top: 16px; }
.rc-prose section { margin: 0 0 8px; }
.rc-prose strong, .rc-prose b { font-weight: 680; }
.rc-prose a { overflow-wrap: anywhere; }
.rc-prose li a:not(:has(> h4)),
.rc-prose td a,
.rc-prose th a { display: inline-block; min-height: var(--rc-tap); padding-top: 8px; padding-bottom: 8px; box-sizing: border-box; }
.rc-prose figure { margin: 22px 0; }
.rc-prose figure img, .rc-prose p > img { display: block; border-radius: 4px; background: var(--rc-surface); }
.rc-prose figcaption, .rc-prose figcaption p, .rc-prose .image-caption p { font-size: var(--rc-size-xs); color: var(--rc-muted); margin: 6px 0 0; line-height: 1.45; }
.rc-prose hr { border: 0; border-top: 1px solid var(--rc-rule); margin: 28px 0; }
.rc-prose blockquote { margin: 22px 0; padding: 10px 16px; border-left: 3px solid var(--rc-rule-strong); background: var(--rc-surface); color: var(--rc-ink-2); border-radius: 0 var(--rc-radius) var(--rc-radius) 0; }
.rc-prose blockquote > :last-child { margin-bottom: 0; }
.rc-prose pre { overflow-x: auto; padding: 12px 14px; background: var(--rc-surface); border-radius: var(--rc-radius); font: 0.86rem/1.5 var(--rc-font-mono); }
.rc-prose code { font-family: var(--rc-font-mono); font-size: 0.9em; }
.rc-prose details { border: 1px solid var(--rc-rule); border-radius: var(--rc-radius); margin: 0 0 8px; background: var(--rc-bg); }
.rc-prose details[open] { border-color: var(--rc-rule-strong); }
.rc-prose summary { display: list-item; padding: 11px 14px; min-height: var(--rc-tap); cursor: pointer; font-weight: 620; list-style-position: inside; }
.rc-prose summary > * { display: inline; margin: 0; font-size: 1rem; }
.rc-prose details > :not(summary) { padding: 0 14px 4px; }
.rc-prose details > div > p:last-child { margin-bottom: 10px; }
.rc-prose label { display: block; font-weight: 600; margin: 0 0 6px; }
.rc-prose input, .rc-prose select, .rc-prose textarea { font: inherit; font-size: 16px; min-height: var(--rc-tap); padding: 8px 10px; border: 1px solid var(--rc-muted); border-radius: var(--rc-radius); max-width: 100%; }
.rc-prose button { font: 600 0.95rem var(--rc-font); min-height: var(--rc-tap); padding: 9px 16px; margin: 12px 0; border-radius: var(--rc-radius); border: 1px solid var(--rc-ink); background: var(--rc-ink); color: #fff; cursor: pointer; }
.rc-prose small { color: var(--rc-muted); }
.rc-prose .rc-icon { display: inline-block; vertical-align: -0.125em; overflow: visible; flex: none; color: var(--rc-brand); }
.rc-prose a:has(> h4) { display: block; padding: 10px 0; border-bottom: 1px solid var(--rc-rule); text-decoration: none; color: var(--rc-ink-2); }
.rc-prose a:has(> h4) > div:first-child { display: none; }
.rc-prose a:has(> h4) h4 { margin: 0 0 2px; color: var(--rc-link); }
.rc-prose a:has(> h4) p { margin: 0; font-size: var(--rc-size-sm); }
.rc-prose ul.related-posts { padding-left: 1.1em; }
/* in-body AdSense units: keep their own inline display; reserve height so a late fill does not push text */
.rc-prose ins.adsbygoogle { min-height: 250px; margin: 28px 0; clear: both; }
.rc-prose .rc-pill {
  display: inline-flex; align-items: center; margin: 0 6px 6px 0; padding: 2px 10px; border-radius: 999px;
  background: var(--rc-chip-bg); color: var(--rc-chip-fg); font-size: var(--rc-size-xs); font-weight: 650; line-height: 1.6;
}
.rc-prose .rc-pill .rc-icon { color: inherit; margin-right: 5px; }
.rc-prose .rc-panel { margin: 18px 0; padding: 12px 16px; border: 1px solid var(--rc-rule); border-radius: var(--rc-radius); background: var(--rc-bg); min-width: 0; }
.rc-prose .rc-panel .rc-panel { border: 0; padding: 0; margin: 12px 0; background: none; }
.rc-prose .rc-panel > :first-child, .rc-prose .rc-panel > a:first-child > :first-child { margin-top: 0; }
.rc-prose .rc-panel > :last-child { margin-bottom: 0; }
.rc-prose .rc-panel > h2:first-child { border-top: 0; padding-top: 0; }
.rc-prose .rc-btn {
  display: inline-flex; align-items: center; min-height: var(--rc-tap); padding: 0 16px; margin: 4px 0;
  border: 1px solid var(--rc-ink); border-radius: var(--rc-radius); color: var(--rc-ink); font-weight: 650; text-decoration: none;
}
.rc-prose .rc-btn:hover { background: var(--rc-ink); color: #fff; }
.rc-callout { margin: 22px 0; padding: 12px 16px; border: 1px solid var(--rc-rule-strong); border-left: 4px solid var(--rc-ink); border-radius: 0 var(--rc-radius) var(--rc-radius) 0; background: var(--rc-surface); }
.rc-callout > :first-child { margin-top: 0; }
.rc-callout > :last-child { margin-bottom: 0; }

/* affiliate CTA paragraphs (a paragraph that leads with an affiliate link) and the inline disclosure */
.rc-prose .rc-cta { position: relative; margin: 20px 0; padding: 26px 16px 12px; border: 1px solid var(--rc-brand); border-radius: var(--rc-radius); background: #f1f8f4; }
.rc-prose .rc-cta::before { content: "Affiliate link"; position: absolute; top: 6px; left: 16px; font: 650 0.68rem var(--rc-font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rc-brand); }
.rc-prose .rc-cta > a:first-child { font-weight: 700; display: inline-flex; align-items: center; min-height: var(--rc-tap); }
.rc-aff-inline, .rc-paid-note { color: var(--rc-muted); font-size: var(--rc-size-xs); margin-left: 0.35em; white-space: nowrap; }

/* ---------- Card Deck: numbered card sections of roundup posts, copy untouched ---------- */
.rc-deck { display: grid; gap: 18px; margin: 24px 0; }
.rc-card {
  background: var(--rc-card-bg); border: 1px solid var(--rc-card-rule); border-radius: var(--rc-radius-card);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); padding: 4px 20px 14px; scroll-margin-top: 16px; min-width: 0;
}
.rc-card > h3:first-child, .rc-card > a:first-child > h3 { margin: 14px 0 10px; font-size: 1.15rem; line-height: 1.28; padding-bottom: 10px; border-bottom: 1px solid var(--rc-rule); }
.rc-card > a:first-child { color: inherit; text-decoration: none; }
.rc-card figure { margin: 14px -20px; }
.rc-card figure img { border-radius: 0; width: 100%; }
.rc-card figcaption { padding: 0 20px; }
.rc-card .rc-card-fact { margin: 0; padding: 7px 12px; background: var(--rc-surface); border-bottom: 1px solid var(--rc-rule); font-size: 0.95rem; }
.rc-card .rc-card-fact + :not(.rc-card-fact) { margin-top: 12px; }
.rc-card .rc-card-pros, .rc-card .rc-card-cons { padding: 6px 0 6px 12px; border-left: 3px solid; }
.rc-card .rc-card-pros { border-color: var(--rc-pro); }
.rc-card .rc-card-pros strong { color: var(--rc-pro); }
.rc-card .rc-card-cons { border-color: var(--rc-con); }
.rc-card .rc-card-cons strong { color: var(--rc-con); }
@media (max-width: 599px) { .rc-card { padding-inline: 14px; } .rc-card figure { margin-inline: -14px; } .rc-card figcaption { padding: 0 14px; } }

/* ---------- hub ledger ---------- */
.rc-hub-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--rc-size-sm); color: var(--rc-muted); margin: 0 0 18px; }
.rc-hub-stats b { font-family: var(--rc-font-mono); color: var(--rc-ink); font-weight: 600; }
.rc-hub-block { margin: 0 0 8px; }
.rc-hub-block > :not(.rc-compare):not(.rc-compare-note) { max-width: var(--rc-measure); }
.rc-hub-block > h2:first-child { margin-top: 24px; }
.rc-compare { margin: 10px 0 10px; }
.rc-compare table { font-size: var(--rc-size-sm); }
.rc-compare tbody th { font-weight: 650; color: var(--rc-ink); }
.rc-compare small { display: block; font-size: var(--rc-size-xs); font-weight: 400; color: var(--rc-muted); }
.rc-compare-note { font-size: var(--rc-size-xs); color: var(--rc-muted); line-height: 1.45; margin: 6px 0; }
@media (max-width: 767px) { .rc-compare table { min-width: 760px; } }
.rc-quicknav { margin: 14px 0; }
.rc-quicknav h3 { margin: 0 0 4px; }
.rc-quicknav ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.rc-quicknav li { border: 0; }
.rc-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 0; }
.rc-filter[hidden] { display: none; }
.rc-filter input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; min-height: var(--rc-tap); padding: 0 12px; border: 1px solid var(--rc-muted); border-radius: var(--rc-radius); }
.rc-filter-types { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-filter button { font: 600 var(--rc-size-xs) var(--rc-font); min-height: 36px; padding: 0 12px; border: 1px solid var(--rc-rule-strong); border-radius: 999px; background: var(--rc-bg); color: var(--rc-ink-2); cursor: pointer; }
.rc-filter button[aria-pressed="true"] { background: var(--rc-ink); border-color: var(--rc-ink); color: #fff; }
.rc-filter output { font: var(--rc-size-xs) var(--rc-font-mono); color: var(--rc-muted); margin-left: auto; }
.rc-ledger td:first-child { color: var(--rc-muted); font-family: var(--rc-font-mono); font-size: 0.78rem; width: 1%; }
.rc-ledger td.rc-title a { color: var(--rc-ink); text-decoration: none; font-weight: 550; }
.rc-ledger td.rc-title a:hover { color: var(--rc-link); text-decoration: underline; }
.rc-ledger .rc-title-meta { display: none; }
@media (max-width: 767px) {
  .rc-filter button { min-height: var(--rc-tap); }
  /* the hub ledger reflows to two columns instead of scrolling: the title cell carries type + date */
  .rc-scroll--ledger { overflow: visible; max-height: none; background: none; }
  .rc-scroll--ledger table { min-width: 0; }
  .rc-scroll--ledger th:first-child, .rc-scroll--ledger td:first-child { display: none; }
  .rc-scroll--ledger .rc-col-type, .rc-scroll--ledger .rc-col-pub { display: none; }
  .rc-scroll--ledger td.rc-title { position: static; max-width: none; box-shadow: none; }
  .rc-ledger td.rc-title a { display: block; padding: 4px 0; }
  .rc-ledger .rc-title-meta { display: flex; gap: 8px; margin-top: 3px; align-items: center; }
}

/* ---------- static pages ---------- */
.rc-page { max-width: var(--rc-measure); }
.rc-form-slot:empty { display: none; }
.rc-about-hero { margin: 0 0 8px; }
.rc-about-hero h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.rc-updated { display: inline-block; margin: 0 0 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--rc-rule-strong); font-size: var(--rc-size-xs); color: var(--rc-brand); font-weight: 600; }
.rc-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.rc-steps li { position: relative; padding-left: 40px; margin: 0; }
.rc-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--rc-brand); color: #fff; font: 700 0.85rem var(--rc-font); }
.rc-steps h4 { margin: 2px 0 2px; }
.rc-steps p { margin: 0; color: var(--rc-ink-2); }
.rc-bios { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rc-bio { border: 1px solid var(--rc-rule); border-radius: var(--rc-radius-card); padding: 16px 18px; }
.rc-bio img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; float: left; margin: 0 14px 6px 0; }
.rc-bio h3 { margin: 4px 0 0; }
.rc-bio-role { color: var(--rc-brand); font-weight: 600; font-size: var(--rc-size-sm); }
.rc-bio p:last-child { clear: both; }
.rc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.rc-stats div { border: 1px solid var(--rc-rule); border-radius: var(--rc-radius); padding: 12px 14px; background: var(--rc-surface); }
.rc-stats dt { font: 750 1.5rem/1.1 var(--rc-font); color: var(--rc-ink); }
.rc-stats dd { margin: 4px 0 0; color: var(--rc-muted); font-size: var(--rc-size-sm); }
.rc-checks { list-style: none; padding: 0; }
.rc-checks li { display: flex; gap: 10px; }
.rc-checks .rc-icon { margin-top: 0.3em; }
.example-banner { background: #fff3cd; border: 1px solid #e0c36a; padding: .7rem 1rem; margin: 1rem 0; font-size: .9rem; }
.post-hero { margin: 0 0 22px; }
.post-hero img { width: 100%; border-radius: 6px; display: block; }
.post-hero figcaption { font-size: var(--rc-size-xs); color: var(--rc-muted); margin-top: 6px; }

/* ---------- footer ---------- */
.rc-foot { border-top: 1px solid var(--rc-rule); background: var(--rc-surface); font-size: var(--rc-size-sm); color: var(--rc-ink-2); }
.rc-foot .rc-shell { padding-block: 28px 36px; }
.rc-foot-disclosure { max-width: 80ch; margin: 0 0 18px; }
.rc-foot h2 { margin: 0 0 6px; font-size: var(--rc-size-xs); }
.rc-foot-disclosure p { margin: 0 0 8px; }
.rc-foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0 0 6px; }
.rc-foot nav a { color: var(--rc-ink-2); display: inline-flex; align-items: center; min-height: var(--rc-tap); }
.rc-foot .footer-social a { min-width: var(--rc-tap); justify-content: center; }
.rc-foot .copyright { margin: 6px 0 0; }
.rc-foot small { color: var(--rc-muted); }

/* ---------- card calculator (/tools/card-calculator) ---------- */
.rc-prose:has(> .rc-calc) { max-width: none; }
.rc-calc { max-width: 100%; }
.rc-calc h1 {
  margin-top: 8px;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 760;
}
.rc-calc .rc-byline { margin-top: 0; }
.rc-calc-lead { max-width: var(--rc-measure); }
.rc-calc > section > h2 {
  border-top: 0;
  padding-top: 0;
  margin: 36px 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--rc-ink);
}
.rc-calc #how-to-read-this {
  max-width: none;
  margin: 8px 0 8px;
  padding: 2px 18px 8px;
  background: var(--rc-surface);
  border: 1px solid var(--rc-rule);
  border-radius: var(--rc-radius-card);
}
.rc-calc #how-to-read-this h2 { border-bottom: 0; margin-bottom: 8px; }
.rc-calc #how-to-read-this p { max-width: 75ch; }
.rc-calc-asof { font-size: var(--rc-size-sm); color: var(--rc-ink-2); background: var(--rc-mark); padding: 8px 12px; border-radius: var(--rc-radius); margin: 0; }
.rc-calc-fee { font-size: 1.02rem; margin: 10px 0 0; }
.rc-calc-fee strong { font-family: var(--rc-font-mono); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.rc-calc-quote { color: var(--rc-ink-2); font-size: var(--rc-size-sm); margin: 8px 0 0; }
.rc-calc-quote q { quotes: "“" "”"; }
.rc-calc-hint { font-size: var(--rc-size-sm); color: var(--rc-muted); margin: 0 0 12px; }
.rc-calc-note, .rc-calc-welcome {
  font-size: var(--rc-size-sm); color: var(--rc-ink-2);
  margin: 0 0 10px; padding: 10px 12px;
  background: var(--rc-surface); border-radius: var(--rc-radius);
  border-left: 3px solid var(--rc-rule-strong);
}
.rc-calc-welcome { border-left-color: var(--rc-brand); }
.rc-prose .rc-calc fieldset { border: 0; margin: 0 0 16px; padding: 0; min-inline-size: 0; }
.rc-prose .rc-calc legend {
  float: none; width: 100%; padding: 0; margin: 0 0 10px;
  font-size: 1.05rem; font-weight: 720; letter-spacing: -0.01em;
}
.rc-calc-tiles { display: flex; flex-direction: column; gap: 8px; }
/* Pills are labels. .rc-prose label is display:block with a bottom margin, and .rc-prose input
   gives every control a 44px min-height plus padding. Both win over a single class in WebKit
   and pin the radio to the top-left. These rules are more specific and draw the radio ourselves. */
.rc-prose .rc-calc-pick {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
  box-sizing: border-box; width: 100%; min-height: 48px; margin: 0; padding: 10px 16px;
  line-height: 1.2; border: 1px solid var(--rc-rule-strong); border-radius: 999px;
  background: #fff; color: var(--rc-ink); box-shadow: none;
  cursor: pointer; font-weight: 600;
}
.rc-prose .rc-calc-pick:has(input:checked) {
  border-color: var(--rc-ink); background: var(--rc-ink); color: #fff;
}
.rc-prose .rc-calc-pick:has(input:focus-visible) { outline: 2px solid var(--rc-focus); outline-offset: 2px; }
.rc-prose .rc-calc-pick input[type="radio"] {
  -webkit-appearance: none; appearance: none;
  display: block; position: static; flex: 0 0 18px; align-self: center;
  box-sizing: border-box; width: 18px; height: 18px; min-width: 18px; min-height: 18px; max-height: 18px;
  margin: 0; padding: 0; overflow: visible; clip: auto; clip-path: none;
  border: 2px solid var(--rc-rule-strong); border-radius: 50%;
  background-color: transparent; background-image: none; background-repeat: no-repeat; background-position: center;
  box-shadow: none; color: inherit; vertical-align: middle;
}
.rc-prose .rc-calc-pick input[type="radio"]:checked {
  border-color: #fff;
  background-image: radial-gradient(circle, #fff 0 3.5px, transparent 4px);
}
.rc-prose .rc-calc-pick .rc-calc-pick-name {
  margin: 0; padding: 0; line-height: 1.2; font-weight: 650; color: inherit; min-width: 0;
}
.rc-calc-stage { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rc-calc-panels { min-width: 0; }
.rc-calc-panel-head { margin: 0 0 12px; }
.rc-calc-rows { display: grid; gap: 10px; }
.rc-calc-row {
  border: 1px solid var(--rc-card-rule); border-radius: var(--rc-radius-card);
  background: var(--rc-card-bg); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  padding: 12px 14px; margin: 0;
}
.rc-calc-row:has(input[type="checkbox"]:checked) {
  border-color: var(--rc-brand);
  background: color-mix(in srgb, var(--rc-brand) 5%, var(--rc-card-bg));
}
.rc-calc-row-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; }
.rc-prose .rc-calc-check {
  display: flex; align-items: center; gap: 12px;
  min-height: var(--rc-tap); margin: 0; padding: 0; flex: 1 1 220px;
  font-weight: 550; cursor: pointer;
}
.rc-prose .rc-calc-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 46px; height: 28px; min-height: 28px; padding: 0; margin: 0; flex: none;
  border: 1px solid var(--rc-rule-strong); border-radius: 999px;
  background: var(--rc-surface-2); position: relative; cursor: pointer;
}
.rc-prose .rc-calc-check input[type="checkbox"]::before {
  content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--rc-bg);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.22);
  transition: transform 120ms ease;
}
.rc-prose .rc-calc-check input[type="checkbox"]:checked { background: var(--rc-brand); border-color: var(--rc-brand); }
.rc-prose .rc-calc-check input[type="checkbox"]:checked::before { transform: translateX(18px); }
.rc-calc-check-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rc-calc-name { display: block; font-weight: 720; color: var(--rc-ink); line-height: 1.3; }
.rc-calc-face {
  display: inline-flex; align-items: center; align-self: flex-start;
  margin-top: 2px; padding: 1px 8px; border-radius: 999px;
  background: var(--rc-chip-bg); color: var(--rc-chip-fg);
  font-family: var(--rc-font-mono); font-size: var(--rc-size-xs); font-weight: 650; letter-spacing: 0;
}
.rc-prose .rc-calc-amt, .rc-prose .rc-calc-pts { display: block; margin: 0; font-weight: 600; flex: 0 1 220px; min-width: min(100%, 200px); }
.rc-calc-row:not(:has(input[type="checkbox"]:checked)) .rc-calc-amt { display: none; }
.rc-calc-amt-label { display: block; margin: 0 0 6px; font-size: var(--rc-size-sm); font-weight: 650; color: var(--rc-ink-2); }
.rc-calc-money {
  display: flex; align-items: center; min-height: var(--rc-tap); max-width: 100%;
  border: 1px solid var(--rc-rule-strong); border-radius: var(--rc-radius); background: var(--rc-bg);
}
.rc-calc-money:focus-within { outline: 2px solid var(--rc-focus); outline-offset: 2px; }
.rc-calc-prefix { padding-left: 12px; color: var(--rc-muted); font-family: var(--rc-font-mono); font-weight: 650; }
.rc-prose .rc-calc-money input {
  display: block; width: 100%; min-width: 0; max-width: none; margin: 0;
  border: 0; background: transparent; box-shadow: none;
  min-height: 42px; padding: 8px 12px 8px 6px; font-weight: 550;
  font-family: var(--rc-font-mono);
}
.rc-prose .rc-calc-money input:focus { outline: none; }
.rc-prose .rc-calc-money input:disabled { color: var(--rc-muted); }
.rc-prose .rc-calc-details {
  margin: 8px 0 0; border: 0; background: transparent; border-radius: 0;
}
.rc-prose .rc-calc-details summary {
  display: flex; align-items: center; min-height: var(--rc-tap); width: fit-content; max-width: 100%;
  padding: 0 2px; margin: 0; list-style-position: outside;
  font-size: var(--rc-size-sm); font-weight: 650; color: var(--rc-link); cursor: pointer;
}
.rc-prose .rc-calc-details summary:hover { color: var(--rc-link-hover); }
.rc-prose .rc-calc-details > .rc-calc-details-body { padding: 0 0 4px 1.2em; }
.rc-calc-details-body p { margin: 0 0 8px; font-size: var(--rc-size-sm); color: var(--rc-ink-2); }
.rc-calc-aside-list { margin: 8px 0 16px; }
.rc-prose .rc-calc-aside-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rc-calc-plain {
  margin: 0; padding: 12px 14px;
  border: 1px dashed var(--rc-rule-strong); border-radius: var(--rc-radius-card); background: var(--rc-surface);
}
.rc-calc-plain .rc-calc-name { margin: 0; }
.rc-calc-plain .rc-calc-face { margin-top: 6px; }
.rc-calc-points {
  margin: 4px 0 0; padding: 14px;
  border: 1px solid var(--rc-card-rule); border-radius: var(--rc-radius-card); background: var(--rc-card-bg);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.rc-calc-points .rc-calc-hint { margin: 8px 0 0; }
.rc-prose .rc-calc-clear {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--rc-tap); margin: 14px 0 0; padding: 0 16px;
  border: 1px solid var(--rc-rule-strong); border-radius: var(--rc-radius);
  background: var(--rc-bg); color: var(--rc-ink); font-weight: 650; cursor: pointer;
  box-shadow: none;
}
.rc-prose .rc-calc-clear:hover { border-color: var(--rc-ink); background: var(--rc-surface); }
.rc-calc-out {
  border: 1px solid var(--rc-card-rule); border-top: 3px solid var(--rc-ink);
  border-radius: var(--rc-radius-card); background: var(--rc-card-bg);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 28px rgba(16, 24, 40, 0.06);
  padding: 0 0 12px; margin: 0;
}
.rc-calc-metrics { padding: 14px 14px 4px; }
.rc-calc-out h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 1.15rem; }
.rc-calc-dl { display: grid; gap: 0; margin: 12px 0 8px; border: 1px solid var(--rc-rule); border-radius: var(--rc-radius); overflow: hidden; }
.rc-calc-dl div {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 0; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--rc-rule); border-radius: 0; background: transparent;
}
.rc-calc-dl dt { margin: 0; min-width: 0; font-size: var(--rc-size-xs); font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rc-muted); }
.rc-calc-dl dd { margin: 0; flex: none; white-space: nowrap; font-family: var(--rc-font-mono); font-size: 1.02rem; font-weight: 650; color: var(--rc-ink); text-align: right; }
.rc-calc-dl .rc-calc-net { display: block; background: var(--rc-surface); border-bottom: 0; padding: 12px; }
.rc-calc-net dt { color: var(--rc-ink); }
.rc-calc-net dd { margin-top: 2px; font-size: clamp(1.7rem, 4vw, 2.15rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 750; text-align: left; }
.rc-calc-narrative { padding: 0 14px 4px; }
.rc-calc-sentence { margin: 0; font-size: 0.98rem; color: var(--rc-ink-2); }
.rc-calc-notes { margin: 8px 0 0; padding-left: 1.15em; font-size: var(--rc-size-sm); color: var(--rc-ink-2); }
.rc-calc-notes[hidden] { display: none; }
.rc-calc-compare-note { font-size: var(--rc-size-sm); color: var(--rc-muted); max-width: 75ch; }
.rc-calc-compare { display: grid; gap: 12px; }
.rc-calc-cmp {
  border: 1px solid var(--rc-card-rule); border-radius: var(--rc-radius-card);
  background: var(--rc-card-bg); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  padding: 14px 14px 12px; min-width: 0; display: flex; flex-direction: column; gap: 4px;
}
.rc-calc-cmp--low { border-color: var(--rc-brand); box-shadow: 0 0 0 1px var(--rc-brand); }
.rc-calc-low {
  align-self: flex-start; margin: 0 0 6px; padding: 2px 8px; border-radius: 999px;
  background: var(--rc-brand); color: var(--rc-brand-ink);
  font-size: var(--rc-size-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.rc-calc-low[hidden] { display: none; }
.rc-calc-cmp h3 { margin: 0; font-size: 1.12rem; }
.rc-calc-cmp-issuer { margin: 0; font-size: var(--rc-size-xs); color: var(--rc-muted); font-weight: 650; }
.rc-calc-cmp .rc-calc-asof { margin-top: 6px; }
.rc-calc-cmp-dl { display: grid; gap: 0; margin: 8px 0; }
.rc-calc-cmp-dl div { padding: 7px 0; border-bottom: 1px solid var(--rc-rule); }
.rc-calc-cmp-dl div:last-child { border-bottom: 0; }
.rc-calc-cmp dt { font-size: var(--rc-size-xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--rc-muted); }
.rc-calc-cmp dd { margin: 0; font-family: var(--rc-font-mono); font-weight: 650; }
.rc-calc-cmp-net { order: -1; padding-bottom: 10px !important; margin-bottom: 2px; }
.rc-calc-cmp-net dd { font-size: 1.65rem; line-height: 1.1; letter-spacing: -0.03em; font-weight: 750; }
.rc-calc-cmp--low .rc-calc-cmp-net dd { color: var(--rc-brand); }
.rc-calc-cmp-link { margin: 4px 0 0; text-wrap: pretty; }
.rc-calc .rc-scroll { overflow: visible; max-height: none; background: none; max-width: 100%; }
.rc-calc .rc-scroll table { min-width: 0; }
.rc-calc input, .rc-calc summary, .rc-calc button { scroll-margin-top: 150px; scroll-margin-bottom: 24px; }
@media (min-width: 1024px) {
  .rc-grid:has(.rc-calc) { align-items: start; }
  .rc-grid:has(.rc-calc) .rc-aside { position: sticky; top: 16px; }
}
@media (min-width: 900px) {
  .rc-calc-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: 22px; align-items: start; }
  .rc-calc-panels { grid-column: 1; grid-row: 1; }
  .rc-calc-out {
    grid-column: 2; grid-row: 1;
    position: sticky; top: 16px;
    max-height: calc(100vh - 32px); overflow: auto;
  }
}
@media (max-width: 899px) {
  /* The result wrapper drops out of the box tree so the number bar can stick
     for the whole credit list, which is a sibling, not a child of the card. */
  .rc-calc-out { display: contents; }
  .rc-calc-metrics {
    order: 1; position: sticky; top: 0; z-index: 5;
    padding: 8px 12px 10px;
    background: var(--rc-card-bg);
    border: 1px solid var(--rc-card-rule); border-top: 3px solid var(--rc-ink);
    border-radius: var(--rc-radius-card);
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
  }
  .rc-calc-narrative { order: 2; padding: 0; }
  .rc-calc-panels { order: 3; }
  .rc-calc-out h2 { font-size: 1rem; margin: 0 0 4px; }
  .rc-calc-metrics .rc-calc-asof { display: none; }
  .rc-calc-dl { margin: 0; border: 0; }
  .rc-calc-dl div { padding: 5px 0; }
  .rc-calc-dl .rc-calc-net {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 6px 0 0; background: transparent;
  }
  .rc-calc-net dd { margin-top: 0; font-size: 1.4rem; text-align: right; }
  .rc-calc input, .rc-calc summary, .rc-calc button { scroll-margin-top: 200px; }
}
@media (min-width: 800px) {
  .rc-calc-compare { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rc-prose .rc-calc-clear { width: 100%; }
  .rc-calc .rc-scroll th:first-child, .rc-calc .rc-scroll td:first-child { position: static; max-width: none; box-shadow: none; }
  .rc-calc .rc-scroll table, .rc-calc .rc-scroll tbody, .rc-calc .rc-scroll tr, .rc-calc .rc-scroll th, .rc-calc .rc-scroll td { display: block; width: auto; }
  .rc-calc .rc-scroll thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rc-calc .rc-scroll tr { padding: 10px 0; border-bottom: 1px solid var(--rc-rule); }
  .rc-calc .rc-scroll td, .rc-calc .rc-scroll th { border-bottom: 0; padding: 2px 0; }
  .rc-calc .rc-scroll td::before, .rc-calc .rc-scroll th::before {
    content: attr(data-label);
    display: block;
    font-family: var(--rc-font);
    font-size: var(--rc-size-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rc-muted);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rc-prose .rc-calc-check input[type="checkbox"]::before { transition: none; }
}

/* Long-post Contents button. Fixed, so it does not push the disclosure or any ad. Hidden until it clears both. */
.rc-jump {
  position: fixed; left: 12px; bottom: 12px; z-index: 25; width: max-content; max-width: calc(100vw - 24px);
  visibility: hidden; pointer-events: none;
}
html.rc-js .rc-jump.rc-jump-clear { visibility: visible; pointer-events: auto; }
.rc-jump-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--rc-tap); min-width: var(--rc-tap);
  padding: 0 14px; border: 1px solid var(--rc-rule-strong); border-radius: 999px; background: var(--rc-bg); color: var(--rc-ink);
  font: 650 0.95rem var(--rc-font); box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12); cursor: pointer; list-style: none;
}
.rc-jump-btn::-webkit-details-marker { display: none; }
.rc-jump-panel {
  position: absolute; left: 0; bottom: calc(100% + 8px); width: min(280px, calc(100vw - 24px));
  max-height: min(46vh, 320px); overflow: auto; overscroll-behavior: contain;
  background: var(--rc-bg); border: 1px solid var(--rc-rule-strong); border-radius: var(--rc-radius);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14); padding: 8px 12px 10px;
}
.rc-jump:not([open]) .rc-jump-panel { display: none; }
.rc-jump .rc-toc a { min-height: var(--rc-tap); display: flex; align-items: center; }
@media (min-width: 1024px) { .rc-jump { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .rc-jump, .rc-jump-panel, .rc-scroll { scroll-behavior: auto; }
}

/* Contact form. These rules stay last so a later page style cannot reveal the notices or the honeypot.
   Notices use display:none until :target (no JS) or .is-shown, so they take no space.
   The honeypot stays in the DOM but is positioned off-screen, outside the layout. */
.rc-prose.rc-page:has(#rc-contact-form) { max-width: none; }
#rc-contact-form { position: relative; width: 100%; max-width: none; margin: 0; overflow-x: clip; }
#rc-contact-form .rcf-field { margin: 0 0 8px; }
#rc-contact-form .rcf-field label { color: var(--rc-ink); font-weight: 650; margin: 0 0 3px; }
#rc-contact-form .rcf-opt { color: var(--rc-muted); font-weight: 450; font-size: var(--rc-size-sm); }
#rc-contact-form .rcf-field input,
#rc-contact-form textarea {
  display: block; width: 100%; max-width: 100%; box-sizing: border-box;
  background: var(--rc-bg); color: var(--rc-ink);
  border: 1px solid var(--rc-rule-strong); border-radius: var(--rc-radius);
}
#rc-contact-form textarea { min-height: 0; height: auto; resize: vertical; }
#rc-contact-form .rcf-field input:focus-visible,
#rc-contact-form textarea:focus-visible {
  outline: 2px solid var(--rc-focus); outline-offset: 2px; border-color: var(--rc-focus);
}
#rc-contact-form .rcf-captcha { margin: 2px 0 8px; width: 164px; max-width: 100%; min-height: 144px; line-height: 0; }
#rc-contact-form .h-captcha,
#rc-contact-form .h-captcha iframe { max-width: 100%; }
#rc-contact-form .rcf-submit { margin: 4px 0 0; }
#rc-contact-form .rcf-submit[disabled] { opacity: 0.6; cursor: progress; }
#rc-contact-form .rcf-status { min-height: 0; margin: 4px 0 0; color: var(--rc-muted); font-size: var(--rc-size-sm); }
#rc-contact-form .rcf-status:empty { display: none !important; margin: 0 !important; }
#rc-contact-form .rcf-notice:not(:target):not(.is-shown) { display: none !important; margin: 0 !important; padding: 0 !important; }
#rc-contact-form .rcf-notice:target,
#rc-contact-form .rcf-notice.is-shown {
  display: block !important; margin: 0 0 10px; padding: 8px 12px; border-radius: var(--rc-radius);
  background: var(--rc-surface); color: var(--rc-ink);
}
#rc-contact-form .rcf-notice--ok { border-left: 4px solid var(--rc-pro); }
#rc-contact-form .rcf-notice--err { border-left: 4px solid var(--rc-con); }
#rc-contact-form .rcf-notice a { color: inherit; }
#rc-contact-form .rcf-hp {
  position: absolute !important; left: -10000px !important; top: 0 !important;
  width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important;
  overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important;
  border: 0 !important; opacity: 0 !important; pointer-events: none !important;
}
#rc-contact-form .rcf-hp label,
#rc-contact-form .rcf-hp input {
  position: absolute !important; width: 1px !important; height: 1px !important;
  min-height: 0 !important; max-width: 1px !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; opacity: 0 !important; appearance: none !important; pointer-events: none !important;
}
@media (max-width: 599px) {
  #rc-contact-form .rcf-submit { width: 100%; }
}
