/* UFBC — Pro design system. CSS variables drive theming; swap --brand to retheme. */

/* ============================================================
   1. Tokens
   ============================================================ */
:root {
  /* Brand — pulled from the UFBC hero video (electric royal blue + warm gold + showroom black) */
  --brand:        #1635d9;       /* electric royal blue (UTTER chrome text) */
  --brand-light:  #2a4dff;
  --brand-dark:   #01051a;       /* showroom near-black */
  --brand-soft:   #0a1a52;
  --accent:       #f0a028;       /* warm amber-gold (BARGAIN text) */
  --accent-dark:  #c97e0e;
  --accent-soft:  #fde8c2;
  --cta-red:      #e11d2a;       /* signature red URL button */
  --cta-red-dark: #b21320;

  /* Neutrals */
  --ink:          #060912;
  --ink-2:        #1e2638;
  --ink-soft:     #475569;
  --ink-muted:    #8b95a7;
  --line:         #e6e8ec;
  --line-strong:  #cdd2db;
  --cream:        #faf8f3;
  --bg:           #f7f8fa;
  --surface:      #ffffff;
  --black:        #01051a;

  /* Signals */
  --good: #16a34a;  --warn: #d97706;  --bad: #dc2626;

  /* Type */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Shape & shadow */
  --radius:    12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(10,15,30,.05), 0 1px 3px rgba(10,15,30,.04);
  --shadow:    0 4px 14px rgba(10,15,30,.07), 0 1px 3px rgba(10,15,30,.04);
  --shadow-lg: 0 18px 48px rgba(10,15,30,.14), 0 4px 12px rgba(10,15,30,.06);
}

/* ============================================================
   2. Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-feature-settings: 'cv11','ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 120ms ease; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

/* ============================================================
   3. Top language bar
   ============================================================ */
.lang-bar {
  background: var(--ink);
  color: white;
  padding: 4px 0;
  border-bottom: 1px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 60;
}
.lang-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.lang-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.20);
  background: transparent;
  color: white;
  text-decoration: none;
  transition: all 120ms ease;
  letter-spacing: 0.02em;
}
.lang-btn:hover { background: rgba(255,255,255,0.08); color: white; }
.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.lang-btn .flag { font-size: 12px; line-height: 1; }

/* ============================================================
   4. Site header / nav
   ============================================================ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 28px;        /* sits under the shortened lang bar */
  z-index: 55;
}
.site-header.transparent {
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.12);
}
.site-header.transparent .nav-link,
.site-header.transparent .brand strong,
.site-header.transparent .brand span { color: white; }
.site-header.transparent .nav-link:hover { background: rgba(255,255,255,0.1); }
.site-header.transparent .nav-cta {
  background: var(--accent);
  color: var(--ink);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.20), 0 0 0 1px rgba(255,255,255,0.06);
}
@media (max-width: 520px) {
  .brand-logo-img { height: 38px; }
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
  box-shadow: 0 3px 10px rgba(22,53,217,0.30);
}
.site-header.transparent .brand-mark {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
@media (max-width: 520px) {
  .brand-text strong { font-size: 18px; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 12px;
  border-radius: 7px;
  letter-spacing: 0.01em;
  transition: all 120ms ease;
}
.nav-link:hover { background: rgba(12,46,99,0.06); color: var(--brand); }
.nav-link.active { color: var(--brand); }
.nav-cta {
  background: var(--brand);
  color: white;
  padding: 8px 16px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  letter-spacing: 0.01em;
  transition: all 120ms ease;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--brand-dark); color: white; transform: translateY(-1px); }

/* ============================================================
   5. Layout
   ============================================================ */
.container { max-width: 1240px; margin: 0 auto; padding: 56px 24px; }
.container.tight { max-width: 880px; }
.container.flush-top { padding-top: 0; }
.section-h {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 36px;
  max-width: 640px;
}

/* ============================================================
   6. Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 56px 24px 64px;
  color: white;
  overflow: hidden;
  background-color: var(--black);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(22,53,217,0.20) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(240,160,40,0.10) 0%, transparent 55%),
    linear-gradient(180deg, #01051a 0%, #050b25 100%);
}
.hero.has-image {
  background-image:
    linear-gradient(180deg, rgba(6,26,61,0.45) 0%, rgba(6,26,61,0.78) 100%),
    var(--hero-image);
}
.hero-video-wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.06);
  background: var(--black);
}
.hero-video {
  display: block;
  width: 100%;
  height: auto;       /* native aspect ratio, no cropping */
  object-fit: contain;
  background: var(--black);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
/* faint diagonal stripe texture for visual interest in fallback hero */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    115deg,
    transparent 0px,
    transparent 80px,
    rgba(255,255,255,0.02) 80px,
    rgba(255,255,255,0.02) 81px
  );
  pointer-events: none;
}
.hero.has-image::after { opacity: 0.5; }
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero .eyebrow { color: var(--accent); margin-bottom: 14px; }
.hero h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: white;
  margin: 0 0 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}
