/* ReferralCommons — modern warm-neutral identity.
   Near-white paper, deep green-black ink, forest-green anchoring surfaces
   (hero, footer), a single restrained gold accent in the hero. Manrope for
   display, Inter for UI/body. Hairline rows instead of boxes; pill buttons;
   character through typography, spacing rhythm, and restraint. */

:root {
  --bg: #fdfdfc;
  --bg-subtle: #f5f5f3;
  --bg-warm: #f0f0ed;
  --ink: #1d2724;
  --ink-2: #5a6560;
  --ink-3: #929b99;
  --line: #e6e5e0;
  --line-soft: #eeedea;
  --brand: #1e6b58;
  --gold-warm: #c99a3c;
  --brand-ink: #14503f;
  --brand-bg: #e6efe8;
  --pop: #e2593d;
  --pop-ink: #c04a31;
  --pop-bg: #fdeeea;
  --live: #1e9e58;
  --live-bg: #eaf7f0;
  --live-line: #c9e9d6;
  --gold: #b98a1f;
  --danger: #d24a33;
  --danger-bg: #fdeeea;
  --dark: #14312a;
  --dark-2: #1c4237;
  --dark-ink: #eef4f3;
  --dark-ink-2: #9fb6b3;
  --dark-line: rgba(255, 255, 255, 0.12);
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --shadow-xs: 0 1px 2px rgba(40, 38, 30, 0.04);
  --shadow-sm: 0 1px 3px rgba(40, 38, 30, 0.05), 0 6px 16px -8px rgba(40, 38, 30, 0.06);
  --shadow-md: 0 4px 12px -4px rgba(40, 38, 30, 0.08), 0 16px 32px -12px rgba(40, 38, 30, 0.1);
  --shadow-pop: 0 8px 20px rgba(14, 27, 26, 0.12);
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --wrap: 1080px;
  --narrow: 700px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
::selection { background: var(--brand-bg); color: var(--brand-ink); }
:root { accent-color: var(--brand); }
body { -webkit-tap-highlight-color: transparent; }
p { text-wrap: pretty; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}


/* ---------- primitives ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
/* Vertical rhythm: any top-level content section breathes; bands keep their
   own padding, and wraps nested inside bands are excluded by the child
   selector. Without this, bare `.wrap` pages (about, blog, draw) start hard
   against the header and end hard against the footer. */
main > .wrap {
  padding-top: clamp(2.75rem, 5.5vw, 4.25rem);
  padding-bottom: clamp(2.75rem, 5.5vw, 4.25rem);
}
main > .wrap + .wrap { padding-top: 0; }
.page-narrow { max-width: var(--narrow); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1rem; }

a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--brand); }

code { font-family: var(--mono); font-weight: 600; font-size: 0.88em; }

.muted { color: var(--ink-2); }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-2);
  margin: 0 0 0.9rem;
}
.eyebrow a { text-decoration: none; color: var(--brand-ink); }
.eyebrow a:hover { text-decoration: underline; }

