/* ============================================================
   HPFAS Insights — Site Theme (canonical stylesheet)
   ------------------------------------------------------------
   Canonical source of truth as of 2026-07-19. Ported from
   Tools/Pay-Fixation-2016/User/References/design_handoff_site_theme/
   hpfas-theme.css (in production there since b132) and reconciled
   against the July 2026 full-site design handoff's own per-page
   token block — confirmed near-identical by direct comparison, so
   this is a merge, not a redesign. Delta: promoted the handoff's
   radius scale (--r-sm/-md/-lg/-xl) from hardcoded values into
   variables here too.

   Usage:
     1. Load the three Google Fonts (see @import below, or copy
        the <link> tags into your <head>).
     2. Link this file: <link rel="stylesheet" href="hpfas-theme.css">
     3. Wrap your page in:  <div class="hpfas" data-accent="warm" data-mode="light">
        - data-accent: warm | cool | violet
        - data-mode:   light | dark
        Persist the user's choice server-side (signed-in) or in
        localStorage (anonymous) so it carries across every page.
     4. Use the utility classes below (hp-btn, hp-card, hp-input,
        hp-label, …) or reference the CSS variables directly.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Schibsted+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

/* ---------- Reset ----------
   Every .dc.html mockup's own <style> block opens with
   `*{box-sizing:border-box;margin:0;padding:0;}` — this was never ported
   into the site's own theme. Its absence is why any element combining an
   explicit height with .hp-btn's padding (10px 18px) rendered taller than
   intended: without border-box, height sets the content-box only, so the
   20px of vertical padding was added ON TOP of it (a 44px-tall button
   actually rendered at 64px). Scoped to .hpfas rather than a true global
   `*` reset, since that's this app's own outer boundary. */
.hpfas, .hpfas *, .hpfas *::before, .hpfas *::after { box-sizing: border-box; }
/* The browser's default body margin (8px) was never reset, insetting the
   whole site — and any full-bleed layout (the dashboard's edge-to-edge
   sidebar + plan banner) 8px off every edge instead of flush to it. */
body { margin: 0; }

