/* codapp sales: phone first, a second layout from 900 px. Colors and sizes come from boards SW-1n/1d, SW-2n/2d, SW-3n/3d, SW-6f/6d. */
/* Inter, self-hosted (public/fonts, SIL Open Font License, OFL.txt): the Latin subset, which includes the curly quotes
   U+2018-201D (lead 2026-11-02: Segoe UI drew "’" like an acute accent on Windows). No third-party request; CSP font-src 'self'. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Buyer site v2 (boards SW-1w/1wd, 2w/2wd, 3w/3wd, 6w/6wd, 15*, 16; docs/design/SALES_EVENTS.md 2r-2t): white page, Inter,
   deep blue #1F4FD1 for buttons/links/logo, deal labels as colored text, one trust line, fewer boxes. */
:root {
  --brand: #1f4fd1;
  --brand-soft: #eaf0ff;
  --ink: #0e1726;
  --text: #1c1f24;
  --muted: #6b7280;
  --line: #e4e8ed;
  --line2: #d3d9e0;
  --soft: #f4f6f8;
  --good: #0b6e4f;
  --warn: #8a5a00;
  --warnbg: #fcefcf;
  --red: #b42318;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font:
    400 15px/1.45 "Inter",
    -apple-system,
    "SF Pro Text",
    "Segoe UI",
    system-ui,
    sans-serif;
  color: var(--text);
  background: #fff;
}
a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
.wrap {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 16px;
}
.only-desktop-placeholder {
  display: none;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.muted {
  color: var(--muted);
}
.grow {
  flex: 1;
  min-width: 0;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* header */
.top {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  z-index: 5;
}
.top .wrap {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  white-space: nowrap;
}
.brand b {
  color: var(--brand);
  font-weight: 600;
}
.logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.logo .icon {
  width: 18px;
  height: 18px;
  stroke: #fff;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a,
.nav summary {
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.nav a.accent,
.nav a.signin {
  color: var(--brand);
}
.nav a.signin .icon {
  width: 18px;
  height: 18px;
}
.top-search {
  display: none;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu {
  position: relative;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu[open] > summary {
  color: var(--brand);
}
.menu-panel {
  position: absolute;
  right: 0;
  top: 52px;
  width: 300px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(14, 23, 38, 0.16);
  padding: 6px 0;
  z-index: 20;
}
.menu-panel .who {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.menu-panel .who b {
  display: block;
  font-weight: 500;
  color: var(--ink);
}
.menu-panel .who-text span {
  font-size: 13px;
  color: var(--muted);
}
.menu-panel button {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.menu-panel button:hover {
  background: var(--soft);
}

/* type */
.h1 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.h2 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ink);
}
.small {
  font-size: 13px;
}
.label-red {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}

/* search + chips */
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 24px;
  border: 1px solid #b9c2cd;
  background: #fff;
  padding: 0 6px 0 16px;
  color: var(--muted);
  box-shadow: 0 2px 10px rgba(14, 23, 38, 0.07);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  min-height: 44px;
}
.search input::placeholder {
  color: var(--muted);
}
.search:focus-within {
  border-color: var(--brand);
}
.search button {
  display: none;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--line2);
  color: var(--text);
  font-weight: 400;
  font-size: 13.5px;
  background: #fff;
}
.chip[aria-current="true"] {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 500;
}
.chip .x {
  margin-left: 6px;
  color: var(--muted);
}
/* buttons: one filled button per screen */
.btn {
  min-height: 48px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  border: 0;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  cursor: pointer;
  width: 100%;
}
.btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.link {
  all: unset;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}
.link.grey {
  color: var(--muted);
}
/* a bold text link (button rule 3; boards SW-5s1n/SW-5s1nd "Back to the cars": 600, 15px phone, 16px computer) */
.link.bold {
  font-weight: 600;
}
@media (min-width: 900px) {
  .link.bold {
    font-size: 16px;
  }
}

/* cars */
.cars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.car {
  display: block;
  position: relative;
  color: var(--text);
  font-weight: 400;
}
.car-link {
  display: block;
  color: var(--text);
  font-weight: 400;
}
.photo {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #f1f3f6 55%, #d3d9e0 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa3ad;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo .icon {
  width: 44px;
  height: 44px;
}
.tag {
  position: absolute;
  left: 8px;
  top: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 1;
}
.tag.warn {
  background: var(--warnbg);
  color: var(--warn);
}
.count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(14, 23, 38, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 1;
}
.count .icon {
  width: 12px;
  height: 12px;
}
.heart {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 2;
  box-shadow: 0 1px 4px rgba(14, 23, 38, 0.16);
}
.heart .icon {
  width: 16px;
  height: 16px;
}
.car .info {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.car .price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price {
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.deal {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.deal.good {
  color: var(--good);
}
.deal.high {
  color: var(--warn);
}
.car .title {
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  line-height: 20px;
}
.car .meta {
  font-size: 14px;
  color: var(--muted);
  line-height: 20px;
}

/* trust line */
.trust {
  /* boards SW-18/1w/2w/2ws: phone 12px/18px; computer keeps 13px with an 18px line (#4058) */
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
@media (min-width: 900px) {
  .trust {
    font-size: 13px;
  }
}
.trust a {
  font-weight: 500;
}
/* deal-label note under the /cars list: boards SW-6*, 12px/16px on phone and computer (#4149) */
.deal-note {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.foot {
  padding: 16px 0 24px;
}
/* home */
main {
  padding: 12px 0 24px;
}
.home-hero .h1 {
  margin-bottom: 12px;
}
.home-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event-card {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-weight: 400;
}
.venue-art {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #eef0ea;
  flex: none;
}
.venue-art svg {
  display: block;
  width: 100%;
  height: 100%;
}
.venue-art .date-chip {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(14, 23, 38, 0.18);
  line-height: 1.1;
}
.date-chip span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.5px;
}
.date-chip b {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.venue-art .art-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--text);
}
.event-card .venue-art {
  width: 112px;
  height: 88px;
}
.event-card .date-chip {
  left: 6px;
  top: 6px;
  padding: 2px 8px;
}
.event-card .date-chip b {
  font-size: 17px;
}
.next-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.event-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 22px;
  letter-spacing: -0.2px;
}
.event-meta {
  font-size: 14px;
  color: var(--muted);
}
.thumbs {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 6px 0;
}
.thumbs span {
  width: 40px;
  height: 30px;
  border-radius: 5px;
  background: var(--soft);
  overflow: hidden;
  display: block;
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 10px;
}
.scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 0 16px;
}
.scroll-row .car {
  width: 158px;
  flex: none;
}
.more-events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.more-events a {
  color: var(--text);
  font-weight: 400;
  display: block;
}
.more-events .venue-art {
  width: 100%;
  height: 96px;
}
.more-events .date-chip {
  left: 8px;
  top: 8px;
}
.more-events .ev-title {
  font-weight: 500;
  color: var(--ink);
  margin-top: 6px;
}
.selling-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 500;
}
.selling-row span {
  font-weight: 400;
  color: var(--muted);
}
/* event page */
.ev-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ev-hero .venue-art {
  width: calc(100% + 32px);
  margin: -12px -16px 0;
  border-radius: 0;
  height: 160px;
}
.ev-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.ev-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 16px 0 8px;
}
.ev-bar .count-h {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.sort {
  font-size: 14px;
  color: var(--muted);
}

/* round icon buttons on a map or photo */
.round-btn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 1px 6px rgba(14, 23, 38, 0.2);
  cursor: pointer;
}
.ev-hero .btn {
  color: #fff;
}

/* results */
.crumb {
  margin-bottom: 8px;
}
.res-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 12px;
}
.filters {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fgroup {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.fgroup > summary,
.fgroup > .fhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  min-height: 28px;
}
.fgroup > summary::-webkit-details-marker {
  display: none;
}
.fgroup > summary span {
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
}
.range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.range input,
.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
}
.checks label,
.opts label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}
.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.opts label {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line2);
  border-radius: 18px;
}
.f-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: sticky;
  bottom: 0;
  background: #fff;
  gap: 12px;
}
.f-actions .btn {
  width: auto;
  flex: 1;
}
.empty {
  padding: 32px 0;
  color: var(--muted);
}
/* car page */
.gallery {
  position: relative;
  margin: -12px -16px 0;
}
.gallery .photo {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.gallery .counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(14, 23, 38, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 6px;
  z-index: 1;
}
.gallery .round {
  position: absolute;
  top: 12px;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 1px 6px rgba(14, 23, 38, 0.2);
  z-index: 2;
  border: 0;
  cursor: pointer;
}
.gallery .round.left {
  left: 12px;
}
.gallery .round.r1 {
  right: 12px;
}
.gallery .round.r2 {
  right: 64px;
}
.car-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
}
.car-title {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
}
.car-price {
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.4px;
}
.status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--good);
  margin-top: 7px;
  flex: none;
}
.status b {
  font-weight: 500;
  color: var(--ink);
  display: block;
}
.status span {
  color: var(--muted);
  font-size: 14px;
}
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
  margin: 0;
}
.specs dt {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.specs dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.specs > div {
  min-width: 0;
}
/* A dealer's VIN (VC §11713.1(a); boards SW-3s1v, SW-3s1dv): its own row on the phone, one line, never wraps. */
.specs .vin {
  grid-column: 1 / -1;
}
.specs .vin dd {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checkline .icon {
  color: var(--good);
  margin-top: 2px;
}
.checkline b {
  font-weight: 400;
  color: var(--ink);
}
.checkline p {
  font-size: 13px;
  color: var(--muted);
}
.more summary {
  list-style: none;
  cursor: pointer;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more[open] .clamp,
.more[open] .more-link {
  display: none;
}
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.more-link {
  color: var(--brand);
  font-weight: 500;
}
.seller {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.seller .av {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  flex: none;
}
.seller small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.relay-note {
  font-size: 13px;
  color: var(--muted);
}
.sticky {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  margin: 16px -16px -24px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sticky .pair {
  display: flex;
  gap: 10px;
}
.sticky .call {
  width: 56px;
  flex: none;
  border: 1px solid var(--line2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  min-height: 48px;
}
.tools {
  display: flex;
  justify-content: space-between;
}
.mini-map {
  display: flex;
  gap: 12px;
  align-items: center;
}
.mini-map .venue-art {
  width: 150px;
  height: 86px;
}
.mini-map .art-chip {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 12px;
  font-weight: 600;
}
/* Business sellers (SW-3s1, SW-3s1d, APPROVED; founder 2026-11-22: the Private and Business seller badges share one width, 96 px). */
.seller-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 96px;
  height: 18px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  vertical-align: 1px;
  flex: none;
  white-space: nowrap;
}
.seller-badge.business {
  background: #f1eafb;
  color: #6b3fb5;
}
/* The business's city beside the title (SW-3s1 phone: right of the title; SW-3s1d computer: after the badge). A long name wraps and a long
   city is cut with an ellipsis, so the row never makes the page scroll sideways at 360 px. */
.title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.title-row .car-title {
  min-width: 0;
}
.where {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 45%;
  font-size: 12.5px;
  color: var(--muted);
}
.where .icon {
  flex: none;
  width: 14px;
  height: 14px;
}
.where-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.seller-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  line-height: 18px;
}
.seller-line .seller-badge {
  flex: none;
}
.seller-line .where {
  max-width: none;
}
.seller-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}
.licence-badge summary {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  padding: 0 9px;
  margin: 10px 0;
  border-radius: 12px;
  border: 1px solid #c9d0d9;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.licence-badge summary::-webkit-details-marker {
  display: none;
}
.licence-badge p {
  margin: 0 0 8px;
  max-width: 320px;
}
/* sign in (boards SW-15*) */
.auth {
  max-width: 420px;
  margin: 0 auto;
  padding: 8px 0 24px;
}
.auth h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.auth .lead {
  color: var(--muted);
  margin-bottom: 20px;
}
.auth form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.phone-field {
  display: flex;
  align-items: center;
  /* the boards' box line */
  border: 1px solid #b9c2cd;
  border-radius: 12px;
  min-height: 52px;
  overflow: hidden;
}
.phone-field:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}
.pw-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line2);
  border-radius: 12px;
  min-height: 52px;
  overflow: hidden;
}
.pw-field:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}
.pw-field input {
  border: 0;
  outline: 0;
  flex: 1;
  min-height: 50px;
  padding: 0 12px;
  font-size: 17px;
}
/* "Show": 14 px, 500, its text 14 px in from the box's edge (every board with a password box) */
.pw-field .link {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  font-size: 14px;
  font-weight: 500;
}
/* "US +1" at the number's own size, 14 px in from the box's edge and 10 px before its line, then 10 px to the number (every
   sign-in-flow board with the "US +1" box) */