.lede {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 36em;
  margin-bottom: 1.9rem;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0 0 1.4rem;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  padding: 0 1.3rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 100ms ease, box-shadow 120ms ease, background-color 120ms ease, border-color 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn.is-copied {
  background: var(--live-bg);
  border-color: var(--live-line);
  color: var(--live);
}
.btn-primary {
  background: linear-gradient(180deg, #27775f 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 107, 88, 0.3);
  transition: transform 130ms ease, box-shadow 130ms ease, filter 130ms ease;
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(30, 107, 88, 0.38);
}
.btn-ghost {
  background: var(--bg);
  color: var(--brand-ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { background: var(--brand-bg); border-color: var(--brand); }
.btn-pop {
  background: var(--pop);
  color: #fff;
  box-shadow: var(--shadow-pop);
}
.btn-pop:hover { background: #ec6448; box-shadow: var(--shadow-md); }
.btn-sm { height: 2.3rem; font-size: 0.9rem; padding: 0 1rem; }
.btn-big { height: 3.2rem; font-size: 1.08rem; padding: 0 1.9rem; }

.link-quiet {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
  cursor: pointer;
  transition: color 120ms ease;
}
.link-quiet:hover { color: var(--brand-ink); text-decoration-color: var(--brand); }

.link-danger { color: var(--danger); text-decoration-color: currentColor; }

/* ---------- status pills ---------- */

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  vertical-align: 2px;
}
.dot-live { background: var(--live); }

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  color: var(--ink-2);
}
.sticker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
}
.sticker-live {
  background: var(--live-bg);
  border-color: var(--live-line);
  color: var(--live);
}
.sticker-live::before { background: var(--live); }
.sticker-warn {
  background: #fff6e6;
  border-color: #f6dca0;
  color: #b45309;
}
.sticker-warn::before { background: #d97706; }

/* ---------- header / footer ---------- */

.error-page {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
}
.error-page .hero-actions { justify-content: center; }
.error-code {
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.5rem;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: top 120ms ease;
}
.skip-link:focus { top: 0.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 253, 252, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand span { color: var(--brand); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a[aria-current="page"] {
  color: var(--brand-ink);
  font-weight: 700;
}
.site-nav a[aria-current="page"]:not(.btn)::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--brand);
  margin-top: 2px;
}
.site-nav a { font-size: 0.95rem; font-weight: 700; text-decoration: none; color: var(--ink-2); transition: color 120ms ease; }
.site-nav a:hover { color: var(--brand-ink); }
.site-nav .btn { color: #fff; }

.site-footer {
  background: var(--dark);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: 3.5rem 0;
  font-size: 0.92rem;
  color: var(--dark-ink-2);
}
.site-footer .brand { color: #fff; }
.site-footer .muted { color: var(--dark-ink-2); }
.site-footer a { color: var(--dark-ink); }
.site-footer a:hover { text-decoration-color: var(--gold-warm); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
.brand-footer { margin-bottom: 0.5rem; font-size: 1.2rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.9rem; }
.footer-nav a { text-decoration: none; font-weight: 700; }
.footer-nav a:hover { text-decoration: underline; }
.footer-disclosure { margin: 0; }

/* ---------- flash messages ---------- */

.flash {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-subtle);
  box-shadow: var(--shadow-xs);
  padding: 0.85rem 1.1rem;
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.flash-error { background: var(--danger-bg); border-color: #f3c4b8; color: var(--danger); }
.flash-success { background: var(--live-bg); border-color: var(--live-line); color: var(--brand-ink); }

/* ---------- hero: dark anchoring panel ---------- */

.hero {
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% -25%, rgba(201, 154, 60, 0.16) 0%, rgba(201, 154, 60, 0) 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--dark-ink);
}
.hero h1 { color: #ffffff; }
.hero-copy { max-width: 46rem; margin: 0 auto; }
.hero-copy h1 { margin-left: auto; margin-right: auto; }
.hero-copy h1 .accent { color: #efc568; }
.hero .lede { margin-left: auto; margin-right: auto; color: var(--dark-ink-2); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e6c37a;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.hero .btn-ghost {
  border-color: var(--dark-line);
  color: var(--dark-ink);
  background: rgba(255, 255, 255, 0.04);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.25); }
.hero-fineprint { font-size: 0.92rem; color: var(--dark-ink-2); margin-top: 1.5rem; }
.hero-stats {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.stat-chip {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 8.5rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.stat-chip strong {
  font-variant-numeric: tabular-nums;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}
.stat-chip span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark-ink-2);
}

/* ---------- section bands (rhythm) ---------- */

.band {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.band + .band { border-top: none; }
.band-warm { background: var(--bg-warm); }

/* ---------- value band (why swap): open editorial steps, no boxes ---------- */

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4vw, 3rem); }
.value-item {
  text-align: left;
  padding: 0.5rem 0;
  position: relative;
}
.value-item .value-num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  opacity: 0.3;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.value-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.value-item p { margin: 0; color: var(--ink-2); font-size: 0.96rem; line-height: 1.6; }

/* ---------- program tiles ---------- */

section.wrap { margin-top: clamp(3.25rem, 7vw, 5rem); }
.band + section.wrap, section.wrap:has(+ .band) { margin-top: 0; }

/* Utility: reliable hide that beats any component display rule. The
   `hidden` attribute does NOT work here — author display rules override
   the UA's [hidden] style, which is exactly the bug this replaced. */
.is-hidden { display: none !important; }

/* ---------- shared program bits (label, logo, popular badge) ---------- */

.tile-logo {
  height: 1.9rem;
  max-width: 10rem;
  object-fit: contain;
  object-position: left center;
}
.tile-popular {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pop-ink);
  background: var(--pop-bg);
  border-radius: 999px;
  padding: 0.24rem 0.6rem;
  white-space: nowrap;
}
.tile-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- homepage ranked board ---------- */

.board-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.board-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  padding: 1.7rem 1.7rem 1.7rem;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.board-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.board-card-first {
  border-color: var(--brand-bg);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  box-shadow: var(--shadow-md);
}
.board-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.board-rank {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink-3);
}
.board-card-first .board-rank { color: var(--gold); }
.board-card h3 { margin: 0; font-size: 1.3rem; }
.board-card h3 a { text-decoration: none; color: var(--ink); }
.board-card h3 a:hover { color: var(--brand-ink); }
.board-note { margin: 0.35rem 0 0; font-size: 0.92rem; color: var(--ink-2); flex: 1; }
.board-stats {
  display: flex;
  gap: 1.4rem;
  margin: 1rem 0 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-2);
  font-weight: 600;
}
.board-stat strong {
  font-variant-numeric: tabular-nums;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
.board-stat.is-live strong { color: var(--live); }
.board-cta { width: 100%; }

.board-rows { border-top: 1px solid var(--line); }
.board-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  border-top: 1px solid var(--line-soft);
}
.board-row { border-top: none; border-bottom: 1px solid var(--line-soft); transition: background-color 140ms ease; }
.board-row:hover { background: var(--bg-subtle); }
.board-row-rank { font-size: 0.85rem; font-weight: 800; color: var(--ink-3); width: 2rem; flex-shrink: 0; }
.board-row-name { flex: 1 1 auto; display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; min-width: 0; }
.board-row-name a { font-weight: 700; text-decoration: none; color: var(--ink); }
.board-row-name a:hover { color: var(--brand-ink); }
.board-row-live { font-size: 0.85rem; font-weight: 700; color: var(--ink-3); display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.board-row-live.is-live { color: var(--live); }

@media (max-width: 760px) {
  .board-featured { grid-template-columns: 1fr; }
  .board-row { flex-wrap: wrap; }
  .board-row-name { flex-basis: 100%; order: -1; margin-left: 1.2rem; }
  .board-row-rank { flex-shrink: 0; }
}

/* ---------- programs directory list ---------- */

.plist { border-top: 1px solid var(--line); }
.prow {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--line-soft);
  transition: background-color 140ms ease;
}
.prow { border-top: none; border-bottom: 1px solid var(--line-soft); }
.prow:hover { background: var(--bg-subtle); }
.prow-main { flex: 1 1 auto; min-width: 0; }
.prow-title { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.prow-logo { height: 1.5rem; max-width: 7rem; object-fit: contain; }
.prow-name { font-size: 1.05rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.prow-name:hover { color: var(--brand-ink); }
.prow-note { margin: 0.3rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.prow-live { font-size: 0.85rem; font-weight: 700; color: var(--ink-3); display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.prow-live.is-live { color: var(--live); }
.filter-status { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); margin: 0 0 1rem; }

@media (max-width: 680px) {
  .prow { flex-wrap: wrap; gap: 0.6rem 1rem; }
  .prow-main { flex-basis: 100%; }
}

/* ---------- filter bar (programs index) ---------- */

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 2rem;
}
.filter-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.filter-tab {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-2);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}
.filter-tab:hover { border-color: var(--brand); color: var(--brand-ink); }
.filter-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.filter-count {
  font-size: 0.78rem;
  opacity: 0.7;
  margin-left: 0.15rem;
}
.filter-search { flex: 0 1 16rem; min-width: 12rem; }
.filter-search input {
  font: inherit;
  font-size: 0.92rem;
  width: 100%;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--shadow-xs);
}
.filter-search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-bg);
}
.filter-empty { color: var(--ink-2); margin: 2.5rem 0; text-align: center; }

/* ---------- homepage program section head ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.section-head .section-title { margin-bottom: 0.25rem; }
.section-lede { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.section-lede a { font-weight: 700; }
.browse-all-row { margin-top: 1.75rem; text-align: center; }

/* ---------- posts ---------- */

.post-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.post-row {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 0.95rem 1.4rem;
  border-top: 1px solid var(--line-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: background-color 120ms ease;
}
.post-row:first-child { border-top: none; }
.post-row:hover { background: var(--bg-subtle); }
.post-row-title { font-weight: 700; color: var(--ink); }
.kind-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pop);
  font-weight: 800;
}
.post-body { max-width: var(--narrow); }
.post-body h2 { margin-top: 2.5rem; }

.inline-code {
  font-family: var(--mono);
  font-weight: 700;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
}
.inline-code-link, .code-fallback {
  font-weight: 700;
  color: var(--brand-ink);
  text-decoration-color: var(--brand);
}
.code-missing {
  font-style: italic;
  color: var(--ink-3);
}
/* Article house-referral links read like any normal prose link — the whole
   point is that the monetized link is indistinguishable to the reader. */
.post-body .ref-link,
.post-body .draw-link {
  color: var(--brand-ink);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 2px;
}

/* ---------- the reveal ---------- */

.reveal {
  /* The draw is the site's signature moment. A soft live-green wash and a
     gentle ring make it feel like a small win — warmth, not a stripe. */
  position: relative;
  border: 1px solid var(--live-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 50% 0%, var(--live-bg) 0%, var(--bg) 55%);
  box-shadow: var(--shadow-md);
  padding: clamp(2.25rem, 5vw, 3.25rem) 2rem;
  margin: 2.25rem 0 1.5rem;
  text-align: center;
  animation: reveal-in 300ms ease-out;
}

.reveal-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-ink);
  margin-bottom: 1.5rem;
}
.reveal-serial {
  font-family: var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink-3); font-weight: 600; text-transform: none; letter-spacing: 0; margin-left: 0.6em; color: var(--ink-3); }
