@import "./geist-fonts.css";
@import "./rob-macabre-5-6-25.css";

/*
 * docs/_shared/public-theme.css — Archive editorial theme (public Pages)
 *
 * Canonical OKLCH tokens: ``rob-macabre-5-6-25.css`` (v0 export).
 * Opt-in via `<html data-public-theme="archive">`. Pair with charts.css.
 */

html[data-public-theme="archive"] {
  /*
   * Stonewall semantic aliases → Rob Macabre 5.6.25 (--rm-*).
   * UF undertone discipline preserved in composition (ember primary, teal ring).
   */
  --paper-deep: var(--rm-background, #0d1117);
  --paper: var(--rm-card, #1a1f2e);
  --paper-shadow: var(--rm-popover, #1e2333);
  --ink: var(--rm-foreground, #ebe5dc);
  --ink-deep: #eee9e1;
  --muted: var(--rm-muted-foreground, #9e9890);
  --muted-soft: #2e2a24;
  /*
   * Macabre ember pass (5.13.26d) — Tennessee-burnt with verve.
   *
   * Operator note on the live render: "a little more pop, a little
   * more verve in that burnt orange, not creamsicle or full UT, but
   * something in that direction." Pushed each step a notch hotter
   * and more saturated so the wordmark and CTAs read with punch
   * while the family stays burnt (no pale creamsicle drift).
   *
   * The --rm-primary canonical token stays untouched (it's the v0
   * source of truth); the Stonewall semantic aliases below override.
   * --accent-warm carries the wordmark and the warm CTA gradient
   * endpoint; that's the one that reads first, so it gets the
   * biggest bump.
   */
  --accent: #d9601a;
  --accent-warm: #ea721c;
  --accent-bright: #fa8a30;
  --accent-soft: rgba(234, 114, 28, 0.18);
  --navy: #2b4470;
  --navy-mid: #293e65;
  --navy-soft: rgba(46, 74, 122, 0.42);
  --navy-glow: rgba(72, 184, 176, 0.28);
  --line: var(--rm-border, rgba(235, 229, 220, 0.10));
  --line-strong: rgba(184, 92, 47, 0.38);
  --line-navy: rgba(72, 184, 176, 0.42);
  --card: rgba(26, 31, 46, 0.94);
  --card-strong: var(--rm-popover, #1e2333);
  --ring: var(--rm-ring, #48b8b0);
  --teal: var(--rm-accent, #48b8b0);
  --teal-ink-strong: #50bab2;
  --teal-ink: #5cb0a8;
  --teal-ink-soft: #6aa89e;
  --teal-wash: rgba(72, 184, 176, 0.12);
  /* Understated teal spritz — borders, glows, gradients (not body text). */
  --teal-sheen: rgba(72, 184, 176, 0.22);
  --teal-glow-ambient: rgba(72, 184, 176, 0.16);
  --teal-rim: rgba(72, 184, 176, 0.32);
  /* Named teal ramp + focus stacks (design parity with portal static page) */
  --teal-soft: rgba(72, 184, 176, 0.14);
  --teal-glow: rgba(72, 184, 176, 0.35);
  --line-teal: rgba(72, 184, 176, 0.42);
  --ring-teal: 0 0 0 2px #48b8b0, 0 0 0 4px rgba(72, 184, 176, 0.14);
  --glow-teal: 0 0 16px rgba(72, 184, 176, 0.35);
  --shadow-soft: var(--rm-shadow, 0 4px 24px 0 #05081a40);
  --shadow: 0 8px 40px rgba(10, 12, 24, 0.45);
  --shadow-strong: 0 16px 64px rgba(8, 10, 20, 0.55);
  --shadow-hover: var(--shadow-strong);
  --good: #48b8b0;
  --offline: #d96050;
  --grain-y: 0px;
  --font-ui: Geist, ui-sans-serif, system-ui, sans-serif;
  --font-serif: Newsreader, Georgia, ui-serif, serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

html[data-public-theme="archive"] body {
  color: var(--ink);
  font-family: var(--font-ui);
  /*
   * Macabre atmosphere unification pass (5.13.26c).
   *
   * Operator note on the live render: "leave the left alone, make
   * the right more like the left but still sophisticatedly different
   * enough to be high class and unique and luxurious." The left's
   * dark-navy-with-ember-candle reading was right; the prior teal
   * radial on the right broke the unity.
   *
   * New right-side stack rhymes with the left without copying it:
   *   - Teal radial removed entirely (it was the cold note).
   *   - Soft deep-navy gloss radial mirrors the LEFT's compositional
   *     weight in the same dark-navy register the left already
   *     reads as — leather-wing-back-chair-in-candlelight, not
   *     stadium-poster.
   *   - A tiny sherry/cognac whisper at very low alpha sits below
   *     the navy gloss so the right edge has a quiet luxurious
   *     signature — like the candle's reflection in dark walnut
   *     paneling on the far wall. Same warm family as the left
   *     candle, but cooler-deeper-more-distant so the two sides
   *     feel like one chamber, not two.
   *   - Linear floor unchanged (the left's "handsome dark navy"
   *     stays per operator instruction).
   */
  background:
    radial-gradient(ellipse 100% 70% at 8% -10%, rgba(220, 106, 28, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 48% at 96% 14%, rgba(38, 58, 95, 0.14), transparent 60%),
    radial-gradient(ellipse 38% 32% at 90% 32%, rgba(140, 70, 30, 0.05), transparent 70%),
    linear-gradient(180deg, #080a10 0%, #0d1117 50%, #050709 100%);
  min-height: 100vh;
}

/* Selection styling tracks the active theme via semantic tokens so it
   works on every public-theme variant rather than only `archive`. */
::selection {
  background: rgba(72, 184, 176, 0.42);
  color: var(--rm-foreground, currentColor);
}

/*
 * Global anchor reset — Phase 3 of the May 2026 visual unification.
 *
 * Before this rule, anchors that wrapped card components (.surface-card,
 * .route-tile, .daily-card) inherited the browser's default link chrome
 * (`color: -webkit-link` blue, `text-decoration: underline`) on iOS
 * Safari even when the card's inner h3/p had explicit color overrides.
 * The headlines on the hero "Four connected surfaces" tiles rendered as
 * dark-blue underlined text against the dark ground.
 *
 * The contract enforced here:
 *   - Anchors with no class (.prose-style, navigation, footer) carry
 *     the ember-bright accent color with a 3px underline offset.
 *   - Anchors with a class get color:inherit + text-decoration:none by
 *     default — the class is expected to provide its own chrome.
 *   - Public-mode banner copy keeps the explicit underlined treatment
 *     because the banner reads as prose, not chrome.
 *
 * This is a Phase-3 doctrine-level fix: any future card or button class
 * starts at zero-blue-underline by default. Phase 1.1's per-class reset
 * for .surface-card / .daily-card / .route-tile stays in place as a
 * defense-in-depth layer for the three classes most often rendered on
 * anchors.
 */
html[data-public-theme="archive"] a:not([class]) {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-color: rgba(160, 104, 48, 0.50);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

html[data-public-theme="archive"] a:not([class]):hover,
html[data-public-theme="archive"] a:not([class]):focus-visible {
  color: var(--ink-deep);
  text-decoration-color: var(--accent-bright);
}

html[data-public-theme="archive"] a[class] {
  color: inherit;
  text-decoration: none;
}

/* Prose container override — explicit re-underline for editorial copy
   blocks that opt in via .prose, .public-mode-banner__copy, or .footer
   inline link lists. These read as paragraph text, not chrome. */
html[data-public-theme="archive"] .prose a,
html[data-public-theme="archive"] .public-mode-banner__copy a,
html[data-public-theme="archive"] footer a,
html[data-public-theme="archive"] .content a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-color: rgba(160, 104, 48, 0.50);
  text-underline-offset: 3px;
}

html[data-public-theme="archive"] .prose a:hover,
html[data-public-theme="archive"] .public-mode-banner__copy a:hover,
html[data-public-theme="archive"] footer a:hover,
html[data-public-theme="archive"] .content a:hover {
  text-decoration-color: var(--accent-bright);
  color: var(--ink-deep);
}

/*
 * Gold-standard material tokens — Phase 4 of the May 2026 visual
 * unification. The benchmark page is docs/claude-insights.html (the
 * "engineering page"). Every public surface (hero, portal SPA,
 * showcase, insights, the engineering page itself) draws from these
 * tokens so the typographic rhythm, card chrome, and section
 * underlines read as one product. See PLAN.md → Phase 4 and
 * docs/_shared/ROB_MACABRE_TEAL.md for the design rationale.
 */
html[data-public-theme="archive"] {
  /* Material — radius scale. 22px = canonical card; 14px = chips,
     small surfaces; 8px = compact controls; 999px = full pill. */
  --gold-radius:        22px;
  --gold-radius-tight:  14px;
  --gold-radius-compact: 8px;

  /* Material — shadow scale. Baseline / hover lift / elite punctuation. */
  --gold-shadow:        0 14px 40px rgba(0, 0, 0, 0.34);
  --gold-shadow-hover:  0 24px 56px rgba(0, 0, 0, 0.40);
  --gold-shadow-elite:  0 24px 64px rgba(5, 8, 26, 0.42),
                        0 0 48px rgba(72, 184, 176, 0.16);

  /* Section-header underline gradient. Ember → teal → cool secondary.
     Render under any h2 by adding a 2px-tall ::after with this
     background and a 64px width that pops on hover. */
  --gold-underline-grad: linear-gradient(
    90deg,
    var(--accent-warm),
    #48b8b0,
    rgba(46, 74, 122, 0.75)
  );

  /* Typography — letter-spacing + reading-measure tokens lifted
     verbatim from docs/claude-insights.html so every surface adopts
     the benchmark page's rhythm. */
  --gold-eyebrow-spacing:   0.14em;
  --gold-headline-spacing:  -0.04em;
  --gold-section-spacing:   -0.03em;
  --gold-measure-body:      72ch;
  --gold-measure-lead:      58ch;

  /* Atmospheric punctuation — Tier C teal sprinkle for the metric
     ticker, daily-pattern card, and hero eyebrow rim. */
  --gold-rim:           inset 0 0 0 1px rgba(72, 184, 176, 0.32);
  --gold-rim-ember:     inset 3px 0 0 0 var(--accent-warm);
}

/* Atmospheric grid + grain (insights/showcase; index has its own layers) */
html[data-public-theme="archive"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(237, 228, 210, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 228, 210, 0.028) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 92%);
}

html[data-public-theme="archive"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.22  0 0 0 0 0.18  0 0 0 0 0.14  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' /></svg>");
  background-size: 240px 240px;
  transform: translate3d(0, var(--grain-y, 0), 0);
  transition: transform 60ms linear;
}

@media (prefers-reduced-motion: reduce) {
  html[data-public-theme="archive"] body::after {
    display: none;
  }
}

html[data-public-theme="archive"] .shell,
html[data-public-theme="archive"] main.shell {
  position: relative;
  z-index: 1;
}

html[data-public-theme="archive"] .shell a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

html[data-public-theme="archive"] header.shell nav,
html[data-public-theme="archive"] nav {
  position: relative;
  z-index: 3;
}

html[data-public-theme="archive"] .nav-brand {
  color: var(--accent-warm);
  font-family: var(--font-serif);
}

html[data-public-theme="archive"] .nav-links a,
html[data-public-theme="archive"] .nav-links button.nav-link {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 200ms ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

html[data-public-theme="archive"] .nav-links button.nav-link:hover,
html[data-public-theme="archive"] .nav-links a:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(72, 184, 176, 0.16);
}

html[data-public-theme="archive"] .nav-links button.nav-link.active,
html[data-public-theme="archive"] .nav-links a.active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent-soft), rgba(72, 184, 176, 0.16));
  box-shadow: inset 0 0 0 1px var(--line-navy), 0 0 36px rgba(72, 184, 176, 0.16);
}

html[data-public-theme="archive"] .nav-links a.nav-link--external {
  border: 1px solid var(--line-strong);
  color: var(--accent);
}

html[data-public-theme="archive"] .nav-links a.nav-link--external::after {
  content: " ↗";
  font-size: 11px;
  letter-spacing: 0;
}

html[data-public-theme="archive"] .nav-links a.nav-link--external:hover {
  background: var(--accent-soft);
  color: var(--ink-deep);
}

html[data-public-theme="archive"] .btn-ghost.nav-link--external {
  border-color: var(--line-strong);
  color: var(--accent);
}

html[data-public-theme="archive"] .btn-ghost.nav-link--external::after {
  content: " ↗";
  font-size: 11px;
  letter-spacing: 0;
}

html[data-public-theme="archive"] .btn-ghost.nav-link--external:hover {
  background: var(--accent-soft);
  color: var(--ink-deep);
}

html[data-public-theme="archive"] .nav-links a.nav-link--subdued {
  opacity: 0.55;
  font-size: 12px;
}

html[data-public-theme="archive"] .nav-links a.nav-link--subdued:hover {
  opacity: 1;
}

html[data-public-theme="archive"] header.shell::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(72, 184, 176, 0.22) 50%, transparent 95%);
  opacity: 0.75;
  pointer-events: none;
}

/* ── Full-screen drawer (public pages) ─────────────────────── */

html.public-drawer-open,
html.public-drawer-open body {
  overflow: hidden;
}

.public-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.public-drawer[hidden] {
  display: none;
}

.public-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(6px);
}

.public-drawer__panel {
  position: relative;
  width: min(100vw, 720px);
  max-width: 100%;
  height: 100%;
  background: linear-gradient(165deg, rgba(14, 18, 28, 0.98) 0%, rgba(6, 8, 14, 0.99) 100%);
  border-left: 1px solid var(--line-navy);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.55), -6px 0 56px rgba(72, 184, 176, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: publicDrawerIn 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes publicDrawerIn {
  from {
    transform: translateX(100%);
    opacity: 0.92;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-drawer__panel {
    animation: none;
  }
}

.public-drawer__chrome {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 31, 74, 0.25);
}

.public-drawer__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(232, 226, 212, 0.06);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.public-drawer__close:hover {
  background: rgba(72, 184, 176, 0.14);
  border-color: rgba(72, 184, 176, 0.35);
  color: #48b8b0;
}

.public-drawer__close:focus-visible {
  outline: 2px solid #48b8b0;
  outline-offset: 2px;
}

.public-drawer__title {
  flex: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.public-drawer__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 20px 22px 32px;
  -webkit-overflow-scrolling: touch;
}

.public-drawer__body .drawer-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 52ch;
}

.public-drawer__body .drawer-section {
  margin-top: 28px;
}

.public-drawer__body .drawer-section h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #50bab2;
  margin: 0 0 10px;
}

.public-drawer__body .drawer-section p,
.public-drawer__body .drawer-section li {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink);
  margin: 0 0 10px;
}

.public-drawer__body .drawer-section ul {
  margin: 0;
  padding-left: 1.15em;
}

.public-drawer__body .drawer-foot {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.public-drawer__body .drawer-foot a {
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: none;
}

.public-drawer__body .drawer-foot a:hover {
  text-decoration: underline;
}

/* Capabilities drawer — stat row + surface cards */
.public-drawer__body .drawer-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 4px;
  padding: 18px 16px;
  background: rgba(72, 184, 176, 0.12);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.public-drawer__body .drawer-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  min-width: 0;
}

.public-drawer__body .drawer-stat__num {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
}

.public-drawer__body .drawer-stat__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.public-drawer__body .drawer-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.public-drawer__body .drawer-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  min-height: 96px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  border-radius: 10px;
  /*
   * Defensive link reset. The capabilities drawer hosts six anchors
   * styled as cards; if any page-level CSS (or a future cascade-wins
   * media-query rule) lets default underline or inherited link color
   * pass through, the drawer collapses into a wall of underlined
   * link prose. Lock every interaction state to the card chrome.
   */
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.public-drawer__body .drawer-card,
.public-drawer__body .drawer-card:visited,
.public-drawer__body .drawer-card:link,
.public-drawer__body .drawer-card:hover,
.public-drawer__body .drawer-card:focus,
.public-drawer__body .drawer-card:focus-visible,
.public-drawer__body .drawer-card:active {
  text-decoration: none;
  color: inherit;
}

.public-drawer__body .drawer-card:hover,
.public-drawer__body .drawer-card:focus-visible {
  border-color: var(--accent-bright);
  background: rgba(201, 107, 60, 0.06);
  transform: translateY(-1px);
}

.public-drawer__body .drawer-card:focus-visible {
  outline: 2px solid #48b8b0;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(72, 184, 176, 0.14);
}

.public-drawer__body .drawer-card__kicker {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #50bab2;
  font-weight: 600;
}

.public-drawer__body .drawer-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.public-drawer__body .drawer-card__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.public-drawer__body .drawer-card__open {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-bright);
}

@media (max-width: 540px) {
  .public-drawer__body {
    padding: 18px 18px 28px;
  }
  .public-drawer__body .drawer-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .public-drawer__body .drawer-stat__num {
    font-size: 24px;
  }
  .public-drawer__body .drawer-cards {
    gap: 14px;
  }
  .public-drawer__body .drawer-card {
    padding: 18px 20px;
    min-height: 104px;
    border-radius: 12px;
  }
  .public-drawer__body .drawer-card__title {
    font-size: 17px;
  }
  .public-drawer__body .drawer-card__body {
    font-size: 14px;
  }
  .public-drawer__body .drawer-card__open {
    font-size: 12.5px;
  }
}

/* Hero codex tiles */
html[data-public-theme="archive"] .hero-codex {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  max-width: 520px;
}

@media (max-width: 520px) {
  html[data-public-theme="archive"] .hero-codex {
    grid-template-columns: 1fr;
  }
}

html[data-public-theme="archive"] .hero-codex__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(14, 31, 74, 0.28);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-align: left;
  /*
   * Anchors keep the same chrome as the original ``<button>`` —
   * reset the underline and inherited color so the codex tile reads
   * as a tile, not a link in disguise.
   */
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  appearance: none;
  -webkit-appearance: none;
}

html[data-public-theme="archive"] .hero-codex__btn,
html[data-public-theme="archive"] .hero-codex__btn:hover,
html[data-public-theme="archive"] .hero-codex__btn:focus,
html[data-public-theme="archive"] .hero-codex__btn:visited,
html[data-public-theme="archive"] .hero-codex__btn:active {
  text-decoration: none;
  color: var(--ink);
}

html[data-public-theme="archive"] .hero-codex__btn:hover,
html[data-public-theme="archive"] .hero-codex__btn:focus-visible {
  border-color: var(--line-navy);
  background: rgba(192, 69, 26, 0.1);
  transform: translateY(-1px);
  outline: none;
}

html[data-public-theme="archive"] .hero-codex__btn span:first-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5cb0a8;
}

