:root {
  color-scheme: light;
  --ink: #070707;
  --ink-soft: #2b2926;
  --muted: #8f8a82;
  --muted-strong: #6d675f;
  --line: rgba(7, 7, 7, 0.1);
  --line-strong: rgba(7, 7, 7, 0.18);
  --surface: #f4f0e8;
  --surface-soft: #ebe6dc;
  --panel: #fbfaf6;
  --panel-muted: #ded9cf;
  --inverse: #070707;
  --inverse-muted: #24211d;
  --danger: #9d3b2f;
  --shadow: 0 26px 80px rgba(28, 24, 19, 0.16);
  --shadow-soft: 0 12px 38px rgba(28, 24, 19, 0.1);
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(244, 240, 232, 0.48));
  --glass-line: rgba(255, 255, 255, 0.72);
  --glass-shadow: 0 18px 54px rgba(28, 24, 19, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.72), transparent 24rem),
    radial-gradient(circle at 80% 18%, rgba(214, 208, 196, 0.55), transparent 28rem),
    linear-gradient(115deg, transparent 0 48%, rgba(7, 7, 7, 0.025) 48% 48.2%, transparent 48.2%),
    var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:has(.modal-toggle:checked) {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 7, 7, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 7, 7, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 18%, black, transparent 62%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(7, 7, 7, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 55%, rgba(7, 7, 7, 0.06) 0 1px, transparent 1px);
  background-size: 18px 18px, 26px 26px;
  mix-blend-mode: multiply;
  content: "";
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 clamp(18px, 4vw, 38px);
  background: rgba(244, 240, 232, 0.88);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, auto) minmax(190px, 1fr);
  align-items: center;
  gap: 22px;
  width: min(100%, var(--max));
  min-height: 70px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--ink);
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.site-header-inner > .brand {
  grid-column: 1;
  grid-row: 1;
}

.site-header .brand {
  transform-origin: left center;
}

.brand-word {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-size: clamp(1.28rem, 1.8vw, 1.62rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 1;
}

.brand-word span {
  color: #cf4a1f;
}

.brand-word::after {
  position: absolute;
  right: 0.03em;
  bottom: -0.34em;
  left: 0.08em;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ink), #cf4a1f);
  opacity: 0;
  transform: scaleX(0.38);
  transform-origin: left center;
  transition: opacity 180ms ease, transform 180ms ease;
  content: "";
}

.brand:hover .brand-word::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-shell {
  display: contents;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
}

.nav-account {
  grid-column: 3;
  grid-row: 1;
  justify-content: flex-end;
  gap: 12px;
  padding-left: 52px;
}

.nav a,
.nav-form button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.nav a:hover,
.nav-form button:hover,
.text-link:hover {
  color: var(--muted-strong);
}

.nav-cta {
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px;
  background: var(--inverse) !important;
  color: #ffffff !important;
  text-transform: none !important;
}

.nav-profile {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: flex-start;
  width: auto;
  min-width: 122px;
  max-width: 164px;
  height: 38px;
  min-height: 38px !important;
  padding: 0 12px 0 10px !important;
  border: 1px solid rgba(7, 7, 7, 0.1) !important;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(251, 250, 246, 0.68)) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.74);
  text-transform: none !important;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.account-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.05);
  color: var(--ink);
  font-size: 0.68rem;
}

.nav-profile .fa-user,
.account-chevron {
  line-height: 1;
}

.account-chevron {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.58rem;
  opacity: 0.46;
  transition: opacity 180ms ease, transform 180ms ease;
}

.account-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu {
  position: relative;
  z-index: 50;
}

.account-menu.is-open,
body.account-menu-open .account-menu {
  z-index: 80;
}

.account-menu.is-open .nav-profile,
.nav-profile:hover {
  border-color: rgba(7, 7, 7, 0.18) !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 22px rgba(7, 7, 7, 0.06);
}

.account-menu.is-open .account-avatar,
.nav-profile:hover .account-avatar {
  background: rgba(7, 7, 7, 0.08);
}

.account-menu.is-open .account-chevron {
  opacity: 0.9;
  transform: rotate(180deg);
}

.account-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 174px;
  padding: 8px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 240, 232, 0.78));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 160ms ease, transform 160ms ease;
}

.account-menu.is-open .account-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.account-panel a,
.account-panel button {
  width: 100%;
  min-height: 38px;
  justify-content: flex-start;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

.account-panel a:hover,
.account-panel button:hover {
  background: rgba(7, 7, 7, 0.06);
  color: var(--ink);
}

.notification-menu {
  position: relative;
}

.header-notification {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  margin-right: 134px;
  z-index: 60;
}

body.account-menu-open .header-notification {
  z-index: 40;
}

body.notification-menu-open .header-notification {
  z-index: 90;
}

.notification-button {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.68);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.notification-button .fa-bell {
  font-size: 0.95rem;
  line-height: 1;
}

.notification-button:hover,
.notification-menu.is-open .notification-button {
  border-color: rgba(7, 7, 7, 0.18);
  background: rgba(255, 255, 255, 0.74);
}

.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: #d94a27;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.notification-count.is-empty {
  display: none;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 90;
  display: grid;
  width: min(380px, calc(100vw - 32px));
  max-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(7, 7, 7, 0.12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 242, 235, 0.94));
  box-shadow: 0 24px 70px rgba(28, 24, 19, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px) saturate(1.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 160ms ease, transform 160ms ease;
}

.notification-menu.is-open .notification-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(7, 7, 7, 0.1);
  background: rgba(255, 255, 255, 0.48);
}

.notification-panel-head strong {
  font-size: 0.88rem;
  font-weight: 900;
}

.notification-panel-head button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 850;
  cursor: pointer;
}

.notification-list {
  display: grid;
  max-height: 340px;
  overflow: auto;
  gap: 6px;
  padding: 10px;
}

.notification-item,
.notification-empty {
  border-radius: 10px;
  padding: 12px 13px;
}

.notification-item {
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, 0.5);
  color: inherit;
  text-decoration: none;
}

.notification-item:hover,
.notification-item:focus-visible {
  background: rgba(7, 7, 7, 0.055);
}

.notification-item.is-unread {
  background: rgba(217, 74, 39, 0.13);
}

.notification-item span {
  color: #655e55;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.notification-item strong {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.notification-empty {
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 750;
}

.nav-form {
  margin: 0;
}

.nav-toggle,
.nav-drawer-head,
.nav-backdrop {
  display: none;
}

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

.messages {
  position: sticky;
  top: 84px;
  z-index: 18;
  display: grid;
  gap: 10px;
  width: min(100% - 32px, 720px);
  margin: 16px auto 0;
}

.message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(7, 7, 7, 0.1);
  border-left-width: 5px;
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(28, 24, 19, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  transition: opacity 180ms ease, transform 180ms ease;
}

.message.success {
  border-left-color: #1f8a4c;
  background: linear-gradient(145deg, rgba(240, 250, 244, 0.98), rgba(251, 250, 246, 0.96));
}

.message.error {
  border-left-color: #b82411;
  background: linear-gradient(145deg, rgba(255, 242, 239, 0.98), rgba(251, 250, 246, 0.96));
}

