:root {
  --bg: #edf1f7;
  --bg-strong: #dfe7f2;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #0d1a2d;
  --text: #132033;
  --muted: #5f6f87;
  --line: rgba(17, 33, 61, 0.1);
  --line-strong: rgba(17, 33, 61, 0.18);
  --brand: #1062fe;
  --brand-dark: #0d4fcc;
  --brand-soft: rgba(16, 98, 254, 0.12);
  --accent: #00a67e;
  --warn: #ff9f43;
  --danger: #c4473a;
  --shadow-soft: 0 20px 60px rgba(25, 52, 94, 0.08);
  --shadow-card: 0 16px 36px rgba(17, 33, 61, 0.09);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(16, 98, 254, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(0, 166, 126, 0.12), transparent 24%),
    linear-gradient(180deg, #f6f9fd 0%, #eaf0f7 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.site-shell > main {
  flex: 1 0 auto;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(9, 22, 42, 0.96) 0%, rgba(13, 31, 58, 0.94) 52%, rgba(16, 62, 122, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(9, 24, 48, 0.18);
  backdrop-filter: blur(16px);
  z-index: 50;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.28rem;
  font-weight: 800;
}

.brand::before {
  content: "A";
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1062fe 0%, #2c86ff 100%);
  color: white;
  box-shadow: 0 14px 30px rgba(16, 98, 254, 0.22);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0e2347 0%, #1062fe 70%, #38a3ff 100%);
  box-shadow: 0 12px 26px rgba(16, 98, 254, 0.24);
  overflow: hidden;
}

.brand-mark-core,
.brand-mark-accent {
  position: absolute;
  border-radius: 999px;
}

.brand-mark-core {
  inset: 11px 17px 11px 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.7));
  clip-path: polygon(0 100%, 34% 0, 58% 0, 24% 100%);
}

.brand-mark-accent {
  right: 10px;
  top: 11px;
  width: 13px;
  height: 30px;
  background: linear-gradient(180deg, #83fff0 0%, rgba(131, 255, 240, 0.3) 100%);
  transform: skewX(-18deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-wordmark {
  display: block;
  width: 156px;
  height: auto;
}

.brand-copy small {
  color: rgba(232, 241, 255, 0.7);
  margin-top: 3px;
  font-size: 0.82rem;
  font-weight: 700;
}

.main-nav,
.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}

.main-nav a:not(.button),
.topnav a:not(.button) {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(235, 243, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.main-nav a:not(.button):hover,
.topnav a:not(.button):hover {
  border-color: rgba(131, 196, 255, 0.3);
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.main-nav a.is-current:not(.button),
.topnav a.is-current:not(.button) {
  border-color: rgba(131, 196, 255, 0.34);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.main-nav .button.is-current,
.topnav .button.is-current {
  border-color: rgba(16, 98, 254, 0.2);
  background: linear-gradient(135deg, rgba(16, 98, 254, 0.12), rgba(16, 98, 254, 0.04));
  color: #0f58e6;
  box-shadow: inset 0 0 0 1px rgba(16, 98, 254, 0.08);
}

.language-selector {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  flex-shrink: 0;
}

.language-selector__flag {
  font-size: 0.95rem;
  line-height: 1;
}

.language-selector select {
  width: 58px;
  border: 0;
  background: transparent;
  color: rgba(235, 243, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 800;
  outline: 0;
  cursor: pointer;
}

.language-selector option {
  color: #132033;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: white;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#authSlot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-width: 0;
}

.nav-user {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(235, 243, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #1062fe 0%, #0f56dd 100%);
  color: white;
  box-shadow: 0 14px 26px rgba(16, 98, 254, 0.24);
}

.button-primary:hover {
  background: linear-gradient(135deg, #0e58e2 0%, #0c48bb 100%);
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.button-ghost,
.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--text);
}

.button-danger {
  background: rgba(196, 71, 58, 0.12);
  border: 1px solid rgba(196, 71, 58, 0.22);
  color: #8b2219;
}

.market-strip {
  padding: 4px 0 0;
}

.market-strip-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(12, 28, 56, 0.96) 0%, rgba(17, 50, 110, 0.94) 55%, rgba(16, 98, 254, 0.84) 100%);
  box-shadow: 0 10px 20px rgba(16, 40, 82, 0.1);
}

.market-strip-copy {
  color: white;
}

.market-strip-copy h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.market-strip-text {
  margin: 1px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.15;
  font-size: 0.74rem;
  white-space: nowrap;
}

.market-strip-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-copy-card,
.hero-side-card,
.search-form-card,
.insight-card,
.advantage-card,
.listing-card,
.status-box,
.filters-card,
.hero-card,
.details-card,
.results-card,
.info-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-copy-card {
  padding: 34px;
  color: white;
}

.hero-copy-card h1,
.section-heading h1,
.section-heading h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-copy-card h1 {
  font-size: clamp(2.7rem, 5.3vw, 5.2rem);
  max-width: 11ch;
}

.hero-text,
.prompt-example,
.details-description,
.search-note,
.mini-label,
.micro-copy {
  line-height: 1.6;
}

.hero-text {
  max-width: 64ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.04rem;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #7fb6ff;
}

.hero-actions,
.actions-row,
.trust-row,
.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 26px;
}

.trust-row {
  margin-top: 28px;
}

.trust-item {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.trust-item span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.trust-item-compact {
  min-width: 0;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.11);
}

.trust-item-compact strong {
  font-size: 0.76rem;
}

.trust-item-compact:first-child strong {
  font-size: 0.9rem;
}

.trust-item-compact span {
  font-size: 0.7rem;
}

.hero-side-card {
  padding: 20px;
}

.preview-panel {
  height: 100%;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.preview-panel h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.1;
}

.mini-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.66);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.prompt-example {
  margin: 16px 0 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(9, 24, 48, 0.4);
  color: rgba(255, 255, 255, 0.88);
}

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

.signal-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.signal-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #59e3bf;
  box-shadow: 0 0 0 5px rgba(89, 227, 191, 0.12);
}

.category-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 2px;
}

.category-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
}

.category-chip.is-active {
  background: var(--surface-dark);
  border-color: transparent;
  color: white;
}

.search-composer,
.results-section,
.details-page,
.create-page,
.search-panel {
  padding-top: 18px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading {
  padding: 30px 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(13, 26, 45, 0.96) 0%, rgba(17, 50, 110, 0.92) 62%, rgba(16, 98, 254, 0.84) 100%);
  color: white;
  box-shadow: 0 30px 70px rgba(16, 40, 82, 0.16);
}

.section-heading .eyebrow {
  color: #90c1ff;
}

.section-heading .hero-text {
  color: rgba(255, 255, 255, 0.8);
  margin: 14px 0 0;
}

.page-side-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-card);
}

