/* ─────────────────────────────────────────────────────────────────
   Plattr Support — brand-aligned skin overlay.

   Loaded AFTER core.css, surgically swaps the gold-themed palette for
   the same brand tokens the dashboard uses (rose / brand-primary).
   Also switches typography to the Outfit + Inter pair used across the
   rest of the suite. Visual identity now reads as ONE Plattr — sign in,
   open Support, the chrome feels familiar.
   ───────────────────────────────────────────────────────────────── */

:root{
  /* Brand tokens — Plattr's corporate PURPLE (#3B6FF6). Support is a
     Plattr-wide property so it wears Plattr's own brand by default;
     a logged-in merchant's workspace colour only tints the LOGO mark
     (layout.php emits a --brand-primary override when it can resolve
     one). Anonymous visitors get this purple throughout. */
  --brand-primary:#3B6FF6;
  --brand-primary-rgb:59,111,246;
  --brand-secondary:#7AA0FB;
  --brand-tertiary:#2352D8;
  --brand-gradient:linear-gradient(135deg,#3B6FF6,#2352D8);
  --brand-gradient-soft:linear-gradient(135deg,#7AA0FB,#3B6FF6);
  --brand-text-on:#FFFFFF;
  --brand-tint-4:rgba(59,111,246,0.04);
  --brand-tint-8:rgba(59,111,246,0.08);
  --brand-tint-12:rgba(59,111,246,0.12);
  --brand-tint-18:rgba(59,111,246,0.18);
  --brand-tint-25:rgba(59,111,246,0.25);
  --brand-shadow:0 20px 60px rgba(59,111,246,0.18), 0 4px 16px rgba(59,111,246,0.12);

  /* Gold compat shims so anywhere the old palette is still referenced
     by name (some of the cards, the foot logo) it inherits the new
     brand instead of staying gold. */
  --gold:#3B6FF6;
  --gold-light:#7AA0FB;
  --gold-bright:#B7A4F2;
  --gold-dim:#2352D8;

  /* Lighter surface so the page reads as a calm cream-and-rose canvas,
     matching the dashboard light-mode aesthetic — instead of the older
     dark-gold-on-near-black support look. */
  --dark:#FAF7F4;
  --dark-surface:#FFFFFF;
  --dark-card:#FFFFFF;
  --dark-card-2:#F8F4EE;
  --dark-border:#EDE6DC;
  --dark-border-light:#E0D8CB;
  --text-primary:#0F0E15;
  --text-secondary:#5C5867;
  --text-muted:#8E899D;
  --text-disabled:#B8B3C7;
}

/* Typography — match the dashboard's Outfit (display) + Inter (body)
   pair. The original DM Sans / Plus Jakarta Sans were close cousins
   but visually distinct; aligning here makes the surfaces feel like
   one app.  We DON'T link the Google CSS again because layout.php
   already has its own preconnect — we just append Outfit + Inter to
   that link if it's missing via the @import below as a safety net. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

body{
  font-family:'Inter','DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  /* The top wash follows the active brand (purple by default, the
     signed-in merchant's colour when layout.php injects an override) so
     the whole canvas reads as one brand rather than a fixed rose tint. */
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(var(--brand-primary-rgb),0.06), transparent 60%),
    linear-gradient(180deg, #FBF8F4 0%, #FAF7F4 50%, #FBF8F4 100%);
  color:var(--text-primary);
}

h1, h2, h3, h4, h5, h6,
.sup-brand-word,
.sup-card-title{
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Inter','Plus Jakarta Sans','DM Sans',sans-serif;
  color:var(--text-primary);
}

a{ color:var(--brand-primary); }
a:hover{ color:var(--brand-tertiary); }

/* ── Nav: white card, brand-coloured mark + plattr-logo.webp ── */
.sup-nav{
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(20px) saturate(1.4);
  -webkit-backdrop-filter:blur(20px) saturate(1.4);
  border-bottom:1px solid var(--dark-border);
}
.sup-nav-link{ color:var(--text-secondary); }
.sup-nav-link:hover{ color:var(--text-primary); }
.sup-nav-link.is-active{ color:var(--brand-primary); }

/* Replace the chunky "P" brand mark with the actual Plattr logo.
   The markup now renders <img class="sup-brand-logo"> directly (see
   layout.php) so we just size it. Any legacy "P" mark is hidden. */
.sup-brand-mark{ display:none !important; }
.sup-brand-word{ display:none !important; }
/* Logo is painted via CSS mask so it inherits var(--brand-primary):
   Plattr purple for anonymous visitors, the logged-in merchant's
   workspace colour when layout.php resolved + injected one. The <img>
   stays in the DOM (alt text for screen readers) but is clipped to
   1px — the ::after carries the visible, tintable silhouette. The
   logo is 1549×469 (≈3.3:1) so at 24px tall it's ~80px wide. */
.sup-brand-logo{
  position:relative;
  display:inline-block;
  width:80px; height:24px;
  flex-shrink:0;
}
.sup-brand-logo::after{
  content:'';
  position:absolute; inset:0;
  /* --logo-tint defaults to Plattr purple; layout.php overrides it
     with the logged-in merchant's workspace colour. Only the LOGO
     uses this var — the rest of the support UI stays Plattr purple. */
  background-color:var(--logo-tint, var(--brand-primary));
  -webkit-mask:url('/support/plattr-logo.webp?v=4') left center / contain no-repeat;
          mask:url('/support/plattr-logo.webp?v=4') left center / contain no-repeat;
  transition:background-color .3s var(--ease);
}
.sup-foot-logo{
  position:relative; display:inline-block;
  width:74px; height:22px; opacity:0.9;
}
.sup-foot-logo::after{
  content:'';
  position:absolute; inset:0;
  background-color:var(--brand-primary);
  -webkit-mask:url('/support/plattr-logo.webp?v=4') left center / contain no-repeat;
          mask:url('/support/plattr-logo.webp?v=4') left center / contain no-repeat;
}
.sup-brand-tag{
  font:700 10px/1 -apple-system,BlinkMacSystemFont,'SF Pro Display','Inter','Inter',sans-serif;
  letter-spacing:0.12em; text-transform:uppercase;
  color:var(--brand-primary);
  padding:3px 8px; border-radius:99px;
  background:var(--brand-tint-12);
  border:1px solid var(--brand-tint-25);
  margin-left:2px;
}

/* ── Buttons: solid brand pink, no gold gradient ── */
.sup-btn-primary{
  background:var(--brand-primary) !important;
  color:#fff !important;
  border-color:transparent !important;
  box-shadow:0 6px 14px var(--brand-tint-25);
}
.sup-btn-primary:hover{
  background:var(--brand-tertiary) !important;
  box-shadow:0 10px 22px var(--brand-tint-25);
}
.sup-btn-ghost{
  background:transparent !important;
  color:var(--text-primary) !important;
  border:1px solid var(--dark-border) !important;
}
.sup-btn-ghost:hover{
  background:var(--brand-tint-4) !important;
  border-color:var(--brand-tint-25) !important;
}

/* ── Cards: white surface, brand-tinted hover ── */
.sup-card,
.sup-card-grid > .sup-card{
  background:var(--dark-surface);
  border:1px solid var(--dark-border);
  box-shadow:0 1px 2px rgba(0,0,0,0.03), 0 8px 24px rgba(0,0,0,0.04);
}
.sup-card:hover{
  border-color:var(--brand-tint-25);
  box-shadow:0 4px 12px rgba(0,0,0,0.04), 0 16px 40px var(--brand-tint-8);
}
.sup-card-icon{
  background:var(--brand-tint-12);
  color:var(--brand-primary);
}
.sup-card-meta{ color:var(--text-muted); }

/* ── Hero ── */
.sup-hero{
  background:radial-gradient(800px 400px at 50% 100%, var(--brand-tint-12), transparent 70%);
}
.sup-hero h1{ color:var(--text-primary); }
.sup-hero-eyebrow{
  color:var(--brand-primary) !important;
  background:var(--brand-tint-12);
  border:1px solid var(--brand-tint-25);
}
/* The FORM wrapper is a transparent passthrough — only the <input>
   inside it carries the border / shadow / focus ring. Previously the
   wrapper ALSO had a border + ring, so on focus you saw TWO outlines
   stacked (the ridiculous double box the user flagged). Neutralised. */
.sup-hero-search{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.sup-hero-search:focus-within{
  border:0 !important;
  box-shadow:none !important;
}
.sup-hero-search input{ color:var(--text-primary); }
.sup-hero-search input::placeholder{ color:var(--text-muted); }
.sup-hero-search-action{
  background:var(--brand-primary);
  color:#fff;
}
.sup-hero-search-action:hover{ background:var(--brand-tertiary); }

/* ── User pill in nav ── */
.sup-user-trigger{
  background:var(--brand-tint-8);
  border:1px solid var(--brand-tint-25);
  color:var(--text-primary);
}
.sup-user-trigger:hover{
  background:var(--brand-tint-12);
}
/* Avatar matches the dashboard's default: a brand-coloured circle with a
   white user glyph, OR the merchant's photo when they've uploaded one
   (.has-pic). No more bare initial letter. */
.sup-user-avatar{
  display:inline-flex; align-items:center; justify-content:center;
  overflow:hidden;
  background:var(--brand-primary);
  color:#fff;
}
.sup-user-avatar i{ font-size:16px; line-height:1; }
.sup-user-avatar.has-pic{ background:transparent; }
.sup-user-avatar.has-pic img{ width:100%; height:100%; object-fit:cover; display:block; }

/* "Dashboard" return button — visible next to the user pill on desktop;
   on narrow screens it collapses (the same link lives in the dropdown). */
.sup-back-dash{ display:inline-flex; align-items:center; gap:6px; }
.sup-back-dash i{ font-size:16px; }
@media (max-width:560px){ .sup-back-dash{ display:none; } }
.sup-user-menu{
  background:var(--dark-surface);
  border:1px solid var(--dark-border);
  box-shadow:0 18px 50px rgba(0,0,0,0.15);
}
.sup-user-menu-item{ color:var(--text-secondary); }
.sup-user-menu-item:hover{
  background:var(--brand-tint-8);
  color:var(--text-primary);
}

/* ── Footer ── */
.sup-foot{
  background:var(--dark-card-2);
  border-top:1px solid var(--dark-border);
  color:var(--text-secondary);
}
.sup-foot-label{ color:var(--text-primary); }
.sup-foot a{ color:var(--text-secondary); }
.sup-foot a:hover{ color:var(--brand-primary); }
.sup-foot-base{
  border-top:1px solid var(--dark-border);
  color:var(--text-muted);
}

/* Section labels / dividers */
.sup-section-title{ color:var(--text-primary); }
.sup-section-action{ color:var(--brand-primary); }
.sup-section-action:hover{ color:var(--brand-tertiary); }

/* Mobile panel + burger */
.sup-mobile-panel{
  background:var(--dark-surface);
  border-bottom:1px solid var(--dark-border);
}
.sup-mobile-link{ color:var(--text-primary); }
.sup-mobile-link:hover{ background:var(--brand-tint-8); }
.sup-nav-burger span{ background:var(--text-primary); }

/* ═══════════════════════════════════════════════════════════════════
   OpenAI × Apple × Plattr redesign — nav, hero, search, cards.
   Generous whitespace, big confident type, layered soft shadows,
   one accent colour (brand rose). The search bar is the centrepiece.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Nav: taller, airier, frosted ── */
.sup-nav{ height:68px; }
.sup-nav-inner{ max-width:1080px; padding:0 28px; gap:20px; }
.sup-nav-link{
  font:500 14px/1 'Inter',sans-serif;
  padding:8px 14px; border-radius:10px;
  color:var(--text-secondary);
}
.sup-nav-link:hover{ background:var(--brand-tint-8); color:var(--text-primary); }
.sup-nav-link.is-active{
  background:var(--brand-tint-12) !important;
  color:var(--brand-primary) !important;
  box-shadow:none !important;
}

/* ── Hero: drop the bordered box, go open + airy (OpenAI) ── */
.sup-hero{
  border:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  padding:72px 16px 8px !important;
  margin-bottom:8px !important;
  overflow:visible !important;
}
.sup-hero::before{ display:none !important; }
.sup-hero-eyebrow{
  font:700 11px/1 -apple-system,BlinkMacSystemFont,'SF Pro Display','Inter','Inter',sans-serif;
  letter-spacing:0.16em;
  color:var(--brand-primary) !important;
  background:var(--brand-tint-12);
  border:1px solid var(--brand-tint-25);
  padding:6px 14px; margin-bottom:22px;
}
.sup-hero h1{
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Inter','Plus Jakarta Sans',sans-serif;
  font-weight:800;
  font-size:clamp(40px, 6vw, 68px) !important;
  letter-spacing:-0.03em;
  line-height:1.02;
  color:var(--text-primary);
  margin-bottom:18px !important;
}
.sup-hero p{
  font-size:clamp(16px, 1.5vw, 19px) !important;
  color:var(--text-secondary);
  max-width:540px; margin:0 auto 34px !important;
  line-height:1.5;
}

/* ── Search: the centrepiece. Big, rounded-rect (Apple, not pill),
      layered depth shadow, brand focus ring, brand submit circle. ── */
.sup-hero-search{ max-width:680px !important; position:relative; }
.sup-hero-search input{
  padding:20px 64px 20px 58px !important;
  border-radius:18px !important;
  font:500 17px/1.2 'Inter',sans-serif !important;
  background:var(--dark-surface) !important;
  border:1px solid var(--dark-border) !important;
  color:var(--text-primary) !important;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.06),
    0 24px 60px rgba(0,0,0,0.05) !important;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease) !important;
}
.sup-hero-search input::placeholder{ color:var(--text-muted); }
.sup-hero-search input:focus{
  border-color:var(--brand-primary) !important;
  box-shadow:
    0 0 0 4px var(--brand-tint-12),
    0 1px 2px rgba(0,0,0,0.04),
    0 12px 32px var(--brand-tint-8),
    0 28px 70px rgba(0,0,0,0.06) !important;
  transform:translateY(-1px);
}
.sup-hero-search-icon{
  left:22px !important; font-size:21px !important;
  color:var(--brand-primary) !important;
  /* On focus the input gets transform:translateY(-1px), which spawns a
     stacking context that was painting the opaque input background OVER
     this icon (so it vanished the moment you clicked in). An explicit
     z-index keeps it on top; pointer-events:none lets clicks reach the
     input underneath. */
  z-index:3;
  pointer-events:none;
}
.sup-hero-search-action{
  right:8px !important;
  width:46px !important; height:46px !important;
  border-radius:13px !important;
  background:var(--brand-primary) !important;
  color:#fff !important;
  box-shadow:0 4px 12px var(--brand-tint-25) !important;
  z-index:3;
}
.sup-hero-search-action:hover{
  background:var(--brand-tertiary) !important;
  transform:translateY(-50%) scale(1.04) !important;
}

