/* ============================================================
   VIVTAG — marketing site + app chrome.
   Extends vivtag.css. Still zero dependencies.
   ============================================================ */

/* ---- public nav ---- */
.vs-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 0 clamp(18px, 4vw, 48px); height: 64px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.vs-nav .vt-brand { font-size: 19px; text-decoration: none; }
.vs-nav__links { display: flex; gap: 22px; flex: 1; }
.vs-nav__links a {
  font-size: 14px; color: var(--ink-700); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.vs-nav__links a:hover { color: var(--ink-900); }
.vs-nav__links a[aria-current] { color: var(--ind); border-bottom-color: var(--ind); font-weight: 600; }
.vs-nav__act { display: flex; gap: 8px; align-items: center; }
.vs-nav__act .vt-btn { text-decoration: none; }
.vs-burger { display: none; width: 38px; height: 38px; border-radius: 8px; }
.vs-burger span, .vs-burger span::before, .vs-burger span::after {
  display: block; width: 18px; height: 2px; background: var(--ink-900); border-radius: 2px; position: relative;
}
.vs-burger span::before { content: ""; position: absolute; top: -6px; }
.vs-burger span::after  { content: ""; position: absolute; top: 6px; }

/* ---- hero ---- */
.vs-hero {
  padding: clamp(48px, 8vw, 92px) clamp(18px, 4vw, 48px) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  max-width: 1240px; margin: 0 auto;
}
.vs-eyebrow {
  font-family: var(--data); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ind);
  margin-bottom: 16px;
}
.vs-h1 {
  font-size: clamp(34px, 5.4vw, 56px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.04; margin-bottom: 18px;
}
.vs-h1 em { font-style: normal; color: var(--ind); }
.vs-lede { font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-500); max-width: 46ch; line-height: 1.6; }
.vs-cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.vs-cta .vt-btn { text-decoration: none; padding: 13px 24px; }
.vs-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-300); }

/* the hero visual is a stack of live plates over a document card */
.vs-art { position: relative; display: grid; gap: 14px; justify-items: end; }
.vs-art .plate { width: min(330px, 100%); }
.vs-art .plate:nth-child(1) { transform: rotate(-2.2deg); }
.vs-art .plate:nth-child(2) { transform: rotate(1.3deg) translateX(-26px); }
.vs-card {
  width: min(330px, 100%);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
  padding: 16px 18px; margin-top: 8px;
}
.vs-card h4 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.vs-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.vs-row:last-child { border-bottom: 0; }
.vs-row span { font-size: 13.5px; }