.phone-field span {
  padding: 0 10px 0 14px;
  font-size: 17px;
  color: var(--muted);
  /* the boards' line after "US +1": 20 px tall, #E6E9EE */
  border-right: 1px solid #e6e9ee;
  height: 20px;
  display: flex;
  align-items: center;
}
.phone-field input {
  border: 0;
  outline: 0;
  flex: 1;
  min-height: 50px;
  padding: 0 12px 0 10px;
  font-size: 17px;
}
/* The send step ("One step to send", held for the founder in #3569) keeps its number box as it was. */
.auth:has(.step-skip) .phone-field:not(:focus-within) {
  border-color: var(--line2);
}
.auth:has(.step-skip) .phone-field span {
  padding: 0 12px;
  font-size: inherit;
  border-right-color: var(--line);
  height: 28px;
}
.auth:has(.step-skip) .phone-field input {
  padding: 0 12px;
}
.fine {
  font-size: 13px;
  color: var(--muted);
}
/* Terms · Privacy after a legal line (SW-15t, SW-20t): dark (#111827 on every board that shows them), bold, underlined. */
.fine .legal-link {
  color: #111827;
  font-weight: 700;
  text-decoration: underline;
}
/* The terms notice above a sign-in button (#3146): body size and the body colour, never the grey of .fine; the links as the legal ones. */
.signup-notice {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}
.signup-notice a {
  color: #111827;
  font-weight: 700;
  text-decoration: underline;
}
/* The texting consent (line B) under the sign-in card: body size and the body colour like the terms notice (advisor-legal 2026-11-24);
   only the look changed, never its words or its place. */
.body-line {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}
.body-line .legal-link {
  color: #111827;
  font-weight: 700;
  text-decoration: underline;
}
/* the six code boxes: #B9C2CD, and a 2 px blue line on the focused one (every board with code boxes); on phones 48 px wide,
   spread across the column (14 px apart at 390) */
.otp {
  display: flex;
  gap: 8px;
}
.otp input {
  width: 100%;
  max-width: 52px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  border: 1px solid #b9c2cd;
  border-radius: 10px;
}
.otp input:focus {
  border: 2px solid var(--brand);
  outline: 0;
}
@media (max-width: 899px) {
  .otp {
    justify-content: space-between;
  }
  .otp input {
    max-width: 48px;
  }
}
.otp.bad input {
  border-color: var(--red);
  color: var(--red);
}
.single {
  letter-spacing: 8px;
  font-size: 22px;
  min-height: 56px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 0 14px;
  width: 100%;
}
.err {
  display: flex;
  gap: 8px;
  color: var(--red);
  font-size: 14px;
  align-items: flex-start;
}
.err .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.center {
  text-align: center;
}

/* about / prose */
.prose {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 24px;
}
.prose h1 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}
.prose h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 6px;
}
.close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
.card {
  background: #fff;
}
/* show/hide by width */
@media (max-width: 899px) {
  .only-desktop {
    display: none !important;
  }
}

@media (min-width: 900px) {
  .wrap {
    padding: 0 24px;
  }
  .only-phone {
    display: none !important;
  }
  .top .wrap {
    height: 68px;
  }
  .brand {
    font-size: 19px;
  }
  .logo {
    width: 30px;
    height: 30px;
  }
  .top-search {
    display: flex;
    flex: 1;
    max-width: 540px;
    margin-left: 24px;
    min-height: 44px;
    box-shadow: none;
    border-color: var(--line2);
  }
  .top-search input {
    font-size: 15px;
  }
  .nav {
    gap: 8px;
  }
  .nav a,
  .nav summary {
    font-weight: 400;
  }
  .nav a.signin,
  .nav a.accent {
    font-weight: 500;
  }
  main {
    padding: 20px 0 32px;
  }
  .h1 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.6px;
  }
  .home-top {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px 48px;
    align-items: start;
  }
  .home-hero .search {
    width: 600px;
    max-width: 100%;
    min-height: 56px;
    border-radius: 28px;
    padding-left: 18px;
  }
  .home-hero .search button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    border: 0;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
  }
  .hero-row {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .hero-row .chips {
    flex: 1;
    min-width: 0;
  }
  .event-card .venue-art {
    width: 280px;
    height: 150px;
  }
  .event-card {
    gap: 20px;
    align-items: flex-start;
    margin-top: 8px;
  }
  .event-card .date-chip {
    left: 10px;
    top: 10px;
    padding: 4px 10px;
  }
  .event-card .date-chip b {
    font-size: 22px;
  }
  .event-title {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.4px;
  }
  .event-meta {
    font-size: 15px;
  }
  .side-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .side-list a {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--text);
    font-weight: 400;
  }
  .side-list .venue-art {
    width: 72px;
    height: 50px;
    border-radius: 8px;
  }
  .side-list .venue-art .date-chip {
    display: none;
  }
  .side-list b {
    font-weight: 500;
    color: var(--ink);
    display: block;
  }
  .home-cars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .home-cars .car {
    width: auto;
  }
  .scroll-row.only-phone {
    display: none !important;
  }
  .cars {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
  }
  .cars.six {
    grid-template-columns: repeat(6, 1fr);
  }
  .photo {
    aspect-ratio: 4 / 3;
  }
  .price {
    font-size: 18px;
  }
  .section-head {
    margin: 28px 0 12px;
  }
  .ev-hero {
    display: grid;
    grid-template-columns: 300px 1fr 280px;
    gap: 32px;
    align-items: start;
  }
  .ev-hero .venue-art {
    width: 300px;
    height: 160px;
    margin: 0;
    border-radius: 12px;
  }
  .ev-hero .btn {
    width: 100%;
  }
  .layout {
    display: grid;
    grid-template-columns: 232px 1fr;
    gap: 32px;
    align-items: start;
  }
  .layout .side {
    position: sticky;
    top: 12px;
  }
  .gallery {
    margin: 0;
  }
  .gallery .photo {
    aspect-ratio: 3 / 2;
    border-radius: 12px;
  }
  .car-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
  }
  .car-side {
    position: sticky;
    top: 16px;
  }
  .car-main {
    padding-top: 0;
  }
  .car-title {
    font-size: 24px;
    font-weight: 500;
  }
  .car-price {
    font-size: 32px;
    line-height: 40px;
  }
  .specs {
    grid-template-columns: repeat(6, 1fr);
  }
  .specs .vin {
    grid-column: 1 / 3;
  }
  .sticky {
    display: none;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
  }
  .gallery-grid .photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 120px;
  }
  .gallery-grid .side-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
  }
  .auth {
    padding-top: 24px;
  }
}

/* home event card */
.art-link {
  display: block;
  flex: none;
}
.event-card .event-title {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.event-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}
.event-card .venue-art {
  width: 112px;
  height: 88px;
}
.thumbs {
  display: flex;
}