.page-side-card h3,
.panel-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.page-side-card p,
.panel-card p {
  color: var(--muted);
  line-height: 1.6;
}

.metric-strip,
.subnav-pills,
.toolbar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
}

.subnav-pills {
  margin-top: 18px;
}

.subnav-pills a,
.toolbar-pills .button {
  min-height: 40px;
}

.search-header,
.results-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.search-header h2,
.section-heading h1,
.section-heading h2,
.results-toolbar h3 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.search-header {
  align-items: flex-end;
  gap: 12px;
}

.search-header .eyebrow {
  margin-bottom: 6px;
}

.search-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.05;
  white-space: nowrap;
}

.search-header > div:first-child,
.search-header-copy {
  display: grid;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.search-note {
  margin-left: auto;
  padding-bottom: 2px;
  text-align: right;
  flex: 0 0 min(340px, 40%);
  max-width: 340px;
  line-height: 1.2;
}

.search-note,
.muted,
.field span,
.checkbox-row span,
.spec-label,
.plain-list,
.details-description {
  color: var(--muted);
}

.details-description {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.details-description-full {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  white-space: pre-line;
}

.search-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 10px;
}

.search-form-card,
.insight-card,
.advantage-card,
.filters-card,
.results-card,
.info-card,
.details-card,
.status-box {
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-card);
}

.search-form-card {
  padding: 16px;
}

.prompt-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-bottom: 14px;
}

.prompt-bar-inline {
  grid-template-columns: 1fr;
  padding-bottom: 0;
}

.search-compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
}

.advanced-toggle {
  min-height: 36px;
  font-weight: 800;
}

.ai-assistant-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.prompt-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.prompt-actions .button {
  min-width: 124px;
}

