/* ============================================================
   Elite OEM Global Parts Platform — Phase 3 Component Library
   Reusable across all prototype pages. Requires tokens.css first.
   ============================================================ */

/* Scroll-reveal primitive for the dark-luxury redesign pass (used with
   js/premium-fx.js). Additive: new selector, doesn't touch anything an
   already-converted or not-yet-converted page depends on. */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Standard visually-hidden pattern: present to assistive tech, removed
   from layout and impossible to see -- for table <caption>s and other
   context screen readers need but a sighted user already has visually
   (e.g. from a heading right above the element). Not display:none,
   which screen readers also skip. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* ============================================================
   RFQ Modal -- shared across every page (injected by js/rfq-modal.js).
   Self-contained class names using tokens.css variables directly,
   deliberately not depending on any page-local .btn-glow/.btn-outline-
   dark class, since those are redeclared per page rather than shared.
   Width is +27% over the original 440px (enterprise-review feedback)
   specifically to fit a two-column field layout without adding more
   vertical scrolling than the narrower version had.
   ============================================================ */
.rfq-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(2,5,10,0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: var(--space-4); }
.rfq-overlay.open { display: flex; }
.rfq-modal-panel { position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; background: var(--hero-navy-deep, var(--navy-900)); border: 1px solid var(--glass-border, rgba(127,216,255,0.2)); box-shadow: 0 40px 90px rgba(1,4,10,0.6); }
.rfq-modal-close { position: absolute; top: var(--space-3); right: var(--space-3); background: none; border: none; color: var(--steel-300); width: 30px; height: 30px; display: grid; place-items: center; z-index: 2; }
.rfq-modal-close:hover { color: #fff; }
.rfq-modal-header { padding: var(--space-6) var(--space-6) var(--space-4); border-bottom: 1px solid rgba(127,216,255,0.14); }
.rfq-modal-header .rfq-eyebrow { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-glow, var(--blue-400)); }
.rfq-modal-header h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--text-xl); color: #fff; margin-top: var(--space-2); }
.rfq-part-context { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--steel-300); margin-top: var(--space-2); word-break: break-word; }

/* Part summary card: Part Number / Manufacturer / Equipment Type /
   OEM Status. Always real API data -- shows an explicit "Not yet
   classified" / "—" rather than a fabricated value when the sandbox
   genuinely has none (e.g. equipment_categories is unpopulated today). */