.message.warning {
  border-left-color: #b26b00;
  background: linear-gradient(145deg, rgba(255, 248, 229, 0.98), rgba(251, 250, 246, 0.96));
}

.message.info {
  border-left-color: #286aa8;
  background: linear-gradient(145deg, rgba(239, 247, 255, 0.98), rgba(251, 250, 246, 0.96));
}

.message-icon,
.message-dismiss {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.message-icon {
  width: 30px;
  height: 30px;
  background: var(--inverse);
  color: #fff;
  font-size: 0.78rem;
}

.message.success .message-icon {
  background: #1f8a4c;
}

.message.error .message-icon {
  background: #b82411;
}

.message.warning .message-icon {
  background: #b26b00;
}

.message.info .message-icon {
  background: #286aa8;
}

.message-copy {
  min-width: 0;
}

.message-dismiss {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(7, 7, 7, 0.08);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted-strong);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.message-dismiss:hover {
  background: var(--inverse);
  color: #fff;
  transform: translateY(-1px);
}

.message-dismiss:focus-visible {
  outline: 3px solid rgba(7, 7, 7, 0.16);
  outline-offset: 2px;
}

.message.is-dismissing {
  opacity: 0;
  transform: translateY(-6px);
}

.motion-enabled .site-header .brand,
.motion-enabled .nav-links a,
.motion-enabled .nav-account > *,
.motion-enabled .hero-copy,
.motion-enabled .hero-action-rail,
.motion-enabled .hero-stage {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-enabled .site-header .brand {
  transform: translateY(-8px) scale(0.98);
}

.motion-enabled.page-ready .site-header .brand,
.motion-enabled.page-ready .nav-links a,
.motion-enabled.page-ready .nav-account > *,
.motion-enabled.page-ready .hero-copy,
.motion-enabled.page-ready .hero-action-rail,
.motion-enabled.page-ready .hero-stage {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.motion-enabled.page-ready .nav-links a:nth-child(2) {
  transition-delay: 60ms;
}

.motion-enabled.page-ready .nav-links a:nth-child(3) {
  transition-delay: 120ms;
}

.motion-enabled.page-ready .nav-links a:nth-child(4) {
  transition-delay: 180ms;
}

.motion-enabled.page-ready .nav-account > * {
  transition-delay: 220ms;
}

.motion-enabled.page-ready .hero-copy {
  transition-delay: 120ms;
}

.motion-enabled.page-ready .hero-action-rail {
  transition-delay: 240ms;
}

.motion-enabled.page-ready .hero-stage {
  transition-delay: 320ms;
}

.motion-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-enabled .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  width: min(100% - 32px, var(--max));
  min-height: calc(100svh - 70px);
  margin: 0 auto;
  padding: clamp(26px, 3.6vh, 38px) 0 18px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  right: 4%;
  bottom: 34px;
  left: 4%;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.72), transparent 68%);
  filter: blur(2px);
  content: "";
}

.hero::after {
  position: absolute;
  right: 12%;
  bottom: 0;
  left: 12%;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(244, 240, 232, 0.96));
  content: "";
  z-index: 5;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ambient-ring {
  position: absolute;
  display: block;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 999px;
  animation: floatDrift 10s ease-in-out infinite;
}

.ambient-ring-one {
  top: 78px;
  left: 4%;
  width: 190px;
  height: 190px;
}

.ambient-ring-two {
  top: 182px;
  right: 5%;
  width: 260px;
  height: 260px;
  animation-delay: -4s;
}

.ambient-line {
  position: absolute;
  display: block;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 7, 7, 0.18), transparent);
  transform: rotate(-18deg);
  animation: shimmerLine 5.5s ease-in-out infinite;
}

.ambient-line-one {
  top: 205px;
  left: 14%;
  --angle: -18deg;
}

.ambient-line-two {
  top: 140px;
  right: 18%;
  --angle: 14deg;
  transform: rotate(var(--angle));
  animation-delay: -2s;
}

.hero-copy {
  position: relative;
  z-index: 6;
  max-width: 760px;
  animation: riseIn 700ms ease both;
}

.hero-copy.centered {
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 6.2vw, 5.35rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.hero h1 span {
  display: block;
  color: #c8c3bb;
}

.hero p {
  max-width: 590px;
  margin: 14px auto 0;
  color: #b1aca4;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 650;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.hero-actions.centered,
.hero-action-rail {
  justify-content: center;
}

.hero-action-rail {
  position: relative;
  z-index: 7;
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(244, 240, 232, 0.7);
  box-shadow: 0 18px 50px rgba(28, 24, 19, 0.12);
  backdrop-filter: blur(18px);
  animation: riseIn 760ms 160ms ease both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.button-primary,
.button-primary.dark {
  border: 1px solid var(--inverse);
  background: var(--inverse);
  color: #ffffff;
  cursor: pointer;
}

.button:hover,
.filter-chip:hover,
.panel-topline a:hover {
  transform: translateY(-1px);
}

.button,
.filter-chip,
.panel-topline a {
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.36);
  color: var(--ink);
}

.hero-stage {
  position: relative;
  z-index: 1;
  height: min(360px, 38svh);
  min-height: 318px;
  margin-top: clamp(20px, 3.5vh, 30px);
}

.hero-stage::before {
  position: absolute;
  inset: 0 0 auto;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.76), transparent 64%);
  content: "";
}

.hero-panel {
  position: absolute;
  right: 50%;
  bottom: 18px;
  z-index: 3;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  width: min(720px, calc(100% - 48px));
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  background: rgba(250, 249, 245, 0.9);
  box-shadow: var(--shadow);
  transform: translateX(50%);
  backdrop-filter: blur(18px);
  animation: panelLift 850ms 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-panel-sidebar {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 20px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(180deg, #57544f, #24221f);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.hero-panel-sidebar strong {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.hero-panel-sidebar span {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
}

.hero-panel-sidebar span:first-of-type {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

.hero-panel-main {
  display: grid;
  align-content: center;
  padding: 22px 26px;
}

.hero-panel-empty {
  grid-template-columns: 1fr;
  width: min(660px, calc(100% - 48px));
  min-height: 250px;
}

.hero-panel-empty .hero-panel-main {
  justify-items: center;
  padding: clamp(24px, 4vw, 38px);
  text-align: center;
}

.hero-panel-empty .panel-topline {
  justify-content: center;
}

.opening-soon-flow {
  display: grid;
  grid-template-columns: 46px minmax(30px, 1fr) 46px minmax(30px, 1fr) 46px;
  align-items: center;
  width: min(100%, 330px);
  margin: 18px auto 0;
}

.opening-soon-flow .flow-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(7, 7, 7, 0.1);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.6)),
    var(--panel);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(7, 7, 7, 0.08);
}

.opening-soon-flow .flow-icon i {
  font-size: 1rem;
}

.opening-soon-flow .flow-icon-accent {
  width: 54px;
  height: 54px;
  margin: -4px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.94), rgba(230, 73, 40, 0.12)),
    #fff7f4;
  color: var(--accent);
  box-shadow: 0 16px 34px rgba(230, 73, 40, 0.16);
}

.opening-soon-flow .flow-line {
  height: 2px;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.12), rgba(230, 73, 40, 0.2), rgba(7, 7, 7, 0.12));
}