.ai-toggle-button {
  position: relative;
  min-height: 40px;
  padding-inline: 18px;
  border: 1px solid rgba(16, 98, 254, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  color: #0d2f66;
  box-shadow: 0 8px 18px rgba(16, 98, 254, 0.14);
}

.ai-toggle-button:hover {
  border-color: rgba(16, 98, 254, 0.34);
  box-shadow: 0 12px 22px rgba(16, 98, 254, 0.18);
}

.ai-toggle-button[aria-expanded="true"] {
  background: linear-gradient(180deg, #1b70ff 0%, #0f58e6 100%);
  color: white;
  box-shadow: 0 12px 24px rgba(16, 98, 254, 0.24);
}

.ai-toggle-hint {
  display: inline-flex;
  align-items: center;
  color: #0f58e6;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  animation: aiHintPulse 2.4s ease-in-out infinite;
}

@keyframes aiHintPulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.88;
  }

  50% {
    transform: translateX(-4px);
    opacity: 1;
  }
}

.advanced-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.advanced-search-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.search-filters-panel {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}

.prompt-field,
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.split-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.form-section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.form-section-heading h2 {
  margin: 0;
  font-size: 1.5rem;
}

.compact-section {
  margin-top: 16px;
}

.field span,
.prompt-field span {
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.prompt-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(246, 249, 252, 0.92);
  padding: 11px 13px;
  color: var(--text);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.prompt-field textarea:focus {
  border-color: rgba(16, 98, 254, 0.4);
  box-shadow: 0 0 0 4px rgba(16, 98, 254, 0.1);
}

.password-field-shell {
  position: relative;
}

.password-field-shell input {
  padding-right: 88px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 98, 254, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #0f4d9c;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.password-toggle:hover {
  background: rgba(16, 98, 254, 0.08);
}

.field-hint {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.84rem;
}

.field-hint.is-strong {
  color: #0a7357;
}

.field-hint.is-medium {
  color: #9b5f00;
}

.field-hint.is-weak {
  color: #8b2219;
}

.password-checklist {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.password-checklist li::marker {
  color: rgba(16, 98, 254, 0.72);
}

.seller-side-card h2,
.seller-side-card p,
.seller-side-card .eyebrow,
.seller-side-card .hero-text {
  color: var(--text);
}

.seller-side-card .eyebrow {
  color: var(--brand);
}

.prompt-field textarea {
  min-height: 88px;
  resize: vertical;
}

.prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: end;
}

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

.field-year input::-webkit-outer-spin-button,
.field-year input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.field-year input[type="text"] {
  appearance: none;
}

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

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

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.search-utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mobile-filter-toggle-row {
  display: flex;
  margin-top: 12px;
}

.search-filters-extra {
  display: grid;
  gap: 0;
}

.search-filters-extra.is-mobile-collapsed {
  display: none;
}

.insight-card {
  background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
}

.insight-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.insight-row {
  display: grid;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.insight-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.modern-toolbar {
  margin-bottom: 18px;
}

.toolbar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.results-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-dark);
  color: white;
  font-weight: 800;
}

.prompt-summary,
.status-box {
  border-radius: 18px;
  border: 1px solid rgba(16, 98, 254, 0.16);
  background: rgba(16, 98, 254, 0.07);
}

.premium-grid,
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.results-with-refinements {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.results-with-refinements.has-refinements {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.search-refinements {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(15, 31, 54, 0.08);
}

.search-refinements:empty {
  display: none;
}

.refinement-group {
  display: grid;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.refinement-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.refinement-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
}

.refinement-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.refinement-chip,
.refinement-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--text);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.refinement-action {
  cursor: pointer;
}

.refinement-chip--removable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.listing-card {
  overflow: hidden;
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 253, 0.94));
}

.listing-card-image {
  width: 100%;
  height: 196px;
  object-fit: cover;
}

.listing-card-image--empty {
  display: grid;
  place-items: center;
  background: rgba(15, 40, 80, 0.06);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-card--loading {
  pointer-events: none;
}

.loading-state {
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
  color: var(--muted);
}

.loading-state-shell {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 240px;
}

.loading-state--panel {
  width: min(940px, 100%);
  min-height: 220px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 255, 0.92));
  box-shadow: 0 26px 64px rgba(19, 33, 68, 0.12);
}

.loading-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(16, 98, 254, 0.14);
  border-top-color: #1062fe;
  animation: spin 0.9s linear infinite;
}

.loading-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 98, 254, 0.08), rgba(16, 98, 254, 0.18), rgba(16, 98, 254, 0.08));
  background-size: 240px 100%;
  animation: loading-shimmer 1.25s linear infinite;
  margin-bottom: 12px;
}

