:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6b7280;
  --line: #e5e7eb;
  --red: #d71920;
  --red-dark: #9f1117;
  --gold: #f5b51b;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f4f4f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

a {
  color: inherit;
  text-decoration: none;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 44px);
  color: #ffffff;
  background: rgba(17, 17, 17, 0.96);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
}

.public-brand,
.public-header nav,
.hero-actions,
.visit-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--red), #111111);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  font-weight: 950;
}

.public-brand > span:not(.brand-mark) {
  display: grid;
}

.public-brand small {
  color: var(--gold);
}

.public-header nav {
  flex-wrap: wrap;
  justify-content: center;
}

.public-header nav a {
  padding: 8px 10px;
  color: #f8fafc;
  font-weight: 800;
}

.call-button,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 900;
}

.call-button,
.primary-link {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 22px rgba(215, 25, 32, 0.28);
}

.secondary-link {
  color: #111111;
  background: var(--gold);
}

main {
  display: grid;
  gap: 28px;
}

.public-hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: clamp(34px, 7vw, 88px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.28)),
    url("public-photos/bmw-528xi-10301.jpg") center / cover;
}

.public-hero > div {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 8vw, 5rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.04;
}

.public-hero p:not(.eyebrow),
.finance-band p {
  max-width: 640px;
  color: #f3f4f6;
  font-size: 1.05rem;
}

.inventory-section,
.selected-vehicle-section,
.visit-section,
.finance-band,
.lendmark-application-section,
.request-section {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.section-heading,
.visit-section,
.finance-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.search-box {
  display: grid;
  gap: 6px;
  width: min(420px, 100%);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.search-box input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.vehicle-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.08);
}

.vehicle-photo {
  position: relative;
  overflow: hidden;
  background: #111111;
}

.vehicle-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111111;
}

.vehicle-photo span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(17, 17, 17, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
}

.vehicle-card-content {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.selected-vehicle-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.08);
}

.selected-vehicle-media {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
  background: #111111;
}

.selected-vehicle-main-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #111111;
}

.vehicle-gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 8px;
}

.vehicle-gallery-thumb {
  display: block;
  overflow: hidden;
  min-width: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: #27272a;
  cursor: pointer;
}

.vehicle-gallery-thumb.is-active {
  border-color: var(--gold);
}

.vehicle-gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vehicle-gallery-count {
  margin: 0;
  color: #f4f4f5;
  font-size: 0.82rem;
  font-weight: 900;
}

.selected-vehicle-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
}

.selected-vehicle-copy h2 {
  margin-bottom: 0;
}

.vehicle-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.12;
}

.vehicle-status {
  width: fit-content;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #116149;
  background: #dcfce7;
  font-size: 0.75rem;
  font-weight: 900;
}

.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.vehicle-meta span {
  border-radius: 999px;
  padding: 6px 9px;
  background: #f3f4f6;
}

.price {
  color: var(--red-dark);
  font-size: 1.5rem;
  font-weight: 900;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-actions .secondary-link {
  box-shadow: none;
}

.vehicle-detail-page {
  padding: clamp(24px, 5vw, 64px);
}

.vehicle-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.vehicle-detail-photo {
  overflow: hidden;
  border-radius: 8px;
  background: #111111;
  box-shadow: var(--shadow);
}

.vehicle-detail-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vehicle-detail-copy {
  display: grid;
  gap: 16px;
}

.vehicle-detail-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.vehicle-detail-copy p:not(.eyebrow) {
  color: var(--muted);
}

.finance-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 36px);
  color: #ffffff;
  background: linear-gradient(135deg, #111111, #4d090d 62%, #d71920);
}

.finance-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.finance-option-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.finance-option-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.finance-option-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: #f3f4f6;
}

.finance-option-card .primary-link,
.finance-option-card .secondary-link {
  width: 100%;
}

.lendmark-application-section {
  display: grid;
  gap: 18px;
}

.lendmark-application-section .section-heading {
  align-items: center;
}

.lendmark-application-section .section-heading p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
}