/* layout helpers (no inline styles: the page policy forbids them) */
.u1e05f9 {
  min-height: 32px;
}
.u2592cc {
  font-size: 16px;
}
.u304cd5 {
  gap: 8px;
}
.u3ae1f6 {
  margin-top: 20px;
}
.u3ba6d5 {
  margin-left: 16px;
}
.u3de891 {
  justify-content: space-between;
  margin-bottom: 8px;
}
.u42202d {
  font-weight: 500;
  color: var(--ink);
}
.u42c543 {
  gap: 12px;
  align-items: center;
}
.u4b015f {
  margin-top: 32px;
}
.u4ddbe9 {
  white-space: nowrap;
}
.u4eb23a {
  color: #fff;
}
.u502134 {
  font-size: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.u52c6de {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
}
.u5380a7 {
  letter-spacing: 4px;
}
.u53896a {
  margin-top: 0;
}
.u5c3d68 {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.u6b5638 {
  font-size: 24px;
  line-height: 30px;
}
.u711f37 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
}
.u7e08ab {
  gap: 16px;
}
.u87ddc0 {
  color: var(--muted);
}
.u8e3e60 {
  justify-content: center;
  font-weight: 400;
}
.u912d2b {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.u94f736 {
  grid-template-columns: repeat(4, 1fr);
}
.u959bb5 {
  gap: 6px;
}
.u9b54a3 {
  justify-content: center;
}
.ua7409f {
  margin-bottom: 10px;
}
.ua84e1d {
  padding-top: 14px;
}
.uae3a49 {
  justify-content: space-between;
  padding: 4px 0 8px;
}
.ub0043e {
  margin-top: 16px;
}
.uc451fd {
  position: relative;
}
.ucac3b0 {
  margin-bottom: 16px;
  -webkit-mask-image: none;
  mask-image: none;
  flex-wrap: wrap;
}
.ucc89b5 {
  margin-top: -8px;
}
.udaae84 {
  justify-content: space-between;
}
.ue634e6 {
  font-weight: 600;
}
.ue8c8ef {
  padding-top: 20px;
}
.uf1bde2 {
  font-weight: 400;
}
.ufa3e1c {
  margin-bottom: 12px;
}

/* late overrides: sizes that must win over the blocks above */
.car .meta {
  font-size: 13px;
}
.side-list .venue-art .icon {
  width: 28px;
  height: 28px;
}
@media (min-width: 900px) {
  .car .meta {
    font-size: 14px;
  }
  .event-card .venue-art {
    width: 280px;
    height: 150px;
  }
  .event-card .date-chip {
    left: 10px;
    top: 10px;
    padding: 4px 10px;
  }
  .event-card .date-chip b {
    font-size: 22px;
  }
  .event-card {
    gap: 24px;
  }
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.ev-hero .row .btn {
  width: auto;
  flex: 1;
}
.ev-hero .row .link {
  flex: none;
}
@media (min-width: 900px) {
  .ev-hero .row .btn {
    width: 100%;
  }
}
/* v3 style pass (boards SW-*w, SALES_EVENTS 2u): weights 400-600, blue only where it acts, red only in the date badge,
   inline text links dark (#111827), weight 500, underlined 3px below in #b9c2cd, at most two overlays on a card photo (Save and one trust tag). */
.fgroup > summary {
  font-weight: 500;
}
.trust a,
.deal-note a,
.inline-link,
.more-link {
  color: #111827;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #b9c2cd;
}
.nav a.accent {
  color: var(--ink);
  font-weight: 400;
}
.tag {
  top: auto;
  bottom: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  line-height: 1.25;
}
.tag.warn {
  max-width: 140px;
}
.car .count {
  display: none;
}
.vcount {
  display: inline-flex;
}
@media (max-width: 899px) {
  .nav a.accent {
    color: var(--brand);
    font-weight: 500;
  }
  .page-bare .top {
    display: none;
  }
}
@media (min-width: 900px) {
  .tag.warn {
    max-width: calc(100% - 16px);
  }
}
.bar {
  display: flex;
  align-items: center;
  gap: 4px;
  /* 52 px and a 1 px #E6E9EE line under it, as on every sign-in-flow bar board; 15 px below keeps the 56 px the pages count */
  height: 53px;
  border-bottom: 1px solid #e6e9ee;
  margin: -12px -16px 15px;
  /* 4 px each side, as on every sign-in-flow bar board: the back arrow at x 4, the title at 52 */
  padding: 0 4px;
  font-size: 17px;
  color: var(--ink);
}
/* the bar's title: 500 on every sign-in-flow bar board */
.bar > span {
  font-weight: 500;
  line-height: 20px;
}
.bar .back {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
/* the boards' icons: the back arrow 22 px; the help ⓘ 24 px in the bar and in the sign-in dialog (the site header's stays 22) */
.bar .back .icon {
  width: 22px;
  height: 22px;
}
.bar .help-btn .icon,
.dialog-help .help-btn .icon {
  width: 24px;
  height: 24px;
}
.auth {
  display: flex;
  flex-direction: column;
}
/* The sign-in card (the phone page and the computer dialog), in the boards' own values: the heading's line 28 px, the lead's
   21, the label's 17, the small lines' 18. The page's rows are 18 px apart (the board's column gap); the dialog keeps its 16.
   "Use email and password instead" sits 8 px closer to the button, and line B and "Your number is not shared…" are one pair,
   6 px apart. The link is blue and "Not now" grey, both 500 (.link). Add your number (.auth.add-number) is not this card. */
.signin-card h1 {
  line-height: 28px;
}
.signin-card .lead {
  line-height: 21px;
}
.signin-card .field label {
  line-height: 17px;
}
.signin-card .fine {
  line-height: 18px;
}
.signin-card form > a.link {
  margin-top: -8px;
}
.signin-card:not(.auth-dialog) h1,
.signin-card:not(.auth-dialog) .lead {
  margin-bottom: 18px;
}
.signin-card:not(.auth-dialog) form {
  gap: 18px;
}
.signin-card:not(.auth-dialog) form .fine + .fine {
  margin-top: -12px;
}
.signin-card.auth-dialog form .fine + .fine {
  margin-top: -10px;
}
/* The reset steps (number, new password), Add your number and the code steps (`code-step`: the sign-in, reset and Add your
   number codes, one layout), in their phone boards' values: the heading's line 28, the lead's 21, the labels' 17, the small
   lines' 18. The number and new-password steps space their rows 8 px apart; the code steps and Add your number 18, like the
   sign-in card. */
.auth.reset-number h1,
.auth.code-step h1,
.auth.reset-new h1,
.auth.add-number h1 {
  line-height: 28px;
}
.auth.reset-number .lead,
.auth.code-step .lead,
.auth.add-number .lead {
  line-height: 21px;
}
.auth.reset-number .field label,
.auth.reset-new .field label,
.auth.add-number .field label {
  line-height: 17px;
}
.auth.reset-number .fine,
.auth.code-step .fine,
.auth.reset-new .fine,
.auth.add-number .fine {
  line-height: 18px;
}
.auth.reset-number .lead {
  margin-bottom: 8px;
}
.auth.reset-number form,
.auth.reset-new form {
  gap: 8px;
}
.auth.reset-new .field > .fine {
  margin-top: 6px;
}
.auth.code-step h1,
.auth.code-step .lead,
.auth.add-number h1,
.auth.add-number .lead {
  margin-bottom: 18px;
}
.auth.code-step form,
.auth.add-number form {
  gap: 18px;
}
/* the code steps: "Didn't get it?" (14 px while it counts down) centred 18 px under the button's row, the small line 18 px under it */
.auth.code-step form.center {
  margin-top: 5px;
  align-items: center;
}
.auth.code-step > .fine {
  margin-top: 4px;
}
.auth.code-step .link.waiting {
  font-size: 14px;
}
/* the number in the code steps' lead: 500, dark (SW-15c) */
.auth.code-step .lead b {
  font-weight: 500;
  color: var(--ink);
}
/* the new password's box, not focused: #B9C2CD like every unfocused box on the boards */
.auth.reset-new .pw-field:not(:focus-within) {
  border-color: #b9c2cd;
}
/* The email sign-in card (the phone page and the computer dialog), in its boards' values: the heading's line 28, the labels'
   17, the small line's 18; the email box drawn like the password box (52 px, radius 12, 14 px in, 17 px text, #B9C2CD);
   "Forgot password?" and "Use a phone code instead" one centred row of blue links, 24 px apart. The page's rows are 8 px
   apart; the dialog keeps its 16. */
.email-card h1 {
  line-height: 28px;
}
.email-card .field label {
  line-height: 17px;
}
.email-card .fine {
  line-height: 18px;
}
/* The new-person line's link with texts off (SW-19t family): drawn 13px / 18px, #1F4FD1, 500, underlined 3px off; NOT the 15px .link.
   The 44px tap area is a pseudo-element, so the drawn look stays as the board has it. */
.email-card .fine .new-account-link {
  position: relative;
  color: #1f4fd1;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.email-card .fine .new-account-link::after {
  content: "";
  position: absolute;
  inset: -13px -4px;
}
.email-card .field input[type="email"] {
  min-height: 52px;
  border-color: #b9c2cd;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 17px;
}
.email-card .pw-field:not(:focus-within) {
  border-color: #b9c2cd;
}
.email-card .pw-field input {
  padding: 0 14px;
}
.email-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 24px;
}
.auth .notnow {
  margin-top: auto;
  padding-top: 24px;
  /* a centred row at the bottom (SW-15, SW-23un): `.center` is text-align, which does not move a flex link */
  justify-content: center;
}
@media (max-width: 899px) {
  /* the sign-in page: the heading 20 px under the bar's line, as on the board (the card's own top is 8 elsewhere) */
  .signin-card:not(.auth-dialog),
  .auth.reset-number,
  .auth.code-step,
  .auth.reset-new,
  .auth.add-number,
  .email-card:not(.auth-dialog) {
    padding-top: 5px;
  }
  .email-card:not(.auth-dialog) form {
    gap: 8px;
  }
  /* only the number pages, where "Not now" sits at the bottom (Sign in, Add your number); the other steps are as
     tall as their content (no empty scroll). Both are bare pages with their own bar (52 px, margins -12/+16: 56), main's
     padding (12 + 24) and the site footer (--legal-h) under them, so nothing scrolls at 360×800 */
  .auth:has(.notnow) {
    min-height: calc(100vh - 56px - 36px - var(--legal-h));
    min-height: calc(100dvh - 56px - 36px - var(--legal-h));
  }
  /* Add your number (SW-23un): a bare page with its own bar (52 px, margins -12/+16: 56), main's padding (12 + 24) and the
     SW-F1 footer (--legal-h) under it, so Not now sits at the bottom with nothing to scroll at 360×800 */
  .auth.add-number:has(.notnow) {
    min-height: calc(100vh - 56px - 36px - var(--legal-h));
    min-height: calc(100dvh - 56px - 36px - var(--legal-h));
  }
}

/* phone Home (SW-1w v3): search, the next event as one row, the cars in two columns, More events and Thinking about selling as rows */
.next-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 400;
  margin: 12px 0 4px;
}
.next-row .venue-art {
  width: 112px;
  height: 80px;
}
.next-row .date-chip {
  left: 6px;
  top: 6px;
  padding: 2px 8px;
}
.next-row .date-chip b {
  font-size: 17px;
}
.next-row .chev {
  color: var(--muted);
  font-size: 22px;
}
.cars.two {
  grid-template-columns: 1fr 1fr;
}
.row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: var(--ink);
  font-weight: 400;
}
.row-link b {
  font-weight: 500;
  margin-right: 8px;
}
.row-link .muted {
  font-weight: 400;
}
.row-link .chev {
  color: var(--muted);
  font-size: 20px;
  flex: none;
}

.side-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.side-head .h2 {
  font-size: 16px;
}
.icon-art {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  color: #9aa3ad;
}

.next-row .grow > span {
  display: block;
}
.next-row .event-title {
  font-size: 16px;
  line-height: 21px;
}
.next-row .event-meta {
  font-size: 13px;
}
.row-link > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.row-link b {
  font-size: 15px;
}
@media (min-width: 900px) {
  .home-top {
    margin-top: 36px;
  }
}

/* the phone "More events" row fits one line at 390 (reviewer-2): smaller text, no ellipsis for two events */
.row-link > span:first-child {
  font-size: 13px;
  letter-spacing: -0.1px;
}
.row-link > span:first-child b {
  font-size: 14px;
  margin-right: 6px;
}
/* Filters v3 (boards SW-6wd, SW-6wdm, SW-6wf, SW-6wm, SW-6wn): labels inside the boxes, Make then Model lists, tick chips with counts */
.filters .fgroup.open {
  padding: 12px 0 8px;
  border-bottom: 0;
}
.fhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  color: var(--ink);
  min-height: 24px;
}
.fhead .hint {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}
.pair-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.pair-fields.grid-top {
  margin-top: 8px;
}
.fgroup.open .pair-fields:has(> .pick) {
  grid-template-columns: 1fr;
}
.box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  padding: 4px 36px 4px 12px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  text-decoration: none;
  min-width: 0;
}
.box::-webkit-details-marker {
  display: none;
}
.box .lab {
  font-size: 11px;
  line-height: 14px;
  color: var(--muted);
}
.box .val {
  font-size: 15px;
  line-height: 20px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.box .val i,
.pick-row i,
.fchip i {
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
}
.link-box::after,
.pick > summary.box::after,
.box.sel::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.box.sel select,
.box .amount input {
  border: 0;
  padding: 0;
  min-height: 0;
  height: 20px;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  appearance: none;
  outline: none;
}
.box.sel select {
  cursor: pointer;
}
.box:focus-within {
  border-color: var(--brand);
}
.box .amount {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: 15px;
  color: var(--ink);
}
.box:has(input:placeholder-shown) .cur {
  display: none;
}
.box .amount input::placeholder {
  color: var(--muted);
}
.box.off,
.pick.off > summary.box {
  background: var(--soft);
  cursor: default;
}
.box.off .val,
.pick.off .val,
.box.off .lab {
  color: #9aa3ad;
}
.pick.off > summary.box::after,
.box.off::after {
  opacity: 0.4;
}
.add-make {
  display: inline-block;
  margin: 12px 0 4px;
  color: var(--brand);
  font-weight: 500;
}
.add-make span {
  margin-right: 4px;
}
.pick {
  position: relative;
}
.pick-panel {
  position: absolute;
  z-index: 20;
  left: 0;
  top: calc(100% + 4px);
  width: 268px;
  max-height: 440px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(14, 23, 38, 0.14);
  padding: 8px;
}
.pick-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}
.pick-search input {
  border: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  min-height: 38px;
  background: transparent;
}
.pick-search .icon {
  width: 16px;
  height: 16px;
  flex: none;
}
.pick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 8px 0 4px;
  border-radius: 8px;
  cursor: pointer;
}
.pick-row[hidden] {
  display: none;
}
.pick-row > span {
  flex: 1;
}
.pick-row:has(input:checked) {
  background: var(--brand-soft);
}
.pick-row input {
  accent-color: var(--brand);
}
.pick-note {
  margin: 8px 4px 2px;
  font-size: 12px;
  color: var(--muted);
}
.pick-note.lead {
  margin: 4px 0 6px;
  font-size: 13px;
}
.fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line2);
  border-radius: 19px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
}
.fchip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fchip:has(input:checked) {
  background: var(--brand-soft);
  border-color: var(--brand);
}
.fchip:has(input:checked) .t::before {
  content: "✓ ";
  color: var(--brand);
}
.fchip:has(input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.fchip.zero {
  color: #aab2bb;
  border-color: var(--line);
  cursor: default;
}
.fchip.zero i {
  color: #c2c8cf;
}
.fchips.tiles .fchip {
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  min-height: 60px;
  border-radius: 10px;
  padding: 0 4px;
}
.fchip svg {
  width: 48px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.fchips.tiles .fchip:has(input:checked) .t::before {
  content: "";
}
.sheet-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  margin: 0 -16px 8px;
  padding: 0 8px;
}
.sheet-bar > b {
  font-weight: 500;
  font-size: 17px;
  text-align: center;
}
.sheet-bar > :last-child {
  justify-self: end;
  padding-right: 8px;
}
.sheet-bar .round-btn {
  box-shadow: none;
  justify-self: start;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--brand);
  font-weight: 500;
}
.back-link .icon {
  width: 20px;
  height: 20px;
}
.list-page .pick-list {
  margin-top: 4px;
}
.pick-row.big {
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0 2px;
  font-size: 16px;
}
.pick-row.big:has(input:checked) {
  background: transparent;
}
.pick-row.big.static .box-ph {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line2);
  border-radius: 4px;
}
.pick-row.big input {
  width: 20px;
  height: 20px;
}
.pick-row.big.check input {
  border-radius: 4px;
}
@media (min-width: 900px) {
  .filters .box {
    min-height: 48px;
  }
  .pick-panel {
    width: 280px;
  }
}
.pick-row > .box-ph {
  flex: none;
}
.filters.list-page,
.filters.sheet-form {
  min-height: calc(100vh - 66px);
}
.list-page .f-actions,
.sheet-form .f-actions {
  margin-top: auto;
  border-top: 1px solid var(--line);
  margin-left: -16px;
  margin-right: -16px;
  padding: 10px 16px;
}