.loading-line--short {
  width: 42%;
}

.loading-line--wide {
  width: 78%;
}

@keyframes loading-shimmer {
  from {
    background-position: -240px 0;
  }

  to {
    background-position: 240px 0;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.auth-pending .auth-guest-link,
.auth-pending #authSlot {
  visibility: hidden;
}

.admin-page .site-shell {
  padding-top: 14px;
}

.admin-shell {
  min-height: 420px;
}

.listing-card-body {
  padding: 16px;
}

.card-head-row,
.section-split {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.favorite-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 98, 254, 0.18);
  background: rgba(16, 98, 254, 0.06);
  color: #0f4d9c;
  font-weight: 800;
  cursor: pointer;
}

.favorite-button.is-active {
  background: linear-gradient(135deg, #1062fe 0%, #0f56dd 100%);
  color: white;
  box-shadow: 0 14px 26px rgba(16, 98, 254, 0.18);
}

.listing-topline,
.spec-grid,
.card-footer,
.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.listing-topline {
  align-items: center;
}

.listing-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 8px;
}

.listing-title-row h3,
.details-title {
  margin: 0;
  font-size: 1.18rem;
}

.price {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 800;
}

.pill-ok {
  color: #0a7357;
  background: rgba(0, 166, 126, 0.12);
}

.pill-warn {
  color: #9b5f00;
  background: rgba(255, 159, 67, 0.18);
}

.pill-neutral {
  color: #0f4d9c;
  background: rgba(16, 98, 254, 0.1);
}

.spec-grid {
  margin: 10px 0;
}

.spec-item {
  min-width: 102px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(16, 98, 254, 0.05);
}

.spec-label {
  display: block;
  font-size: 0.72rem;
  margin-bottom: 3px;
}

.spec-value {
  color: var(--text);
  font-weight: 800;
}

.card-footer {
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.details-grid,
.create-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  gap: 24px;
}

.create-page .page-hero,
.create-page .create-layout {
  grid-template-columns: 1fr;
}

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

.details-image {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 22px;
}

.details-image-frame {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.details-media-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.details-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 24, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox-dialog {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 84px;
}

.lightbox-image {
  max-width: min(1200px, calc(100vw - 120px));
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lightbox-close {
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 2.4rem;
  line-height: 1;
}

.lightbox-arrow--prev {
  left: 24px;
}

.lightbox-arrow--next {
  right: 24px;
}

.lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-weight: 700;
}

.details-thumb {
  padding: 0;
  border: 1px solid rgba(16, 98, 254, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: white;
  cursor: pointer;
  opacity: 0.82;
}

.details-thumb.is-active {
  border-color: rgba(16, 98, 254, 0.58);
  box-shadow: 0 0 0 3px rgba(16, 98, 254, 0.12);
  opacity: 1;
}

.details-thumb img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  display: block;
}

.details-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

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

.contact-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(16, 98, 254, 0.05);
  border: 1px solid rgba(16, 98, 254, 0.08);
}

.dealer-inline-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 98, 254, 0.1);
}

.dealer-inline-logo,
.dealer-profile-logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
}

.dealer-inline-copy {
  display: grid;
  gap: 8px;
}

.dealer-inline-copy p {
  margin: 0;
}

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

.contact-item {
  display: grid;
  gap: 6px;
}

.contact-item strong {
  font-size: 1.05rem;
}

.contact-item .button {
  justify-self: start;
}

.inbox-list {
  display: grid;
  gap: 16px;
}

.inbox-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(16, 98, 254, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.92));
  box-shadow: var(--shadow-card);
}

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

.inbox-card-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.inbox-message {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(16, 98, 254, 0.05);
  border: 1px solid rgba(16, 98, 254, 0.08);
  line-height: 1.6;
  white-space: pre-line;
}

.inbox-toolbar {
  align-items: center;
}

.inbox-toolbar input,
.inbox-toolbar select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(246, 249, 252, 0.92);
  padding: 0 14px;
  color: var(--text);
}

.advantages-grid,
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.advantage-card h3,
.info-card h3,
.hero-card h2,
.results-toolbar h3 {
  margin: 0;
}