.branch-card {
  display: grid;
  gap: 4px;
  min-width: min(100%, 330px);
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 14px;
  color: #111111;
  background: #fffbeb;
}

.branch-card span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.lendmark-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 24px);
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08);
}

.lendmark-form fieldset {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.lendmark-form legend {
  padding: 0 6px;
  color: var(--red-dark);
  font-weight: 950;
}

.id-scan-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 14px;
  background: #f0fdf4;
}

.id-scan-panel strong {
  color: #14532d;
  font-weight: 950;
}

.id-scan-panel p {
  margin: 4px 0 0;
  color: #166534;
  font-size: 0.92rem;
  font-weight: 750;
}

.id-scan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.id-photo-button {
  border: 0;
  cursor: pointer;
}

.id-scan-actions [hidden],
.id-scan-camera[hidden] {
  display: none;
}

.id-scan-camera {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
}

.id-scan-camera video {
  width: 100%;
  max-height: 420px;
  border: 2px solid #14532d;
  border-radius: 8px;
  background: #111111;
  object-fit: cover;
}

.id-scan-camera span,
.id-scan-status {
  color: #166534;
  font-size: 0.9rem;
  font-weight: 800;
}

.id-scan-manual {
  grid-column: 1 / -1;
  border-top: 1px solid #bbf7d0;
  padding-top: 10px;
}

.id-scan-manual summary {
  width: fit-content;
  color: #14532d;
  font-size: 0.9rem;
  font-weight: 950;
  cursor: pointer;
}

.id-scan-manual label {
  margin-top: 10px;
}

.id-scan-manual textarea {
  width: 100%;
  min-height: 110px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.id-scan-manual button {
  margin-top: 8px;
}

.id-scan-status {
  grid-column: 1 / -1;
  margin: 0;
}

.id-scan-status.is-error {
  color: #991b1b;
}

.lendmark-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.lendmark-form input,
.lendmark-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

.certification-fieldset {
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
}

.lendmark-form .checkbox-field {
  grid-template-columns: auto 1fr;
  grid-column: auto;
  min-height: auto;
}

.lendmark-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.payment-portal-section {
  display: grid;
  gap: 18px;
}

.payment-portal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
}

.payment-login-panel {
  position: sticky;
  top: 90px;
}

.payment-account-view {
  display: grid;
  gap: 12px;
}

.payment-account-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.payment-account-card h3,
.payment-account-card p {
  margin: 0;
}

.item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.item-top span {
  border-radius: 999px;
  padding: 5px 9px;
  color: #166534;
  background: #dcfce7;
  font-size: 0.78rem;
  font-weight: 900;
}

.payment-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.payment-summary-grid div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.payment-summary-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.payment-summary-grid strong {
  color: #111111;
  font-size: 1.1rem;
}

.payment-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.towing-actions,
.request-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  grid-column: 1 / -1;
}

.towing-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.request-panel > .deposit-status,
.request-panel > .distance-status {
  grid-column: 1 / -1;
}

.location-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  grid-column: 1 / -1;
}

.location-actions > * {
  min-height: 44px;
}

.tow-estimate-card {
  display: grid;
  gap: 8px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 14px;
  background: #fffbeb;
}

.tow-estimate-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tow-estimate-card span {
  color: var(--muted);
  font-weight: 800;
}

.tow-estimate-card strong {
  color: #111111;
  font-size: 1.6rem;
}

.tow-estimate-card p,
.tow-estimate-card small {
  margin: 0;
  color: var(--muted);
}

.tow-fee-notice {
  display: grid;
  gap: 8px;
  border-top: 1px solid #fde68a;
  margin-top: 6px;
  padding-top: 12px;
}

.tow-fee-notice h3,
.tow-fee-notice p {
  margin: 0;
}

.tow-fee-notice h3 {
  color: #111111;
  font-size: 1rem;
}

.tow-fee-notice strong {
  font-size: 0.88rem;
}