.rfq-summary-card { margin: var(--space-5) var(--space-6) 0; padding: var(--space-4) var(--space-5); background: rgba(127,216,255,0.05); border: 1px solid rgba(127,216,255,0.18); }
.rfq-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-5); }
.rfq-summary-item { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.rfq-summary-label { font-family: var(--font-mono); font-size: var(--text-3xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-500); }
.rfq-summary-value { font-size: var(--text-sm); color: #fff; font-weight: 600; overflow-wrap: break-word; }
.rfq-summary-value.mono { font-family: var(--font-mono); }
.rfq-summary-value.pending { color: var(--steel-500); font-weight: 400; font-style: italic; }
.rfq-oem-pill { display: inline-block; padding: 0.2rem 0.6rem; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid currentColor; }
.rfq-oem-pill.oem { color: var(--cyan-glow); }
.rfq-oem-pill.aftermarket, .rfq-oem-pill.alternate { color: var(--steel-300); }
.rfq-oem-pill.superseded { color: var(--warning); }
.rfq-oem-pill.unknown { color: var(--steel-500); border-style: dashed; }
.rfq-summary-desc { margin: var(--space-3) 0 0; font-size: var(--text-xs); color: var(--steel-300); }
.rfq-summary-general { margin: var(--space-5) var(--space-6) 0; padding: var(--space-4) var(--space-5); background: rgba(127,216,255,0.05); border: 1px solid rgba(127,216,255,0.18); font-size: var(--text-sm); color: var(--steel-300); }

.rfq-modal-body { padding: var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.rfq-field label { display: block; font-size: var(--text-sm); font-weight: 600; color: #fff; margin-bottom: var(--space-2); }
.rfq-field-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--steel-500); font-size: var(--text-xs); }
.rfq-field input, .rfq-field textarea, .rfq-field select { width: 100%; font-family: var(--font-body); font-size: var(--text-sm); padding: 0.65rem 0.8rem; border: 1px solid rgba(127,216,255,0.22); background: rgba(4,9,16,0.6); color: #fff; box-sizing: border-box; }
.rfq-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fd8ff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 16px; padding-right: 2.2rem; }
.rfq-field select option { background: var(--navy-900); color: #fff; }
.rfq-field input:focus, .rfq-field textarea:focus, .rfq-field select:focus { outline: none; border-color: var(--cyan-glow, var(--blue-400)); }
.rfq-field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8); cursor: pointer; }
.rfq-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.rfq-error { font-size: var(--text-xs); color: #f0806e; margin-top: var(--space-1); display: none; }
.rfq-error.show { display: block; }

/* File upload -- real files held client-side until the RFQ record
   exists, then uploaded via a second multipart request against the
   real rfq_id (see rfq-modal.js + rfq_api/server.py's do_POST for
   /api/rfq/{id}/attachments). */
.rfq-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-5) var(--space-4); border: 1.5px dashed rgba(127,216,255,0.3); background: rgba(4,9,16,0.4); cursor: pointer; text-align: center; transition: border-color 0.2s ease, background 0.2s ease; }
.rfq-dropzone:hover, .rfq-dropzone.dragover { border-color: var(--cyan-glow); background: rgba(127,216,255,0.06); }
.rfq-dropzone-icon { color: var(--cyan-glow); }
.rfq-dropzone-text { font-size: var(--text-sm); color: #fff; font-weight: 600; }
.rfq-dropzone-hint { font-size: var(--text-2xs); color: var(--steel-500); }
.rfq-file-list { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); }
.rfq-file-chip { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); background: rgba(127,216,255,0.05); border: 1px solid rgba(127,216,255,0.14); font-size: var(--text-xs); }
.rfq-file-chip .rfq-file-name { flex: 1; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rfq-file-chip .rfq-file-size { font-family: var(--font-mono); color: var(--steel-500); flex-shrink: 0; }
.rfq-file-chip .rfq-file-remove { background: none; border: none; color: var(--steel-500); cursor: pointer; padding: 0.2rem; display: grid; place-items: center; flex-shrink: 0; }
.rfq-file-chip .rfq-file-remove:hover { color: #f0806e; }
.rfq-file-chip.rejected { border-color: rgba(217,75,63,0.4); }
.rfq-file-chip.rejected .rfq-file-name { color: #f0806e; }

/* Trust indicators */
.rfq-trust-row { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; padding: var(--space-3) 0; }
.rfq-trust-item { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-2xs); color: var(--steel-300); letter-spacing: 0.02em; }
.rfq-trust-item svg { color: var(--cyan-glow); flex-shrink: 0; }

.rfq-modal-footer { padding: var(--space-4) var(--space-6) var(--space-6); border-top: 1px solid rgba(127,216,255,0.14); display: flex; flex-direction: column; gap: var(--space-3); }
.rfq-submit-btn { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; border: none; padding: 0.85rem 1.2rem; font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; transition: box-shadow 0.2s ease; }
.rfq-submit-btn:hover:not(:disabled) { box-shadow: 0 8px 26px rgba(127,216,255,0.35); }
.rfq-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.rfq-submit-note { font-size: var(--text-2xs); color: var(--steel-500); text-align: center; margin: 0; }

.rfq-success { padding: var(--space-7) var(--space-6); text-align: center; }
.rfq-success .rfq-success-icon { width: 44px; height: 44px; margin: 0 auto var(--space-4); color: var(--success, #1f9d6b); }
.rfq-success h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--text-xl); color: #fff; margin: 0; }
.rfq-success .rfq-ref { font-family: var(--font-mono); font-size: var(--text-2xl); color: var(--cyan-glow, var(--blue-400)); margin: var(--space-3) 0; }
.rfq-success p { font-size: var(--text-sm); color: var(--steel-300); margin: 0; }
.rfq-success-attachments { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); background: rgba(127,216,255,0.05); border: 1px solid rgba(127,216,255,0.14); font-size: var(--text-xs); color: var(--steel-300); text-align: left; }
.rfq-success-attachments .warn { color: var(--warning); }
.rfq-success .rfq-trust-row { margin-top: var(--space-5); border-top: 1px solid rgba(127,216,255,0.1); }
.rfq-close-btn { margin-top: var(--space-6); background: none; border: 1px solid rgba(127,216,255,0.3); color: #fff; padding: 0.7rem 1.8rem; font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.rfq-close-btn:hover { border-color: var(--cyan-glow); background: rgba(127,216,255,0.06); }

@media (max-width: 560px) {
  .rfq-field-row { grid-template-columns: 1fr; }
  .rfq-summary-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Auth pages (login/register/account/staff-dashboard) ── */
.auth-shell { min-height: calc(100vh - var(--header-height) - 220px); display: flex; align-items: center; justify-content: center; padding: var(--space-8) var(--space-4); }
.auth-card { position: relative; width: 100%; max-width: 460px; background: linear-gradient(175deg, rgba(16,35,61,0.55), rgba(6,12,22,0.75)); border: 1px solid rgba(127,216,255,0.18); border-top: 2px solid rgba(127,216,255,0.32); padding: var(--space-7) var(--space-6); box-shadow: 0 30px 70px rgba(1,4,10,0.5); }
.auth-eyebrow { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-glow, var(--blue-400)); }
.auth-card h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: var(--text-2xl); color: #fff; margin: var(--space-2) 0 var(--space-6); }
.auth-form { display: flex; flex-direction: column; gap: var(--space-4); }
.auth-switch { margin-top: var(--space-5); text-align: center; font-size: var(--text-sm); color: var(--steel-300); }
.auth-switch a { color: var(--cyan-glow, var(--blue-400)); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-alert { padding: var(--space-3) var(--space-4); font-size: var(--text-sm); margin-bottom: var(--space-5); border-radius: var(--radius-sm); display: none; }
.auth-alert.show { display: block; }
.auth-alert-error { background: rgba(217,75,63,0.1); border: 1px solid rgba(217,75,63,0.3); color: #f0806e; }
.auth-alert-success { background: rgba(31,157,107,0.1); border: 1px solid rgba(31,157,107,0.3); color: #4fd8a4; }
.auth-hint { font-size: var(--text-xs); color: var(--steel-500); margin-top: var(--space-1); }

.dash-shell { padding: var(--space-7) 0 var(--space-8); }
.dash-header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.dash-header h1, .dash-header h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: var(--text-3xl); color: #fff; margin: 0; }
.dash-user-line { font-size: var(--text-sm); color: var(--steel-300); margin-top: var(--space-2); }
.dash-user-line strong { color: #fff; }
.dash-table-wrap { overflow-x: auto; border: 1px solid rgba(127,216,255,0.14); }
.dash-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 720px; }
.dash-table th { text-align: left; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-500); padding: var(--space-3) var(--space-4); border-bottom: 1px solid rgba(127,216,255,0.14); background: rgba(9,18,32,0.5); }
.dash-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid rgba(127,216,255,0.08); color: #fff; vertical-align: top; }
.dash-table td a { display: inline-flex; align-items: center; padding: 8px 0; margin: -8px 0; box-sizing: border-box; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table td.mono { color: var(--steel-300); }
.dash-empty { padding: var(--space-8) var(--space-4); text-align: center; color: var(--steel-500); border: 1px dashed rgba(127,216,255,0.18); }
.status-pill { display: inline-block; padding: 0.2rem 0.65rem; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid currentColor; white-space: nowrap; }
.status-pill.new { color: var(--cyan-glow, var(--blue-400)); }
.status-pill.quoted { color: var(--amber-beacon, var(--warning)); }
.status-pill.won { color: #4fd8a4; }
.status-pill.lost { color: #f0806e; }
.dash-status-select { font-family: var(--font-mono); font-size: var(--text-xs); background: rgba(4,9,16,0.6); color: #fff; border: 1px solid rgba(127,216,255,0.22); padding: 0.6rem 0.5rem; min-height: 40px; box-sizing: border-box; }
.dash-status-select option { background: var(--navy-900); color: #fff; }
.dash-pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-3); padding-top: var(--space-5); font-size: var(--text-sm); color: var(--steel-300); }
.dash-pagination button { background: none; border: 1px solid rgba(127,216,255,0.3); color: #fff; padding: 0.75rem 1rem; cursor: pointer; font-size: var(--text-sm); min-height: 44px; }
.dash-pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.dash-pagination button:hover:not(:disabled) { border-color: var(--cyan-glow); }

@media (max-width: 560px) {
  .dash-header { flex-direction: column; align-items: flex-start; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--surface-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { line-height: 1.6; margin: 0; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (max-width: 640px) {
  .container { padding: 0 var(--space-4); }
}
.section { padding: var(--space-8) 0; }
.section-tight { padding: var(--space-6) 0; }
.section-dark { background: var(--surface-brand); color: var(--text-on-brand); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-400);
}
.section-dark .eyebrow { color: var(--blue-400); }
.eyebrow.on-light { color: var(--blue-600); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue-600);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-500); box-shadow: 0 4px 20px rgba(29, 111, 224, 0.35); }
.btn-outline {
  background: transparent;
  border-color: var(--border-brand);
  color: var(--text-on-brand);
}
.btn-outline:hover { border-color: var(--blue-400); background: rgba(90, 169, 255, 0.08); }
.btn-outline.on-light { color: var(--navy-950); border-color: var(--steel-200); }
.btn-outline.on-light:hover { border-color: var(--blue-600); background: var(--blue-100); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
}
.btn-ghost:hover { color: var(--blue-600); }
.btn-lg { padding: 1rem 2rem; font-size: var(--text-base); }
.btn-sm { padding: 0.5rem 1rem; font-size: var(--text-xs); }
.btn-block { width: 100%; }

/* Primary CTA on the dark-luxury pages (Search, Part Details, Brand
   Details, VIN/Serial Search) -- was redeclared independently in each
   of those four files with drifting padding and only one of the four
   carrying the min-height:44px touch-target size. Consolidated here so
   every "Search" / "Request a Quote" / "Decode VIN" button matches. */
.btn-glow {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; border: none; border-radius: 2px;
  padding: 0.65rem 1.3rem; min-height: 44px; box-sizing: border-box;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.btn-glow:hover { box-shadow: 0 6px 26px rgba(127,216,255,0.4); }
.btn-glow:active { transform: translateY(1px); }

/* Secondary/utility action on the same pages -- also redeclared twice
   (part-details.html, search-results.html) with drifting padding and
   font-size before being consolidated here. */
.btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  background: transparent; border: 1px solid rgba(127,216,255,0.28); color: var(--steel-300);
  border-radius: 2px; padding: 0.85rem 1rem; min-height: 44px; box-sizing: border-box;
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.btn-outline-dark:hover { border-color: var(--cyan-glow); color: var(--white); }

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-brand);
  height: var(--header-height);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  flex-shrink: 0;
}
.brand-mark {
  width: 40px; height: 40px;
  border: 1.5px solid var(--blue-400);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--blue-400);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::before, .brand-mark::after {
  content: ''; position: absolute; width: 6px; height: 6px;
  border: 1.5px solid var(--blue-400);
}
.brand-mark::before { top: -4px; left: -4px; border-width: 1.5px 0 0 1.5px; }
.brand-mark::after { bottom: -4px; right: -4px; border-width: 0 1.5px 1.5px 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text .name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; white-space: nowrap; }
.brand-text .sub { font-family: var(--font-mono); font-size: var(--text-3xs); letter-spacing: 0.18em; color: var(--steel-300); text-transform: uppercase; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: var(--space-5); }
.main-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--steel-300);
  padding: 14px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-color: var(--blue-500); }
.nav-actions { display: flex; align-items: center; gap: var(--space-4); }
.nav-phone {
  font-family: var(--font-mono);
  color: var(--blue-400);
  font-size: var(--text-sm);
  display: flex; align-items: center; gap: var(--space-2);
  padding: 13px 2px; margin: -13px -2px;
  box-sizing: border-box;
}
/* Email quote CTA -- next to the call link, same tap-target sizing
   pattern. Kept to the platform's own dark/glass language, accented
   with the site's own cyan rather than a third-party brand color
   (this used to be a WhatsApp deep-link; changed to mailto: so "Get
   Quote" reaches sales@ directly instead of opening WhatsApp). */
.nav-quote {
  font-family: var(--font-mono);
  color: var(--white);
  background: rgba(127, 216, 255, 0.1);
  border: 1px solid rgba(127, 216, 255, 0.35);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  display: flex; align-items: center; gap: var(--space-2);
  padding: 8px 14px;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-quote svg { color: var(--cyan-glow); flex-shrink: 0; }
.nav-quote:hover { background: rgba(127, 216, 255, 0.18); border-color: rgba(127, 216, 255, 0.6); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); padding: 11px; margin: -11px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* Below 640px the header competes for space with cart/auth/hamburger
   icons, and the full phone NUMBER as header text was wrapping onto
   two lines (cramped, poor tap target). The bottom tab bar's own
   "Call" button (same tel: link, visible at this exact breakpoint
   already) covers the same need, so the header version steps aside
   here rather than both existing at once. */
@media (max-width: 640px) {
  .nav-phone { display: none; }
  .nav-quote span { display: none; }
  .nav-quote { padding: 8px; }
}

/* Auth-aware nav (js/auth-client.js mountNav()) -- injected into every
   page's existing .nav-actions, ahead of the phone link. */
/* gap is deliberately wider than it looks: .nav-auth-link's enlarged
   invisible tap zone (padding + negative margin, added for touch-
   target compliance) bleeds 8px past each link's visible edge, so a
   plain 8px gap here would let two adjacent links' hit-boxes overlap
   by 8px -- confirmed by direct measurement at every breakpoint
   tested, including desktop widths where visual crowding wasn't
   otherwise a factor. 20px comfortably clears the 16px combined bleed. */
.nav-auth-wrap { display: flex; align-items: center; gap: 20px; padding-right: var(--space-3); border-right: 1px solid rgba(255,255,255,0.14); margin-right: var(--space-1); }
.nav-auth-link { font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); color: var(--white); background: none; border: none; padding: 9px 8px; margin: -9px -8px; cursor: pointer; text-decoration: none; transition: color 0.2s ease; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; box-sizing: border-box; }
.nav-auth-link:hover { color: var(--cyan-glow, var(--blue-400)); }
.nav-auth-link svg { flex-shrink: 0; }
/* Icon-only below 480px -- confirmed by direct measurement that the
   full "Dashboard" + "Sign Out" text alongside the cart icon and
   hamburger pushes the hamburger off-screen entirely at 320-375px. */
@media (max-width: 480px) {
  .nav-auth-link .label { display: none; }
  .nav-auth-wrap { gap: 13px; padding-right: var(--space-1); }
  .nav-actions { gap: 18px; }
  .nav-auth-link { padding: 9px 6px; margin: -9px -6px; }
  /* Header row gap is otherwise 32px (--space-6) -- fine when the full
     nav fits, but at this width brand + cart + auth + signout + hamburger
     all competing for 320px pushes the hamburger off-screen. Tightening
     this specific gap (measured/verified via real viewport testing, see
     nav-actions/nav-auth-wrap gaps above) reclaims the room without
     shrinking any tap target below 40px. */
  .site-header .container { gap: 11px; }
  .brand { gap: var(--space-2); }
}
.nav-auth-signout { color: var(--steel-300); font-weight: 500; }
.nav-auth-signout:hover { color: var(--danger); }

/* Cart nav link (js/rfq-cart.js mountNavCartLink()) -- injected ahead
   of the auth wrap/phone link, same pattern. */
.nav-cart-link { position: relative; display: flex; align-items: center; justify-content: center; color: var(--white); transition: color 0.2s ease; padding: 11px; margin: -11px; }
.nav-cart-link:hover { color: var(--cyan-glow, var(--blue-400)); }
.nav-cart-badge { position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--blue-500); color: #fff; font-family: var(--font-mono); font-size: var(--text-3xs); font-weight: 700; line-height: 16px; text-align: center; }

/* Cart item rows (rfq-cart.html) */
.cart-item { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); background: rgba(9,18,32,0.5); border: 1px solid rgba(127,216,255,0.14); }
.cart-item + .cart-item { border-top: none; margin-top: -1px; }
.cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-item-name { font-family: var(--font-mono); font-weight: 700; color: #fff; font-size: var(--text-sm); }
.cart-item-desc { font-size: var(--text-xs); color: var(--steel-300); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-qty { width: 64px; flex-shrink: 0; font-family: var(--font-mono); font-size: var(--text-sm); text-align: center; padding: 0.5rem; background: rgba(4,9,16,0.6); border: 1px solid rgba(127,216,255,0.22); color: #fff; }
.cart-item-remove { flex-shrink: 0; background: none; border: none; color: var(--steel-500); cursor: pointer; padding: 0.4rem; display: grid; place-items: center; transition: color 0.2s ease; }
.cart-item-remove:hover { color: #f0806e; }

/* Brief confirmation flash on search-results.html's icon-only "add to
   cart" button -- no room for a text-swap confirmation like
   part-details.html's equivalent button, so a color pulse instead. */
.btn-cart-add.cart-add-flash { background: var(--success, #1f9d6b); border-color: transparent; color: #fff; transition: background 0.15s ease; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  /* .mobile-open beats the bare .main-nav rule above on specificity
     (two classes vs one) regardless of source order -- see js/nav-toggle.js */
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--navy-950);
    border-bottom: 1px solid var(--border-brand);
    padding: var(--space-2) var(--space-5) var(--space-4);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    gap: 0;
  }
  .main-nav.mobile-open a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }
  .main-nav.mobile-open a:last-child { border-bottom: none; }
}

/* ── Mobile bottom nav (carried forward from current site, per UI_UX_PLAN Sec 7) ── */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--navy-950);
  border-top: 1px solid var(--border-brand);
  padding: var(--space-2) var(--space-2) max(var(--space-2), env(safe-area-inset-bottom));
}
.mobile-bottom-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-around; }
.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: var(--text-3xs); color: var(--steel-300); padding: var(--space-1);
  min-width: 44px; min-height: 44px; box-sizing: border-box;
}
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--blue-400); }
.mobile-bottom-nav svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 64px; }
}