.hero-panel-empty h2 {
  max-width: 460px;
  margin: 16px auto 10px;
}

.hero-panel-empty p {
  max-width: 520px;
  margin: 0 auto 20px;
  color: var(--muted-strong);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero-panel-empty .panel-metrics {
  width: 100%;
  max-width: 560px;
  margin: 0;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 750;
}

.panel-topline a {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--inverse);
  color: #ffffff;
  text-decoration: none;
}

.hero-panel h2 {
  max-width: 420px;
  margin: 14px 0 4px;
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero-price {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 850;
  letter-spacing: -0.06em;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.panel-metrics div,
.detail-stats div {
  padding: 12px;
  border-radius: var(--radius);
  background: #f0ede6;
}

.panel-metrics span,
.detail-stats span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.panel-metrics strong,
.detail-stats strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.panel-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  height: 54px;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.panel-bars span {
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #9d968b, #d8d3ca);
  transform-origin: bottom;
  animation: barPulse 2.8s ease-in-out infinite;
}

.panel-bars span:nth-child(2n) {
  animation-delay: -700ms;
}

.panel-bars span:nth-child(3n) {
  animation-delay: -1.3s;
}

.hero-side-image {
  position: absolute;
  bottom: -26px;
  z-index: 2;
  width: clamp(300px, 38vw, 520px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  filter: saturate(0.76) contrast(1.03);
  opacity: 0.9;
  transform: translateZ(0);
  animation: carReveal 900ms 280ms ease both;
}

.hero-side-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(244, 240, 232, 0.92));
  content: "";
}

.hero-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 700ms ease;
}

.hero:hover .hero-side-image img {
  transform: scale(1.075);
}

.hero-side-left {
  left: -128px;
}

.hero-side-right {
  right: -128px;
}

.trust-strip,
.section,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-strip div {
  min-height: 92px;
  padding: 18px;
  background: rgba(251, 250, 246, 0.62);
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.trust-strip span {
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.section {
  padding: 68px 0;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  background: rgba(235, 230, 220, 0.52);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2,
.page-band h1,
.auth-panel h1,
.detail-panel h1,
.sell-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.section-heading p:not(.eyebrow),
.page-band p:not(.eyebrow),
.sell-band p,
.auth-panel p,
.detail-panel p {
  color: var(--muted-strong);
  line-height: 1.55;
}

.dealer-inventory-workspace {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(7, 7, 7, 0.09);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.8), transparent 34%),
    rgba(239, 235, 226, 0.62);
  box-shadow: 0 18px 52px rgba(28, 24, 19, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.dealer-inventory-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(7, 7, 7, 0.09);
}

.dealer-inventory-title {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dealer-inventory-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--inverse);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(7, 7, 7, 0.14);
}

.dealer-inventory-title .eyebrow {
  margin-bottom: 7px;
}

.dealer-inventory-title h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.dealer-inventory-title p:not(.eyebrow) {
  max-width: 34rem;
  margin: 10px 0 0;
  color: var(--muted-strong);
  line-height: 1.45;
}

.dealer-inventory-summary {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.dealer-inventory-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 750;
}

.dealer-inventory-count strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.dealer-inventory-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.dealer-inventory-actions .button {
  min-height: 44px;
}

.dealer-inventory-actions .button i {
  margin-right: 8px;
  font-size: 0.72rem;
}

.dealer-inventory-grid {
  margin-top: 24px;
}

.dealer-inventory-empty {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.dealer-inventory-empty-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #ede8dd;
  color: var(--ink-soft);
}

.text-link {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.page-band {
  width: min(100% - 32px, var(--max));
  margin: 26px auto 0;
  padding: 68px 0 30px;
  text-align: center;
}

.page-band p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px auto 0;
}

.toolbar {
  margin-bottom: 24px;
}

.auction-market {
  display: grid;
  gap: 20px;
  width: min(100% - 32px, var(--max));
  margin: 30px auto 0;
  padding-bottom: 68px;
}

.auction-market-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.auction-market-copy h1 {
  max-width: 10em;
  margin: 6px 0 0;
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.078em;
  line-height: 0.92;
}

.auction-market-copy p:not(.eyebrow) {
  max-width: 32rem;
  margin: 12px 0 0;
  color: var(--muted-strong);
  line-height: 1.45;
}

.auction-market-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 10px;
}

.auction-market-stats div {
  min-width: 118px;
  padding: 14px 16px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.72);
  box-shadow: 0 1px 0 rgba(28, 24, 19, 0.04);
}

.auction-market-stats strong {
  display: block;
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.auction-market-stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auction-market-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(251, 250, 246, 0.58)),
    rgba(239, 235, 226, 0.54);
  box-shadow: 0 14px 42px rgba(28, 24, 19, 0.06);
}

.auction-market-toolbar > div {
  display: grid;
  gap: 8px;
}

.toolbar-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 0;
}

.home-auction-section {
  padding-top: clamp(42px, 5vw, 58px);
}

.home-auction-section .section-heading {
  margin-bottom: 18px;
}

.home-auction-filters {
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .auction-market {
    margin-top: 24px;
    padding-bottom: 46px;
  }

  .auction-market-header,
  .auction-market-toolbar {
    grid-template-columns: 1fr;
  }

  .auction-market-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 560px) {
  .auction-market {
    width: min(100% - 24px, var(--max));
    margin-top: 18px;
    gap: 14px;
  }

  .auction-market-copy h1 {
    font-size: clamp(2.3rem, 14vw, 3.35rem);
  }

  .auction-market-toolbar {
    padding: 12px;
  }

  .auction-market .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .auction-market .filter-chip {
    flex: 0 0 auto;
  }
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.52);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.filter-chip.active {
  border-color: var(--inverse);
  background: var(--inverse);
  color: #ffffff;
}

.auction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .auction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.auction-card,
.vehicle-card,
.empty-state,
.form-card,
.detail-panel {
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: var(--radius);
  background: var(--glass-bg);
  box-shadow: 0 1px 0 rgba(28, 24, 19, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.auction-card {
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.auction-card::before,
.vehicle-card::before,
.detail-panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 42%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.46), transparent 32%);
  opacity: 0.72;
  content: "";
}

.auction-card > *,
.vehicle-card > *,
.detail-panel > * {
  position: relative;
  z-index: 1;
}

.auction-card:hover,
.auction-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(7, 7, 7, 0.12);
  box-shadow: var(--glass-shadow);
}

.auction-card:focus-visible {
  outline: 3px solid rgba(7, 7, 7, 0.28);
  outline-offset: 4px;
}

.auction-card,
.vehicle-card,
.process-grid article,
.sell-band {
  animation: fadeUp 650ms ease both;
}

@supports (content-visibility: auto) {
  .auction-card,
  .vehicle-card {
    content-visibility: auto;
    contain-intrinsic-size: 320px 420px;
  }
}

@supports (animation-timeline: view()) {
  .auction-card,
  .vehicle-card,
  .process-grid article,
  .sell-band {
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
}

.vehicle-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--panel-muted);
}

.vehicle-media img,
.detail-media img,
.vehicle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.02), rgba(7, 7, 7, 0.52));
  content: "";
}

.media-label,
.source-badge-media,
.auction-status {
  position: absolute;
  z-index: 1;
}