/* ---- sections ---- */
.vs-sec { padding: clamp(44px, 6vw, 78px) clamp(18px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.vs-sec--tint { background: var(--card); max-width: none; border-block: 1px solid var(--line); }
.vs-sec--tint > .vs-in { max-width: 1240px; margin-inline: auto; }
.vs-in { max-width: 1240px; margin-inline: auto; }
.vs-h2 { font-size: clamp(24px, 3vw, 33px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; }
.vs-sub { font-size: 15.5px; color: var(--ink-500); max-width: 56ch; margin-bottom: 34px; }

.vs-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.vs-grid > * { min-width: 0; }
.vs-tile {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 20px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vs-sec--tint .vs-tile { background: var(--paper); }
.vs-tile:hover { border-color: var(--ind-300); box-shadow: var(--sh-2); transform: translateY(-2px); }
.vs-tile h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; letter-spacing: -.01em; }
.vs-tile p { font-size: 14px; color: var(--ink-500); line-height: 1.6; }
.vs-tile__n {
  font-family: var(--data); font-size: 11px; font-weight: 600;
  color: var(--ind); letter-spacing: .1em; margin-bottom: 12px; display: block;
}

/* steps: the order genuinely matters, so they are numbered */
.vs-steps { counter-reset: s; display: grid; gap: 2px; }
.vs-step {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.vs-step:last-child { border-bottom: 0; }
.vs-step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--data); font-size: 13px; font-weight: 700; color: var(--ind);
  padding-top: 2px;
}
.vs-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.vs-step p { font-size: 14.5px; color: var(--ink-500); max-width: 62ch; line-height: 1.6; }

.vs-band {
  background: linear-gradient(160deg, #1b3fa0 0%, #10225a 100%);
  color: #fff; padding: clamp(44px,6vw,72px) clamp(18px,4vw,48px);
  text-align: center;
}
.vs-band h2 { font-size: clamp(24px,3.2vw,36px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 12px; }
.vs-band p { color: #c3d0ee; font-size: 16px; max-width: 46ch; margin: 0 auto 26px; }
.vs-band .vt-btn { background: #fff; color: var(--ind); text-decoration: none; }
.vs-band .vt-btn:hover { background: #eef2fb; }

.vs-prose { max-width: 68ch; }
.vs-prose h2 { font-size: 20px; font-weight: 700; margin: 30px 0 8px; letter-spacing: -.02em; }
.vs-prose h2:first-child { margin-top: 0; }
.vs-prose p, .vs-prose li { font-size: 14.8px; color: var(--ink-700); line-height: 1.72; margin-bottom: 11px; }
.vs-prose ul { padding-left: 20px; list-style: disc; }

/* ---- footer ---- */
.vs-foot {
  background: linear-gradient(150deg, #1a2130 0%, #0d1017 60%, #171f2e 100%);
  color: #93a0b5; margin-top: auto; flex-shrink: 0;
}

.vs-foot__in {
  max-width: 1240px; margin: 0 auto; padding: 48px clamp(18px,4vw,48px) 34px;
  display: grid; gap: 30px; grid-template-columns: 2fr 1fr 1fr 1fr;
}
.vs-foot h4 { color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.vs-foot nav { display: grid; gap: 8px; align-content: start; }
.vs-foot a { color: #93a0b5; font-size: 14px; text-decoration: none; }
.vs-foot a:hover { color: #fff; }
.vs-foot p { font-size: 14px; max-width: 30ch; margin-top: 8px; line-height: 1.6; }
.vs-foot__bar {
  border-top: 1px solid #22252d; padding: 16px clamp(18px,4vw,48px);
  font-size: 12.5px; text-align: center;
}

/* ---- portal / admin chrome ---- */
.vp-links { display: flex; gap: 18px; }
.vp-links a {
  font-size: 14px; color: var(--ink-500); text-decoration: none;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.vp-links a:hover { color: var(--ink-900); }
.vp-links a[aria-current] { color: var(--ind); border-bottom-color: var(--ind); font-weight: 600; }
.vp-who { font-size: 13px; color: var(--ink-500); }

.vp-page { max-width: 1180px; margin: 0 auto; padding: 30px clamp(16px,3vw,32px) 72px; }
.vp-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.vp-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; flex: 1; }
.vp-head .vt-btn { text-decoration: none; }

.vp-stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(178px,1fr)); margin-bottom: 28px; }
.vp-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.vp-stat dt { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }
.vp-stat dd { font-size: 29px; font-weight: 700; letter-spacing: -.03em; margin-top: 4px; }
.vp-stat dd small { font-size: 13px; font-weight: 500; color: var(--ink-500); letter-spacing: 0; }

/* vehicle cards */
.vp-vehicles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); }
.vp-vehicles > * { min-width: 0; }
.vp-veh {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; display: grid; gap: 14px; text-decoration: none; color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vp-veh:hover { border-color: var(--ind-300); box-shadow: var(--sh-2); transform: translateY(-2px); }
.vp-veh__t { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vp-veh__t strong { font-size: 14.5px; font-weight: 600; }
.vp-veh__docs { display: grid; gap: 7px; }
.vp-veh__doc { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.vp-veh__doc span { color: var(--ink-500); }

/* tables */
.vp-table { width: 100%; border-collapse: collapse; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.vp-table th {
  text-align: left; font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600; padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: var(--line-2);
}
.vp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: 14px; vertical-align: middle; }
.vp-table tr:last-child td { border-bottom: 0; }
.vp-table tbody tr:hover { background: var(--line-2); }
.vp-table .mono { font-family: var(--data); font-size: 13px; }
.vp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.vp-empty {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 26px; display: grid; gap: 16px;
  grid-template-columns: 64px 1fr auto; align-items: center; text-align: left;
}
.vp-empty__icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--ind-100); display: grid; place-items: center;
}
.vp-empty__icon .plate { width: 46px; --plate-h: 26px; border-width: 1.5px; border-radius: 4px; }
.vp-empty__icon .plate__ind { flex-basis: 11px; padding: 2px 0; }
.vp-empty__icon .plate__chakra { width: 6px; height: 6px; }
.vp-empty__icon .plate__ind-txt { font-size: 4px; }
.vp-empty__icon .plate__chars { font-size: 8px; letter-spacing: .02em; }
.vp-empty h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.015em; }
.vp-empty p { font-size: 14px; color: var(--ink-500); max-width: 52ch; }
.vp-empty .vt-btn { text-decoration: none; }

/* public scan card */
.vscan { max-width: 460px; margin: 0 auto; padding: 32px 18px 60px; }
.vscan__hero { text-align: center; margin-bottom: 22px; }
.vscan__hero .plate { max-width: 320px; margin: 0 auto 16px; }
.vscan__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.vscan__row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.vscan__row:last-child { border-bottom: 0; }
.vscan__row span { font-size: 13.5px; color: var(--ink-500); }
.vscan__row b { font-size: 14px; font-weight: 600; }
.vscan__foot { text-align: center; font-size: 12.5px; color: var(--ink-300); margin-top: 20px; line-height: 1.7; }

@media (max-width: 900px) {
  .vs-hero { grid-template-columns: 1fr; gap: 36px; }
  .vs-art { justify-items: start; }
  .vs-foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .vs-burger { display: grid; place-items: center; }
  .vs-nav__links {
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 0; display: none;
  }
  body.nav-open .vs-nav__links { display: flex; }
  .vs-nav__links a { padding: 12px clamp(18px,4vw,48px); }
  /* Was display:none, which left a phone user with no navigation at
     all. A scrolling row keeps every destination reachable. */
  .vp-links {
    display: flex; order: 3; width: 100%; gap: 2px; margin-top: 2px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .vp-links::-webkit-scrollbar { display: none; }
  .vp-links a { white-space: nowrap; padding: 8px 11px; font-size: 13.5px; }
  .vs-nav__act .vt-btn--ghost { display: none; }
}
@media (max-width: 520px) {
  .vs-foot__in { grid-template-columns: 1fr; }
  .vp-who { display: none; }
}

/* ============================================================
   DEVICE FRAMES — the portal shown inside a real phone, drawn
   in CSS. iPhone (Dynamic Island) and Pixel (punch-hole) so the
   marketing page shows the product instead of describing it.
   ============================================================ */
.vd-stage {
  display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(14px, 3vw, 40px); perspective: 1600px;
}
.vd {
  position: relative; flex: 0 0 auto;
  border-radius: 42px; padding: 9px;
  background: linear-gradient(160deg, #2b2f39 0%, #14161c 42%, #33384a 100%);
  box-shadow:
    0 2px 0 rgba(255,255,255,.16) inset,
    0 40px 70px -24px rgba(18,20,26,.55),
    0 8px 20px -6px rgba(18,20,26,.3);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.vd--ios   { width: 258px; transform: rotateY(11deg) rotateX(3deg) translateZ(0); z-index: 2; }
.vd--pixel { width: 232px; transform: rotateY(-10deg) rotateX(3deg) translateY(20px); }
.vd-stage:hover .vd--ios   { transform: rotateY(5deg) rotateX(1deg) translateY(-6px); }
.vd-stage:hover .vd--pixel { transform: rotateY(-5deg) rotateX(1deg) translateY(12px); }

.vd__screen {
  position: relative; overflow: hidden;
  border-radius: 34px; background: var(--paper);
  aspect-ratio: 9 / 19.5;
}
.vd--pixel .vd__screen { border-radius: 26px; }
.vd--pixel { border-radius: 34px; }

/* iPhone Dynamic Island */
.vd__island {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 20px; border-radius: 12px; background: #0a0b0e; z-index: 4;
}
/* Pixel punch-hole */
.vd__hole {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: #0a0b0e; z-index: 4;
}
.vd__status {
  position: absolute; top: 0; left: 0; right: 0; height: 34px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; font-family: var(--data); font-size: 8.5px;
  color: var(--ink-900); font-weight: 600;
}
.vd__body { position: absolute; inset: 34px 0 0; overflow: hidden; padding: 6px 11px 0; }

/* the miniature app inside the frame */
.vd-app { display: grid; gap: 8px; }
.vd-bar {
  display: flex; align-items: center; gap: 5px;
  padding-bottom: 7px; border-bottom: 1px solid var(--line);
}
.vd-bar b { font-size: 9.5px; font-weight: 800; letter-spacing: -.02em; }
.vd-bar b i { font-style: normal; color: var(--ind); }
.vd-bar span { margin-left: auto; font-family: var(--data); font-size: 6px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-300); }
.vd-h { font-size: 12px; font-weight: 700; letter-spacing: -.02em; }
.vd-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 9px; padding: 8px; display: grid; gap: 7px;
  box-shadow: 0 1px 2px rgba(18,20,26,.05);
}
.vd-card .plate { --plate-h: 25px; border-width: 1.5px; border-radius: 4px; }
.vd-card .plate__ind { flex-basis: 10px; padding: 2px 0; }
.vd-card .plate__chakra { width: 5px; height: 5px; }
.vd-card .plate__ind-txt { font-size: 3.6px; }
.vd-card .plate__chars { font-size: 8.5px; letter-spacing: .03em; }
.vd-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.vd-line span { font-size: 7.5px; color: var(--ink-500); }
.vd-pill {
  font-family: var(--data); font-size: 5.4px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 2px 5px; border-radius: 99px;
}
.vd-pill--ok   { background: var(--stamp-100); color: var(--stamp); }
.vd-pill--hold { background: var(--hold-100);  color: var(--hold); }
.vd-pill--bad  { background: var(--void-100);  color: var(--void); }
.vd-cta {
  background: var(--ind); color: #fff; border-radius: 7px;
  text-align: center; padding: 7px; font-size: 8.5px; font-weight: 600;
}
.vd-tabs {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30px;
  border-top: 1px solid var(--line); background: var(--card);
  display: flex; align-items: center; justify-content: space-around;
  font-size: 6.4px; color: var(--ink-300); letter-spacing: .04em;
}
.vd-tabs b { color: var(--ind); font-weight: 700; }
.vd__glare {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,0) 34%,
              rgba(255,255,255,0) 66%, rgba(255,255,255,.09) 100%);
}
.vd__label {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -26px; font-family: var(--data); font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300);
  white-space: nowrap;
}

@media (max-width: 620px) {
  .vd--pixel { display: none; }
  .vd--ios { transform: none; width: 240px; }
  .vd-stage:hover .vd--ios { transform: translateY(-4px); }
}

/* ---- stat band + FAQ for the marketing pages ---- */
.vs-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.vs-stat { background: var(--card); padding: 24px 20px; }
.vs-stat dt {
  font-family: var(--data); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: 8px;
}
.vs-stat dd { font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.vs-stat dd small { font-size: 15px; font-weight: 600; color: var(--ink-500); letter-spacing: 0; }
.vs-stat p { font-size: 12.5px; color: var(--ink-500); margin-top: 7px; line-height: 1.5; }

.vs-faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.vs-faq details {
  border-bottom: 1px solid var(--line);
}
.vs-faq summary {
  cursor: pointer; list-style: none; padding: 19px 40px 19px 0;
  font-size: 16px; font-weight: 600; letter-spacing: -.015em;
  position: relative; transition: color .18s ease;
}
.vs-faq summary::-webkit-details-marker { display: none; }
.vs-faq summary:hover { color: var(--ind); }
.vs-faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--ink-300); border-bottom: 2px solid var(--ink-300);
  transform: rotate(45deg); transition: transform .28s cubic-bezier(.16,1,.3,1), border-color .18s ease;
}
.vs-faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--ind); }
.vs-faq details > div {
  padding: 0 0 20px; font-size: 14.5px; color: var(--ink-500);
  line-height: 1.7; max-width: 66ch;
  animation: vs-faq-in .32s cubic-bezier(.16,1,.3,1) both;
}
@keyframes vs-faq-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ============================================================
   SUPPORT CHAT — a real thread, both sides.
   ============================================================ */
.vc {
  display: grid; grid-template-rows: auto 1fr auto;
  height: calc(100vh - 58px - 1px);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.vc--admin { grid-template-rows: auto 1fr auto; height: calc(100vh - 58px); border-radius: 0; border: 0; border-left: 1px solid var(--line); }

.vc__head {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  background: var(--card); z-index: 2;
}
.vc__who { min-width: 0; flex: 1; }
.vc__who h2 { font-size: 15px; font-weight: 700; letter-spacing: -.015em; }
.vc__who p { font-size: 12.5px; color: var(--ink-500); }
.vc__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--stamp); flex: 0 0 8px;
  box-shadow: 0 0 0 0 var(--stamp); animation: vc-pulse 2.2s ease-out infinite;
}
@keyframes vc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(11,122,75,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(11,122,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(11,122,75,0); }
}

.vc__scroll {
  overflow-y: auto; padding: 20px 18px 8px;
  display: flex; flex-direction: column; gap: 3px;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 18% 12%, rgba(27,63,160,.035), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(27,63,160,.03), transparent 45%);
}
.vc__day {
  align-self: center; margin: 14px 0 10px;
  font-family: var(--data); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-300);
  background: var(--paper); padding: 4px 12px; border-radius: 99px;
}