.reveal-code {
  display: block;
  font-size: clamp(1.5rem, 4.6vw, 2.4rem);
  font-weight: 800;
  color: var(--live);
  overflow-wrap: anywhere;
  line-height: 1.3;
  margin: 0 auto 1.9rem;
  max-width: 92%;
  letter-spacing: -0.01em;
}
.reveal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.reveal-hint {
  font-size: 0.86rem;
  color: var(--ink-2);
  margin: -1.1rem 0 1.4rem;
}
.reveal-foot {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.4rem;
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(6px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.draw-form { margin: 2.25rem 0; }
.empty-state,
.empty-pool {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  padding: 2.25rem 1.5rem;
  text-align: center;
  margin: 2.25rem 0;
}
.empty-pool p { color: var(--ink-2); }

.fair-note {
  font-size: 0.88rem;
  color: var(--ink-2);
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 2.25rem 0 1.5rem;
}

/* ---------- forms ---------- */

.stacked-form { display: flex; flex-direction: column; gap: 1.3rem; margin: 2rem 0; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 500; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field select,
.field textarea {
  font: inherit;
  font-size: 0.92rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  width: 100%;
  box-shadow: var(--shadow-xs);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-bg);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
/* Django renders validation errors as <ul class="errorlist"> */
.errorlist {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--danger);
}
.field-check { flex-direction: row; align-items: center; gap: 0.55rem; font-size: 0.9rem; }
.hint { font-size: 0.82rem; color: var(--ink-3); margin: 0; }
.inline-form { display: inline; }

/* ---------- manage page ---------- */

.manage-link-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  box-shadow: var(--shadow-xs);
  padding: 1.3rem 1.5rem;
  margin: 2rem 0 2.25rem;
  font-size: 0.92rem;
}
.copy-row { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; margin-top: 0.8rem; }
.manage-url {
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  color: var(--ink-2);
  flex: 1 1 16rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
}

.code-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  margin: 2rem 0;
}
.code-row { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line-soft); }
.code-row:first-child { border-top: none; }
.code-row-dead { background: var(--bg-subtle); color: var(--ink-3); }
.code-row-head {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}
.code-row-head .muted { margin-left: auto; font-size: 0.82rem; }
.tag-format {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
}
.code-row-form { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.code-row-form input {
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: inherit;
  flex: 1 1 14rem;
  box-shadow: var(--shadow-xs);
}
.code-row-form input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}
.code-row-actions { display: flex; gap: 1.25rem; margin-top: 0.7rem; font-size: 0.86rem; }