/* ── Intelligent search bar (mode-aware, per UI_UX_PLAN Sec 3.1) ── */
.search-shell {
  background: var(--navy-800);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  box-shadow: var(--shadow-glow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-modes {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2) var(--space-2);
  overflow-x: auto;
}
.search-mode-tab {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-300);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  white-space: nowrap;
  transition: all 0.15s ease;
  min-height: 40px;
}
.search-mode-tab.active { color: var(--blue-400); border-color: var(--border-brand); background: rgba(90, 169, 255, 0.08); }
.search-mode-tab:hover { color: var(--white); }
.search-input-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2); }
.search-input-row svg { width: 22px; height: 22px; color: var(--steel-300); flex-shrink: 0; }
.search-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  min-width: 0;
}
.search-input-row input::placeholder { color: var(--steel-500); font-family: var(--font-body); }
.search-input-row input:focus { outline: none; }
/* The input itself is borderless by design (sits inside .search-shell's
   own pill-shaped border), so a focus ring drawn directly on it would
   look visually disconnected -- keyboard focus was previously invisible
   here entirely (no outline, no border change, nothing). Highlighting
   the whole shell via :focus-within gives a real, visible indicator
   instead, in the same cyan-glow language used for focus elsewhere. */
.search-shell:focus-within { border-color: var(--cyan-glow, var(--blue-400)); box-shadow: 0 0 0 3px rgba(127,216,255,0.25); }
.search-hint {
  padding: 0 var(--space-4) var(--space-3);
  font-size: var(--text-xs);
  color: var(--steel-300);
}
.search-hint .mono { color: var(--blue-400); }

