/* ============================================================
   Clinical Vendor Compare — Design System v4 "Variant A ported"
   Faithful port of the approved Enterprise-trust SaaS mockup
   (E:\Projects\cvc-frontend-mockup\variant-a) onto the live
   selector contract. 2026-07-02.
   ============================================================ */

@import url('/assets/fonts/inter.css');

:root {
  /* Canvas & surfaces */
  --bg: #F7F9FC;
  --canvas: #F7F9FC;
  --panel: #FFFFFF;
  --surface: #FFFFFF;
  --white: #ffffff;

  /* Ink */
  --ink: #0B1220;
  --ink-soft: #5B6472;
  --muted: #5B6472;
  --slate: #0B1220;

  /* Lines */
  --bdr: #E6EAF0;
  --line: #E6EAF0;
  --hairline: #E6EAF0;
  --line-strong: #D7DEE8;
  --hairline-dark: #D7DEE8;

  /* Brand */
  --hero: #0A1C28;
  --navy: #0A1C28;
  --navy-2: #12294A;
  --accent: #2563EB;
  --accent2: #1D4ED8;
  --accent-hover: #1D4ED8;
  --accent-tint: #EEF4FF;
  --sea: #2563EB;
  --sea-mid: #1D4ED8;
  --mint: #0EA5A0;
  --positive: #0EA5A0;
  --positive-ink: #0B7A76;
  --gold: #F59E0B;
  --rose: #E76F51;

  /* Editorial / pre-review flag */
  --flag-ink: #B45309;
  --flag-bg: #FEF3C7;

  /* Depth */
  --shadow-rest: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-hover: 0 10px 28px rgba(16, 24, 40, .08);
  --shadow-pop: 0 24px 60px rgba(16, 24, 40, .18);
  --shadow: 0 10px 28px rgba(16, 24, 40, .08);

  /* Shape */
  --r: 10px;
  --r-ctrl: 10px;
  --r-card: 14px;
  --r-chip: 999px;
  --r-panel: 20px;

  /* Type */
  --f: 'Inter', 'Inter-fallback', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Signature hero gradient — Variant A (deeper, cooler than legacy) */
  --hero-gradient: linear-gradient(135deg, #0A1628 0%, #12294A 55%, #1E50C8 100%);
}

@font-face { font-family: 'Inter-fallback'; src: local('Arial'); size-adjust: 107.2%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.is-hidden { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.hero-shell :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .comp-banner :focus-visible, .sponsor-support-panel :focus-visible, .cta-band :focus-visible { outline-color: #9DB8FF; }
::selection { background: rgba(37, 99, 235, .16); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.skip-to-content { position: absolute; left: 16px; top: -48px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-ctrl); font-size: 14px; font-weight: 600; transition: top .15s ease; }
.skip-to-content:focus { top: 12px; color: #fff; }

/* Anti-spam honeypot fields — must never render for humans */
form input[name="website"][tabindex="-1"] { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* ============ HEADINGS ============ */
h1, h2, h3 { font-family: var(--f); margin-top: 0; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(1.8rem, 3.3vw, 2.5rem); line-height: 1.12; font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.16; font-weight: 700; }
h3 { line-height: 1.25; font-weight: 700; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.eyebrow-light { color: #A9BEDC; }
.eyebrow-light::before { background: #5E8DFF; }
.section-kicker { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.muted { color: var(--ink-soft); }
.lede { font-size: 1rem; color: var(--ink-soft); line-height: 1.65; }

/* ============ HEADER (mockup: centered nav, active underline) ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.header-shell { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.brand-mark img { height: 40px; width: auto; object-fit: contain; }
.brand-copy strong { font-size: .85rem; font-weight: 700; }
.brand-copy small { display: none; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; }
.site-nav a { position: relative; display: inline-block; padding: 8px 11px; border-radius: 8px; color: var(--muted); font-weight: 500; white-space: nowrap; transition: color .15s, background-color .15s; }
.site-nav a:hover { color: var(--ink); background: #F1F4F9; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; justify-self: end; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 4px; border-radius: 8px; }
.hamburger:hover { background: #F1F4F9; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ============ BUTTONS (mockup btn system on legacy names) ============ */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r-ctrl);
  padding: 10px 16px; font-family: var(--f); font-size: 14.5px; font-weight: 600; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
  line-height: 1.3;
}
.button:active { transform: translateY(1px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-rest); }
.button-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-hover); }
.button-secondary { background: var(--surface); border-color: var(--hairline-dark); color: var(--ink); box-shadow: var(--shadow-rest); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); background: #FAFCFF; }
.button-nav-ghost { background: none; color: var(--muted); border: none; padding: 8px 10px; font-size: 14px; font-weight: 600; border-radius: 8px; }
.button-nav-ghost:hover { color: var(--ink); background: #F1F4F9; }
.button-nav-ghost.is-authenticated { color: var(--positive-ink); }
.button-nav-accent { background: var(--navy); color: #fff; padding: 7px 12px; border-radius: var(--r-ctrl); font-weight: 600; font-size: 13.5px; }
.button-nav-accent:hover { background: var(--navy-2); color: #fff; }
.button-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.button-ghost:hover { background: #EEF2F8; color: var(--ink); }
.button-ghost:disabled { opacity: .4; cursor: default; }
.button-review { background: none; color: var(--accent); border: 1px solid rgba(37, 99, 235, .45); font-size: 13.5px; padding: 7px 12px; }
.button-review:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.button-compare { background: none; color: var(--muted); border: 1px solid var(--hairline-dark); font-size: 13.5px; padding: 7px 12px; }
.button-compare:hover { border-color: var(--accent); color: var(--accent); }
.button-wide { width: 100%; }
.auth-button-disabled { opacity: .5; pointer-events: none; }

/* ============ CHIPS & PILLS (mockup) ============ */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-chip); background: #F1F4F9; border: 1px solid var(--hairline); color: #475161; font-size: 12.5px; font-weight: 500; white-space: nowrap; cursor: pointer; font-family: var(--f); transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip-static { cursor: default; }
.chip-static:hover { border-color: var(--hairline); color: #475161; }

.pill-editorial { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: var(--r-chip); background: rgba(18, 41, 74, .06); border: 1px solid rgba(18, 41, 74, .14); color: var(--navy-2); font-size: 12.5px; white-space: nowrap; }
.pill-editorial .pe-label { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #45536B; }
.pill-editorial .pe-score { font-weight: 700; font-variant-numeric: tabular-nums; }

.pill-reviewed { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: var(--r-chip); background: #E7FAF7; border: 1px solid #CDEEEA; color: var(--positive-ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill-reviewed .stars-row { margin: 0; font-size: .72rem; }

.status-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--r-chip); background: var(--flag-bg); border: 1px solid rgba(180, 83, 9, .22); color: var(--flag-ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.no-reviews { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.no-reviews svg { color: #98A2B3; }

/* ============ HERO (directory — mockup anatomy) ============ */
.hero-shell { position: relative; background: var(--hero-gradient); border-radius: 0 0 32px 32px; overflow: hidden; color: #fff; }
.hero-shell::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 320px at 78% 8%, rgba(94, 141, 255, .38), transparent 62%),
    radial-gradient(520px 300px at 8% 96%, rgba(14, 165, 160, .16), transparent 60%);
  pointer-events: none;
}
.hero-copy { position: relative; text-align: center; padding: 72px 20px 80px; max-width: 780px; margin: 0 auto; }
.hero-copy h1 { margin-top: 16px; font-size: clamp(2rem, 4.4vw, 2.95rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: #fff; }
.hero-subtitle { margin: 16px auto 0; max-width: 560px; color: #C3CEDF; font-size: 16.5px; }

.hero-search-box { margin: 32px auto 0; max-width: 620px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 16px; box-shadow: 0 18px 44px rgba(4, 12, 28, .38); }
.hero-search-box:focus-within { box-shadow: 0 18px 44px rgba(4, 12, 28, .38), 0 0 0 3px rgba(37, 99, 235, .35); }
.hero-search-lead { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.hero-search-lead svg { color: #98A2B3; flex: none; }
.hero-search-box input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px; font-size: 15.5px; color: var(--ink); font-family: var(--f); outline: none; }
.hero-search-box input::placeholder { color: #667085; }
.hero-search-btn { background: var(--accent); color: #fff; border: none; padding: 13px 22px; border-radius: var(--r-ctrl); font-weight: 600; cursor: pointer; font-family: var(--f); font-size: 15px; transition: background-color .16s, box-shadow .16s; box-shadow: var(--shadow-rest); }
.hero-search-btn:hover { background: var(--accent-hover); box-shadow: var(--shadow-hover); }

.hero-popular { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: #92A3BC; }
.hero-popular a { color: #D3DEEE; font-weight: 500; padding: 2px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-chip); background: rgba(255,255,255,.05); transition: background-color .15s ease, border-color .15s ease; }
.hero-popular a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); color: #fff; }

.stat-chips { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; }
.stat-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-chip); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #E8EEF6; font-size: 13px; font-weight: 500; }
.stat-chip svg { color: #7FD8D4; }
.stat-chip strong { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

/* Legacy hero compatibility (pages not yet rebuilt keep working) */
.hero-stats { display: flex; gap: 32px; margin-top: 18px; justify-content: center; }
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero-stat-label { font-size: .72rem; color: rgba(255,255,255,.66); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.hero-stats-row { display: flex; gap: 24px; margin-top: 18px; font-size: .88rem; color: rgba(255,255,255,.82); justify-content: center; }
.hero-actions-row { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; justify-content: center; }
.hero-copy-dark { color: #fff; }
.hero-copy-dark .eyebrow { color: #A9BEDC; }
.hero-copy-dark h1 { color: #fff; }
.hero-copy-dark .lede { color: #C3CEDF; }
.hero-copy-dark .muted { color: rgba(255,255,255,.6); }
.hero-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; justify-content: center; }
.hero-logo-block img { height: 32px; width: auto; }
.hero-review-trust { font-size: .78rem; margin-top: 10px; }

/* ============ TRUST BAR (mockup: floating card) ============ */
.trust-bar { max-width: 1200px; margin: 24px auto 0; padding: 0 24px; background: transparent; border: none; }
.trust-bar-inner, .trust-bar { display: block; }
.trust-bar { display: flex; }
.trust-bar { flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 32px; }
.trust-bar > span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.trust-bar strong { color: var(--ink); font-weight: 700; }
/* card look via wrapper pseudo: applied through inline container on page */
.trustbar-card { max-width: 1152px; margin: 24px auto 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-rest); padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 40px; }
.trustbar-card span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.trustbar-card strong { color: var(--ink); font-weight: 700; }
.trustbar-card svg { color: var(--positive); }

/* ============ CATEGORY STRIP ============ */
.category-strip-wrap { padding: 20px 24px 0; max-width: 1200px; margin: 0 auto; }
.category-toggle { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--hairline-dark); border-radius: var(--r-ctrl); padding: 8px 16px; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; margin-bottom: 10px; box-shadow: var(--shadow-rest); transition: border-color .15s, background-color .15s; }
.category-toggle:hover { background: #FAFCFF; border-color: #C4CEDC; }
.category-toggle .category-toggle-chevron { transition: transform .2s ease; }
.category-toggle[aria-expanded="true"] .category-toggle-chevron { transform: rotate(180deg); }
.category-strip { display: flex; gap: 7px; flex-wrap: wrap; }
.category-strip-collapsed { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .2s ease, margin .2s ease; margin: 0; }
.category-strip:not(.category-strip-collapsed) { max-height: 500px; opacity: 1; transition: max-height .3s ease, opacity .2s ease .05s; }
.category-pill { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-chip); padding: 5px 14px; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: border-color .15s, color .15s; font-family: var(--f); color: #475161; box-shadow: var(--shadow-rest); }
.category-pill:hover { border-color: var(--accent); color: var(--accent); }
.category-pill-active { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }
.category-pill-active:hover { background: var(--navy); color: #fff; }
.category-pill-empty { opacity: .45; cursor: default; }
.category-pill-name { font-weight: 600; }
.category-pill-count { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.category-pill-active .category-pill-count { color: rgba(255,255,255,.75); }

/* ============ DIRECTORY LAYOUT (mockup rail + results) ============ */
/* Directory gets a wider canvas than content pages: rail + room for three
   vendor cards per row. Rail widened from 236->288px: with the checkbox row
   fix (checkbox+label+count on one nowrap line), longer category labels like
   "Patient Recruitment / Retention" + a 3-digit count need ~277px of content
   width — 236px was clipping/overflowing the panel edge. */
section.wrap.directory-layout { max-width: 1360px; padding-left: 24px; padding-right: 24px; }
.directory-layout { display: grid; grid-template-columns: 288px 1fr; gap: 24px; padding: 32px 24px 64px; max-width: 1360px; margin: 0 auto; align-items: start; }

.filters-panel { display: block; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-rest); padding: 14px 16px 20px; }
aside.filters-panel { position: sticky; top: 84px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); margin-bottom: 4px; }
.panel-heading h2 { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }

.filters-panel .field { display: block; margin: 0; padding: 14px 2px; border-bottom: 1px solid var(--hairline); }
.filters-panel .field > span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.filter-checklist { display: grid; gap: 2px; }
.filter-check { display: flex; align-items: center; gap: 6px; padding: 5px 6px; margin: 0 -6px; border-radius: 8px; font-size: 14px; color: #333B49; cursor: pointer; border: none; background: none; white-space: nowrap; transition: background-color .14s; }
.filter-check:hover { background: #F4F7FB; }
/* Specificity fix: .field label {display:block} and .field span {display:block}
   (real form-field rules) collaterally match .filter-check since it's a
   <label> nested inside a .field wrapper, collapsing each row into 3 stacked
   lines. Bump specificity via the existing .filter-checklist ancestor so the
   checkbox row stays a single inline row regardless of source order. */
.filter-checklist .filter-check { display: flex; }
.filter-checklist .filter-check span { display: inline; margin-bottom: 0; }
.filter-check input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; flex: none; margin: 0; border: 1.5px solid var(--hairline-dark); border-radius: 5px; background: #fff; position: relative; cursor: pointer; transition: background-color .14s ease, border-color .14s ease; padding: 0 !important; }
.filter-check input[type="checkbox"]:hover { border-color: var(--accent); }
.filter-check input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.filter-check input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(43deg); }

.filters-panel select { width: 100%; appearance: none; -webkit-appearance: none; border: 1px solid var(--hairline-dark); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; border-radius: var(--r-ctrl); padding: 8px 34px 8px 12px; font-size: 13.5px; font-weight: 500; color: var(--ink); font-family: var(--f); cursor: pointer; outline: none; }
.filters-panel select:hover { border-color: #C4CEDC; }
.filters-panel .button-secondary.button-wide { margin-top: 16px; font-size: 13px; font-weight: 600; }

.filters-panel .rail-note { margin-top: 16px; display: flex; gap: 8px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.filters-panel .rail-note svg { color: #98A2B3; margin-top: 1px; flex: none; }

.results-column { min-width: 0; }
.results-panel { background: transparent; border: none; border-radius: 0; padding: 0; box-shadow: none; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding: 0; border: none; flex-wrap: wrap; }
.results-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.results-summary strong { color: var(--ink); font-weight: 700; }
#activeWeightLabel { color: var(--muted); font-size: 13px; }
.directory-results-search-field, .directory-sort-field { margin: 0; flex: 0 0 auto; }
.directory-results-search-field input { width: 200px; min-height: 38px; border: 1px solid var(--hairline-dark); border-radius: var(--r-ctrl); padding: 8px 12px; font-size: 13.5px; font-family: var(--f); box-shadow: var(--shadow-rest); outline: none; transition: border-color .15s; }
.directory-results-search-field input:focus { border-color: var(--accent); }
.directory-sort-field { min-width: 170px; }
.directory-sort-field select { min-width: 170px; appearance: none; -webkit-appearance: none; border: 1px solid var(--hairline-dark); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; border-radius: var(--r-ctrl); padding: 8px 34px 8px 12px; font-size: 13.5px; font-weight: 500; color: var(--ink); font-family: var(--f); box-shadow: var(--shadow-rest); cursor: pointer; outline: none; }
.directory-sort-field select:hover { border-color: #C4CEDC; }
.directory-sort-status { color: var(--muted); font-size: 12.5px; }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: .8rem; font-weight: 650; color: var(--ink); margin-bottom: 5px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }

/* ============ VENDOR CARDS (mockup vcard anatomy) ============ */
.vendor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1120px) { .vendor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.panel { position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-rest); }
.panel-clickable { cursor: pointer; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.panel-clickable:hover { box-shadow: var(--shadow-hover); border-color: var(--hairline-dark); transform: translateY(-2px); }
.panel-glow { background: radial-gradient(circle at top right, rgba(37,99,235,.1), transparent 30%), var(--surface); }

.vendor-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-rest); padding: 20px; min-width: 0; overflow: hidden; position: relative; }

.vcard-top { display: flex; gap: 16px; align-items: flex-start; }
.vcard-id { min-width: 0; flex: 1; }
.vcard-name { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; margin: 0; overflow-wrap: anywhere; }
.vcard-name a { color: var(--ink); }
.vcard-name a:hover { color: var(--accent); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.vcard-sum { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.55em * 2); }
.vcard-meta { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.vcard-meta svg { color: #98A2B3; flex: none; }
.vcard-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.vcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); }
.vendor-card .vcard-badges { margin-bottom: 16px; }
.card-action { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 6px 8px; border-radius: 8px; background: none; border: none; cursor: pointer; font-family: var(--f); transition: color .15s, background-color .15s; }
.card-action:hover { color: var(--ink); background: #F1F4F9; }
.card-action.primary { color: var(--accent); }
.card-action.primary:hover { color: var(--accent-hover); background: var(--accent-tint); }
.card-action.primary svg { transition: transform .16s ease; }
.card-action.primary:hover svg { transform: translateX(2px); }

/* Logo tiles (shared by cards, profile, related) */
.vendor-logo { width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 8px; box-shadow: var(--shadow-rest); color: #123042; font-weight: 800; letter-spacing: .02em; overflow: hidden; position: relative; }
.vendor-logo-image { width: 100%; height: 100%; object-fit: contain; display: block; background: transparent; }
.vendor-logo-fallback-text { display: none; }
.vendor-logo.vendor-logo-fallback { background: var(--accent-tint); border-color: #DCE7FB; color: #1D4ED8; }
.vendor-logo.vendor-logo-fallback .vendor-logo-fallback-text { display: block; font-size: 15px; }

/* Stars — ONLY for vendors with real platform reviews */
.stars-row { font-size: .8rem; letter-spacing: 1px; color: var(--gold); display: block; }
.review-count-badge { font-size: 12px; color: var(--muted); font-weight: 500; }
.star.empty { color: #D6DCE5; }
.score-ring { display: inline-flex; align-items: center; gap: 7px; }
.score-ring strong { font-size: 13.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.score-ring-online-poor, .score-ring-online-neutral, .score-ring-online-excellent { background: none; border: none; padding: 0; }

/* Badges */
.state-row { display: flex; gap: 4px; margin-bottom: 4px; }
.state-badge { font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-chip); text-transform: uppercase; letter-spacing: .05em; }
.state-badge.sponsored { background: var(--flag-bg); color: #92400E; border: 1px solid rgba(180,83,9,.2); }
.state-badge.verified { background: #DBEAFE; color: #1D4ED8; border: 1px solid #C6DBFA; }
.state-badge.new { background: #E7FAF7; color: var(--positive-ink); border: 1px solid #CDEEEA; }

/* Legacy pills kept for other templates */
.bucket-pill-row { display: flex; flex-wrap: wrap; gap: 5px; }
.company-type-pill { display: inline-flex; align-self: start; padding: 3px 10px; border-radius: var(--r-chip); background: #F1F4F9; border: 1px solid var(--hairline); color: #475161; font-size: 12.5px; font-weight: 500; }
.bucket-pill-secondary { display: inline-flex; align-self: start; padding: 3px 10px; border-radius: var(--r-chip); background: #F1F4F9; border: 1px solid var(--hairline); color: #475161; font-size: 12.5px; font-weight: 500; }
.bucket-pill-system { display: inline-flex; align-self: start; padding: 3px 10px; border-radius: var(--r-chip); background: var(--accent-tint); border: 1px solid #DCE7FB; color: #1D4ED8; font-size: 12.5px; font-weight: 600; }
.vendor-meta { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.vendor-summary { font-size: 14px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; }
.vendor-meta-row { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 0 4px; border-top: 1px solid var(--hairline); }
.vendor-meta-row span { color: var(--ink); font-size: 13px; line-height: 1.4; }
.vendor-meta-row b { color: var(--muted); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; margin-right: 4px; font-weight: 700; }
.public-signal-row { margin-top: 6px; font-size: 13px; color: var(--muted); }
.vendor-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-width: 0; }
.vendor-card-title { display: flex; gap: 12px; align-items: center; min-width: 0; flex: 1 1 auto; }
.vendor-card-title h3 { margin: 0 0 2px; font-size: 16.5px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.vendor-card-footer { display: flex; flex-direction: column; gap: 8px; margin-top: auto; min-width: 0; }
.vendor-card-actions { gap: 12px; }
.vendor-card-footer .action-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: 0; }
.vendor-card-footer .action-row .button { width: 100%; }
.text-link { font-size: 12.5px; color: var(--muted); }
.text-link:hover { color: var(--accent); }

/* Status key */
.status-key { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.status-key-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.status-key-item { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 12px; border-radius: var(--r-chip); border: 1px solid var(--hairline); font-size: 12.5px; font-weight: 600; }
.status-key-poor { background: rgba(251,146,60,.12); border-color: rgba(249,115,22,.3); color: #9A3412; }
.status-key-neutral { background: #F1F4F9; border-color: var(--hairline-dark); color: #334155; }
.status-key-excellent { background: #E7FAF7; border-color: #CDEEEA; color: var(--positive-ink); }

.weakness-note { background: rgba(231,111,81,.06); border: 1px solid rgba(231,111,81,.2); border-radius: var(--r-card); padding: 14px 16px; }
.weakness-note span { display: block; margin-bottom: 8px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #A54B3D; font-weight: 700; }
.weakness-note p { margin: 0; }

/* ============ PAGINATION ============ */
.directory-pagination { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--hairline); margin-top: 24px; font-size: 13.5px; color: var(--muted); }
.directory-pagination-actions { display: flex; gap: 8px; }
.directory-pagination-actions .button { padding: 7px 14px; font-size: 13px; }

/* ============ COMPARE STRIP ============ */
.compare-strip { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--hairline); box-shadow: 0 -8px 28px rgba(16,24,40,.1); z-index: 90; padding: 12px 24px; display: none; }
.compare-strip:not(:empty) { display: block; }
.compare-strip-copy { display: flex; align-items: center; gap: 8px; font-size: 13.5px; white-space: nowrap; }
.compare-strip-label { font-weight: 650; color: var(--accent); }
.compare-strip-items { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.strip-pill { background: var(--accent-tint); color: var(--accent); border: 1px solid #DCE7FB; padding: 5px 12px; border-radius: var(--r-chip); font-size: 12.5px; font-weight: 550; cursor: pointer; font-family: var(--f); transition: background-color .15s; }
.strip-pill:hover { background: #DCE7FB; }
.strip-pill-empty { background: #F1F4F9; color: var(--muted); border-color: var(--hairline); }
.compare-strip-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ============ EMPTY STATE ============ */
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.empty-state p { font-size: 14px; max-width: 500px; margin: 0 auto 20px; }
.directory-suggest-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ VENDOR PROFILE (mockup: white hero card, facts, meters) ============ */
.profile-shell { min-height: 60vh; padding: 0 0 64px; }
.profile-breadcrumb { font-size: 13.5px; color: var(--muted); margin: 8px 0 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.profile-breadcrumb a { color: var(--muted); font-weight: 500; }
.profile-breadcrumb a:hover { color: var(--accent); }
.profile-breadcrumb span[aria-hidden] { color: #C2CBD8; }
.profile-breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

.profile-hero {
  position: relative;
  background: radial-gradient(720px 220px at 12% 0%, rgba(37, 99, 235, .07), transparent 62%), var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-rest);
  padding: 32px; color: var(--ink); margin-bottom: 20px; overflow: hidden;
}
.profile-hero-grid { display: flex; flex-direction: column; gap: 20px; }
.profile-hero-copy { color: var(--ink); }
.profile-hero-copy .eyebrow { color: var(--muted); margin-bottom: 2px; }
.profile-hero-copy h1 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.05rem); font-weight: 800; margin: 4px 0 8px; letter-spacing: -.02em; }
.profile-hero-copy .lede { color: var(--muted); }
.profile-hero-copy-head { display: flex; align-items: flex-start; gap: 24px; }
.profile-hero-copy-main { flex: 1; min-width: 0; }
.profile-hero-head-side { display: flex; align-items: flex-start; gap: 10px; flex-shrink: 0; }
.profile-hero-actions { display: flex; flex-direction: column; gap: 10px; }
.profile-hero-actions .button { padding: 10px 16px; font-size: 14px; }
.profile-hero-actions .button-review { background: var(--accent); color: #fff; border: none; box-shadow: var(--shadow-rest); }
.profile-hero-actions .button-review:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-hover); }
.profile-hero-actions .button-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline-dark); }
.profile-hero-actions .button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.profile-hero-actions .button-primary { background: var(--navy); color: #fff; border: none; }
.profile-hero-actions .button-primary:hover { background: var(--navy-2); }
.profile-hero-desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; max-width: 720px; }
.profile-hero-visual { width: 100%; }
.profile-hero-visual-full { width: 100%; position: relative; }

.profile-hero-logo-shell { width: 92px; height: 92px; display: grid; place-items: center; border-radius: var(--r-card); background: #fff; border: 1px solid var(--hairline); overflow: hidden; box-shadow: var(--shadow-rest); padding: 14px; flex: none; }
.profile-hero-logo { width: 100%; height: 100%; object-fit: contain; }
.profile-hero-logo-shell-fallback { background: var(--accent-tint); border-color: #DCE7FB; padding: 0; }
.profile-hero-logo-fallback-text { font-size: 1.4rem; font-weight: 800; color: #1D4ED8; }

/* Signal card (renderVendorHeroVisual output) — mockup "Editorial assessment" light card */
.profile-signal-card { background: linear-gradient(180deg, #FBFCFE, #F7F9FC); border: 1px solid var(--hairline); border-radius: var(--r-ctrl); padding: 20px; color: var(--ink); }
.profile-signal-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.profile-signal-head { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-signal-chip { display: inline-flex; align-items: center; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: var(--r-chip); background: rgba(18,41,74,.06); border: 1px solid rgba(18,41,74,.14); color: #45536B; }
.profile-signal-chip.is-soft { background: #F1F4F9; border-color: var(--hairline); color: var(--muted); }
.profile-signal-score { text-align: right; }
.profile-signal-score strong { font-size: 24px; font-weight: 800; display: block; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.profile-signal-score span { font-size: 12px; color: var(--muted); }
.profile-signal-section-title { font-size: .68rem; font-weight: 700; display: block; margin-bottom: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.profile-signal-scorecard { margin-bottom: 0; }
.profile-signal-scorecard .score-table { display: grid; gap: 12px; }
.profile-signal-scorecard .score-row { display: grid; grid-template-columns: 1fr 110px 40px; align-items: center; gap: 12px; font-size: 14px; }
.profile-signal-scorecard .score-row > span { color: #333B49; font-weight: 500; }
.profile-signal-scorecard .score-row > strong { text-align: right; font-size: 14px; font-weight: 700; color: var(--navy-2); font-variant-numeric: tabular-nums; }
.profile-signal-scorecard .bar-track { position: relative; height: 8px; background: #ECF0F6; border-radius: var(--r-chip); overflow: hidden; }
.profile-signal-scorecard .bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1E50C8, var(--accent)); transition: width .3s; }
.profile-signal-scorecard .bar-fill-empty { background: none !important; border: 1px dashed var(--hairline-dark); height: 4px; border-radius: 2px; }
.profile-signal-scorecard .compact-score-note { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--flag-ink); background: var(--flag-bg); border: 1px solid rgba(180,83,9,.22); border-radius: var(--r-chip); padding: 4px 12px; margin-top: 14px; font-weight: 600; }

.profile-signal-mesh { display: none; }
.profile-signal-summary-grid { margin-bottom: 8px; }
.profile-signal-summary strong { font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 4px; font-weight: 600; }
.profile-signal-summary-list { list-style: none; padding: 0; margin: 0; }
.profile-signal-summary-list li { font-size: 13px; color: var(--muted); padding: 1px 0; line-height: 1.5; }
.profile-signal-grid-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.profile-signal-metric strong { font-size: .62rem; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; font-weight: 700; }
.profile-signal-metric span { font-size: 13.5px; color: #333B49; }
.profile-signal-pill { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: var(--r-chip); background: #F1F4F9; border: 1px solid var(--hairline); color: #475161; margin: 1px; }

/* Profile content sections */
.profile-grid { display: grid; gap: 20px; }
.profile-span-full { grid-column: 1 / -1; }
.profile-grid > article { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-rest); }
.profile-grid > article h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--ink); letter-spacing: -.02em; }
.profile-grid > article .section-kicker { font-size: .72rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.profile-grid > article .muted { color: var(--muted); }

.vendor-profile-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.profile-detail-item strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px; letter-spacing: -.01em; }
.profile-detail-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.profile-detail-item-wide { grid-column: 1 / -1; }
.profile-detail-item ul { padding-left: 18px; }
.profile-detail-item li { font-size: 14px; color: var(--muted); line-height: 1.6; }

.vendor-statement-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.vendor-statement-body { font-size: 15px; color: #333B49; line-height: 1.65; }
.profile-overview-copy { margin-bottom: 0; }

.profile-score-review-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.profile-score-card { padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-rest); }
.profile-score-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.metric-list { list-style: none; font-size: 14px; padding: 0; margin: 0; }
.metric-list li { padding: 7px 0; display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid #F1F4F9; }
.metric-list li:last-child { border-bottom: none; }
.metric-list li span { color: var(--muted); }
.metric-list li b { color: var(--ink); font-weight: 650; }
.metric-list.compact li { font-size: 13px; }

.claim-profile-panel { background: linear-gradient(180deg, #FBFCFE, #F4F7FC) !important; border-color: var(--hairline) !important; }
.claim-profile-inner { display: flex; gap: 24px; align-items: center; }
.claim-profile-copy { flex: 1; }
.claim-profile-copy h2 { margin-bottom: 8px; }
.claim-profile-copy p { font-size: 14px; color: var(--muted); }
.claim-profile-benefits { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.claim-profile-benefits li { font-size: 13.5px; color: var(--muted); padding: 0 0 0 22px; position: relative; }
.claim-profile-benefits li::before { content: ''; position: absolute; left: 0; color: var(--positive); font-weight: 700; }
.claim-profile-action { text-align: center; }
.claim-profile-action .button-primary { display: inline-block; }
.claim-profile-action .muted { font-size: 12.5px; margin-top: 8px; }
.claim-profile-inner .button { flex-shrink: 0; }

.source-list { list-style: none; padding: 0; margin: 0; }
.source-list li { font-size: 14px; padding: 4px 0; }
.source-list a { color: var(--accent); }
.source-list a:hover { text-decoration: underline; }
.compact-source-list li { font-size: 13.5px; color: var(--muted); }

.review-request-cta-panel { background: linear-gradient(180deg, #FBFCFE, #F4FBFA) !important; border-color: #CDEEEA !important; }
.review-request-cta-inner { display: flex; gap: 24px; align-items: center; }
.review-request-cta-copy { flex: 1; }
.review-request-cta-copy h2 { margin-bottom: 6px; }
.review-request-cta-copy p { font-size: 14.5px; color: var(--muted); margin: 0; }
.review-request-cta-action { text-align: center; }
.review-request-cta-action .button-review { display: inline-block; background: var(--accent); color: #fff; border: none; padding: 11px 22px; }
.review-request-cta-action .button-review:hover { background: var(--accent-hover); }
.review-request-cta-action .muted { font-size: 12.5px; margin-top: 8px; }
@media (max-width: 720px) { .review-request-cta-inner { flex-direction: column; text-align: center; } }

.external-review-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.review-excerpt-grid { display: grid; gap: 14px; }
.review-excerpt-card { background: #FBFCFE; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 20px; }

.review-criterion-scores { display: grid; gap: 6px; margin: 12px 0 6px; padding: 14px 16px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-ctrl); }
.review-criterion-row { display: grid; grid-template-columns: 140px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; }
.review-criterion-label { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-criterion-track { height: 7px; background: #ECF0F6; border-radius: var(--r-chip); overflow: hidden; }
.review-criterion-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1E50C8, var(--accent)); transition: width .3s ease; }
.review-criterion-value { font-weight: 700; color: var(--navy-2); text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; }

/* Related vendors (mini-cards) */
.related-vendors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.related-vendor-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-rest); padding: 16px; text-decoration: none; color: var(--ink); transition: box-shadow .18s, border-color .18s, transform .18s; }
.related-vendor-card:hover { box-shadow: var(--shadow-hover); border-color: var(--hairline-dark); transform: translateY(-2px); }
.related-vendor-card img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; border: 1px solid var(--hairline); padding: 5px; background: #fff; }
.related-vendor-card h3 { font-size: 15px; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.related-vendor-card p { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }

.related-categories-panel { padding: 24px 28px; }
.related-categories-intro { font-size: 14px; margin: 4px 0 16px; }
.related-categories-grid { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.related-category-pill { display: flex; flex-direction: column; gap: 4px; padding: 13px 15px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); text-decoration: none; color: var(--ink); transition: box-shadow .18s, border-color .18s, transform .15s; position: relative; box-shadow: var(--shadow-rest); }
.related-category-pill:hover { box-shadow: var(--shadow-hover); border-color: var(--hairline-dark); transform: translateY(-1px); }
.related-category-pill-current { background: var(--accent-tint); border-color: #DCE7FB; }
.related-category-pill-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.related-category-pill-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.related-category-pill-tag { position: absolute; top: 8px; right: 8px; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); background: rgba(37,99,235,.08); padding: 2px 7px; border-radius: 5px; }
.related-categories-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding-top: 14px; border-top: 1px solid var(--hairline); }
@media (max-width: 600px) { .related-categories-grid { grid-template-columns: 1fr 1fr; } .related-categories-cta { flex-direction: column; align-items: stretch; } .related-categories-cta .button { text-align: center; } }

@media (max-width: 900px) {
  .profile-hero-copy-head { flex-direction: column; align-items: flex-start; }
  .profile-hero-head-side { width: 100%; }
  .profile-hero-actions { flex-direction: row; flex-wrap: wrap; }
  .vendor-profile-detail-grid { grid-template-columns: 1fr; }
  .claim-profile-inner { flex-direction: column; text-align: center; }
  .profile-signal-grid-meta { flex-direction: column; gap: 10px; }
  .profile-signal-scorecard .score-row { grid-template-columns: 1fr 70px 36px; }
}

/* ============ COMPARE PAGE ============ */
.compare-summary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 24px; }
.compare-summary-card { padding: 24px; }
.compare-summary-card h2 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.compare-table-panel { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th { background: #FBFCFE; padding: 12px 14px; text-align: left; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--hairline); font-size: 13px; }
.compare-table td { padding: 12px 14px; border-bottom: 1px solid #F1F4F9; color: var(--muted); text-align: left; }
.compare-table tbody tr:hover td { background: #FBFCFE; }
.empty-table-cell { background: #FBFCFE; }
.compare-score-header td { background: var(--accent-tint); padding: 11px 14px; border-bottom: 2px solid var(--accent); }
.compare-score-header strong { color: var(--accent); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.compare-score-cell { display: flex; align-items: center; gap: 8px; }
.compare-score-bar { display: inline-block; height: 7px; border-radius: var(--r-chip); min-width: 4px; }
.compare-score-cell b { font-size: 13.5px; color: var(--navy-2); font-variant-numeric: tabular-nums; }

/* ============ PAGE HERO (content/form pages) ============ */
.static-shell, .page-shell, .form-page-shell { overflow-x: hidden; }
.page-hero { position: relative; background: transparent; border: none; box-shadow: none; color: #fff; padding: 56px 24px 48px; text-align: center; border-radius: 0; }
.page-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--hero-gradient); border-radius: 0 0 32px 32px; z-index: 0; }
.page-hero::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: radial-gradient(640px 320px at 78% 8%, rgba(94, 141, 255, .38), transparent 62%); border-radius: 0 0 32px 32px; pointer-events: none; z-index: 0; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: none; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0 0 12px; font-weight: 800; }
.page-hero p { color: #C3CEDF; }
.page-hero .eyebrow { color: #A9BEDC; }
.page-hero .eyebrow::before { background: #5E8DFF; }
.page-hero .lede { color: #C3CEDF; }
.page-hero .section-kicker { color: #A9BEDC; }
.static-grid { display: grid; gap: 16px; }
.rfp-brief-panel { padding: 24px; }
.inline-note { font-size: 13px; color: var(--muted); margin-top: 4px; }

.form-page-shell .vendor-rfp-hero { background: var(--hero-gradient); border-radius: var(--r-panel); padding: 40px 32px; text-align: center; margin-bottom: 24px; }
.form-page-shell .vendor-rfp-hero h1 { max-width: none; color: #fff; }
.form-page-shell .vendor-rfp-hero .lede { color: #C3CEDF; }
.form-page-shell .vendor-rfp-hero .eyebrow { color: #A9BEDC; }

/* ============ RFP ROUTE CARDS ============ */
.vendor-route-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 28px; transition: box-shadow .18s, transform .18s; box-shadow: var(--shadow-rest); }
.vendor-route-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.vendor-route-panel-accent { border-color: #DCE7FB; background: linear-gradient(180deg, #FBFCFE, var(--accent-tint)); }
.vendor-route-num { font-size: 1.6rem; font-weight: 800; color: var(--accent); opacity: .3; }
.vendor-route-tag { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 11px; border-radius: var(--r-chip); }
.vendor-route-banner-free { background: #E7FAF7; color: var(--positive-ink); border: 1px solid #CDEEEA; }
.vendor-route-banner-paid { background: var(--accent-tint); color: var(--accent); border: 1px solid #DCE7FB; }
.vendor-route-title { display: block; font-size: 16.5px; margin: 10px 0 8px; color: var(--ink); font-weight: 700; }
.vendor-route-summary { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.vendor-route-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.vendor-route-points li { font-size: 13.5px; color: var(--muted); padding: 0 0 0 22px; position: relative; }
.vendor-route-points li::before { content: ''; position: absolute; left: 0; color: var(--positive); font-weight: 700; }

/* ============ SPONSOR RFP ============ */
.sponsor-rfp-page-grid { gap: 24px; }
.sponsor-rfp-heading { margin-bottom: 16px; }
.sponsor-btn-lg { width: 100%; padding: 13px 22px; font-size: 15.5px; }
.sponsor-support-panel { position: relative; background: var(--hero-gradient); color: #fff; border-radius: var(--r-panel); padding: 32px; overflow: hidden; }
.sponsor-support-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(480px 240px at 85% 10%, rgba(94,141,255,.35), transparent 60%); pointer-events: none; }
.sponsor-support-panel > * { position: relative; }
.sponsor-support-panel h2 { color: #fff; }
.sponsor-support-panel p, .sponsor-support-panel .muted { color: #C3CEDF; }
.sponsor-support-badge { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #E8EEF6; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; padding: 4px 13px; border-radius: var(--r-chip); margin-bottom: 12px; }
.sponsor-support-visual { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 24px; }
.sponsor-support-visual > div { display: flex; gap: 10px; align-items: flex-start; }
.sponsor-support-visual strong { color: #fff; flex-shrink: 0; min-width: 80px; }
.sponsor-support-visual span { font-size: 13.5px; color: #C3CEDF; }

/* Shared form fields */
.field span { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink); margin-bottom: 5px; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 14px; border: 1px solid var(--hairline-dark); border-radius: var(--r-ctrl); font-size: 14.5px; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.field textarea { resize: vertical; min-height: 72px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.action-row { margin-top: 14px; }
.field-span-2 { grid-column: 1 / -1; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }

.split-band { display: grid; grid-template-columns: 1fr 380px; gap: 24px; }
@media (max-width: 900px) { .split-band { grid-template-columns: 1fr; } }

.vendor-rfp-table-panel { margin-top: 24px; }
.table-shell { overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--hairline); box-shadow: var(--shadow-rest); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }

/* ============ WRITE REVIEW ============ */
.review-form-layout { gap: 20px; }
.review-score-band { background: #FBFCFE; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-score-band-copy { grid-column: 1 / -1; margin-bottom: 8px; }
.review-score-band-copy h2 { font-size: 17px; margin: 4px 0 6px; }
.review-score-input { width: 100%; }
.review-overall-score-field { grid-column: 1 / -1; background: var(--accent-tint); border: 1px solid #DCE7FB; border-radius: var(--r-ctrl); padding: 16px; }
.review-trust-note { font-size: 13px; margin-top: 12px; }
form .button-review, .review-form-layout .button-review { background: var(--accent); color: #fff; border: none; border-radius: var(--r-ctrl); padding: 13px 32px; font-weight: 600; cursor: pointer; transition: background-color .2s; font-size: 15.5px; }
form .button-review:hover, .review-form-layout .button-review:hover { background: var(--accent-hover); }

/* ============ ADMIN / MODERATION ============ */
.admin-review-card { background: #FBFCFE; border: 1px solid var(--hairline); border-radius: var(--r-ctrl); padding: 16px; margin-bottom: 10px; }
.admin-review-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.admin-pill { background: var(--accent-tint); color: var(--accent); padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 550; }
.admin-pill-pending { background: var(--flag-bg); color: #92400E; padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 550; }
.admin-pill-approved { background: #E7FAF7; color: var(--positive-ink); padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 550; }
.admin-pill-rejected { background: #FEE2E2; color: #991B1B; padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 550; }
.admin-label { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; margin-bottom: 4px; }
.admin-review-copy { font-size: 14px; }
.admin-review-actions { display: flex; gap: 6px; margin-top: 10px; }
.admin-empty-state { text-align: center; padding: 30px; }

.commerce-tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.commerce-tier-card { background: #FBFCFE; border: 1px solid var(--hairline); border-radius: var(--r-ctrl); padding: 18px; }

/* ============ FOOTER (mockup: navy, rounded top) ============ */
.site-footer { margin-top: 64px; background: var(--navy); color: #B9C4D2; border-radius: 32px 32px 0 0; border-top: none; padding: 48px 0 32px; font-size: 14px; }
.site-footer strong { color: #fff; font-weight: 700; letter-spacing: -.01em; }
.site-footer p { color: #B9C4D2; font-size: 13.5px; line-height: 1.6; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #C6D2E2; font-size: 14px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: #8FA1B8; }
.footer-shell { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.footer-brand strong { display: block; margin-bottom: 4px; color: #fff; }
.footer-trialconnect { color: #8FA1B8; }
.footer-trialconnect a { color: #C6D2E2 !important; }

/* ============ PROMO STRIP (mockup .strip — flat navy micro-bar) ============ */
.comp-banner { background: var(--navy) !important; color: #C6D2E2 !important; padding: 0 !important; font-size: 12.5px; font-family: var(--f); position: relative; z-index: 200; line-height: 1.4; border-bottom: none; text-align: left; }
.comp-banner p { margin: 0; }
.comp-banner a { color: #fff; font-weight: 600; text-decoration: none; }
.comp-banner a:hover { color: #BFD3FF; }
.comp-banner strong { color: #fff; }

/* ============ MOBILE FILTER BUTTON & DRAWER ============ */
.mobile-filter-btn { display: inline-flex !important; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--hairline-dark); border-radius: var(--r-ctrl); padding: 8px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink); margin-bottom: 16px; font-family: var(--f); box-shadow: var(--shadow-rest); transition: border-color .15s, color .15s; }
.mobile-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.mobile-filter-btn svg { width: 16px; height: 16px; }
@media (min-width: 900px) { .mobile-filter-btn { display: none !important; } }
@media (max-width: 899px) {
  .directory-layout { grid-template-columns: 1fr; }
  .filters-panel { display: none; }
  aside.filters-panel { position: static; }
}

.mobile-filter-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(11, 18, 32, .46); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.mobile-filter-overlay.is-open { display: flex; align-items: flex-end; justify-content: center; }
.mobile-filter-drawer { background: #fff; border-radius: 20px 20px 0 0; width: 100%; max-width: 480px; max-height: 85vh; display: flex; flex-direction: column; animation: slideUp .25s ease; overflow: hidden; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (min-width: 761px) {
  .mobile-filter-overlay.is-open { align-items: center; }
  .mobile-filter-drawer { border-radius: 20px; max-height: 80vh; margin: 0; box-shadow: var(--shadow-pop); }
}
.mobile-filter-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 12px; border-bottom: 1px solid var(--hairline); }
.mobile-filter-header h2 { font-size: 16px; font-weight: 700; margin: 0; }
.mobile-filter-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); padding: 4px 10px; border-radius: 8px; }
.mobile-filter-close:hover { background: #F1F4F9; color: var(--ink); }
.mobile-filter-body { padding: 14px 18px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.mobile-filter-body .field { margin-bottom: 0; border-bottom: 1px solid var(--hairline); padding: 12px 2px; }
.mobile-filter-body .field > span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mobile-filter-body .filter-checklist { display: grid; gap: 2px; }
.mobile-filter-footer { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--hairline); background: #fff; }
.mobile-filter-footer .button { flex: 1; padding: 12px 8px; font-size: 14px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 899px) {
  .header-shell { display: flex; flex-wrap: wrap; height: auto; padding: 10px 0; }
  .hamburger { display: flex; }
  .site-nav, .nav-right { display: none; width: 100%; }
  .site-nav.is-open, .nav-right.is-open { display: flex; flex-direction: column; padding: 10px 0; gap: 6px; }
  .site-nav a[aria-current="page"]::after { display: none; }
}
@media (max-width: 768px) {
  .hero-copy { padding: 52px 16px 56px; }
  .hero-copy h1 { font-size: 1.65rem; }
  .hero-shell { border-radius: 0 0 24px 24px; }
  .trustbar-card { gap: 8px 20px; font-size: 12.5px; }
  .profile-hero-grid { grid-template-columns: 1fr; }
  .profile-detail-grid { grid-template-columns: 1fr; }
  .compare-strip-shell { flex-wrap: wrap; }
  .vendor-card-head { flex-direction: column; align-items: flex-start; }
  .vendor-card-footer .action-row { grid-template-columns: 1fr; }
  .form-grid, .form-layout { grid-template-columns: 1fr; }
  .review-score-band { grid-template-columns: 1fr; }
  .commerce-tier-grid { grid-template-columns: 1fr; }
  .directory-layout { padding-left: 16px; padding-right: 16px; }
  section.wrap.directory-layout { padding-left: 16px; padding-right: 16px; }
  .category-strip-wrap { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .brand-mark img { height: 30px; }
  .hero-search-box { flex-direction: column; padding: 10px; gap: 8px; }
  .hero-search-lead { width: 100%; }
  .hero-search-btn { width: 100%; }
  .stat-chips { gap: 8px; }
  .trustbar-card { flex-direction: column; gap: 8px; }
  .category-pill { padding: 4px 11px; font-size: 12px; }
  .results-head { flex-direction: column; align-items: flex-start; }
  .vendor-meta-row { flex-direction: column; gap: 4px; }
  .footer-grid { flex-direction: column; }
  .site-footer { border-radius: 24px 24px 0 0; }
}
@media (max-width: 520px) { .vendor-grid { grid-template-columns: 1fr; } }

/* ============ STATIC / CONTENT PAGES ============ */
.static-shell .wrap > .panel { margin-bottom: 16px; }
.static-shell article p, .page-shell article p { color: var(--muted); }
.static-shell .panel h2, .page-shell .panel h2 { font-size: 17px; }

/* ============================================================
   MOCKUP-FAITHFUL COMPONENTS v4.1 — profile layout, facts strip,
   editorial assessment, side rail, mini-cards, 4-col footer,
   rail accordions, icons. Ported verbatim from variant-a mockup.
   ============================================================ */

svg.icon { width: 18px; height: 18px; flex: none; }
svg.icon-sm { width: 15px; height: 15px; flex: none; }
svg.icon-lg { width: 22px; height: 22px; flex: none; }
.button-lg { padding: 13px 22px; font-size: 15.5px; }
.button-block { width: 100%; }
.button-inverse { background: #fff; color: var(--navy); }
.button-inverse:hover { background: #E9F0FB; color: var(--navy); }
.button-outline-inverse { background: transparent; border-color: rgba(255,255,255,.38); color: #fff; }
.button-outline-inverse:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }

/* Generic logo tile + initials tints */
.logo-tile { display: grid; place-items: center; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 8px; box-shadow: var(--shadow-rest); overflow: hidden; }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tile-initials { display: grid; place-items: center; font-size: 15px; font-weight: 800; letter-spacing: .02em; padding: 0; }
.tint-1 { background: var(--accent-tint); color: #1D4ED8; border-color: #DCE7FB; }
.tint-2 { background: #E7FAF7; color: var(--positive-ink); border-color: #CDEEEA; }
.tint-3 { background: var(--flag-bg); color: var(--flag-ink); border-color: #F3E2B5; }
.tint-4 { background: #F1F5F9; color: #334155; border-color: #E2E8F0; }

/* ---- Breadcrumb bar ---- */
.crumb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 0; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); font-weight: 500; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }
.crumb-sep { color: #C2CBD8; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.back-link:hover { color: var(--accent); }

/* ---- Profile hero (mockup flex anatomy) ---- */
.profile-hero { margin-top: 20px; display: flex; gap: 24px; align-items: flex-start; }
.phero-tile { width: 92px; height: 92px; border-radius: var(--r-card); padding: 14px; flex: none; }
.phero-tile .vendor-logo, .phero-tile .profile-hero-logo-shell { width: 100%; height: 100%; border: none; box-shadow: none; padding: 0; background: transparent; }
.phero-info { flex: 1; min-width: 0; }
.phero-name { font-size: clamp(1.6rem, 3vw, 2.05rem); font-weight: 800; letter-spacing: -.02em; margin-top: 2px; color: var(--ink); }
.phero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.phero-meta .meta-item { display: inline-flex; align-items: center; gap: 7px; }
.phero-meta svg { color: #98A2B3; }
.phero-meta a { font-weight: 600; }
.phero-status { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.phero-ctas { display: flex; flex-direction: column; gap: 12px; flex: none; }
.phero-ctas .cta-row { display: flex; gap: 12px; }

/* ---- At a glance facts strip ---- */
.facts { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-rest); overflow: hidden; }
.fact { padding: 20px 24px; }
.fact + .fact { border-left: 1px solid var(--hairline); }
.fact-label { display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact-label svg { color: #98A2B3; }
.fact-value { display: block; margin-top: 8px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fact-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Profile two-column layout ---- */
.profile-layout { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 332px; gap: 32px; align-items: start; }
.pmain { display: grid; gap: 24px; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-rest); padding: 32px; }
.card-head { margin-bottom: 20px; }
.card-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; margin-top: 8px; color: var(--ink); }
.card-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---- Editorial assessment ---- */
.assess-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 16px 20px; border: 1px solid var(--hairline); background: linear-gradient(180deg, #FBFCFE, #F7F9FC); border-radius: var(--r-ctrl); margin-bottom: 24px; }
.composite { display: flex; align-items: center; gap: 16px; }
.ring { display: block; flex: none; }
.composite-text { display: grid; gap: 2px; }
.composite-text .ct-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.composite-text .ct-score { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; color: var(--ink); }
.composite-text .ct-score span { font-size: 14px; font-weight: 600; color: var(--muted); }
.composite-text .ct-sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.legend { display: grid; gap: 7px; font-size: 12.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .legend-swatch { width: 16px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #1E50C8, var(--accent)); }
.legend .legend-tick { width: 2px; height: 12px; border-radius: 2px; background: #475569; }

.meters { display: grid; gap: 16px; }
.meter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.meter-label { font-size: 14px; font-weight: 500; color: #333B49; }
.meter-val { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy-2); }
.meter-track { position: relative; height: 8px; border-radius: var(--r-chip); background: #ECF0F6; }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #1E50C8, var(--accent)); }
.meter-tick { position: absolute; top: -3px; bottom: -3px; left: var(--avg); width: 2px; border-radius: 2px; background: #475569; transform: translateX(-50%); }

.assess-note { margin-top: 20px; display: flex; gap: 9px; align-items: flex-start; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-ctrl); padding: 12px 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.assess-note svg { color: #98A2B3; margin-top: 1px; flex: none; }

/* ---- Prose ---- */
.prose { color: #333B49; font-size: 15px; display: grid; gap: 16px; }
.prose .lede { font-size: 16px; color: var(--ink); }

/* ---- Strengths & watch-outs ---- */
.sw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sw-col h3 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); color: var(--ink); }
.sw-col h3 .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sw-col.pos h3 .dot { background: var(--positive); }
.sw-col.warn h3 .dot { background: var(--flag-ink); }
.sw-col ul { display: grid; gap: 14px; margin-top: 16px; list-style: none; padding: 0; }
.sw-item { display: flex; gap: 10px; align-items: flex-start; }
.sw-item svg { margin-top: 3px; flex: none; }
.sw-col.pos .sw-item svg { color: var(--positive); }
.sw-col.warn .sw-item svg { color: var(--flag-ink); }
.sw-item strong { display: block; font-size: 14px; font-weight: 650; color: var(--ink); }
.sw-item p { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---- Reviews empty state ---- */
.reviews-empty { text-align: center; padding: 24px 20px 32px; }
.empty-icon { width: 56px; height: 56px; margin-inline: auto; display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed var(--hairline-dark); color: #98A2B3; background: var(--canvas); }
.reviews-empty h3 { margin-top: 16px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.reviews-empty p { max-width: 460px; margin: 8px auto 0; color: var(--muted); font-size: 14px; }
.reviews-empty .empty-ctas { margin-top: 20px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---- Side rail ---- */
.pside { display: grid; gap: 20px; position: sticky; top: 84px; }
.side-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-rest); padding: 24px; }
.side-card h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.side-card .side-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.side-ctas { display: grid; gap: 12px; margin-top: 20px; }
.side-list { display: grid; gap: 12px; margin-top: 20px; list-style: none; padding: 0; }
.side-list li { display: flex; gap: 9px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.side-list svg { color: var(--positive); margin-top: 2px; flex: none; }
.claim-card { background: linear-gradient(180deg, #FBFCFE, #F4F7FC); }
.claim-card p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.claim-card .claim-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; background: none; border: none; color: var(--accent); cursor: pointer; font-family: var(--f); padding: 0; }
.claim-card .claim-link:hover { color: var(--accent-hover); }

/* ---- Similar vendors ---- */
.similar { margin-top: 40px; }
.section-title { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; margin-top: 12px; color: var(--ink); }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.mini-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-rest); padding: 20px; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--hairline-dark); }
.mini-top { display: flex; align-items: center; gap: 12px; }
.mini-tile { width: 46px; height: 46px; border-radius: 10px; padding: 6px; flex: none; }
.mini-tile .vendor-logo { width: 100%; height: 100%; border: none; box-shadow: none; padding: 0; background: transparent; }
.mini-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.mini-name a { color: var(--ink); }
.mini-name a:hover { color: var(--accent); }
.mini-cat { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.mini-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hairline); }
.mini-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }

/* ---- CTA band ---- */
.cta-band { margin-top: 40px; background: var(--hero-gradient); border-radius: var(--r-panel); overflow: hidden; position: relative; color: #fff; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(480px 240px at 85% 10%, rgba(94, 141, 255, .35), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.cta-band p { color: #C3CEDF; margin-top: 8px; max-width: 520px; font-size: 14.5px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Rail accordions (find-a-vendor filter groups) ---- */
.fgroup { border-bottom: 1px solid var(--hairline); }
.fgroup summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; padding: 14px 2px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-radius: 6px; user-select: none; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary:hover { color: var(--ink); }
.fgroup .chev { transition: transform .18s ease; color: #98A2B3; }
.fgroup[open] .chev { transform: rotate(180deg); }
.fgroup-body { padding: 2px 2px 16px; display: grid; gap: 2px; }
.fgroup .field { border-bottom: none; padding: 0; margin: 0; }
.fgroup .field > span { display: none; }

/* ---- 4-column footer (built at runtime by normalizeSiteFooter) ---- */
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0 28px; }
.footer-brand .fb-mark { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; }
.footer-brand .fb-mark img { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.6; max-width: 300px; color: #B9C4D2; }
.footer-trust { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-trust span { font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8FA1B8; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-chip); padding: 3px 10px; }
.footer-col h3 { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7E92AB; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-col a { color: #C6D2E2; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8FA1B8; }
.footer-bottom a { color: #C6D2E2; font-weight: 600; }
.footer-bottom a:hover { color: #fff; }
.site-footer { padding: 0; }
.site-footer .wrap > .footer-grid:not(.footer-inner) { padding: 40px 0 28px; }
.site-footer .footer-copy { margin: 0; }

/* ---- Mockup alignment batch (diff-driven) ---- */
/* Toolbar: mockup has count left, sort right — nothing else visible */
#activeWeightLabel, .directory-sort-status, .directory-results-search-field { display: none !important; }
.results-summary { flex: 1; }
.results-count { font-size: 14px; color: var(--muted); margin: 0; }
#resultsCount { color: var(--ink); font-weight: 700; }
#resultsCountTail { color: var(--muted); font-weight: 400; font-size: 14px; }
.directory-sort-field { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.directory-sort-field > span { margin: 0; font-size: 13px; font-weight: 500; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.mobile-filter-btn { margin-bottom: 0; }
.results-head { align-items: center; }

/* Category strip: not in the mockup — hidden, IDs stay live for ?cat= deep links */
.category-strip-wrap { display: none; }

/* Empty badge rows must not push card names down */
.state-row:empty { display: none; }

/* Rail head: funnel + inline Reset all link */
.panel-heading h2 { display: inline-flex; align-items: center; gap: 8px; }
.panel-heading h2 svg { color: var(--muted); }
.panel-heading #clearDirectoryFilters { background: none; border: none; box-shadow: none; width: auto; padding: 0; margin: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.panel-heading #clearDirectoryFilters:hover { color: var(--accent); }

/* Rail: per-item counts */
.filter-check .count { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.filter-check.is-empty { opacity: .45; }

/* Rail: verified-reviews switch */
.switchrow { display: flex; align-items: flex-start; gap: 10px; padding: 14px 2px; border-bottom: 1px solid var(--hairline); cursor: pointer; }
.switchrow .sw-text { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.switchrow .sw-sub { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.switch { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; flex: none; margin: 0; margin-left: auto; border-radius: var(--r-chip); background: #D3DAE4; border: 0; position: relative; cursor: pointer; transition: background-color .16s ease; }
.switch::after { content: ""; position: absolute; top: 2.5px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .28); transition: transform .16s ease; }
.switch:checked { background: var(--positive); }
.switch:checked::after { transform: translateX(15px); }

/* Rail: editorial score range slider (proxies the hidden select) */
.filters-panel #directoryReviewScoreSelect { display: none; }
.range-wrap { padding: 4px 2px 8px; }
.range-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.range-value { font-weight: 700; color: var(--navy-2); background: rgba(18, 41, 74, .06); border: 1px solid rgba(18, 41, 74, .14); border-radius: var(--r-chip); padding: 1px 10px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.range { appearance: none; -webkit-appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--fill, 0%), #E1E7EF var(--fill, 0%)); outline-offset: 6px; }
.range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: var(--shadow-rest); cursor: pointer; }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* Compare strip: single-row layout when populated */
.compare-strip-shell { display: flex; align-items: center; gap: 16px; }

/* Fallback tile tint variety */
.vendor-logo-fallback.tint-2 { background: #E7FAF7; border-color: #CDEEEA; color: var(--positive-ink); }
.vendor-logo-fallback.tint-3 { background: var(--flag-bg); border-color: #F3E2B5; color: var(--flag-ink); }
.vendor-logo-fallback.tint-4 { background: #F1F5F9; border-color: #E2E8F0; color: #334155; }

/* Promo strip inner anatomy (class-based, injected by injectCompBanner) */
.comp-banner .strip-inner { max-width: 1200px; margin: 0 auto; padding: 6px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.comp-banner .strip-tag { display: inline-flex; align-items: center; gap: 8px; }
.comp-banner .strip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--positive); flex: none; }
.comp-banner a { display: inline-flex; align-items: center; gap: 6px; }

/* Methodology panel (below the grid — mockup section) */
.method { margin-top: 64px; }
.method-panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-panel); box-shadow: var(--shadow-rest); padding: 40px; }
.method-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.method-head p { color: var(--muted); max-width: 560px; margin-top: 8px; }
.method-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.method-card { border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 20px; background: linear-gradient(180deg, #FBFCFE 0%, #FFFFFF 100%); transition: box-shadow .18s ease, transform .18s ease; }
.method-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.method-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--hairline); background: #fff; box-shadow: var(--shadow-rest); color: var(--accent); margin-bottom: 16px; }
.method-icon.teal { color: var(--positive); }
.method-icon.amber { color: var(--flag-ink); }
.method-card h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.method-card p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Mobile: rail drawer slides in from the LEFT (mockup pattern) */
@media (max-width: 899px) {
  .mobile-filter-overlay.is-open { justify-content: flex-start; align-items: stretch; }
  .mobile-filter-drawer { width: min(344px, 88vw); max-width: none; height: 100%; max-height: none; border-radius: 0; border-right: 1px solid var(--hairline); animation: slideInLeft .26s cubic-bezier(.4, 0, .2, 1); }
  @keyframes slideInLeft { from { transform: translateX(-104%); } to { transform: translateX(0); } }
}

@media (max-width: 560px) { .hero-br { display: none; } }
@media (max-width: 860px) { .method-grid { grid-template-columns: 1fr; } .method-panel { padding: 24px; } }

/* ---- Modal system (claim/update profile, review responses) ---- */
.cvc-modal-overlay { position: fixed; inset: 0; background: rgba(11, 18, 32, .52); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cvc-modal { position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-panel); box-shadow: var(--shadow-pop); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 32px; animation: modalIn .2s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.cvc-modal-close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px 10px; border-radius: 8px; }
.cvc-modal-close:hover { background: #F1F4F9; color: var(--ink); }
.cvc-modal-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 6px; }
.cvc-modal-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; line-height: 1.55; }
.cvc-modal .field { margin-bottom: 14px; }
.cvc-modal .form-grid { gap: 12px; }
.cvc-modal-status { margin-top: 12px; font-size: 13px; }

/* ---- Vendor responses on review cards ---- */
.review-vendor-response { margin-top: 14px; padding: 14px 16px; background: var(--accent-tint); border: 1px solid #DCE7FB; border-left: 3px solid var(--accent); border-radius: 10px; }
.review-vendor-response-kicker { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 4px; }
.review-vendor-response-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.review-vendor-response-meta strong { color: var(--ink); }
.review-vendor-response-body { font-size: 13.5px; color: #333B49; line-height: 1.6; margin: 0; }
.review-respond-row { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--hairline); }
.review-respond-toggle { background: none; border: none; cursor: pointer; font-family: var(--f); font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.review-respond-toggle:hover { color: var(--accent); }
.no-reviews-cta { color: var(--accent); font-weight: 600; }
.no-reviews-cta:hover { color: var(--accent-hover); }

/* ---- Responsive for new components ---- */
@media (max-width: 1024px) {
  .profile-layout { grid-template-columns: 1fr; }
  .pside { position: static; }
}
@media (max-width: 860px) {
  .profile-hero { flex-wrap: wrap; }
  .phero-ctas { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .phero-ctas .cta-row { flex-wrap: wrap; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact + .fact { border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--hairline); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .similar-grid { grid-template-columns: 1fr; }
  .sw-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 36px 0 24px; }
  .cta-band { padding: 28px; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .crumb-bar .back-link { display: none; }
}

/* ============================================================
   AUTH LANDING (index.html)
   State contract: .auth-form-hidden / .auth-form-visible,
   .password-toggle.active
   ============================================================ */
.auth-landing-body {
  background:
    radial-gradient(ellipse 60% 55% at 82% 8%, rgba(30, 80, 200, .32), transparent),
    radial-gradient(ellipse 50% 60% at 8% 92%, rgba(14, 165, 160, .12), transparent),
    linear-gradient(150deg, #060D18 0%, #0A1628 45%, #12294A 100%);
  min-height: 100vh; color: #E6EDF6;
  overflow-x: hidden; overflow-y: auto;
}
.auth-landing-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; pointer-events: none; }
.auth-landing-overlay { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 90% 70% at 50% 0%, transparent 50%, rgba(4, 9, 18, .5) 100%); }
.auth-landing-shell { position: relative; z-index: 1; min-height: calc(100vh - 120px); display: flex; align-items: center; padding: 56px 0; }
.auth-landing-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; width: 100%; }
.auth-landing-copy { color: #E6EDF6; }
.auth-landing-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7FB1F7; margin-bottom: 18px; }
.auth-landing-brand { margin-bottom: 22px; }
.auth-landing-brand img { width: 84px; height: 84px; margin-bottom: 14px; filter: drop-shadow(0 6px 24px rgba(37, 99, 235, .4)); }
.auth-landing-brand-name { font-size: .9rem; font-weight: 650; color: rgba(230, 237, 246, .66); letter-spacing: .04em; margin-bottom: 6px; }
.auth-landing-brand h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.03em; line-height: 1.08; max-width: 520px; }
.auth-landing-copy-actions { margin: 22px 0 18px; }
.auth-landing-skip { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff; }
.auth-landing-skip:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.12); color: #fff; }
.auth-landing-trust-line { font-size: .86rem; color: rgba(230, 237, 246, .6); max-width: 480px; line-height: 1.6; }
.auth-landing-trust-stat { font-size: .86rem; color: rgba(230, 237, 246, .82); font-weight: 600; margin-top: 8px; }
.auth-landing-policy-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.policy-link-pill { display: inline-flex; padding: 5px 13px; border-radius: var(--r-chip); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: rgba(230, 237, 246, .72); font-size: .74rem; font-weight: 550; transition: border-color .15s, background-color .15s, color .15s; }
.policy-link-pill:hover { border-color: rgba(127, 177, 247, .6); background: rgba(37, 99, 235, .14); color: #fff; }
.auth-landing-panel { position: relative; background: rgba(10, 20, 36, .68); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 30px 28px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 24px 80px rgba(2, 8, 23, .5), inset 0 1px 0 rgba(255,255,255,.08); }
.auth-landing-panel-head h2 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.auth-landing-panel-head p { font-size: .86rem; color: rgba(230, 237, 246, .62); margin-bottom: 20px; }
.auth-choice-buttons { display: flex; flex-direction: column; gap: 10px; }
.auth-choice-buttons .button { width: 100%; padding: 12px 18px; font-size: .9rem; }
.button-outline { background: transparent; color: rgba(230, 237, 246, .85); border: 1px solid rgba(255,255,255,.22); }
.button-outline:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.auth-landing-form { margin-top: 4px; }
.auth-form-hidden { display: none; }
.auth-form-visible { display: block; animation: authFormIn .22s ease; }
@keyframes authFormIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.auth-landing-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.auth-landing-panel .field { margin-bottom: 0; }
.auth-landing-panel .field span { color: rgba(230, 237, 246, .72); font-size: .76rem; }
.auth-landing-panel .field input { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: var(--r-ctrl); padding: 11px 14px; }
.auth-landing-panel .field input::placeholder { color: rgba(230, 237, 246, .34); }
.auth-landing-panel .field input:focus { border-color: #7FB1F7; box-shadow: 0 0 0 3px rgba(37, 99, 235, .28); }
.password-wrapper { position: relative; display: flex; align-items: center; }
.password-wrapper input { flex: 1; padding-right: 42px; }
.password-toggle { position: absolute; right: 6px; background: none; border: none; cursor: pointer; padding: 6px 8px; border-radius: 6px; color: rgba(230, 237, 246, .55); font-size: .85rem; line-height: 1; }
.password-toggle:hover { background: rgba(255,255,255,.08); color: #fff; }
.password-toggle .eye-closed { display: none; }
.password-toggle.active .eye-open { display: none; }
.password-toggle.active .eye-closed { display: inline; }
.auth-landing-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.auth-landing-actions .button { width: 100%; padding: 12px 18px; font-size: .9rem; }
.landing-linkedin-button { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.landing-linkedin-button:hover { border-color: #7FB1F7; background: rgba(37, 99, 235, .16); color: #fff; }
.landing-linkedin-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: #0A66C2; color: #fff; font-size: .68rem; font-weight: 800; }
.auth-landing-escape { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.auth-landing-escape .text-link { color: rgba(230, 237, 246, .6); font-size: .78rem; background: none; border: none; cursor: pointer; font-family: var(--f); }
.auth-landing-escape .text-link:hover { color: #fff; }
.auth-landing-status p { font-size: .74rem; color: rgba(230, 237, 246, .45); }
.auth-landing-panel .muted { color: rgba(230, 237, 246, .5); }
.auth-state-banner { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.auth-state-banner strong { color: #fff; display: block; margin-bottom: 4px; }
.auth-state-banner p { color: rgba(255,255,255,.75); }
.auth-landing-body .site-footer { background: transparent; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0; color: rgba(230, 237, 246, .55); margin-top: 0; position: relative; z-index: 1; padding: 24px 0; }
.auth-landing-body .footer-brand strong { color: rgba(255,255,255,.9); }
.auth-landing-body .footer-brand p { color: rgba(230, 237, 246, .5); font-size: .8rem; }
.auth-landing-body .footer-links a { color: rgba(230, 237, 246, .6); }
.auth-landing-body .footer-links a:hover { color: #fff; }
@media (max-width: 900px) {
  .auth-landing-grid { grid-template-columns: 1fr; gap: 36px; }
  .auth-landing-shell { padding: 40px 0; align-items: flex-start; }
  .auth-landing-brand h1 { font-size: 1.7rem; }
}