.impact-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  margin: 1.75rem 0 0.75rem;
  overflow: hidden;
}
.impact-strip div {
  flex: 1;
  padding: 0.9rem 1.4rem;
  border-left: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}
.impact-strip div:first-child { border-left: none; }
.impact-strip dt { font-size: 0.76rem; color: var(--ink-3); font-weight: 500; }
.impact-strip dd { margin: 0; order: -1; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }

.banner-nudge {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: var(--radius);
  padding: 0.85rem 1.2rem;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

/* ---------- misc content ---------- */

.facts {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  font-size: 0.95rem;
  background: var(--bg);
}
.facts tr { border-top: 1px solid var(--line-soft); }
.facts tr:first-child { border-top: none; }
.facts tr:nth-child(odd) { background: var(--bg-subtle); }
.facts th, .facts td {
  text-align: left;
  padding: 0.9rem 1.4rem;
  vertical-align: top;
  font-weight: 400;
}
.facts th {
  width: 11rem;
  color: var(--ink-2);
  font-weight: 700;
  white-space: nowrap;
}
.verified { font-size: 0.85rem; color: var(--ink-3); }

.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
  color: var(--ink);
  padding: 2.25rem 2.5rem;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: left;
  box-shadow: var(--shadow-xs);
}
.cta-band strong { font-size: 1.25rem; font-weight: 800; }
.cta-band .btn-primary { background: var(--pop); color: #fff; }
.cta-band .btn-primary:hover { background: var(--pop-ink); }

/* ---------- welcome-back banner ---------- */

.banner-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  border: 1px solid var(--brand);
  background: var(--brand-bg);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.6rem;
  font-size: 1rem;
}
.banner-welcome strong { display: block; margin-bottom: 0.15rem; font-size: 1.1rem; color: var(--brand-ink); }