.vc-msg {
  max-width: min(78%, 560px); align-self: flex-start;
  display: grid; gap: 3px;
  animation: vc-in .34s cubic-bezier(.16,1,.3,1) both;
}
@keyframes vc-in {
  from { opacity: 0; transform: translateY(9px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.vc-msg--me { align-self: flex-end; }
.vc-msg--sys { align-self: center; max-width: 82%; }

.vc-msg__b {
  padding: 10px 14px; border-radius: 16px;
  font-size: 14.3px; line-height: 1.55;
  background: var(--card); border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  overflow-wrap: anywhere; white-space: pre-wrap;
}
.vc-msg--me .vc-msg__b {
  background: var(--ind); color: #fff; border-color: transparent;
  border-bottom-left-radius: 16px; border-bottom-right-radius: 5px;
}
.vc-msg--sys .vc-msg__b {
  background: var(--line-2); border: 0; color: var(--ink-500);
  font-size: 12.5px; text-align: center; border-radius: 99px; padding: 6px 14px;
}
.vc-msg__m {
  font-family: var(--data); font-size: 10px; color: var(--ink-300);
  padding-inline: 5px; display: flex; align-items: center; gap: 6px;
}
.vc-msg--me .vc-msg__m { justify-content: flex-end; }
.vc-msg__m b { font-weight: 600; color: var(--ink-500); font-family: var(--ui); font-size: 11px; }
.vc-msg--me .vc-msg__b a:not(.vc-card__cta):not(.vc-att) { color: #fff; }

.vc-att {
  display: flex; align-items: center; gap: 9px;
  margin-top: 6px; padding: 8px 11px;
  background: rgba(255,255,255,.14); border-radius: 10px;
  font-family: var(--data); font-size: 11.5px; text-decoration: none; color: inherit;
}
.vc-msg:not(.vc-msg--me) .vc-att { background: var(--line-2); }
.vc-att:hover { text-decoration: underline; }
.vc-att img { width: 34px; height: 34px; object-fit: cover; border-radius: 5px; }
.vc-att__doc {
  width: 34px; height: 34px; border-radius: 5px; display: grid; place-items: center;
  background: rgba(0,0,0,.14); font-size: 9px; font-weight: 700; flex: 0 0 34px;
}

.vc-typing { display: flex; gap: 4px; padding: 12px 15px; }
.vc-typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-300);
  animation: vc-bounce 1.15s ease-in-out infinite;
}
.vc-typing i:nth-child(2) { animation-delay: .16s; }
.vc-typing i:nth-child(3) { animation-delay: .32s; }
@keyframes vc-bounce { 0%,60%,100% { transform: none; opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

.vc__foot { border-top: 1px solid var(--line); padding: 12px 14px; background: var(--card); }
.vc__box {
  display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: end;
  border: 1px solid var(--line); border-radius: 14px; padding: 7px 8px 7px 9px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.vc__box:focus-within { border-color: var(--ind); box-shadow: 0 0 0 3px var(--ind-100); }
.vc__ta {
  border: 0; outline: none; resize: none; background: none;
  font-size: 14.3px; line-height: 1.5; padding: 7px 0; max-height: 132px; min-height: 24px;
}
.vc__clip {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  color: var(--ink-500); cursor: pointer; font-size: 17px;
}
.vc__clip:hover { background: var(--line-2); color: var(--ink-900); }
.vc__clip input { position: absolute; opacity: 0; width: 0; height: 0; }
.vc__send {
  width: 36px; height: 36px; border-radius: 10px; background: var(--ind); color: #fff;
  display: grid; place-items: center; transition: background .16s ease, transform .16s ease;
}
.vc__send:hover { background: var(--ind-700); }
.vc__send:disabled { opacity: .35; pointer-events: none; }
.vc__chip {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 9px;
  padding: 6px 10px; border-radius: 9px; background: var(--ind-100);
  font-size: 12.5px; color: var(--ind-700);
}
.vc__chip button { color: var(--ind-700); font-weight: 700; }

/* admin: thread list beside the conversation */
.vc-wrap { display: grid; grid-template-columns: 320px minmax(0,1fr); height: calc(100vh - 58px); }
.vc-list { border-right: 1px solid var(--line); background: var(--card); overflow-y: auto; }
.vc-list__h {
  position: sticky; top: 0; background: var(--card); z-index: 1;
  padding: 14px 16px 10px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
}
.vc-list__h h1 { font-size: 15px; font-weight: 700; flex: 1; }
.vc-item {
  display: block; width: 100%; text-align: left; text-decoration: none; color: inherit;
  padding: 13px 16px; border-bottom: 1px solid var(--line-2);
  border-left: 3px solid transparent; transition: background .16s ease;
}
.vc-item:hover { background: var(--line-2); }
.vc-item[aria-current="true"] { background: var(--ind-100); border-left-color: var(--ind); }
.vc-item__t { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.vc-item__t strong { font-size: 13.8px; font-weight: 600; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-item__t time { font-family: var(--data); font-size: 10px; color: var(--ink-300); }
.vc-item p {
  font-size: 12.5px; color: var(--ink-500); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.vc-badge {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--ind); color: #fff; font-family: var(--data); font-size: 10px;
  font-weight: 700; display: grid; place-items: center;
}
@media (max-width: 860px) {
  .vc-wrap { grid-template-columns: 1fr; }
  .vc-list { display: none; }
  .vc-wrap.show-list .vc-list { display: block; }
  .vc-wrap.show-list .vc--admin { display: none; }
  .vc { height: calc(100vh - 58px); border-radius: 0; border-inline: 0; }
}

/* ============================================================
   PORTAL — vehicle detail and richer dashboards
   ============================================================ */
.vp-hero {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 22px 24px; margin-bottom: 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.vp-hero__txt { flex: 1; min-width: 180px; }
.vp-hero__txt h1 { font-size: 23px; font-weight: 700; letter-spacing: -.03em; }
.vp-hero__txt p { font-size: 13.5px; color: var(--ink-500); margin-top: 3px; }
.vp-hero .vt-btn { text-decoration: none; }

.vp-docs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  align-items: start; }
.vp-docs > * { min-width: 0; }
.vp-doc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.vp-doc:hover { border-color: var(--ink-300); box-shadow: var(--sh-2); transform: translateY(-2px); }
.vp-doc[data-state="rejected"] { border-color: var(--void); }
.vp-doc[data-state="verified"] { border-color: var(--stamp-100); }
.vp-doc > header {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 15px; border-bottom: 1px solid var(--line-2);
}
.vp-doc > header h3 { font-size: 14.5px; font-weight: 600; flex: 1; letter-spacing: -.01em; }
.vp-doc > header .vt-pill { position: relative; }
.vp-doc__body { padding: 13px 15px; display: grid; gap: 12px; }
.vp-doc__body:empty { display: none; }
.vp-doc__thumbs { display: flex; gap: 8px; }
.vp-doc__thumbs a {
  width: 66px; height: 48px; border-radius: 7px; overflow: hidden;
  border: 1px solid var(--line); background: var(--line-2);
  display: grid; place-items: center; transition: transform .2s ease, border-color .2s ease;
}
.vp-doc__thumbs a:hover { transform: scale(1.06); border-color: var(--ind); }
.vp-doc__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vp-doc__thumbs span { font-family: var(--data); font-size: 10px; color: var(--ink-500); font-weight: 700; }
.vp-doc__meta { display: grid; gap: 7px; }
.vp-doc__meta:empty { display: none; }
.vp-doc__meta dt {
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600;
}
.vp-doc__meta dd { font-family: var(--data); font-size: 13px; }
.vp-doc__why {
  font-size: 12.5px; color: var(--void); background: var(--void-100);
  padding: 8px 11px; border-radius: 8px; line-height: 1.5;
}
.vp-doc > footer { padding: 0 15px 14px; }
.vp-doc > footer .vt-btn { width: 100%; }

/* dashboard stat cards gain a trend + tone */
.vp-stat { position: relative; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.vp-stat:hover { border-color: var(--ind-300); box-shadow: var(--sh-1); }
.vp-stat--warn { border-color: var(--hold); }
.vp-stat--bad  { border-color: var(--void); }
.vp-stat--bad dd { color: var(--void); }
.vp-stat__foot { font-size: 12px; color: var(--ink-500); margin-top: 6px; }

.vp-veh { position: relative; }
.vp-veh__ring { position: absolute; top: 16px; right: 16px; }

@media (max-width: 620px) {
  .vp-hero { gap: 16px; padding: 18px; }
  .vp-hero__txt h1 { font-size: 19px; }
  .vp-docs { grid-template-columns: 1fr; }
  .vp-empty { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .vp-empty__icon { margin-inline: auto; }
}

.vs-split { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 44px; align-items: center; }
.vs-checks { display: grid; gap: 10px; margin: 22px 0 4px; }
.vs-checks li {
  list-style: none; position: relative; padding-left: 28px;
  font-size: 14.5px; color: var(--ink-700); line-height: 1.55;
}
.vs-checks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--stamp-100);
}
.vs-checks li::after {
  content: ""; position: absolute; left: 6px; top: 8px;
  width: 7px; height: 4px; border-left: 2px solid var(--stamp); border-bottom: 2px solid var(--stamp);
  transform: rotate(-45deg);
}
@media (max-width: 980px) {
  .vs-split { grid-template-columns: 1fr !important; gap: 40px !important; }
}
.vp-doc__note { font-size: 12.5px; color: var(--ink-500); line-height: 1.55; }

/* ============================================================
   SUPPORT PAGE — thread beside context, so the screen carries
   something useful before a single message is sent.
   ============================================================ */
.vp-page--wide { max-width: 1240px; }

/* The chat fills the window. It was capped at 72vh inside a padded
   page, so it read as a widget rather than the place you talk to us. */
.vs-support {
  display: grid; grid-template-columns: minmax(0,1fr) 336px; gap: 18px;
  align-items: stretch; min-height: 0;
}
.vp-page--chat {
  max-width: 1320px; height: calc(100dvh - 64px);
  display: grid; grid-template-rows: auto auto 1fr;
  padding-bottom: 18px; overflow: hidden;
}
.vp-page--chat .vs-support { min-height: 0; height: 100%; }
.vp-page--chat .vc { height: 100%; }
.vp-page--chat .vs-aside { overflow-y: auto; align-content: start; padding-right: 2px; }

.vc-welcome {
  margin: auto; max-width: 460px; text-align: center;
  padding: 26px 22px; display: grid; gap: 10px; justify-items: center;
}
.vc-welcome__mark {
  width: 62px; height: 62px; border-radius: 17px; background: var(--ind-100);
  display: grid; place-items: center; margin-bottom: 4px;
}
.vc-welcome__mark .plate { width: 44px; --plate-h: 25px; border-width: 1.5px; border-radius: 4px; }
.vc-welcome__mark .plate__ind { flex-basis: 10px; padding: 2px 0; }
.vc-welcome__mark .plate__chakra { width: 5px; height: 5px; }
.vc-welcome__mark .plate__ind-txt { font-size: 3.6px; }
.vc-welcome__mark .plate__chars { font-size: 8px; }
.vc-welcome h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.vc-welcome p { font-size: 14px; color: var(--ink-500); line-height: 1.6; }

.vc-quick { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 12px; }
.vc-quick__b {
  padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--card); font-size: 12.8px; color: var(--ink-700);
  transition: all .16s ease; text-align: left;
}
.vc-quick__b:hover {
  border-color: var(--ind); color: var(--ind); background: var(--ind-100);
  transform: translateY(-1px);
}

.vs-aside { display: grid; gap: 16px; position: sticky; top: 74px; }
.vs-aside__card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px;
}
.vs-aside__card h3 {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-700); margin-bottom: 12px;
}
.vs-aside__list { display: grid; gap: 9px; }
.vs-aside__list li {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 13.5px; padding-bottom: 9px; border-bottom: 1px solid var(--line-2);
}
.vs-aside__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.vs-aside__list b { font-weight: 500; color: var(--ink-700); }
.vs-aside__list span { font-family: var(--data); font-size: 12.5px; color: var(--ink-500); }
.vs-aside__note { font-size: 12.5px; color: var(--ink-500); line-height: 1.55; margin-top: 11px; }
.vs-aside__vehicles { display: grid; gap: 8px; }
.vs-aside__veh { display: block; transition: transform .18s ease; }
.vs-aside__veh:hover { transform: translateX(3px); }

.vs-faq--sm summary { font-size: 13.5px; padding: 13px 30px 13px 0; }
.vs-faq--sm summary::after { width: 8px; height: 8px; right: 3px; margin-top: -5px; }
.vs-faq--sm details > div { font-size: 13px; padding-bottom: 14px; line-height: 1.6; }
.vs-faq--sm { border-top: 0; }
.vs-faq--sm details:first-child { border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .vs-support { grid-template-columns: 1fr; }
  .vs-aside { position: static; }
  .vp-page--chat { height: auto; overflow: visible; display: block; }
  .vp-page--chat .vc { height: calc(100vh - 240px); min-height: 420px; }
}

.vp-cols { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 26px; align-items: start; }
@media (max-width: 900px) { .vp-cols { grid-template-columns: 1fr; } }
/* Plain links in this card are indigo — but a button in here already
   HAS an indigo gradient behind it, so tinting its label made the text
   invisible. Exclude anything that is already a button. */
.vs-aside__card a:not(.vt-btn) { color: var(--ind); }
.vs-aside__card .vt-btn--go { color: #fff; }
.vs-aside__card .vt-btn--line { color: var(--ind); }

/* add-vehicle: the tray and the first step both had dead space */
.vt-tray__help {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
}
.vt-tray__help h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: 11px;
}
.vt-tray__help ul { display: grid; gap: 7px; margin-bottom: 13px; }
.vt-tray__help li {
  font-size: 12.8px; color: var(--ink-700); padding-left: 17px; position: relative; line-height: 1.5;
}
.vt-tray__help li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ind-300);
}
.vt-tray__help p { font-size: 12.3px; color: var(--ink-500); line-height: 1.6; }
.vt-tray__help-foot { margin-top: 10px; }
.vt-tray__help a { color: var(--ind); }

.vt-next { counter-reset: n; display: grid; gap: 0; }
.vt-next li {
  counter-increment: n; list-style: none; position: relative;
  padding: 15px 0 15px 42px; border-bottom: 1px solid var(--line-2);
  font-size: 14px; color: var(--ink-500); line-height: 1.6;
}
.vt-next li:last-child { border-bottom: 0; }
.vt-next li b { color: var(--ink-900); font-weight: 600; }
.vt-next li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 15px;
  font-family: var(--data); font-size: 11.5px; font-weight: 700; color: var(--ind);
  width: 28px; height: 22px; display: grid; place-items: center;
  border-radius: 5px; background: var(--ind-100);
}

/* admin overview: denser stats, activity feed, quick links */
.vp-stats--8 { grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); }
.vp-stats--8 .vp-stat { padding: 14px 16px; }
.vp-stats--8 .vp-stat dd { font-size: 25px; }
.vp-stats--8 .vp-stat__foot { font-size: 11.5px; }