.plain-list {
  margin: 14px 0 0;
  padding-left: 18px;
  line-height: 1.7;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

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

.checkbox-row-compact {
  min-height: 48px;
  padding: 10px 14px;
  align-items: start;
}

.photo-upload-card,
.equipment-group-card,
.equipment-detail-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(16, 98, 254, 0.1);
  background: linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(244, 248, 252, 0.94));
}

.photo-upload-card {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.photo-upload-copy {
  display: grid;
  gap: 6px;
}

.photo-upload-copy p {
  margin: 0;
  color: var(--muted);
}

.file-dropzone {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px dashed rgba(16, 98, 254, 0.26);
  border-radius: 18px;
  background: rgba(16, 98, 254, 0.04);
  cursor: pointer;
}

.file-dropzone input {
  display: none;
}

.file-dropzone span {
  color: var(--text);
  font-weight: 800;
}

.file-dropzone small {
  color: var(--muted);
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.gallery-toolbar,
.upload-progress-head,
.gallery-thumb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-toolbar {
  flex-wrap: wrap;
}

.gallery-meta {
  display: grid;
  gap: 4px;
}

.gallery-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-toolbar-actions {
  display: flex;
  gap: 8px;
}

.upload-progress {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(16, 98, 254, 0.06);
  border: 1px solid rgba(16, 98, 254, 0.1);
}

.upload-progress-head span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.upload-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 98, 254, 0.12);
  overflow: hidden;
}

.upload-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #1062fe 0%, #2f8fff 100%);
}

.gallery-thumb {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(16, 98, 254, 0.1);
  background: white;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.gallery-thumb.is-cover {
  border-color: rgba(16, 98, 254, 0.4);
  box-shadow: 0 10px 24px rgba(16, 98, 254, 0.12);
}

.gallery-thumb.is-dragging {
  opacity: 0.72;
  transform: scale(0.98);
}

.gallery-thumb.is-drag-over {
  border-color: rgba(16, 98, 254, 0.58);
  box-shadow: 0 0 0 3px rgba(16, 98, 254, 0.12);
}

.gallery-thumb img {
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.gallery-thumb-topbar {
  padding: 10px 12px 0;
}

.gallery-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.gallery-drag-handle {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gallery-thumb-meta {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.gallery-thumb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gallery-thumb-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(16, 98, 254, 0.1);
  color: #0f4d9c;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.gallery-thumb-badge.is-cover-badge {
  min-height: 32px;
  padding: 0 12px;
  background: linear-gradient(135deg, #1062fe 0%, #2f8fff 100%);
  color: white;
  box-shadow: 0 10px 20px rgba(16, 98, 254, 0.18);
}

.gallery-thumb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-thumb-help {
  color: var(--muted);
  font-size: 0.82rem;
}

.equipment-groups,
.equipment-details-stack {
  display: grid;
  gap: 14px;
}

.equipment-group-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.equipment-group-head .eyebrow {
  margin-bottom: 0;
}

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

.equipment-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.equipment-pill {
  font-size: 0.8rem;
}

.panel-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-card);
}

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

.saved-searches-list {
  display: grid;
  gap: 14px;
}

.saved-search-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(16, 98, 254, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.9));
}

.saved-search-card h3 {
  margin: 0;
}

.saved-search-head,
.saved-search-tags {
  display: grid;
  gap: 10px;
}

.dealer-profile-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.dealer-profile-card p {
  margin: 0;
}

.dealer-hero-copy .metric-strip {
  margin-top: 20px;
}

.dealer-hero-brand,
.dealer-side-head,
.dealer-logo-editor {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dealer-brand-logo,
.dealer-logo-preview {
  width: 104px;
  height: 104px;
  border-radius: 18px;
  border: 1px solid rgba(16, 98, 254, 0.12);
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(7, 17, 33, 0.1);
  flex: 0 0 auto;
}

.dealer-brand-logo-fallback,
.dealer-logo-preview {
  display: grid;
  place-items: center;
  color: #0f4d9c;
  font-weight: 800;
  font-size: 2rem;
}

.dealer-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.dealer-side-head .dealer-brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

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

.dealer-info-list div,
.dealer-policy-box {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 98, 254, 0.08);
}

.dealer-info-list strong,
.dealer-policy-box p {
  margin: 0;
  color: #152235;
}

.dealer-settings-card {
  grid-column: 1 / -1;
}

.dealer-onboarding-fields {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 98, 254, 0.1);
  background: rgba(16, 98, 254, 0.04);
}