.towing-card-consent,
.towing-marketing-consent,
.towing-fee-consent {
  grid-column: 1 / -1;
  min-height: auto;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.towing-card-payment,
.towing-balance-payment {
  display: grid;
  grid-column: 1 / -1;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.towing-card-payment[hidden],
.towing-balance-payment[hidden] {
  display: none;
}

.towing-card-payment h3,
.towing-card-payment p,
.towing-balance-payment h3,
.towing-balance-payment p {
  margin: 0;
}

.towing-card-payment > .item-top > strong,
.towing-balance-payment > strong {
  color: #111111;
  font-size: 1.35rem;
}

.clover-fields {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(110px, 1fr));
  gap: 10px;
}

.clover-field {
  display: grid;
  gap: 6px;
}

.clover-field > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.clover-field > div {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #ffffff;
}

.towing-card-payment > button,
.towing-balance-payment > button {
  width: min(100%, 360px);
}

.deposit-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.distance-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.deposit-status.is-error,
.distance-status.is-error {
  color: #b91c1c;
}

.visit-section {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
}

.visit-section .eyebrow {
  color: var(--red-dark);
}

.request-section {
  display: grid;
  gap: 18px;
}

.request-section .section-heading {
  align-items: center;
}

.request-section .section-heading p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.request-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 24px);
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08);
}

.request-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.request-panel input,
.request-panel textarea,
.request-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.checkbox-field {
  align-content: end;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 70px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
}

.request-panel label:has(textarea),
.request-panel .request-link,
.distance-status,
.tow-estimate-card {
  grid-column: 1 / -1;
}

.distance-button {
  align-self: end;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.request-panel .request-link {
  justify-self: start;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 24px clamp(16px, 4vw, 44px);
  color: #f3f4f6;
  background: #111111;
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.chat-widget > * {
  pointer-events: auto;
}

.chat-toggle {
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.28);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.chat-panel {
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(17, 17, 17, 0.26);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: #ffffff;
  background: #111111;
}

.chat-header div {
  display: grid;
  gap: 2px;
}

.chat-header span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
}

.chat-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.chat-messages {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding: 14px;
  background: #f8fafc;
}

.chat-message {
  max-width: 88%;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.chat-message.assistant {
  justify-self: start;
  color: #111111;
  background: #ffffff;
  border: 1px solid var(--line);
}

.chat-message.user {
  justify-self: end;
  color: #ffffff;
  background: var(--red-dark);
}

.chat-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 6px;
  padding: 10px 12px 0;
}

.chat-quick-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #111111;
  background: #ffffff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
}

.chat-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.chat-form button {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--red);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

@media (max-width: 760px) {
  .public-header,
  .section-heading,
  .visit-section,
  .finance-band {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .request-section .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .request-panel {
    grid-template-columns: 1fr;
  }

  .finance-options {
    grid-template-columns: 1fr;
  }

  .lendmark-form fieldset,
  .certification-fieldset {
    grid-template-columns: 1fr;
  }

  .id-scan-panel {
    grid-template-columns: 1fr;
  }

  .id-scan-actions {
    justify-content: stretch;
  }

  .id-scan-actions .secondary-link {
    width: 100%;
  }

  .payment-portal-grid,
  .payment-summary-grid,
  .payment-actions {
    grid-template-columns: 1fr;
  }

  .payment-login-panel {
    position: static;
  }

  .public-header nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .public-hero {
    min-height: 460px;
  }

  .hero-actions,
  .visit-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .towing-actions,
  .request-actions,
  .location-actions,
  .clover-fields {
    grid-template-columns: 1fr;
  }

  .vehicle-detail-hero {
    grid-template-columns: 1fr;
  }

  .selected-vehicle-card {
    grid-template-columns: 1fr;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-photo img {
    aspect-ratio: 4 / 3;
  }

  .vehicle-card-content {
    padding: 14px;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
  }

  .chat-widget.is-open {
    left: 12px;
  }

  .chat-panel {
    width: 100%;
  }

  .chat-messages {
    max-height: 240px;
  }

  .chat-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