.hero p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255,255,255,0.78);
  margin: 0 auto 24px;
  max-width: 600px;
  line-height: 1.5;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--ink);
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all 140ms ease;
  box-shadow: var(--shadow);
}
.hero-cta:hover { background: white; color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-cta.outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow: none;
}
.hero-cta.outline:hover { background: white; color: var(--brand-dark); border-color: white; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin: 36px auto 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 28px;
  max-width: 720px;
  justify-content: center;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: white;
  display: block;
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ============================================================
   7. Trust strip / "Why buy here"
   ============================================================ */
.why-section { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-card .icon {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: white;
  box-shadow: 0 6px 16px rgba(22,53,217,0.22);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.why-card { text-align: left; }
.why-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.why-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   8. How it works
   ============================================================ */
.how-section {
  background: var(--black);
  color: rgba(255,255,255,0.88);
  position: relative;
  overflow: hidden;
}
.how-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(22,53,217,0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(240,160,40,0.10) 0%, transparent 45%);
  pointer-events: none;
}
.how-section .container { position: relative; z-index: 1; }
.how-section h2 { color: white; }
.how-section .section-sub { color: rgba(255,255,255,0.7); }
.how-section .eyebrow { color: var(--accent); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.how-step {
  background: rgba(255,255,255,0.04);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
  backdrop-filter: blur(6px);
}
.how-step .step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.how-step h3 { color: white; }
.how-step p { color: rgba(255,255,255,0.78); }
.how-step h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.how-step p { color: var(--ink-soft); margin: 0; font-size: 14.5px; }

/* ============================================================
   9. Inventory section
   ============================================================ */
.inventory-section { background: var(--bg); }
.inventory-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.inventory-head .left { max-width: 560px; }
.inventory-head .right { display: flex; gap: 10px; flex-wrap: wrap; }

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 120ms ease;
}
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.vehicle-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  color: var(--ink);
}
.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
  color: var(--ink);
}
.vehicle-card:hover { text-decoration: none; }
.vehicle-card .photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1) center/cover no-repeat;
  position: relative;
}
.vehicle-card .photo.no-photo {
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10,15,30,0.9);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.badge.sold { background: var(--bad); }
.badge.pending { background: var(--warn); }
.badge.featured {
  top: auto; bottom: 14px; left: 14px;
  background: var(--accent); color: var(--ink);
}
.vehicle-card .body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vehicle-card .title {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.2;
}
.vehicle-card .sub {
  color: var(--ink-muted);
  font-size: 12.5px;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
.vehicle-card .price-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.vehicle-card .price-row .big {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.vehicle-card .price-row .down {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.vehicle-card .price-row .pmt {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  display: inline-flex; flex-direction: column; align-items: flex-end;
}

/* ============================================================
   10. Vehicle detail page
   ============================================================ */
.vd-wrap { background: var(--bg); padding-top: 24px; padding-bottom: 64px; }
.vd-back { font-size: 14px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 4px; }
.vd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 18px;
}
@media (max-width: 960px) { .vd-grid { grid-template-columns: 1fr; gap: 28px; } }

.vd-gallery .main {
  aspect-ratio: 4 / 3;
  background: #1e2638 center/cover no-repeat;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vd-gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.vd-gallery .thumb {
  aspect-ratio: 4 / 3;
  background: #e2e8f0 center/cover no-repeat;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 120ms ease;
}
.vd-gallery .thumb:hover { border-color: var(--line-strong); }
.vd-gallery .thumb.active { border-color: var(--brand); }

.vd-info { display: flex; flex-direction: column; gap: 18px; }
.vd-title h1 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0;
  line-height: 1.1;
}
.vd-title .sub {
  color: var(--ink-soft);
  font-size: 13px;
  margin: 8px 0 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
.vd-price-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  align-items: center;
}
.vd-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.vd-down { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.vd-pmt-stack {
  margin-left: auto;
  text-align: right;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.vd-pmt-stack .pmt { color: var(--brand); font-weight: 700; }

.feature-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.feature-table td {
  padding: 12px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.feature-table tr:last-child td { border-bottom: 0; }
.feature-table td:first-child {
  color: var(--ink-muted);
  width: 40%;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   11. Forms
   ============================================================ */
.lead-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.lead-form h2 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 22px;
}
.lead-form .sub { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row label {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font: inherit;
  background: white;
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(12,46,99,0.12);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; font-weight: 700; font-size: 14.5px;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  letter-spacing: 0.01em;
  transition: all 140ms ease;
}
.btn-primary { background: var(--brand); color: white; box-shadow: 0 4px 14px rgba(22,53,217,0.28); }
.btn-primary:hover { background: var(--brand-light); color: white; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(22,53,217,0.35); }
.btn-accent {
  background: var(--accent-dark);  /* darker amber so white text is readable */
  color: white;
  box-shadow: 0 4px 14px rgba(240,160,40,0.32);
  font-weight: 700;
}
.btn-accent:hover { background: var(--accent); color: var(--ink); transform: translateY(-1px); }
.btn-cta { background: var(--cta-red); color: white; box-shadow: 0 4px 14px rgba(225,29,42,0.32); }
.btn-cta:hover { background: var(--cta-red-dark); color: white; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(225,29,42,0.42); }
.btn-ghost { background: white; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg); border-color: var(--brand); color: var(--brand); }
.btn-danger { background: white; color: var(--bad); border-color: var(--bad); }
.btn-danger:hover { background: var(--bad); color: white; }
.btn.block { width: 100%; }

/* ============================================================
   12. Reviews
   ============================================================ */
.reviews-section { background: white; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.review-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.review-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.review-card .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; font-size: 16px; }
.review-card blockquote {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
  font-style: italic;
}
.review-card .who {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}
.review-card .who .name { color: var(--ink); }

/* ============================================================
   13. Visit / Map section
   ============================================================ */
.visit-section {
  background: var(--black);
  color: rgba(255,255,255,0.92);
  position: relative;
  overflow: hidden;
}
.visit-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(22,53,217,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.visit-section .container { position: relative; z-index: 1; }
.visit-section h2 { color: white; }
.visit-section .section-sub { color: rgba(255,255,255,0.7); }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  margin-top: 24px;
}
@media (max-width: 800px) { .visit-grid { grid-template-columns: 1fr; } }
.visit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.visit-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.visit-card p { color: rgba(255,255,255,0.88); margin: 0 0 4px; font-size: 15px; }
.visit-card a { color: var(--accent); }
.visit-card a:hover { color: white; }
.visit-card .row + .row { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.visit-card .btn-accent { margin-top: 14px; }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  min-height: 360px;
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.5);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ============================================================
   14. Footer
   ============================================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.8);
  padding: 56px 24px 28px;
  border-top: 3px solid var(--brand);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: white;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
}
.site-footer .brand-mini {
  font-family: var(--font-display);
  font-size: 20px;
  color: white;
  margin-bottom: 10px;
}
.site-footer a { color: rgba(255,255,255,0.78); font-size: 14px; }
.site-footer a:hover { color: white; }
.site-footer p { margin: 0 0 6px; font-size: 14px; }
.footer-bottom {
  max-width: 1240px;
  margin: 36px auto 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   15. Empty / status / utility
   ============================================================ */
.empty {
  text-align: center;
  color: var(--ink-muted);
  padding: 56px 20px;
  background: white;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.status-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.status-available { background: #dcfce7; color: #166534; }
.status-sold      { background: #fee2e2; color: #991b1b; }
.status-pending   { background: #fef3c7; color: #92400e; }
.status-hidden    { background: #e2e8f0; color: #475569; }
.status-new       { background: #dbeafe; color: #1e40af; }
.status-contacted { background: #fef3c7; color: #92400e; }
.status-closed    { background: #e2e8f0; color: #475569; }

/* ============================================================
   16. Admin — dense, modern CRM-style layout
   ============================================================ */
.admin-shell { display: grid; grid-template-columns: 224px 1fr; min-height: 100vh; }
@media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } }

.admin-side {
  background: var(--black);
  color: white;
  padding: 16px 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-side .brand-mark {
  width: 36px; height: 36px;
  font-size: 11px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--ink);
}
.admin-side .brand {
  gap: 10px;
  padding: 4px 6px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 10px;
}
.admin-side .brand strong { color: white; font-size: 14px; }
.admin-side .brand span { color: rgba(255,255,255,0.5); font-size: 11px; }
.admin-side .who {
  font-size: 10px;
  color: rgba(255,255,255,.40);
  margin: 10px 6px 4px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 6px;
  color: rgba(255,255,255,.78);
  margin-bottom: 1px;
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.2;
  letter-spacing: 0.005em;
}
.admin-nav a:hover { background: rgba(255,255,255,.06); color: white; text-decoration: none; }
.admin-nav a.active {
  background: rgba(22,53,217,0.22);
  color: white;
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--brand);
}
.admin-nav a .nav-icon {
  width: 16px; flex-shrink: 0; text-align: center;
  font-size: 14px; opacity: 0.85;
}
.admin-nav a.active .nav-icon { opacity: 1; }
.admin-nav .count {
  margin-left: auto;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.admin-nav a.active .count { background: var(--brand); color: white; }
.admin-nav .count.urgent { background: var(--cta-red); color: white; }

.admin-side .cmdk-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  margin: 0 0 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  font-size: 12.5px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.admin-side .cmdk-trigger:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.85); }
.admin-side .cmdk-trigger kbd {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 10px;
  background: rgba(255,255,255,0.10);
  padding: 2px 6px;
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
}

.admin-side .nav-section {
  margin-top: 10px;
}
.admin-side .nav-section-h {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  margin-bottom: 2px;
}
.admin-side .footer-spacer { flex: 1; }
.admin-side .side-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px;
  margin-top: 10px;
}
.admin-side .side-footer .btn {
  width: 100%;
  font-size: 13px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.10);
}
.admin-side .side-footer .btn:hover { background: rgba(255,255,255,0.10); color: white; }

.admin-main { padding: 24px 28px; background: var(--bg); }
.admin-h1 {
  font-family: var(--font-display);
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.crumb {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.crumb a { color: var(--ink-soft); }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.kpi {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.kpi .label {
  font-size: 10.5px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 700;
}
.kpi .value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.kpi .sub { font-size: 11px; color: var(--ink-muted); margin-top: 4px; }
.kpi.alert { border-color: var(--cta-red); }
.kpi.alert .value { color: var(--cta-red); }
.kpi.success { border-color: var(--good); }
.kpi.success .value { color: var(--good); }
.kpi.brand { border-color: var(--brand); }
.kpi.brand .value { color: var(--brand); }

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.card.flush { padding: 0; }
.card-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.card-h h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 700;
  margin: 0;
}

.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: middle;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 700;
  background: var(--bg);
  padding-top: 6px;
  padding-bottom: 6px;
}
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(22,53,217,0.035); }
.table tbody tr.row-link { cursor: pointer; }
.table td.wrap { white-space: normal; }

/* Tabs */
.tab-bar {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  margin: -2px 0 16px;
  overflow-x: auto;
}
.tab-bar a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tab-bar a:hover { color: var(--ink); text-decoration: none; }
.tab-bar a.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-bar .count {
  margin-left: 6px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.tab-bar a.active .count { background: var(--brand); color: white; }

/* Page header for detail pages */
.page-head {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.page-head .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.page-head .title { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0; line-height: 1.1; }
.page-head .meta { font-size: 12px; color: var(--ink-muted); margin-top: 4px; letter-spacing: 0.03em; }
.page-head .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.page-head .btn { font-size: 13px; padding: 7px 12px; }

/* Two-column dense info row */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.info-pair { display: flex; flex-direction: column; gap: 3px; padding: 6px 0; }
.info-pair .k { font-size: 10.5px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.info-pair .v { font-size: 13.5px; color: var(--ink); }
.info-pair .v.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }

/* Activity feed (chronological) */
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.activity-list li:last-child { border-bottom: 0; }
.activity-list .marker {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  background: var(--brand);
}
.activity-list .marker.lead     { background: #6366f1; }
.activity-list .marker.app      { background: var(--brand); }
.activity-list .marker.vehicle  { background: var(--good); }
.activity-list .marker.audit    { background: var(--ink-muted); }
.activity-list .body { flex: 1; font-size: 13.5px; line-height: 1.5; }
.activity-list .body .when { font-size: 11.5px; color: var(--ink-muted); margin-top: 2px; }

/* Compact form (admin) */
.admin-main .form-row { margin-bottom: 10px; }
.admin-main .form-row label { font-size: 11px; }
.admin-main .form-row input,
.admin-main .form-row textarea,
.admin-main .form-row select {
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 6px;
}
.admin-main .btn { font-size: 13px; padding: 8px 14px; }
.admin-main .btn-ghost { padding: 7px 12px; }

/* ⌘K command palette */
.cmdk-overlay {
  position: fixed; inset: 0;
  background: rgba(1,5,26,0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  padding-top: 12vh;
  justify-content: center;
}
.cmdk-overlay.open { display: flex; }
.cmdk-box {
  width: min(640px, 92vw);
  max-height: 70vh;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(1,5,26,0.55);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.cmdk-box input {
  border: 0;
  outline: 0;
  padding: 16px 20px;
  font-size: 16px;
  font-family: var(--font-sans);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.cmdk-results { flex: 1; overflow-y: auto; padding: 8px 8px 12px; }
.cmdk-group-h {
  font-size: 10.5px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 10px 12px 4px;
  font-weight: 700;
}
.cmdk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
}
.cmdk-item:hover, .cmdk-item.focused { background: var(--bg); text-decoration: none; }
.cmdk-item .icon { width: 18px; text-align: center; font-size: 14px; opacity: 0.7; }
.cmdk-item .sub { color: var(--ink-muted); font-size: 12px; margin-left: auto; }
.cmdk-empty { padding: 24px; text-align: center; color: var(--ink-muted); font-size: 13px; }

.admin-h1.compact { font-size: 20px; margin-bottom: 14px; }

/* Right-side slide-out detail panel (Twenty-style) */
.panel-overlay {
  position: fixed; inset: 0;
  background: rgba(1, 5, 26, 0.42);
  backdrop-filter: blur(2px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.panel-overlay.open { opacity: 1; pointer-events: auto; }
.slide-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(540px, 96vw);
  background: var(--surface);
  box-shadow: -12px 0 40px rgba(1, 5, 26, 0.25);
  z-index: 151;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.panel-overlay.open .slide-panel { transform: translateX(0); }
.slide-panel .panel-head {
  position: sticky; top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  z-index: 2;
}
.slide-panel .panel-head .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: white; display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.slide-panel .panel-head .title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  line-height: 1.15; margin: 0;
}
.slide-panel .panel-head .meta {
  font-size: 11.5px; color: var(--ink-muted);
  margin-top: 2px;
}
.slide-panel .panel-head .close-x {
  margin-left: auto;
  background: transparent; border: 0;
  width: 32px; height: 32px;
  border-radius: 6px;
  font-size: 18px; color: var(--ink-soft);
  cursor: pointer;
}
.slide-panel .panel-head .close-x:hover { background: var(--bg); color: var(--ink); }
.slide-panel .panel-body { padding: 14px 18px 24px; }
.slide-panel .panel-section {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.slide-panel .panel-section:last-child { border-bottom: 0; }
.slide-panel .panel-section h4 {
  font-family: var(--font-sans);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink-muted);
  font-weight: 700;
  margin: 0 0 8px;
}
.slide-panel .panel-stat-row {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 12px 0 4px;
}
.slide-panel .panel-stat {
  flex: 1;
  background: var(--bg);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
}
.slide-panel .panel-stat .num {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.slide-panel .panel-stat .lbl {
  font-size: 10.5px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 4px;
}
.slide-panel .action-row {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 8px 0 0;
}
.slide-panel .action-row .btn { font-size: 12.5px; padding: 7px 12px; }
.slide-panel .panel-loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-muted);
}
.slide-panel .ksub {
  display: flex; gap: 14px; padding: 6px 0;
  font-size: 13px;
}
.slide-panel .ksub .k {
  width: 110px; flex-shrink: 0;
  color: var(--ink-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.slide-panel .ksub .v { color: var(--ink); flex: 1; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.form-grid.full { grid-template-columns: 1fr; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Photo manager (preserved) */
.photos-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.photo-tile {
  width: 160px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.photo-tile.dragging { opacity: 0.55; transform: scale(0.97); }
.photo-tile.drop-target { box-shadow: 0 0 0 2px var(--brand); }
.photo-tile.pending .img { opacity: 0.65; }
.photo-tile.pending::after {
  content: ""; position: absolute; top: 8px; right: 8px; width: 14px; height: 14px;
  border: 2px solid white; border-top-color: var(--brand); border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.photo-tile.error { box-shadow: 0 0 0 2px var(--bad); }
@keyframes spin { to { transform: rotate(360deg); } }
.photo-tile .img { aspect-ratio: 4 / 3; background: #e2e8f0 center/cover no-repeat; }
.photo-tile .pt-actions { display: flex; gap: 4px; padding: 6px; align-items: center; }
.photo-tile .pt-actions button { font-size: 11px; padding: 5px 8px; border-radius: 6px; flex: 1; }
.photo-tile .drag-handle {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  background: rgba(15,23,42,0.75); color: white;
  font-size: 14px; line-height: 1; padding: 4px 6px; border-radius: 4px;
  cursor: grab; user-select: none;
}
.photo-tile .drag-handle:active { cursor: grabbing; }
.photo-tile .cover-tag {
  flex: 1; text-align: center; font-size: 10px; font-weight: 700;
  background: var(--accent); color: var(--ink); padding: 5px 6px; border-radius: 6px;
  letter-spacing: 0.04em;
}
.photo-tile .dz-meta { font-size: 11px; padding: 6px; color: var(--ink-soft); text-align: center; }
.photo-tile.error .dz-meta { color: var(--bad); font-weight: 600; }

.dropzone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  background: var(--bg);
  cursor: pointer;
  transition: all 100ms ease;
}
.dropzone:hover, .dropzone.drag-over {
  border-color: var(--brand);
  background: #eff6ff;
}
.dropzone .dz-inner { display: flex; flex-direction: column; gap: 6px; }
.dropzone .dz-inner strong { font-size: 17px; color: var(--ink); }
.dropzone .dz-inner span { font-size: 13px; color: var(--ink-soft); }

.error-banner { background: #fef2f2; color: var(--bad); border: 1px solid #fecaca; border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; font-size: 14px; }

/* Tiny bar chart */
.barchart { display: flex; gap: 4px; align-items: flex-end; height: 120px; padding-top: 12px; }
.barchart .bar { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.barchart .bar:hover { filter: brightness(1.1); }
.barchart .bar .tip {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: white; font-size: 11px; padding: 4px 8px;
  border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none;
  margin-bottom: 4px;
}
.barchart .bar:hover .tip { opacity: 1; }