html[data-public-theme="archive"] .hero-codex__btn span:last-child {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-deep);
}

html[data-public-theme="archive"] .surface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 720px) {
  html[data-public-theme="archive"] .surface-grid {
    grid-template-columns: 1fr;
  }
}

html[data-public-theme="archive"] .surface-card {
  border-radius: 14px;
  padding: 22px;
}

html[data-public-theme="archive"] h1,
html[data-public-theme="archive"] h2,
html[data-public-theme="archive"] h3 {
  color: var(--ink-deep);
  font-family: var(--font-serif);
}

html[data-public-theme="archive"] .subtitle,
html[data-public-theme="archive"] .section p {
  color: var(--muted);
}

html[data-public-theme="archive"] .card,
html[data-public-theme="archive"] .arch-flow {
  background: var(--card);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

html[data-public-theme="archive"] .card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

html[data-public-theme="archive"] .card h3 {
  color: var(--ink);
}

html[data-public-theme="archive"] .card p {
  color: var(--muted);
}

html[data-public-theme="archive"] code {
  font-family: var(--font-mono);
  background: rgba(237, 228, 210, 0.06);
  color: var(--ink);
}

html[data-public-theme="archive"] .badge {
  background: rgba(84, 193, 135, 0.12);
  color: #48b8b0;
}

html[data-public-theme="archive"] footer {
  border-top-color: var(--line);
  color: var(--muted);
}

html[data-public-theme="archive"] footer a {
  color: var(--accent-bright);
}

html[data-public-theme="archive"] footer a:hover {
  color: var(--accent-warm);
}

/* Insights page components */
html[data-public-theme="archive"] .signal-card {
  background: linear-gradient(145deg, rgba(22, 18, 14, 0.96) 0%, rgba(12, 10, 8, 0.98) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-strong);
}

html[data-public-theme="archive"] .signal-kicker {
  color: var(--accent-bright);
}

html[data-public-theme="archive"] .signal-headline {
  color: var(--ink);
}

html[data-public-theme="archive"] .signal-copy {
  color: var(--muted);
}

html[data-public-theme="archive"] .signal-cta,
html[data-public-theme="archive"] .insights-cta {
  color: #5cb0a8;
}

html[data-public-theme="archive"] .signal-cta:hover,
html[data-public-theme="archive"] .insights-cta:hover {
  color: #50bab2;
}

html[data-public-theme="archive"] .metric-card,
html[data-public-theme="archive"] .stat,
html[data-public-theme="archive"] .panel {
  background: var(--card);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

html[data-public-theme="archive"] .metric-card:hover,
html[data-public-theme="archive"] .stat:hover,
html[data-public-theme="archive"] .panel:hover {
  box-shadow: var(--shadow), 0 0 36px rgba(72, 184, 176, 0.16);
}

html[data-public-theme="archive"] .metric-card strong,
html[data-public-theme="archive"] .stat-num {
  color: var(--ink);
}

html[data-public-theme="archive"] .metric-card span,
html[data-public-theme="archive"] .stat-lbl,
html[data-public-theme="archive"] .metric-trail {
  color: var(--muted);
}

html[data-public-theme="archive"] .panel-head h2 {
  color: var(--ink);
}

html[data-public-theme="archive"] .panel-head p {
  color: var(--muted);
}

html[data-public-theme="archive"] .panel-head .panel-tag {
  color: var(--accent-bright);
  background: var(--accent-soft);
}

html[data-public-theme="archive"] .insights-tempo-legend {
  color: var(--muted);
}

/* Showcase SVG architecture */
html[data-public-theme="archive"] .arch-node {
  fill: rgba(20, 16, 13, 0.95);
  stroke: var(--accent-warm);
}

html[data-public-theme="archive"] .arch-node-group:hover .arch-node {
  fill: var(--accent-soft);
}

html[data-public-theme="archive"] .arch-node-label {
  fill: var(--ink);
}

html[data-public-theme="archive"] .arch-node-sub {
  fill: var(--muted);
}

html[data-public-theme="archive"] .arch-edge {
  stroke: var(--accent);
  opacity: 0.45;
}

html[data-public-theme="archive"] .arch-particle {
  fill: var(--accent-bright);
}

/* Buttons — showcase + shared patterns */
html[data-public-theme="archive"] .btn,
html[data-public-theme="archive"] .btn-ghost,
html[data-public-theme="archive"] .btn-accent {
  cursor: pointer;
  font-family: inherit;
}

html[data-public-theme="archive"] button.btn,
html[data-public-theme="archive"] button.btn-ghost,
html[data-public-theme="archive"] button.btn-accent {
  font-family: inherit;
}

html[data-public-theme="archive"] .btn {
  background: linear-gradient(180deg, #2a221c 0%, #1a1410 100%);
  color: var(--ink-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

html[data-public-theme="archive"] .btn:hover {
  border-color: var(--line-strong);
}

html[data-public-theme="archive"] .btn-accent {
  background: linear-gradient(180deg, var(--accent-warm), var(--accent));
  color: #130b07;
  border-color: rgba(240, 144, 80, 0.45);
  box-shadow: 0 12px 32px rgba(196, 90, 40, 0.28);
}

html[data-public-theme="archive"] .btn-accent:hover {
  filter: brightness(1.05);
}

html[data-public-theme="archive"] .btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(237, 228, 210, 0.04);
  backdrop-filter: blur(8px);
}

html[data-public-theme="archive"] .btn-ghost:hover {
  background: rgba(237, 228, 210, 0.08);
  border-color: var(--line-strong);
}

html[data-public-theme="archive"] .sticky-cta {
  background: linear-gradient(180deg, var(--accent-warm), var(--accent));
  color: var(--rm-primary-foreground, #0d1117);
  border-radius: var(--rm-radius, 0.625rem);
}

/* Chart primitives on dark public pages */
html[data-public-theme="archive"] {
  --chart-accent: var(--rm-chart-1);
  --chart-accent-warm: var(--rm-chart-4);
  --chart-good: #48b8b0;
  --chart-axis: rgba(160, 104, 48, 0.26);
  --chart-grid: rgba(235, 229, 220, 0.06);
  --chart-tick: var(--muted);
  --chart-spark: var(--rm-chart-1);
  --chart-edge: rgba(130, 90, 60, 0.50);
  --chart-node-fill: #0f1520;
  --chart-node-stroke: rgba(160, 104, 48, 0.72);
  --chart-series-1: var(--rm-chart-1);
  --chart-series-2: var(--rm-chart-2);
  --chart-series-3: var(--rm-chart-3);
  --chart-series-4: var(--rm-chart-4);
  --chart-series-5: var(--rm-chart-5);
}

html[data-public-theme="archive"] .chart-force-node:hover circle,
html[data-public-theme="archive"] .chart-force-node:focus circle {
  filter: drop-shadow(0 4px 14px rgba(196, 90, 40, 0.35));
}

html[data-public-theme="archive"] .legend-swatch--patterns {
  background: var(--rm-chart-3);
}

html[data-public-theme="archive"] .bar-fill {
  background: linear-gradient(90deg, var(--chart-accent), var(--accent-bright));
}

html[data-public-theme="archive"] .bar-fill--accent {
  background: linear-gradient(90deg, var(--rm-chart-3), var(--rm-chart-1));
}

html[data-public-theme="archive"] .cat-stack-fill {
  background: linear-gradient(180deg, var(--accent-bright), var(--chart-accent));
}

/* ── Landing (docs/index.html) — layout overrides ─────────── */

html[data-public-theme="archive"] .nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

html[data-public-theme="archive"] .status-badge {
  border: 1px solid var(--line);
  background: rgba(237, 228, 210, 0.04);
  color: var(--muted);
}

html[data-public-theme="archive"] .status-badge.connected {
  background: rgba(84, 193, 135, 0.12);
  color: #48b8b0;
}

html[data-public-theme="archive"] .status-badge.connected .status-dot {
  background: #48b8b0;
  box-shadow: 0 0 0 3px rgba(84, 193, 135, 0.2);
}

html[data-public-theme="archive"] .status-badge.offline {
  background: rgba(226, 96, 80, 0.12);
  color: var(--offline);
}

html[data-public-theme="archive"] .status-badge.offline .status-dot {
  background: var(--offline);
}

html[data-public-theme="archive"] .hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 40px;
  min-height: auto;
  padding: 40px 0 28px;
}

html[data-public-theme="archive"] .hero::before {
  display: none;
}

html[data-public-theme="archive"] .hero-eyebrow {
  border-radius: 6px;
  background: rgba(237, 228, 210, 0.045);
  border-color: var(--line);
  color: var(--accent-bright);
  box-shadow: inset 0 0 0 1px rgba(72, 184, 176, 0.32);
}

html[data-public-theme="archive"] .hero h1 {
  color: var(--accent-warm);
  font-size: clamp(52px, 7.3vw, 96px);
  letter-spacing: 0;
  max-width: 10ch;
  font-family: var(--font-serif);
}

html[data-public-theme="archive"] .hero-tagline {
  color: var(--ink);
  letter-spacing: 0.02em;
  font-family: var(--font-ui);
}

html[data-public-theme="archive"] .hero-sub {
  color: var(--muted);
  max-width: 56ch;
  margin: 22px 0 24px;
}

html[data-public-theme="archive"] .hero-actions {
  align-items: center;
  margin-bottom: 32px;
}

html[data-public-theme="archive"] .hero-motto {
  color: var(--accent-bright);
  font-family: var(--font-serif);
}

html[data-public-theme="archive"] .metric-ticker {
  border-radius: 8px;
  border-color: var(--line);
  background: rgba(20, 16, 13, 0.78);
  box-shadow: inset 0 0 0 1px rgba(72, 184, 176, 0.32);
  gap: 8px 12px;
  padding: 10px 12px;
}

html[data-public-theme="archive"] .metric strong {
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 23px);
  font-family: var(--font-serif);
}

html[data-public-theme="archive"] .metric span {
  font-size: 10px;
  font-family: var(--font-ui);
}

html[data-public-theme="archive"] .archive-screen {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line-navy);
  box-shadow: 0 12px 56px rgba(72, 184, 176, 0.16);
}

html[data-public-theme="archive"] .archive-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 228, 210, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 228, 210, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

html[data-public-theme="archive"] .screen-bar,
html[data-public-theme="archive"] .screen-grid,
html[data-public-theme="archive"] .screen-chain,
html[data-public-theme="archive"] .screen-graph {
  position: relative;
  z-index: 1;
}

html[data-public-theme="archive"] .screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-ui);
}