/* several makes (boards SW-6wdx, SW-6wfx, SW-6wmx, SW-6wnx) */
.pair-fields.one {
  grid-template-columns: 1fr;
}
.pick-row.zero {
  color: #aab2bb;
  cursor: default;
}
.pick-row.zero i {
  color: #c2c8cf;
}
.pick-note b {
  color: var(--ink);
  font-weight: 600;
}
.pick-note.limit {
  background: var(--soft);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0 4px;
}
.pick-row.big > .grow-label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  cursor: pointer;
  min-width: 0;
}
.pick-row.big .mk {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.models-blue {
  color: var(--brand);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chev-blue {
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 44px;
}
.chev-blue .icon {
  width: 16px;
  height: 16px;
}
.tile-art {
  display: block;
  width: 52px;
}
.tile-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.fchip.zero .tile-art {
  opacity: 0.45;
}
.chips.wraps {
  flex-wrap: wrap;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}
.layout .side {
  z-index: 30;
}
/* Measured against the boards' CSS (SW-6wd, SW-6wdx, SW-6wf, SW-6wfx, SW-6wmx; design-sales 2026-11-02) */
.box {
  border: 1px solid #b9c2cd;
  padding: 5px 36px 5px 12px;
  min-height: 48px;
  min-width: 0;
}
.box .lab {
  font-size: 11.5px;
  line-height: 14px;
}
.box .val,
.box.sel select,
.box .amount,
.box .amount input {
  font-size: 14.5px;
  line-height: 20px;
}
.box.off .val,
.box .val.muted-val {
  color: var(--muted);
}
.pair-fields {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.pair-fields.one,
.fgroup.open .pair-fields:has(> .pick) {
  grid-template-columns: minmax(0, 1fr);
}
.pick {
  min-width: 0;
}
@media (min-width: 900px) {
  /* the sidebar: Filters 17/500; every group's header 40px, title 14/500, value 13 grey with ▴ or ▾ */
  .side .filters > .row {
    margin-bottom: 0;
  }
  .side .filters > .row b {
    font-size: 17px;
    font-weight: 500;
  }
  .side .filters > .row a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .side .fgroup,
  .side .fgroup.open {
    border-bottom: 1px solid #e6e9ee;
    padding: 0;
  }
  .side .fgroup.open {
    padding-bottom: 10px;
  }
  .side .fgroup > summary,
  .side .fgroup > .fhead {
    min-height: 40px;
    font-size: 14px;
    font-weight: 500;
    align-items: center;
  }
  .side .fhead b {
    font-weight: 500;
  }
  .side .fgroup > summary span,
  .side .fhead .fval {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
  }
  .side .pair-fields {
    margin-top: 0;
    gap: 8px;
  }
  .side .pair-fields.one {
    gap: 8px;
  }
  .side .pick-note:not(.lead) {
    font-size: 12px;
    padding-top: 6px;
    margin: 0;
  }
  .side .opts,
  .side .fchips {
    padding-bottom: 10px;
    margin-top: 0;
  }
}
/* phone sheets: one full-height column; header and bar stay, the rest fits (no scroll at 390 and 360) */
@media (max-width: 899px) {
  .sheet-bar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 51;
    height: 52px;
    margin: 0;
    background: #fff;
    padding: 0 8px;
  }
  .sheet-bar > b {
    font-size: 17px;
  }
  .sheet-bar > a.link:last-child {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
  }
  .sheet-bar .round-btn {
    font-size: 24px;
  }
  .filters.sheet-form,
  .filters.list-page {
    position: fixed;
    inset: 52px 0 0 0;
    z-index: 50;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px 0;
    margin: 0;
    min-height: 0;
    overflow-y: auto;
  }
  .filters.list-page {
    gap: 0;
  }
  .sheet-form .fgroup.open {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .sheet-form .fhead {
    min-height: 0;
    font-size: 15px;
    font-weight: 500;
    align-items: baseline;
  }
  .sheet-form .fhead b {
    font-weight: 500;
  }
  .sheet-form .fhead .hint {
    font-size: 12.5px;
  }
  .sheet-form .pair-fields {
    margin-top: 0;
    gap: 8px;
  }
  .sheet-form .pair-fields.one {
    grid-template-columns: minmax(0, 1fr);
  }
  .sheet-form .fchips {
    margin-top: 0;
    gap: 8px;
  }
  .sheet-form .fchip {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13.5px;
    border-color: #c9d0d9;
  }
  .sheet-form .fchip:has(input:checked) {
    background: rgba(31, 79, 209, 0.1);
    font-weight: 500;
  }
  .sheet-form .fchip.zero {
    opacity: 0.45;
    color: inherit;
  }
  .sheet-form .fchips.tiles .fchip {
    min-height: 60px;
  }
  .filters .f-actions {
    position: static;
    margin: auto -16px 0;
    padding: 10px 16px 14px;
    border-top: 1px solid #e6e9ee;
    background: #fff;
    flex: none;
  }
  .f-actions .btn {
    min-height: 48px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
  }
  .list-page .pick-search {
    min-height: 44px;
    border-color: #b9c2cd;
    margin: 0 0 6px;
  }
  .list-page .pick-note.limit {
    font-size: 13.5px;
    line-height: 18px;
    padding: 6px 10px;
    background: #f3f5f8;
    margin: 0 0 2px;
  }
  .list-page .pick-row.big {
    min-height: 44px;
    border-bottom: 1px solid #e6e9ee;
    gap: 12px;
    padding: 0;
  }
  .list-page .pick-row.big.check:has(.models-blue) {
    min-height: 48px;
  }
  .list-page .pick-row.zero {
    opacity: 0.45;
  }
  .list-page .pick-row.big .mk > span {
    font-size: 16px;
  }
  .list-page .pick-row.big:has(.models-blue) .mk > span {
    font-weight: 500;
  }
  .list-page .models-blue {
    font-size: 13.5px;
    margin-top: -2px;
  }
}
/* cards: the name and meta stay on one line each (SW-6w) */
.car .title,
.car .meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.has-hint::placeholder {
  color: var(--ink);
  opacity: 1;
}
/* Body: all five types in one row, 6px apart; a tile is 66px tall, art 46px, label 12.5/15, count 12/14; none = greyed, never hidden (SW-6wf v3) */
.fchips.tiles {
  flex-wrap: nowrap;
  gap: 6px;
}
.fchips.tiles .fchip {
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-height: 66px;
  height: 66px;
  padding: 0 2px;
  border-radius: 10px;
  min-width: 0;
  flex: 1;
}
.fchips.tiles .tile-art {
  width: 46px;
}
.fchips.tiles .t {
  font-size: 12.5px;
  line-height: 15px;
}
.fchips.tiles i {
  font-size: 12px;
  line-height: 14px;
}
.fchips.tiles .fchip.zero {
  opacity: 0.45;
}
/* Body: all five types in one row, 6px apart; a tile is 66px tall, art 46px, label 12.5/15, count 12/14; none = greyed, never hidden (SW-6wf v3) */
.fchips.tiles {
  flex-wrap: nowrap;
  gap: 6px;
}
.fchips.tiles .fchip,
.sheet-form .fchips.tiles .fchip {
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-height: 66px;
  height: 66px;
  padding: 0 2px;
  border-radius: 10px;
  min-width: 0;
  flex: 1;
}
.fchips.tiles .tile-art {
  width: 46px;
}
.fchips.tiles .t {
  font-size: 12.5px;
  line-height: 15px;
}
.fchips.tiles i {
  font-size: 12px;
  line-height: 14px;
}
/* the computer lists: a header row with "Pick any" and Done (SW-6wdm, SW-6wdo) */
.pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 4px 0 8px;
  font-size: 12px;
  color: var(--muted);
}
.pick-done {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.pick-panel .pick-search {
  margin-top: 0;
}
@media (min-width: 900px) {
  .side .pick-panel {
    width: 268px;
    top: calc(100% + 4px);
    padding: 0 8px 8px;
  }
  .side .pick-head {
    border-bottom: 1px solid #e6e9ee;
    margin: 0 -8px 6px;
    padding: 0 8px 0 12px;
  }
  .side .pick-row {
    min-height: 34px;
    gap: 8px;
  }
  .side .pick-row input {
    width: 16px;
    height: 16px;
  }
  .side .pick-row:has(input:checked) {
    background: rgba(31, 79, 209, 0.08);
    font-weight: 500;
  }
  .side .pick-note:not(.lead) {
    font-size: 12px;
    color: var(--muted);
    padding: 6px 4px 0;
  }
}
@media (max-width: 899px) {
  .sheet-form .fchip,
  .sheet-form .fchip .t {
    font-size: 13.5px;
  }
  .sheet-form .fchip {
    gap: 6px;
    padding: 0 12px;
  }
  .sheet-form .fchip i {
    font-size: 13.5px;
    font-weight: 400;
    line-height: inherit;
  }
  .sheet-form .fchip:has(input:checked) .t::before {
    content: "✓ ";
  }
  .filters .f-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
  }
}
.filters .fchip > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
/* 360 wide: the Title chips keep two rows like the board (the board's chip text is narrower than the self-hosted Inter) */
@media (max-width: 380px) {
  .sheet-form .fchip {
    padding: 0 10px;
  }
}
/* values in the labelled boxes: 400 weight; the default (Any model, Oldest, Newest, Any) in grey, a real pick in ink */
.box .val,
.box.sel select,
.box .amount input {
  font-weight: 400;
}
.box .val.dflt,
.box.sel:has(select option[value=""]:checked) select {
  color: var(--muted);
}
/* a long name or meta line ellipsizes inside its column, never widens the grid (the page must not scroll sideways) */
.cars > li,
.car,
.car .info,
.car-link {
  min-width: 0;
}
.cars {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .cars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .cars.six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .cars.five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.cars.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* the code step (SW-15c): the resend line is grey while it counts down, a blue link when it can be used; the hint is left-aligned on the phone */
.link.waiting {
  color: var(--muted);
  cursor: default;
  font-weight: 400;
}
.code-hint {
  text-align: left;
}
@media (min-width: 900px) {
  .code-hint {
    text-align: center;
  }
}
/* SW-15d: the computer sign-in is a dialog over the page the buyer came from; SW-16: the phone account menu is a bottom sheet */
dialog.sheet-dialog {
  width: 420px;
  max-width: calc(100vw - 32px);
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(14, 23, 38, 0.3);
  overflow: visible;
}
/* The sign-in dialog and its email card (signin-dialog.js): 468 px overall, a 420 px text column (founder-approved picture). The
   chat's end sheet and the send step keep 420. */
dialog.sheet-dialog.signin-dialog {
  width: 468px;
}
dialog.sheet-dialog.signin-dialog .auth {
  max-width: none;
}
dialog.sheet-dialog::backdrop {
  background: rgba(14, 23, 38, 0.45);
}
.auth-dialog {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-dialog h1 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0;
  padding-right: 36px;
}
.auth-dialog .lead {
  font-size: 15px;
  line-height: 21px;
  margin: 0;
}
.auth-dialog form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dialog-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  /* grey ✕, as on every sign-in dialog board */
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-note,
.menu-handle {
  display: none;
}
@media (min-width: 900px) {
  .menu-panel {
    width: 320px;
  }
}
@media (max-width: 899px) {
  .menu {
    position: static;
  }
  .menu[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(14, 23, 38, 0.45);
    z-index: 60;
  }
  .menu[open] .menu-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    z-index: 61;
    border-radius: 20px 20px 0 0;
    box-shadow: none;
    padding: 10px 16px 20px;
    display: flex;
    flex-direction: column;
  }
  .menu-handle {
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: #c9d0d9;
    align-self: center;
    margin-bottom: 12px;
  }
  .menu-panel .who {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 12px;
  }
  .avatar.big {
    width: 44px;
    height: 44px;
    font-size: 22px;
    font-weight: 500;
    flex: none;
  }
  .menu-panel .who b {
    font-size: 17px;
  }
  .menu-panel button {
    min-height: 52px;
    padding: 0;
    font-size: 16px;
  }
  .menu-note {
    display: block;
    margin: 0;
    padding-top: 6px;
    font-size: 12.5px;
    line-height: 17px;
    color: var(--muted);
  }
}

/* the ⓘ hint (board SH-32) and the demo's text-message card (SH-3pd, SI-2d) */
.help-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
}
.help-btn + .nav {
  margin-left: 0;
}
.help-btn .icon {
  width: 22px;
  height: 22px;
}
dialog.help-dialog {
  width: 360px;
  max-width: calc(100vw - 32px);
  border: 1px solid #c9d0d9;
  border-radius: 16px;
  padding: 20px 16px 24px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(14, 23, 38, 0.3);
}
dialog.help-dialog::backdrop {
  background: rgba(14, 23, 38, 0.45);
}
.help-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.help-dialog h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}
.help-dialog p {
  margin: 0;
  font-size: 15px;
  line-height: 21px;
}
.help-dialog .demo-block {
  background: #fff4d6;
  color: #8f5b0a;
  border-radius: 10px;
  padding: 8px 10px;
}
.help-close {
  align-self: flex-start;
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 44px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.dialog-help {
  position: absolute;
  right: 60px;
  top: 8px;
}
.dialog-help .help-btn {
  margin: 0;
}
@media (max-width: 899px) {
  dialog.help-dialog {
    margin: auto 0 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
  }
}
.demo-sms {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px auto 0;
  max-width: 420px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(14, 23, 38, 0.08);
}
.demo-sms-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.demo-sms small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.demo-sms > div > div {
  font-size: 15px;
}
.demo-sms b {
  font-weight: 700;
  letter-spacing: 0.5px;
}
/* Thinking about selling (SW-1b, SW-1bd) */
.sell-h1 {
  margin-top: 4px;
}
.sell-sub {
  font-size: 14px;
  margin-bottom: 12px;
}
.sell-search {
  margin-bottom: 14px;
}
.sell-note {
  margin-top: 20px;
}
.sort-select {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
@media (min-width: 900px) {
  .cars.six4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
  }
  .sell-sub {
    margin-top: -4px;
  }
}
@media (min-width: 900px) {
  .sell-h1 {
    font-size: 28px;
    line-height: 34px;
  }
}

/* Sell your car (boards SW-22, SW-22d) */
.sell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.sell-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sell-lead {
  margin: 0;
}
.sell-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sell-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sell-steps li > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.sell-steps b {
  font-weight: 500;
  color: var(--ink);
  font-size: 17px;
}
.sell-steps .muted {
  line-height: 20px;
}
.step-no {
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sell-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  text-align: center;
}
.sell-link {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
@media (min-width: 900px) {
  .sell-grid {
    grid-template-columns: minmax(0, 1fr) 540px;
    gap: 64px;
    margin-top: 16px;
  }
  /* Stage 1 (SW-22s1d): no next-event panel, the steps use the whole width. */
  .sell-grid.one {
    grid-template-columns: minmax(0, 1fr);
  }
  .sell-cta {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
  }
  .sell-cta .btn {
    width: auto;
    padding: 0 22px;
  }
  .sell-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .sell-side .venue-art {
    width: 100%;
    height: 220px;
    border-radius: 12px;
  }
  .sell-side .art-link {
    display: block;
  }
}

/* Sell your car: the board's sizes (SW-22, SW-22d; design-sales 2026-11-03) and the trust line pinned to the bottom */
.sell-col {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 52px - 40px);
}
.sell-col .foot {
  margin-top: auto;
  padding-top: 18px;
}
.sell-main {
  gap: 0;
}
.sell-main .h1 {
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}
.sell-main .sell-lead {
  font-size: 15px;
  line-height: 21px;
  margin: 0 0 18px;
}
.sell-steps {
  gap: 14px;
  margin-bottom: 20px;
}
.step-no {
  border-width: 1.5px;
  font-size: 15px;
  font-weight: 600;
}
.sell-steps b {
  font-size: 16px;
  font-weight: 500;
  line-height: 21px;
}
.sell-steps .muted {
  font-size: 14px;
  line-height: 20px;
}
.sell-cta {
  gap: 8px;
  margin-bottom: 18px;
}
.sell-cta .btn {
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
}
.sell-cta .muted {
  font-size: 13px;
}
@media (min-width: 900px) {
  .sell-col {
    min-height: calc(100vh - 68px - 56px);
  }
  .sell-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    margin-top: 0;
    padding-top: 16px;
  }
  .sell-main .h1 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.6px;
    margin-bottom: 8px;
  }
  .sell-main .sell-lead {
    font-size: 17px;
    line-height: 24px;
    margin-bottom: 28px;
  }
  .sell-steps {
    margin-bottom: 28px;
  }
  .sell-steps b {
    font-size: 17px;
  }
  .sell-steps .muted {
    font-size: 15px;
  }
  .sell-cta {
    margin-bottom: 0;
    gap: 16px;
  }
  .sell-cta .muted {
    font-size: 14px;
  }
  .sell-side {
    gap: 14px;
  }
  .sell-side .next-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
  }
  .sell-side .event-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
  }
  .sell-side .event-meta {
    font-size: 14px;
    color: var(--muted);
  }
}