/* Compact search variant, for non-hero pages */
.search-compact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-compact:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
.search-compact svg { width: 18px; height: 18px; color: var(--text-secondary); flex-shrink: 0; }
.search-compact input { flex: 1; border: none; font-family: var(--font-body); font-size: var(--text-base); color: var(--text-primary); min-width: 0; }
.search-compact input:focus { outline: none; }

/* ── Spec-plate technical panel (hero graphic placeholders) ── */
.spec-plate {
  position: relative;
  border: 1px solid var(--border-brand);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  padding: var(--space-5);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.spec-plate::before, .spec-plate::after,
.spec-plate .corner-tl, .spec-plate .corner-br {
  content: ''; position: absolute; width: 18px; height: 18px; border-color: var(--blue-400); border-style: solid;
}
.spec-plate .corner-tl { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; }
.spec-plate .corner-br { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; }
.spec-plate .plate-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0.9;
}
.spec-plate .plate-art svg { width: 60%; height: 60%; color: var(--blue-500); opacity: 0.85; }
.spec-plate .plate-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.spec-plate .plate-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--white);
}
.spec-plate .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(90,169,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,169,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Cards ── */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card-hover:hover { box-shadow: 0 8px 28px rgba(10,22,40,0.12); transform: translateY(-2px); }

.part-card { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.part-card .part-number { font-family: var(--font-mono); font-size: var(--text-lg); color: var(--navy-950); font-weight: 600; }
.part-card .part-desc { font-size: var(--text-sm); color: var(--text-secondary); }
.part-card .part-meta { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-xs); color: var(--text-secondary); }
.part-card .part-meta span { background: var(--steel-100); padding: 0.2rem 0.6rem; border-radius: var(--radius-sm); }
.part-card .part-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--border-light); }