html[data-public-theme="archive"] .screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

html[data-public-theme="archive"] .mini-card,
html[data-public-theme="archive"] .route-tile,
html[data-public-theme="archive"] .daily-card,
html[data-public-theme="archive"] .graph-panel {
  border-radius: 8px;
}

html[data-public-theme="archive"] .mini-card {
  min-height: 78px;
  border: 1px solid var(--line);
  background: rgba(237, 228, 210, 0.035);
  padding: 14px;
}

html[data-public-theme="archive"] .mini-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-ui);
}

html[data-public-theme="archive"] .mini-card strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  /* Macabre tweak (5.13.26): every mini-card numeral paints in ember,
     not just the first card. Mirrors the screenshot where Artifacts /
     Matters / Patterns / Cast all read in burnt-orange Newsreader. */
  color: var(--accent-warm);
}

html[data-public-theme="archive"] .screen-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: rgba(237, 228, 210, 0.025);
  border-radius: 8px;
  padding: 12px 10px;
}

html[data-public-theme="archive"] .screen-chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--accent-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-ui);
}

html[data-public-theme="archive"] .screen-arrow {
  color: #6aa89e;
  font-size: 14px;
}

html[data-public-theme="archive"] .screen-graph {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  margin-top: 14px;
}

html[data-public-theme="archive"] .graph-panel {
  min-height: 168px;
  border: 1px solid var(--line);
  background: rgba(237, 228, 210, 0.035);
  padding: 14px;
}