.media-label {
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.9);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.source-badge,
.source-badge-inline {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--inverse);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
}

.source-badge {
  margin-top: 12px;
}

.source-badge-media {
  top: 0px;
  right: 12px;
  max-width: calc(100% - 82px);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(7, 7, 7, 0.18);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-row .source-badge-inline {
  background: var(--inverse);
  color: #ffffff;
}

.auction-status {
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.84rem;
  backdrop-filter: blur(18px) saturate(1.26) brightness(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.26) brightness(1.04);
}

.countdown {
  color: #ffffff;
  font-weight: 900;
}

.countdown.is-normal {
  color: rgb(255, 174, 0);
}

.countdown.is-urgent {
  color: #b82411;
}

.auction-status strong {
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(7, 7, 7, 0.5);
  white-space: nowrap;
}
.detail-stats .countdown {
  text-shadow: none;
}
.auction-body {
  padding: 17px;
}

.auction-body h2,
.auction-body h3,
.vehicle-card h2,
.vehicle-card h3,
.empty-state h2,
.empty-state h3,
.process-grid h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.vehicle-card h2,
.vehicle-card h3 {
  max-width: 13rem;
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.12;
}

.auction-body p,
.vehicle-card p,
.empty-state p,
.process-grid p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.45;
}

.vehicle-card p {
  font-size: 0.92rem;
  line-height: 1.42;
}

.meta-row,
.reserve-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.meta-row {
  margin-top: 14px;
}

.reserve-row {
  justify-content: flex-start;
  margin-top: 8px;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ede8dd;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 850;
}

.reserve-row .reserve-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ede8dd;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 850;
}

.vehicle-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px;
}

.vehicle-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
}

.vehicle-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(158px, 45%) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-height: 190px;
  padding: 0;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vehicle-card *,
.vehicle-card:hover *,
.vehicle-card:focus-visible * {
  text-decoration: none;
}

.vehicle-card:hover,
.vehicle-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(7, 7, 7, 0.12);
  box-shadow: var(--glass-shadow);
}

.vehicle-card:focus-visible {
  outline: 3px solid rgba(7, 7, 7, 0.28);
  outline-offset: 4px;
}

.vehicle-card-rich {
  min-height: 330px;
}

.vehicle-thumb {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-items: center;
  overflow: hidden;
  border-radius: 0;
  background: var(--inverse);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  text-transform: uppercase;
}

.vehicle-thumb::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.1), transparent 42%);
  content: "";
}

.vehicle-card > div:not(.vehicle-thumb) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 18px 20px;
}

.vehicle-card .vehicle-card-body {
  padding: 24px 26px 22px;
}

.vehicle-card-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.vehicle-status,
.vehicle-verification {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 999px;
  background: #eee9df;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vehicle-verification-pending {
  border-color: rgba(180, 112, 0, 0.18);
  background: #fff1d6;
  color: #875300;
}

.vehicle-verification-verified {
  border-color: rgba(20, 112, 67, 0.18);
  background: #e0f4e8;
  color: #146c43;
}

.vehicle-verification-rejected {
  border-color: rgba(184, 36, 17, 0.18);
  background: #fde5e1;
  color: #9f2413;
}

.vehicle-card-heading {
  margin-bottom: 22px;
}

.vehicle-card .vehicle-registration {
  margin-bottom: 6px;
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vehicle-card .vehicle-card-heading h2 {
  max-width: none;
  margin-bottom: 7px;
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
}

.vehicle-card .vehicle-location {
  font-size: 0.86rem;
}

.vehicle-card-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 20px;
  margin: 0;
  padding: 17px 0;
  border-top: 1px solid rgba(7, 7, 7, 0.08);
  border-bottom: 1px solid rgba(7, 7, 7, 0.08);
}

.vehicle-card-specs dt {
  margin-bottom: 3px;
  color: var(--muted-strong);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vehicle-card-specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.vehicle-card-footer {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
}

.vehicle-reserve span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted-strong);
  font-size: 0.7rem;
  font-weight: 750;
}

.vehicle-card .vehicle-reserve strong {
  margin: 0;
  padding: 0;
  font-size: 1.12rem;
}

.vehicle-card-link {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.vehicle-card-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.vehicle-card:hover .vehicle-card-link span,
.vehicle-card:focus-visible .vehicle-card-link span {
  transform: translateX(3px);
}

.vehicle-card strong {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.vehicle-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 22px;
  width: min(100% - 32px, var(--max));
  margin: 42px auto 0;
}

.vehicle-gallery,
.vehicle-gallery-main,
.vehicle-gallery-strip img {
  border-radius: var(--radius);
}

.vehicle-gallery {
  display: grid;
  gap: 12px;
}

.vehicle-gallery-main {
  display: grid;
  min-height: 510px;
  place-items: center;
  overflow: hidden;
  background: var(--inverse);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  text-transform: uppercase;
}

.vehicle-gallery-main img,
.vehicle-gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
}

.vehicle-gallery-strip img {
  aspect-ratio: 4 / 3;
  background: var(--panel-muted);
}

.vehicle-spec-panel h1 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.spec-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.spec-block h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.spec-block .meta-row {
  row-gap: 10px;
  margin-top: 0;
}

.spec-block .meta-row span {
  margin: 0;
}

.spec-block + .bid-form,
.spec-block + .detail-actions,
.spec-block + .payment-closed-state,
.spec-block + .empty-state {
  margin-top: 26px;
}

.spec-block + .bid-form {
  padding-top: 20px;
  border-top: 1px solid rgba(7, 7, 7, 0.1);
}

.process-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.58);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: #beb7ac;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.sell-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 7, 7, 0.85), rgba(7, 7, 7, 0.56)),
    url("../img/vehicles/toyota-prado.fb36372c9e7f.png");
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.sell-band .eyebrow,
.sell-band p {
  color: rgba(255, 255, 255, 0.72);
}

.sell-band h2 {
  color: #ffffff;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 26px;
}

.auction-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 22px;
  padding: 22px 24px;
  border-color: rgba(7, 7, 7, 0.09);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.8), transparent 34%),
    rgba(251, 250, 246, 0.76);
}

.auction-state-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 999px;
  background: #f3eee6;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.auction-state-upcoming .auction-state-icon {
  background: #fff7f4;
  color: var(--accent);
}

.auction-state h3 {
  margin-bottom: 6px;
}

.auction-state p {
  max-width: 31rem;
  font-size: 0.96rem;
}

.inline-action-form {
  margin-top: 10px;
}

.inline-action-form .text-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-verification-section {
  width: min(100% - 32px, var(--max));
  margin: -34px auto 0;
}

.account-verification-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(178, 107, 0, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 248, 229, 0.92), rgba(251, 250, 246, 0.9));
  box-shadow: 0 12px 34px rgba(28, 24, 19, 0.08);
}

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

.account-verification-card h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.account-verification-card p {
  color: var(--muted-strong);
  line-height: 1.45;
}

.account-verification-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fff7e8;
  color: #9b5c00;
}

.account-dashboard {
  display: grid;
  gap: 18px;
  padding-top: 58px;
  padding-bottom: 46px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 18px;
  align-items: stretch;
}