.category-card {
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-2);
  background: var(--navy-800);
  border: 1px solid var(--border-brand);
  color: var(--white);
}
.category-card .cat-count { font-family: var(--font-mono); color: var(--blue-400); font-size: var(--text-sm); }
.category-card .cat-name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); }
.category-card svg { width: 32px; height: 32px; color: var(--blue-400); margin-bottom: var(--space-2); }

.brand-card {
  padding: var(--space-5);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  text-align: center;
}
.brand-card .brand-mono { font-family: var(--font-mono); font-weight: 700; font-size: var(--text-lg); color: var(--navy-950); }
.brand-card .brand-count { font-size: var(--text-xs); color: var(--text-secondary); }

/* ── Badges / status pills ── */
.badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--text-xs); font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 999px; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--success-tint); color: var(--success); }
.badge-warning { background: var(--warning-tint); color: var(--warning); }
.badge-neutral { background: var(--steel-100); color: var(--text-secondary); }

/* ── Filter chips ── */
.chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: var(--paper);
  transition: all 0.15s ease;
}
.chip.active { border-color: var(--blue-600); color: var(--blue-600); background: var(--blue-100); }
.chip button { background: none; border: none; color: inherit; padding: 0; display: flex; }
.chip button svg { width: 12px; height: 12px; }