html[data-public-theme="archive"] .graph-title {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-ui);
}

html[data-public-theme="archive"] .node-map::before,
html[data-public-theme="archive"] .node-map::after {
  background: rgba(80, 112, 170, 0.48);
}

html[data-public-theme="archive"] .node {
  border: 1px solid var(--accent);
  background: #ede4d2;
  color: #1a100b;
  box-shadow: 0 0 0 5px rgba(196, 90, 40, 0.08);
}

/* Macabre tempo (5.13.26): repaint the default bar in canonical
   ember (was a stale olive→rust step). The history class paints
   teal; the current class paints bright ember-bright. The grid
   itself is 13 columns now (markup + landing.css agree). */
html[data-public-theme="archive"] .tempo-bars span {
  background: linear-gradient(180deg, var(--accent-warm), var(--accent));
}

html[data-public-theme="archive"] .tempo-bars span.tempo-bars__history {
  background: linear-gradient(180deg, var(--teal, #48b8b0), var(--rm-chart-5, #5ba8a0));
  opacity: 0.82;
}

html[data-public-theme="archive"] .tempo-bars span.tempo-bars__current {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-warm));
  opacity: 1;
}

html[data-public-theme="archive"] .routes,
html[data-public-theme="archive"] .surface-map,
html[data-public-theme="archive"] .daily {
  padding: 54px 0;
}