.account-hero-main,
.account-status-panel,
.account-overview-card {
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.72);
  box-shadow: 0 1px 0 rgba(28, 24, 19, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.account-hero-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.account-hero-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--inverse);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.account-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.account-hero p:not(.eyebrow) {
  max-width: 42rem;
  margin: 12px 0 0;
  color: var(--muted-strong);
  line-height: 1.45;
}

.account-hero-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.account-hero-email {
  margin: 6px 0 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 650;
}

.account-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(7, 7, 7, 0.12);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.9);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.account-edit-link:hover {
  background: #efe9df;
  border-color: rgba(7, 7, 7, 0.18);
}

.account-edit-link i {
  font-size: 0.78rem;
}

.account-status-panel {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
}

.account-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.account-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 999px;
  background: #efe9df;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.account-status-pill.is-success {
  border-color: rgba(31, 138, 76, 0.18);
  background: #e4f6eb;
  color: #146c43;
}

.account-status-pill.is-warning {
  border-color: rgba(178, 107, 0, 0.18);
  background: #fff3d8;
  color: #875300;
}

.account-quick-actions {
  display: grid;
  gap: 10px;
}

.account-quick-actions form {
  margin: 0;
}

.account-quick-actions .button {
  width: 100%;
  min-height: 44px;
}

.account-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-overview-card {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
}

.account-overview-card span,
.account-overview-card small {
  color: var(--muted-strong);
  font-weight: 750;
}

.account-overview-card span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-overview-card strong {
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.account-overview-card small {
  font-size: 0.86rem;
  line-height: 1.35;
}

.account-activity-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

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

.account-section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.account-section-heading p:not(.eyebrow) {
  margin: 8px 0 0;
}

.auth-panel,
.auction-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  align-items: stretch;
  width: min(100% - 32px, var(--max));
  margin: 42px auto 0;
}

.auth-panel {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  width: min(100% - 32px, 980px);
  margin-top: clamp(54px, 9vw, 96px);
}

.auth-intro {
  max-width: 460px;
}

.auth-panel h1 {
  max-width: 8.5em;
  font-size: clamp(2.45rem, 5vw, 4.15rem);
}

.auth-panel p {
  max-width: 31rem;
}

.auth-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.auth-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 750;
}

.auth-assurance i {
  color: var(--ink);
  font-size: 0.86rem;
}

.form-card,
.detail-panel {
  padding: 24px;
  box-shadow: var(--glass-shadow);
}

.auth-card {
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(251, 250, 246, 0.66));
  box-shadow: 0 18px 46px rgba(28, 24, 19, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.auth-card label {
  gap: 7px;
}

.auth-card label:has(.errorlist) {
  gap: 8px;
}

.auth-card .field-label {
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
  color: var(--ink-soft);
  font-size: 0.83rem;
  letter-spacing: 0;
}

.auth-card input {
  min-height: 48px;
  background: rgba(255, 255, 255, 0.76);
}

.auth-card input:focus {
  outline: 2px solid rgba(7, 7, 7, 0.12);
  outline-offset: 2px;
  border-color: rgba(7, 7, 7, 0.28);
  background: rgba(255, 255, 255, 0.94);
}

.auth-card label:has(.errorlist) input {
  border-color: rgba(157, 59, 47, 0.42);
  background: rgba(157, 59, 47, 0.035);
  box-shadow: 0 0 0 3px rgba(157, 59, 47, 0.06);
}

.auth-card .button {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
}

.auth-switch {
  margin: 0;
  padding-top: 2px;
  color: var(--muted-strong);
  font-size: 0.91rem;
  text-align: center;
}

.auth-switch a {
  color: var(--ink);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.auth-help-link {
  justify-self: end;
  margin-top: -7px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 750;
  text-underline-offset: 3px;
}

.auth-help-link:hover {
  color: var(--ink);
}

.auth-message-card {
  align-content: start;
  justify-items: start;
}

.auth-message-card > i {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--inverse);
  color: #fff;
}

.auth-message-card h2 {
  margin: 2px 0 0;
  font-size: 1.28rem;
  line-height: 1.15;
}

.auth-message-card p {
  margin: 0;
}

.auth-message-card .button {
  margin-top: 8px;
}

.field-optional-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.detail-panel {
  position: relative;
  align-self: stretch;
  overflow: hidden;
}

.detail-actions {
  display: flex;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(7, 7, 7, 0.1);
}

.detail-actions .button {
  width: fit-content;
  min-width: 166px;
}

.payment-closed-state {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(7, 7, 7, 0.1);
}

.payment-closed-state .button {
  width: fit-content;
  min-width: 166px;
}

.payment-closed-state .button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.payment-closed-state p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.45;
}

.modal-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  overscroll-behavior: contain;
  transition: opacity 160ms ease;
}

.modal-toggle:checked ~ .payment-modal {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.52);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.payment-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: min(680px, calc(100dvh - 88px));
  border: 1px solid rgba(7, 7, 7, 0.1);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--glass-shadow);
  color: var(--ink);
  overflow: hidden;
}

.payment-modal .payment-instructions {
  margin: 0;
  padding: 24px;
  border-top: 0;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(7, 7, 7, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  cursor: pointer;
}

.modal-close:focus-visible {
  outline: 3px solid rgba(7, 7, 7, 0.28);
  outline-offset: 3px;
}

.payment-instructions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(7, 7, 7, 0.1);
}

.payment-heading {
  display: grid;
  gap: 6px;
}

.payment-heading .eyebrow,
.payment-heading p,
.payment-heading h3 {
  margin: 0;
}

.payment-instructions h3 {
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.payment-reference-grid {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  overflow: hidden;
}

.payment-reference-grid div {
  display: grid;
  grid-template-columns: minmax(112px, 0.48fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
}

.payment-reference-grid div + div {
  border-top: 1px solid rgba(7, 7, 7, 0.07);
}

.payment-reference-grid dt,
.policy-note {
  color: var(--muted-strong);
}

.payment-reference-grid dt {
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-reference-grid dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
}

.payment-reference-grid dd span {
  display: block;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 750;
}

.policy-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.42;
}

.policy-note-warning {
  color: var(--danger);
  font-weight: 800;
}

.form-card {
  display: grid;
  gap: 15px;
}

.listing-panel {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.form-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 22px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-card label,
.bid-form label {
  display: grid;
  align-self: start;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

.form-card input,
.form-card select,
.form-card textarea,
.input {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font: inherit;
}

.form-card select {
  height: 45px;
  max-height: 45px;
  align-self: start;
}

.input.input-invalid {
  border-color: rgba(157, 59, 47, 0.58);
  background: rgba(157, 59, 47, 0.06);
}

.bid-input-feedback {
  color: var(--danger) !important;
  font-weight: 750 !important;
}

.bid-input-feedback.is-valid {
  color: var(--muted-strong) !important;
}

.bid-form button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.form-card input[type="file"] {
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.48);
}

.form-card textarea {
  min-height: 120px;
  padding-block: 12px;
  resize: vertical;
}

.form-card small,
.bid-form small {
  color: var(--muted-strong);
  font-weight: 550;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field-requirement {
  color: var(--muted-strong);
  font-size: 0.7rem;
  font-weight: 650;
}

.field-requirement.is-optional {
  color: var(--muted-strong);
}

.field-required-mark {
  margin-left: 3px;
  color: #b04424;
  font-size: 0.82em;
  font-weight: 900;
}

.listing-intro {
  padding-bottom: 34px;
}

.listing-workspace {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  padding-top: 24px;
}

.listing-guide {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.7);
}

.listing-guide h2 { margin-top: 6px; }
.listing-guide ol { display: grid; gap: 12px; padding-left: 22px; }
.listing-guide > p:last-child { color: var(--muted-strong); line-height: 1.6; }

.listing-form {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.form-section {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 28px 26px 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-section legend {
  display: flex;
  float: left;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 1.06rem;
  font-weight: 900;
}

.form-section legend span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
}

.form-section > p {
  clear: both;
  margin: 10px 0 22px;
  color: var(--muted-strong);
  line-height: 1.45;
}

.upload-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 170px;
  padding: 24px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.4);
  text-align: center;
  cursor: pointer;
}

.upload-dropzone:hover { border-color: #cf4a1f; background: rgba(207, 74, 31, 0.035); }
.upload-dropzone i { color: #cf4a1f; font-size: 1.8rem; }
.upload-dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

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

.image-upload-count {
  margin: -10px 0 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 650;
}

.image-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel-muted);
}

.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview span { position: absolute; right: 6px; bottom: 6px; left: 6px; overflow: hidden; padding: 5px 7px; border-radius: 5px; background: rgba(7, 7, 7, .76); color: #fff; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }

.image-preview-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  display: inline-grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.76);
  color: #fff;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.image-preview-remove:hover {
  background: #b82411;
  transform: scale(1.05);
}