/* ── Forms ── */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); }
.field .hint { font-size: var(--text-xs); color: var(--text-secondary); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--text-primary);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-100); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-4); }

/* ── Breadcrumbs ── */
.breadcrumbs { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-secondary); flex-wrap: wrap; }
.breadcrumbs a { display: inline-flex; align-items: center; padding: 10px 0; margin: -10px 0; box-sizing: border-box; }
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs .sep { color: var(--steel-300); }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; gap: var(--space-2); justify-content: center; }
.pagination button {
  min-width: 44px; height: 44px;
  border: 1px solid var(--border-light);
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.pagination button.active { background: var(--navy-950); color: var(--white); border-color: var(--navy-950); }
.pagination button:hover:not(.active) { border-color: var(--blue-600); color: var(--blue-600); }

/* ── Data table (part details fitment/spec tables) ── */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--border-light); border-radius: var(--radius-md); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 480px; }
.data-table th { text-align: left; font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); background: var(--steel-100); padding: var(--space-3) var(--space-4); }
.data-table td { padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border-light); }
.data-table tr:hover td { background: var(--blue-100); }

/* ── Footer ── */
.site-footer { background: var(--navy-950); color: var(--steel-300); padding: var(--space-8) 0 var(--space-6); border-top: 1px solid var(--border-brand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-6); margin-bottom: var(--space-7); }
.footer-col h3 { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a { font-size: var(--text-sm); color: var(--steel-300); display: inline-flex; align-items: center; padding: 8px 0; margin: -8px 0; min-height: 40px; box-sizing: border-box; }
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-6); border-top: 1px solid var(--border-brand); font-size: var(--text-xs); flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Skeleton loading state ── */
.skeleton { position: relative; overflow: hidden; background: var(--steel-100); border-radius: var(--radius-sm); }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.4s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .skeleton::after { animation: none; }
  html { scroll-behavior: auto; }
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ── Grid helpers ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Premium platform utilities -- final polish pass. Shared across
   Categories/VIN-Serial Search/Brand Details so the "Fortune 500
   procurement platform" treatment (dense stat strips, rich hover
   lighting) is one definition, not copy-pasted per page. Brand
   Directory's own card hover (brand-directory-card) predates this and
   is left as-is rather than migrated, to avoid re-touching an
   already-verified page for a purely cosmetic dedupe.
   ============================================================ */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: rgba(127,216,255,0.14); border: 1px solid rgba(127,216,255,0.14); }