html[data-public-theme="archive"] .section-header h2 {
  color: var(--ink);
  letter-spacing: 0;
  font-family: var(--font-serif);
}

html[data-public-theme="archive"] .section-header h2::after {
  content: "";
  display: block;
  width: min(120px, 28%);
  height: 2px;
  margin-top: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-warm), var(--rm-accent, #48b8b0), rgba(46, 74, 122, 0.75));
}

html[data-public-theme="archive"] .section-header p {
  color: var(--muted);
}

/*
 * Phase 2.3 — Shared nav-strip atmosphere. Hero and portal nav strips
 * both carry the Rob Macabre Tier C teal-gradient bottom border so
 * the cross-surface visual rhythm reads as one product. Layout +
 * markup stay per-surface (hero is single-row at desktop, two-row at
 * mobile; portal is always two-row) because restructuring the hero
 * markup would shift desktop layout without operator benefit; the
 * gradient line is the lightest-touch unification that closes the
 * "themes don't match" complaint without surgery.
 */
html[data-public-theme="archive"] header nav .nav-links,
html[data-public-theme="archive"] .portal-header .nav-links {
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
    90deg,
    transparent 2%,
      rgba(72, 184, 176, 0.18) 50%,
    transparent 98%
  ) 1;
  padding-bottom: 14px;
}

/*
 * Shared nav-link chrome — unifies the hero topbar (anchor-based,
 * `.nav-links a`) and the portal topbar (button-based,
 * `.portal-header .nav-links .nav-link`). Before Phase 2 of the May
 * 2026 visual unification, these two selectors had different
 * padding, different active-state aesthetics (accent-soft background
 * vs teal-glow box-shadow), and different focus rings — the operator
 * caught the inconsistency as "buttons move all around unintuitively"
 * between surfaces. The rule below pins both surfaces to the same
 * chrome: ember accent-soft active state, teal focus-visible ring,
 * 14px font-weight 600, pill radius. Hero hover lift stays (-1px); a
 * subtle Tier C teal box-shadow appears only on hover so the
 * atmosphere doesn't compete with the active state.
 */
html[data-public-theme="archive"] .stonewall-nav-link,
html[data-public-theme="archive"] .nav-links a,
html[data-public-theme="archive"] .portal-header .nav-links .nav-link {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease,
              background 160ms ease,
              transform 160ms ease,
              box-shadow 200ms ease;
  font-family: inherit;
}

html[data-public-theme="archive"] .stonewall-nav-link:hover,
html[data-public-theme="archive"] .nav-links a:hover,
html[data-public-theme="archive"] .portal-header .nav-links .nav-link:hover {
  color: var(--ink);
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(72, 184, 176, 0.16);
}