/* the heart is a button in a form; a saved car's heart is filled; the toast after sign-in (board SW-15r) */
.heart-form,
.going-form,
.save-search-form {
  display: contents;
}
button.heart,
button.round {
  font: inherit;
  cursor: pointer;
}
.heart.on .icon,
.round.on .icon {
  fill: var(--red, #b42318);
  stroke: var(--red, #b42318);
}
.link.on .icon {
  fill: var(--red, #b42318);
  stroke: var(--red, #b42318);
}
button.link {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--brand);
}
.toast {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 12px;
  background: #0e1726;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(14, 23, 38, 0.3);
}
.toast a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}
/* Saved (board SW-7) */
.saved-title {
  margin-bottom: 12px;
}
.tabs {
  display: flex;
  gap: 4px;
  background: var(--soft);
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 12px;
}
.tabs a {
  flex: 1;
  text-align: center;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
}
.tabs a[aria-current="page"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(14, 23, 38, 0.12);
}

/* Message the owner (boards SW-4n, SW-4d), the phone step (SW-4p, SW-4pd), the conversation (SW-10) and the report page */
.msg-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.msg-car {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  color: var(--ink);
}
.msg-photo {
  width: 64px;
  height: 48px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  display: block;
}
.msg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.msg-car-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.msg-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg-q-title {
  font-weight: 600;
  color: var(--ink);
}
.msg-q {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.msg-q .chip.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.msg-label {
  font-weight: 500;
  font-size: 14px;
}
.msg-form textarea {
  width: 100%;
  border: 1px solid #b9c2cd;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  resize: vertical;
  min-height: 84px;
}
/* The one legal line above Send (SW-4n, SW-4d) and the lead line of "Email me the link" (SW-4oe, SW-4oed), as the boards draw them:
   14.5px on 20px, links 500 with a 3px underline offset in #B9C2CD; the email line is the muted #5B6676 (#3146). */
.board-line {
  margin: 0;
  font-size: 14.5px;
  line-height: 20px;
  color: #0e1726;
}
.board-line-muted {
  color: #5b6676;
}
.board-line a {
  color: #111827;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #b9c2cd;
}
.stay-safe {
  background: #f3f5f8;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}
.stay-safe b {
  color: #8f5b0a;
}
.msg-ack {
  display: flex;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 20px;
}
.msg-ack[hidden] {
  display: none;
}
.msg-ack input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: none;
}
.msg-send {
  margin-top: auto;
  position: sticky;
  bottom: 12px;
}
@media (max-width: 899px) {
  /* Send is pinned to the bottom of the screen on the phone (SW-4n) */
  .msg-layout {
    min-height: calc(100vh - 52px - 40px);
  }
  .msg-form {
    flex: 1;
  }
}
@media (max-width: 899px) and (max-height: 780px) {
  /* A short phone (360 x 740): the message page must fit without scrolling and the Send bar must not cover the tick (SW-4n, founder: no scrolling on phones). Same words, a shorter box and tighter gaps. */
  .msg-layout {
    gap: 10px;
  }
  .msg-form {
    gap: 8px;
  }
  .msg-form textarea {
    height: 64px;
    min-height: 64px;
  }
}
@media (min-width: 900px) {
  /* The car card (SW-4d, measured on the board at 1280 px): 374 px wide with 16 px inside, a 340 x 180 photo, the name and price at 20 px. */
  .msg-layout:not(.report-layout) .msg-car {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
  }
  .msg-layout:not(.report-layout) .msg-car .msg-photo {
    width: 100%;
    height: 180px;
    border-radius: 12px;
  }
  .msg-layout:not(.report-layout) .msg-car .msg-car-text {
    padding: 0;
    margin-top: 10px;
  }
  .msg-layout:not(.report-layout) .msg-car .msg-car-text b {
    font-size: 20px;
    font-weight: 600;
  }
  .msg-layout:not(.report-layout) .msg-car .msg-car-text .small {
    font-size: 14px;
  }
  .msg-send {
    margin-top: 4px;
    position: static;
  }
  /* 374 px car card, 20 px gap, the form up to 714 px (680 inside), centered: 1108 px in all (SW-4d) */
  .msg-layout:not(.report-layout) {
    display: grid;
    grid-template-columns: 374px minmax(0, 714px);
    max-width: 1108px;
    gap: 20px;
    align-items: start;
    justify-content: center;
  }
  .msg-form {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
  }
  .msg-send {
    align-self: flex-end;
    width: 200px;
  }
  .report-layout {
    display: flex;
    max-width: 560px;
  }
}
.reasons {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reason {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
}
.reason-hint {
  display: block;
}
.ok {
  background: #e7f6ee;
  color: var(--good);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  min-height: calc(100vh - 52px - 40px);
}
.vin-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
}
.vin-card .link {
  min-width: 0;
  padding: 0 4px;
  margin: -12px 0 -12px 2px; /* the 44 px tap area without making the line taller */
  vertical-align: middle;
}
.bubbles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  line-height: 21px;
}
.bubble.mine {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
  border-radius: 16px;
  padding: 8px 14px;
}
.bubble.theirs {
  align-self: flex-start;
  padding: 0 4px;
}
.bubble .who {
  color: var(--muted);
  font-weight: 600;
}
.bubble .removed {
  font-size: 12px;
  opacity: 0.8;
}
.reply-bar {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.reply-bar input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #b9c2cd;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
}
.reply-bar .btn {
  width: auto;
  padding: 0 22px;
}
.menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 500;
}
.dot-new {
  color: var(--brand);
  font-weight: 600;
}
dialog.step-sheet {
  width: 420px;
  max-width: 100vw;
}
.step-skip {
  align-self: center;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
}
@media (max-width: 899px) {
  dialog.step-sheet {
    margin: auto 0 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
  }
}
/* About sheet (SW-14, SW-14d) */
.sheet {
  max-width: 604px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 28px rgba(14, 23, 38, 0.14);
}
.sheet h1 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.sheet strong {
  font-weight: 600;
  color: var(--ink);
}
.sheet .fine {
  font-size: 13px;
  color: var(--muted);
}
.sheet-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}
.grabber {
  align-self: center;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--line2);
  margin-top: -8px;
}
@media (max-width: 899px) {
  .sheet {
    border-radius: 16px 16px 0 0;
    box-shadow: none;
    padding: 12px 16px 12px;
    margin: 24px -16px 0;
    max-width: none;
  }
}
@media (min-width: 900px) {
  .sheet {
    margin-top: 50px;
  }
}
/* car page variants: free listing (SW-3bn) and rebuilt title (SW-3t, SW-3td) */
.status .dot.amber {
  background: #c98a00;
}
.rebuilt-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
}
.tag-inline {
  flex: none;
  background: #fcefcf;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.25;
  max-width: 130px;
}
.explain {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.explain h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.explain strong {
  font-weight: 600;
  color: var(--ink);
}
.explain .fine {
  font-size: 13px;
  color: var(--muted);
}
/* "This car is no longer coming" (SW-5, SW-5d) */
/* "This car is no longer listed" (SW-5, SW-5d) */
.gone-card {
  margin-top: 4px;
}
.gone-card h1 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 26px;
}
.gone-card p {
  font-size: 14px;
  margin-top: 4px;
}
/* No events: the link row sits 12px under the line on the phone, 16px on the computer (SW-5s1n, SW-5s1nd) */
.gone-back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 4px;
  margin: 12px 0 0;
  color: var(--muted);
}
.gone-next {
  margin: 14px 0;
}
.gone-next .venue-art {
  width: 96px;
  height: 70px;
}
.gone-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 4px 0 16px;
}
@media (min-width: 900px) {
  .gone-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
  }
  .gone-card h1 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.4px;
  }
  .gone-card.alone {
    margin-bottom: 0;
  }
  .gone-back {
    margin-top: 16px;
  }
  .gone-links {
    margin: 0;
  }
  .gone-next {
    margin: 0 0 20px;
  }
  .gone-next .venue-art {
    width: 150px;
    height: 96px;
  }
  .cars.five {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px 16px;
    margin-bottom: 24px;
  }
}

/* Home, 768px and up (founder 2026-11-03, SW-1wd v4): the search is the header's, in the same place as on results; the quick-search
   chips keep their own row under the headline. The phone Home keeps the big search under the headline. */