.image-preview-remove:focus-visible {
  outline: 3px solid rgba(207, 74, 31, 0.42);
  outline-offset: 2px;
}

.listing-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
}

.listing-submit p { margin: 0; color: var(--muted-strong); font-size: .82rem; }

.errorlist {
  margin: 0;
  padding-left: 18px;
  color: var(--danger);
}

.auth-card > .errorlist {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(157, 59, 47, 0.16);
  border-radius: var(--radius);
  background: rgba(157, 59, 47, 0.07);
  color: #7d261d;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
}

.auth-card > .errorlist li {
  position: relative;
  padding-left: 25px;
}

.auth-card > .errorlist li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #9d3b2f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  content: "!";
}

.auth-card label .errorlist {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(157, 59, 47, 0.13);
  border-radius: 12px;
  background: rgba(157, 59, 47, 0.055);
  color: #7f2b22;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
  list-style: none;
}

.auth-card label .errorlist li {
  position: relative;
  padding-left: 18px;
}

.auth-card label .errorlist li::before {
  position: absolute;
  top: 0.36em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b33a2d;
  content: "";
}

.detail-media {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: stretch;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel-muted);
  box-shadow: var(--shadow-soft);
}

.vehicle-carousel-main {
  position: relative;
  height: auto;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel-muted);
}

.vehicle-carousel-has-controls .vehicle-carousel-main {
  border-radius: var(--radius) var(--radius) 0 0;
}

.vehicle-carousel-main img,
.vehicle-carousel-empty {
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.vehicle-carousel-main img {
  display: block;
  object-fit: cover;
}

.vehicle-carousel-count {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.76);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

.vehicle-carousel-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(7, 7, 7, 0.08);
  background: rgba(251, 250, 246, 0.62);
  backdrop-filter: blur(14px) saturate(1.04);
  -webkit-backdrop-filter: blur(14px) saturate(1.04);
}

.vehicle-carousel-track {
  display: flex;
  gap: 9px;
  max-width: min(430px, calc(100vw - 190px));
  overflow-x: auto;
  padding: 2px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.vehicle-carousel-thumb {
  flex: 0 0 86px;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--panel-muted);
  cursor: pointer;
  opacity: 0.74;
  transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.vehicle-carousel-thumb:hover,
.vehicle-carousel-thumb:focus-visible,
.vehicle-carousel-thumb.is-active {
  opacity: 1;
}

.vehicle-carousel-thumb.is-active {
  border-color: var(--inverse);
}

.vehicle-carousel-thumb:focus-visible,
.vehicle-carousel-arrow:focus-visible {
  outline: 3px solid rgba(7, 7, 7, 0.16);
  outline-offset: 2px;
}

.vehicle-carousel-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-carousel-arrow {
  display: inline-grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.vehicle-carousel-arrow:hover {
  background: var(--inverse);
  color: #fff;
  transform: translateY(-1px);
}

.vehicle-carousel-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-weight: 800;
}

.vehicle-carousel-empty i {
  font-size: 2rem;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.bid-form {
  display: grid;
  gap: 16px;
}

.bid-list {
  display: grid;
  gap: 10px;
}

.bid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.72);
}

.bid-row span {
  color: var(--muted-strong);
}

.profile-bid-grid {
  display: grid;
  gap: 14px;
}

.profile-bid-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1.2fr) minmax(220px, 0.95fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.78), transparent 26%),
    rgba(251, 250, 246, 0.76);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.74);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.profile-bid-card::after {
  position: absolute;
  top: -42px;
  right: -34px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(207, 74, 31, 0.14);
  border-radius: 999px;
  background: rgba(207, 74, 31, 0.04);
  content: "";
}

.profile-bid-card:hover,
.profile-bid-card:focus-visible {
  border-color: rgba(7, 7, 7, 0.16);
  box-shadow: var(--glass-shadow);
  transform: translateY(-2px);
}

.profile-bid-card:focus-visible {
  outline: 3px solid rgba(7, 7, 7, 0.28);
  outline-offset: 4px;
}

.profile-bid-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--inverse);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(7, 7, 7, 0.14);
}

.profile-bid-main,
.profile-bid-stats,
.profile-bid-action {
  position: relative;
  z-index: 1;
}

.profile-bid-main,
.profile-bid-action {
  display: grid;
  gap: 5px;
}

.profile-bid-main strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.profile-bid-main span:not(.profile-bid-kicker),
.profile-bid-action span,
.profile-bid-stats small {
  color: var(--muted-strong);
}

.profile-bid-kicker,
.profile-bid-action strong {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-bid-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-bid-stats > span {
  display: grid;
  gap: 4px;
  min-height: 64px;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.profile-bid-stats strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.1;
}

.profile-bid-action {
  justify-items: end;
  text-align: right;
}

.profile-bid-action span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.05);
  font-size: 0.78rem;
  font-weight: 750;
}

.profile-bid-action strong {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.profile-bid-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 116px;
}

.profile-bid-empty .button {
  justify-self: end;
}

.profile-bid-empty-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: #fff7f4;
  color: var(--accent);
}

.account-bid-list {
  gap: 12px;
}