html[data-public-theme="archive"] .stonewall-nav-link.active,
html[data-public-theme="archive"] .nav-links a.active,
html[data-public-theme="archive"] .portal-header .nav-links .nav-link.active {
  color: var(--ink-deep);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

html[data-public-theme="archive"] .stonewall-nav-link:focus-visible,
html[data-public-theme="archive"] .nav-links a:focus-visible,
html[data-public-theme="archive"] .portal-header .nav-links .nav-link:focus-visible {
  outline: 2px solid #48b8b0;
  outline-offset: 2px;
}

/*
 * External-link variant — used for the Engineering ↗ and Operator ↗
 * pills on both the hero and the portal. Outlined pill treatment so
 * the public/private boundary reads at a glance and the link stays
 * distinguishable when the rest of the nav collapses to a scroll
 * strip on mobile.
 */
html[data-public-theme="archive"] .nav-links a.nav-link--external,
html[data-public-theme="archive"] .portal-header .nav-links .nav-link.nav-link--external {
  border: 1px solid var(--line-strong);
  color: var(--accent);
}

html[data-public-theme="archive"] .nav-links a.nav-link--external::after,
html[data-public-theme="archive"] .portal-header .nav-links .nav-link.nav-link--external::after {
  content: " ↗";
  font-size: 11px;
  letter-spacing: 0;
}

html[data-public-theme="archive"] .nav-links a.nav-link--external:hover,
html[data-public-theme="archive"] .portal-header .nav-links .nav-link.nav-link--external:hover {
  background: var(--accent-soft);
  color: var(--ink-deep);
  border-color: var(--accent-warm);
}

/*
 * Surface-card / route-tile / daily-card chrome. These three classes are
 * frequently rendered on `<a>` elements wrapping h3/p/span; on Safari (esp.
 * iOS dark mode) the anchor's default `text-decoration: underline` and
 * `color: -webkit-link` (blue) can override the inner text colour even
 * with the per-element rules below, producing dark-blue underlined
 * headlines against the dark ground.
 *
 * The reset below enforces `text-decoration: none` and `color: inherit`
 * at the anchor level so the inner h3/p/span color rules are the only
 * decoration on the card. Tier-C teal focus-visible ring stays for
 * keyboard navigation.
 */
html[data-public-theme="archive"] .surface-card,
html[data-public-theme="archive"] .daily-card,
html[data-public-theme="archive"] .route-tile {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

html[data-public-theme="archive"] a.surface-card,
html[data-public-theme="archive"] a.daily-card,
html[data-public-theme="archive"] a.route-tile {
  text-decoration: none;
  color: inherit;
}

html[data-public-theme="archive"] .surface-card h3,
html[data-public-theme="archive"] .surface-card p,
html[data-public-theme="archive"] .surface-card .route-trail,
html[data-public-theme="archive"] .daily-card h2,
html[data-public-theme="archive"] .daily-card p,
html[data-public-theme="archive"] .daily-card .daily-foot,
html[data-public-theme="archive"] .route-tile h3,
html[data-public-theme="archive"] .route-tile p,
html[data-public-theme="archive"] .route-tile .route-trail,
html[data-public-theme="archive"] .route-tile .route-kicker {
  text-decoration: none;
}

html[data-public-theme="archive"] .surface-card:focus-visible,
html[data-public-theme="archive"] .daily-card:focus-visible,
html[data-public-theme="archive"] .route-tile:focus-visible {
  outline: 2px solid #48b8b0;
  outline-offset: 2px;
}

html[data-public-theme="archive"] .route-tile:hover,
html[data-public-theme="archive"] .surface-card:hover {
  border-color: var(--line-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft), 0 0 40px rgba(72, 184, 176, 0.16);
}

html[data-public-theme="archive"] .surface-card h3,
html[data-public-theme="archive"] .route-tile h3 {
  color: var(--ink);
}

html[data-public-theme="archive"] .surface-card p {
  color: var(--muted);
}

html[data-public-theme="archive"] .route-kicker,
html[data-public-theme="archive"] .route-trail,
html[data-public-theme="archive"] .daily-eyebrow,
html[data-public-theme="archive"] .daily-foot {
  color: #6aa89e;
}

html[data-public-theme="archive"] .daily-title {
  color: var(--ink);
}

html[data-public-theme="archive"] footer.shell {
  border-top: 1px solid rgba(72, 184, 176, 0.18);
}

html[data-public-theme="archive"] footer.shell a {
  color: #5cb0a8;
}

html[data-public-theme="archive"] footer.shell a:hover {
  color: #50bab2;
}

html[data-public-theme="archive"] .sync-badge {
  background: rgba(84, 193, 135, 0.12);
  color: #48b8b0;
}

/* ═══════════════════════════════════════════════════════════
   Macabre foot ornament (5.13.26)

   Centered candlelit ornament block above the standard footer
   link strip. Sparkles in --accent at 0.86 opacity. Italic
   Newsreader for the Latin / "build" / "sealed". Geist Mono
   for the build hash + sealed date. Lives on every public
   surface — index, showcase, insights, claude-insights, and
   the portal SPA shell — by living in public-theme.css instead
   of landing.css (the portal does not load landing.css).
   ═══════════════════════════════════════════════════════════ */

html[data-public-theme="archive"] footer.macabre-foot {
  padding: 48px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border-top: 0;
}

html[data-public-theme="archive"] .macabre-foot .foot-ornament {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0 22px;
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.7;
}

html[data-public-theme="archive"] .macabre-foot .foot-ornament-row {
  margin: 0;
  letter-spacing: 0.02em;
}

html[data-public-theme="archive"] .macabre-foot .foot-ornament em {
  font-style: italic;
  color: var(--ink);
}

html[data-public-theme="archive"] .macabre-foot .foot-ornament .foot-spark {
  color: var(--accent);
  opacity: 0.86;
  font-style: normal;
  margin: 0 12px;
  letter-spacing: 0.4em;
  display: inline-block;
}

html[data-public-theme="archive"] .macabre-foot .foot-ornament .foot-dot {
  color: var(--muted-soft);
  margin: 0 10px;
  font-style: normal;
}

html[data-public-theme="archive"] .macabre-foot .foot-ornament code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-bright);
  background: transparent;
  padding: 0 2px;
  letter-spacing: 0.04em;
}

html[data-public-theme="archive"] .macabre-foot .foot-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

html[data-public-theme="archive"] .macabre-foot .foot-link-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