.hero-chips {
  display: none;
}
.top-search.show-768 {
  display: none;
}
@media (min-width: 768px) {
  .top-search.show-768 {
    display: flex;
    flex: 1;
    max-width: 540px;
    margin-left: 24px;
    min-height: 44px;
    box-shadow: none;
    border-color: var(--line2);
  }
  .top-search.show-768 input {
    font-size: 15px;
  }
  .hero-chips {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
    margin-top: 8px;
  }
}

/* Home, advanced search (founder 2026-11-03, SW-1wd v5 and SW-1w v4): an "All filters" chip ends the quick-search row on the
   computer; on the phone a round button sits right of the search box and opens the filter sheet over all cars */
.hero-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-search-row .hero-search {
  flex: 1;
  min-width: 0;
}
.filters-btn {
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid #b9c2cd;
  border-radius: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: #fff;
}
.filters-btn .icon {
  width: 20px;
  height: 20px;
}
.chip.chip-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  border-radius: 18px;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 500;
  background: #fff;
}
.chip.chip-filters .icon {
  width: 18px;
  height: 18px;
}
@media (min-width: 768px) {
  .home-hero .hero-search-row {
    display: none;
  }
}
@media (max-width: 767px) {
  .hero-search-row .hero-search {
    min-height: 46px;
    height: 46px;
  }
}
/* under 375px wide the Home headline stays on one line, as on the board (spacing to fit) */
@media (max-width: 380px) {
  .home-hero .h1 {
    font-size: 19px;
    letter-spacing: -0.4px;
    white-space: nowrap;
  }
}
@media (max-width: 340px) {
  .home-hero .h1 {
    font-size: 17px;
  }
}
/* the narrowest phones (320px): the header and the rows fit inside the screen */
@media (max-width: 340px) {
  .nav a,
  .nav summary {
    padding: 0 6px;
  }
  .brand {
    min-width: 0;
  }
  .next-row .grow {
    min-width: 0;
  }
  .next-row .grow > span,
  .muted {
    max-width: 100%;
  }
  .next-row .event-meta,
  .next-row .event-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* a short phone screen (iPhone SE, 375x667; founder 2026-11-03, SW-1ws "one row, keep map"): Saturday's grid shows its first row of
   2 cars so the map, the rows below and the trust line are all in view; from 800px high nothing changes */
@media (max-width: 767px) and (max-height: 799px) {
  .home-phone-cars > li:nth-child(n + 3) {
    display: none;
  }
}
/* The computer's conversation (board SW-10d): your conversations on the left, the thread on the right */
.convo-list {
  display: none;
}
@media (min-width: 900px) {
  .convo {
    display: flex;
    gap: 20px;
    max-width: 1152px;
    margin: 0 auto;
    align-items: stretch;
  }
  .convo-list {
    display: block;
    width: 322px; /* the board's 300 px plus its padding and border */
    flex: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
  }
  .convo-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 10px;
    color: var(--ink);
    min-height: 52px;
  }
  .convo-row.on {
    background: #eaf0fc;
  }
  .convo-row .msg-photo {
    width: 48px;
    height: 36px;
    border-radius: 10px;
  }
  .convo-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .convo-text b {
    font-size: 14px;
  }
  .convo-text .muted {
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .convo .thread {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
    background: #f0f3f5;
    border-radius: 16px;
    padding: 16px;
    min-height: calc(100vh - 68px - 40px);
  }
  .thread-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .thread-head h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
  }
  .convo .vin-card {
    background: #fff;
    border-color: #c9d0d9;
    font-size: 13px;
    line-height: 18px;
  }
  .convo .bubble.theirs {
    background: #fff;
    border-radius: 14px;
    padding: 8px 12px;
  }
  .convo .bubble.mine {
    border-radius: 14px;
    padding: 8px 12px;
  }
}
/* Buying on the day (SW-8 phone, SW-8d computer): check rows */
.buying {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
}
.buying h1 {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}
.buying-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.buying-row {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 18px;
}
.buying-tick {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: #eaf0fc;
  color: #0b6e4f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.buying-tick svg {
  width: 15px;
  height: 15px;
}
@media (min-width: 900px) {
  .buying {
    gap: 16px;
    padding: 20px 0;
  }
  .buying h1 {
    font-size: 26px;
  }
  .buying-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .buying-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
  }
  .buying-row b {
    font-size: 16px;
  }
  .buying-tick {
    width: 36px;
    height: 36px;
    border-radius: 18px;
  }
  .buying-tick svg {
    width: 18px;
    height: 18px;
  }
}