.stat-cell { background: rgba(9,18,32,0.55); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.stat-cell .stat-num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, var(--text-2xl)); color: var(--cyan-glow); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-cell .stat-label { font-size: var(--text-2xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-500); }

/* Cast-metal 3D hover: subtle tilt + lift + rim glow. GPU-only
   properties (transform/box-shadow/border-color), safe on dense grids. */
.hover-lift-3d { transform: perspective(700px) rotateX(0deg) translateY(0); transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.28); will-change: transform; }
.hover-lift-3d:hover { border-color: var(--cyan-glow); transform: perspective(700px) rotateX(3deg) translateY(-5px); box-shadow: 0 22px 40px rgba(1,6,14,0.55), 0 0 0 1px rgba(127,216,255,0.35), 0 0 30px rgba(58,139,245,0.22); }
.hover-lift-3d:hover .reg-corners span { opacity: 1; width: 14px; height: 14px; }
@media (max-width: 560px) { .hover-lift-3d:hover { transform: perspective(700px) translateY(-3px); } }

/* Faint SVG industrial watermark -- gear/reticle motif, pure vector
   (no image assets). Each page positions/sizes its own container;
   this just standardizes the near-invisible treatment so it always
   reads as texture, never competes with real content. */
.industrial-mark { opacity: 0.05; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .hover-lift-3d, .hover-lift-3d:hover { transition: none; }
}