html[data-public-theme="archive"] .macabre-foot .foot-links a {
  color: var(--accent-bright);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

html[data-public-theme="archive"] .macabre-foot .foot-links a:hover {
  color: var(--accent-warm);
}

@media (max-width: 540px) {
  html[data-public-theme="archive"] .macabre-foot .foot-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  html[data-public-theme="archive"] .macabre-foot .foot-ornament .foot-spark {
    margin: 0 6px;
    letter-spacing: 0.2em;
  }
  html[data-public-theme="archive"] .macabre-foot .foot-ornament {
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  html[data-public-theme="archive"] .hero {
    grid-template-columns: 1fr;
    padding: 56px 0 40px;
    min-height: auto;
  }

  html[data-public-theme="archive"] .hero h1 {
    font-size: clamp(48px, 13vw, 84px);
  }

  html[data-public-theme="archive"] .nav-brand {
    font-size: 18px;
  }

  html[data-public-theme="archive"] nav {
    flex-wrap: wrap;
  }

  html[data-public-theme="archive"] .screen-grid,
  html[data-public-theme="archive"] .screen-graph,
  html[data-public-theme="archive"] .surface-grid {
    grid-template-columns: 1fr;
  }

  html[data-public-theme="archive"] .archive-screen {
    max-height: 340px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* ── Persistent color mode FAB ─────────────────────────────── */

.public-color-mode-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  /*
   * Sit above the document and basic page chrome but below the portal
   * modal (1000), command palette (2000), and spotlight (9000/9100)
   * layers. Earlier z-index of 9998 floated the FAB on top of dialogs.
   */
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(232, 226, 212, 0.14);
  background: linear-gradient(145deg, #1e2232 0%, #080a14 100%);
  color: #e8e2d4;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(192, 69, 26, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.public-color-mode-fab:hover {
  transform: scale(1.06);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(212, 88, 32, 0.45);
}

.public-color-mode-fab:focus-visible {
  outline: 2px solid var(--ring, #48b8b0);
  outline-offset: 3px;
}

.public-color-mode-fab__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.public-color-mode-fab svg {
  flex-shrink: 0;
}

/* ── Light appearance — warm paper with subtle Gator undertones ── */

html[data-public-theme="archive"][data-theme="light"] {
  /*
   * Light mode pulls the same Gator-undertone discipline as dark
   * mode: the orange step is a deeper terra-cotta (so the page
   * doesn't read as "stadium poster"), and the navy is a richer
   * Atlantic blue rather than literal UF blue. Together they sit on
   * vellum paper without screaming homer.
   */
  --paper: #f6f0e6;
  --paper-deep: #e8dcc7;
  --paper-shadow: #ddd2bf;
  --ink: #1f1a17;
  --ink-deep: #100c08;
  --muted: #5f544b;
  --muted-soft: #8a7d72;
  --accent: #7a2c14;
  --accent-warm: #a13e16;
  --accent-bright: #c4622e;
  --accent-soft: rgba(122, 44, 20, 0.1);
  --navy: #15315a;
  --navy-mid: #20437a;
  --navy-soft: rgba(21, 49, 90, 0.08);
  --navy-glow: rgba(21, 49, 90, 0.06);
  --line: rgba(31, 26, 23, 0.12);
  --line-strong: rgba(31, 26, 23, 0.2);
  --line-navy: rgba(36, 65, 116, 0.18);
  --card: rgba(255, 251, 245, 0.85);
  --card-strong: #fffdf9;
  --shadow-soft: 0 12px 32px rgba(43, 31, 19, 0.08);
  --shadow: 0 20px 52px rgba(43, 31, 19, 0.1);
  --shadow-strong: 0 24px 60px rgba(43, 31, 19, 0.16);
  --shadow-hover: 0 24px 60px rgba(43, 31, 19, 0.16);
  --good: #2a8a83;
  --offline: #b33a3a;
  --chart-accent: var(--accent);
  --chart-accent-warm: var(--accent-warm);
  --chart-good: #48b8b0;
  --chart-axis: rgba(31, 26, 23, 0.14);
  --chart-grid: rgba(31, 26, 23, 0.06);
  --chart-tick: var(--muted);
  --chart-spark: var(--accent);
  --chart-edge: rgba(31, 26, 23, 0.45);
  --chart-node-fill: rgba(255, 251, 245, 0.95);
  --chart-node-stroke: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] body {
  color: var(--ink);
  background: linear-gradient(180deg, #fbf7ef 0%, var(--paper) 48%, var(--paper-deep) 100%);
}

html[data-public-theme="archive"][data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(31, 26, 23, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 26, 23, 0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 92%);
}

html[data-public-theme="archive"][data-theme="light"] body::after {
  opacity: 0;
}

/* Brand + nav — dark serif wordmark, pill nav like digest */
html[data-public-theme="archive"][data-theme="light"] .nav-brand {
  color: var(--ink);
}

html[data-public-theme="archive"][data-theme="light"] .nav-links a,
html[data-public-theme="archive"][data-theme="light"] .nav-links button.nav-link {
  color: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] .nav-links a:hover,
html[data-public-theme="archive"][data-theme="light"] .nav-links button.nav-link:hover {
  color: var(--ink);
  background: var(--accent-soft);
}

html[data-public-theme="archive"][data-theme="light"] .nav-links a.active,
html[data-public-theme="archive"][data-theme="light"] .nav-links button.nav-link.active {
  color: var(--ink);
  background: var(--accent-soft);
  box-shadow: none;
}

html[data-public-theme="archive"][data-theme="light"] .status-badge {
  background: rgba(31, 26, 23, 0.06);
  color: var(--muted);
  border: 1px solid transparent;
}

html[data-public-theme="archive"][data-theme="light"] .status-badge.connected {
  background: rgba(42, 138, 131, 0.12);
  color: #48b8b0;
}

html[data-public-theme="archive"][data-theme="light"] .status-badge.offline {
  background: rgba(179, 58, 58, 0.1);
  color: var(--offline);
}

/* Hero — wordmark and type like digest (ink, not orange) */
html[data-public-theme="archive"][data-theme="light"] .hero h1 {
  color: var(--ink);
}

html[data-public-theme="archive"][data-theme="light"] .hero-tagline {
  color: var(--ink-deep);
}

html[data-public-theme="archive"][data-theme="light"] .hero-sub {
  color: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] .hero-motto {
  color: var(--muted);
  font-style: italic;
}

html[data-public-theme="archive"][data-theme="light"] .hero-eyebrow {
  background: rgba(255, 251, 245, 0.75);
  border-color: var(--line);
  color: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] .hero-eyebrow::before {
  background: #48b8b0;
  box-shadow: 0 0 0 3px rgba(42, 138, 131, 0.18);
}

/* Buttons — digest: dark primary, burnt-orange accent, ghost outline */
html[data-public-theme="archive"][data-theme="light"] .btn {
  background: var(--ink);
  color: #fffaf4;
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

html[data-public-theme="archive"][data-theme="light"] .btn:hover {
  box-shadow: var(--shadow-strong);
}

html[data-public-theme="archive"][data-theme="light"] .btn-accent {
  background: var(--accent);
  color: #fffaf4;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(122, 47, 27, 0.22);
}

html[data-public-theme="archive"][data-theme="light"] .btn-accent:hover {
  background: var(--accent-warm);
  filter: none;
}

html[data-public-theme="archive"][data-theme="light"] .btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 251, 245, 0.72);
}

html[data-public-theme="archive"][data-theme="light"] .btn-ghost:hover {
  background: rgba(255, 251, 245, 0.95);
}

html[data-public-theme="archive"][data-theme="light"] .metric-ticker {
  background: linear-gradient(140deg, rgba(255, 251, 245, 0.92), rgba(232, 220, 199, 0.65));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

html[data-public-theme="archive"][data-theme="light"] .metric strong {
  color: var(--ink-deep);
}

html[data-public-theme="archive"][data-theme="light"] .metric span {
  color: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] .metric-divider {
  background: var(--line-strong);
}

/* Archive preview panel — white card on paper */
html[data-public-theme="archive"][data-theme="light"] .archive-screen {
  background: var(--card-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

html[data-public-theme="archive"][data-theme="light"] .archive-screen::before {
  background-image:
    linear-gradient(rgba(31, 26, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 26, 23, 0.03) 1px, transparent 1px);
  opacity: 0.5;
}

html[data-public-theme="archive"][data-theme="light"] .screen-bar {
  color: var(--muted);
  border-bottom-color: var(--line);
}

html[data-public-theme="archive"][data-theme="light"] .mini-card {
  background: rgba(255, 251, 245, 0.9);
  border-color: var(--line);
}

html[data-public-theme="archive"][data-theme="light"] .mini-card span {
  color: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] .mini-card strong {
  /* Macabre tweak (5.13.26): light-mode mini-cards also read all-warm
     so the ember-numeral discipline survives the theme flip. */
  color: var(--accent-warm);
}

html[data-public-theme="archive"][data-theme="light"] .screen-chain {
  background: rgba(31, 26, 23, 0.03);
  border-color: var(--line);
}

html[data-public-theme="archive"][data-theme="light"] .screen-chip {
  color: var(--accent);
  border-color: rgba(122, 47, 27, 0.22);
}

html[data-public-theme="archive"][data-theme="light"]
  .screen-chip.screen-chip--output {
  background: linear-gradient(180deg, var(--accent-warm), var(--accent));
  color: #fffaf4;
  border-color: rgba(166, 55, 27, 0.55);
  box-shadow: 0 0 16px rgba(166, 55, 27, 0.20);
}

html[data-public-theme="archive"][data-theme="light"] .screen-arrow {
  color: var(--navy-mid);
}

html[data-public-theme="archive"][data-theme="light"] .graph-panel {
  background: rgba(255, 251, 245, 0.75);
  border-color: var(--line);
}

html[data-public-theme="archive"][data-theme="light"] .graph-title {
  color: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] .node-map::before,
html[data-public-theme="archive"][data-theme="light"] .node-map::after {
  background: rgba(31, 26, 23, 0.15);
}

html[data-public-theme="archive"][data-theme="light"] .node {
  background: #fffdf9;
  color: var(--ink-deep);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(122, 47, 27, 0.08);
}

html[data-public-theme="archive"][data-theme="light"] .tempo-bars span {
  background: linear-gradient(180deg, var(--accent-warm), #a85518);
}

/* Macabre tempo (5.13.26) — light mode equivalents. History reads as
   atlantic-navy mid (cool counterpart to dark-mode teal); current
   stays in the warmest ember step. */
html[data-public-theme="archive"][data-theme="light"]
  .tempo-bars span.tempo-bars__history {
  background: linear-gradient(180deg, var(--navy-mid), var(--navy));
  opacity: 0.82;
}

html[data-public-theme="archive"][data-theme="light"]
  .tempo-bars span.tempo-bars__current {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-warm));
  opacity: 1;
}

/* Section headers + surfaces */
html[data-public-theme="archive"][data-theme="light"] .section-header h2,
html[data-public-theme="archive"][data-theme="light"] h1,
html[data-public-theme="archive"][data-theme="light"] .daily-title {
  color: var(--ink-deep);
}

html[data-public-theme="archive"][data-theme="light"] .section-header h2::after {
  background: linear-gradient(90deg, var(--accent-warm), rgba(42, 69, 112, 0.45));
}

html[data-public-theme="archive"][data-theme="light"] .section-header p {
  color: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] .surface-card,
html[data-public-theme="archive"][data-theme="light"] .daily-card,
html[data-public-theme="archive"][data-theme="light"] .route-tile {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

html[data-public-theme="archive"][data-theme="light"] .route-tile:hover,
html[data-public-theme="archive"][data-theme="light"] .surface-card:hover {
  border-color: rgba(122, 47, 27, 0.22);
  box-shadow: var(--shadow-hover);
}

html[data-public-theme="archive"][data-theme="light"] .route-kicker,
html[data-public-theme="archive"][data-theme="light"] .route-trail,
html[data-public-theme="archive"][data-theme="light"] .daily-eyebrow,
html[data-public-theme="archive"][data-theme="light"] .daily-foot {
  color: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] .daily-card {
  border-color: rgba(122, 47, 27, 0.2);
}

html[data-public-theme="archive"][data-theme="light"] footer.shell,
html[data-public-theme="archive"][data-theme="light"] footer {
  border-top-color: var(--line);
  color: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] footer.shell a,
html[data-public-theme="archive"][data-theme="light"] footer a {
  color: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] footer.shell a:hover,
html[data-public-theme="archive"][data-theme="light"] footer a:hover {
  color: var(--accent-warm);
}

/* Macabre foot ornament — light-mode variants. Sparkles read in the
   terra-cotta accent; ornament em is ink-deep; build/sealed code
   monospace is the same accent so the candle metaphor survives the
   theme flip onto warm paper. */
html[data-public-theme="archive"][data-theme="light"] .macabre-foot .foot-ornament em {
  color: var(--ink-deep);
}

html[data-public-theme="archive"][data-theme="light"] .macabre-foot .foot-ornament .foot-spark {
  color: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] .macabre-foot .foot-ornament code {
  color: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] .macabre-foot .foot-links a {
  color: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] .macabre-foot .foot-links a:hover {
  color: var(--accent-warm);
}

html[data-public-theme="archive"][data-theme="light"] .sync-badge {
  background: rgba(42, 138, 131, 0.1);
  color: #48b8b0;
}

/* Showcase + digest cards */
html[data-public-theme="archive"][data-theme="light"] .card,
html[data-public-theme="archive"][data-theme="light"] .arch-flow {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

html[data-public-theme="archive"][data-theme="light"] .card:hover {
  box-shadow: var(--shadow-hover);
}

html[data-public-theme="archive"][data-theme="light"] .card h3 {
  color: var(--ink-deep);
}

html[data-public-theme="archive"][data-theme="light"] .badge {
  background: rgba(42, 138, 131, 0.1);
  color: #48b8b0;
}

html[data-public-theme="archive"][data-theme="light"] code {
  background: rgba(31, 26, 23, 0.06);
  color: var(--ink);
}

html[data-public-theme="archive"][data-theme="light"] .sticky-cta {
  background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent) 60%, #5a1f0e 100%);
  color: #fffaf4;
}

/* FAB — navy disk on paper (matches digest chrome) */
html[data-public-theme="archive"][data-theme="light"] .public-color-mode-fab {
  border-color: rgba(31, 26, 23, 0.12);
  background: linear-gradient(145deg, #1e3352 0%, #15243a 100%);
  color: #fbf7ef;
  box-shadow:
    0 4px 20px rgba(30, 51, 82, 0.22),
    0 0 0 1px rgba(122, 47, 27, 0.15);
}

html[data-public-theme="archive"][data-theme="light"] .hero-codex__btn {
  background: rgba(255, 251, 245, 0.85);
  border-color: var(--line);
  color: var(--ink);
}

html[data-public-theme="archive"][data-theme="light"] .hero-codex__btn:hover,
html[data-public-theme="archive"][data-theme="light"] .hero-codex__btn:focus-visible {
  background: var(--accent-soft);
  border-color: rgba(122, 47, 27, 0.2);
}

html[data-public-theme="archive"][data-theme="light"] .hero-codex__btn span:first-child {
  color: var(--navy-mid);
}

html[data-public-theme="archive"][data-theme="light"] .hero-codex__btn span:last-child {
  color: var(--ink-deep);
}

/* Insights */
html[data-public-theme="archive"][data-theme="light"] .signal-card {
  background: linear-gradient(140deg, rgba(255, 251, 245, 0.95), rgba(232, 220, 199, 0.78)), var(--card-strong);
  border: 1px solid rgba(122, 47, 27, 0.22);
  box-shadow: var(--shadow-strong);
}

html[data-public-theme="archive"][data-theme="light"] .signal-kicker {
  color: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] .signal-headline {
  color: var(--ink-deep);
}

html[data-public-theme="archive"][data-theme="light"] .signal-copy {
  color: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] .signal-cta,
html[data-public-theme="archive"][data-theme="light"] .insights-cta {
  color: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] .metric-card,
html[data-public-theme="archive"][data-theme="light"] .stat,
html[data-public-theme="archive"][data-theme="light"] .panel {
  background: rgba(255, 251, 245, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

html[data-public-theme="archive"][data-theme="light"] .metric-card:hover,
html[data-public-theme="archive"][data-theme="light"] .stat:hover,
html[data-public-theme="archive"][data-theme="light"] .panel:hover {
  box-shadow: var(--shadow-hover);
}

html[data-public-theme="archive"][data-theme="light"] .metric-card strong,
html[data-public-theme="archive"][data-theme="light"] .stat-num {
  color: var(--ink);
}

html[data-public-theme="archive"][data-theme="light"] .panel-head .panel-tag {
  color: var(--accent);
  background: var(--accent-soft);
}

html[data-public-theme="archive"][data-theme="light"] .legend-swatch--patterns {
  background: #2a8a83;
}

/* Drawer on paper */
html[data-public-theme="archive"][data-theme="light"] .public-drawer__backdrop {
  background: rgba(31, 26, 23, 0.35);
}

html[data-public-theme="archive"][data-theme="light"] .public-drawer__panel {
  background: linear-gradient(180deg, #fbf7ef 0%, var(--paper) 52%, var(--paper-deep) 100%);
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 48px rgba(43, 31, 19, 0.12);
}

html[data-public-theme="archive"][data-theme="light"] .public-drawer__chrome {
  background: rgba(255, 251, 245, 0.95);
  border-bottom-color: var(--line);
}

html[data-public-theme="archive"][data-theme="light"] .public-drawer__title {
  color: var(--ink-deep);
}

html[data-public-theme="archive"][data-theme="light"] .public-drawer__close {
  background: #fffdf9;
  border: 1px solid var(--line);
  color: var(--ink);
}

html[data-public-theme="archive"][data-theme="light"] .public-drawer__body .drawer-section h3 {
  color: var(--navy-mid);
}

html[data-public-theme="archive"][data-theme="light"] .public-drawer__body .drawer-section p,
html[data-public-theme="archive"][data-theme="light"] .public-drawer__body .drawer-section li {
  color: var(--ink);
}

html[data-public-theme="archive"][data-theme="light"] .public-drawer__body .drawer-lede {
  color: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] .public-drawer__body .drawer-foot {
  border-top-color: var(--line);
}

html[data-public-theme="archive"][data-theme="light"] .public-drawer__body .drawer-foot a {
  color: var(--accent);
}

/* Showcase SVG */
html[data-public-theme="archive"][data-theme="light"] .arch-node {
  fill: #fffdf9;
  stroke: var(--accent);
}

html[data-public-theme="archive"][data-theme="light"] .arch-node-group:hover .arch-node {
  fill: var(--accent-soft);
}

html[data-public-theme="archive"][data-theme="light"] .arch-node-label {
  fill: var(--ink);
}

html[data-public-theme="archive"][data-theme="light"] .arch-node-sub {
  fill: var(--muted);
}

html[data-public-theme="archive"][data-theme="light"] .arch-edge {
  stroke: var(--accent);
  opacity: 0.45;
}

html[data-public-theme="archive"][data-theme="light"] .arch-particle {
  fill: var(--accent-warm);
}

/* Landing header — digest-style rule under nav */
html[data-public-theme="archive"][data-theme="light"] header.shell nav {
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  padding-bottom: 14px;
}