/* ── Live search results dropdown ── */
.sup-search-results{
  position:absolute;
  top:calc(100% + 10px);
  left:0; right:0;
  z-index:20;
  background:var(--dark-surface);
  border:1px solid var(--dark-border);
  border-radius:16px;
  box-shadow:0 1px 2px rgba(0,0,0,0.05), 0 18px 50px rgba(0,0,0,0.12), 0 6px 18px var(--brand-tint-8);
  padding:6px;
  max-height:min(60vh, 440px);
  overflow-y:auto;
  text-align:left;
}
.sup-search-hit{
  display:block;
  padding:11px 14px;
  border-radius:11px;
  text-decoration:none;
  transition:background .12s var(--ease);
}
.sup-search-hit:hover,
.sup-search-hit:focus{ background:var(--brand-tint-8); }
.sup-search-hit-kind{
  display:block;
  font:700 10px/1 -apple-system,BlinkMacSystemFont,'SF Pro Display','Inter','Inter',sans-serif;
  letter-spacing:0.08em; text-transform:uppercase;
  color:var(--brand-primary);
  margin-bottom:3px;
}
.sup-search-hit-title{
  display:block;
  font:600 15px/1.3 'Inter',sans-serif;
  color:var(--text-primary);
}
.sup-search-hit-sum{
  display:block;
  font:400 13px/1.4 'Inter',sans-serif;
  color:var(--text-secondary);
  margin-top:2px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.sup-search-empty{
  padding:16px 14px;
  font:400 14px/1.4 'Inter',sans-serif;
  color:var(--text-muted);
  text-align:center;
}

/* ── Section headings ── */
.sup-section-title{
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Inter',sans-serif; font-weight:700;
  font-size:22px; letter-spacing:-0.02em;
  color:var(--text-primary);
}

/* ── Self-serve card grid (the 3 big tiles on the index) ── */
.sup-card{
  background:var(--dark-surface) !important;
  border:1px solid var(--dark-border) !important;
  border-radius:18px !important;
  padding:24px !important;
  box-shadow:0 1px 2px rgba(0,0,0,0.03), 0 8px 24px rgba(0,0,0,0.04) !important;
  transition:transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease) !important;
}
.sup-card:hover{
  transform:translateY(-3px);
  border-color:var(--brand-tint-25) !important;
  box-shadow:0 6px 16px rgba(0,0,0,0.05), 0 24px 56px var(--brand-tint-8) !important;
}
.sup-card-icon{
  width:48px; height:48px; border-radius:14px;
  background:var(--brand-tint-12) !important;
  color:var(--brand-primary) !important;
  font-size:24px;
}
.sup-card-title{ font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Inter',sans-serif; font-weight:700; color:var(--text-primary); }

/* ── KB list / article rows ── */
.sup-article-row,
.sup-kb-row,
.sup-list-card{
  background:var(--dark-surface) !important;
  border:1px solid var(--dark-border) !important;
  border-radius:14px !important;
  transition:border-color .15s var(--ease), box-shadow .15s var(--ease), transform .12s var(--ease) !important;
}
.sup-article-row:hover,
.sup-kb-row:hover,
.sup-list-card:hover{
  border-color:var(--brand-tint-25) !important;
  box-shadow:0 8px 24px var(--brand-tint-8) !important;
  transform:translateY(-1px);
}

/* ── Sidebar (Sort by / Categories) ── */
.sup-side-card,
.sup-filter-card,
.sup-sidebar > *{
  background:var(--dark-surface);
  border:1px solid var(--dark-border);
  border-radius:14px;
}
.sup-side-label,
.sup-filter-label{
  font:700 10.5px/1 -apple-system,BlinkMacSystemFont,'SF Pro Display','Inter','Inter',sans-serif;
  letter-spacing:0.1em; text-transform:uppercase;
  color:var(--text-muted);
}
.sup-side-link.is-active,
.sup-filter-link.is-active,
.sup-side-item.is-active{
  background:var(--brand-tint-12) !important;
  color:var(--brand-primary) !important;
}

/* ── Article-ID / category chips ── */
.sup-chip,
.sup-tag,
.sup-pill{
  background:var(--brand-tint-12);
  color:var(--brand-primary);
  border:1px solid var(--brand-tint-25);
  border-radius:99px;
}

/* ── Mobile: keep everything inside the viewport ── */
@media (max-width:640px){
  .sup-nav-inner{ padding:0 16px; }
  .sup-hero{ padding:44px 12px 4px !important; }
  .sup-hero-search input{ padding:16px 56px 16px 50px !important; font-size:16px !important; }
}

/* ── "Back to OnPlattr.com" — quiet escape hatch next to the brand.
      Desktop: small ghost pill after the logo. Narrow screens: hidden
      here (the same link is the first row of the mobile panel). ── */
.sup-back-home{
  display:inline-flex; align-items:center; gap:5px;
  font:600 13px/1 'Inter',sans-serif;
  color:var(--text-secondary);
  padding:8px 14px 8px 11px; border-radius:99px;
  border:1px solid var(--dark-border);
  background:var(--dark-surface);
  white-space:nowrap; flex-shrink:0;
  transition:color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.sup-back-home i{ font-size:18px; margin-left:-2px; transition:transform .16s var(--ease); }
.sup-back-home:hover{
  color:var(--brand-primary);
  border-color:var(--brand-tint-25);
  background:var(--brand-tint-8);
  box-shadow:0 4px 14px -6px var(--brand-tint-25);
}
.sup-back-home:hover i{ transform:translateX(-2px); }
/* Keep the whole nav row on ONE line now that it carries an extra
   item: nothing wraps internally, gaps tighten, container widens. */
.sup-nav-inner{ max-width:1200px; gap:14px; }
.sup-nav-links{ margin-left:4px; gap:2px; }
.sup-nav-link{ white-space:nowrap; padding:8px 11px; }
.sup-nav-right{ gap:8px; }
.sup-nav-right .sup-btn{ white-space:nowrap; }
/* Signed-in nav also carries Dashboard + the user pill — drop the
   home pill sooner there; anonymous keeps it down to 1000px. The
   same link is always available in the mobile panel + footer. */
@media (max-width:1160px){ .sup-back-home.has-user{ display:none; } }
@media (max-width:1000px){ .sup-back-home{ display:none; } }

/* ═══════════════════════════════════════════════════════════════════
   DARK MODE — follows the visitor's OS preference.
   core.css is dark-native and this skin flips it light; here we flip
   the surface/text tokens back to a purple-tinted near-black and
   re-darken the handful of surfaces this skin hardcodes as light
   (body wash, frosted nav, search field, footer). Brand purple stays;
   text-flavoured brand accents step up to --brand-secondary (#7AA0FB,
   6.4:1 on the page bg — the base #3B6FF6 only hits 4.4:1). All body
   text pairs computed ≥5:1 (WCAG AA).
   ═══════════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark){
  :root{
    --dark:#0B0B12;
    --dark-surface:#15151F;
    --dark-card:#15151F;
    --dark-card-2:#12121B;
    --dark-border:#262634;
    --dark-border-light:#32323F;
    --text-primary:#F2F0F7;
    --text-secondary:#ABA6BB;
    --text-muted:#8B8699;
    --text-disabled:#565165;
    --gold-bright:#B7A4F2;
    --brand-shadow:0 20px 60px rgba(59,111,246,0.28), 0 4px 16px rgba(59,111,246,0.18);
  }
  body{
    background:
      radial-gradient(1200px 600px at 50% -200px, rgba(var(--brand-primary-rgb),0.10), transparent 60%),
      linear-gradient(180deg, #0C0C13 0%, #0B0B12 50%, #0C0C13 100%);
  }
  a{ color:var(--brand-secondary); }
  a:hover{ color:var(--gold-bright); }

  /* Frosted nav goes dark-glass; the mask-painted logo stays purple. */
  .sup-nav{
    background:rgba(11,11,18,0.78);
    backdrop-filter:blur(20px) saturate(1.4);
    -webkit-backdrop-filter:blur(20px) saturate(1.4);
    border-bottom:1px solid var(--dark-border);
  }
  .sup-nav-link.is-active{ color:var(--brand-secondary) !important; }
  .sup-brand-tag{ color:var(--brand-secondary); }

  /* Brand-as-text accents: lighter purple for AA contrast on dark. */
  .sup-hero-eyebrow{ color:var(--brand-secondary) !important; }
  .sup-hero-search-icon{ color:var(--brand-secondary) !important; }
  .sup-card-icon{ color:var(--brand-secondary) !important; }
  .sup-search-hit-kind{ color:var(--brand-secondary); }
  .sup-section-action{ color:var(--brand-secondary); }
  .sup-section-action:hover{ color:var(--gold-bright); }
  .sup-side-link.is-active,
  .sup-filter-link.is-active,
  .sup-side-item.is-active{ color:var(--brand-secondary) !important; }
  .sup-chip, .sup-tag, .sup-pill{ color:var(--brand-secondary); }
  .sup-foot a:hover{ color:var(--brand-secondary); }
  .sup-back-home:hover{ color:var(--brand-secondary); }

  /* Light-calibrated black shadows read as dirt on dark surfaces —
     swap depth cues for deeper blacks (fine on dark) + soft borders. */
  .sup-hero-search input{
    box-shadow:
      0 1px 2px rgba(0,0,0,0.3),
      0 8px 24px rgba(0,0,0,0.35),
      0 24px 60px rgba(0,0,0,0.3) !important;
  }
  .sup-hero-search input:focus{
    box-shadow:
      0 0 0 4px var(--brand-tint-18),
      0 12px 32px rgba(0,0,0,0.35),
      0 28px 70px rgba(0,0,0,0.3) !important;
  }
  .sup-card,
  .sup-card-grid > .sup-card{
    box-shadow:0 1px 2px rgba(0,0,0,0.25), 0 8px 24px rgba(0,0,0,0.25) !important;
  }
  .sup-card:hover{
    box-shadow:0 6px 16px rgba(0,0,0,0.3), 0 24px 56px var(--brand-tint-12) !important;
  }
  .sup-search-results{
    box-shadow:0 1px 2px rgba(0,0,0,0.4), 0 18px 50px rgba(0,0,0,0.5), 0 6px 18px var(--brand-tint-12);
  }
  .sup-user-menu{
    box-shadow:0 18px 50px rgba(0,0,0,0.55);
  }

  /* Footer sits on the darker card-2 token; keep its top edge visible. */
  .sup-foot{ background:var(--dark-card-2); }
}