/* ---------- Tokens ---------- */
.hpfas {
  /* neutrals */
  --bg: #FBFBF9;
  --surface: #FFFFFF;
  --ink: #16303F;
  --muted: #6B7A85;
  --line: #EDEDE6;
  --on-accent: #FFFFFF;

  /* supporting hues */
  --sky: #107BA2;
  --sky-tint: #E6F6FC;
  --navy-tint: #EEF2F5;
  --copper: #A06345;
  --copper-tint: #FBEDE6;

  /* default accent: warm */
  --accent: #FF595E;
  --accent-ink: #CB3A40;
  --accent-tint: rgba(255,89,94,.12);
  --gradient: radial-gradient(circle at 88% 90%, rgba(139,92,246,.5) 0%, transparent 45%),
              linear-gradient(120deg, #FF8A3D 0%, #FF595E 62%, #E23A6B 100%);
  --tint: radial-gradient(circle at 90% 15%, rgba(255,89,94,.10) 0%, transparent 50%),
          radial-gradient(circle at 8% 92%, rgba(139,92,246,.08) 0%, transparent 50%),
          #FFF5F2;

  /* typography */
  --font-display: 'Instrument Serif', serif;
  --font-ui: 'Schibsted Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* radius scale (promoted from the July 2026 design handoff) */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 100px;

  /* elevation */
  --shadow-card: 0 1px 3px rgba(0,0,0,.05), 0 10px 26px rgba(0,0,0,.06);
  --shadow-float: 0 2px 8px rgba(0,0,0,.08), 0 18px 44px rgba(0,0,0,.12);

  /* base */
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Accent variants ---------- */
.hpfas[data-accent="cool"] {
  --accent: #0E9EC9; --accent-ink: #0E7490; --accent-tint: rgba(14,158,201,.13);
  --gradient: radial-gradient(circle at 82% 25%, #22D3EE 0%, transparent 48%),
              radial-gradient(circle at 12% 88%, #0EA5A5 0%, transparent 52%),
              linear-gradient(125deg, #0E9EC9 0%, #1E7FD4 55%, #2DD4BF 100%);
  --tint: radial-gradient(circle at 90% 15%, rgba(34,211,238,.10) 0%, transparent 50%),
          radial-gradient(circle at 8% 92%, rgba(45,212,191,.08) 0%, transparent 50%),
          #F0FBFD;
}
.hpfas[data-accent="violet"] {
  --accent: #8B5CF6; --accent-ink: #7C3AED; --accent-tint: rgba(139,92,246,.13);
  --gradient: radial-gradient(circle at 82% 25%, #A78BFA 0%, transparent 48%),
              radial-gradient(circle at 95% 60%, #E879F9 0%, transparent 45%),
              linear-gradient(135deg, #7C3AED 0%, #8B5CF6 55%, #D946EF 100%);
  --tint: radial-gradient(circle at 90% 15%, rgba(167,139,250,.12) 0%, transparent 50%),
          radial-gradient(circle at 8% 92%, rgba(232,121,249,.08) 0%, transparent 50%),
          #F9F5FF;
}

/* ---------- Dark mode ---------- */
.hpfas[data-mode="dark"] {
  --bg: #0B141C; --surface: #12202C; --ink: #E8F1F6; --muted: #93A6B2; --line: #1E3040;
  --navy-tint: rgba(147,166,178,.12);
  --sky-tint: rgba(16,123,162,.15);
  --copper-tint: rgba(160,99,69,.15);
  --shadow-card: 0 1px 3px rgba(0,0,0,.4), 0 12px 30px rgba(0,0,0,.35);
  --shadow-float: 0 2px 8px rgba(0,0,0,.5), 0 18px 44px rgba(0,0,0,.4);
}
.hpfas[data-accent="warm"][data-mode="dark"] {
  --accent-ink: #FF9195; --accent-tint: rgba(255,89,94,.18);
  --tint: radial-gradient(circle at 90% 15%, rgba(255,89,94,.14) 0%, transparent 50%),
          radial-gradient(circle at 8% 92%, rgba(139,92,246,.16) 0%, transparent 50%),
          #0F1A24;
}
.hpfas[data-accent="cool"][data-mode="dark"]   { --accent-ink: #5EEAD4; --accent-tint: rgba(45,212,191,.18); }
.hpfas[data-accent="violet"][data-mode="dark"] { --accent-ink: #C4B5FD; --accent-tint: rgba(167,139,250,.20); }
.hpfas[data-mode="dark"] [data-logo-theme] { filter: brightness(0) invert(1); }
/* Hide the logo until logo-theme.js recolours it (blue source → accent), so the
   raw blue never flashes on each page load ("logo reverting to blue"). Fallback:
   if JS never runs/recolours, a delayed reveal shows the logo (blue) rather than
   leaving it hidden forever. logo-theme.js adds .hp-logo-ready after recolouring. */
[data-logo-theme] { opacity: 0; }
[data-logo-theme].hp-logo-ready { opacity: 1; transition: opacity .12s ease; }
@keyframes hpLogoReveal { to { opacity: 1; } }
[data-logo-theme]:not(.hp-logo-ready) { animation: hpLogoReveal 0s linear .8s forwards; }

/* ---------- Focus ---------- */
.hpfas a:focus-visible,
.hpfas button:focus-visible,
.hpfas input:focus-visible,
.hpfas select:focus-visible,
.hpfas textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Motion ---------- */
@keyframes hpFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hpCtaPulse { from { box-shadow: 0 0 0 0 var(--accent-tint); } to { box-shadow: 0 0 0 14px rgba(0,0,0,0); } }
@keyframes hpCtaPulseWhite { from { box-shadow: 0 0 0 0 rgba(255,255,255,.65); } to { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
.hp-fade-up { animation: hpFadeUp .6s ease both; }

/* ============================================================
   Components
   ============================================================ */

/* ---------- Buttons ---------- */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: var(--r-sm); border: none;
  cursor: pointer; text-decoration: none;
  transition: all .2s;
}
.hp-btn:disabled { background: var(--muted); color: #fff; cursor: default; opacity: .6; transform: none; box-shadow: none; }
/* Primary CTA — gradient (use for Calculate / Run / Submit) */
.hp-btn--primary { background: var(--gradient); color: #fff; }
.hp-btn--primary:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: var(--shadow-float); }
/* Secondary — solid accent */
.hp-btn--secondary { background: var(--accent); color: var(--on-accent); }
.hp-btn--secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
/* Ghost / outline (use for Reset / Back) */
.hp-btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.hp-btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
/* Outline accent — transparent with an accent border, fills solid on hover
   (use for a secondary CTA sitting next to a primary gradient one, e.g.
   listing-page content cards: "Watch the explainer" + "Read the guide") */
.hp-btn--outline { background: transparent; border: 1.5px solid var(--accent); color: var(--accent-ink); }
.hp-btn--outline:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); box-shadow: var(--shadow-float); }
/* White pulse — for a solid-white CTA sitting on a colourful gradient card
   (Pricing's "most popular" plan card), where the sitewide accent-tint
   .hp-btn--pulse ring would be invisible against the same-hued backdrop */
.hp-btn--pulse-white { animation: hpCtaPulseWhite 1.1s ease-out infinite; }
.hp-btn--pulse-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
/* Pill button (marketing CTAs) */
.hp-btn--pill { border-radius: var(--r-pill); }
/* Pulse for a highlighted CTA */
.hp-btn--pulse { animation: hpCtaPulse 1.1s ease-out infinite; }

/* ---------- Cards / panels ---------- */
.hp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.hp-card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
/* Whole-tile clickable (stretched-link overlay). The overlay <a> is a SIBLING
   that covers the whole card — not a wrapper, so no invalid nested links. Real
   links/buttons inside the tile sit ABOVE it via z-index, keeping their own
   targets: a click anywhere on the tile opens the article, while "Open the tool"
   still goes straight to the tool. */
.hp-tile { position: relative; }
.hp-tile__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.hp-tile__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hp-tile a:not(.hp-tile__link), .hp-tile button:not(.hp-tile__link) { position: relative; z-index: 2; }
/* Phase 4c — Pay-Fixation mounted calculator's out-of-tokens wall (app.js
   showTokenWall). The gate itself is server-enforced (402 from tool_metering);
   this is only the friendly presentation of that server decision. */
.pf-tw { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(8,12,24,.5); }
.pf-tw.on { display: flex; }
.pf-tw-card { background: var(--surface, #fff); border: 1px solid var(--line, #e6e6e6); border-radius: 16px; box-shadow: var(--shadow-float, 0 20px 50px rgba(0,0,0,.2)); padding: 26px 28px; width: 380px; max-width: 100%; text-align: center; }
.pf-tw-badge { display: inline-block; font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #fff; background: var(--gradient, #FF595E); padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; }
.pf-tw-title { font-family: var(--font-display, serif); font-weight: 400; font-size: 24px; line-height: 1.1; margin-bottom: 10px; color: var(--ink, #0D1B3E); }
.pf-tw-msg { font-size: 14px; color: var(--muted, #667); line-height: 1.55; margin-bottom: 20px; }
.pf-tw-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.pf-tw-btn { display: block; text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: 9px; }
.pf-tw-btn--primary { background: var(--gradient, #FF595E); color: #fff; }
.pf-tw-btn--ghost { background: var(--surface, #fff); color: var(--accent-ink, #B23); border: 1px solid var(--line, #e6e6e6); }
.pf-tw-close { background: none; border: none; color: var(--muted, #667); font-size: 13px; cursor: pointer; padding: 4px; }
.hp-card--tint { background: var(--tint); box-shadow: none; }
/* Highlighted result panel (e.g. computed pay) */
.hp-card--result { background: var(--accent-tint); border: 1.5px solid var(--accent); }
/* Large marketing surface (hero panels, feature blocks) */
.hp-card--xl { border-radius: var(--r-xl); }

/* ---------- Mono eyebrow labels & badges ---------- */
.hp-label {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.hp-label--muted { color: var(--muted); }
.hp-badge {
  display: inline-block;
  font-family: var(--font-mono); font-weight: 600;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-tint);
  border: 1px solid var(--accent); border-radius: var(--r-pill);
  padding: 4px 12px;
}

/* ---------- Form controls ---------- */
.hp-field { display: flex; flex-direction: column; gap: 6px; }
.hp-field > label {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.hp-input, .hp-select, .hp-textarea {
  font-family: var(--font-ui); font-size: 14px; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 12px;
  transition: border-color .2s, box-shadow .2s;
}
.hp-input::placeholder, .hp-textarea::placeholder { color: var(--muted); }
.hp-input:hover, .hp-select:hover, .hp-textarea:hover { border-color: var(--accent); }
.hp-input:focus, .hp-select:focus, .hp-textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); outline: none;
}
.hp-help { font-size: 12px; color: var(--muted); line-height: 1.5; }
.hp-error { font-size: 12px; color: #CB3A40; }
.hp-input--error { border-color: #CB3A40; }

/* ---------- Typography helpers ---------- */
.hp-display { font-family: var(--font-display); font-weight: 400; line-height: 1.08; }
.hp-display em, .hp-display .hp-accent { font-style: italic; color: var(--accent-ink); }
.hp-muted { color: var(--muted); }

/* ---------- Arrow-hover links (e.g. "View all tools →") ---------- */
.hpfas a[data-arrow] [data-ar] { display: inline-block; transition: transform .28s cubic-bezier(.16,.8,.3,1); }
.hpfas a[data-arrow]:hover [data-ar] { transform: translateX(6px); }

/* ---------- Sticky header shell ---------- */
/* logo left · nav center (Guides / Tools / Pricing) · sign-in right
   — see app/templates/partials/header.html for the real markup */
.hp-header {
  position: sticky; top: 0; z-index: 50;
  height: 66px;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hp-nav-link {
  font-size: 14px; font-weight: 500; color: var(--ink);
  text-decoration: none; transition: color .2s;
}
.hp-nav-link:hover { color: var(--accent-ink); }
.hp-nav-link--active { color: var(--accent-ink); font-weight: 600; }

/* Round social-icon buttons (header/footer) — new component class, added
   2026-07-19 during header/footer template conversion; wasn't in the
   original stylesheet since the design handoff inlined these as styles. */
.hp-social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  transition: color .2s, border-color .2s, transform .2s;
}
.hp-social-icon:hover { color: var(--accent-ink); border-color: var(--accent); transform: translateY(-2px); }
.hp-social-icon--sm { width: 32px; height: 32px; }
.hp-social-icon--sm svg { width: 15px; height: 15px; }

/* Bare icon link (no circle/border) — Contact page's channel-tile icons. */
.hp-icon-link { color: var(--accent-ink); display: inline-flex; transition: color .2s, transform .2s; }
.hp-icon-link:hover { color: var(--accent); transform: translateY(-2px); }

/* ---------- Dividers / tables ---------- */
.hp-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; color: var(--muted);
  border-bottom: 1px solid var(--line); padding-bottom: 9px;
}
.hp-row strong { color: var(--ink); font-weight: 600; text-align: right; }

/* ============================================================
   Content pages — added 2026-07-19 (static/content marketing pages phase).
   The design handoff didn't ship these as named components (they were
   inline-styled per page); named here so About/FAQs/Legal/Guides/Tools/
   Articles share one system instead of six one-off layouts.
   ============================================================ */

.hp-container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.hp-container--narrow { max-width: 760px; }

/* Page banner: eyebrow + H1 + intro paragraph */
.hp-banner { padding: 64px 0 40px; }
.hp-banner h1 { font-size: clamp(32px, 5vw, 48px); margin: 12px 0 16px; }
.hp-banner p.hp-intro { font-size: 17px; color: var(--muted); max-width: 640px; line-height: 1.6; }
.hp-banner .hp-updated { font-size: 15px; color: var(--muted); margin-top: 4px; }
.hp-banner--divided { border-bottom: 1px solid var(--line); }

/* Legal-document sections (Privacy/Terms/Disclaimer) */
.hp-legal-section { margin-bottom: 36px; }
.hp-legal-section h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 23px; margin-bottom: 10px; color: var(--ink);
}
.hp-legal-section p { font-size: 15.5px; color: var(--ink); opacity: .88; line-height: 1.75; white-space: pre-line; }
.hp-legal-callout {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 26px; margin-top: 44px; margin-bottom: 44px;
  display: flex; gap: 16px; align-items: flex-start;
}
.hp-legal-callout p { font-size: 15px; line-height: 1.6; color: var(--ink); }
.hp-legal-callout-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; margin-top: 2px;
  background: var(--accent-tint); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
}
.hp-legal-footer-note {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hp-legal-footer-note p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* FAQ accordion */
.hp-faq-category { margin-bottom: 36px; }
.hp-faq-category h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 23px; margin-bottom: 14px; color: var(--ink);
}
.hp-faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: box-shadow .2s, border-color .2s;
}
.hp-faq-item + .hp-faq-item { margin-top: 10px; }
.hp-faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary::after { content: "+"; font-size: 20px; color: var(--accent-ink); transition: transform .2s; flex-shrink: 0; }
.hp-faq-item[open] summary::after { transform: rotate(45deg); }
.hp-faq-item .hp-faq-answer { padding: 0 20px 18px; color: var(--ink); opacity: .85; line-height: 1.7; white-space: pre-line; }
.hp-ref-link { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.hp-ref-link:hover { color: var(--accent); }

/* About — founder note */
.hp-founder {
  display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px;
  align-items: center; margin-bottom: 80px;
}
@media (max-width: 760px) { .hp-founder { grid-template-columns: 1fr; } }
.hp-founder-photo {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 20px;
  background: var(--tint); color: var(--muted); font-size: 13px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  object-fit: cover; object-position: center top;
}
.hp-founder-copy { font-size: 17px; color: var(--ink); line-height: 1.7; margin-bottom: 18px; }
.hp-founder-copy:last-of-type { margin-bottom: 28px; }
.hp-founder-signature { display: flex; align-items: center; gap: 14px; }
.hp-founder-signature-bar { width: 2px; height: 40px; background: var(--accent); flex-shrink: 0; }
.hp-founder-signature-name { font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--ink); }
.hp-founder-signature-title { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* About — timeline */
.hp-timeline-heading { text-align: center; margin-bottom: 44px; }
.hp-timeline-heading .hp-label { margin-bottom: 12px; }
.hp-timeline-heading h1 { font-size: 34px; }
.hp-timeline { max-width: 760px; margin: 0 auto; }
.hp-timeline-item { display: flex; gap: 28px; }
.hp-timeline-year {
  flex-shrink: 0; width: 92px; text-align: right;
  font-family: var(--font-mono); font-size: 20px; font-weight: 600; color: var(--accent-ink);
  padding-top: 1px;
}
.hp-timeline-marker { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.hp-timeline-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 6px;
  background: var(--accent);
}
.hp-timeline-line { flex: 1; width: 2px; background: var(--line); margin-top: 4px; min-height: 36px; }
.hp-timeline-content { flex: 1; padding-bottom: 36px; }
.hp-timeline-item--last .hp-timeline-dot { background: var(--accent-ink); box-shadow: 0 0 0 4px var(--accent-tint); }
.hp-timeline-item--last .hp-timeline-line { display: none; }
.hp-timeline-item--last .hp-timeline-content { padding-bottom: 0; }
.hp-timeline-title { font-family: var(--font-display); font-size: 21px; line-height: 1.2; margin-bottom: 6px; color: var(--ink); }
.hp-timeline-desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; max-width: 520px; }

/* Filter pill row (Guides/Tools category & subcategory filters) */
.hp-pill {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-size: 13px; font-weight: 500; cursor: pointer; transition: all .15s;
}
.hp-pill:hover { border-color: var(--accent); color: var(--accent-ink); }
.hp-pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Content card grid (Guides/Tools listing cards) */
.hp-content-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.hp-content-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.hp-content-card .hp-badge-row { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-content-card h3 { font-size: 17px; }
.hp-content-card p { color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.hp-content-card .hp-meta { font-size: 12px; color: var(--muted); }
.hp-empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Affiliate Links (design-fidelity pass, 2026-07-26) — own grid width, not
   the shared .hp-content-grid's 300px minimum (that's Homepage/Guides/Tools' own). */
.hp-affiliate-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hp-affiliate-card { text-decoration: none; color: inherit; }
.hp-affiliate-logo {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--tint); color: var(--accent-ink); font-family: var(--font-display); font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.hp-affiliate-visit { color: var(--accent-ink); font-weight: 600; font-size: 13.5px; }

/* Two-column article layout */
.hp-article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
@media (max-width: 860px) { .hp-article-layout { grid-template-columns: 1fr; } }
.hp-article-body h2 { font-size: 22px; margin: 32px 0 12px; }
.hp-article-body p { line-height: 1.75; color: var(--ink); margin-bottom: 14px; }
.hp-article-body ul { margin: 0 0 14px 20px; line-height: 1.75; color: var(--ink); }
.hp-video-placeholder {
  background: var(--tint); border-radius: var(--r-lg); aspect-ratio: 16/9;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--muted); margin: 20px 0;
}
.hp-pullquote {
  margin: 36px 0; padding: 0 8%;
  font-family: var(--font-display); font-size: 26px; font-style: italic;
  line-height: 1.35; color: var(--ink); text-align: center;
}
.hp-pullquote::before {
  content: "\201C"; display: block; font-size: 44px; line-height: 1;
  color: var(--accent); margin-bottom: 4px; font-style: normal;
}
.hp-sidebar-card { padding: 18px; margin-bottom: 16px; }
.hp-sidebar-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.hp-sidebar-card ul { list-style: none; }
.hp-sidebar-card li { margin-bottom: 8px; }
.hp-sidebar-card a { color: var(--ink); text-decoration: none; font-size: 14px; transition: color .2s; }
.hp-sidebar-card a:hover { color: var(--accent-ink); }

/* Content-filter (Guides/Tools listing): a filtered-out card only gets the
   [hidden] attribute set via JS (content-filter.js), never an inline
   `display:none` — but these cards also carry an inline display (flex, for
   the media-row layout), and a plain inline style always beats [hidden]'s
   UA-stylesheet display:none. !important here is the one legitimate way to
   win back over that inline style without touching the JS. */
[data-filter-card][hidden] { display: none !important; }
/* Same underlying bug, different element: .hp-badge's own class rule sets
   display:inline-block, which (being an author-stylesheet rule) beats the
   UA stylesheet's [hidden]{display:none} regardless of inline styles — so
   pricing.js's `.hidden = true` on the "Best value" pack badge was silently
   not hiding it when a non-best pack was picked. */
[data-pack-best][hidden] { display: none !important; }
/* Third time this exact bug has surfaced (above two are 1st/2nd) — the
   Sign-In modal's data-view toggling (signin.js) hides ~10 different
   elements via el.hidden, several of which carry their own class setting
   display (.hp-field, .hp-consent-block, ...); each one silently stayed
   visible regardless of the hidden attribute, so every view's fields
   rendered simultaneously stacked (sign-up's Full name/consent block
   visible on Sign In, etc.), forcing the modal into a scroll it was never
   supposed to need. Closing this for good with one rule instead of a
   fourth one-off patch: [hidden] always wins here, full stop, regardless
   of what any other author rule declares display as for that element.
   Makes the two rules above and .hp-modal-backdrop[hidden] below
   redundant but harmless — left in place rather than removed. */
[hidden] { display: none !important; }
.hp-author-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; margin: 32px 0; }
.hp-author-card .hp-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gradient); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px;
}
.hp-comment { padding: 16px 0; border-top: 1px solid var(--line); }
.hp-comment .hp-comment-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.hp-comment p { font-size: 14px; color: var(--ink); line-height: 1.6; }

/* ============================================================
   Sign-In modal — added 2026-07-19 (Authentication phase).
   ============================================================ */
.hp-modal-backdrop {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(10, 16, 22, .55); backdrop-filter: blur(3px);
}
.hp-modal-backdrop[hidden] { display: none; }
.hp-modal-dialog {
  width: 900px; max-width: 100%; height: 572px; max-height: 90vh; display: flex; background: var(--surface);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); position: relative;
}
.hp-modal-side {
  width: 300px; flex-shrink: 0; background: var(--gradient); color: #fff; padding: 30px 28px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.hp-modal-side-turnstile { display: flex; justify-content: center; cursor: auto; }
.hp-modal-side-trust { display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; }
.hp-modal-side-trust span { display: flex; gap: 8px; align-items: center; }
.hp-modal-side-tagline { font-family: var(--font-display); font-size: 24px; line-height: 1.3; margin-bottom: 6px; }
.hp-modal-side-pill {
  font-family: var(--font-ui); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-ink); background: #fff; display: inline-block;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 18px;
}
.hp-modal-main { flex: 1; min-width: 0; padding: 22px 40px; overflow-y: auto; display: flex; flex-direction: column; }
/* Post-sign-in / email-sent confirmation collapses the two-column login
   dialog into a compact single-column themed card (the side panel and the
   Google/email options are hidden by signin.js — this just resizes the
   shell around what's left so it reads as a finished confirmation, not a
   half-empty login form). */
.hp-modal-dialog--compact { width: 460px; height: auto; }
.hp-modal-dialog--compact .hp-modal-side { display: none !important; }
.hp-modal-dialog--compact .hp-modal-main { padding: 40px 40px 34px; justify-content: center; }
.hp-signin-success-logo { height: 42px; width: auto; display: block; margin: 0 auto 20px; }
.hp-signin-success-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px; }
.hp-signin-success-head .hp-display { margin: 0; }
.hp-signin-success-check {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gradient);
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
/* Dashboard Danger-zone tile — gradient-filled (Manu 2026-08-10). White copy
   on a deep-red gradient; both destructive buttons stay solid-white with red
   text (no white-on-flat-red, per Manu's earlier button-contrast note), the
   account-delete one weighted heavier so the more dangerous action reads as
   the more prominent one. */
.hp-danger-zone {
  background: linear-gradient(135deg, #C33645 0%, #7E1620 100%);
  border: none; color: #fff;
}
.hp-danger-zone .hp-display { color: #fff; }
.hp-danger-btn { background: #fff; color: #A81C28; border: none; font-weight: 600; }
.hp-danger-btn:hover { filter: brightness(0.96); }
.hp-danger-btn--solid { font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
/* <h2> carries its own browser-default margin (UA stylesheet, ~0.83em top
   and bottom — ~40px combined at 24px font) that isn't collapsed by the
   wrapping div's own margin-bottom:16px (flex items never collapse
   margins) — was silently inflating the headline block to ~66px instead
   of the ~26px its content actually needs, a real contributor to why the
   sign-up view needed to scroll. */
.hp-modal-main h2 { margin: 0; }
/* The mockup's own field styling for this modal specifically — off-white
   fill (var(--bg), not the sitewide var(--surface) white), thicker border/
   radius, sentence-case labels — differs from the sitewide .hp-field/
   .hp-input treatment (mono/uppercase muted labels, elsewhere correct).
   Scoped here rather than changed sitewide, same reasoning as Contact's
   W140 label override. */
.hp-modal-main .hp-field > label {
  font-family: var(--font-ui); font-weight: 600; font-size: 12.5px;
  letter-spacing: normal; text-transform: none; color: var(--ink);
}
.hp-modal-main .hp-input {
  background: var(--bg); border-width: 1.5px; border-radius: 9px; padding: 11px 13px;
}
.hp-modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 22px; line-height: 1; z-index: 2;
}
.hp-modal-eye {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none;
  cursor: pointer; color: var(--muted); display: flex; align-items: center;
}
.hp-modal-eye [data-eye-off] { display: none; }
.hp-modal-eye.is-visible [data-eye] { display: none; }
.hp-modal-eye.is-visible [data-eye-off] { display: inline-flex; }
.hp-modal-footnote { text-align: center; font-size: 12.5px; color: var(--muted); flex-shrink: 0; }
.hp-modal-footnote a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hp-modal-footnote a:hover { color: var(--accent-ink); }
.hp-password-strength { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 5px; }
/* scaleX (not width) so this animates via compositing, not layout — JS sets
   the scaleX transform directly, not a width percentage. */
.hp-password-strength > div {
  height: 100%; width: 100%; background: var(--line); transform: scaleX(0); transform-origin: left;
  transition: transform .2s, background .2s;
}
[data-req] { color: var(--muted); }
[data-req].ok { color: #1F8A5B; font-weight: 600; }
@media (max-width: 640px) { .hp-modal-side { display: none; } .hp-modal-dialog { width: 420px; } }

/* Password-requirement chips + the human-verify widget share one row
   (mockup: justify-content:space-between), not stacked — the widget sits
   flush right of the chips instead of on its own line below them. */
.hp-req-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 3px; }
.hp-req-list { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; }

/* "Please read: Disclaimer, Terms of Use, Privacy Policy" — one nowrap row,
   not three stacked lines (mockup's own layout; this modal is wide enough
   to fit it). Subscribe checkbox is its own row below. */
.hp-consent-block { display: flex; flex-direction: column; gap: 4px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 5px 12px; font-size: 12px; }
.hp-consent-line { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; white-space: nowrap; }

/* Pins the header (above) and submit button (below) in the same position
   across the sign-in/sign-up/forgot views despite differing field counts —
   .hp-signin-spacer absorbs whatever space the current view's fields don't
   use, so it, not the button, is what changes size between views. */
.hp-signin-form { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
/* gap:13px is meant to be the ONLY spacing between form children — but
   <p> and <h2>-family tags carry browser-default margins (UA stylesheet,
   ~1em top+bottom) that stack ON TOP of gap unless zeroed, silently
   double-spacing exactly the elements that don't have their own explicit
   inline style to override it (the two closing paragraphs here). Found by
   measuring actual rendered gaps in a real browser (25px and 38px where
   13px was intended) while diagnosing why sign-up still needed to scroll
   after the [hidden] fix alone didn't account for all of the overflow. */
.hp-signin-form > * { margin: 0; }
.hp-signin-spacer { flex: 1; min-height: 0; }

.hp-consent-row {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
}
.hp-consent-row input[type="checkbox"] { pointer-events: none; }
.hp-consent-row a { color: var(--accent-ink); font-weight: 600; text-decoration: none; pointer-events: none; }

/* Google sign-in/up button (real, clickable since W170 — Apple/Facebook were
   dropped from the template entirely, not just disabled, so this class is
   only ever applied to a real, working button now). */
.hp-social-row { display: flex; gap: 9px; margin-bottom: 10px; }
.hp-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; padding: 12px 10px;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.hp-social-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.hp-social-btn--google { flex: 1; min-width: 0; }
.hp-social-btn--google span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-divider { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hp-divider-line { flex: 1; height: 1px; background: var(--line); }
.hp-divider span { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* Scroll-gated legal-document reader — opened from the sign-up consent
   checkboxes and the sign-in/sign-up footnotes. Sits above the sign-in
   dialog (z-index 1000), matching the mockup's own layering. */
.hp-modal-backdrop--top { z-index: 1100; }
.hp-doc-reader {
  width: 520px; max-width: 100%; background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-float); overflow: hidden;
}
.hp-doc-reader-header {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 22px;
  background: var(--gradient);
}
.hp-doc-reader-header .hp-display { font-size: 19px; color: #fff; }
.hp-doc-reader-close {
  background: none; border: none; cursor: pointer; color: #fff; opacity: .85; font-size: 18px; line-height: 1;
}
.hp-doc-reader-body {
  height: 360px; overflow-y: auto; overflow-anchor: none; overscroll-behavior: contain; padding: 16px 22px; font-size: 13px; line-height: 1.65;
  color: var(--ink); display: flex; flex-direction: column; gap: 12px;
}
.hp-doc-reader-intro { color: var(--ink); opacity: .88; }
.hp-doc-reader-section-title { font-weight: 700; color: var(--ink); }
.hp-doc-reader-section p:not(.hp-doc-reader-section-title) { white-space: pre-line; color: var(--ink); opacity: .88; }
.hp-doc-reader-footer { padding: 12px 22px 14px; border-top: 1px solid var(--line); background: var(--tint); }
.hp-doc-reader-hint {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--accent);
  padding: 5px 10px; border-radius: var(--r-pill); margin-bottom: 10px;
}
.hp-doc-reader-hint.is-done {
  display: block; font-size: 11px; font-weight: 400; color: var(--muted); background: none; padding: 0;
}
.hp-doc-reader-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink); cursor: not-allowed; opacity: .5; }
.hp-doc-reader-agree.is-unlocked { cursor: pointer; opacity: 1; }
.hp-doc-reader-agree input { margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   Dashboard app shell — rebuilt 2026-07-26 (full-bleed sticky drawer sidebar,
   matching UserDashboard.dc.html's own asideStyle/asideClass spec exactly).
   ============================================================ */
.hp-dash-shell { display: flex; align-items: stretch; min-height: calc(100vh - 66px); }
.hp-dash-nav {
  flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: sticky; top: 66px; height: calc(100vh - 66px); align-self: flex-start;
  width: 252px; padding: 22px 16px; transition: width .25s ease, padding .25s ease;
}
.hp-dash-nav.nav-collapsed { width: 74px; padding: 22px 10px; }
.hp-dash-nav-toggle {
  align-self: flex-end; display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: none; color: var(--muted); cursor: pointer; margin-bottom: 14px; flex-shrink: 0;
  transition: transform .25s ease;
}
.hp-dash-nav-toggle:hover { background: var(--tint); color: var(--ink); }
.hp-dash-nav.nav-collapsed .hp-dash-nav-toggle { align-self: center; }
.hp-dash-nav.nav-collapsed .hp-dash-nav-toggle svg { transform: rotate(180deg); }
.hp-dash-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  white-space: nowrap; overflow: hidden;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.hp-dash-nav a svg { flex-shrink: 0; }
.hp-dash-nav a span:first-of-type { flex: 1; }
.hp-dash-nav a:hover { background: var(--accent-tint); color: var(--accent-ink); transform: translateY(-1px); }
.hp-dash-nav a.active { background: var(--gradient); color: #fff; font-weight: 600; box-shadow: 0 6px 18px rgba(255,89,94,.32); }
.hp-dash-nav a.active:hover { background: var(--gradient); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,89,94,.4); }
.hp-dash-nav a.active .hp-reward-pill { color: #fff; background: rgba(255,255,255,.22); }
.hp-dash-nav-spacer { flex: 1; }
.hp-dash-nav-back {
  font-size: 13px;
  display: flex; align-items: center; gap: 9px; color: var(--muted); text-decoration: none;
  padding: 9px 12px; border-radius: 9px; margin-bottom: 6px; white-space: nowrap; overflow: hidden;
  transition: color .2s;
}
.hp-dash-nav-back:hover { color: var(--accent-ink); }
.hp-dash-nav-profile {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border-top: 1px solid var(--line);
}
.hp-dash-nav-avatar {
  width: 44px; height: 44px; border-radius: 13px; object-fit: cover; flex-shrink: 0;
  background: var(--gradient); box-shadow: 0 4px 12px rgba(255,89,94,.3);
}
.hp-dash-nav-avatar--initials {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px; font-family: var(--font-ui);
}
.hp-dash-nav-profile-text { min-width: 0; }
.hp-dash-nav-profile-name { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-dash-nav-profile-email { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 1px 0 2px; }
.hp-dash-nav-profile-plan { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Collapsed rail: every item is icon-only and dead-centered. Labels (and the
   reward pills) are display:none — not just font-size:0 — because their
   flex:1 label span otherwise still occupies width and shoves the icon
   off-centre. Icons are enlarged for legibility at the narrow width. */
.hp-dash-nav.nav-collapsed nav { gap: 4px; }
.hp-dash-nav.nav-collapsed a { gap: 0; justify-content: center; padding: 11px 0; }
.hp-dash-nav.nav-collapsed a span { display: none; }
.hp-dash-nav.nav-collapsed a svg { width: 21px; height: 21px; }
.hp-dash-nav.nav-collapsed .hp-dash-nav-back { gap: 0; justify-content: center; padding: 10px 0; }
.hp-dash-nav.nav-collapsed .hp-dash-nav-back span { display: none; }
.hp-dash-nav.nav-collapsed .hp-dash-nav-back svg { width: 20px; height: 20px; }
.hp-dash-nav.nav-collapsed .hp-dash-nav-profile { justify-content: center; }
.hp-dash-nav.nav-collapsed .hp-dash-nav-profile-text { display: none; }
@media (max-width: 900px) {
  .hp-dash-shell { flex-direction: column; }
  .hp-dash-nav { position: static; width: auto !important; height: auto; flex-direction: row; flex-wrap: wrap; padding: 14px 16px !important; border-right: none; border-bottom: 1px solid var(--line); }
  .hp-dash-nav-toggle { display: none; }
  .hp-dash-nav nav { flex-direction: row; flex-wrap: wrap; gap: 4px !important; }
  .hp-dash-nav-spacer { flex-basis: 100%; height: 0; }
  .hp-dash-nav-back, .hp-dash-nav-profile { display: none; }
}
.hp-reward-pill {
  margin-left: auto; font-family: var(--font-mono); font-size: 8.5px; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-tint); border-radius: 100px; padding: 3px 6px;
}
.hp-dash-tab { display: none; }
.hp-dash-tab.active { display: block; }
.hp-dash-empty { padding: 48px 24px; text-align: center; color: var(--muted); }
.hp-progress-track { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 10px 0 4px; }
.hp-progress-track > div { height: 100%; background: var(--gradient); transform-origin: left; transition: transform .3s; }
.hp-field-saved { font-size: 11px; color: #1F8A5B; margin-top: 4px; display: none; }
.hp-field-saved.show { display: block; }

/* ---------- Dashboard main content area + plan banner + greeting ---------- */
.hp-dash-main { flex: 1; min-width: 0; }
.hp-dash-content { padding: 30px 40px 54px; }
.hp-dash-banner {
  background: var(--gradient); color: #fff;
  padding: 14px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.hp-dash-banner-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hp-dash-banner-detail { font-size: 13px; color: rgba(255,255,255,.92); }
.hp-dash-banner-actions { display: flex; align-items: center; gap: 10px; }
.hp-dash-banner-btn {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px; text-decoration: none;
  padding: 8px 14px; border-radius: var(--r-md); border: 1.5px solid rgba(255,255,255,.5);
  color: #fff; background: rgba(255,255,255,.14); transition: transform .2s;
}
.hp-dash-banner-btn:hover { transform: translateY(-1px); }
.hp-dash-banner-btn--primary { background: #fff; color: var(--accent-ink); border-color: transparent; }
.hp-dash-greeting { margin-bottom: 22px; }
.hp-dash-greeting .hp-label { margin-bottom: 8px; }
.hp-dash-greeting h1 { font-size: 34px; font-weight: 400; line-height: 1.05; }

/* ---------- Token Overview transactions table (design-fidelity pass, 2026-07-26) ---------- */
.hp-token-filter { display: flex; gap: 6px; }
.hp-token-filter button {
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; cursor: pointer;
  padding: 7px 13px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--surface, var(--bg)); color: var(--muted);
}
.hp-token-filter button.active { background: var(--accent-tint); color: var(--accent-ink); border-color: var(--accent); }
.hp-token-tx-table { overflow: hidden; }
.hp-token-tx-row {
  display: grid; grid-template-columns: 2.2fr .8fr .8fr 1fr; gap: 12px;
  padding: 13px 20px; font-size: 13.5px; align-items: center; border-top: 1px solid var(--line);
}
.hp-token-tx-row--head {
  border-top: none; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
  background: var(--tint);
}
.hp-token-pill {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill);
}
.hp-token-pill--soft { color: var(--accent-ink); background: var(--accent-tint); }
.hp-token-pill--hard { color: #1F8A5B; background: rgba(31,138,91,.12); }
.hp-token-tx-row[hidden] { display: none; }

/* ---------- Personal Details view/edit toggle (design-fidelity pass, 2026-07-26) ---------- */
.hp-personal-header { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hp-personal-avatar {
  position: relative; width: 72px; height: 72px; border-radius: var(--r-lg); overflow: hidden; flex-shrink: 0; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.hp-personal-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-personal-avatar-tag {
  position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.45); color: #fff;
  font-family: var(--font-ui); font-weight: 600; font-size: 9px; letter-spacing: .05em; text-transform: uppercase;
  text-align: center; padding: 3px 0; display: none;
}
.hp-personal-avatar[data-mode="edit"] .hp-personal-avatar-tag { display: block; }
.hp-personal-avatar[data-mode="view"] { cursor: default; pointer-events: none; }
.hp-personal-avatar input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hp-personal-remove-photo {
  margin-top: 6px; background: none; border: none; cursor: pointer; color: var(--accent-ink);
  font-family: var(--font-ui); font-weight: 600; font-size: 12px; padding: 0;
}
.hp-personal-edit-actions { display: flex; gap: 8px; flex-shrink: 0; }
.hp-personal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 36px; }
.hp-personal-view-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px;
}
.hp-personal-view-value { font-size: 15px; font-weight: 500; }
.hp-personal-privacy-box {
  border: 1.5px solid var(--accent-ink); background: var(--accent-tint); border-radius: var(--r-lg);
  padding: 18px 22px; margin-bottom: 16px; display: flex; gap: 14px; align-items: flex-start;
}
.hp-personal-privacy-box svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-ink); }
.hp-personal-privacy-box p { font-size: 13px; line-height: 1.65; color: var(--ink); }

/* ---------- Date picker (locked shared component — mandatory on every date
   input site-wide, see CLAUDE.md "Shared UI components") ----------
   Ported from Tools/Pay-Fixation-2016/app.html's `.dp*` rules (locked as
   L165 in that project's FEATURE_LEDGER.md), reused unchanged in structure.
   Variable names are translated to this file's own tokens (Pay-Fixation's
   internal theme uses a different variable set for the same colors — e.g.
   its --accent-ink is white text-on-accent, this file's --on-accent is the
   equivalent; --danger there has no equivalent here, mapped to --copper,
   this design system's own error/warning hue) — same look, correct tokens.
   The three invariants that must survive any future edit: .dp-body keeps a
   FIXED height so day/month/decade views are all one size; .dp-dow toggles
   via visibility (never display:none) so hiding it doesn't shrink the
   popup; .dp-wm stays centered at max-width:75%, opacity .075, z-index:-1. */
.dp { position: absolute; z-index: 120; width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-float); padding: 7px; display: none; }
.dp.on { display: block; animation: hpDpPop .14s ease-out; }
.dp-wm { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 75%; max-height: 75%; width: auto; height: auto; object-fit: contain; opacity: .075; pointer-events: none; z-index: -1; user-select: none; }
.dp-h { display: flex; align-items: center; gap: 3px; padding: 0 0 3px; position: relative; }
.dp-nav { width: 24px; height: 24px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.dp-nav:hover { background: var(--accent-tint); color: var(--accent-ink); }
.dp-nav svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.dp-title { flex: 1; text-align: center; font-weight: 700; font-size: 12.5px; color: var(--ink); padding: 3px; border-radius: var(--r-sm); font-family: var(--font-display); }
.dp-title:hover { background: var(--accent-tint); color: var(--accent-ink); }
.dp-title .zh { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .09em; color: var(--accent-ink); text-transform: uppercase; margin-top: 0; }
.dp-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 0 1px; }
.dp-dow span { text-align: center; font-size: 9px; font-weight: 700; color: var(--muted); padding: 1px 0; text-transform: uppercase; }
.dp-body { height: 164px; display: flex; flex-direction: column; }
.dp-grid { flex: 1; display: grid; gap: 2px; padding: 1px; }
.dp-grid.days { grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; }
.dp-grid.m4 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
.dp-cell { border-radius: var(--r-sm); font-size: 11.5px; font-weight: 500; display: flex; align-items: center; justify-content: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.dp-grid.m4 .dp-cell { font-size: 12px; font-weight: 600; }
.dp-cell:hover { background: var(--accent-tint); }
.dp-cell.out { color: var(--muted); opacity: .55; }
.dp-cell.today { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-ink); font-weight: 700; }
.dp-cell.sel { background: var(--accent) !important; color: var(--on-accent) !important; font-weight: 700; }
.dp-cell[disabled] { color: var(--muted); opacity: .35; cursor: not-allowed; background: none !important; box-shadow: none; }
.dp-cell.blank { pointer-events: none; opacity: 0 !important; background: none !important; box-shadow: none !important; }
#dpExtChips { position: absolute; z-index: 198; display: none; flex-wrap: wrap; gap: 6px; padding: 6px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
#dpExtChips button { font-size: 11px; font-weight: 700; color: var(--accent-ink); background: var(--accent-tint); border-radius: var(--r-pill); padding: 5px 11px; font-variant-numeric: tabular-nums; }
#dpExtChips button:hover { background: var(--accent); color: var(--on-accent); }
.dp-f { display: flex; gap: 6px; padding: 6px 2px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.dp-f button { font-size: 11.5px; font-weight: 700; color: var(--accent-ink); padding: 5px 8px; border-radius: var(--r-sm); }
.dp-f button:hover { background: var(--accent-tint); }
.dp-f .sp { flex: 1; }
.dp-f .clr { color: var(--copper); }
@keyframes hpDpPop { from { opacity: 0; transform: translateY(5px) scale(.985); } to { opacity: 1; transform: none; } }

/* Date-input wrapper + calendar-icon trigger button (pairs with data-date inputs) */
.hp-dwrap { position: relative; }
.hp-din { padding-right: 40px; }
.hp-dico { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--muted); }
.hp-dico:hover { background: var(--accent-tint); color: var(--accent-ink); }
.hp-dico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; }

/* ---------- Homepage motion layer (ported from Homepage.dc.html's page-local <style>) ---------- */
@keyframes hpBlobA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(46px,34px) scale(1.16); } }
@keyframes hpBlobB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-54px,42px) scale(1.2); } }
@keyframes hpBlobC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(34px,-32px) scale(1.12); } }
@keyframes hpGlowDrift { 0% { transform: translate(-3%,-4%) scale(1); opacity: .4; } 100% { transform: translate(6%,5%) scale(1.18); opacity: .8; } }
@keyframes hpGradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes hpCardIn { from { opacity: 0; transform: translateY(34px) scale(.96); } to { opacity: 1; transform: none; } }

.hp-gradient-shift { background-size: 170% 170%; animation: hpGradientShift 16s ease infinite; }
.hp-gradient-shift--slow { animation-duration: 18s; }
.hp-blob-a { animation: hpBlobA 22s ease-in-out infinite; }
.hp-blob-b { animation: hpBlobB 28s ease-in-out infinite; }
.hp-blob-c { animation: hpBlobC 24s ease-in-out infinite; }
.hp-glow-drift { animation: hpGlowDrift 13s ease-in-out infinite alternate; }

.hp-hero-3d-canvas, .hp-news-3d-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0;
}

.hp-carousel-wheel { position: relative; height: 504px; overflow: hidden; }
.hp-carousel-peek { position: relative; }

/* Scroll-reveal (homepage-scroll.js's initReveal toggles the .in class on intersect,
   with a per-sibling transitionDelay set inline — no wrapper/root class involved). */
[data-reveal] { opacity: 0; transform: translateY(30px) scale(.985); transition: opacity .85s cubic-bezier(.16,.8,.3,1), transform .85s cubic-bezier(.16,.8,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hp-gradient-shift, .hp-blob-a, .hp-blob-b, .hp-blob-c, .hp-glow-drift { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Custom 404/500 error page — teddy-on-the-code, themed gradient
   (ported from the 404.dc-2.html "Claude Design" handoff, 2026-07-26) ---------- */
.hp-error-hero {
  flex: 1; position: relative; overflow: hidden;
  background: var(--gradient); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 40px 64px; min-height: 660px;
}
.hp-error-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 34% at 22% 22%, rgba(255,255,255,.22) 0%, transparent 70%),
              radial-gradient(ellipse 50% 30% at 80% 64%, rgba(255,255,255,.16) 0%, transparent 70%);
}
.hp-error-shapes { position: absolute; inset: 0; pointer-events: none; font-family: var(--font-mono); color: rgba(255,255,255,.35); }
.hp-error-glyph { position: absolute; }
.hp-error-glyph--1 { top: 16%; left: 10%; font-size: 28px; animation: hpErrDrift 7s ease-in-out infinite; }
.hp-error-glyph--2 { top: 26%; right: 11%; font-size: 21px; animation: hpErrDrift 8s ease-in-out -3s infinite; }
.hp-error-ring { position: absolute; border-radius: 50%; }
.hp-error-ring--1 { bottom: 22%; left: 15%; width: 13px; height: 13px; border: 3px solid rgba(255,255,255,.3); animation: hpErrDrift 9s ease-in-out -5s infinite; }
.hp-error-ring--2 { top: 56%; right: 8%; width: 8px; height: 8px; background: rgba(255,255,255,.3); animation: hpErrDrift 6.5s ease-in-out -1s infinite; }

.hp-error-stage { position: relative; display: flex; justify-content: center; }
.hp-error-digits {
  font-family: var(--font-display); font-size: min(26vw, 360px); line-height: .95;
  letter-spacing: .04em; color: rgba(255,255,255,.28); white-space: nowrap; user-select: none;
}
.hp-error-digits span { display: inline-block; animation: hpErrDrop 2.2s cubic-bezier(.3,.7,.3,1) both; }

/* Mascot: absolutely centered, standing on the middle "0" */
.hp-error-mascot {
  position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 230px; height: 280px; animation: hpErrPopIn 1s cubic-bezier(.34,1.3,.56,1) .3s both;
}
.hp-error-mascot-bob { position: absolute; inset: 0; animation: hpErrBob 3.8s ease-in-out 1.4s infinite; }
.hp-error-arm-ask {
  position: absolute; top: 158px; left: 16px; width: 16px; height: 68px; background: #F0EBE4;
  border-radius: 10px; transform-origin: top center; transform: rotate(15deg);
  animation: hpErrHandAsk 4.2s ease-in-out 1.6s infinite; box-shadow: 0 6px 12px rgba(0,0,0,.1);
}
.hp-error-arm-ask span { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: #F5F1EA; box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.hp-error-body {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: 188px; height: 238px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0ECE5 100%);
  border-radius: 48% 48% 44% 44% / 58% 58% 40% 40%;
  box-shadow: 0 26px 54px rgba(0,0,0,.24), inset 0 -16px 26px rgba(22,48,63,.06);
}
.hp-error-arm-scratch {
  position: absolute; top: -16px; right: 0; width: 17px; height: 88px; background: #FFFFFF;
  border-radius: 10px; transform-origin: bottom center; transform: rotate(-36deg);
  animation: hpErrScratch 3.4s ease-in-out 1.4s infinite; box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.hp-error-arm-scratch span { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; }
.hp-error-brow { position: absolute; top: 52px; width: 21px; height: 5px; border-radius: 3px; background: #16303F; opacity: .8; animation: hpErrBrow 3.4s ease-in-out 1.4s infinite; }
.hp-error-brow--l { left: 44px; --tilt: 12deg; transform: rotate(12deg); }
.hp-error-brow--r { right: 44px; --tilt: -12deg; transform: rotate(-12deg); }
.hp-error-eyes { position: absolute; top: 66px; left: 0; right: 0; display: flex; justify-content: center; gap: 24px; }
.hp-error-eye {
  position: relative; width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; overflow: hidden;
  box-shadow: 0 3px 8px rgba(22,48,63,.18), inset 0 0 0 2px rgba(22,48,63,.08);
  animation: hpErrBlink 4.6s ease-in-out infinite;
}
.hp-error-pupil { position: absolute; top: 13px; left: 13px; width: 14px; height: 14px; border-radius: 50%; background: #16303F; animation: hpErrPupils 5.2s ease-in-out infinite; }
.hp-error-cheek { position: absolute; top: 116px; width: 16px; height: 10px; border-radius: 50%; background: var(--accent); opacity: .28; }
.hp-error-cheek--l { left: 30px; }
.hp-error-cheek--r { right: 30px; }
.hp-error-mouth {
  position: absolute; top: 128px; left: 50%; transform: translateX(-50%); width: 26px; height: 15px;
  border: 4px solid #16303F; border-bottom-color: transparent; border-left-color: transparent;
  border-right-color: transparent; border-radius: 50%; opacity: .85;
}
.hp-error-feet { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); display: flex; gap: 26px; }
.hp-error-foot { width: 46px; height: 20px; border-radius: 10px 10px 8px 8px; background: #ECE7DF; box-shadow: 0 6px 12px rgba(0,0,0,.14); }
.hp-error-foot--tap { transform-origin: right bottom; animation: hpErrFootTap 1.6s ease-in-out 1.8s infinite; }
.hp-error-shadow { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 170px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.16); filter: blur(4px); }

.hp-error-headline { font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: 1.1; margin-top: 22px; text-wrap: balance; }
.hp-error-subline { font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.92); margin-top: 10px; max-width: 30rem; }
.hp-error-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.hp-error-btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 24px;
  border-radius: 10px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.55);
  color: #fff; transition: background .2s, transform .2s, box-shadow .2s;
}
.hp-error-btn:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.hp-error-btn--primary { background: #fff; color: var(--accent-ink); border-color: transparent; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.hp-error-btn--primary:hover { background: #fff; box-shadow: 0 16px 36px rgba(0,0,0,.24); }
.hp-error-stuck { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.8); margin-top: 20px; flex-wrap: wrap; justify-content: center; }
.hp-error-stuck a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hp-error-stuck a:hover { opacity: .85; }

@keyframes hpErrDrop { 0% { opacity: 0; transform: translateY(-52vh); } 12% { opacity: 1; } 70% { transform: translateY(0); } 82% { transform: translateY(-12px); } 93% { transform: translateY(0); } 100% { transform: translateY(0); } }
@keyframes hpErrPopIn { 0% { opacity: 0; transform: translateX(-50%) scale(.7) translateY(30px); } 70% { transform: translateX(-50%) scale(1.03) translateY(-5px); } 100% { opacity: 1; transform: translateX(-50%) scale(1) translateY(0); } }
@keyframes hpErrBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hpErrScratch { 0%, 52%, 100% { transform: rotate(-36deg); } 60% { transform: rotate(-48deg); } 68% { transform: rotate(-33deg); } 76% { transform: rotate(-48deg); } 84% { transform: rotate(-36deg); } }
@keyframes hpErrFootTap { 0%, 20%, 100% { transform: translateY(0); } 6% { transform: translateY(-11px) rotate(-7deg); } 12% { transform: translateY(0); } 16% { transform: translateY(-7px) rotate(-5deg); } }
@keyframes hpErrHandAsk { 0%, 14%, 86%, 100% { transform: rotate(15deg); } 30%, 60% { transform: rotate(74deg) translateY(-2px); } 38% { transform: rotate(66deg); } 46% { transform: rotate(78deg); } 54% { transform: rotate(68deg); } }
@keyframes hpErrPupils { 0%, 22% { transform: translate(-5px,-4px); } 34%, 56% { transform: translate(5px,-5px); } 68%, 88% { transform: translate(0,1px); } 100% { transform: translate(-5px,-4px); } }
@keyframes hpErrBlink { 0%, 91%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.08); } }
@keyframes hpErrBrow { 0%, 45%, 100% { transform: translateY(0) rotate(var(--tilt)); } 55%, 70% { transform: translateY(-3px) rotate(var(--tilt)); } }
@keyframes hpErrDrift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(9deg); } }

@media (prefers-reduced-motion: reduce) {
  .hp-error-digits span, .hp-error-mascot, .hp-error-mascot-bob, .hp-error-arm-ask, .hp-error-arm-scratch,
  .hp-error-brow, .hp-error-eye, .hp-error-pupil, .hp-error-foot--tap, .hp-error-glyph, .hp-error-ring {
    animation: none !important;
  }
  .hp-error-mascot { opacity: 1; }
}

/* ============================================================
   Admin console (Slice 1) — reuses the dashboard drawer-shell; only these
   admin-specific bits are new: the ADMIN badge, nav attention-counts, and
   the list tables.
   ============================================================ */
.hp-admin-badge { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #fff; background: var(--gradient); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.hp-dash-nav.nav-collapsed .hp-admin-badge { align-self: center; font-size: 0; padding: 5px 7px; }
.hp-dash-nav.nav-collapsed .hp-admin-badge::before { content: "A"; font-size: 11px; letter-spacing: 0; }
.hp-admin-count { margin-left: auto; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 100px; min-width: 18px; text-align: center; padding: 2px 6px; }
.hp-dash-nav a.active .hp-admin-count { background: rgba(255,255,255,.28); }
.hp-dash-nav.nav-collapsed .hp-admin-count { display: none; }
.hp-admin-table-wrap { overflow-x: auto; }
.hp-admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hp-admin-table th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); white-space: nowrap; }
.hp-admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hp-admin-table tr:last-child td { border-bottom: none; }
.hp-admin-mono { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.hp-admin-empty { padding: 22px 16px; color: var(--muted); font-size: 13px; }
.hp-admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-admin-btn { font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; border: none; cursor: pointer; padding: 5px 11px; border-radius: 6px; white-space: nowrap; transition: filter .15s; }
.hp-admin-btn:hover { filter: brightness(.96); }
.hp-admin-btn--approve { background: rgba(31,138,91,.14); color: #1F8A5B; }
.hp-admin-btn--reject { background: var(--accent-tint); color: var(--accent-ink); }
.hp-admin-btn--neutral { background: var(--bg-soft); color: var(--muted); }

/* Prefill amount chips (admin token-award) — filled coral pill, bold, like the calculator's suggestion chips */
.hp-token-chip { font-family: var(--font-mono); font-size: 13px; font-weight: 700; cursor: pointer; padding: 7px 18px; border-radius: 999px; border: none; background: var(--accent-tint); color: var(--accent-ink); transition: filter .15s, transform .1s; }
.hp-token-chip:hover { filter: brightness(.97); transform: translateY(-1px); }

/* Verify-box: a touch shorter so the sign-up view fits the fixed-height modal without hiding the footer (Manu, 2026-08-17) */
.hp-modal-turnstile { overflow: hidden; }
.hp-modal-turnstile .cf-turnstile { transform: scale(0.87); transform-origin: left top; margin-bottom: -9px; }