/* ---------- activity timeline ---------- */

.timeline { position: relative; padding-left: 1.8rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-bottom: 1.25rem;
  font-size: 0.98rem;
  font-weight: 600;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.8rem;
  top: 0.35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-subtle);
}
.timeline-item.is-drawn::before { background: var(--live); }
.timeline-time { color: var(--ink-3); font-size: 0.85rem; font-weight: 600; margin-left: 0.5rem; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 42rem; }
.faq-item { border-top: 1px solid var(--line); padding: 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 500;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 300;
  color: var(--ink-3);
  font-size: 1.3rem;
  margin-left: 1rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 0 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  max-width: 42em;
}

/* ---------- leaderboard: podium (homepage teaser) ---------- */

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.podium-item {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1rem 1.7rem;
}
.podium-first {
  padding-top: 2.1rem;
  padding-bottom: 2.1rem;
  border: 1.5px solid var(--gold);
  background: var(--bg-subtle);
  box-shadow: var(--shadow-sm);
}
.podium-rank {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink-3);
  display: block;
  margin-bottom: 0.45rem;
}
.podium-first .podium-rank { color: var(--gold); }
.podium-name { font-weight: 800; font-size: 1.05rem; display: block; margin-bottom: 0.3rem; }
.podium-first .podium-name { font-size: 1.25rem; }
.podium-serves { font-size: 0.88rem; font-weight: 700; color: var(--brand-ink); }