.vp-feed { display: grid; gap: 0; }
.vp-feed li {
  display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start;
  padding: 10px 0; border-bottom: 1px solid var(--line-2); list-style: none;
}
.vp-feed li:last-child { border-bottom: 0; }
.vp-feed__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink-300); margin-top: 5px;
}
.vp-feed__dot--idle { background: var(--ink-300); }
.vp-feed__dot--ok  { background: var(--stamp); }
.vp-feed__dot--bad { background: var(--void); }
.vp-feed li div { font-size: 12.5px; color: var(--ink-500); line-height: 1.5; min-width: 0; }
.vp-feed li b { display: block; font-size: 12.8px; color: var(--ink-900); font-weight: 600; }
.vp-feed li em {
  font-style: normal; display: block; color: var(--void); font-size: 11.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vp-feed li time {
  display: block; font-family: var(--data); font-size: 10.5px; color: var(--ink-300); margin-top: 2px;
}

.vp-quick { display: grid; gap: 2px; }
.vp-quick a {
  display: block; padding: 9px 11px; margin-inline: -11px; border-radius: 7px;
  font-size: 13.5px; color: var(--ink-700); text-decoration: none;
  transition: background .16s ease, color .16s ease, padding-left .16s ease;
}
.vp-quick a:hover { background: var(--ind-100); color: var(--ind); padding-left: 15px; }
.vp-table a { color: var(--ind); text-decoration: none; }
.vp-table a:hover { text-decoration: underline; }

.vs-compare td:nth-child(2) { color: var(--void); }
.vs-compare td:nth-child(3) { color: var(--stamp); font-weight: 500; }
.vs-compare td:first-child { color: var(--ink-900); }
.vs-sec--tint .vp-table { background: var(--paper); }
.vs-sec--tint .vp-table th { background: var(--card); }

/* staff console reads as a different surface, on purpose */
.va-wrap--admin .va-side--admin {
  background-image:
    radial-gradient(120% 100% at 100% 0%, #2b3550 0%, transparent 58%),
    linear-gradient(160deg, #1c2233 0%, #0d1119 100%);
}
.va-side__points { display: grid; gap: 11px; margin: 22px 0 26px; }
.va-side__points li {
  list-style: none; position: relative; padding-left: 24px;
  color: #c3d0ee; font-size: 14.5px; line-height: 1.55;
}
.va-side__points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: #8fa8e8;
}
.va-brand__tag {
  font-family: var(--data); font-size: 9.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500);
  border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px;
  position: relative; top: -2px;
}
.va-sub a { color: var(--ind); }
.vp-who em {
  font-style: normal; display: block; font-family: var(--data);
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-300);
}

