:root {
  --ink: #101828;
  --ink-soft: #3d4757;
  --muted: #6b7686;
  --line: #dfe3e8;
  --bg: #f4f6f8;
  --card: #ffffff;
  --line-soft: #eef1f4;
  --navy: #0f2a4a;        /* deep navy — headers, chrome, the shield */
  --navy-deep: #071729;
  --navy-mid: #1d4470;
  --accent: #c8102e;      /* brand red — primary actions only */
  --accent-ink: #96091f;
  --accent-soft: #fdeff1;
  /* Deliberately darker and browner than --accent: a red brand and a red error
     state are easy to confuse, so errors sit lower in value and always carry
     the alert icon. */
  --danger: #8a1c14;
  --success: #157347;
  --success-soft: #e9f5ee;
  --trust: #1b4c8c;       /* institutional blue — verification marks */
  --trust-soft: #e9f0f9;
  --radius: 12px;
  --radius-sm: 8px;
  /* Layered so elevation reads as depth rather than a drop-shadow smudge. */
  --shadow-sm: 0 1px 2px rgba(9,18,33,.05), 0 1px 3px rgba(9,18,33,.07);
  --shadow-md: 0 2px 4px rgba(9,18,33,.04), 0 8px 20px rgba(9,18,33,.09);
  --shadow-lg: 0 4px 8px rgba(9,18,33,.06), 0 24px 56px rgba(9,18,33,.20);
  --shadow-xl: 0 8px 16px rgba(9,18,33,.08), 0 40px 80px rgba(9,18,33,.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
h1, h2, h3, .logo, .cur-amount, .card-price .amount, .hero-stats strong {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; border-radius: 8px;
  padding: 10px 16px; transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #ebedee; }
.btn-block { width: 100%; padding: 13px; font-size: 1.02rem; }
.btn-lg { padding: 14px 20px; font-size: 1.05rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---- Utility top bar: human contact is Baymard's #2 trust signal ---- */
.topbar {
  background: #fff; border-bottom: 1px solid var(--line);
  font-size: .8rem; color: var(--ink-soft);
}
.topbar-inner { display: flex; align-items: center; gap: 20px; padding: 8px 20px; flex-wrap: wrap; }
.topbar a { font-weight: 600; color: var(--ink); }
.topbar a:hover { color: var(--accent-ink); }
.topbar .sep { color: var(--line); }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar .open-now { color: var(--success); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.topbar .open-now::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }

/* ---- Inline rating (hero + header) ---- */
.inline-rating { display: inline-flex; align-items: center; gap: 8px; }
.inline-rating .stars { color: #f5a623; letter-spacing: .06em; font-size: .95rem; }
.inline-rating .val { font-weight: 800; color: #fff; }
.inline-rating .cnt { color: #aab6c2; font-size: .82rem; }

/* ---- Verified badge row ---- */
.seals { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.seal {
  display: flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 14px; box-shadow: var(--shadow-sm);
}
.seal-ico {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px;
  display: grid; place-items: center; line-height: 1;
  background: var(--trust-soft); color: var(--trust);
}
.seal-ico.g { background: var(--success-soft); color: var(--success); }
.seal-ico.o { background: var(--accent-soft); color: var(--accent-ink); }
.seal-txt { min-width: 0; }
.seal-txt b { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .02em; color: var(--ink); line-height: 1.25; }
.seal-txt span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.3; }

/* ---- Protection promise ---- */
.promise {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #e9eef3; border-radius: 16px; padding: 38px 36px; box-shadow: var(--shadow-lg);
}
.promise-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.promise-shield {
  width: 54px; height: 54px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(200,16,46,.16); border: 1px solid rgba(200,16,46,.35);
}
.promise-head h2 { margin: 0 0 5px; color: #fff; font-size: 1.85rem; }
.promise-head p { margin: 0; color: #aebccb; font-size: .95rem; max-width: 620px; }
/* Explicit column counts, not auto-fit: the payment cell spans the remainder of
   the last row, so the count has to be knowable to get the span right. */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.11); border-radius: 12px; overflow: hidden; }
@media (max-width: 1080px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .promise-grid { grid-template-columns: 1fr; } }
.promise-item { background: var(--navy); padding: 22px; }
.promise-item .term {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: #0f1419; background: var(--accent);
  padding: 3px 8px; border-radius: 4px; margin-bottom: 10px;
}
.promise-item h3 { margin: 0 0 8px; font-size: 1.02rem; color: #fff; letter-spacing: .02em; }
.promise-item p { margin: 0 0 10px; font-size: .85rem; line-height: 1.6; color: #a9b7c5; }
.promise-item .howto { font-size: .76rem; color: #8b99a8; border-top: 1px solid rgba(255,255,255,.1); padding-top: 9px; }
.promise-item .howto b { color: #cfd9e3; font-weight: 700; }
/* Payment terms live in the grid but as a wide cell, not a sixth equal card:
   as an equal card the extra copy stretched every sibling in its row by ~250px.
   Spanning the remainder of the last row also removes the empty trailing cells. */
.promise-payment { background: var(--navy); padding: 22px; grid-column: span 3; }
@media (max-width: 1080px) { .promise-payment { grid-column: span 1; } }
.pp-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.pp-head .ico { font-size: 1.15rem; color: var(--accent); flex-shrink: 0; }
.pp-head h3 { margin: 0; font-size: 1.02rem; color: #fff; letter-spacing: .02em; }
.pp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 1080px) { .pp-body { grid-template-columns: 1fr; gap: 0; } }
.pp-body p { margin: 0; font-size: .85rem; line-height: 1.6; color: #a9b7c5; }
@media (max-width: 1080px) { .pp-body p { margin-bottom: 10px; } }

.promise-foot { margin-top: 22px; font-size: .82rem; color: #8b99a8; display: flex; gap: 8px; align-items: flex-start; }

/* ---- Delivered-cost estimator ---- */
.estimator { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: center; }
.est-copy h2 { margin: 0 0 8px; font-size: 1.7rem; }
.est-copy p { margin: 0 0 12px; color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.est-note { font-size: .82rem; color: var(--muted); }
.est-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-md); }
.est-panel label { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 6px; }
.est-panel select, .est-panel input {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); margin-bottom: 14px;
}
.est-panel select:focus, .est-panel input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,42,74,.1); }
.est-out { border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; }
.est-line { display: flex; justify-content: space-between; font-size: .87rem; padding: 5px 0; color: var(--ink-soft); }
.est-line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 11px; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.est-line.total span:last-child { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; }

/* ---- Real-world presence ---- */
.presence { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px; }
.presence-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.presence-card h3 { margin: 0 0 12px; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.presence-card address { font-style: normal; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); }
.presence-card .big { font-size: 1.35rem; font-weight: 700; color: var(--ink); font-family: 'Barlow Condensed', sans-serif; letter-spacing: .02em; }
.hours { width: 100%; border-collapse: collapse; font-size: .86rem; }
.hours td { padding: 5px 0; color: var(--ink-soft); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.hours tr.today td { font-weight: 700; color: var(--accent-ink); }
.hours tr.closed td:last-child { color: var(--muted); }

/* ---- Cross-platform rating badges ---- */
.rating-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 26px; }
.rb { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-align: center; box-shadow: var(--shadow-sm); }
.rb .src { font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.rb .score { font-family: 'Barlow Condensed', sans-serif; font-size: 2.3rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.rb .stars { color: #f5a623; font-size: .9rem; letter-spacing: .06em; }
.rb .n { font-size: .76rem; color: var(--muted); margin-top: 3px; }

/* ---- Live ticker ---- */
.ticker { background: #0c1117; border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 7px 0; }
.ticker-track {
  display: flex; gap: 30px; white-space: nowrap; width: max-content;
  animation: ticker 60s linear infinite;
  /* Promote to its own compositor layer: the track is several thousand pixels
     wide, so animating it on the main thread forces very expensive repaints. */
  will-change: transform; transform: translateZ(0);
}
.ticker:hover .ticker-track { animation-play-state: paused; }
/* Stop burning CPU on an animation nobody can see once it scrolls away. */
.ticker.is-offscreen .ticker-track { animation-play-state: paused; }
.tick { font-size: .76rem; color: #9fb0c0; display: inline-flex; align-items: center; gap: 7px; }
.tick b { color: #e6edf3; font-weight: 600; }
.tick .amt { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.tick .lv { font-size: .6rem; font-weight: 800; letter-spacing: .08em; color: #5ad07f; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---- Trust bar ---- */
.trustbar {
  background: var(--navy-deep); color: #cdd6e0;
  font-size: .79rem; letter-spacing: .01em;
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  padding: 8px 16px;
}
.trustbar span { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding: 13px 20px; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; letter-spacing: .04em; }
/* The mark is a fixed-size SVG, not a glyph: it must not scale with the
   surrounding font or drift when the wordmark's font loads late. */
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; display: block; }
.logo-alt { margin-left: .28em; color: var(--accent); }
.search { flex: 1; min-width: 180px; }
.search input {
  width: 100%; padding: 11px 16px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; transition: border .15s, box-shadow .15s;
}
.search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(29,37,48,.11); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---- Hero ---- */
.hero {
  background:
    linear-gradient(100deg, rgba(19,25,32,.96) 30%, rgba(19,25,32,.78)),
    url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?w=1600&q=70') center/cover;
  color: #fff;
}
.hero-inner { padding: 60px 20px 54px; }
.hero-copy { max-width: 720px; }
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.hero-toprow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.seals-wrap { margin-top: -26px; position: relative; z-index: 6; margin-bottom: 30px; }
.seals { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  padding: 6px 14px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; color: #dbe4ec;
}
.live-pill strong { color: var(--accent); }
.live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #35d06a; box-shadow: 0 0 0 0 rgba(53,208,106,.7); animation: blip 1.8s infinite; }
@keyframes blip { 70% { box-shadow: 0 0 0 8px rgba(53,208,106,0); } 100% { box-shadow: 0 0 0 0 rgba(53,208,106,0); } }
.hero-stack { font-size: clamp(2.6rem, 6.6vw, 5rem); margin: 0 0 16px; line-height: .95; letter-spacing: .01em; }
.hero-accent { color: var(--accent); }
.hero p { font-size: 1.06rem; color: #ccd5de; margin: 0 0 22px; max-width: 600px; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-chip {
  font-size: .78rem; font-weight: 600; color: #d7e2ec;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 7px 13px; border-radius: 6px;
}

/* Hero guarantee cards — the headline risk reversal, above the fold. */
.hero-guarantees {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 12px; margin-bottom: 28px; max-width: 720px;
}
.hg {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.17);
  border-radius: 10px; padding: 13px 15px; backdrop-filter: blur(3px);
  transition: border-color .15s, background .15s;
}
.hg:hover { border-color: rgba(200,16,46,.55); background: rgba(255,255,255,.1); }
.hg-ico {
  line-height: 1; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(200,16,46,.16); border: 1px solid rgba(200,16,46,.32);
  color: #ff8b98;
}
/* Scoped to the text wrapper: a bare `.hg span` also matches .hg-ico (which is
   a span) and outranks it, silently killing its display:grid centring. */
.hg > div b { display: block; font-size: .88rem; font-weight: 700; color: #fff; letter-spacing: .01em; line-height: 1.25; }
.hg > div span { display: block; font-size: .75rem; color: #a9bacb; line-height: 1.3; }

@media (max-width: 560px) {
  .hero-guarantees { grid-template-columns: 1fr; gap: 9px; }
  .hg { padding: 11px 13px; }
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats strong { display: block; font-size: 2rem; color: var(--accent); line-height: 1; }
.hero-stats span { font-size: .82rem; color: #b7c1cc; }

/* ---- Find bar ---- */
.findbar {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 22px 24px; position: relative; z-index: 5;
}
.findbar-head h2 { margin: 0 0 3px; font-size: 1.4rem; }
.findbar-head p { margin: 0 0 16px; font-size: .88rem; color: var(--muted); }
.findbar-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr .8fr .8fr auto; gap: 12px; align-items: end; }
.findbar-grid label { display: flex; flex-direction: column; gap: 5px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.findbar-grid input, .findbar-grid select {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink);
}
.findbar-grid input:focus, .findbar-grid select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(29,37,48,.11); }
.findbar-grid .btn { padding: 11px 20px; letter-spacing: .04em; }

/* ---- Sections ---- */
.section { padding: 46px 0; }
.band { background: #eef0f2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-size: 1.9rem; }
.section-head .eyebrow { margin: 0; width: 100%; }
.section-head.center { flex-direction: column; text-align: center; gap: 8px; margin-bottom: 34px; }
.section-head.center .eyebrow { margin-bottom: 0; }
.section-sub { margin: 4px 0 0; color: var(--muted); font-size: .96rem; max-width: 620px; }
.demo-flag { color: var(--accent-ink); font-weight: 600; }
.linkish { margin-left: auto; background: none; border: none; font: inherit; font-weight: 700; font-size: .86rem; color: var(--accent-ink); cursor: pointer; }
.linkish:hover { text-decoration: underline; }
.count-pill { margin-left: auto; font-size: .72rem; font-weight: 800; letter-spacing: .07em; background: var(--navy); color: #fff; padding: 5px 11px; border-radius: 5px; }

/* ---- Category tiles ---- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px;
  cursor: pointer; text-align: left; transition: all .14s; box-shadow: var(--shadow-sm);
}
.cat-tile:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cat-tile .cat-ico {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink);
  border: 1px solid #f6ddc2; transition: background .15s, color .15s, border-color .15s;
}
.cat-tile .cat-ico .ico { font-size: 1.6rem; }
.cat-tile:hover .cat-ico { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-tile h3 { margin: 0 0 3px; font-size: 1.05rem; }
.cat-tile span { font-size: .8rem; color: var(--muted); }
.cat-tile .go { display: block; margin-top: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .07em; color: var(--accent-ink); }

/* ---- Brand strip ---- */
.brand-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 10px 16px;
  font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-soft); cursor: pointer; transition: all .14s;
}
.brand-chip:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; position: relative; }
.step-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--accent); line-height: 1; display: block; margin-bottom: 6px; }
.step h3 { margin: 0 0 7px; font-size: 1.05rem; letter-spacing: .03em; }
.step p { margin: 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }

/* ---- Why ---- */
.why-feature {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start;
  background: var(--navy); color: #e8edf2; border-radius: 12px; padding: 30px 32px; margin-bottom: 22px;
}
.why-feature h3 { margin: 0 0 12px; font-size: 1.4rem; color: #fff; letter-spacing: .02em; }
.why-feature p { margin: 0 0 12px; font-size: .93rem; line-height: 1.6; color: #c3cfda; }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.why-list li { font-size: .87rem; color: #c3cfda; padding-left: 22px; position: relative; }
.why-list li::before { content: '✓'; position: absolute; left: 0; color: #35d06a; font-weight: 800; }
.why-list strong { color: #fff; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: var(--shadow-sm); }
.why-ico { font-size: 1.5rem; display: block; margin-bottom: 9px; }
.why-card h4 { margin: 0 0 7px; font-size: .92rem; font-weight: 800; letter-spacing: .05em; color: var(--ink); }
.why-card p { margin: 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.55; }
.why-card em { font-style: normal; font-weight: 700; color: var(--success); }

/* ---- Reviews ---- */
.rating-row { display: flex; align-items: center; gap: 18px; justify-content: center; margin-bottom: 26px; }
.rating-score { display: flex; align-items: baseline; gap: 4px; }
.rating-score strong { font-family: 'Barlow Condensed', sans-serif; font-size: 3.2rem; line-height: 1; color: var(--ink); }
.rating-score span { font-size: 1rem; color: var(--muted); }
.rating-meta .stars { color: #f0a500; font-size: 1.15rem; letter-spacing: .08em; }
.rating-meta span { font-size: .82rem; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: var(--shadow-sm); }
.review .stars { color: #f0a500; font-size: .9rem; letter-spacing: .06em; margin-bottom: 9px; }
.review p { margin: 0 0 14px; font-size: .89rem; color: var(--ink-soft); line-height: 1.6; font-style: italic; }
.review-by { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; }
.review-by strong { color: var(--ink); }
.review-tag { font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: #eaf5ee; color: var(--success); padding: 3px 8px; border-radius: 4px; }

/* ---- Toolbar ---- */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 24px 0 18px; flex-wrap: wrap;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 7px 15px; border-radius: 7px; font-size: .87rem; font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--navy); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.sort, .toggle { font-size: .88rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.sort select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.toggle input { width: 16px; height: 16px; accent-color: var(--success); cursor: pointer; }
.toggle span { font-weight: 600; color: var(--ink-soft); }

/* ---- Grid & cards ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; padding-bottom: 40px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer;
  display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* 4:3, matching the photographs. At 16:10 the cover was cropped by about a
   sixth top and bottom, which on a machine photographed to fill the frame took
   the boom off the top and the tracks off the bottom. Matching the source
   aspect means the whole machine survives the crop, because there isn't one. */
.card-media { position: relative; aspect-ratio: 4/3; background: #e6e8ea; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-badges { position: absolute; top: 9px; left: 9px; display: flex; gap: 5px; flex-wrap: wrap; max-width: 78%; }
.badge {
  font-size: .68rem; font-weight: 800; padding: 4px 8px; border-radius: 4px;
  color: #fff; letter-spacing: .04em; text-transform: uppercase; box-shadow: var(--shadow-sm);
}
.badge-noreserve { background: var(--success); }
.badge-hot { background: linear-gradient(135deg, #ef6b1f, #cf3417); }
.badge-soon { background: var(--danger); }
.badge-ended { background: #5b636c; }
.badge-sold { background: var(--success); }
.badge-inspect { background: #1f5f9c; }
.watch-btn {
  position: absolute; top: 9px; right: 9px; width: 34px; height: 34px; border-radius: 6px;
  border: none; background: rgba(255,255,255,.93); cursor: pointer; font-size: .95rem;
  box-shadow: var(--shadow-sm); transition: transform .1s;
}
.watch-btn:hover { transform: scale(1.09); }
.card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-cat { font-size: .69rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; }
.card-title { font-size: 1rem; font-weight: 600; line-height: 1.28; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-specs { font-size: .8rem; color: var(--ink-soft); display: flex; gap: 10px; flex-wrap: wrap; }
.card-specs span { display: inline-flex; align-items: center; gap: 4px; }
.card-price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.card-price .label { font-size: .7rem; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.card-price .amount { font-size: 1.6rem; font-weight: 700; line-height: 1.05; }
.card-bids { font-size: .8rem; color: var(--ink-soft); text-align: right; }
.reserve-tag { font-size: .72rem; font-weight: 700; display: block; margin-top: 2px; }
.reserve-tag.met { color: var(--success); }
.reserve-tag.not-met { color: var(--muted); }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: .79rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 9px; }
.countdown { font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown.urgent { color: var(--danger); }

.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.setup-notice {
  grid-column: 1 / -1; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.setup-notice h3 { margin: 0 0 8px; font-size: 1.25rem; }
.setup-notice p { margin: 0 0 8px; font-size: .92rem; }
.setup-notice code { background: #f1f2f3; padding: 2px 6px; border-radius: 4px; font-size: .88em; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); background: #fff; margin-top: 20px; }
.site-footer .wrap { padding: 26px 20px; }
.site-footer p { margin: 2px 0; font-size: .89rem; }

/* ---- Modals ---- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,14,19,.6); backdrop-filter: blur(2px); animation: fade .2s ease; }
.modal-card {
  position: relative; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto; padding: 28px;
  animation: pop .18s ease;
}
.modal-sm { max-width: 420px; }
.detail-card { max-width: 1000px; padding: 0; }
.modal-close {
  position: absolute; top: 13px; right: 13px; z-index: 3; width: 34px; height: 34px; border-radius: 7px;
  border: none; background: rgba(255,255,255,.92); cursor: pointer; font-size: 1rem; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.modal-close:hover { background: #e9ebec; }
.modal-title { font-size: 1.55rem; margin: 0 0 6px; }
.modal-sub { color: var(--muted); margin: 0 0 20px; font-size: .93rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }

/* ---- Forms ---- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(29,37,48,.11); }

/* ---- Detail view ---- */
.detail-body { display: grid; grid-template-columns: 1.05fr 1fr; }
.detail-media { background: #e6e8ea; position: relative; }
.detail-media img { width: 100%; height: 100%; max-height: 92vh; object-fit: cover; display: block; }
.detail-media .card-badges { top: 14px; left: 14px; }
.detail-info { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.detail-cat { font-size: .71rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; }
.detail-info h2 { font-size: 1.85rem; margin: 0; line-height: 1.1; }
.detail-seller { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-soft); flex-wrap: wrap; }
.verified { color: var(--success); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.pill { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: #eef0f2; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.detail-desc { font-size: .91rem; color: var(--ink-soft); margin: 0; }

/* Spec table — the core trust artifact for a vehicle listing */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.specs div { background: #fff; padding: 9px 11px; }
.specs dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin: 0 0 2px; }
.specs dd { margin: 0; font-size: .88rem; font-weight: 600; color: var(--ink); }

/* Click-to-reveal VIN. The button is swapped for the number in place, so the
   row must not change height when it flips — hence the matching line-height. */
.vin-cell { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 1.35rem; }
.vin-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 700; line-height: 1.35rem;
  color: var(--accent); background: none; border: 0; padding: 0;
  border-bottom: 1px dashed currentColor;
}
.vin-btn:hover { color: var(--ink); }
.vin-btn:disabled { cursor: default; opacity: .55; }
.vin-btn .ico { font-size: .95rem; }
.vin-btn.is-loading { color: var(--muted); border-bottom-color: transparent; }
.vin-value { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84rem; letter-spacing: .04em; line-height: 1.35rem; }
.vin-err { font-size: .75rem; font-weight: 600; color: var(--danger, #b4232a); }

.price-box { background: #fff; border: 2px solid var(--navy); border-radius: 10px; padding: 15px; }
.price-box .cur-label { font-size: .71rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.price-box .cur-amount { font-size: 2.4rem; font-weight: 700; line-height: 1; margin: 3px 0 7px; }
.price-box .sub-line { font-size: .84rem; color: var(--ink-soft); display: flex; gap: 14px; flex-wrap: wrap; }
.reserve-line { margin-top: 9px; font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.reserve-line.met { color: var(--success); }
.reserve-line.not-met { color: var(--accent-ink); }
.buynow-line { margin-top: 7px; font-size: .84rem; color: var(--success); font-weight: 700; }
.lead-line { margin-top: 7px; font-size: .84rem; color: var(--success); font-weight: 700; }

.countdown-big { font-size: 1.12rem; font-weight: 700; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.countdown-big.urgent { color: var(--danger); }

.quick-bids { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-bids .btn { flex: 1; min-width: 105px; font-size: .93rem; }
.custom-bid { display: flex; gap: 8px; }
.custom-bid input { flex: 1; padding: 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }
.detail-actions { display: flex; flex-direction: column; gap: 10px; }
.bid-error { color: var(--danger); font-size: .85rem; margin: 0; }

/* Proxy bidding + anti-snipe */
.yourmax { font-size: .85rem; background: #eef4fa; border: 1px solid #cfe0ef; color: #17456f; padding: 9px 12px; border-radius: 7px; }
.proxy-note { font-size: .79rem; color: var(--ink-soft); background: var(--bg); border: 1px solid var(--line); padding: 9px 11px; border-radius: 7px; margin: 0; line-height: 1.45; }
.ext-note { font-size: .82rem; font-weight: 700; color: var(--accent-ink); }
.ext-live {
  font-size: .84rem; font-weight: 700; color: #fff; background: var(--danger);
  padding: 9px 12px; border-radius: 7px; animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .78; } }
.auto-tag {
  font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  background: #e6eaee; color: #5c6773; padding: 1px 5px; border-radius: 3px; margin-left: 6px;
}
.badge-ext { background: var(--accent-ink); }

.bid-history { border-top: 1px solid var(--line); padding-top: 12px; }
.bid-history h3 { font-size: .93rem; margin: 0 0 8px; }
.bid-list { list-style: none; margin: 0; padding: 0; max-height: 145px; overflow-y: auto; font-size: .86rem; }
.bid-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f1f2f3; }
.bid-list .bidder { color: var(--ink-soft); }
.bid-list .amt { font-weight: 700; }
.bid-list .lead { color: var(--success); }
.protection-note { font-size: .79rem; color: var(--muted); display: flex; align-items: flex-start; gap: 6px; margin: 0; line-height: 1.45; }

/* ---- Icon system ----
   One stroke-based sprite, sized by the parent's font-size and inheriting
   currentColor, so icons stay optically consistent everywhere they appear. */
.ico {
  width: 1em; height: 1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; /* Tabler's design weight */
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.14em;
}
.topbar .ico { font-size: .95rem; vertical-align: -0.18em; opacity: .75; }
/* Icons sit at roughly 60% of their tile — below that they read as lost. */
.hg-ico .ico { font-size: 1.6rem; }
.seal-ico .ico { font-size: 1.2rem; }
.assure-ico .ico { font-size: 1.05rem; }
.why-ico .ico { font-size: 1.45rem; }
.promise-shield .ico { font-size: 1.6rem; }
.promise-foot .ico { font-size: 1rem; }
.btn .ico { font-size: 1rem; }
.card-specs .ico { font-size: .95rem; opacity: .6; }
.card-meta .ico { font-size: .95rem; opacity: .65; }
.countdown .ico { font-size: .95rem; }
.countdown-big .ico { font-size: 1.1rem; }
.detail-seller .ico, .buynow-line .ico, .yourmax .ico, .ext-note .ico, .ext-live .ico,
.proxy-note .ico, .protection-note .ico, .sub-line .ico { font-size: 1rem; }
.demo-flag .ico, .rv-warn .ico { font-size: 1rem; vertical-align: -0.16em; }

/* ---- Lot-detail rating + assurances ---- */
.detail-rating {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 12px; font-size: .83rem; color: var(--ink-soft);
}
.detail-rating .stars { color: #f5a623; letter-spacing: .05em; }
.detail-rating strong { color: var(--ink); font-size: .95rem; }
.detail-rating .go { margin-left: auto; font-weight: 700; color: var(--accent-ink); font-size: .78rem; }
.detail-rating:hover { border-color: var(--accent); }

.assure {
  border: 1px solid #cfe6d8; background: var(--success-soft);
  border-radius: var(--radius-sm); padding: 4px 14px; display: flex; flex-direction: column;
}
.assure-row { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid rgba(18,120,74,.13); }
.assure-row:last-child { border-bottom: none; }
.assure-ico { line-height: 1; flex-shrink: 0; color: #12784a; display: flex; padding-top: 1px; }
.assure-row.is-off .assure-ico { color: var(--accent-ink); }
.assure-row b { display: block; font-size: .84rem; color: #0d5c39; margin-bottom: 2px; }
.assure-row span { display: block; font-size: .79rem; line-height: 1.5; color: #3d5a4c; }
.assure-row.is-off { }
.assure-row.is-off b { color: var(--accent-ink); }
.assure-row.is-off span { color: #6b5a45; }

.footlinks { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px !important; }
.footlinks a { font-weight: 600; font-size: .88rem; color: var(--ink); }
.footlinks a:hover { color: var(--accent-ink); }

/* ---- Main nav ---- */
.mainnav { display: flex; gap: 20px; align-items: center; }
.mainnav a { font-size: .9rem; font-weight: 600; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover { color: var(--ink); }
.mainnav a.active { color: var(--ink); border-bottom-color: var(--accent); }

/* ---- Reviews page ---- */
.rv-hero { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e8eef4; padding: 44px 0 38px; }
.rv-summary { display: grid; grid-template-columns: 300px 1fr 260px; gap: 36px; align-items: start; }
.rv-score .stars.big { color: #f5a623; font-size: 1.7rem; letter-spacing: .1em; }
.rv-num { font-family: 'Barlow Condensed', sans-serif; font-size: 4.6rem; font-weight: 700; line-height: .95; color: #fff; }
.rv-score p { margin: 2px 0 12px; color: #b3c1cf; font-size: .95rem; }
.rv-score p strong { color: #fff; }
.rv-badge { display: inline-block; font-size: .74rem; font-weight: 700; color: #7ee0a4; background: rgba(53,208,106,.13); border: 1px solid rgba(53,208,106,.32); padding: 5px 11px; border-radius: 999px; }

.rv-dist { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.dist-row { display: grid; grid-template-columns: 34px 1fr 58px 52px; align-items: center; gap: 12px; font-size: .84rem; color: #b3c1cf; }
.dist-star { font-weight: 700; color: #dbe4ec; }
.dist-bar { background: rgba(255,255,255,.12); height: 9px; border-radius: 999px; overflow: hidden; }
.dist-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #f5a623); border-radius: 999px; }
.dist-n { text-align: right; font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; }
.dist-pct { text-align: right; font-variant-numeric: tabular-nums; }

.rv-sources { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 18px; }
.rv-sources h3 { margin: 0 0 12px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #93a3b3; font-weight: 800; }
.rv-src { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .87rem; }
.rv-src span { color: #c6d2de; }
.rv-src b { color: #fff; font-size: 1.05rem; }
.rv-src i { font-style: normal; color: #8b9bab; font-size: .78rem; min-width: 34px; text-align: right; }
.rv-srcnote { margin: 11px 0 0; font-size: .75rem; color: #8b9bab; }

.rv-warn { margin: 26px 0 0; font-size: .82rem; line-height: 1.6; color: #8f2118; background: rgba(200,16,46,.09); border: 1px solid rgba(200,16,46,.3); border-radius: 9px; padding: 12px 15px; }
.rv-warn strong { color: var(--accent-ink); }

.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .14s;
}
.topic-chip b { color: var(--accent-ink); margin-left: 4px; }
.topic-chip:hover { border-color: var(--navy); }
.topic-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.topic-chip.active b { color: var(--accent); }

.rv-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.rv-showing { font-size: .84rem; color: var(--muted); margin: 0 0 16px; }
.rv-more { text-align: center; padding: 26px 0 0; }

.reviews.featured .review { border-left: 3px solid var(--accent); }
.review { position: relative; }
.rv-pin {
  position: absolute; top: -9px; right: 14px; font-size: .62rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; background: var(--accent);
  color: #17110a; padding: 3px 9px; border-radius: 4px;
}
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.rv-head .stars { color: #f5a623; letter-spacing: .06em; font-size: .95rem; }
.rv-date { font-size: .76rem; color: var(--muted); }
.rv-title { margin: 0 0 8px; font-size: 1.02rem; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--ink); }
.review p { font-style: normal; }
.rv-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rv-tag { font-size: .68rem; font-weight: 700; background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft); padding: 3px 8px; border-radius: 4px; }
.rv-helpful { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line-soft); font-size: .76rem; color: var(--muted); }

@media (max-width: 1000px) {
  .rv-summary { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .mainnav { order: 4; flex-basis: 100%; }
  .rv-num { font-size: 3.4rem; }
}

/* ---- Simple page hero (FAQ) ---- */
.page-hero { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e8eef4; padding: 46px 0 40px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 12px; line-height: 1.06; color: #fff; }
.page-hero p { margin: 0; color: #b3c1cf; font-size: 1.02rem; max-width: 680px; line-height: 1.6; }
.faq-search { margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.faq-search input {
  flex: 1; min-width: 260px; max-width: 560px; font: inherit; padding: 13px 16px;
  border-radius: 9px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.07); color: #fff;
}
.faq-search input::placeholder { color: #8fa0b1; }
.faq-search input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.11); }
.faq-count { font-size: .82rem; color: #93a3b3; font-variant-numeric: tabular-nums; }

.faq-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.faq-stats > div { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.faq-stats .ico { font-size: 1.5rem; color: var(--accent-ink); flex-shrink: 0; }
.faq-stats b { display: block; font-size: .95rem; color: var(--ink); }
.faq-stats span { display: block; font-size: .82rem; color: var(--muted); }

/* ---- FAQ accordions (native <details>, works without JS) ---- */
.faq-group { margin-bottom: 34px; }
.faq-group > h2 {
  font-size: 1.35rem; margin: 0 0 12px; padding-bottom: 9px;
  border-bottom: 2px solid var(--line);
}
.faq-group details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 9px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-group details[open] { border-color: #d3d8dd; box-shadow: var(--shadow-md); }
.faq-group summary {
  cursor: pointer; list-style: none; padding: 15px 46px 15px 17px; position: relative;
  font-weight: 600; font-size: .97rem; color: var(--ink); line-height: 1.45;
}
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after {
  content: ''; position: absolute; right: 18px; top: 21px;
  width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq-group details[open] summary::after { transform: rotate(-135deg); top: 24px; }
.faq-group summary:hover { color: var(--accent-ink); }
.faq-group details > div { padding: 0 17px 16px; }
.faq-group details p { margin: 0 0 10px; font-size: .92rem; line-height: 1.65; color: var(--ink-soft); }
.faq-group details p:last-child { margin-bottom: 0; }
.faq-group details em { font-style: normal; font-weight: 700; color: var(--success); }

.faq-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--navy); color: #e8eef4; border-radius: 14px; padding: 28px 32px; margin-top: 12px;
}
.faq-cta h3 { margin: 0 0 6px; font-size: 1.45rem; color: #fff; }
.faq-cta p { margin: 0; color: #aebccb; font-size: .95rem; max-width: 520px; }
.faq-cta-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.faq-hours { font-size: .78rem; color: #8b99a8; }

/* ---- About page ---- */
.about-hero {
  background:
    linear-gradient(100deg, rgba(11,16,22,.95) 40%, rgba(11,16,22,.7)),
    url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1600&q=70') center/cover;
  color: #fff; padding: 66px 0 58px;
}
.about-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0 0 14px; line-height: 1.05; }
.about-hero p { margin: 0; font-size: 1.08rem; color: #c3d0dc; max-width: 620px; line-height: 1.6; }

.story { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.story-body h2 { font-size: 1.6rem; margin: 0 0 12px; }
.story-body h2 + p { margin-top: 0; }
.story-body h2:not(:first-child) { margin-top: 30px; }
.story-body p { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); margin: 0 0 14px; }
.story-body strong { color: var(--ink); }
.story-body em { font-style: italic; }

.fact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.fact-card.quiet { background: var(--bg); box-shadow: none; }
.fact-card h3 { margin: 0 0 14px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.facts { margin: 0; }
.facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: .88rem; }
.facts > div:last-child { border-bottom: none; }
.facts dt { color: var(--muted); margin: 0; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.fact-card address { font-style: normal; font-size: .92rem; line-height: 1.7; color: var(--ink-soft); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); padding: 20px 22px; }
.timeline li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.timeline li:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.tl-year { font-family: 'Barlow Condensed', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--accent); line-height: 1; }
.timeline h3 { margin: 0 0 5px; font-size: 1.02rem; }
.timeline p { margin: 0; font-size: .91rem; line-height: 1.6; color: var(--ink-soft); }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.avatar {
  width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem; font-weight: 700; letter-spacing: .04em;
  background: var(--navy); color: #fff;
}
.member h3 { margin: 0 0 3px; font-size: 1.02rem; }
.member > span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-ink); font-weight: 700; margin-bottom: 9px; }
.member p { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--ink-soft); }

.refusals { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.refusal { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 18px; }
.refusal .ico { font-size: 1.15rem; color: var(--accent-ink); flex-shrink: 0; margin-top: 1px; }
.refusal p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); }

.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 30px 32px; }
.about-cta h2 { margin: 0 0 6px; font-size: 1.6rem; }
.about-cta p { margin: 0; color: var(--ink-soft); max-width: 560px; font-size: .96rem; line-height: 1.6; }
.about-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 26px; }
  .timeline li { grid-template-columns: 68px 1fr; gap: 14px; }
}

/* ---- Signup prompt (bottom-right corner card) ---- */
.signup-toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: min(370px, calc(100vw - 32px));
  /* Starts offset and transparent; .is-in slides it into place. */
  transform: translateY(14px) scale(.98); opacity: 0;
  transition: transform .24s cubic-bezier(.22,.9,.3,1), opacity .24s ease;
}
.signup-toast[hidden] { display: none; }
.signup-toast.is-in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .signup-toast { transition: opacity .2s ease; transform: none; }
}
.signup-card {
  position: relative; padding: 22px 22px 20px;
  background: linear-gradient(168deg, #1b2431 0%, #10161e 100%);
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  box-shadow: var(--shadow-xl); color: #e6edf4; overflow: hidden;
}
.signup-sheen {
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #ffffff 48%, var(--navy-mid));
}
.signup-x {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #b9c6d3;
}
.signup-x:hover { background: rgba(255,255,255,.16); color: #fff; }
.signup-x .ico { font-size: .9rem; }
.signup-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 30px; }
.signup-ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-ink));
  color: #fff; box-shadow: 0 6px 18px rgba(200,16,46,.35);
}
.signup-ico .ico { font-size: 1.35rem; }
.signup-head h2 { margin: 0 0 5px; font-size: 1.25rem; color: #fff; letter-spacing: .02em; line-height: 1; }
.signup-badge {
  display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .09em;
  color: #7ee0a4; background: rgba(53,208,106,.14); border: 1px solid rgba(53,208,106,.34);
  padding: 4px 9px; border-radius: 5px;
}
.signup-copy { margin: 0 0 13px; font-size: .86rem; line-height: 1.55; color: #b4c2d0; }
.signup-points { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.signup-points li { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: #cbd6e2; }
.signup-points .ico { font-size: 1rem; color: #7ee0a4; flex-shrink: 0; }
.signup-cta {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px; border-radius: 10px; font-weight: 700; font-size: .98rem;
  background: linear-gradient(100deg, var(--accent), #e0344a);
  color: #fff; box-shadow: 0 8px 22px rgba(200,16,46,.32); transition: transform .1s, box-shadow .15s;
}
.signup-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(200,16,46,.42); }
.signup-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.signup-cta .ico { font-size: 1.1rem; }
.signup-alt { margin: 11px 0 0; text-align: center; font-size: .8rem; color: #8b9bab; }
.signup-alt a { color: #ff9aa5; font-weight: 600; }
.signup-alt a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  /* Full-width sheet on phones, clear of the toast stack. */
  .signup-toast { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .signup-points { display: none; }
}

/* ---- Register page ---- */
.reg { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: start; }
.reg-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: var(--shadow-md); }
.reg-form h1 { margin: 0 0 6px; font-size: 2rem; }
.reg-sub { margin: 0 0 26px; color: var(--muted); font-size: .95rem; }
.reg-sub a { color: var(--accent-ink); font-weight: 600; }

.seg { border: none; padding: 0; margin: 0 0 20px; }
.seg legend { padding: 0; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 9px; }
.seg-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span {
  display: block; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; transition: all .14s;
}
.seg-opt b { display: block; font-size: .93rem; color: var(--ink); }
.seg-opt small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.seg-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(200,16,46,.12); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.field { margin-bottom: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.field input {
  width: 100%; font: inherit; padding: 12px 13px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,42,74,.1); }
.field input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(138,28,20,.1); }
.hint-sm { margin: 6px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.err { margin: 6px 0 0; font-size: .78rem; color: var(--danger); font-weight: 600; }
.err:empty { display: none; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 62px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font: inherit; font-size: .78rem; font-weight: 700;
  color: var(--accent-ink); cursor: pointer; padding: 6px 8px;
}
.pw-meter { height: 4px; background: var(--line); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .2s, background .2s; }
.pw-meter i[data-level="low"] { background: var(--danger); }
.pw-meter i[data-level="mid"] { background: #d99a1e; }
.pw-meter i[data-level="high"] { background: var(--success); }

.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 6px; }
.check-line input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.check-line a { color: var(--accent-ink); font-weight: 600; }
.reg-foot { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.reg-foot .ico { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.reg-done { text-align: center; padding: 20px 0; }
.reg-done-ico { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--success-soft); color: var(--success); margin-bottom: 14px; }
.reg-done-ico .ico { font-size: 1.9rem; }
.reg-done h2 { margin: 0 0 8px; font-size: 1.5rem; }
.reg-done p { margin: 0 auto 20px; max-width: 420px; color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }

.reg-side { display: flex; flex-direction: column; gap: 16px; }
.reg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.reg-card.quiet { background: var(--bg); box-shadow: none; }
.reg-card h2 { margin: 0 0 15px; font-size: 1.05rem; }
.reg-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.reg-benefits li { display: flex; gap: 11px; }
.reg-benefits .ico { font-size: 1.15rem; color: var(--accent-ink); flex-shrink: 0; margin-top: 1px; }
.reg-benefits b { display: block; font-size: .88rem; color: var(--ink); }
.reg-benefits span { display: block; font-size: .81rem; color: var(--ink-soft); line-height: 1.5; }
.reg-seals { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.reg-seals span { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.reg-seals .ico { font-size: 1.05rem; color: var(--success); }
.reg-rating { margin: 0; padding-top: 13px; border-top: 1px solid var(--line); font-size: .88rem; }
.reg-rating a { color: var(--ink-soft); }
.reg-rating strong { color: var(--ink); }
.reg-rating a:hover { color: var(--accent-ink); }
.reg-help { margin: 0 0 13px; font-size: .86rem; color: var(--ink-soft); line-height: 1.55; }
.reg-hours { margin: 9px 0 0; font-size: .76rem; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .reg { grid-template-columns: 1fr; }
  .reg-form { padding: 24px 20px; }
  .field-row, .seg-options { grid-template-columns: 1fr; }
}

/* ---- Toasts ---- */
.toasts { position: fixed; top: 18px; right: 18px; z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
/* The signup card occupies this corner; stack toasts above it rather than on it. */
.toast {
  background: var(--navy-deep); color: #fff; padding: 13px 18px; border-radius: 9px;
  box-shadow: var(--shadow-lg); font-size: .89rem; max-width: 340px; animation: slidein .25s ease;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warn { background: var(--accent-ink); }
@keyframes slidein { from { opacity: 0; transform: translateX(30px); } }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .detail-body { grid-template-columns: 1fr; }
  .detail-media img { max-height: 280px; }
}
@media (max-width: 1000px) {
  .findbar-grid { grid-template-columns: 1fr 1fr 1fr; }
  .findbar-grid .btn { grid-column: 1 / -1; }
  .why-feature { grid-template-columns: 1fr; }
  .estimator { grid-template-columns: 1fr; }
  .presence { grid-template-columns: 1fr; }
  .seals-wrap { margin-top: 22px; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; }
  .specs { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .findbar-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1; }
  .section { padding: 34px 0; }
  .section-head h2 { font-size: 1.5rem; }
  .topbar-inner .right { display: none; }
  .promise { padding: 26px 20px; }
  .promise-head h2 { font-size: 1.45rem; }
  .seals { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Account setup flow — /complete-profile, /kyc, /dashboard
   ========================================================================== */

/* Progress across the three post-registration steps. */
.stepper { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; }
.stepper li { display: flex; align-items: center; gap: 9px; flex: 1 1 170px; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--muted); }
.stepper .step-n { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--line); color: var(--ink-soft); font-size: .76rem; font-weight: 700; flex-shrink: 0; }
.stepper .step-n .ico { font-size: .85rem; }
.stepper li.done { color: var(--success); background: var(--success-soft); border-color: rgba(18,120,74,.2); }
.stepper li.done .step-n { background: var(--success); color: #fff; }
.stepper li.current { color: var(--ink); background: #fff; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.stepper li.current .step-n { background: var(--accent); color: #fff; }

.rv-warn.danger { color: #6f1610; background: rgba(138,28,20,.10); border-color: rgba(138,28,20,.32); }
.rv-warn.danger strong { color: #58110c; }

/* --- Profile step ------------------------------------------------------- */
.setup { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,.9fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .setup { grid-template-columns: 1fr; } }
.setup-main h1 { margin: 0 0 6px; font-size: 2rem; }
.setup-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.setup-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line-soft); }
.setup-head h2 { margin: 0; font-size: 1.05rem; }
.setup-head span { font-size: .82rem; color: var(--muted); }
.setup-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; flex-shrink: 0; }
.setup-ico .ico { font-size: 1.25rem; }
.setup-ico.lg { width: 48px; height: 48px; margin-bottom: 14px; }
.field .req { color: var(--accent); font-style: normal; }
.field select { width: 100%; padding: 11px 12px; font: inherit; font-size: .93rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,42,74,.1); }
.field select.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(138,28,20,.1); }
.setup-skip { margin: 14px 0 0; text-align: center; font-size: .83rem; color: var(--muted); }

.setup-side { display: grid; gap: 16px; }
.setup-assure { background: var(--navy); color: #cfd9e3; border-radius: var(--radius); padding: 22px; }
.setup-assure h2 { margin: 0 0 8px; font-size: 1.05rem; color: #fff; }
.setup-assure p { margin: 0 0 15px; font-size: .86rem; line-height: 1.6; }
.setup-seals { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 9px; }
.setup-seals li { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 600; color: #e6edf4; }
.setup-seals .ico { font-size: 1rem; color: var(--accent); flex-shrink: 0; }
.setup-note { margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: #8b99a8; line-height: 1.5; }

.reg-next { font-size: .88rem; }
.reg-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --- Verification step -------------------------------------------------- */
.kyc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 34px; max-width: 1000px; margin: 0 auto; }
.kyc-hero { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.kyc-hero h1 { margin: 0 0 10px; font-size: 1.9rem; }
.kyc-hero p { margin: 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.65; }
.kyc-shield { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 16px; background: var(--accent); color: #fff; margin-bottom: 16px; }
.kyc-shield .ico { font-size: 1.9rem; }
.kyc-shield.ok { background: var(--success); }
.kyc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .kyc-grid { grid-template-columns: 1fr; } .kyc-card { padding: 22px; } }
.kyc-col { display: grid; gap: 14px; align-content: start; }
.kyc-req { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.kyc-req h2 { margin: 0 0 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.kyc-req ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kyc-req li { display: flex; gap: 10px; font-size: .86rem; line-height: 1.5; color: var(--ink-soft); }
.kyc-req .ico { font-size: 1rem; color: var(--success); flex-shrink: 0; margin-top: 2px; }

.kyc-drop { display: grid; place-items: center; gap: 5px; text-align: center; padding: 34px 20px; cursor: pointer; border: 2px dashed var(--line); border-radius: var(--radius-sm); background: var(--bg); transition: border-color .15s, background .15s; }
.kyc-drop:hover, .kyc-drop:focus-visible, .kyc-drop.dragging { border-color: var(--accent); background: var(--accent-soft); outline: none; }
.kyc-drop.has-file { border-style: solid; border-color: var(--success); background: var(--success-soft); }
.kyc-drop b { font-size: .84rem; letter-spacing: .03em; color: var(--ink); }
.kyc-drop-sub { font-size: .76rem; color: var(--muted); }
.kyc-drop-ico { color: var(--muted); }
.kyc-drop-ico .ico { font-size: 1.7rem; }
.kyc-picked { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.kyc-file-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--success-soft); color: var(--success); flex-shrink: 0; }
.kyc-file-meta { flex: 1; min-width: 0; }
.kyc-file-meta b { display: block; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kyc-file-meta span { font-size: .76rem; color: var(--muted); }
.kyc-file-x { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; color: var(--danger); }

.kyc-note { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.kyc-note.accent { background: var(--accent-soft); border-color: rgba(200,16,46,.3); }
.kyc-note-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--bg); color: var(--accent); flex-shrink: 0; }
.kyc-note.accent .kyc-note-ico { background: #fff; }
.kyc-note b { display: block; font-size: .88rem; margin-bottom: 4px; }
.kyc-note p { margin: 0; font-size: .82rem; line-height: 1.55; color: var(--ink-soft); }
.kyc-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
@media (max-width: 520px) { .kyc-actions { flex-direction: column-reverse; } .kyc-actions .btn { width: 100%; } }
.kyc-done { text-align: center; padding: 20px 0; }
.kyc-done h1 { margin: 0 0 10px; font-size: 1.7rem; }
.kyc-done p { margin: 0 auto 22px; max-width: 520px; color: var(--ink-soft); font-size: .92rem; line-height: 1.65; }
.kyc-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --- Dashboard ---------------------------------------------------------- */
.dash { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 24px; align-items: start; }
@media (max-width: 880px) { .dash { grid-template-columns: 1fr; } }
.dash-side { display: grid; gap: 14px; }
.dash-user { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.dash-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem; }
.dash-user b { display: block; font-size: .95rem; }
.dash-user > div > span { font-size: .78rem; color: var(--muted); }
.dash-role { grid-column: 1 / -1; justify-self: start; font-size: .66rem; font-weight: 700; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; background: var(--bg); color: var(--muted); }
.dash-nav { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 15px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-left: 3px solid transparent; }
.dash-nav a + a { border-top: 1px solid var(--line-soft); }
.dash-nav a .ico { font-size: 1.05rem; color: var(--muted); }
.dash-nav a:hover { background: var(--bg); }
.dash-nav a.active { background: var(--accent-soft); color: var(--accent-ink); border-left-color: var(--accent); }
.dash-nav a.active .ico { color: var(--accent); }
.dash-help { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.dash-help b { display: block; font-size: .88rem; margin-bottom: 3px; }
.dash-help p { margin: 0 0 11px; font-size: .78rem; color: var(--muted); }

.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-head h1 { margin: 0 0 4px; font-size: 2rem; }
.dash-head p { margin: 0; font-size: .9rem; color: var(--muted); }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 700px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 17px 18px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 2.1rem; line-height: 1; color: var(--ink); }
.stat span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.stat.accent { background: var(--accent); border-color: var(--accent); }
.stat.accent b, .stat.accent span { color: #fff; }
.stat.dark { background: var(--navy); border-color: var(--navy); }
.stat.dark b { color: var(--accent); }
.stat.dark span { color: #8b99a8; }

.dash-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 17px 20px; border-bottom: 1px solid var(--line-soft); }
.panel-head h2 { margin: 0; font-size: 1.05rem; }
.seg-tabs { display: flex; gap: 2px; background: var(--bg); border-radius: 7px; padding: 3px; }
.seg-tabs button { border: 0; background: none; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 6px 11px; border-radius: 5px; }
.seg-tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.bid-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 16px; align-items: center; padding: 15px 20px; }
.bid-row + .bid-row { border-top: 1px solid var(--line-soft); }
@media (max-width: 620px) { .bid-row { grid-template-columns: 1fr auto; } .bid-row .bid-status { grid-column: 1 / -1; justify-self: start; } }
.bid-cat { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 3px; }
.bid-main b { display: block; font-size: .95rem; margin-bottom: 3px; }
.bid-meta { font-size: .78rem; color: var(--muted); }
.bid-price { text-align: right; }
.bid-price b { display: block; font-size: 1.05rem; }
.bid-price span { font-size: .74rem; color: var(--muted); }
.bid-status { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 5px 10px; border-radius: 5px; white-space: nowrap; }
.bid-status.winning { background: var(--success-soft); color: var(--success); }
.bid-status.outbid { background: #fdeceb; color: var(--danger); }
.bid-status.won { background: var(--accent); color: #fff; }
.bid-status.lost { background: var(--bg); color: var(--muted); }

.dash-empty { text-align: center; padding: 46px 24px; }
.dash-empty .empty-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg); color: var(--muted); margin-bottom: 14px; }
.dash-empty .empty-ico .ico { font-size: 1.5rem; }
.dash-empty b { display: block; font-size: 1rem; margin-bottom: 6px; }
.dash-empty p { margin: 0 auto 18px; max-width: 440px; font-size: .87rem; line-height: 1.6; color: var(--muted); }
.dash-loading { padding: 44px 24px; text-align: center; font-size: .87rem; color: var(--muted); }

.dash-settings { padding: 6px 20px 20px; }
.set-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: .88rem; }
.set-row span { color: var(--muted); }
.set-row b { text-align: right; word-break: break-word; }
.set-note { margin: 14px 0 16px; font-size: .78rem; color: var(--muted); line-height: 1.55; }
.set-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.danger { color: var(--danger); border-color: rgba(138,28,20,.4); }
.btn-sm { padding: 7px 13px; font-size: .78rem; }
/* Auth pages — sign in, email confirmation */
.auth-narrow { max-width: 460px; margin: 0 auto; }
.verify-note { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin: 0 auto 20px; max-width: 460px; }
.verify-note b { display: block; font-size: .9rem; margin-bottom: 5px; }
.verify-note p { margin: 0 0 12px; font-size: .82rem; line-height: 1.55; color: var(--ink-soft); }
.kyc-live { margin-top: 8px; }
.kyc-live .kyc-actions { margin-top: 18px; }
/* --- ID capture ---------------------------------------------------------- */
.kyc-progress { display: grid; gap: 7px; margin-top: 12px; }
.kyc-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.kyc-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.kyc-progress span { font-size: .78rem; color: var(--muted); }

.kyc-manual { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--bg); }
.kyc-manual summary { cursor: pointer; font-size: .83rem; font-weight: 700; color: var(--ink-soft); }
.kyc-manual p { margin: 10px 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.kyc-manual textarea { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); resize: vertical; margin-bottom: 9px; }
.kyc-manual .btn { margin-bottom: 7px; }

.kyc-extract { border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 20px; border: 1px solid var(--line); background: var(--bg); }
.kyc-extract.good { background: var(--success-soft); border-color: rgba(18,120,74,.3); }
.kyc-extract.ok { background: var(--accent-soft); border-color: rgba(200,16,46,.3); }
.kyc-extract b { display: block; font-size: .92rem; margin-bottom: 4px; }
.kyc-extract p { margin: 0; font-size: .83rem; color: var(--ink-soft); line-height: 1.55; }
.kyc-extract em { font-style: normal; font-weight: 600; }
.kyc-expired { color: var(--danger); font-weight: 600; margin-top: 8px !important; }

.kyc-checks { list-style: none; margin: 11px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 16px; }
.kyc-checks li { display: flex; align-items: center; gap: 6px; font-size: .79rem; font-weight: 600; color: var(--success); }
.kyc-checks .ico { font-size: .92rem; }
.kyc-checks.centred { justify-content: center; margin: 0 auto 18px; max-width: 560px; }

.kyc-card-out { max-width: 460px; margin: 0 auto 18px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 16px; background: var(--bg); }
.kyc-card-out .set-row:last-child { border-bottom: 0; }
.kyc-caveat { font-size: .78rem !important; color: var(--muted) !important; max-width: 560px; margin: 0 auto 22px !important; line-height: 1.55; }
/* --- Bidding gate -------------------------------------------------------- */
.gate-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--accent); color: #fff; margin: 0 auto 14px; }
.gate-ico .ico { font-size: 1.6rem; }
#gateModal .modal-title { text-align: center; margin-bottom: 8px; }
.gate-lead { margin: 0 0 18px; font-size: .87rem; line-height: 1.6; color: var(--ink-soft); text-align: center; }
.gate-steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: gate; display: grid; gap: 2px; }
.gate-steps li { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: var(--radius-sm); background: var(--bg); font-size: .87rem; font-weight: 600; }
.gate-steps li.done { color: var(--success); background: var(--success-soft); }
.gate-steps li.todo { color: var(--ink); }
.gate-steps li.todo a { color: var(--ink); text-decoration: none; }
.gate-steps li.todo a:hover { color: var(--accent); text-decoration: underline; }
.gate-tick { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; flex-shrink: 0; background: var(--line); color: #fff; }
.gate-steps li.done .gate-tick { background: var(--success); }
.gate-tick .ico { font-size: .78rem; }
.gate-foot { margin: 11px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
/* --- Purchase agreement -------------------------------------------------- */
.ag { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(320px,1fr); gap: 24px; align-items: start; }
@media (max-width: 940px) { .ag { grid-template-columns: 1fr; } }
.ag-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; }
.ag-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.ag-kicker { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 5px; }
.ag-head h1 { margin: 0; font-size: 1.55rem; line-height: 1.15; }
.ag-price { text-align: right; }
.ag-price span { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ag-price b { font-family: 'Barlow Condensed', sans-serif; font-size: 2.1rem; line-height: 1; color: var(--accent-ink); }

.ag-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 18px 0; }
@media (max-width: 560px) { .ag-parties { grid-template-columns: 1fr; } }
.ag-parties div { background: #fff; padding: 10px 12px; }
.ag-parties dt { font-size: .67rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.ag-parties dd { margin: 0; font-size: .86rem; font-weight: 600; }

.ag-terms { max-height: 420px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--bg); }
.ag-terms:focus { outline: 2px solid var(--navy); outline-offset: 2px; }
.ag-terms section + section { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ag-terms h3 { margin: 0 0 5px; font-size: .84rem; letter-spacing: .01em; }
.ag-terms p { margin: 0; font-size: .84rem; line-height: 1.65; color: var(--ink-soft); }
.ag-scrollhint { margin: 10px 0 0; font-size: .78rem; color: var(--accent-ink); font-weight: 600; text-align: center; }

/* Signature pad. touch-action:none so a finger draws rather than scrolling. */
.sigpad { position: relative; border: 2px dashed var(--line); border-radius: var(--radius-sm); background: #fff; height: 170px; overflow: hidden; }
.sigpad canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.sig-baseline { position: absolute; left: 22px; right: 22px; bottom: 46px; border-bottom: 1px solid var(--line); pointer-events: none; }
.sig-hint { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: .78rem; color: var(--muted); pointer-events: none; }
.sig-actions { display: flex; justify-content: space-between; align-items: center; margin: 9px 0 4px; }
.sig-status { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sig-status.ok { color: var(--success); }

.ag-foot { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.ag-foot .ico { flex-shrink: 0; margin-top: 1px; }
.ag-next { text-align: left; max-width: 520px; margin: 0 auto 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.ag-next b { display: block; font-size: .88rem; margin-bottom: 8px; }
.ag-next ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.ag-next li { font-size: .83rem; line-height: 1.55; color: var(--ink-soft); }.dash-note { margin: 0; padding: 15px 20px; border-top: 1px solid var(--line-soft); font-size: .8rem; line-height: 1.55; color: var(--muted); }
/* --- A lot the viewer owns. Nobody else's view of the lot changes. -------- */
.badge-yours { background: var(--success); color: #fff; }
.card-yours { outline: 2px solid var(--success); outline-offset: -2px; }
.card-yours .card-media img { filter: saturate(.85); }

.yours-panel { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: var(--success-soft); border: 1px solid rgba(18,120,74,.28); }
.yours-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--success); color: #fff; flex-shrink: 0; }
.yours-ico .ico { font-size: 1.25rem; }
.yours-panel b { display: block; font-size: 1rem; margin-bottom: 5px; color: var(--ink); }
.yours-panel p { margin: 0 0 13px; font-size: .86rem; line-height: 1.6; color: var(--ink-soft); }
.yours-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.mail-mode { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 4px 9px; }
.mail-mode.live { color: var(--success); background: var(--success-soft); border-color: rgba(21,115,71,.28); }
.mail-mode:empty { display: none; }

/* --- Notification bell and panel ----------------------------------------- */
.notify-host { position: relative; display: flex; align-items: center; }

.bell {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  color: var(--ink-soft); padding: 0;
}
.bell:hover { border-color: var(--navy); color: var(--navy); }
.bell .ico { font-size: 1.15rem; }
.bell.has-unread { color: var(--accent); border-color: rgba(200,16,46,.4); }
.bell-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: #fff;
  font-size: .66rem; font-weight: 700; line-height: 18px; text-align: center;
  border: 2px solid #fff; box-sizing: content-box;
}

.notif-panel {
  position: absolute; top: calc(100% + 10px); right: 0; width: 380px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: 300; overflow: hidden;
}
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px 12px; }
.notif-head h2 { margin: 0; font-size: 1.25rem; }
.notif-actions { display: flex; gap: 12px; }
.notif-actions button {
  border: 0; background: none; padding: 0; cursor: pointer; font: inherit;
  font-size: .76rem; font-weight: 700; color: var(--success);
}
.notif-actions button:last-child { color: var(--accent); }
.notif-actions button:hover { text-decoration: underline; }

.notif-list { max-height: 340px; overflow-y: auto; border-top: 1px solid var(--line-soft); }
.notif-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: start;
  padding: 13px 17px; text-decoration: none; color: inherit;
}
.notif-item + .notif-item { border-top: 1px solid var(--line-soft); }
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: var(--accent-soft); }
.notif-item.unread:hover { background: #fbe3e7; }
.notif-copy b { display: block; font-size: .88rem; margin-bottom: 2px; }
.notif-copy span { font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }
.notif-item time { font-size: .7rem; color: var(--muted); white-space: nowrap; }

.notif-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--success); margin-top: 4px; flex-shrink: 0; }
.notif-dot.warn { background: var(--accent); }

.notif-empty { margin: 0; padding: 30px 20px; text-align: center; font-size: .84rem; color: var(--muted); }
.notif-foot {
  display: block; padding: 13px; text-align: center; font-size: .82rem; font-weight: 700;
  color: var(--navy); text-decoration: none; border-top: 1px solid var(--line-soft); background: var(--bg);
}
.notif-foot:hover { color: var(--accent); }

/* The toast form of a notification, richer than the plain string toasts. */
.notif-toast { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: start; max-width: 380px; }
.notif-toast .notif-dot { background: #46d17f; }
.notif-toast .notif-dot.warn { background: #ff8b98; }
.notif-toast-body b { display: block; font-size: .9rem; margin-bottom: 2px; }
.notif-toast-body span { font-size: .82rem; line-height: 1.5; color: #c3d0de; }
.notif-toast-x {
  border: 0; background: none; color: #8b9bab; cursor: pointer; font-size: 1.1rem;
  line-height: 1; padding: 0 2px;
}
.notif-toast-x:hover { color: #fff; }

@media (max-width: 560px) {
  .notif-panel { position: fixed; top: 64px; right: 12px; left: 12px; width: auto; }
  .toasts { left: 12px; right: 12px; align-items: stretch; }
  .notif-toast { max-width: none; }
}

/* --- Delivery quote ------------------------------------------------------ */
.dq { border: 1px solid var(--line); border-radius: var(--radius); padding: 17px; background: var(--bg); }
.dq-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.dq-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #fff; flex-shrink: 0; }
.dq-ico .ico { font-size: 1.05rem; }
.dq-head b { display: block; font-size: .95rem; }
.dq-head span { font-size: .78rem; color: var(--muted); }

.dq-route { display: grid; gap: 9px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 11px; }
.dq-leg { display: flex; align-items: flex-start; gap: 10px; }
.dq-leg small { display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.dq-leg b { font-size: .85rem; }
.dq-pin { width: 11px; height: 11px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.dq-pin.from { background: var(--navy); }
.dq-pin.to { background: var(--accent); }

.dq-form { display: grid; grid-template-columns: 76px 1fr auto; gap: 8px; }
@media (max-width: 460px) { .dq-form { grid-template-columns: 76px 1fr; } .dq-form .btn { grid-column: 1 / -1; } }
.dq-form select, .dq-form input {
  padding: 10px 11px; font: inherit; font-size: .9rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); min-width: 0;
}
.dq-form select:focus, .dq-form input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,42,74,.1); }

.dq-out { margin-top: 12px; padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.dq-out.bad { border-color: rgba(138,28,20,.35); background: #fdf2f1; color: #8f2118; }
.dq-out.unserved { border-color: rgba(15,42,74,.25); background: #eef2f7; }
.dq-out.bad p, .dq-out.unserved p { margin: 0 0 10px; font-size: .84rem; line-height: 1.55; }
.dq-out.unserved p { color: var(--ink-soft); }
.dq-out.unserved p:last-child, .dq-out.bad p:last-child { margin-bottom: 0; }

.dq-rows { display: grid; gap: 8px; }
.dq-rows > div { display: flex; justify-content: space-between; gap: 14px; font-size: .86rem; }
.dq-rows span { color: var(--ink-soft); }
.dq-total { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 2px; }
.dq-total span { font-weight: 700; color: var(--ink); }
.dq-total b { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; line-height: 1; color: var(--accent-ink); }
.dq-note { margin: 11px 0 0; font-size: .76rem; line-height: 1.55; color: var(--muted); }
/* --- Track your shipment ------------------------------------------------- */
.trk-intro { text-align: center; max-width: 620px; margin: 0 auto 22px; }
.trk-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid rgba(200,16,46,.25); border-radius: 999px; padding: 5px 12px; }
.trk-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.trk-intro h1 { margin: 12px 0 6px; font-size: 2.3rem; }
.trk-intro p { margin: 0; color: var(--muted); font-size: .95rem; }

.trk-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 760px; margin: 0 auto 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
@media (max-width: 520px) { .trk-search { grid-template-columns: 1fr; } }
.trk-field { display: flex; align-items: center; gap: 9px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 13px; }
.trk-field .ico { color: var(--muted); flex-shrink: 0; }
.trk-field input { flex: 1; border: 0; background: none; padding: 13px 0; font: inherit; font-size: .95rem; color: var(--ink); min-width: 0; }
.trk-field input:focus { outline: none; }
.trk-field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,42,74,.1); }

.trk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; max-width: 940px; margin: 0 auto; }
.trk-card.empty { text-align: center; padding: 40px 24px; }
.trk-empty-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg); color: var(--muted); margin-bottom: 13px; }
.trk-card.empty b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.trk-card.empty p { margin: 0 auto; max-width: 440px; font-size: .86rem; line-height: 1.6; color: var(--muted); }

.trk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 15px; border-bottom: 1px solid var(--line-soft); }
.trk-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; letter-spacing: .04em; color: var(--muted); }
.trk-head h2 { margin: 4px 0 0; font-size: 1.4rem; }
.trk-status { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 11px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.trk-status.in_transit { background: var(--accent); color: #fff; }
.trk-status.delivered { background: var(--success-soft); color: var(--success); }

/* Equal columns with the dot centred in each, so the connectors run between dot
   centres instead of across the labels. The old rule hung the connector off a
   dot that sat at the left edge of a flex row, which is why the labels and the
   line disagreed about where a step was. */
.trk-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--trk-steps, 4), minmax(0, 1fr));
  margin: 18px 0 14px;
  padding: 0;
}
.trk-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
/* The connector leading into this step. Steps complete in order, so colouring
   it from this step's own state is correct. */
.trk-steps li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.trk-steps li:first-child::before { content: none; }
.trk-steps li.done::before { background: var(--success); }

.trk-step-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--line) inset;
  position: relative;
  z-index: 1;
}
.trk-step-label { line-height: 1.25; }
.trk-steps li.done { color: var(--success); }
.trk-steps li.done .trk-step-dot { background: var(--success); box-shadow: 0 0 0 2px var(--success) inset; }
.trk-steps li.current .trk-step-dot { box-shadow: 0 0 0 3px var(--success) inset, 0 0 0 4px var(--success-soft); }

@media (max-width: 560px) {
  .trk-steps { font-size: .7rem; }
  .trk-steps li { font-size: .7rem; }
}

.ops-eta-hint { flex-basis: 100%; margin: 6px 0 0; font-size: .74rem; color: var(--muted); }
.fact-note { margin: 10px 0 0; font-size: .74rem; line-height: 1.45; color: var(--muted); }

/* Lot pages ------------------------------------------------------------------
   The detail markup used to live in a dialog sized by .modal-card. On its own
   page it needs that width itself, and the two columns need somewhere to sit. */
.lot-page { padding-top: 22px; }
.lot-crumbs { margin-bottom: 16px; font-size: .8rem; color: var(--muted); }
.lot-crumbs a { color: var(--muted); text-decoration: none; }
.lot-crumbs a:hover { color: var(--accent); text-decoration: underline; }

.lot-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.lot-detail .detail-media { position: sticky; top: 22px; }
.lot-detail .detail-media img { width: 100%; height: auto; border-radius: var(--radius); }
@media (max-width: 900px) {
  .lot-detail { grid-template-columns: minmax(0, 1fr); }
  .lot-detail .detail-media { position: static; }
}

/* Gallery ------------------------------------------------------------------*/
.gal-stage {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d1218;
}
.gal-stage img, .gal-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #0d1218;
}
.gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(15, 20, 26, .62);
  color: #fff;
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
}
.gal-nav:hover { background: rgba(15, 20, 26, .85); }
.gal-nav.prev { left: 10px; }
.gal-nav.next { right: 10px; }
.gal-count {
  position: absolute;
  right: 12px; bottom: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 20, 26, .7);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
}
.gal-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gal-thumb {
  position: relative;
  flex: 0 0 84px;
  height: 62px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #0d1218;
  cursor: pointer;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb.active { border-color: var(--accent); }
.gal-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .38);
  color: #fff; font-size: .9rem;
}

/* Highlights ---------------------------------------------------------------*/
.highlights { margin-top: 20px; }
.highlights h3 { margin: 0 0 10px; font-size: .95rem; }
.highlights ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 20px;
  margin: 0; padding: 0;
  list-style: none;
}
.highlights li {
  position: relative;
  padding-left: 18px;
  font-size: .85rem;
  line-height: 1.5;
}
.highlights li::before {
  content: '';
  position: absolute;
  left: 2px; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.lot-loading { padding: 60px 0; text-align: center; }
.lot-missing { padding: 60px 20px; text-align: center; }
.lot-missing b { display: block; margin: 12px 0 4px; font-size: 1.1rem; }
.lot-missing p { margin: 0 0 18px; color: var(--muted); }

/* The card is a link now. Keep the text looking like text, not like a link. */
.card-link { color: inherit; text-decoration: none; display: block; }
.card-title .card-link:hover { color: var(--accent); }
.card-media .card-link { height: 100%; }

/* Demonstration mode ---------------------------------------------------------
   Deliberately loud and not dismissible. It is disclosing that some of the
   competition on screen is not real, which is not a preference. */
.demo-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 9px 18px;
  background: #7a2410;
  color: #ffe9df;
  font-size: .8rem;
  line-height: 1.4;
  text-align: center;
}
.demo-banner strong { color: #fff; }
.demo-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f4e0da;
  color: #7a2410;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Orders --------------------------------------------------------------------*/
.ord-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  margin-bottom: 16px;
}
.ord-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ord-kicker { font-size: .72rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ord-head h3 { margin: 4px 0 0; font-size: 1.15rem; }
.ord-head-right { display: flex; align-items: center; gap: 12px; }
.ord-head-right b { font-size: 1.15rem; }
.ord-badge {
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 10px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap;
}
.ord-badge.invoiced { background: #fff3d6; color: #8a5a00; }
.ord-badge.paid { background: var(--success-soft); color: var(--success); }

/* The headline panel. Dark, because it is the one thing to read first. */
.ord-status {
  margin: 16px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
}
.ord-status header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ord-status h3 { margin: 3px 0 0; font-size: 1.05rem; color: #fff; }
.ord-status p { margin: 8px 0 0; font-size: .84rem; color: #c9d6e6; }
.ord-status-kicker { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fa8c4; }
.ord-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .68rem; padding: 4px 9px; border-radius: 5px;
  background: rgba(255, 255, 255, .12); color: #dce6f2; white-space: nowrap;
}
.ord-progress { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.ord-progress-track { flex: 1; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.ord-progress-bar { height: 100%; min-width: 3px; border-radius: 999px; background: var(--accent); transition: width .6s ease; }
.ord-progress span { font-size: .74rem; font-weight: 700; color: #c9d6e6; }
.ord-status.you .ord-progress-bar { background: #f5b301; }
.ord-status.nobody .ord-progress-bar { background: #35b37e; }

/* The journey. Same grid approach as the tracking stepper: the dot is centred
   in its column, so connectors run between dot centres and not across labels. */
.ord-journey {
  list-style: none;
  display: grid;
  /* minmax(0, …) rather than 1fr: a bare 1fr floors at the content width, so a
     long label like "Out for delivery" widens its own column and the dots stop
     being evenly spaced. */
  grid-template-columns: repeat(var(--ord-steps, 10), minmax(0, 1fr));
  margin: 20px 0 4px;
  padding: 0;
}
.ord-journey li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: .64rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
}
.ord-journey li::before {
  content: '';
  position: absolute;
  top: 5px; left: -50%;
  width: 100%; height: 2px;
  background: var(--line);
  z-index: 0;
}
.ord-journey li:first-child::before { content: none; }
.ord-journey li.done::before, .ord-journey li.current::before { background: var(--success); }
.ord-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 2px var(--line) inset;
  position: relative; z-index: 1;
}
.ord-journey li.done { color: var(--success); }
.ord-journey li.done .ord-dot { background: var(--success); box-shadow: 0 0 0 2px var(--success) inset; }
.ord-journey li.current { color: var(--navy); }
.ord-journey li.current .ord-dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent) inset, 0 0 0 4px var(--accent-soft);
}
@media (max-width: 720px) {
  .ord-journey { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 16px; }
  .ord-journey li:nth-child(5n + 1)::before { content: none; }
}

.ord-ship {
  margin-top: 18px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft, #f7f9fb);
}
.ord-route { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 12px; }
.ord-route-pt { display: flex; flex-direction: column; gap: 2px; }
.ord-route-pt small { font-size: .64rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ord-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 12px; }
.ord-facts div { display: flex; flex-direction: column; gap: 2px; }
.ord-facts dt { font-size: .64rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ord-facts dd { margin: 0; font-size: .86rem; font-weight: 600; }

.ord-agreement {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}
.ord-agreement > div { flex: 1; min-width: 220px; }
.ord-agreement b { font-size: .9rem; }
.ord-agreement p { margin: 2px 0 0; font-size: .78rem; color: var(--muted); }
.ord-agreement-ico {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--success-soft); color: var(--success); flex-shrink: 0;
}
.ord-agreement-ico .ico { width: 16px; height: 16px; }

/* Part divider inside the agreement terms ("SALES AGREEMENT", "ESCROW TERMS"). */
.ag-part {
  margin: 22px 0 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
}
.ag-terms section:first-of-type .ag-part,
.ag-part:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Progress -----------------------------------------------------------------*/
.trk-progress { margin: 0 0 18px; }
.trk-progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.trk-progress-bar {
  height: 100%;
  min-width: 3px;
  border-radius: 999px;
  background: var(--accent);
  transition: width .6s ease;
}
.trk-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 9px 0 0;
  font-size: .78rem;
  color: var(--muted);
}
.trk-progress-meta b { color: var(--ink); }
.trk-activity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}
.trk-activity::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}
.trk-activity.moving::before { opacity: 1; }

/* Map ----------------------------------------------------------------------*/
.trk-map-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
/* Leaflet paints its own panes and controls; keeping the stacking context here
   stops them riding over the site header. */
.trk-map-live { height: 430px; width: 100%; background: #eef2f7; z-index: 0; }
.trk-map-wrap > .trk-map { border: 0; border-radius: 0; }
@media (max-width: 560px) { .trk-map-live { height: 320px; } }

.trk-marker { background: none; border: 0; }
.trk-marker-halo,
.trk-marker-body { position: absolute; inset: 0; margin: auto; border-radius: 50%; }
.trk-marker-halo {
  width: 34px; height: 34px;
  background: var(--accent);
  opacity: .22;
}
.trk-marker-body {
  width: 22px; height: 22px;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  display: grid;
  place-items: center;
}
.trk-marker-body svg { width: 12px; height: 12px; fill: #fff; }

.trk-end { background: none; border: 0; }
.trk-end-dot {
  position: absolute; inset: 0; margin: auto;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.trk-end.to .trk-end-dot { background: var(--success); }
.trk-end-label {
  position: absolute;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .68rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.trk-end.to .trk-end-label { bottom: auto; top: 17px; }

.trk-map { display: block; width: 100%; height: auto; background: #eef2f7; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.trk-land { fill: #dbe3ec; stroke: #c3cfdd; stroke-width: 1; }
.trk-route { fill: none; stroke: #9fb0c4; stroke-width: 2.5; stroke-dasharray: 7 6; stroke-linecap: round; }
.trk-route-done { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.trk-pin circle { fill: var(--navy); }
.trk-pin.to circle { fill: var(--accent); }
.trk-pin-dot { fill: #fff !important; }
.trk-truck-halo { fill: rgba(200,16,46,.22); }
.trk-truck-body { fill: var(--accent); stroke: #fff; stroke-width: 2.5; }
.trk-truck-glyph { fill: #fff; }
.trk-label { font: 700 11px/1 Inter, sans-serif; fill: var(--navy); }
.trk-nomap { margin: 16px 0; padding: 26px; text-align: center; font-size: .86rem; color: var(--muted); background: var(--bg); border: 1px dashed var(--line); border-radius: var(--radius-sm); }

.trk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-top: 16px; }
.trk-facts > div { background: #fff; padding: 11px 13px; }
.trk-facts small { display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 3px; }
.trk-facts b { font-size: .87rem; }
.trk-note { margin: 14px 0 0; padding: 12px 14px; background: var(--bg); border-radius: var(--radius-sm); font-size: .84rem; color: var(--ink-soft); }
.trk-caveat { margin: 14px 0 0; font-size: .78rem; line-height: 1.6; color: var(--muted); }

.trk-help { max-width: 760px; margin: 22px auto 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.trk-help-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.trk-help b { display: block; font-size: 1rem; margin-bottom: 7px; }
.trk-help p { margin: 0 auto 8px; max-width: 480px; font-size: .85rem; line-height: 1.6; color: var(--muted); }
.trk-help a { color: var(--accent-ink); font-weight: 600; }

/* --- Operations ---------------------------------------------------------- */
.ops-order { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 12px 16px; align-items: start; padding: 16px 20px; }
.ops-order + .ops-order { border-top: 1px solid var(--line-soft); }
@media (max-width: 720px) { .ops-order { grid-template-columns: 1fr auto; } }
.ops-main b { display: block; font-size: .95rem; margin-bottom: 3px; }
.ops-price b { font-size: 1.05rem; }
.ops-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.ops-dispatch { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.ops-dispatch label { display: grid; gap: 4px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ops-dispatch input, .ops-dispatch select { padding: 8px 10px; font: inherit; font-size: .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.ops-shipment { grid-column: 1 / -1; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; display: grid; gap: 7px; }
.ops-ship-row { display: flex; justify-content: space-between; gap: 14px; font-size: .84rem; }
.ops-ship-row span { color: var(--muted); }
.ops-ship-row a { color: var(--accent-ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ops-shipment .ops-dispatch { margin-top: 5px; }