/* ============================================================
   Data status banner -- shared user-facing loading/error indicator
   for live API calls (js/data-state.js). Fixed, bottom-centered,
   never blocks page content or scrolling.
   ============================================================ */
.data-status-banner {
  position: fixed; bottom: var(--space-5); left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 300; display: flex; align-items: center; gap: var(--space-3);
  background: rgba(9,18,32,0.96); border: 1px solid rgba(127,216,255,0.25);
  color: var(--steel-300); padding: var(--space-3) var(--space-4);
  font-family: var(--font-mono); font-size: var(--text-xs);
  box-shadow: 0 16px 36px rgba(1,4,10,0.55);
  opacity: 0; pointer-events: none; max-width: min(90vw, 480px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.data-status-banner.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.data-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--cyan-glow); }
.data-status-banner.loading .data-status-dot { animation: data-status-pulse 1.1s ease-in-out infinite; }
.data-status-banner.error { border-color: rgba(217,140,31,0.4); color: #f0b256; }
.data-status-banner.error .data-status-dot { background: currentColor; animation: none; }
.data-status-close { background: none; border: none; color: inherit; opacity: 0.6; padding: 14px; margin: -14px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.data-status-close:hover { opacity: 1; }
@keyframes data-status-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) {
  .data-status-banner { transition: none; }
  .data-status-banner.loading .data-status-dot { animation: none; }
}
@media (max-width: 560px) {
  .data-status-banner { left: var(--space-4); right: var(--space-4); transform: translateY(16px); max-width: none; }
  .data-status-banner.show { transform: translateY(0); }
}