.vp-tabs { display: flex; gap: 4px; margin-bottom: 18px; flex-wrap: wrap; }
.vp-tabs a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 99px; text-decoration: none;
  font-size: 13.5px; color: var(--ink-500); border: 1px solid var(--line);
  background: var(--card); transition: all .16s ease;
}
.vp-tabs a:hover { border-color: var(--ink-300); color: var(--ink-900); }
.vp-tabs a[aria-current="true"] {
  background: var(--ind); border-color: var(--ind); color: #fff; font-weight: 600;
}
.vp-tabs a span {
  font-family: var(--data); font-size: 11px; opacity: .7;
  background: var(--line-2); border-radius: 99px; padding: 1px 6px; color: var(--ink-700);
}
.vp-tabs a[aria-current="true"] span { background: rgba(255,255,255,.22); color: #fff; opacity: 1; }

.vp-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.vp-acts form { display: inline; }
.vp-table small { color: var(--ink-500); font-size: 11.5px; }
.vp-roles { display: grid; gap: 9px; }
.vp-roles .vt-check__txt b { display: block; font-weight: 600; color: var(--ink-900); }
.vp-roles .vt-check__txt em {
  font-style: normal; display: block; font-size: 12px; color: var(--ink-500); margin-top: 1px;
}

/* ============================================================
   Nav chrome fix — .vt-brand and .vt-exit are <a> elements and
   were never given text-decoration:none, so they carried the
   browser's default underline. The section label and the
   signed-in identity were unstyled text.
   ============================================================ */
.vt-brand,
.vt-brand:hover,
.vt-brand:focus { text-decoration: none; color: inherit; }
.vt-brand b { text-decoration: none; }

.vt-brand span {
  font-family: var(--data);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 7px 2px;
  background: var(--line-2);
  position: relative;
  top: -1px;
  white-space: nowrap;
}
.vt-brand:hover span { border-color: var(--ind-300); color: var(--ind); background: var(--ind-100); }

.vt-exit {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.vt-exit:hover {
  color: var(--ink-900);
  background: var(--line-2);
  border-color: var(--line);
  text-decoration: none;
}

/* The signed-in identity, as a chip. Deliberately inline-block, not
   flex: the name is a bare text node and the roles are a block <em>,
   so as flex children they sat side by side and the name wrapped. */
.vp-who {
  position: relative;
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 6px 13px 6px 27px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  line-height: 1.3;
  max-width: 260px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vp-who::before {
  content: "";
  position: absolute;
  left: 11px; top: 50%;
  margin-top: -3.5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--stamp);
  box-shadow: 0 0 0 3px var(--stamp-100);
}
.vp-who em {
  font-style: normal;
  display: block;
  font-family: var(--data);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-top: 1px;
}

/* the public nav brand and footer brand are links too */
.vs-nav .vt-brand,
.vs-foot .vt-brand { text-decoration: none; }

@media (max-width: 640px) {
  .vt-brand span { display: none; }
  .vp-who { max-width: 150px; padding: 5px 10px 5px 9px; }
  .vp-who em { display: none; }
}

/* ============================================================
   CHAT ACTION CARDS + ONBOARDING + ORDER TRACKING
   ============================================================ */
.vc-card {
  margin-top: 10px; padding: 13px 14px;
  border-radius: 14px; display: grid; gap: 8px;
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.vc-msg:not(.vc-msg--me) .vc-card {
  background: rgba(36,64,224,.05);
  box-shadow: inset 0 0 0 1px rgba(36,64,224,.16);
}
.vc-card__k {
  font-family: var(--data); font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; opacity: .78;
}
.vc-card__t { font-size: 19px; font-weight: 750; letter-spacing: -.03em; }
.vc-card__p { font-size: 12.8px; line-height: 1.5; opacity: .85; }
.vc-card__cta {
  display: inline-block; text-align: center; text-decoration: none;
  padding: 9px 15px; border-radius: 10px; font-size: 13.2px; font-weight: 600;
  background: var(--card); color: var(--ind); border: 0; cursor: pointer;
  box-shadow: 0 2px 8px -2px rgba(11,13,18,.2);
  transition: transform .16s ease, box-shadow .16s ease;
}
.vc-card__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(11,13,18,.28); }
.vc-card__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.vc-card__otp {
  border: 0; border-radius: 10px; padding: 9px 12px;
  font-family: var(--data); font-size: 16px; letter-spacing: .22em; text-align: center;
  background: var(--card); color: var(--ink-900);
  box-shadow: inset 0 0 0 1px var(--line);
}
.vc-card__qr {
  width: 190px; height: 190px; border-radius: 12px; background: #fff;
  padding: 8px; box-shadow: 0 4px 14px -4px rgba(11,13,18,.3);
}
.vc-msg--card { max-width: min(88%, 400px); }

/* staff action bar above the composer */
.vc-tools { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.vc-tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 500;
  background: var(--card); color: var(--ink-700); border: 0; cursor: pointer;
  box-shadow: var(--ring), var(--sh-1); transition: all .16s ease;
}
.vc-tool:hover { color: var(--ind); box-shadow: 0 0 0 1px rgba(36,64,224,.3), var(--sh-2); transform: translateY(-1px); }

/* thread switcher — one thread per vehicle */
.vc-threads { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; }
.vc-thread {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 12px; text-decoration: none;
  font-size: 13px; color: var(--ink-700); background: var(--card);
  box-shadow: var(--ring), var(--sh-1); transition: all .16s ease; white-space: nowrap;
}
.vc-thread:hover { color: var(--ink-900); transform: translateY(-1px); box-shadow: var(--ring), var(--sh-2); }
.vc-thread[aria-current="true"] { background: var(--grad-ind); color: #fff; box-shadow: var(--sh-glow); }
.vc-thread .vc-badge { min-width: 17px; height: 17px; font-size: 9.5px; }
.vc-thread[aria-current="true"] .vc-badge { background: rgba(255,255,255,.26); }

/* ---- onboarding sheet ---- */
.vo-hero {
  margin: -20px -20px 20px; padding: 30px 24px 24px;
  background: var(--grad-ind); color: #fff; text-align: center;
  border-radius: var(--r-xl) var(--r-xl) 0 0; position: relative; overflow: hidden;
}
.vo-hero::after {
  content: ""; position: absolute; inset: -50% -20% auto -20%; height: 160%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255,255,255,.22), transparent 70%);
}
.vo-hero > * { position: relative; z-index: 1; }
.vo-hero h2 { font-size: 23px; font-weight: 750; letter-spacing: -.035em; margin-bottom: 7px; }
.vo-hero p { font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.55; max-width: 40ch; margin-inline: auto; }
.vo-ring {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 20px;
  background: rgba(255,255,255,.16); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.vo-ring svg { width: 30px; height: 30px; }
.vo-why { display: grid; gap: 10px; margin-top: 18px; }
.vo-why li {
  list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 11px;
  font-size: 13.2px; color: var(--ink-500); line-height: 1.5; align-items: start;
}
.vo-why i {
  font-style: normal; width: 22px; height: 22px; border-radius: 7px;
  background: var(--ind-100); color: var(--ind); display: grid; place-items: center;
  font-size: 11px; font-weight: 700; margin-top: 1px;
}
.vo-why b { color: var(--ink-900); font-weight: 600; }

/* ---- tag code chip ---- */
.vt-code {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--data); font-size: 15px; font-weight: 700; letter-spacing: .18em;
  padding: 8px 14px; border-radius: 11px;
  background: linear-gradient(135deg, var(--ind-100), rgba(122,90,248,.1));
  color: var(--ind-700); box-shadow: inset 0 0 0 1px rgba(36,64,224,.2);
}
.vt-code small {
  font-family: var(--ui); font-size: 9.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; opacity: .65;
}

/* ---- order tracking ---- */
.vo-track { display: grid; gap: 0; position: relative; padding-left: 6px; }
.vo-track::before {
  content: ""; position: absolute; left: 15px; top: 22px; bottom: 22px; width: 2px;
  background: var(--line);
}
.vo-step {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 14px;
  align-items: start; padding: 13px 0; position: relative;
}
.vo-step__dot {
  width: 20px; height: 20px; border-radius: 50%; margin-left: 5px; margin-top: 2px;
  background: var(--card); box-shadow: inset 0 0 0 2px var(--line); z-index: 1;
  display: grid; place-items: center;
}
.vo-step[data-done="1"] .vo-step__dot {
  background: var(--stamp); box-shadow: 0 0 0 4px var(--stamp-100);
}
.vo-step[data-done="1"] .vo-step__dot::after {
  content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px,-1px);
}
.vo-step[data-now="1"] .vo-step__dot {
  background: var(--ind); box-shadow: 0 0 0 4px rgba(36,64,224,.18);
  animation: vo-pulse 2s ease-out infinite;
}
@keyframes vo-pulse {
  0% { box-shadow: 0 0 0 0 rgba(36,64,224,.4); }
  70% { box-shadow: 0 0 0 12px rgba(36,64,224,0); }
  100% { box-shadow: 0 0 0 0 rgba(36,64,224,0); }
}
.vo-step b { font-size: 14.5px; font-weight: 600; display: block; }
.vo-step p { font-size: 12.8px; color: var(--ink-500); margin-top: 2px; line-height: 1.5; }
.vo-step time { font-family: var(--data); font-size: 11px; color: var(--ink-300); white-space: nowrap; }
.vo-step[data-done="0"][data-now="0"] b,
.vo-step[data-done="0"][data-now="0"] p { opacity: .45; }

.vo-card {
  background: var(--card); border-radius: var(--r-xl); padding: 22px;
  box-shadow: var(--ring), var(--sh-2); display: grid; gap: 16px;
}
.vo-card__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vo-card__head h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; flex: 1; }