.leader-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.leader-row:first-child { border-top: none; }
.leader-rank { font-weight: 800; font-size: 0.9rem; width: 2.2rem; flex-shrink: 0; color: var(--ink-3); }
.leader-name { font-weight: 700; color: var(--ink); flex: 1 1 auto; }
.leader-serves { white-space: nowrap; font-weight: 700; color: var(--brand-ink); }

@media (max-width: 640px) {
  .podium { grid-template-columns: 1fr; }
  .podium-first { order: -1; }
}

/* ---------- content: spotlight + post cards ---------- */

.spotlight {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  box-shadow: var(--shadow-xs);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}
.spotlight:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); transition: transform 140ms ease, box-shadow 140ms ease; }
.spotlight-quote {
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0.6rem 0 0;
  color: var(--ink);
}
.spotlight-body p { margin: 0; }
.spotlight-excerpt { color: var(--ink-2); font-size: 1rem; margin-top: 1rem; }
.spotlight-cta { display: inline-block; margin-top: 1.25rem; font-size: 1rem; font-weight: 800; color: var(--brand-ink); }
.spotlight-aside {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.spotlight-aside dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800; color: var(--ink-3); }
.spotlight-aside dd { margin: 0 0 0.9rem; font-size: 0.95rem; font-weight: 600; color: var(--ink-2); }

@media (max-width: 720px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-aside { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.5rem; flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-xs);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 120ms ease, border-color 120ms ease;
}
.post-card:hover { box-shadow: var(--shadow-sm); border-color: #d4d4d4; }
.post-card h3 { margin: 0.5rem 0 0.5rem; font-size: 1.02rem; }
.post-card p { margin: 0; font-size: 0.88rem; flex: 1; }
.post-card-date { font-size: 0.8rem; margin-top: 1rem; }

.section-subtitle {
  color: var(--ink-2);
  font-size: 0.92rem;
  margin: -0.9rem 0 1.5rem;
}
.see-more { margin-top: 1rem; font-size: 0.9rem; }
.cta-band-sub { color: var(--ink-2); font-size: 0.98rem; font-weight: 600; margin: 0.35rem 0 0; }



.owner-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.25rem 0 1.25rem;
}
.owner-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.owner-table th {
  text-align: left;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: var(--bg-subtle);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--line);
}
.owner-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: baseline;
  font-variant-numeric: tabular-nums;
}
.owner-table tr:last-child td { border-bottom: none; }
.owner-inline-add { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.4rem 0; }
.owner-inline-add input, .owner-inline-add select {
  font: inherit;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-xs);
}
.owner-row-actions { display: flex; gap: 1rem; }

/* ---------- responsive & a11y ---------- */

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .post-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .facts th, .facts td { display: block; width: auto; padding: 0.4rem 1.2rem; }
  .facts th { padding-top: 0.9rem; padding-bottom: 0; border: none; }
  .facts td { padding-bottom: 0.9rem; }
  .code-row-head .muted { margin-left: 0; }
  .site-nav { gap: 1rem; }
  .nav-secondary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .btn, .link-quiet, .post-row, .field input, .field select, .field textarea,
  .board-card, .prow, .spotlight, .post-card { transition: none; }
}