.dealer-trust-grid,
.dealer-reviews-layout {
  display: grid;
  gap: 14px;
}

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

.dealer-trust-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(16, 98, 254, 0.06);
  border: 1px solid rgba(16, 98, 254, 0.08);
}

.dealer-trust-item strong {
  font-size: 1.05rem;
}

.dealer-reviews-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.review-card,
.review-form-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(16, 98, 254, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 247, 251, 0.92));
}

.review-card h3,
.review-form-card h3,
.review-card p,
.review-form-card p {
  margin: 0;
}

.review-rating-block {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #0f4d9c;
}

.review-rating-block strong {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.review-comment {
  margin-top: 14px;
  line-height: 1.6;
  white-space: pre-line;
}

.form-stack {
  display: grid;
  gap: 14px;
}

.muted-strong {
  color: var(--text);
  font-weight: 700;
}

.empty-state {
  padding: 30px;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

.feature-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 98, 254, 0.12);
  background: rgba(16, 98, 254, 0.05);
}

.feature-box-head,
.billing-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.feature-box strong {
  display: block;
  margin-bottom: 8px;
  color: #14315f;
}

.billing-box {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 98, 254, 0.12);
}

.auth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.auth-hero-compact {
  align-items: start;
}

.auth-hero-main,
.auth-hero-side {
  display: grid;
  gap: 16px;
}

.auth-hero-main {
  padding: 30px 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(13, 26, 45, 0.96) 0%, rgba(17, 50, 110, 0.92) 62%, rgba(16, 98, 254, 0.84) 100%);
  color: white;
  box-shadow: 0 30px 70px rgba(16, 40, 82, 0.16);
}

.auth-hero-main .eyebrow {
  color: #90c1ff;
  margin-bottom: 0;
}

.auth-hero-main h1 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.auth-hero-main .hero-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.auth-highlight-card,
.auth-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.9));
  box-shadow: var(--shadow-card);
}

.auth-highlight-card h3,
.auth-card h1,
.auth-card h2,
.auth-card p {
  margin: 0;
}

.auth-highlight-card {
  display: grid;
  gap: 10px;
}

.auth-summary-card {
  min-height: 100%;
  align-content: start;
}

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

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

.auth-card-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
  border-color: rgba(16, 98, 254, 0.12);
}

.auth-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.page-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.utility-page {
  padding-top: 12px;
}

.utility-page-grid {
  margin-top: 12px;
}

.admin-workspace {
  display: grid;
  gap: 14px;
}

.admin-workspace__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.admin-workspace__head h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.admin-workspace__head p:last-child {
  margin: 8px 0 0;
  max-width: 58ch;
}

.admin-view-tabs,
.admin-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-view-tab,
.admin-subtab {
  border: 0;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease;
}

.admin-view-tab:hover,
.admin-subtab:hover {
  transform: translateY(-1px);
}

.admin-view-tab {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(16, 98, 254, 0.08);
  color: #234269;
  font-weight: 800;
}

.admin-view-tab.is-active {
  background: linear-gradient(135deg, #1062fe 0%, #0f56dd 100%);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(16, 98, 254, 0.2);
}

.admin-subtab {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: #29415f;
  font-weight: 700;
}

.admin-subtab.is-active {
  border-color: rgba(16, 98, 254, 0.24);
  background: rgba(16, 98, 254, 0.1);
  color: #0f58e6;
  box-shadow: inset 0 0 0 1px rgba(16, 98, 254, 0.1);
}

.admin-users-toolbar {
  display: grid;
  gap: 12px;
  max-width: 460px;
}

.admin-search-field input {
  min-height: 46px;
}

.admin-pricing-card {
  display: grid;
  gap: 16px;
}

.admin-pricing-plans {
  display: grid;
  gap: 14px;
}

.admin-pricing-plan {
  margin-top: 0;
}

.admin-pricing-toggle {
  align-self: end;
  min-height: 46px;
}

.page-header-compact.page-header-minimal {
  margin-top: 6px;
}

.page-header-compact .section-heading {
  gap: 6px;
}

.page-header-compact .section-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.auth-card-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 252, 0.92));
}

.auth-card-centered {
  max-width: 620px;
  margin: 0 auto;
}

.auth-card-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-card-head .eyebrow {
  margin-bottom: 0;
}

.auth-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: rgba(243, 248, 255, 0.98);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.auth-single {
  padding-top: 24px;
}