/* Shops near the event (SW-8s phone, SW-8sd computer): one link card per shop */
.shops-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #c9d0d9;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.shop-text {
  flex: 1;
  min-width: 0;
  order: 1;
}
.shop-name {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-detail {
  display: block;
  font-size: 13px;
  line-height: 18px;
  color: var(--muted, #5b6573);
}
.shop-chip-slot {
  order: 2;
  flex: none;
}
.shop-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  background: #eaf0fc;
  color: #1f4fd1;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.shop-go {
  order: 3;
  flex: none;
  color: #1f4fd1;
  font-size: 15px;
  font-weight: 600;
}
@media (min-width: 900px) {
  .shops-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .shop-row {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border-color: var(--line);
    border-radius: 16px;
  }
  .shop-chip-slot {
    order: 0;
    min-height: 22px;
  }
  .shop-text {
    order: 1;
    flex: none;
  }
  .shop-name {
    font-size: 16px;
    font-weight: 700;
    white-space: normal;
  }
  .shop-detail {
    font-size: 14px;
    line-height: 20px;
  }
  .shop-go {
    order: 2;
    color: #1f4fd1;
    font-weight: 700;
  }
}

/* You're going, with the reminder choice (boards SW-23 phone sheet, SW-23d computer popover). */
.remind-back {
  min-height: 100vh;
  background: rgba(14, 23, 38, 0.35);
  display: flex;
  align-items: flex-end;
}
.remind {
  width: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 16px rgba(14, 23, 38, 0.18);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.remind h1 {
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}
.remind p {
  margin: 0;
}
.remind-by {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.remind-by legend {
  font-size: 14px;
  font-weight: 500;
  padding: 0 0 4px;
}
.remind-by label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  border-top: 1px solid #eceff2;
}
.remind-by input {
  width: 20px;
  height: 20px;
}
@media (min-width: 768px) {
  .remind-back {
    align-items: flex-start;
    justify-content: center;
    padding-top: 96px;
  }
  .remind {
    width: 360px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(14, 23, 38, 0.2);
  }
}
/* Alerts (board SW-9): four switches and how to send them */
.alert-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alert-rows,
.alert-card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 16px;
  padding: 4px 14px;
}
.alert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 6px 0;
  border-top: 1px solid #eceff2;
}
.alert-row:first-child {
  border-top: 0;
}
.alert-row > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.switch {
  appearance: none;
  flex: none;
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: #c3c9d4;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.switch:checked {
  background: var(--accent, #1a56db);
}
.switch:checked::after {
  transform: translateX(20px);
}
.alert-by {
  border: 0;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.alert-by legend {
  float: left;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  margin: 0 8px 0 0;
  line-height: 44px;
}
.chip-radio {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  cursor: pointer;
}
.chip-radio input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.chip-radio span {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border: 1px solid #c9d0d9;
}
.chip-radio input:checked + span {
  background: #0e1726;
  border-color: #0e1726;
  color: #fff;
}
.chip-radio input:focus-visible + span {
  outline: 2px solid var(--accent, #1a56db);
  outline-offset: 2px;
}
.alert-note {
  margin: 8px 0 0;
}
.alert-card {
  margin-top: 8px;
}
.alert-card .h3 {
  margin: 10px 0 4px;
  font-size: 15px;
  font-weight: 600;
}
.alert-searches {
  margin: 0;
  padding: 0;
  list-style: none;
}
.link.link-red {
  color: var(--red);
}

/* Saved lists (boards SW-7, SW-9): a row is the name on the left and its one action on the right */
.saved-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.saved-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  border-top: 1px solid #eceff2;
}
.saved-row:first-child {
  border-top: 0;
}
.saved-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: inherit;
  text-decoration: none;
}
.saved-main b {
  font-size: 15px;
  font-weight: 600;
}
.saved-main .gone-tag {
  font-size: 12.5px;
  color: #5b6676;
}
.saved-row form {
  margin: 0;
}
.saved-row .link {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}
.alert-searches .saved-row {
  min-height: 44px;
}
.alert-searches .saved-main b {
  font-size: 14px;
  font-weight: 400;
}
.alert-searches .saved-row .link {
  font-size: 15px;
  font-weight: 600;
}

/* Alerts tab order: the phone follows SW-9 v6 (switches, Send them by, Saved searches, footnote); 1280 and up SW-9d v4 (switches, Saved searches, Send them by, footnote) */
.alert-page {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alert-page > .alert-form {
  order: 0;
}
.alert-page > .alert-by {
  order: 1;
}
.alert-page > .alert-card {
  order: 2;
  margin-top: 0;
}
.alert-page > .alert-note {
  order: 3;
}
@media (min-width: 1280px) {
  .alert-page > .alert-card {
    order: 1;
  }
  .alert-page > .alert-by {
    order: 2;
  }
}
.undo-row form {
  display: flex;
  align-items: center;
}

.alert-agree {
  flex-basis: 100%;
  margin: 0;
}
.alert-pick {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #8a5a00;
}
/* The buyer survey (boards SW-24, SW-24d, SW-24t, SW-24x) */
.survey {
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.survey h1 {
  font-size: 21px;
  font-weight: 600;
  margin: 0;
}
.survey p {
  margin: 0;
}
.survey form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.survey-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e6e9ee;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.survey-card fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.survey-card legend {
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 6px;
}
.survey-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.survey-link {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}
.survey-error {
  color: #b42318;
  font-size: 14px;
}

/* "I'm here" at the gate (boards SA-25, SW-25c/i/m/n/z) and the survey's Send (SW-24) */
.gate {
  max-width: 560px;
  margin: 0 auto;
  background: #f6f7f9;
  min-height: 100vh;
}
.gate-bar {
  background: #0e1726;
  color: #fff;
  min-height: 64px;
  padding: 6px 16px 6px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gate-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #0b6e4f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.gate-mark svg {
  width: 18px;
  height: 18px;
}
.gate-bar-light {
  background: #fff;
  color: #0e1726;
  min-height: 52px;
  border-bottom: 1px solid #e6e9ee;
}
.gate-back {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.gate-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.gate-text b {
  font-size: 17px;
}
.gate-text small {
  font-size: 13px;
  opacity: 0.85;
}
.gate-bar-light .gate-text small {
  color: #6b7280;
  opacity: 1;
}
.gate-kicker {
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.gate-main,
.gate-main form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gate-main {
  padding: 10px 16px 24px;
}
.gate-main h1 {
  font-size: 19px;
  line-height: 24px;
  margin: 0;
}
.gate-main p {
  margin: 0;
}
.gate-btn {
  background: #0b6e4f;
  font-weight: 800;
}
.gate-card {
  background: #fff;
  border: 1px solid #c9d0d9;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13.5px;
  line-height: 19px;
}
.gate-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gate-field label {
  font-size: 13px;
  font-weight: 700;
}
.gate-field input {
  min-height: 44px;
  border: 1.5px solid #7e8898;
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
  font-size: 16px;
}
.gate-field input.bad {
  border-color: #b42318;
}
.gate-err {
  color: #b42318;
  font-size: 13px;
  line-height: 18px;
}
.gate-link {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
  color: #0b6e4f;
}
.survey-send {
  background: #c9d0d9;
  color: #5b6676;
}
.survey
  form:has(input[name="foundCar"]:checked):has(input[name="comeAgain"]:checked):has(input[name="heardFrom"]:checked)
  .survey-send {
  background: var(--brand);
  color: #fff;
}
.gate-retry {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
/* Saved and Recently viewed rows (boards SW-7 phone row, SW-7d computer card) */
.saved-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scard {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 8px;
  min-height: 100px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 14px;
}
.scard-photo {
  position: relative;
  flex: none;
  width: 116px;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f6f8 0%, #e4e8ed 62%, #d3d9e0 62%, #cbd2da 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa3ad;
}
.scard-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The damage photos row of a rebuilt-title car (boards SW-3t, SW-3td). */
.damage-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.damage-row b {
  font-weight: 500;
}
.damage-row .link {
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

/* Damage photos viewer (boards SW-3tv phone, SW-3tvd computer) */
.page-bare:has(.dv) {
  background: #0e1726;
}
.dv {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0e1726;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.dv-head {
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 16px;
}
.dv-count {
  font-size: 15px;
  font-weight: 600;
}
.dv-close,
.dv-arrow {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.dv-close {
  font-size: 20px;
}
.dv-arrow {
  font-size: 32px;
}
.dv-arrow.off {
  opacity: 0.25;
}
.dv-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dv-arrow {
  display: none;
}
.dv-main {
  padding: 0 0 12px;
}
.dv-frame,
.dv-img {
  display: block;
  width: 100%;
  height: 300px;
  border-radius: 8px;
  object-fit: contain;
  background: linear-gradient(135deg, #5b6676, #2a3442);
}
.dv-img {
  background: #1a2433;
}
.dv-side {
  padding: 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dv-thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dv-thumb {
  position: relative;
  width: 50px;
  height: 35px;
  border-radius: 6px;
  background: #3a4656;
  overflow: hidden;
}
.dv-thumb.on {
  outline: 2px solid #fff;
}
.dv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scard-count {
  position: absolute;
  left: 6px;
  bottom: 6px;
  display: flex;
  gap: 3px;
  align-items: center;
  background: rgba(14, 23, 38, 0.8);
  color: #fff;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 600;
}
.scard-count .icon {
  width: 11px;
  height: 11px;
}
.scard-heart {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  z-index: 2;
}
.scard-heart .heart {
  position: static;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
}
.scard-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: inherit;
  text-decoration: none;
}
.scard-info::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.scard-heart {
  z-index: 3;
}
.scard-price {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
}
.scard-price b {
  font-size: 18px;
  font-weight: 600;
}
.scard-deal {
  font-size: 12px;
  font-weight: 500;
  color: #1f4fd1;
  white-space: nowrap;
}
.scard-gone {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  background: #fbe9e7;
  color: #b42318;
  white-space: nowrap;
}
.scard-name,
.scard-meta,
.scard-event {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scard-name {
  font-size: 14px;
  font-weight: 500;
}
.scard-meta {
  font-size: 12.5px;
  color: #5b6676;
}
.scard-event {
  font-size: 12.5px;
  font-weight: 500;
  color: #1f4fd1;
}
.scard-event.plain {
  color: #1f4fd1;
}
@media (min-width: 1024px) {
  .saved-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .scard {
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }
  .scard-photo {
    width: 100%;
    height: 150px;
    border-radius: 0;
  }
  .scard-count {
    left: 8px;
    bottom: 8px;
    padding: 1px 7px;
  }
  .scard-info {
    padding: 8px 12px 10px;
  }
  .scard-price b {
    font-size: 19px;
  }
}

.scard-history {
  color: #1f5fbf;
  font-weight: 600;
}
.dv-thumb::after {
  content: "";
  position: absolute;
  inset: -5px;
}
.dv-text,
.dv-note {
  margin: 0;
}
.dv-text {
  font-size: 14px;
  line-height: 20px;
}
.dv-note {
  font-size: 12.5px;
  line-height: 17px;
  color: #b9c3cf;
}
@media (min-width: 1024px) {
  .dv-head {
    padding: 0 24px 0 48px;
  }
  .dv-body {
    flex-direction: row;
    justify-content: stretch;
    align-items: center;
    gap: 24px;
    padding: 8px 48px 32px;
  }
  .dv-arrow {
    display: flex;
  }
  .dv-main {
    flex: 1;
    padding: 0;
    min-width: 0;
  }
  .dv-frame,
  .dv-img {
    height: min(560px, calc(100vh - 140px));
  }
  .dv-side {
    width: 300px;
    flex: none;
    padding: 0;
    gap: 14px;
  }
  .dv-thumb {
    width: 42px;
    height: 29px;
  }
}
.chat .chat-link {
  overflow-wrap: anywhere;
}
.chat .link.danger {
  color: #b42318;
  font-weight: 700;
  min-height: 44px;
  min-width: 44px;
}
.chat dialog .link {
  color: #0e1726;
  font-weight: 700;
  min-height: 44px;
  text-align: left;
}
.chat [hidden] {
  display: none !important;
}
.chat .row-link > span:first-child {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}
.chat .row-link .muted {
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.chat .bubble.mine .muted {
  color: rgba(255, 255, 255, 0.85);
}
/* What's new (boards SH-33..SH-33c): the version link at the foot of the account menu and the page behind it. */
.menu-version {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--muted, #5b6676);
  text-decoration: underline;
}
.whats-new {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.whats-new-version,
.whats-new-ver {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted, #5b6676);
}
.whats-new-ver {
  display: block;
}
.whats-new-card {
  background: #fff;
  border: 1px solid #c9d0d9;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.whats-new-head,
.whats-new-card summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}
.whats-new-head > div,
.whats-new-card summary > div {
  flex: 1;
}
.whats-new-when {
  font-size: 18px;
  line-height: 24px;
}
.whats-new-latest {
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 8px;
  background: #e3f1ec;
  color: #0b6e4f;
}
.whats-new-track-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--muted, #5b6676);
}
.whats-new-track ul {
  margin: 4px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  line-height: 23px;
}
.whats-new-more {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* "We emailed / texted the link to …" (boards SW-4oes, SW-4ops): the card under the buyer's message in the private chat. */
.sent-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 8px 12px;
}
.sent-card b {
  font-size: 14.5px;
  overflow-wrap: anywhere;
}

/* "See this car on codapp" (SW-V1, SW-V1d) and "This listing has ended" (SW-V2, SW-V2d) */
.verify {
  max-width: 560px;
  margin: 8px auto 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.verify h1 {
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  color: var(--ink);
}
.verify-car {
  font-size: 18px;
  color: var(--ink);
}
.verify-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.verify-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.verify-more {
  align-self: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* The page footer, board SW-F1 (#3525): the last row of every page, under it, never over it: a 1 px line, "About codapp
   sales · Terms · Privacy" as 44 px text links with 16 px dots between them, then "codapp sales · Sacramento, CA" (12.5 px
   on a 15 px line). Its height is --legal-h below: 1 + 8 + 44 + 2 + 15 + 12 = 82 px. The line is #E1E5EA, as on every board
   that draws this footer. */
.site-foot {
  border-top: 1px solid #e1e5ea;
  background: #fff;
}
.site-foot .wrap {
  padding-top: 8px;
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.legal-links span {
  font-size: 16px;
}
.legal-links a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  white-space: nowrap;
}
.site-place {
  margin: 0;
  font-size: 12.5px;
  line-height: 15px;
  color: var(--muted);
}
.legal-line {
  margin: 0;
  text-align: center; /* SW-4nt: the agree line is centred above Send; it wraps and is never cut */
}
.legal-doc {
  max-width: 640px;
  margin: 8px auto 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-doc h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.legal-doc h2 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}
/* SW-4ca: codapp's automatic answer in the chat: the seller's side of the thread, labelled, never as the seller. */
.bubble.auto {
  background: #e8efff;
  border-radius: 16px;
  padding: 8px 14px;
}
.bubble.auto .who {
  color: var(--brand);
  font-weight: 700;
}

/* #3524, board SW-F1: the Terms · Privacy row is the last row of every page, and a full-height page (chat, Paying safely)
   needs no scrolling at 360×800. Such a frame ends at the viewport minus --head-h (header.top: 52 px and its 1 px line;
   68 + 1 on the computer), --legal-h (the SW-F1 footer, .site-foot: 82 px) and its own main padding. */
:root {
  --head-h: 53px;
  --legal-h: 82px;
}
@media (min-width: 900px) {
  :root {
    --head-h: 69px;
  }
}
/* Chat: main's padding is 10 + 10 on phones (20 + 32 on the computer). The messages scroll inside the frame, and the frame
   itself scrolls when a state holds more (offline: three rows). On phones the chat's boards end the frame 10 px above the
   footer and draw the write box 6 px above "End this chat" (the thread's rows are 10 apart). */
.thread.chat {
  height: calc(100vh - var(--head-h) - var(--legal-h) - 20px);
  height: calc(100dvh - var(--head-h) - var(--legal-h) - 20px);
  min-height: 0;
  overflow-y: auto;
}
/* The rows follow the messages and the write box takes the free space above it (.reply-bar's auto top), as every chat
   board draws it; the messages still scroll inside the frame when they are many. */
.thread.chat .bubbles {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
}
/* The chat's write row as its boards draw it: the box's line #7E8898 (1.5 px) and a #5B6676 placeholder (16 px kept, so an
   iPhone does not zoom in on focus), Send 600 with 20 px each side, and "End this chat" 600. */
.thread.chat .reply-bar input {
  border: 1.5px solid #7e8898;
}
.thread.chat .reply-bar input::placeholder {
  color: #5b6676;
  opacity: 1;
}
.thread.chat .reply-bar .btn {
  padding: 0 20px;
  font-weight: 600;
}
.thread.chat > .center .link.danger {
  font-weight: 600;
}
@media (max-width: 899px) {
  main:has(.thread.chat) {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .thread.chat {
    gap: 8px;
  }
  .thread.chat .reply-bar + .center {
    margin-top: -2px;
  }
}
/* The rows above the messages: the car on a white card with its drawn picture (56 × 42), the chat's address on a lined card,
   then the bubbles: the buyer's dark with a sharp lower right corner, the seller's light grey with a sharp lower left one. */
.thread.chat .msg-car {
  gap: 10px;
  background: #fff;
  border-color: #e6e9ee;
}
.thread.chat .msg-car-text b {
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}
.thread.chat .msg-car-text .small {
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  color: #5b6676;
}
.thread.chat .chat-thumb {
  width: 56px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(180deg, #f4f6f8 0%, #e4e8ed 62%, #d3d9e0 62%, #cbd2da 100%);
}
.thread.chat .chat-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thread.chat .chat-thumb svg {
  display: block;
  width: 78%;
  height: auto;
  margin-bottom: 6%;
}
.thread.chat .chat-link-card {
  background: #fff;
  border: 1px solid #c9d0d9;
  border-radius: 12px;
  padding: 8px 12px;
}
.thread.chat .chat-link {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  color: var(--ink);
  word-break: break-all;
}
.thread.chat .chat-link-note {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 17px;
  color: #5b6676;
}
.thread.chat .bubble:not(.auto) {
  gap: 0;
  line-height: 20px;
}
.thread.chat .bubble:not(.auto) > small {
  font-size: 11.5px;
}
.thread.chat .bubble:not(.auto) > small.muted {
  margin-top: 2px;
}
.thread.chat .bubble.mine {
  background: #0e1726;
  border-radius: 16px 16px 4px 16px;
  padding: 8px 12px;
}
.thread.chat .bubble.mine .muted {
  color: #fff;
  opacity: 0.8;
  text-align: right;
}
.thread.chat .bubble.theirs:not(.auto) {
  color: var(--ink);
  background: #f1f3f6;
  border-radius: 16px 16px 16px 4px;
  padding: 8px 12px;
}
.thread.chat .bubble.theirs:not(.auto) small {
  color: #5b6676;
}
.thread.chat [data-state-line="chat"] {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: #5b6676;
}
/* "The seller is replying…": three still dots, dark to light, and the two lines on a lined card. */
.thread.chat .chat-replying {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid #c9d0d9;
  border-radius: 12px;
  padding: 8px 12px;
  line-height: normal;
  color: var(--ink);
}
.thread.chat .chat-dots {
  display: flex;
  gap: 4px;
  flex: none;
}
.thread.chat .chat-dots span {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #0e1726;
}
.thread.chat .chat-dots span:nth-child(2) {
  background: #7e8898;
}
.thread.chat .chat-dots span:nth-child(3) {
  background: #c9d0d9;
}
.thread.chat .chat-replying b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.thread.chat .chat-replying-note {
  display: block;
  font-size: 12.5px;
  line-height: 17px;
  color: #5b6676;
}
/* On the computer the chat is a white card, 560 wide, as tall as what it holds and never taller than the frame (the
   messages scroll inside it then); its rows 12 apart, "End this chat" 6 under the write box. */
@media (min-width: 900px) {
  .thread.chat {
    max-width: 560px;
    height: auto;
    max-height: calc(100vh - var(--head-h) - var(--legal-h) - 52px);
    max-height: calc(100dvh - var(--head-h) - var(--legal-h) - 52px);
    box-sizing: border-box;
    padding: 16px;
    gap: 12px;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 16px;
  }
  .thread.chat .reply-bar + .center {
    margin-top: -6px;
  }
  .thread.chat .bubbles {
    gap: 12px;
  }
  /* the footer stays at the bottom of the screen under the shorter card */
  main:has(.thread.chat) {
    box-sizing: border-box;
    min-height: calc(100vh - var(--head-h) - var(--legal-h));
    min-height: calc(100dvh - var(--head-h) - var(--legal-h));
  }
}
/* The safe-meeting card under the messages: folded, one 48 px row ("Meeting the seller", "Tips ›"); open, the title and
   Close, the four ticked tips, the maps link and the small "not a guarantee" line. */
.thread.chat .meet-card {
  flex: none;
  color: var(--ink);
  line-height: normal;
  background: #fff;
  border: 1px solid #c9d0d9;
  border-radius: 14px;
}
.thread.chat .meet-card > summary {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.thread.chat .meet-card > summary::-webkit-details-marker {
  display: none;
}
.thread.chat .meet-card .meet-open {
  font-size: 14px;
  font-weight: 400;
  color: var(--brand);
  white-space: nowrap;
}
.thread.chat .meet-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.thread.chat .meet-card[open] > summary {
  display: none;
}
.thread.chat .meet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.thread.chat .meet-head b {
  font-size: 16px;
}
.thread.chat .meet-head .link {
  min-height: 44px;
  min-width: 44px;
  justify-content: flex-end;
  font-size: 14px;
  font-weight: 600;
}
.thread.chat .meet-tips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.thread.chat .meet-tips li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
}
.thread.chat .meet-tick {
  color: var(--brand);
  font-weight: 600;
}
.thread.chat .meet-links {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.thread.chat .meet-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.thread.chat .meet-note {
  margin: 0;
  font-size: 12.5px;
  color: #5b6676;
}
@media (max-width: 375px) {
  .thread.chat .meet-links a {
    font-size: 13px;
  }
}
/* Paying safely, opened from the safe-meeting card in the buyer's chat: the title, four ticked steps (15/21, the tick blue),
   the tax line on a grey card, the small "not advice" line and one filled "Got it" back to the chat. On a phone the button
   sits at the bottom of the frame, above the page footer; on the computer the page is a 560 px column and the button is
   200 px wide under the lines. */
.paying {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
}
.paying h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: normal;
}
.paying-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.paying-steps li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 21px;
}
.paying-tick {
  color: var(--brand);
  font-weight: 600;
}
.paying-tax {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  background: #f4f6f8;
  border-radius: 12px;
  padding: 10px 12px;
}
.paying-note {
  margin: 0;
  font-size: 12.5px;
  line-height: normal;
  color: #5b6676;
}
@media (max-width: 899px) {
  .paying {
    box-sizing: border-box;
    min-height: calc(100vh - var(--head-h) - var(--legal-h) - 20px);
    min-height: calc(100dvh - var(--head-h) - var(--legal-h) - 20px);
  }
  main:has(.paying) {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .paying-done {
    margin-top: auto;
  }
}
@media (min-width: 900px) {
  .paying {
    max-width: 560px;
    margin: 0 auto;
    gap: 12px;
  }
  .paying-steps {
    gap: 12px;
  }
  .paying h1 {
    font-size: 26px;
  }
  .paying-done {
    align-self: flex-start;
    width: 200px;
    box-sizing: border-box;
  } /* the footer stays at the bottom of the screen under the short page */
  main:has(.paying) {
    box-sizing: border-box;
    min-height: calc(100vh - var(--head-h) - var(--legal-h));
    min-height: calc(100dvh - var(--head-h) - var(--legal-h));
  }
}
/* A space code never breaks inside ("B-" / "07"), SW-3w. */
.nowrap {
  white-space: nowrap;
}
/* SW-4rk, SW-4rb, SW-4rx, SW-4ro, SW-4rs: Block / Unblock, "Report this seller" and the neutral line in the private chat.
   Its own style file (README.md): a feature adds a 90-<feature>.css and touches no other. */
.thread.chat > .chat-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.thread.chat > .chat-actions .link {
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  font-weight: 600;
}
/* SW-4rx: the one grey line under a message the seller did not take, in place of "Sent" */
.chat-blocked-line {
  align-self: flex-end;
  text-align: right;
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  max-width: 80%;
  padding: 0 4px;
}
.chat-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* SW-4ro: six kinds, one picked; each row a 44 px tap area */
.report-kinds {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.report-kind {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  line-height: 19px;
}
.report-kinds .report-kind {
  font-size: 15px;
  line-height: 20px;
}
.report-kind input {
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0;
}
.report-sent {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}
/* SW-4ro: "Not now" is drawn in ink, not brand blue */
dialog [data-report-close] {
  color: var(--ink);
}
/* SW-4cw, SW-4rn, SW-4rs: "Report this message" under the seller's messages and its sheet with its thanks. Its own style file
   (apps/sales/src/styles/README.md); the sheet shares the phone-confirm sheet's dialog look. The row of "Report this seller ›", Block and
   "End this chat" is 90-chat-block.css's. */
/* The link line under a message: a 44 px text button on the left, 15/600 in the site blue */
.chat-report-row {
  align-self: flex-start;
  list-style: none;
}
.chat-report-row .link {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
/* The sheet (SW-4rn): six reasons as radio rows of 44 px, the words under them, one filled button, "Not now" */
.report-reasons {
  display: flex;
  flex-direction: column;
}
.report-reason {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  line-height: 20px;
}
.report-reason input {
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0;
  accent-color: var(--brand);
}
.report-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 17px;
  color: #5b6676;
}
dialog.sheet-dialog[data-msg-report-sheet] .btn {
  min-height: 48px;
}
dialog.sheet-dialog[data-msg-report-sent] .link {
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
@media (max-width: 640px) {
  dialog.sheet-dialog[data-msg-report-sheet],
  dialog.sheet-dialog[data-msg-report-sent] {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 16px rgba(14, 23, 38, 0.2);
  }
  dialog.sheet-dialog[data-msg-report-sheet] .sheet-handle,
  dialog.sheet-dialog[data-msg-report-sent] .sheet-handle {
    display: block;
  }
  dialog.sheet-dialog[data-msg-report-sheet]::backdrop,
  dialog.sheet-dialog[data-msg-report-sent]::backdrop {
    background: rgba(14, 23, 38, 0.45);
  }
}
/* The Notify me page (boards SW-3wc0n / 0k / 0s, phone and computer), from dev2's 300a9ac290. */
.notify-car {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
}
.notify-car .dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #8a5a00;
  flex: none;
  margin-top: 5px;
}
.notify-car b {
  font-weight: 600;
}
.notify-car .notify-sub {
  font-size: 12.5px;
  line-height: 17px;
  color: var(--muted);
}
.notify-consent {
  font-size: 14px;
  line-height: 20px;
  color: #3b4452;
  margin: 0;
}
.notify-consent .link {
  font-weight: 800;
  min-height: 44px;
  margin: -12px 0;
  display: inline-flex;
}
.notify-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.notify-actions .link {
  min-height: 44px;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}
.notify-actions .link.dark {
  color: #0e1726;
}
/* "You'll be told ✓" and "You won't be told": an outlined status, so no filled button is left (SW-3wc0k, SW-3wc0s). */
.btn.on {
  background: #fff;
  color: var(--brand);
  border: 1px solid #b9c2cd;
  min-height: 48px;
  font-weight: 800;
  font-size: 15px;
  padding: 0 14px;
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
}
/* Legal wording layout (D16 Part B; components/LegalLine.astro, MoreText.astro). */

/* Consent slot: the line and an unseen filler of the key's longest text share one grid cell, so the box is as tall as the
   longest text allowed at this width, and grows (never cuts) for anything longer. */
.legal-slot {
  display: grid;
}
.legal-slot > * {
  grid-area: 1 / 1;
  min-width: 0;
}
.legal-slot-size {
  visibility: hidden;
  user-select: none;
  overflow-wrap: anywhere;
}

/* More slot: a fixed number of lines while closed; the checkbox opens it. */
.more-text-open {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.more-text-body {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}
.more-text[data-lines="2"] .more-text-body {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.more-text[data-lines="3"] .more-text-body {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.more-text[data-lines="4"] .more-text-body {
  -webkit-line-clamp: 4;
  line-clamp: 4;
}
.more-text[data-lines="5"] .more-text-body {
  -webkit-line-clamp: 5;
  line-clamp: 5;
}
.more-text[data-lines="6"] .more-text-body {
  -webkit-line-clamp: 6;
  line-clamp: 6;
}
.more-text .more-text-open:checked ~ .more-text-body {
  display: block;
  -webkit-line-clamp: none;
  line-clamp: none;
  overflow: visible;
}
.more-text-toggle {
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.more-text-open:focus-visible ~ .more-text-toggle {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.more-text-less,
.more-text-open:checked ~ .more-text-toggle .more-text-more {
  display: none;
}
.more-text-open:checked ~ .more-text-toggle .more-text-less {
  display: inline;
}
.more-text.is-short .more-text-toggle {
  display: none;
}
/* The car page's "On record" rows and their sheet (SW-3k, SW-3ks): one tick at the heading, small grey source lines. The sheet opens from
   "What this means" (#on-record-sheet): no script. */
.on-record {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 19px;
  min-height: 44px;
}
.on-record .icon {
  flex: none;
  margin-top: 1px;
  color: var(--good);
}
.on-record-body {
  flex: 1;
  min-width: 0;
}
.on-record-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.on-record-head a {
  font-weight: 600;
  white-space: nowrap;
}
.on-record-lines span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 17px;
}
.sheet-target {
  display: none;
}
.sheet-target:target {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 40;
  align-items: flex-end;
  background: rgba(14, 23, 38, 0.45);
}
.sheet-target .sheet-box {
  width: 100%;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px 16px 24px;
  display: grid;
  gap: 10px;
}
/* The phone-confirm step in the buyer chat (carry-over of #2773, #3702 A2): its own file, no other style file is touched. */
/* Confirm your phone (board SW-4p): a bottom sheet with a handle over the dimmed chat on a phone; the seller's words in a bordered card;
   "Not now" bold grey and centred */
.quote-card {
  margin: 0;
  padding: 10px 12px;
  border: 1.5px solid #7e8898;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  line-height: 21px;
}
dialog.sheet-dialog .confirm-notnow {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 0;
  background: none;
  color: #5b6676;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.sheet-handle {
  display: none;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: #c9d0d9;
  align-self: center;
}
@media (max-width: 640px) {
  dialog.sheet-dialog[data-confirm-sheet] {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 16px rgba(14, 23, 38, 0.2);
  }
  dialog.sheet-dialog[data-confirm-sheet] .sheet-handle {
    display: block;
  }
  dialog.sheet-dialog[data-confirm-sheet]::backdrop {
    background: rgba(14, 23, 38, 0.6);
  }
}
button.row-link {
  width: 100%;
  font: inherit;
  text-align: left;
  background: none;
  cursor: pointer;
}
/* The "Private" seller badge, drawn as SW-3w / SW-3wcd (data-seller-badge): 96x18, 11px bold, never a name. */
.seller-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 96px;
  height: 18px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  vertical-align: 1px;
  flex: none;
  white-space: nowrap;
  background: #e7eefc;
  color: #1f4fd1;
}

/* A private seller's picked city on a card (SW-1s1, SW-1s1d): the badge and "<city>, <state>" on one 12 px line. */
.car .meta.seller-place {
  font-size: 12px;
  line-height: 18px;
}
/* SW-4cw, SW-4cn (redrawn, designer-approved 2026-11-23): a note under a chat message (a scam warning under the seller's, what was removed
   under your own). Carry-over of #2791, #3702 B: its own style file (apps/sales/src/styles/README.md). */
.chat-note {
  font-size: 13px;
  line-height: 18px;
  color: #5b6676;
  max-width: 80%;
}
/* SW-4cn draws the removed line as a plain block under the bubble: the full width, left-aligned (the app's SX-29cn is the one on the right) */
.chat-note.mine {
  align-self: stretch;
  text-align: left;
  max-width: none;
}
/* The warning: a warm box with a border (SW-4cw), "Careful:" bold */
.chat-note.theirs {
  align-self: flex-start;
  max-width: 88%;
  font-size: 13.5px;
  line-height: 19px;
  color: #3b2a00;
  background: #fff1d6;
  border: 1px solid #e8c877;
  border-radius: 12px;
  padding: 8px 12px;
}
.chat-note b {
  font-weight: 600;
}