/* ---------- program page: related guides ---------- */
.related-posts { margin-top: 2.5rem; }
.related-list { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.related-list li { padding: 0.55rem 0; border-top: 1px solid var(--line-soft); }
.related-list li:first-child { border-top: none; }
.related-list a { font-weight: 700; }

/* ---------- owner: revenue-gap panel ---------- */
.owner-panel { margin: 2.5rem 0; }
.owner-panel h2 { margin-bottom: 0.4rem; }
.owner-panel > .muted { margin: 0 0 1rem; font-size: 0.9rem; }

/* ---------- draw page: close-the-loop note ---------- */
.loop-note {
  font-size: 0.9rem;
  color: var(--ink-2);
  background: var(--bg-subtle);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  margin: 0 0 1.4rem;
  text-align: left;
}


/* ---------- focus-visible: consistent keyboard focus rings ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }

/* ---------- buttons: pressed feedback ---------- */
.btn:active { transform: translateY(1px); }

/* ---------- article typography: make guides a pleasure to read ---------- */
.post-body { font-size: 1.04rem; line-height: 1.75; }
.post-body > p:first-of-type {
  font-size: 1.14rem;
  color: var(--ink-2);
}
.post-body h2 {
  padding-top: 0.6rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.post-body p + p { margin-top: 1.1em; }


/* ---------- editorial kickers ---------- */
.kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.45rem;
}

/* ---------- scroll-reveal motion ----------
   JS adds .js-motion to <html>; only then are [data-animate] elements
   initially shifted, so the page is fully visible with JS disabled.
   IntersectionObserver adds .in-view to play the entrance. */
.js-motion [data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms ease;
}
.js-motion [data-animate].in-view { opacity: 1; transform: none; }
.js-motion [data-animate].delay-1 { transition-delay: 90ms; }
.js-motion [data-animate].delay-2 { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ---------- draw page: per-program referral terms ---------- */
.draw-terms {
  margin: 2rem 0 1.25rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-subtle);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  text-align: left;
}
.draw-terms-title { font-size: 1.02rem; margin-bottom: 0.7rem; }
.draw-terms dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; }
.draw-terms dt { font-size: 0.82rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; padding-top: 0.15rem; }
.draw-terms dd { margin: 0; font-size: 0.94rem; color: var(--ink-2); }
.draw-terms .hint { margin-top: 0.8rem; }
@media (max-width: 560px) { .draw-terms dl { grid-template-columns: 1fr; gap: 0.15rem; } .draw-terms dd { margin-bottom: 0.6rem; } }

/* ---------- pool-restricted programs ---------- */
.pool-restricted {
  margin: 2rem 0;
  padding: 1.5rem 1.6rem;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: left;
}
.pool-restricted h2 { font-size: 1.2rem; }

/* ---------- bonuses page ---------- */
.bonus-table { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.bonus-row { padding: 1.2rem 0.2rem; border-bottom: 1px solid var(--line-soft); }
.bonus-name { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
.bonus-flag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.1rem 0.55rem; margin-left: 0.5rem; vertical-align: middle;
}
.bonus-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; font-size: 0.94rem; color: var(--ink-2); }
.bonus-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-bottom: 0.15rem; }
.bonus-meta { font-size: 0.85rem; color: var(--ink-3); margin-top: 0.5rem; }
@media (max-width: 620px) { .bonus-cells { grid-template-columns: 1fr; gap: 0.7rem; } }

/* ---------- manage: notify toggle ---------- */
.notify-toggle { margin: 0.6rem 0 0.9rem; }

/* FTC affiliate disclosure (renders once any program has an affiliate link) */
.footer-affiliate {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--dark-ink-2);
}

/* ---------- query-intent pages ---------- */
.answer-box {
  margin: 1.4rem 0 1.8rem;
  padding: 1.3rem 1.5rem;
  background: var(--bg-subtle);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.answer-box p { margin: 0 0 0.7rem; font-size: 1.02rem; }
.answer-box p:last-child { margin-bottom: 0; }
.answer-box .hint { font-size: 0.86rem; color: var(--ink-3); }
.query-links { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.query-links ul { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.query-links li { padding: 0.35rem 0; }
.query-links a { font-weight: 600; }

/* Owner dashboard: a panel that needs attention */
.owner-panel-alert {
  border-left: 3px solid var(--gold);
  background: var(--bg-subtle);
}