.auth-inline-status {
  min-height: 24px;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.auth-inline-status.is-visible {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 98, 254, 0.14);
  background: rgba(16, 98, 254, 0.05);
}

.auth-inline-status.is-success {
  color: #0a7357;
  border-color: rgba(0, 166, 126, 0.2);
  background: rgba(0, 166, 126, 0.08);
}

.auth-inline-status.is-error {
  color: #8b2219;
  border-color: rgba(196, 71, 58, 0.22);
  background: rgba(196, 71, 58, 0.08);
}

.favorites-page main,
.valuation-page main,
.dashboard-page main,
.admin-page main,
.inbox-page main,
.account-page main,
.details-view-page main,
.create-page main {
  padding-bottom: 24px;
}

.auth-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.valuation-price-range {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}

.valuation-price-range strong {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: #14315f;
}

.valuation-price-range span {
  color: var(--muted);
  font-weight: 600;
}

.status-box.is-error {
  color: #8b2219;
  border-color: rgba(196, 71, 58, 0.22);
  background: rgba(196, 71, 58, 0.08);
}

.auth-status-prominent {
  padding: 24px 26px;
  border-radius: 24px;
  font-size: 1rem;
  line-height: 1.6;
  border-width: 1px;
}

.auth-status-prominent.is-success {
  color: #0a7357;
  border-color: rgba(0, 166, 126, 0.18);
  background: linear-gradient(180deg, rgba(240, 255, 249, 0.98), rgba(228, 250, 242, 0.95));
}

.auth-status-prominent.is-error {
  color: #8b2219;
  border-color: rgba(196, 71, 58, 0.22);
  background: linear-gradient(180deg, rgba(255, 245, 244, 0.98), rgba(255, 236, 233, 0.95));
}

.auth-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
}

.auth-tabbed-shell {
  max-width: 760px;
}

.auth-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(16, 98, 254, 0.08);
}