.account-bid-row {
  min-height: 72px;
  padding: 16px 18px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.account-bid-row:hover,
.account-bid-row:focus-visible {
  border-color: rgba(7, 7, 7, 0.18);
  background: rgba(251, 250, 246, 0.92);
  transform: translateY(-1px);
}

.account-bid-row:focus-visible {
  outline: 3px solid rgba(7, 7, 7, 0.16);
  outline-offset: 2px;
}

.account-bid-row span {
  display: grid;
  gap: 3px;
  color: var(--ink);
  font-weight: 850;
}

.account-bid-row small {
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-bid-row strong {
  font-size: 1.05rem;
}

.account-empty-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 116px;
}

.account-empty-state .button {
  justify-self: end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted-strong);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 900px) {
  body.nav-open {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .messages {
    top: 78px;
    width: min(100% - 24px, 720px);
  }

  .dealer-inventory-header {
    grid-template-columns: 1fr;
  }

  .account-verification-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

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

  .account-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-bid-empty,
  .account-empty-state {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-bid-empty .button,
  .account-empty-state .button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .account-verification-card form {
    grid-column: 1 / -1;
    width: 100%;
  }

  .account-verification-card .button {
    width: 100%;
  }

  .dealer-inventory-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
  }

  body.nav-open main,
  body.nav-open .site-footer {
    visibility: hidden;
  }

  .nav-open .site-header {
    z-index: 1200;
    background: var(--surface);
    backdrop-filter: none;
  }

  .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    min-height: 66px;
  }

  .header-notification {
    position: relative;
    z-index: 1300;
    margin-left: auto;
    margin-right: 0;
  }

  .header-notification .notification-button {
    width: 42px;
    height: 38px;
    border-radius: 999px;
  }

  .header-notification .notification-button::after {
    content: none;
  }

  .header-notification .notification-count {
    top: -5px;
    right: -5px;
  }

  .header-notification .notification-panel {
    position: fixed;
    top: 64px;
    right: 12px;
    left: 12px;
    z-index: 1301;
    width: auto;
    max-height: min(440px, calc(100vh - 84px));
    border-radius: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .header-notification.is-open .notification-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-toggle {
    position: relative;
    z-index: 1300;
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 38px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(251, 250, 246, 0.64);
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: block;
    pointer-events: none;
    background: var(--surface);
    opacity: 0;
    transition: opacity 220ms ease;
  }

  .nav-open .nav-backdrop {
    pointer-events: auto;
    background: var(--surface);
    opacity: 1;
  }

  .nav-shell {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1150;
    display: flex;
    flex-direction: column;
    width: min(88vw, 360px);
    height: 100dvh;
    max-height: 100dvh;
    max-width: 360px;
    overflow: hidden;
    padding: 86px 20px 24px;
    border: 0;
    border-left: 1px solid rgba(7, 7, 7, 0.08);
    border-radius: 22px 0 0 22px;
    background:
      radial-gradient(circle at 76% 8%, rgba(255, 255, 255, 0.92), transparent 11rem),
      radial-gradient(circle at 10% 92%, rgba(196, 190, 177, 0.22), transparent 13rem),
      linear-gradient(180deg, #f7f4ed 0%, #eee9df 100%);
    box-shadow: none;
    isolation: isolate;
    transform: translateX(110%);
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .nav-shell::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-image:
      linear-gradient(rgba(7, 7, 7, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(7, 7, 7, 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, black, transparent 72%);
    content: "";
  }

  .nav-open .nav-shell {
    transform: translateX(0);
  }

  .nav-open .nav-links {
    padding-top: 4px;
  }

  .nav-drawer-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav-drawer-head .brand {
    visibility: hidden;
  }

  .drawer-close {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(251, 250, 246, 0.7);
    color: var(--ink);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 850;
    cursor: pointer;
    text-transform: uppercase;
  }

  .nav-links,
  .nav-account {
    grid-column: auto;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }

  .nav-links {
    display: grid;
    flex: 0 0 auto;
    align-content: start;
    gap: 8px;
    padding-top: 0;
    justify-items: stretch;
  }

  .nav-account {
    display: grid;
    flex: 0 0 auto;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    justify-items: stretch;
  }

  .nav a,
  .nav-form button {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 1rem;
    letter-spacing: -0.05em;
  }

  .nav-links a {
    background: rgba(251, 250, 246, 0.86);
    border: 1px solid rgba(7, 7, 7, 0.08);
  }

  .nav-form {
    width: 100%;
  }

  .account-menu {
    display: grid;
    gap: 10px;
    width: 100%;
  }

  .account-panel {
    position: static;
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .account-panel a,
  .account-panel button {
    min-height: 52px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
  }

  .account-panel a {
    display: none;
  }

  .account-panel button {
    background: transparent;
  }

  .nav-profile {
    display: inline-flex !important;
    width: 100%;
    max-width: none;
    height: auto;
    gap: 10px;
    min-height: 52px !important;
    justify-content: flex-start;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    background: var(--inverse) !important;
    color: #ffffff !important;
  }

  .account-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
  }

  .nav-profile::after {
    flex: 1 1 auto;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
    content: "Profile";
    text-transform: uppercase;
  }

  .nav-profile .fa-user {
    color: #ffffff;
  }

  .account-chevron {
    display: none;
  }

  .nav-profile .account-name {
    display: none;
  }

  .nav-profile:hover,
  .account-menu.is-open .nav-profile {
    background: var(--inverse) !important;
  }

  .nav-links a:hover,
  .nav-form button:hover {
    background: rgba(7, 7, 7, 0.06);
    color: var(--ink);
  }

  .nav-cta {
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    letter-spacing: -0.02em !important;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    width: min(620px, 100%);
  }

  .hero-panel-empty {
    width: min(620px, 100%);
  }

  .hero-panel-sidebar {
    display: none;
  }

  .hero-side-image {
    width: 250px;
    opacity: 0.65;
  }

  .hero-side-left {
    left: -110px;
  }

  .hero-side-right {
    right: -110px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .sell-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-panel,
  .auction-detail,
  .vehicle-detail,
  .listing-workspace {
    grid-template-columns: 1fr;
  }

  .listing-guide { position: static; }

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

  .image-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .listing-submit { align-items: stretch; flex-direction: column; }

  .listing-submit .button { width: 100%; }

  .vehicle-gallery-main {
    min-height: 360px;
  }

  .detail-media {
    align-self: start;
    height: auto;
    min-height: 0;
  }

  .vehicle-carousel-main,
  .vehicle-carousel-main img,
  .vehicle-carousel-empty {
    height: auto;
    min-height: 330px;
  }

  .vehicle-carousel-controls {
    padding: 8px;
  }

  .vehicle-carousel-track {
    max-width: calc(100vw - 132px);
  }

  .vehicle-carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .vehicle-carousel-thumb {
    flex-basis: 78px;
  }

  .auction-state {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
    padding: 20px;
  }

  .profile-bid-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-bid-stats,
  .profile-bid-action {
    grid-column: 1 / -1;
  }

  .profile-bid-action {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: stretch;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .messages {
    top: 72px;
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .message {
    grid-template-columns: auto minmax(0, 1fr) 30px;
    gap: 10px;
    padding: 11px 10px;
    font-size: 0.87rem;
  }

  .message-icon {
    width: 28px;
    height: 28px;
  }

  .message-dismiss {
    width: 30px;
    height: 30px;
  }

  .account-dashboard {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .account-hero-main {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .account-hero-icon {
    width: 48px;
    height: 48px;
  }

  .account-hero h1 {
    font-size: 2.35rem;
  }

  .account-status-panel {
    padding: 18px;
  }

  .account-overview-grid {
    grid-template-columns: 1fr;
  }

  .account-verification-section {
    margin-top: -18px;
  }

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

  .account-verification-card .button,
  .profile-bid-empty .button,
  .account-empty-state .button {
    width: 100%;
  }

  .account-section-heading {
    gap: 14px;
  }

  .account-bid-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .dealer-inventory-workspace {
    padding: 18px;
    border-radius: var(--radius);
  }

  .dealer-inventory-header {
    gap: 20px;
    padding-bottom: 20px;
  }

  .dealer-inventory-title {
    gap: 12px;
  }

  .dealer-inventory-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .dealer-inventory-title h2 {
    font-size: 2rem;
  }

  .dealer-inventory-summary {
    grid-template-columns: 1fr;
  }

  .dealer-inventory-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .dealer-inventory-actions .button {
    width: 100%;
  }

  .dealer-inventory-empty {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dealer-inventory-empty .button {
    grid-column: 1 / -1;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - 66px);
    padding-top: 28px;
    padding-bottom: 18px;
    overflow: hidden;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
    line-height: 0.86;
  }

  .hero p {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.4;
  }

  .hero::before {
    top: 220px;
    right: -20%;
    bottom: auto;
    left: -20%;
    height: 360px;
  }

  .hero::after {
    right: 0;
    bottom: 0;
    left: 0;
  }

  .hero-copy {
    order: 1;
  }

  .hero-action-rail {
    order: 2;
    margin-top: 16px;
  }

  .hero-action-rail .button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero-stage {
    order: 3;
    height: auto;
    min-height: 0;
    margin-top: 16px;
    padding: 12px 0 0;
  }

  .hero-stage::before {
    top: 0;
    height: 220px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 4;
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    border-radius: 14px;
    transform: none;
    animation-name: riseIn;
  }

  .hero-panel-sidebar {
    display: none;
  }

  .hero-panel-main {
    padding: 18px;
  }

  .hero-panel h2 {
    margin-top: 16px;
    font-size: 1.28rem;
    line-height: 1.04;
  }

  .hero-panel-empty .hero-panel-main {
    padding: 22px 18px;
  }

  .opening-soon-flow {
    grid-template-columns: 40px minmax(24px, 1fr) 40px minmax(24px, 1fr) 40px;
    width: min(100%, 260px);
    margin-top: 14px;
  }

  .opening-soon-flow .flow-icon {
    width: 40px;
    height: 40px;
  }

  .opening-soon-flow .flow-icon-accent {
    width: 48px;
    height: 48px;
  }

  .hero-panel-empty h2 {
    margin-top: 14px;
  }

  .hero-panel-empty p {
    margin-bottom: 16px;
    font-size: 0.92rem;
  }

  .hero-price {
    margin-bottom: 14px;
    font-size: clamp(2rem, 10.5vw, 2.65rem);
    line-height: 0.95;
  }

  .panel-topline {
    align-items: flex-start;
  }

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

  .panel-bars {
    height: 62px;
  }

  .hero-side-image {
    top: 0;
    bottom: auto;
    width: 210px;
    border-radius: 22px;
    opacity: 0.34;
    filter: saturate(0.65) contrast(1.05);
  }

  .hero-side-left {
    left: -92px;
  }

  .hero-side-right {
    right: -92px;
  }

  .detail-stats,
  .trust-strip {
    grid-template-columns: 1fr;
  }

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

  .vehicle-card {
    grid-template-columns: minmax(128px, 42%) minmax(0, 1fr);
    min-height: 176px;
  }

  .vehicle-thumb {
    width: 100%;
    height: 100%;
  }

  .vehicle-card > div:not(.vehicle-thumb) {
    padding: 15px 16px;
  }

  .vehicle-card h2,
  .vehicle-card h3 {
    font-size: 0.98rem;
  }

  .vehicle-card p {
    font-size: 0.86rem;
  }

  .profile-bid-card,
  .profile-bid-action {
    grid-template-columns: 1fr;
  }

  .profile-bid-card {
    padding: 16px;
  }

  .profile-bid-icon {
    width: 38px;
    height: 38px;
  }

  .profile-bid-stats {
    grid-template-columns: 1fr;
  }

  .profile-bid-action {
    gap: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .motion-enabled .site-header .brand,
  .motion-enabled .nav-links a,
  .motion-enabled .nav-account > *,
  .motion-enabled .hero-copy,
  .motion-enabled .hero-action-rail,
  .motion-enabled .hero-stage,
  .motion-enabled .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelLift {
  from {
    opacity: 0;
    transform: translateX(50%) translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(50%) translateY(0) scale(1);
  }
}

@keyframes carReveal {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }
  to {
    opacity: 0.9;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

@keyframes shimmerLine {
  0%,
  100% {
    opacity: 0.15;
    transform: translateX(-10px) rotate(var(--angle, -18deg));
  }
  50% {
    opacity: 0.55;
    transform: translateX(18px) rotate(var(--angle, -18deg));
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(0.88);
    opacity: 0.72;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vehicle-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.vehicle-showcase-card {
  display: grid;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.84);
  color: var(--ink);
  text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(28, 24, 19, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vehicle-showcase-card *,
.vehicle-showcase-card:hover *,
.vehicle-showcase-card:focus-visible * {
  text-decoration: none !important;
}

.vehicle-showcase-card:hover,
.vehicle-showcase-card:focus-visible {
  border-color: rgba(7, 7, 7, 0.18);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.vehicle-showcase-card:focus-visible {
  outline: 3px solid rgba(7, 7, 7, 0.28);
  outline-offset: 4px;
}

.vehicle-showcase-media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  background: var(--inverse);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 500ms ease;
}

.vehicle-showcase-card:hover .vehicle-showcase-media img {
  transform: scale(1.055);
}

.vehicle-showcase-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 7, 0.42));
  content: "";
}

.vehicle-showcase-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: calc(100% - 24px);
  padding: 0 11px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--inverse);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vehicle-showcase-body {
  display: grid;
  align-content: start;
  padding: 17px;
}

.vehicle-showcase-body h2,
.vehicle-showcase-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.vehicle-showcase-body p {
  margin: 8px 0 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.35;
}

.vehicle-showcase-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.vehicle-showcase-specs span {
  display: grid;
  gap: 2px;
  min-height: 50px;
  padding: 9px 10px;
  border-radius: var(--radius);
  background: #ede8dd;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.1;
}

.vehicle-showcase-specs small {
  color: var(--muted-strong);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.vehicle-showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.vehicle-showcase-footer span {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.vehicle-showcase-footer strong {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .vehicle-showcase-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-showcase-card {
    min-height: 0;
  }
}
.account-table {
  overflow-x: auto;
  border: 1px solid #dedbd4;
  border-radius: 14px;
  background: #fff;
}

.account-table-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.6fr) minmax(130px, 1fr) repeat(4, minmax(100px, .8fr));
  gap: 16px;
  align-items: center;
  min-width: 850px;
  padding: 16px 18px;
  border-bottom: 1px solid #eeeae3;
  color: inherit;
  text-decoration: none;
}

.account-table-row:last-child { border-bottom: 0; }
.account-table-row:not(.account-table-head):hover { background: #faf8f3; }
.account-table-head { color: #6b675f; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