.auth-tab {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4d6488;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.auth-tab.is-active {
  background: white;
  color: #14315f;
  box-shadow: 0 10px 22px rgba(16, 40, 82, 0.08);
}

.auth-tab-panel {
  display: grid;
}

.button-link {
  padding: 0;
  min-height: auto;
  border: 0;
  background: transparent;
  color: #1062fe;
  font-weight: 700;
  cursor: pointer;
}

.button-link:hover {
  color: #0c4fd0;
  text-decoration: underline;
}

.compact-grid {
  margin-top: 8px;
}

.hidden {
  display: none;
}

.spaced-top {
  margin-top: 22px;
}

.compact-top {
  margin-top: 14px;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(16, 98, 254, 0.08);
}

body.homepage .category-ribbon {
  display: none;
}

@media (max-width: 1080px) {
  .market-strip-card,
  .hero-grid,
  .search-stage,
  .page-hero,
  .auth-login-layout,
  .auth-hero,
  .auth-grid,
  .create-layout,
  .details-grid,
  .dealer-reviews-layout,
  .grid-2,
  .grid-3,
  .panel-grid,
  .results-with-refinements,
  .premium-grid,
  .listing-grid,
  .advantages-grid,
  .info-strip {
    grid-template-columns: 1fr;
  }

  .prompt-bar {
    grid-template-columns: 1fr;
  }

  .prompt-actions {
    flex-direction: row;
  }

  .search-refinements {
    position: static;
  }
}

@media (max-width: 1320px) {
  .main-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 12px 14px;
    z-index: 120;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 130;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(10, 24, 45, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(7, 20, 39, 0.28);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a:not(.button),
  .topnav a:not(.button),
  .main-nav .button {
    width: 100%;
    justify-content: center;
  }

  #authSlot {
    display: grid;
    gap: 8px;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 1280px);
  }

  .top-strip-inner,
  .topbar,
  .search-compact-row,
  .search-utility-row,
  .inbox-toolbar,
  .card-head-row,
  .section-split,
  .search-header,
  .results-toolbar,
  .listing-title-row,
  .card-footer,
  .details-actions {
    align-items: start;
    flex-direction: column;
  }

  .main-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 12px 14px;
    position: relative;
    z-index: 140;
  }

  .brand-lockup {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .brand-mark-core {
    inset: 9px 14px 9px 12px;
  }

  .brand-mark-accent {
    top: 9px;
    right: 8px;
    width: 11px;
    height: 25px;
  }

  .brand-copy strong {
    font-size: 1.2rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .brand-wordmark {
    width: 128px;
    max-width: 100%;
  }

  .brand-copy small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .inbox-card-meta {
    justify-items: start;
  }

  #authSlot .muted {
    color: rgba(235, 243, 255, 0.82);
    text-align: center;
  }

  .category-ribbon {
    display: none;
  }

  .hero-grid,
  .market-strip-card,
  .market-strip-meta,
  .auth-card,
  .auth-highlight-card,
  .hero-copy-card,
  .hero-side-card,
  .search-form-card,
  .insight-card,
  .listing-card-body,
  .status-box,
  .filters-card,
  .details-card,
  .info-card,
  .advantage-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-grid {
    padding: 18px;
  }

  .market-strip-card {
    gap: 6px;
    padding: 6px 10px;
    border-radius: 16px;
  }

  .market-strip-copy h1 {
    max-width: none;
    font-size: clamp(0.92rem, 4.6vw, 1.08rem);
    white-space: normal;
  }

  .market-strip .eyebrow,
  .market-strip-text {
    display: none;
  }

  .search-header .eyebrow,
  .search-note {
    display: none;
  }

  .search-compact-row {
    align-items: flex-start;
  }

  .advanced-hint {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .ai-toggle-hint {
    font-size: 0.86rem;
  }

  .search-header h2 {
    font-size: clamp(1rem, 4.8vw, 1.16rem);
  }

  .market-strip-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust-item-compact {
    padding: 8px 10px;
    border-radius: 12px;
  }

  .trust-item-compact strong {
    font-size: 0.78rem;
  }

  .trust-item-compact:first-child strong {
    font-size: 0.9rem;
  }

  .trust-item-compact span {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .main-nav {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .main-nav a:not(.button),
  .topnav a:not(.button),
  .main-nav .button {
    min-height: 44px;
    font-size: 0.94rem;
  }

  .hero-copy-card h1,
  .section-heading h1,
  .section-heading h2,
  .auth-hero-main h1,
  .search-header h2,
  .results-toolbar h3 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 3.3rem);
  }

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

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

  .filter-grid > :not(.field-year) {
    grid-column: 1 / -1;
  }

  .dealer-hero-brand,
  .dealer-logo-editor {
    align-items: flex-start;
    flex-direction: column;
  }

  .dealer-brand-logo,
  .dealer-logo-preview {
    width: 88px;
    height: 88px;
  }

  .search-form-card,
  .panel-card,
  .listing-card,
  .market-strip-card {
    max-width: 100%;
    overflow: hidden;
  }

  .ai-assistant-cta {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .prompt-actions {
    width: 100%;
    justify-content: stretch;
  }

  .prompt-actions .button {
    width: 100%;
  }

  .ai-toggle-hint {
    white-space: normal;
  }

  .mobile-filter-toggle-row .button {
    width: 100%;
  }

  .equipment-check-grid,
  .dealer-trust-grid,
  .spec-grid-detailed,
  .contact-grid,
  .dealer-inline-card {
    grid-template-columns: 1fr;
  }

  .gallery-preview {
    grid-template-columns: 1fr;
  }

  .details-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-footer {
  margin-top: 40px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 22px 24px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, rgba(8, 20, 38, 0.96), rgba(6, 15, 30, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(231, 241, 255, 0.84);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(380px, 1fr);
  gap: 18px 32px;
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.site-footer__brand strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
}

.site-footer__company-line,
.site-footer__contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  line-height: 1.45;
}

.site-footer__separator {
  color: rgba(199, 223, 255, 0.44);
}

.site-footer__contact-line a {
  white-space: nowrap;
}

.site-footer__contact-line {
  margin: 0;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: start;
  gap: 10px 18px;
}

.site-footer__nav a {
  color: #c7dfff;
  text-decoration: none;
  font-weight: 600;
}

.site-footer__nav a:hover {
  color: #ffffff;
}

.legal-page .main-nav.legal-nav {
  display: flex;
  position: static;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.legal-layout {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.legal-hero,
.legal-card {
  padding: 28px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(116, 145, 186, 0.16);
  box-shadow: 0 22px 60px rgba(8, 20, 38, 0.08);
}

.legal-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.04;
}

.legal-hero p:last-child,
.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.legal-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 20px 18px;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }

  .legal-page .main-nav.legal-nav {
    display: none;
  }
}
