:root {
  --ink: #202124;
  --muted: #667085;
  --line: #d9d4ca;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --surface-muted: #f2f4f7;
  --sand: #f4f1ec;
  --border: #e4e7ec;
  --border-strong: #d0d5dd;
  --text-strong: #101828;
  --text-secondary: #344054;
  --text-faint: #98a2b3;
  --teal: #ee1f2d;
  --logo-red: #ee1f2d;
  --brand-soft: #fff1f2;
  --logo-black: #09090a;
  --logo-charcoal: #17191d;
  --green: #27745e;
  --success-soft: #ecfdf3;
  --success-strong: #05603a;
  --success-border: #abefc6;
  --amber: #b7791f;
  --warn-soft: #fffaeb;
  --warn-border: #fedf89;
  --red: #b42318;
  --violet: #6f5aa7;
  --blue: #2f5f98;
  --shadow: 0 12px 34px rgba(32, 33, 36, 0.08);
  --section-title-font: "Comic Sans MS", "Comic Sans", "Comic Neue", "Trebuchet MS", cursive;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f8f8;
}

body[data-auth-locked="true"] {
  min-height: 100vh;
  background: #f6f8fb;
}

body[data-auth-locked="true"] .topbar,
body[data-auth-locked="true"] .command-band,
body[data-auth-locked="true"] #site-footer,
body[data-auth-locked="true"] #cookie-consent-root {
  display: none !important;
}

body[data-auth-locked="true"] main {
  min-height: 100vh;
}

body[data-auth-locked="true"] .workspace {
  min-height: 100vh;
  padding: 0;
}

.command-band[hidden] {
  display: none !important;
}

body[data-active-tab="garage"] .command-band {
  display: none;
}

body[data-active-tab="garage"] .workspace {
  padding-top: 24px;
}

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: -48px;
  left: 12px;
  z-index: 400;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text-strong);
  color: var(--surface);
  font-size: 13px;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus-visible {
  top: 12px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid rgba(238, 31, 45, 0.45);
  outline-offset: 2px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) max-content max-content;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 12px 26px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8ebef;
  backdrop-filter: blur(12px);
}

.vehicle-context-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.vehicle-context-chip svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vehicle-context-chip span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vehicle-context-chip em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-faint);
}

.vehicle-context-chip.is-active {
  border-color: var(--logo-red);
  background: var(--brand-soft);
  color: var(--logo-red);
}

.vehicle-context-chip.is-active em {
  color: var(--logo-red);
}

.vehicle-context-chip:hover,
.vehicle-context-chip:focus-visible {
  border-color: var(--logo-red);
  color: var(--logo-red);
}

.fitment-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.fitment-badge.fits {
  background: var(--success-soft);
  color: var(--success-strong);
  border: 1px solid var(--success-border);
}

.fitment-badge.check {
  background: var(--warn-soft);
  color: #7a4c04;
  border: 1px solid var(--warn-border);
}

.fitment-badge.no-fit {
  background: var(--surface-muted);
  color: var(--muted);
  border: 1px solid var(--border-strong);
}

.mobile-tab-bar {
  display: none;
}

.stage-progress {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fcfcfd;
}

.stage-progress-head {
  display: grid;
  gap: 2px;
}

.stage-progress-head strong {
  color: var(--text-strong);
  font-size: 14px;
}

.stage-progress-head span {
  color: var(--muted);
  font-size: 12px;
}

.stage-progress-bar {
  display: flex;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eaecf0;
}

.stage-progress-seg {
  height: 100%;
}

.stage-progress-seg.covered {
  background: #12b76a;
}

.stage-progress-seg.review {
  background: #f79009;
}

.stage-progress-seg.blocked {
  background: #f04438;
}

.evidence-panel {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fcfcfd;
}

.evidence-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.evidence-item em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-faint);
}

.evidence-mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.evidence-item.is-complete .evidence-mark {
  background: var(--success-soft);
  color: var(--success-strong);
}

.evidence-item.is-missing .evidence-mark {
  background: var(--warn-soft);
  color: #b54708;
}

.evidence-item.is-blocked .evidence-mark {
  background: #fef3f2;
  color: #b42318;
}

.evidence-ask {
  justify-self: start;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:focus:not(:focus-visible) {
  outline: 0;
}

.brand:focus-visible {
  outline: 3px solid rgba(238, 31, 45, 0.2);
  outline-offset: 4px;
}

.brand-logo {
  display: block;
  width: min(232px, 100%);
  height: auto;
  max-height: 38px;
  object-fit: contain;
  object-position: left center;
}

.brand-caption {
  width: min(232px, 100%);
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  min-width: 0;
  overflow: visible;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-button,
.btn,
.icon-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.tab-button {
  position: relative;
  padding: 12px 0;
  border: 0;
  background: transparent;
  font-weight: 720;
  white-space: nowrap;
}

.nav-caret {
  display: inline-block;
  margin-left: 5px;
  color: var(--muted);
  font-size: 11px;
  transition: transform 0.16s ease;
}

.tab-button[aria-selected="true"] {
  color: var(--teal);
  background: transparent;
}

.tab-button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--teal);
}

.tab-menu {
  position: relative;
}

.tab-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.tab-menu > summary::-webkit-details-marker {
  display: none;
}

.tab-menu > summary::marker {
  content: "";
}

.tab-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 120;
  display: grid;
  gap: 4px;
  width: 224px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
}

.tab-menu:not([open]) .tab-menu-panel {
  display: none;
}

.tab-menu-item {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  text-align: left;
}

.tab-menu-group {
  margin-top: 4px;
  padding: 8px 12px 2px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tab-menu-item:hover,
.tab-menu-item:focus-visible,
.tab-menu-item.is-active {
  background: var(--brand-soft);
  color: var(--teal);
}

.tab-menu-panel .tab-button[aria-selected="true"]::after {
  display: none;
}

.tab-menu[open] .nav-caret {
  transform: rotate(180deg);
}

.search-glyph {
  width: 15px;
  height: 15px;
  border: 2px solid var(--text-faint);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.search-glyph::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: var(--text-faint);
  transform: rotate(45deg);
  border-radius: 999px;
}

.nav-selected-item {
  position: relative;
  z-index: 120;
  width: clamp(250px, 27vw, 360px);
  min-width: 0;
  flex: 0 1 clamp(250px, 27vw, 360px);
}

.nav-selected-item.is-open {
  z-index: 240;
}

.nav-selected-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 8px 10px 8px 12px;
  color: var(--text-strong);
  text-align: left;
  background: var(--surface);
  border: 1px solid #d8dde4;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.nav-selected-toggle.is-open {
  border-color: #8ed5ce;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.nav-selected-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.nav-selected-copy strong {
  line-height: 1.1;
  white-space: nowrap;
}

.nav-selected-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-selected-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 240;
  width: min(480px, calc(100vw - 32px));
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.top-actions > .btn.primary {
  flex: 0 0 auto;
  white-space: nowrap;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d8dde4;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-strong);
  text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(238, 31, 45, 0.45);
  background: var(--brand-soft);
  color: var(--logo-red);
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 3px solid rgba(238, 31, 45, 0.18);
  outline-offset: 2px;
}

.social-link svg {
  width: 19px;
  height: 19px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.social-link .solid-mark {
  fill: currentColor;
  stroke: none;
}

.account-menu {
  position: relative;
  display: grid;
  flex: 0 0 auto;
}

.header-icon {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-strong);
  font-weight: 800;
  position: relative;
  text-align: left;
}

.header-icon:hover,
.header-icon:focus-visible {
  background: var(--brand-soft);
  color: var(--teal);
}

.header-icon .icon-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.header-icon.has-dot::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 28px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.user-chip {
  display: grid;
  grid-template-columns: 36px auto;
  align-items: center;
  gap: 8px;
  min-width: 138px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.account-flyout {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 140;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 12px;
  width: min(480px, calc(100vw - 24px));
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  visibility: hidden;
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

.account-flyout .nav-selected-item {
  grid-column: 1 / -1;
  order: 0;
  width: 100%;
  flex: none;
  z-index: auto;
  margin-top: 0;
  margin-bottom: 7px;
}

.account-flyout .nav-selected-item[hidden] {
  display: none;
}

.account-flyout .nav-selected-toggle {
  display: none;
}

.account-flyout .nav-selected-dropdown {
  position: static;
  z-index: auto;
  width: 100%;
  margin-top: 0;
}

.account-flyout .nav-selected-dropdown .selected-rail {
  max-height: min(42vh, 375px);
  overflow: auto;
}

.account-auth-panel {
  grid-column: 1 / -1;
  order: -1;
  display: grid;
  gap: 10px;
  margin-bottom: 7px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
}

.account-auth-top,
.account-auth-actions,
.auth-provider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.account-auth-actions {
  flex-wrap: wrap;
}

.account-auth-actions .btn {
  flex: 1 1 130px;
}

.account-auth-top {
  justify-content: space-between;
}

.account-auth-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.account-auth-copy strong,
.account-auth-copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-auth-copy strong {
  font-size: 14px;
  line-height: 1.2;
}

.account-auth-copy small,
.auth-provider-row {
  color: var(--muted);
  font-size: 12px;
}

.account-auth-avatar {
  flex: 0 0 36px;
}

.account-avatar-image {
  display: block;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--border);
}

.google-mark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  flex: 0 0 22px;
  place-items: center;
  border: 1px solid #dadce0;
  border-radius: 50%;
  background: var(--surface);
  color: #1f1f1f;
  font-size: 13px;
  font-weight: 900;
}

.google-auth-button {
  width: 100%;
  justify-content: center;
}

.account-auth-message {
  padding: 8px 10px;
  border: 1px solid var(--warn-border);
  border-radius: 8px;
  background: var(--warn-soft);
  color: #7a4c04;
  font-size: 12px;
  line-height: 1.35;
}

.account-auth-message.good {
  border-color: var(--success-border);
  background: var(--success-soft);
  color: var(--success-strong);
}

.profile-auth-shell {
  display: grid;
  gap: 10px;
}

.profile-auth-shell .account-auth-panel {
  margin: 0;
}

.account-selected-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 92px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px 11px;
  min-height: 0;
  padding: 13px 15px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}

.account-selected-image {
  grid-row: 1 / span 2;
  width: 88px;
  height: 64px;
  object-fit: cover;
  border-radius: 7px;
}

.account-selected-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.account-selected-copy h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.account-selected-copy span,
.account-selected-price small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-selected-price {
  display: grid;
  grid-column: 3;
  grid-row: 1;
  justify-items: end;
  align-self: start;
  gap: 3px;
  min-width: 0;
  color: var(--text-strong);
}

.account-selected-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: line-through;
}

.account-selected-price strong {
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.account-selected-price small {
  max-width: 147px;
  font-size: 9px;
  display: none;
}

.account-selected-cta {
  grid-column: 3;
  grid-row: 2;
  justify-self: stretch;
  align-self: end;
  min-height: 34px;
  border-color: var(--logo-red);
  background: var(--logo-red);
  color: var(--surface);
  font-size: 12px;
  font-weight: 900;
}

.account-flyout .header-icon {
  min-height: 55px;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 5px;
  padding: 12px 8px 7px;
  border-radius: 0;
  border-top: 1px solid var(--border);
  color: var(--text-strong);
  font-size: 11px;
  text-align: center;
}

.account-flyout .header-icon:hover,
.account-flyout .header-icon:focus-visible {
  background: transparent;
  color: var(--logo-red);
}

.account-flyout .header-icon .icon-mark {
  width: 23px;
  height: 23px;
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 450;
  line-height: 1;
}

.account-flyout .header-icon.has-dot::after {
  top: 13px;
  left: calc(50% + 5px);
  width: 7px;
  height: 7px;
  background: var(--logo-red);
  border: 2px solid var(--surface);
}

.account-menu:hover .account-flyout,
.account-menu.is-open .account-flyout,
.account-menu[data-open="true"] .account-flyout {
  opacity: 1 !important;
  pointer-events: auto;
  transform: translateY(0) !important;
  transition: none !important;
  visibility: visible !important;
}

.account-menu:hover .avatar,
.account-menu.is-open .avatar,
.account-menu[data-open="true"] .avatar,
.user-chip:focus-visible .avatar {
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.avatar {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #ffe5e7;
  color: var(--logo-red);
  font-size: 12px;
  font-weight: 800;
}

.small-avatar {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  vertical-align: middle;
}

.user-chip strong,
.user-chip small {
  display: block;
  line-height: 1.2;
}

.user-chip small {
  color: var(--muted);
}

.profile-shell {
  padding: 0 30px 44px;
  margin-top: -38px;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
}

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

.profile-person h2 {
  margin: 8px 0 4px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  font-size: 18px;
}

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

.profile-summary-grid div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
}

.profile-summary-grid strong {
  font-size: 22px;
  line-height: 1.1;
}

.profile-summary-grid span,
.profile-card-row small {
  color: var(--muted);
  font-size: 12px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.profile-card-row,
.profile-list-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.profile-list-row {
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  color: var(--ink);
  text-align: left;
}

.profile-list-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-gate {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(44px, 7vh, 86px) 32px clamp(86px, 8vh, 104px);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 31%, rgba(238, 242, 247, 0.7) 72%, rgba(229, 235, 243, 0.82) 100%),
    linear-gradient(135deg, #f8fafc 0%, #eef3f8 100%);
  isolation: isolate;
}

.login-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(133deg, transparent 0 14%, rgba(196, 205, 216, 0.34) 14.1% 14.22%, transparent 14.32% 100%),
    linear-gradient(48deg, transparent 0 23%, rgba(196, 205, 216, 0.24) 23.1% 23.2%, transparent 23.3% 100%),
    linear-gradient(137deg, transparent 0 67%, rgba(255, 255, 255, 0.82) 67.05% 67.18%, transparent 67.25% 100%),
    linear-gradient(132deg, transparent 0 72%, rgba(200, 208, 218, 0.22) 72.1% 72.2%, transparent 72.3% 100%);
  opacity: 0.88;
}

.login-gate::after {
  content: "";
  position: absolute;
  left: -7vw;
  right: -7vw;
  top: 8vh;
  bottom: 7vh;
  z-index: -1;
  background:
    linear-gradient(128deg, transparent calc(50% - 0.7px), rgba(238, 31, 45, 0.76) calc(50% - 0.7px) calc(50% + 0.7px), transparent calc(50% + 0.7px)) left 9vw top 15vh / 120px 124px no-repeat,
    linear-gradient(128deg, transparent calc(50% - 0.8px), rgba(238, 31, 45, 0.72) calc(50% - 0.8px) calc(50% + 0.8px), transparent calc(50% + 0.8px)) right 10vw bottom 14vh / 136px 142px no-repeat,
    linear-gradient(135deg, transparent 0 12%, rgba(210, 216, 224, 0.55) 12.08% 12.23%, transparent 12.32% 100%),
    linear-gradient(45deg, transparent 0 31%, rgba(210, 216, 224, 0.38) 31.08% 31.22%, transparent 31.32% 100%),
    linear-gradient(135deg, transparent 0 76%, rgba(205, 214, 224, 0.42) 76.08% 76.2%, transparent 76.31% 100%);
  opacity: 0.55;
  transform: rotate(-1deg);
}

.login-gate-media,
.login-gate-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.login-gate-media {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  opacity: 0.07;
  filter: grayscale(1) brightness(1.7) contrast(0.68);
  transform: scale(1.18);
}

.login-gate-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(245, 248, 252, 0.72));
}

.login-gate-card {
  position: relative;
  width: min(690px, calc(100vw - 48px));
  min-height: min(832px, calc(100vh - 154px));
  max-height: calc(100vh - 126px);
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 56px 104px 46px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 30px 92px rgba(25, 35, 49, 0.16);
  backdrop-filter: blur(18px);
  overflow: auto;
  scrollbar-width: none;
  transform: none;
}

.login-gate-card::-webkit-scrollbar {
  display: none;
}

.waitlist-gate .login-gate-card {
  width: min(620px, calc(100vw - 48px));
  min-height: 0;
  max-height: none;
  justify-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  transform: translateY(34px);
}

.waitlist-gate {
  place-items: center;
  padding: 0 32px;
  background:
    linear-gradient(134deg, transparent 0 24.1%, rgba(126, 135, 148, 0.08) 24.15% 24.25%, transparent 24.3% 100%),
    linear-gradient(134deg, transparent 0 63.1%, rgba(126, 135, 148, 0.08) 63.15% 63.25%, transparent 63.3% 100%),
    linear-gradient(134deg, transparent 0 88.1%, rgba(238, 31, 45, 0.12) 88.15% 88.25%, transparent 88.3% 100%),
    linear-gradient(rgba(135, 145, 160, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 145, 160, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 0 0, rgba(238, 31, 45, 0.08), transparent 23%),
    radial-gradient(circle at 100% 100%, rgba(238, 31, 45, 0.12), transparent 24%),
    #fbfbfb;
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    112px 112px,
    112px 112px,
    100% 100%,
    100% 100%,
    auto;
}

.waitlist-gate::before {
  display: none;
}

.waitlist-gate::after {
  display: none;
}

.waitlist-brand-lockup {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0 0 58px;
}

.waitlist-gate .login-gate-logo {
  width: min(356px, 62vw);
  margin: 0;
}

.waitlist-slogan {
  color: #8e98a7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}

.waitlist-gate .login-gate-copy {
  gap: 0;
}

.waitlist-gate .login-gate-copy h1 {
  margin: 0 0 62px;
  color: #0d111c;
  font-size: clamp(46px, 4.45vw, 66px);
  font-weight: 400;
  line-height: 1.08;
}

.waitlist-form {
  width: min(620px, 100%);
  justify-self: center;
  gap: 48px;
  margin-top: 0;
}

.waitlist-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist-gate .login-field {
  gap: 0;
  width: 100%;
}

.waitlist-gate .login-input-shell {
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 58px;
  padding: 0 4px 13px;
  border: 0;
  border-bottom: 1px solid #8c94a0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.waitlist-gate .login-input-shell svg {
  width: 23px;
  height: 23px;
  color: #929aa5;
  stroke-width: 1.8;
}

.waitlist-gate .login-input-shell input {
  color: #0d111c;
  font-size: 22px;
  font-weight: 400;
}

.waitlist-gate .login-input-shell input::placeholder {
  color: #969daa;
}

.waitlist-gate .login-submit-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  padding: 0 96px;
  border: 0;
  border-radius: 4px;
  background: #ff1728;
  box-shadow: 0 18px 34px rgba(238, 31, 45, 0.22);
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.waitlist-gate .login-submit-button span:first-child {
  grid-column: 2;
  width: auto;
  text-align: center;
  white-space: nowrap;
}

.waitlist-gate .login-submit-button::after {
  display: none;
}

.waitlist-gate .login-submit-arrow {
  grid-column: 3;
  justify-self: center;
  margin-left: 64px;
  font-size: 50px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-2px);
  white-space: nowrap;
}

.waitlist-gate .login-gate-alert {
  width: min(620px, 100%);
  margin: -36px 0 36px;
  border-radius: 4px;
  text-align: center;
}

.login-home-button {
  position: absolute;
  top: 48px;
  left: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #647081;
  font-size: 14px;
  font-weight: 620;
  box-shadow: none;
}

.login-home-button:hover,
.login-home-button:focus-visible {
  background: transparent;
  color: var(--logo-red);
}

.login-home-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-gate-logo {
  width: min(284px, 75%);
  height: auto;
  justify-self: center;
  margin-top: 42px;
}

.login-gate-copy {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.login-gate-copy h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 840;
}

.login-gate-copy p {
  margin: 0;
  color: #6b7280;
  max-width: 390px;
  font-size: 18px;
  line-height: 1.45;
}

.login-gate-form {
  display: grid;
  gap: 20px;
  margin-top: 8px;
}

.login-field {
  display: grid;
  gap: 10px;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 720;
}

.login-input-shell {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid #cdd5df;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.018), 0 1px 0 rgba(255, 255, 255, 0.75);
}

.login-input-shell svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-input-shell svg {
  color: var(--text-faint);
}

.login-input-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font-size: 17px;
  font-weight: 560;
}

.login-input-shell input::placeholder {
  color: #8b95a3;
  opacity: 1;
}

.login-field-icon-button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-faint);
}

.login-gate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-strong);
  margin-top: 2px;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 720;
}

.login-remember input {
  width: 18px;
  height: 18px;
  accent-color: var(--logo-red);
}

.login-text-button,
.login-create-line button,
.login-gate-bottom nav button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--logo-red);
  font-weight: 620;
}

.login-google-button,
.login-submit-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 740;
}

.login-google-button {
  border: 1px solid #d1d8e2;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-strong);
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.045);
}

.google-letter {
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  background: conic-gradient(from -45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.login-provider-stack {
  display: grid;
  gap: 12px;
}

.apple-mark {
  font-size: 22px;
  line-height: 1;
  color: var(--text-strong);
}

.facebook-mark {
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: #1877f2;
}

.login-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  color: #8b95a3;
  font-size: 14px;
  margin: 2px 0;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: #d7dce3;
}

.login-submit-button {
  position: relative;
  justify-content: space-between;
  padding: 0 22px;
  border: 1px solid var(--logo-red);
  background: linear-gradient(135deg, #ff1d2d 0%, #f01827 48%, #ff3a43 100%);
  color: var(--surface);
  box-shadow: 0 16px 30px rgba(238, 31, 45, 0.26), 0 0 34px rgba(238, 31, 45, 0.18);
  overflow: hidden;
}

.login-submit-button span:first-child {
  width: 100%;
  text-align: center;
}

.login-submit-button::after {
  content: "->";
  position: absolute;
  right: 22px;
  color: rgba(255, 255, 255, 0.34);
  font-weight: 500;
}

.login-submit-arrow {
  position: relative;
  margin-left: -44px;
  font-size: 20px;
  font-weight: 520;
}

.login-gate-alert {
  padding: 10px 12px;
  border: 1px solid var(--warn-border);
  border-radius: 7px;
  background: rgba(255, 250, 235, 0.9);
  color: #7a4c04;
  font-size: 13px;
  line-height: 1.35;
}

.login-gate-alert.good {
  border-color: var(--success-border);
  background: var(--success-soft);
  color: var(--success-strong);
}

.login-create-line {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
  text-align: center;
}

.login-gate-bottom {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 3.3vh, 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: #78828f;
  font-size: 14px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.login-gate-bottom p {
  margin: 0;
  text-align: center;
}

.login-gate-bottom nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.login-gate-bottom nav button {
  color: #6b7280;
  font-size: 13px;
  font-weight: 520;
}

@media (max-height: 860px) {
  .login-gate {
    padding-top: 18px;
    padding-bottom: 66px;
  }

  .login-gate-card {
    gap: 14px;
    min-height: min(760px, calc(100vh - 92px));
    max-height: calc(100vh - 88px);
    padding: 34px 82px 30px;
    transform: none;
  }

  .waitlist-gate .login-gate-card {
    min-height: 0;
    padding: 0;
    transform: translateY(18px);
  }

  .waitlist-gate .login-gate-logo {
    width: min(310px, 56vw);
  }

  .waitlist-brand-lockup {
    margin-bottom: 42px;
  }

  .waitlist-gate .login-gate-copy h1 {
    margin-bottom: 42px;
    font-size: clamp(40px, 4vw, 56px);
  }

  .waitlist-form {
    gap: 36px;
  }

  .waitlist-gate .login-submit-button {
    height: 68px;
    min-height: 68px;
    max-height: 68px;
    font-size: 20px;
  }

  .login-home-button {
    top: 32px;
    left: 32px;
  }

  .login-gate-logo {
    width: 242px;
    margin-top: 34px;
  }

  .login-gate-copy {
    gap: 7px;
  }

  .login-gate-copy h1 {
    font-size: 31px;
  }

  .login-gate-copy p {
    font-size: 15px;
  }

  .login-gate-form {
    gap: 14px;
    margin-top: 0;
  }

  .login-input-shell,
  .login-google-button,
  .login-submit-button {
    min-height: 46px;
  }

  .login-gate-bottom {
    bottom: 16px;
  }
}

@media (max-width: 900px) {
  .login-gate {
    min-height: 100svh;
    overflow: auto;
    padding: 22px 18px 126px;
  }

  .login-gate::before {
    opacity: 0.5;
  }

  .login-gate-card {
    width: min(560px, 100%);
    min-height: 0;
    max-height: none;
    padding: 54px 24px 30px;
    transform: none;
  }

  .waitlist-gate .login-gate-card {
    width: min(560px, 100%);
    max-height: none;
    padding: 0;
    transform: translateY(0);
  }

  .waitlist-gate .login-gate-logo {
    width: min(290px, 70vw);
  }

  .waitlist-brand-lockup {
    margin-bottom: 44px;
  }

  .waitlist-gate .login-gate-copy h1 {
    margin-bottom: 48px;
    font-size: clamp(40px, 8vw, 58px);
  }

  .waitlist-gate .login-submit-button {
    padding: 0 46px;
  }

  .login-home-button {
    top: 24px;
    left: 24px;
  }

  .login-gate-bottom {
    left: 18px;
    right: 18px;
    bottom: 20px;
    flex-wrap: wrap;
    text-align: center;
    transform: none;
  }

  .login-gate-bottom nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .login-gate {
    padding-bottom: 176px;
  }

  .login-gate-logo {
    width: min(250px, 86%);
    margin-top: 36px;
  }

  .login-gate-copy h1 {
    font-size: 29px;
  }

  .login-gate-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .waitlist-gate .login-input-shell input {
    font-size: 18px;
  }

  .waitlist-gate .login-submit-button {
    height: 66px;
    min-height: 66px;
    max-height: 66px;
    padding: 0 26px;
    font-size: 15px;
    letter-spacing: 3px;
  }

  .waitlist-gate .login-submit-arrow {
    margin-left: 20px;
    font-size: 36px;
  }

  .login-submit-arrow {
    margin-left: -38px;
  }
}

.btn {
  padding: 9px 12px;
  font-weight: 650;
}

.btn.primary {
  color: var(--surface);
  background: var(--teal);
  border-color: var(--teal);
}

.btn.dark {
  color: var(--surface);
  background: var(--text-strong);
  border-color: var(--text-strong);
}

.btn.light {
  color: var(--text-strong);
  background: var(--surface);
  border-color: var(--surface);
}

.btn.warning {
  color: var(--surface);
  background: var(--amber);
  border-color: var(--amber);
}

.btn.danger {
  color: var(--surface);
  background: var(--red);
  border-color: var(--red);
}

.btn:disabled {
  color: var(--text-faint);
  background: var(--surface-muted);
  cursor: not-allowed;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
}

.icon-button.small {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
}

.command-band {
  position: relative;
  min-height: clamp(500px, 30vw, 600px);
  overflow: hidden;
  display: grid;
  align-items: center;
  max-width: none;
  margin: 0;
  padding: 0 30px;
  border-radius: 0;
  background: #17202a;
}

.command-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.command-copy {
  position: relative;
  z-index: 2;
  width: min(1340px, 100%);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 50px 0 100px;
  color: var(--surface);
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--logo-red);
  font-size: clamp(28px, 2.8vw, 50px);
  font-weight: 760;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: translateY(-15px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(74px, 8.2vw, 160px);
  line-height: 0.82;
  letter-spacing: 0;
}

#workspace-title {
  font-family: "Segoe Script", "Brush Script MT", "Trebuchet MS", cursive;
  max-width: calc(100vw - 72px);
  font-style: italic;
  font-weight: 780;
  font-size: clamp(74px, 8vw, 150px);
  line-height: 0.86;
  text-align: center;
  text-wrap: balance;
  white-space: nowrap;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

#workspace-title span {
  color: var(--logo-red);
}

h1 span {
  color: inherit;
}

h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.workspace-subtitle {
  max-width: min(1320px, calc(100vw - 72px));
  color: var(--logo-red);
  font-size: clamp(22px, 2.5vw, 40px);
  font-weight: 760;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: translateY(15px);
  text-wrap: balance;
}

.hero-actions {
  display: none;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.command-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  filter: saturate(0.96) contrast(1.03);
  background: #17202a;
}

.command-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.38), rgba(7, 7, 8, 0.8)),
    linear-gradient(90deg, rgba(7, 7, 8, 0.14), rgba(7, 7, 8, 0.03) 44%, rgba(7, 7, 8, 0.18));
}

.workspace {
  max-width: none;
  margin: 0;
  padding: 0 30px 0;
}

.view-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: start;
}

.wide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 18px;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 18px;
  align-items: start;
  padding: 28px 30px 44px;
}

.auction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 18px;
  align-items: start;
  padding: 28px 30px 44px;
}

.job-auction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 18px;
  align-items: start;
  padding: 28px 30px 44px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 18px;
  align-items: start;
  padding: 28px 30px 44px;
}

.workflow-head,
.section-title-row,
.workflow-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.workflow-head h2,
.section-title-row h2,
.section-title-row h3,
.workflow-detail-head h2 {
  font-family: var(--section-title-font);
  font-weight: 900;
  margin-bottom: 4px;
}

.segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
}

.segmented-control button {
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  text-transform: capitalize;
}

.segmented-control button.is-active {
  color: var(--surface);
  background: var(--teal);
}

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

.workflow-metric {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.workflow-metric strong {
  font-size: 22px;
  line-height: 1.15;
}

.workflow-metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
}

.auction-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 16px;
}

.order-list,
.ticket-list,
.auction-list,
.job-request-list,
.tracking-events {
  display: grid;
  gap: 8px;
}

.order-row,
.ticket-row,
.auction-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 12px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.order-row.is-selected,
.ticket-row.is-selected,
.auction-row.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.job-request-row {
  min-height: 76px;
}

.order-row small,
.ticket-row small,
.auction-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.auction-transport-grid,
.auction-price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auction-transport-grid div,
.auction-price-row div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.auction-transport-grid span,
.auction-price-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.auction-price-row strong {
  font-size: 26px;
  line-height: 1.1;
}

.job-request-form {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
}

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

.job-scope-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
}

.job-scope-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

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

.job-image-thumb {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.job-image-thumb img,
.job-image-empty img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-muted);
}

.job-image-thumb figcaption {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-image-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(13, 17, 28, 0.78);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.job-image-empty {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.job-request-detail .job-image-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.job-bid-log-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.job-bid-log-item span,
.job-bid-log-item p {
  display: block;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.auction-bid-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #c9ece8;
  border-radius: 8px;
  background: #f0fbfa;
}

.auction-bid-log {
  display: grid;
  gap: 8px;
  max-height: 240px;
  overflow: auto;
}

.analytics-board,
.workflow-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.guide-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid #c9ece8;
  border-radius: 8px;
  background: #f0fbfa;
}

.guide-summary h3 {
  margin: 8px 0 6px;
  font-size: 24px;
}

.guide-summary p {
  margin: 0;
  color: var(--text-secondary);
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.mod-list,
.requirement-list {
  display: grid;
  gap: 10px;
}

.mod-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.mod-row span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--teal);
  font-weight: 800;
}

.mod-row p {
  margin: 0;
  color: var(--text-secondary);
}

.guide-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.guide-steps li {
  padding-left: 4px;
  color: var(--text-secondary);
}

.guide-requirement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.guide-requirement.good {
  border-color: #c9ece8;
  background: #f8fdfc;
}

.guide-requirement.warn {
  border-color: #f2d08c;
  background: #fffaf0;
}

.guide-requirement.bad {
  border-color: #f1aeb5;
  background: #fff7f8;
}

.guide-requirement h4 {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.25;
}

.guide-requirement p {
  margin: 8px 0 4px;
  color: var(--text-secondary);
}

.guide-requirement small,
.match-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.requirement-matches {
  display: grid;
  gap: 8px;
  align-content: start;
}

.match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.match-row:hover {
  border-color: var(--teal);
}

.workflow-detail {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 108px);
  overflow: auto;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.workflow-step {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.workflow-step span {
  height: 8px;
  border-radius: 999px;
  background: var(--border);
}

.workflow-step.complete {
  color: var(--teal);
}

.workflow-step.complete span {
  background: var(--teal);
}

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

.money-grid div,
.tracking-box div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface-subtle);
}

.money-grid span,
.tracking-box span,
.tracking-events time,
.tracking-events span {
  color: var(--muted);
  font-size: 12px;
}

.money-grid .total {
  grid-column: 1 / -1;
  color: var(--surface);
  background: var(--text-strong);
}

.payment-choice-panel {
  display: grid;
  gap: 10px;
}

.wallet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wallet-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: #1f4e79;
  border: 1px solid #b9d5ff;
  border-radius: 999px;
  background: #e3efff;
  font-size: 12px;
  font-weight: 800;
}

.tracking-events div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-left: 3px solid var(--teal);
  background: var(--surface-subtle);
}

.audit-log.mini {
  max-height: 220px;
  overflow: auto;
}

.admin-manage-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin: 12px 0 14px;
}

.admin-manage-toolbar .field {
  margin: 0;
}

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

.admin-manage-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.admin-manage-row.is-suppressed {
  border-color: #f1aeb5;
  background: var(--brand-soft);
}

.admin-manage-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-manage-main strong {
  color: var(--text-strong);
}

.admin-manage-main small {
  color: var(--muted);
}

.admin-manage-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-editor {
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
}

.admin-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .admin-manage-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-manage-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-manage-actions {
    justify-content: flex-start;
  }
}

.panel,
.filter-bar,
.detail-panel,
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel,
.detail-panel,
.form-panel {
  padding: 18px;
}

.market-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  margin-top: -84px;
}

.market-main {
  min-width: 0;
  padding: 0 34px 42px;
}

.floating-search {
  --market-control-height: 72px;
  position: relative;
  z-index: 5;
  display: grid;
  gap: 10px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 10px;
  background: rgba(9, 9, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 31, 0.46), 0 8px 18px rgba(15, 23, 31, 0.22);
  backdrop-filter: blur(16px);
}

.filter-bar {
  display: grid;
  grid-template-columns:
    minmax(210px, 1.15fr)
    minmax(210px, 1.15fr)
    minmax(210px, 1.15fr)
    minmax(168px, 0.68fr)
    minmax(176px, 0.72fr);
  gap: 10px;
  align-items: start;
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mobile-market-bar {
  display: none;
}

.mobile-close-filter {
  display: none;
}

.listing-live-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid #d8dde4;
  border-radius: 8px;
  background: var(--surface-subtle);
}

.live-status-copy {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.live-status-copy small,
.live-error {
  color: var(--muted);
  line-height: 1.35;
}

.live-error {
  grid-column: 1 / -1;
  color: var(--red);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--text-faint);
}

.live-dot.online {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(37, 161, 112, 0.12);
}

.live-dot.pending {
  background: var(--amber);
}

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

.filter-bar .field {
  position: relative;
  min-height: var(--market-control-height);
  align-content: center;
  gap: 0;
  padding: 0;
  background: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
}

.filter-bar .vehicle-filter-field-shell.is-open {
  align-content: center;
}

.vehicle-filter-trigger {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: var(--market-control-height);
  padding: 0 58px 0 68px;
  color: var(--text-strong);
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(152, 162, 179, 0.5);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.vehicle-filter-trigger:hover,
.vehicle-filter-trigger:focus-visible {
  background: var(--surface);
  border-color: var(--logo-red);
  box-shadow: 0 0 0 3px rgba(238, 31, 45, 0.14);
  outline: 0;
}

.vehicle-filter-trigger::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}

.vehicle-filter-trigger strong {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 840;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-control-icon {
  position: absolute;
  left: 26px;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: currentColor;
  pointer-events: none;
  transform: translateY(-50%);
}

.filter-button-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: currentColor;
  pointer-events: none;
}

.filter-control-icon svg,
.filter-button-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vehicle-filter-field-shell.is-open .vehicle-filter-trigger::after,
.vehicle-filter-trigger[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(225deg);
}

.vehicle-filter-inline {
  display: grid;
  grid-column: 1 / -1;
  gap: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
}

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

.vehicle-filter-field {
  position: relative;
  display: grid;
  gap: 0;
  align-content: start;
}

.vehicle-filter-field label {
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vehicle-filter-inline input,
.vehicle-filter-inline select {
  position: static;
  height: var(--market-control-height);
  min-height: var(--market-control-height);
  padding: 0 48px 0 22px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 520;
}

.vehicle-filter-inline .custom-select {
  width: 100%;
}

.vehicle-filter-inline .custom-select-trigger {
  height: var(--market-control-height);
  min-height: var(--market-control-height);
  padding: 0 48px 0 22px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 520;
}

.vehicle-filter-inline .custom-select-trigger::after {
  right: 20px;
}

.vehicle-suggestion-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  gap: 2px;
  max-height: 224px;
  overflow-y: auto;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.vehicle-suggestion-menu[hidden] {
  display: none;
}

.vehicle-suggestion-option {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--text-strong);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 760;
}

.vehicle-suggestion-option:hover,
.vehicle-suggestion-option:focus-visible {
  color: var(--text-strong);
  background: #f3f4f6;
  outline: 0;
}

.field label,
.field-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-bar .field label,
.filter-bar .field-label {
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 820;
  letter-spacing: 0.08em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--surface);
}

select.native-select-hidden {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 36px 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}

.custom-select-trigger[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(225deg);
}

.custom-select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-menu {
  position: fixed;
  z-index: 10000;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.22);
}

.custom-select-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-strong);
  font: inherit;
  text-align: left;
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option.is-selected {
  background: #eaf2ff;
  color: #174ea6;
}

.custom-select-option:disabled {
  color: var(--text-faint);
  cursor: not-allowed;
}

.custom-select.is-disabled .custom-select-trigger,
.custom-select-trigger:disabled {
  color: var(--muted);
  background: var(--surface-muted);
  cursor: not-allowed;
}

.filter-bar > .field > input,
.filter-bar > .field > select {
  height: var(--market-control-height);
  min-height: var(--market-control-height);
}

.filter-bar > .field > select {
  position: absolute;
  inset: 0;
  padding: 0 48px 0 22px;
  color: var(--text-strong);
  background-color: transparent;
  border: 0;
  border-radius: inherit;
  cursor: pointer;
  font-size: 16px;
  font-weight: 780;
}

.filter-bar > .field > .custom-select {
  position: absolute;
  inset: 0;
}

.filter-bar > .field > .custom-select .custom-select-trigger {
  height: 100%;
  min-height: var(--market-control-height);
  padding: 0 48px 0 22px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 780;
}

.filter-bar > .field > .custom-select .custom-select-trigger::after {
  right: 20px;
}

.filter-bar > .field.has-control-icon > select,
.filter-bar > .field.has-control-icon > .custom-select .custom-select-trigger {
  padding-left: 68px;
}

.filter-bar > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--market-control-height);
  min-height: var(--market-control-height);
  align-self: start;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.stage-filter-field {
  min-width: 0;
  min-height: 0;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.market-stage-tabs {
  min-height: 54px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.market-stage-tabs button {
  min-width: 0;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.market-stage-tabs .location-stage-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.market-stage-tabs .location-stage-button .filter-button-icon {
  width: 34px;
  height: 34px;
}

.market-stage-tabs button.is-active {
  color: var(--surface);
  background: var(--logo-red);
  border-color: #ff4a55;
  box-shadow: 0 8px 18px rgba(238, 31, 45, 0.3);
}

.filter-bar .btn:not(.shop-now) {
  color: #e6eef6;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.filter-bar .shop-now {
  color: var(--surface);
  background: var(--logo-red);
  border: 2px solid #ff4a55;
  box-shadow: 0 0 0 2px rgba(9, 9, 10, 0.72) inset, 0 8px 22px rgba(238, 31, 45, 0.34);
  font-size: 20px;
  font-weight: 860;
}

.popular-setups {
  position: relative;
  max-width: 1500px;
  margin: 34px auto 32px;
}

.popular-setups-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-bottom: 20px;
}

.popular-setups h2 {
  margin: 0;
  color: #09090a;
  font-family: var(--section-title-font);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.popular-setups-controls {
  position: absolute;
  inset: 0 -56px 0 -56px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 76px;
  pointer-events: none;
}

.popular-setup-arrow {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
}

.popular-setup-arrow:hover,
.popular-setup-arrow:focus-visible {
  background: transparent;
  outline: 3px solid rgba(238, 31, 45, 0.16);
  outline-offset: 4px;
}

.popular-setup-arrow::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 15px;
  width: 14px;
  height: 14px;
  border-left: 4px solid var(--logo-red);
  border-bottom: 4px solid var(--logo-red);
  transform: rotate(45deg);
}

.popular-setup-arrow.next::before {
  left: 13px;
  transform: rotate(225deg);
}

.popular-setup-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 16px;
  scrollbar-width: none;
}

.spin-carousel-track {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.spin-carousel-track.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
}

.popular-setup-track::-webkit-scrollbar {
  display: none;
}

.popular-setup-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  color: var(--surface);
  text-align: center;
  background: var(--text-strong);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  box-shadow: none;
  scroll-snap-align: start;
  transform:
    translateY(calc(var(--carousel-spin-lift, 0px) * -0.16))
    scale(var(--carousel-spin-scale, 1));
  transform-origin: center;
  filter: brightness(var(--carousel-flat-brightness, 1)) saturate(var(--carousel-flat-saturation, 1));
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.spin-carousel-track.is-grabbing .popular-setup-card,
.spin-carousel-track.is-spinning .popular-setup-card {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    filter 90ms linear,
    transform 90ms linear;
}

.popular-setup-card:hover,
.popular-setup-card:focus-visible {
  border-color: var(--logo-red);
  outline: 3px solid rgba(238, 31, 45, 0.2);
}

.popular-setup-media,
.popular-setup-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.popular-setup-media {
  object-fit: cover;
  transform: scale(1.02);
}

.popular-setup-scrim {
  background:
    linear-gradient(180deg, rgba(9, 9, 10, 0.78) 0%, rgba(9, 9, 10, 0.42) 42%, rgba(9, 9, 10, 0.82) 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), rgba(9, 9, 10, 0.58) 62%),
    linear-gradient(90deg, rgba(238, 31, 45, 0.18), rgba(9, 9, 10, 0.18));
}

.popular-setup-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.popular-setup-art-copy {
  inset: 0;
  display: grid;
  grid-template-rows: min-content 1fr min-content;
  align-items: center;
  justify-items: center;
  gap: 8px;
  padding: 22px 18px 24px;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.6);
}

.popular-setup-kicker,
.popular-setup-detail-line {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--logo-red);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 920;
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0;
}

.popular-setup-kicker {
  align-self: end;
  font-size: clamp(13px, 1.08rem, 18px);
}

.popular-setup-detail-line {
  align-self: start;
  max-width: 92%;
  font-size: clamp(17px, 1.36rem, 28px);
}

.popular-setup-art-copy .popular-setup-headline {
  align-self: center;
  max-width: 100%;
  color: var(--surface);
  font-family: "Segoe Script", "Brush Script MT", "Trebuchet MS", cursive;
  font-size: clamp(34px, 3rem, 54px);
  font-style: italic;
  font-weight: 780;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.popular-setup-copy strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.05;
  font-weight: 900;
}

.popular-setup-copy small,
.popular-setup-metric {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popular-setup-copy small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 780;
}

.popular-setup-metric {
  min-height: 24px;
  padding: 4px 9px;
  color: var(--surface);
  background: var(--logo-red);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.popular-setup-tags {
  display: flex;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
  overflow: hidden;
}

.popular-setup-tags span {
  min-width: 0;
  max-width: 88px;
  overflow: hidden;
  padding: 4px 7px;
  color: var(--text-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.recent-picks {
  max-width: min(1760px, calc(100vw - 128px));
  margin: 34px auto 42px;
  padding: 0 8px;
}

.recent-picks-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-bottom: 18px;
}

.recent-picks h2 {
  margin: 0;
  color: #09090a;
  font-family: var(--section-title-font);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.recent-picks-head span {
  color: #475467;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.recent-picks-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0;
  scrollbar-width: none;
}

.recent-picks-grid::-webkit-scrollbar {
  display: none;
}

.recent-picks-page {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
  scroll-snap-align: start;
}

.recent-picks .popular-setups-controls {
  inset: 84px -48px 18px -48px;
  align-items: center;
  padding-top: 0;
  z-index: 4;
}

.recent-picks .popular-setup-arrow {
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.recent-picks .popular-setup-arrow:hover,
.recent-picks .popular-setup-arrow:focus-visible {
  background: transparent;
  outline: 3px solid rgba(238, 31, 45, 0.18);
  outline-offset: 3px;
}

.recent-picks .popular-setup-arrow::before {
  left: 19px;
  top: 17px;
}

.recent-picks .popular-setup-arrow.next::before {
  left: 15px;
}

.recent-pick-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  color: var(--surface);
  text-align: center;
  background: var(--text-strong);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  box-shadow: none;
}

.recent-pick-card:hover,
.recent-pick-card:focus-visible {
  border-color: var(--logo-red);
  outline: 3px solid rgba(238, 31, 45, 0.2);
}

.recent-pick-image,
.recent-pick-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.recent-pick-image {
  object-fit: cover;
  transform: scale(1.02);
}

.recent-pick-scrim {
  background:
    linear-gradient(180deg, rgba(9, 9, 10, 0.08) 0%, rgba(9, 9, 10, 0.22) 38%, rgba(9, 9, 10, 0.86) 100%),
    linear-gradient(90deg, rgba(238, 31, 45, 0.18), rgba(15, 118, 110, 0.22));
}

.recent-pick-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.recent-pick-chip-row,
.recent-pick-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.recent-pick-chip-row {
  overflow: hidden;
}

.recent-pick-chip-row span {
  min-width: 0;
  max-width: 120px;
  overflow: hidden;
  padding: 4px 7px;
  color: var(--text-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.recent-pick-card strong {
  max-height: 2.2em;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.05;
  font-weight: 900;
}

.recent-pick-price-row {
  justify-content: space-between;
}

.recent-pick-price-row span {
  font-size: 18px;
  font-weight: 900;
}

.recent-pick-price-row em,
.recent-pick-card small {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
}

.part-showcase {
  max-width: 1500px;
  margin: 0 auto 38px;
  display: grid;
  gap: 18px;
}

.part-showcase-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-bottom: 2px;
}

.part-showcase h2 {
  margin: 0;
  color: #09090a;
  font-family: var(--section-title-font);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

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

.part-showcase-tile {
  position: relative;
  isolation: isolate;
  display: block;
  min-width: 0;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  padding: 0;
  color: #4f46e5;
  text-align: left;
  background:
    radial-gradient(72% 62% at 50% 28%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 44%, rgba(235, 242, 255, 0.18) 76%, rgba(235, 242, 255, 0) 100%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface) 48%, #f3f7ff 73%, #edf4ff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.14);
  transform: translateY(0);
  animation: category-tile-rise 560ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  animation-delay: calc(var(--tile-index, 0) * 45ms);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.part-showcase-tile::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  background:
    radial-gradient(120% 118% at 17% 100%, rgba(37, 99, 235, 0.78) 0%, rgba(37, 99, 235, 0.58) 34%, rgba(37, 99, 235, 0.22) 62%, rgba(37, 99, 235, 0) 88%),
    radial-gradient(116% 112% at 84% 100%, rgba(124, 58, 237, 0.72) 0%, rgba(79, 70, 229, 0.52) 38%, rgba(79, 70, 229, 0.18) 66%, rgba(79, 70, 229, 0) 90%),
    linear-gradient(0deg, rgba(53, 35, 200, 0.78) 0%, rgba(70, 85, 236, 0.6) 34%, rgba(65, 72, 218, 0.34) 58%, rgba(65, 72, 218, 0.12) 78%, rgba(65, 72, 218, 0) 100%);
  -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.78) 30%, rgba(0, 0, 0, 0.5) 56%, rgba(0, 0, 0, 0.18) 82%, transparent 100%);
  mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.78) 30%, rgba(0, 0, 0, 0.5) 56%, rgba(0, 0, 0, 0.18) 82%, transparent 100%);
  opacity: 1;
  transition: height 220ms ease, opacity 220ms ease;
}

.part-showcase-tile::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 1px;
  border-radius: 7px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 36%);
  pointer-events: none;
}

.part-showcase-tile:hover,
.part-showcase-tile:focus-visible {
  border-color: #818cf8;
  outline: 3px solid rgba(79, 70, 229, 0.18);
  box-shadow: 0 18px 38px rgba(49, 46, 129, 0.22);
  transform: translateY(-5px) scale(1.015);
}

.part-showcase-tile:hover::before,
.part-showcase-tile:focus-visible::before {
  height: 28%;
  opacity: 0.76;
}

.category-tile-image {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 1%;
  width: 100%;
  height: 78%;
  box-sizing: border-box;
  padding: 2% 9% 8%;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: normal;
  filter: saturate(1.04) contrast(1.04) drop-shadow(0 13px 14px rgba(15, 23, 42, 0.2));
  transform: translateY(0) scale(1.03);
  transition: filter 180ms ease, transform 180ms ease;
}

.part-showcase-tile:hover .category-tile-image,
.part-showcase-tile:focus-visible .category-tile-image {
  filter: saturate(1.06) contrast(1.06) drop-shadow(0 17px 18px rgba(15, 23, 42, 0.25));
  transform: translateY(-2px) scale(1.07);
}

.category-tile-icon {
  position: absolute;
  z-index: 4;
  left: 11px;
  top: 11px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  background:
    radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(239, 246, 255, 0.96) 100%);
  border: 1px solid rgba(191, 219, 254, 0.96);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 9px 20px rgba(49, 46, 129, 0.15);
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition: color 180ms ease, box-shadow 180ms ease, transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.category-tile-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.07), rgba(59, 130, 246, 0));
  pointer-events: none;
}

.category-tile-icon svg {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translate(0, 0.25px);
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.category-tile-icon .icon-soft {
  opacity: 0.46;
}

.category-tile-icon .icon-detail {
  opacity: 0.86;
  stroke-width: 1.35;
}

.category-tile-icon .icon-fill {
  fill: currentColor;
  stroke: none;
  opacity: 0.18;
}

.category-tile-icon[data-icon-kind="performance"] {
  color: #4058ff;
}

.category-tile-icon[data-icon-kind="looks"] {
  color: #6553f3;
}

.category-tile-icon[data-icon-kind="software"] {
  color: #3867ff;
}

.category-tile-icon[data-icon-kind="maintenance"] {
  color: #4f5fe7;
}

.category-tile-icon[data-icon-kind="usual"] {
  color: #4f46e5;
}

.category-tile-icon[data-icon-kind="search"] {
  color: #4169e8;
}

.category-tile-icon[data-icon-kind="mixed"] {
  color: #5b55f6;
}

.part-showcase-tile:hover .category-tile-icon,
.part-showcase-tile:focus-visible .category-tile-icon {
  color: #2563eb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 16px 34px rgba(49, 46, 129, 0.3);
  transform: translateZ(0) scale(1);
}

.category-tile-label {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 50px;
  bottom: 11px;
  min-height: 30px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--surface);
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow:
    0 1px 1px rgba(18, 27, 72, 0.4),
    0 2px 9px rgba(20, 35, 112, 0.42);
  font-size: 11.5px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
}

.category-tile-arrow {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: 9px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #4f46e5;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(30, 27, 75, 0.18);
  transition: color 180ms ease, transform 180ms ease;
}

.category-tile-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-1px) rotate(45deg);
}

.part-showcase-tile:hover .category-tile-arrow,
.part-showcase-tile:focus-visible .category-tile-arrow {
  color: #2563eb;
  transform: translateX(3px);
}

@keyframes category-tile-rise {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spin-carousel-track,
  .spin-carousel-track .popular-setup-card {
    transition: none;
  }

  .part-showcase-tile,
  .category-tile-image,
  .category-tile-icon,
  .category-tile-arrow {
    animation: none;
    transition: none;
  }

  .part-showcase-tile:hover,
  .part-showcase-tile:focus-visible,
  .part-showcase-tile:hover .category-tile-image,
  .part-showcase-tile:focus-visible .category-tile-image,
  .part-showcase-tile:hover .category-tile-arrow,
  .part-showcase-tile:focus-visible .category-tile-arrow {
    transform: none;
  }
}

.criteria-badge-row span {
  border: 1px solid #d8dde4;
  border-radius: 8px;
  background: var(--surface);
}

.advanced-filter-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 31, 0.2);
}

.advanced-filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.advanced-filter-head h3 {
  margin: 6px 0 4px;
  font-size: 20px;
}

.advanced-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filter-count {
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 6px 10px;
  color: #0f4f48;
  background: #e9f8f4;
  border: 1px solid #bfe7dc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

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

.advanced-filter-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.advanced-filter-field span {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advanced-filter-field select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 760;
}

.advanced-filter-field .custom-select-trigger {
  min-height: 40px;
  padding: 8px 32px 8px 10px;
  font-size: 13px;
  font-weight: 760;
}

.advanced-filter-field small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

textarea {
  resize: vertical;
  min-height: 86px;
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.market-left-rail,
.market-right-rail {
  min-width: 0;
}

.live-facet-panel,
.live-radar,
.ai-discovery-panel,
.compare-tray,
.feed-module {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.live-facet-panel,
.live-radar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.live-facet-grid,
.live-facet-list {
  display: grid;
  gap: 8px;
}

.live-facet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 9px;
  color: var(--text-secondary);
  text-align: left;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.live-facet span {
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
}

.live-facet strong {
  min-width: 30px;
  text-align: center;
  color: var(--teal);
}

.is-live-count {
  animation: count-pulse 900ms ease;
}

.live-radar-list,
.ai-progress-list {
  display: grid;
  gap: 8px;
}

.live-radar-item,
.drop-state,
.ai-progress-list span {
  display: grid;
  gap: 3px;
  padding: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.live-radar-item span,
.drop-state span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-radar-item small,
.drop-state small {
  color: var(--muted);
}

.live-radar-empty {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  text-align: center;
  background: var(--surface-subtle);
  border: 1px dashed #d8dde4;
  border-radius: 8px;
}

.ai-discovery-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
}

.ai-discovery-panel h3 {
  margin: 8px 0 0;
}

.ai-discovery-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.compare-tray {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px 12px;
}

.compare-items {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.compare-items span {
  flex: 0 0 auto;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 8px;
  background: var(--surface-muted);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.selector-shell {
  padding: 0 30px 44px;
  margin-top: -38px;
}

.selector-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
}

.selector-head h2,
.selector-toolbar h3,
.selector-card h3,
.selector-detail h2 {
  margin: 0;
}

.selector-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 10px;
  min-width: min(420px, 100%);
}

.selector-summary div,
.selector-detail-grid div {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.selector-summary strong,
.selector-detail-grid strong {
  font-size: 20px;
}

.selector-summary span,
.selector-detail-grid span,
.selector-card-footer small,
.selector-section-button small {
  color: var(--muted);
  font-size: 12px;
}

.selector-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.selector-nav,
.selector-toolbar,
.selector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.selector-nav {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.selector-section-list {
  display: grid;
  gap: 8px;
}

.selector-section-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.selector-section-button span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.selector-section-button em {
  min-width: 30px;
  padding: 4px 7px;
  color: var(--muted);
  text-align: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-muted);
  border-radius: 999px;
}

.selector-section-button.is-active {
  color: var(--teal);
  border-color: #99d7cf;
  background: #eefaf8;
}

.selector-main {
  min-width: 0;
}

.selector-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.selector-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: min(380px, 100%);
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d8dde4;
  border-radius: 8px;
  background: var(--surface);
}

.selector-search input {
  min-width: 0;
  padding: 0;
  border: 0;
}

.selector-search input:focus {
  outline: 0;
}

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

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

.selector-card.is-selected {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 118, 110, 0.18);
}

.selector-card p,
.selector-detail p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.45;
}

.selector-card-top,
.selector-card-footer,
.selector-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.selector-card-meta {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}

.selector-card-meta span {
  color: var(--muted);
  font-size: 12px;
}

.selector-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selector-chip-row span {
  min-height: 24px;
  padding: 4px 7px;
  color: var(--text-secondary);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.selector-chip-row.detail span {
  background: var(--surface);
}

.selector-card-footer {
  align-items: end;
  margin-top: auto;
}

.selector-detail {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 116px);
  overflow: auto;
}

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

.selector-proof-list li {
  grid-template-columns: 16px 1fr;
}

.stats-shell {
  padding: 0 30px 44px;
  margin-top: -38px;
}

.stats-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
}

.stats-hero h2,
.stats-component-board h3,
.stat-section h3,
.stats-loadout h2 {
  margin: 0;
}

.stats-hero-copy {
  display: grid;
  gap: 8px;
  align-content: center;
}

.stats-controls {
  display: grid;
  gap: 12px;
}

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

.stats-summary div,
.stat-loadout-grid div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
}

.stats-summary strong,
.stat-loadout-grid strong {
  font-size: 22px;
  line-height: 1.1;
}

.stats-summary span,
.stat-loadout-grid span,
.stat-loadout-grid small,
.stat-component-card small {
  color: var(--muted);
  font-size: 12px;
}

.stat-score-grid {
  margin-top: 18px;
}

.stat-meter-card,
.stat-section,
.stats-loadout {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.stat-meter-card strong {
  font-size: 34px;
  line-height: 1;
}

.stat-meter-card p,
.stat-meter-card small,
.stat-section p {
  margin: 0;
  color: var(--text-secondary);
}

.stat-meter-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #ecf0f4;
}

.stat-meter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.stat-meter-card.power .stat-meter-track span {
  background: var(--red);
}

.stat-meter-card.suspension .stat-meter-track span {
  background: var(--green);
}

.stat-meter-card.comfort .stat-meter-track span {
  background: var(--blue);
}

.stat-meter-card.feel .stat-meter-track span {
  background: var(--violet);
}

.stats-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.stats-component-board {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.stats-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.stat-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

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

.stat-component-card {
  display: grid;
  gap: 9px;
  width: 100%;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.stat-component-card.is-selected {
  border-color: var(--teal);
  background: #eefaf8;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.stat-component-top,
.stat-loadout-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.stat-component-top em,
.stat-loadout-item em {
  color: var(--teal);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-boost-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stat-chip {
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
}

.stat-chip.power {
  color: #842029;
  background: #ffe8e6;
  border-color: #f1b1ab;
}

.stat-chip.suspension {
  color: #0f5132;
  background: #dff3e8;
  border-color: #b9e5ce;
}

.stat-chip.comfort {
  color: #1f4e79;
  background: #e3efff;
  border-color: #b9d5ff;
}

.stat-chip.feel {
  color: #51416f;
  background: #eee8f7;
  border-color: #d9c9f1;
}

.stat-chip.compact {
  font-size: 11px;
}

.stat-chip.quiet {
  color: var(--muted);
}

.stats-loadout {
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 116px);
  overflow: auto;
}

.stat-rank {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--surface);
  background: var(--teal);
  font-size: 28px;
  font-weight: 900;
}

.stat-loadout-list {
  display: grid;
  gap: 8px;
}

.stat-loadout-item {
  width: 100%;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.stat-loadout-item span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.refine-panel {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.refine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
}

.refine-head button,
.facet-more {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-weight: 700;
}

.facet-group {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.facet-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
}

.facet-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-height: 24px;
  color: var(--text-secondary);
  font-size: 13px;
}

.facet-option input {
  width: 14px;
  height: 14px;
  accent-color: var(--teal);
}

.facet-option small {
  color: var(--muted);
}

.results-panel {
  min-width: 0;
}

.conversion-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.conversion-tile {
  display: grid;
  gap: 4px;
  min-height: 98px;
  padding: 12px;
  border: 1px solid #d8dde4;
  border-radius: 8px;
  background: var(--surface);
}

.conversion-tile span,
.pathway-row span,
.confidence-meter span,
.confidence-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.conversion-tile strong {
  font-size: 18px;
  line-height: 1.15;
}

.conversion-tile small,
.pathway-row small,
.confidence-meter small {
  color: var(--muted);
  line-height: 1.35;
}

.criteria-badge-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.criteria-badge-row span {
  min-width: 0;
  overflow: hidden;
  padding: 5px 6px;
  color: var(--text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

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

.criteria-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d8dde4;
  border-radius: 8px;
  background: var(--surface);
}

.criteria-card h4 {
  margin: 0;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.2;
}

.criteria-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.pathway-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid #d8dde4;
  border-radius: 8px;
  background: var(--surface-subtle);
}

.pathway-list {
  display: grid;
  gap: 8px;
}

.pathway-list.compact {
  gap: 6px;
}

.pathway-row {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.results-head h2 {
  margin: 0;
}

.results-head select {
  width: 190px;
}

.results-head .custom-select {
  width: 190px;
}

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

.meta-row {
  color: var(--muted);
  font-size: 13px;
}

.live-badge-slot {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 56px;
}

.live-badge-slot.detail {
  min-height: 0;
  flex: 1 1 100%;
}

.live-badge {
  min-height: 24px;
  padding: 4px 7px;
  color: #16504a;
  background: #e9f8f4;
  border: 1px solid #bfe7dc;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.live-stock {
  min-width: 0;
  padding: 7px;
  overflow: hidden;
  color: var(--text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
}

.live-stock.green,
.pill.green {
  border-color: #b9e5ce;
}

.live-stock.amber,
.pill.amber {
  border-color: #f2d08c;
}

.live-stock.red,
.pill.red {
  border-color: #f1aeb5;
}

.feed-module {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 240px;
  padding: 18px;
}

.feed-module h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.live-feed-module {
  background: linear-gradient(135deg, #f7fbfa, #fff7e8);
}

.ai-feed-module {
  background: linear-gradient(135deg, #f8f6ff, #f7fbfa);
}

.bundle-feed-module {
  background: linear-gradient(135deg, #f5f9ff, var(--surface-subtle));
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
}

.pill.green {
  color: #0f5132;
  background: #dff3e8;
  border-color: #b9e5ce;
}

.pill.amber {
  color: #7a4a08;
  background: #fff3d6;
  border-color: #f2d08c;
}

.pill.red {
  color: #842029;
  background: #f8d7da;
  border-color: #f1aeb5;
}

.pill.blue {
  color: #1f4e79;
  background: #e3efff;
  border-color: #b9d5ff;
}

.pill.violet {
  color: #51416f;
  background: #eee8f7;
  border-color: #d9c9f1;
}

.score {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.score-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece8df;
}

.score-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.score-fill.warn {
  background: var(--amber);
}

.score-fill.bad {
  background: var(--red);
}

.confidence-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
}

.confidence-meter small {
  grid-column: 1 / -1;
}

.confidence-meter strong.green {
  color: var(--green);
}

.confidence-meter strong.blue {
  color: #1f4e79;
}

.confidence-meter strong.amber {
  color: #7a4a08;
}

.confidence-meter strong.red {
  color: var(--red);
}

.detail-panel {
  position: sticky;
  top: 76px;
}

.selected-rail {
  z-index: 8;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  max-height: 25vh;
  margin: 18px 30px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.14);
}

.nav-selected-dropdown .selected-rail {
  position: static;
  top: auto;
  width: 100%;
  max-height: min(70vh, 620px);
  margin: 0;
  padding: 14px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.18);
}

.nav-selected-dropdown .selected-rail-body {
  padding-right: 8px;
}

.nav-selected-dropdown .selected-summary {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.nav-selected-dropdown .detail-thumb {
  width: 88px;
  height: 66px;
}

.nav-selected-dropdown .selected-summary h2 {
  display: -webkit-box;
  margin-bottom: 4px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.nav-selected-dropdown .selected-summary .meta-row {
  font-size: 13px;
  line-height: 1.25;
}

.nav-selected-dropdown .rail-price {
  font-size: 22px;
  line-height: 1.05;
}

.nav-selected-dropdown .selected-live-row {
  gap: 6px;
  margin: 10px 0;
}

.nav-selected-dropdown .pill,
.nav-selected-dropdown .live-badge {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 12px;
}

.nav-selected-dropdown .live-badge-slot.detail {
  flex: 0 1 auto;
  min-height: 0;
}

.nav-selected-dropdown .confidence-plan {
  gap: 8px;
  margin: 10px 0 12px;
  padding: 10px;
}

.nav-selected-dropdown .confidence-plan-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.nav-selected-dropdown .confidence-plan-head strong {
  font-size: 18px;
  line-height: 1.15;
}

.nav-selected-dropdown .confidence-grid {
  gap: 6px;
}

.nav-selected-dropdown .confidence-grid div {
  padding: 7px;
}

.nav-selected-dropdown .confidence-grid div:nth-child(n+3) {
  display: none;
}

.nav-selected-dropdown .pathway-list.compact {
  display: none;
}

.nav-selected-dropdown .rail-actions {
  display: none;
}

.compact-detail-list {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.compact-detail-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.compact-detail-row strong,
.compact-detail-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-detail-row strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 860;
  text-transform: uppercase;
}

.compact-detail-row span {
  color: #1f2937;
  font-size: 13px;
  font-weight: 760;
}

.compact-detail-action {
  min-height: 28px;
  padding: 4px 10px;
  color: var(--logo-red);
  background: var(--surface);
  border: 1px solid #f3b3b9;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 840;
}

.nav-selected-dropdown .compact-detail-list {
  gap: 5px;
  margin: 9px 0 10px;
}

.nav-selected-dropdown .compact-detail-row {
  grid-template-columns: 104px minmax(0, 1fr) auto;
  min-height: 34px;
  padding: 6px 8px;
}

.nav-selected-dropdown .compact-detail-action {
  min-height: 26px;
  padding: 3px 8px;
}

.nav-selected-dropdown .detail-tabs {
  gap: 12px;
  margin-bottom: 12px;
}

.nav-selected-dropdown .detail-tabs button {
  padding: 9px 0;
  font-size: 12px;
}

.nav-selected-dropdown .proof-card {
  gap: 8px;
  margin-bottom: 10px;
  padding: 12px;
}

.proof-card-head,
.rail-footer,
.selected-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rail-toggle-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.rail-toggle-meta strong {
  white-space: nowrap;
}

.rail-toggle-meta em {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-style: normal;
  font-weight: 900;
}

.selected-rail-body {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.selected-rail.is-retracted {
  display: none;
}

.selected-rail .rail-footer {
  position: static;
  margin: 12px 0 0;
  padding: 12px 0 0;
  background: transparent;
  box-shadow: none;
}

.selected-summary {
  align-items: flex-start;
}

.selected-live-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.detail-thumb {
  width: 84px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.selected-summary h2 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.rail-price {
  white-space: nowrap;
  font-size: 20px;
}

.rail-actions {
  justify-content: flex-end;
  margin: 16px 0 24px;
}

.confidence-plan {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #c9ece8;
  border-radius: 8px;
  background: #f0fbfa;
}

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

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

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

.confidence-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.confidence-grid strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.25;
}

.detail-tabs {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  scrollbar-width: none;
}

.detail-tabs::-webkit-scrollbar {
  display: none;
}

.detail-tabs button {
  position: relative;
  flex: 0 0 auto;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 720;
  font-size: 13px;
}

.detail-tabs button.is-active {
  color: var(--ink);
}

.detail-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--teal);
}

.proof-card {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.proof-card.verified,
.seller-card {
  background: #f0fbfa;
  border-color: #c9ece8;
}

.proof-card p {
  margin: 0;
  color: var(--text-secondary);
}

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

.risk-grid span,
.rail-footer span,
.proof-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.rail-footer {
  position: sticky;
  bottom: -18px;
  margin: 22px -18px -18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -16px 40px rgba(16, 24, 40, 0.08);
}

.rail-footer strong {
  display: block;
  font-size: 24px;
}

.detail-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.section-divider {
  border-top: 1px solid var(--line);
  margin: 16px 0;
}

.listing-importer {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.listing-importer .section-title-row h3 {
  margin: 4px 0;
  font-size: 19px;
}

.listing-import-textarea {
  min-height: 132px;
}

.listing-importer .notice {
  overflow-wrap: anywhere;
}

.listing-capture-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.listing-capture-panel .section-title-row h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.capture-bookmarklet-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.capture-bookmarklet-row .btn {
  min-height: 40px;
}

.stack {
  display: grid;
  gap: 12px;
}

.compact-stack {
  display: grid;
  gap: 8px;
}

.checklist {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
}

.check-dot {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green);
}

.check-dot.missing {
  background: var(--amber);
}

.check-dot.blocked {
  background: var(--red);
}

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

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

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.queue-item {
  display: grid;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.queue-item:last-child {
  border-bottom: 0;
}

.audit-log {
  max-height: 420px;
  overflow: auto;
  padding-right: 8px;
}

.audit-entry {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.audit-entry time {
  color: var(--muted);
  font-size: 12px;
}

.contract-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

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

.contract-metric {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}

.contract-metric strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  word-break: break-word;
}

.contract-metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contract-metric.good {
  border-color: #b9e5ce;
  background: #eefaf3;
}

.contract-metric.warn {
  border-color: #f2d08c;
  background: #fff8e7;
}

.contract-metric.bad {
  border-color: #f1aeb5;
  background: #fff1f3;
}

.endpoint-list {
  display: grid;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding-right: 6px;
}

.endpoint-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.endpoint-row code {
  overflow-wrap: anywhere;
  color: var(--text-secondary);
  font-size: 13px;
}

.empty-state {
  color: var(--muted);
  padding: 28px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fffdf9;
}

.empty-state.compact {
  min-height: 76px;
  padding: 10px;
}

.notice {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fffdf9;
}

.notice.good {
  border-color: #b9e5ce;
  background: #eefaf3;
}

.notice.warn {
  border-color: #f2d08c;
  background: #fff8e7;
}

.notice.bad {
  border-color: #f1aeb5;
  background: #fff1f3;
}

.source-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.site-footer {
  position: relative;
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
  color: #e8edf4;
  background: #101216;
  border-top: 1px solid rgba(238, 31, 45, 0.34);
}

.footer-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--logo-red) 0%, var(--surface) 38%, #8ed5ce 70%, #2f5f98 100%);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(2, minmax(150px, 0.7fr)) minmax(230px, 0.95fr);
  gap: 28px;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 38px 30px 30px;
}

.footer-brand-panel,
.footer-column {
  min-width: 0;
}

.footer-brand-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-logo-link {
  display: inline-grid;
  align-items: center;
  justify-items: start;
  width: min(290px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

.footer-logo-link:focus-visible {
  outline: 3px solid rgba(238, 31, 45, 0.36);
  outline-offset: 3px;
}

.footer-brand-logo {
  display: block;
  width: min(280px, 100%);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h2 {
  margin: 0 0 6px;
  color: var(--surface);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--logo-red);
}

.site-footer-links a,
.site-footer-links button {
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c7d0dc;
  font-size: 13px;
  font-weight: 740;
  line-height: 1.28;
  text-align: left;
  text-decoration: none;
}

.site-footer-links a,
.site-footer-links button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.site-footer-links a::before,
.site-footer-links button::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  border-radius: 50%;
  background: rgba(238, 31, 45, 0.8);
  transform: translateY(0.5px);
}

.site-footer-links a:focus-visible,
.site-footer-links button:hover,
.site-footer-links button:focus-visible {
  color: var(--surface);
  outline: 0;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  color: var(--surface);
}

.site-footer-links a:hover::before,
.site-footer-links a:focus-visible::before,
.site-footer-links button:hover::before,
.site-footer-links button:focus-visible::before {
  background: #8ed5ce;
}

.footer-social-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--surface);
  text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  border-color: rgba(238, 31, 45, 0.62);
  background: var(--logo-red);
  color: var(--surface);
  outline: 0;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.footer-social-link .solid-mark {
  fill: currentColor;
  stroke: none;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 30px 18px;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.35;
  background: #09090a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-bar span:last-child {
  max-width: 720px;
  text-align: right;
}

@media (max-width: 1180px) {
  .site-footer-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.9fr);
  }

  .footer-column-wide {
    grid-column: span 1;
  }

}

.legal-shell {
  display: grid;
  gap: 18px;
  padding: 28px 30px 44px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-hero h2,
.legal-document h2,
.legal-nav-panel h3,
.legal-proof-panel h3,
.legal-section h3 {
  margin-top: 0;
}

.legal-hero p,
.legal-document-head p,
.legal-section p {
  max-width: 900px;
  color: var(--muted);
  line-height: 1.55;
}

.legal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.legal-hero-actions a.btn {
  text-decoration: none;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 18px;
  align-items: start;
}

.legal-nav-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-doc-list {
  display: grid;
  gap: 6px;
}

.legal-doc-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}

.legal-doc-list button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.legal-doc-list button small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-doc-list button.is-active,
.legal-doc-list button:hover,
.legal-doc-list button:focus-visible {
  border-color: var(--teal);
  background: var(--brand-soft);
}

.legal-document {
  display: grid;
  gap: 18px;
}

.legal-document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

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

.legal-section {
  display: grid;
  gap: 8px;
}

.legal-list {
  margin: 0;
}

.legal-control-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: stretch;
}

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

.legal-stat-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
}

.legal-stat-grid strong {
  font-size: 20px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.legal-stat-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.legal-review-note {
  margin-top: 4px;
}

.cookie-matrix {
  display: grid;
  gap: 8px;
}

.cookie-matrix-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.cookie-matrix-row div {
  display: grid;
  gap: 2px;
}

.cookie-matrix-row small,
.cookie-matrix-row p {
  color: var(--muted);
}

.cookie-matrix-row p {
  margin: 0;
  line-height: 1.45;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 240;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 55px rgba(16, 24, 40, 0.22);
}

.cookie-banner h2,
.cookie-banner p {
  margin: 6px 0 0;
}

.cookie-banner p {
  color: var(--muted);
  line-height: 1.5;
}

.cookie-banner-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 24, 40, 0.42);
}

.cookie-modal {
  display: grid;
  gap: 16px;
  width: min(680px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.24);
}

.cookie-modal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.cookie-modal-head h2,
.cookie-modal-head p {
  margin: 6px 0 0;
}

.cookie-modal-head p {
  color: var(--muted);
}

.cookie-choice-list {
  display: grid;
  gap: 8px;
}

.cookie-choice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
}

.cookie-choice-row span {
  display: grid;
  gap: 4px;
}

.cookie-choice-row small {
  color: var(--muted);
  line-height: 1.4;
}

.cookie-choice-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--teal);
}

.guide-specificity {
  margin-top: 12px;
}

.admin-model-part-grid,
.admin-part-list {
  display: grid;
  gap: 10px;
}

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

.admin-model-part-card,
.admin-part-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.admin-model-part-card {
  border-color: #b9e5ce;
  background: #f7fffb;
}

.admin-model-part-card h4 {
  margin: 0;
}

.admin-model-part-card p {
  margin: 0;
  color: var(--text-secondary);
}

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

.admin-part-row {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.8fr) auto;
  align-items: center;
}

.admin-part-row span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-part-row small {
  color: var(--muted);
}

.mini-guide-list {
  display: grid;
  gap: 6px;
  min-width: 220px;
}

.mini-guide-pill,
.oem-guide-card {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 8px 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.mini-guide-pill span,
.oem-guide-card strong {
  font-weight: 800;
}

.mini-guide-pill small,
.oem-guide-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mini-guide-pill:hover,
.oem-guide-card:hover,
.oem-guide-card.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.garage-dashboard {
  --garage-ink: #111827;
  --garage-muted: #65728a;
  --garage-line: #dfe6f2;
  --garage-soft: #f6f8fc;
  --garage-purple: #5548d9;
  --garage-purple-dark: #4638c7;
  --garage-blue: #1f67d6;
  --garage-green: #138c49;
  --garage-red: #ef2a24;
  position: relative;
  display: grid;
  gap: 24px;
  min-height: calc(100vh - 170px);
  padding: 28px 26px 46px;
  border: 1px solid #eef2f8;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.96), transparent 30%),
    linear-gradient(180deg, #fafcff 0%, var(--garage-soft) 100%);
  color: var(--garage-ink);
}

.garage-dashboard svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.garage-dashboard button {
  letter-spacing: 0;
}

.garage-pause-btn,
.garage-view-btn,
.garage-icon-btn,
.garage-avatar-edit,
.garage-inline-edit,
.garage-cars-head button,
.garage-view-all,
.garage-filter-fab,
.garage-car-row {
  border: 0;
  font: inherit;
}

.garage-pause-btn,
.garage-view-btn,
.garage-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--garage-line);
  border-radius: 8px;
  background: #ffffff;
  color: #172033;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  font-size: 14px;
  font-weight: 850;
}

.garage-dashboard-body {
  display: grid;
  grid-template-columns: 620px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.garage-profile-card,
.garage-notification-panel {
  border: 1px solid var(--garage-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.garage-form-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 240;
  width: min(560px, 100vw);
  overflow-y: auto;
  border: 0;
  border-left: 1px solid var(--garage-line);
  border-radius: 0;
  background: #ffffff;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
  animation: garage-drawer-in 0.22s ease;
}

@keyframes garage-drawer-in {
  from {
    transform: translateX(28px);
    opacity: 0.4;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.garage-form-backdrop {
  position: fixed;
  inset: 0;
  z-index: 230;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.4);
}

.garage-form-drawer .garage-form-head {
  position: sticky;
  top: -20px;
  z-index: 2;
  margin: -20px -20px 0;
  padding: 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--garage-line);
}

.garage-profile-card {
  display: grid;
  gap: 0;
  overflow: visible;
  padding: 28px 24px 30px;
}

.garage-profile-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.garage-profile-title {
  min-width: 0;
}

.garage-title-line {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.garage-title-line h2 {
  margin: 0;
  color: #071128;
  font-size: 38px;
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
}

.garage-title-edit,
.garage-action-circle {
  display: grid;
  place-items: center;
  border: 0;
  background: #ffffff;
  color: var(--garage-purple);
}

.garage-title-edit {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f0efff;
}

.garage-title-edit svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.25;
}

.garage-profile-title p {
  margin: 8px 0 0;
  color: #73809a;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 650;
}

.garage-profile-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.garage-action-circle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: #091128;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.garage-action-circle svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.1;
}

.garage-photo {
  position: relative;
  height: auto;
  min-height: 148px;
  margin-top: 26px;
  aspect-ratio: 2.72 / 1;
  border-radius: 8px;
  cursor: pointer;
  background:
    radial-gradient(ellipse at 78% 66%, rgba(235, 239, 243, 0.92) 0 15%, rgba(147, 157, 171, 0.72) 16% 22%, transparent 23%),
    radial-gradient(ellipse at 78% 78%, rgba(17, 24, 39, 0.82) 0 6%, transparent 7%),
    radial-gradient(ellipse at 92% 78%, rgba(17, 24, 39, 0.82) 0 5%, transparent 6%),
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.22) 49% 50%, transparent 51%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 58px),
    linear-gradient(180deg, #0d1118 0%, #171d27 50%, #9ca6b2 51%, #c5cad1 100%);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.garage-photo-count {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.76);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.garage-photo-count svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.1;
}

.garage-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

.garage-photo img.is-loaded {
  opacity: 1;
}

.garage-profile-panel {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 22px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.garage-settings-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.garage-settings-panel .garage-cars-head strong {
  font-size: 18px;
}

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

.garage-settings-field {
  display: grid;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
}

.garage-settings-field input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-strong);
  font-size: 15px;
}

.garage-settings-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 550;
}

.garage-settings-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--garage-purple);
}

.garage-settings-meta {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.garage-add-vehicle-wide.garage-settings-save {
  min-height: 48px;
}

.garage-add-vehicle-wide.garage-settings-save strong {
  font-size: 16px;
}

.garage-add-vehicle-wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #7067ff 0%, #4738ee 100%);
  color: #ffffff;
  box-shadow: 0 15px 27px rgba(84, 72, 217, 0.32);
}

.garage-add-vehicle-wide span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--garage-purple);
}

.garage-add-vehicle-wide svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.garage-add-vehicle-wide strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 850;
}

.garage-cars-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 2px;
}

.garage-cars-head strong {
  color: #1f2b3d;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 750;
}

.garage-cars-head button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #ffffff;
  color: var(--garage-purple);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  font-size: 16px;
  font-weight: 850;
}

.garage-cars-head button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.3;
}

.garage-car-list {
  display: grid;
  gap: 12px;
}

.garage-car-row {
  display: grid;
  grid-template-columns: 50px 112px minmax(0, 1fr) auto 18px;
  gap: 14px;
  align-items: center;
  min-height: 90px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(226, 232, 240, 0.64);
  border-radius: 8px;
  background: #ffffff;
  color: var(--garage-ink);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.garage-car-row.is-selected {
  box-shadow: inset 0 0 0 2px rgba(85, 72, 217, 0.14);
}

.vehicle-maker-logo,
.garage-brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border: 1px solid #ccd6e6;
  border-radius: 999px;
  background: #ffffff;
  color: #10213d;
  font-size: 10px;
  font-weight: 950;
  box-shadow: inset 0 0 0 3px #f7f9fc;
  overflow: hidden;
}

.vehicle-maker-logo img {
  display: block;
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.vehicle-maker-logo--bmw img {
  width: 82%;
  height: 82%;
}

.vehicle-maker-logo--vw img {
  width: 80%;
  height: 80%;
}

.vehicle-maker-logo--subaru img {
  width: 86%;
  height: 86%;
}

.vehicle-maker-logo.garage-alert-logo {
  width: 66px;
  height: 66px;
  flex-basis: 66px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18), inset 0 0 0 3px #f7f9fc;
}

.profile-maker-logo {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.garage-car-thumb {
  position: relative;
  display: block;
  width: 126px;
  height: 62px;
  border-radius: 8px;
  background: linear-gradient(180deg, #edf2f8 0%, #d6dde8 100%);
  overflow: hidden;
}

.garage-car-thumb::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 19px;
  height: 17px;
  border-radius: 16px 22px 7px 7px;
  background: linear-gradient(90deg, #697281 0%, #1f2631 100%);
  box-shadow:
    10px 15px 0 -7px #111827,
    calc(100% - 10px) 15px 0 -7px #111827;
}

.garage-car-thumb::after {
  content: "";
  position: absolute;
  left: 44px;
  bottom: 32px;
  width: 44px;
  height: 19px;
  border-radius: 16px 16px 2px 2px;
  background: linear-gradient(90deg, #bcc4cf 0%, #4a5565 100%);
}

.garage-car-thumb.subaru::before {
  background: linear-gradient(90deg, #1f86dc 0%, #0f4c9c 100%);
}

.garage-car-thumb img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.garage-car-thumb img.is-loaded {
  opacity: 1;
}

.garage-car-thumb span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 12px;
  border-radius: 10px 16px 6px 6px;
  background: linear-gradient(90deg, #6f7785 0%, #1d222b 100%);
  box-shadow:
    7px 10px 0 -5px #111827,
    46px 10px 0 -5px #111827;
}

.garage-car-thumb span::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 18px;
  width: 30px;
  height: 12px;
  border-radius: 12px 12px 2px 2px;
  background: linear-gradient(90deg, #aab2c0 0%, #424b5b 100%);
}

.garage-car-thumb.vw span {
  background: linear-gradient(90deg, #8f98a6 0%, #303640 100%);
}

.garage-car-thumb.subaru span {
  background: linear-gradient(90deg, #2075c8 0%, #0b3978 100%);
}

.garage-car-mainline {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.garage-car-mainline strong {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.garage-car-mainline small {
  color: #73809a;
  font-size: 17px;
  line-height: 1;
  font-weight: 650;
}

.garage-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2368d6;
  font-size: 15px;
  font-weight: 800;
}

.garage-status-pill.default {
  background: #f0edff;
  color: var(--garage-purple);
}

.garage-status-pill.green {
  background: #e8f7f1;
  color: #15947f;
}

.garage-status-pill svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.3;
}

.garage-status-pill.default svg {
  order: 2;
  fill: currentColor;
}

.garage-row-chevron {
  color: #7c879a;
}

.garage-row-chevron svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.garage-view-all {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: center;
  justify-content: stretch;
  width: 100%;
  min-height: 64px;
  padding: 0 24px;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #ffffff;
  color: var(--garage-purple);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  font-size: 20px;
  font-weight: 800;
  text-align: left;
}

.garage-view-all svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.2;
}

.garage-view-all svg:last-child {
  justify-self: end;
}

.garage-notification-panel {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1;
  gap: 20px;
  min-width: 0;
  padding: 6px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.garage-dashboard-body > .garage-profile-card {
  grid-column: 1 / -1;
  grid-row: 2;
  width: min(620px, 100%);
}

.garage-panel-head {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 0 0 22px;
}

.garage-panel-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid #eef0f8;
  border-radius: 17px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f4ff 100%);
  color: #602cff;
  box-shadow: 0 18px 38px rgba(28, 40, 77, 0.08);
}

.garage-panel-icon::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #6c38ff;
  box-shadow: 0 0 0 7px rgba(108, 56, 255, 0.1);
}

.garage-panel-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.8;
}

.garage-panel-head h2 {
  margin: 0;
  color: #0a1430;
  font-size: clamp(34px, 2.6vw, 46px);
  line-height: 0.98;
  font-weight: 950;
}

.garage-panel-head p {
  margin: 12px 0 0;
  color: #68728d;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 650;
}

.garage-pause-btn {
  min-width: 156px;
  min-height: 72px;
  padding: 0 30px;
  border-color: #edf0f8;
  border-radius: 14px;
  color: #0b1530;
  box-shadow: 0 18px 35px rgba(28, 40, 77, 0.08);
  font-size: 18px;
  font-weight: 850;
}

.garage-pause-btn svg {
  width: 23px;
  height: 23px;
  color: #6032ff;
  stroke-width: 3;
}

.garage-notification-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e7ebf4;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(28, 40, 77, 0.07);
}

.garage-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.garage-filter-pill,
.garage-sort-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border: 1px solid #e6eaf4;
  border-radius: 999px;
  background: #ffffff;
  color: #101a35;
  box-shadow: 0 8px 24px rgba(28, 40, 77, 0.04);
  font: inherit;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0;
}

.garage-filter-pill {
  padding: 0 24px;
}

.garage-filter-pill strong {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f0f2f8;
  color: #0d1733;
  font-size: 16px;
  font-weight: 900;
}

.garage-filter-pill.is-active {
  min-height: 66px;
  padding: 0 26px;
  background: linear-gradient(135deg, #8a55ff 0%, #5527ed 100%);
  color: #ffffff;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.45), 0 10px 24px rgba(96, 50, 255, 0.25);
}

.garage-filter-pill.is-active strong {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.garage-sort-pill {
  min-width: 220px;
  padding: 0 24px;
  border-radius: 14px;
}

.garage-sort-pill svg:first-child {
  width: 25px;
  height: 25px;
  color: #5527ed;
  stroke-width: 2.4;
}

.garage-sort-pill svg:last-child {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
}

.garage-alert-list {
  display: grid;
  grid-template-columns: minmax(440px, 1.16fr) minmax(360px, 0.84fr);
  gap: 18px;
  align-items: stretch;
}

.garage-alert {
  position: relative;
  display: grid;
  min-width: 0;
  cursor: pointer;
  border: 1px solid #e4e9f5;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 18px 38px rgba(28, 40, 77, 0.08);
  overflow: hidden;
}

.garage-alert.is-feature {
  grid-template-columns: 158px minmax(250px, 1fr) 138px;
  gap: 36px;
  min-height: 326px;
  padding: 20px 28px 14px 14px;
  box-shadow: 0 18px 38px rgba(28, 40, 77, 0.08), 0 4px 0 rgba(101, 55, 255, 0.72);
}

.garage-alert.is-compact {
  grid-template-columns: 92px minmax(0, 1fr) 116px;
  gap: 26px;
  min-height: 326px;
  padding: 20px 18px 12px 18px;
}

.garage-alert.is-wheel-split {
  grid-template-columns: 86px minmax(220px, 1fr) minmax(150px, 220px) 122px;
  gap: 18px;
  min-height: 282px;
  padding: 14px 18px 18px 14px;
}

.garage-alert.is-footer-card {
  grid-template-columns: 86px minmax(190px, 1fr) minmax(126px, 230px);
  grid-template-rows: minmax(200px, 1fr) 70px;
  gap: 12px 18px;
  min-height: 282px;
  padding: 14px 14px 12px;
}

.garage-alert-art {
  position: relative;
  align-self: stretch;
  display: grid;
  align-items: end;
  width: 100%;
  min-height: 292px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 76% 19%, rgba(147, 95, 255, 0.64) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 31%, rgba(147, 95, 255, 0.48) 0 3px, transparent 4px),
    radial-gradient(circle at 74% 43%, rgba(147, 95, 255, 0.46) 0 3px, transparent 4px),
    linear-gradient(145deg, #080b1e 0%, #171139 50%, #7b54ff 100%);
  overflow: hidden;
}

.garage-alert-art::before {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -22px;
  width: 112px;
  height: 118px;
  border-radius: 0 78px 0 0;
  background: rgba(154, 109, 255, 0.58);
}

.garage-alert-art::after,
.garage-art-dots {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 62px;
  height: 64px;
  background-image: radial-gradient(circle, rgba(220, 204, 255, 0.78) 0 2px, transparent 2.5px);
  background-size: 16px 16px;
}

.garage-art-dots {
  right: 20px;
  top: 55px;
  bottom: auto;
  opacity: 0.55;
}

.garage-art-brand {
  position: absolute;
  left: 24px;
  top: 42px;
  z-index: 2;
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.garage-alert-art img {
  position: absolute;
  left: -34px;
  bottom: 28px;
  z-index: 1;
  width: 190px;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(3, 7, 18, 0.45));
  mix-blend-mode: screen;
}

.garage-alert-avatar {
  position: relative;
  display: grid;
  place-items: center;
  align-self: start;
  width: 86px;
  height: 86px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 74% 23%, rgba(145, 96, 255, 0.7), transparent 29%),
    repeating-linear-gradient(164deg, rgba(159, 122, 255, 0.2) 0 2px, transparent 2px 13px),
    linear-gradient(145deg, #120d2a 0%, #070a1b 55%, #26144f 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 22px rgba(14, 18, 44, 0.18);
  overflow: hidden;
}

.garage-alert-avatar::after {
  content: "";
  position: absolute;
  inset: auto -10px -20px 16px;
  height: 52px;
  border-radius: 999px;
  background: rgba(94, 54, 215, 0.26);
  transform: rotate(-14deg);
}

.garage-alert-avatar span {
  position: relative;
  z-index: 1;
  font-size: 33px;
  line-height: 1;
  font-weight: 950;
}

.garage-alert-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding-top: 12px;
}

.garage-alert.is-compact .garage-alert-copy,
.garage-alert.is-wheel-split .garage-alert-copy,
.garage-alert.is-footer-card .garage-alert-copy {
  padding-top: 8px;
}

.garage-alert-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.garage-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid #e4e8f1;
  border-radius: 999px;
  background: #f7f9fc;
  color: #44516a;
  font-size: 14px;
  line-height: 1;
  font-weight: 820;
  white-space: nowrap;
}

.garage-pill-vehicle {
  border-color: #dbeafe;
  background: #eef5ff;
  color: #034dff;
}

.garage-pill.green {
  border-color: #d8f1e4;
  background: #eaf9f1;
  color: #078148;
}

.garage-pill.blue {
  border-color: #d9e8ff;
  background: #edf5ff;
  color: #034dff;
}

.garage-pill.amber {
  border-color: #ffdcbf;
  background: #fff3e8;
  color: #ff4d00;
}

.garage-pill.red {
  border-color: #ffd6d6;
  background: #fff0f0;
  color: var(--garage-red);
}

.garage-pill.stage {
  border-color: #e3d8ff;
  background: #f4efff;
  color: #5429ff;
}

.garage-alert-copy h3 {
  margin: 0;
  color: #09132d;
  overflow-wrap: anywhere;
  font-size: clamp(20px, 1.42vw, 25px);
  line-height: 1.2;
  font-weight: 950;
}

.garage-alert.is-compact .garage-alert-copy h3,
.garage-alert.is-wheel-split .garage-alert-copy h3,
.garage-alert.is-footer-card .garage-alert-copy h3 {
  font-size: clamp(18px, 1.18vw, 22px);
}

.garage-alert-copy p {
  margin: 0;
  color: #67728c;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 650;
}

.garage-fit-line {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  color: var(--garage-green);
  font-size: 17px;
  font-weight: 920;
}

.garage-fit-line svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.garage-fit-line.red,
.garage-fit-line.amber {
  color: var(--garage-red);
}

.garage-fit-line.blue {
  color: var(--garage-blue);
}

.garage-alert-side {
  display: grid;
  gap: 12px;
  align-self: stretch;
  justify-items: stretch;
  align-content: center;
}

.garage-alert-price {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 20px 12px 18px;
  border: 1px solid #e7ebf4;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.9);
}

.garage-alert-price strong {
  color: #0a1430;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 940;
}

.garage-alert-price small {
  color: #68728d;
  font-size: 14px;
  font-weight: 760;
}

.garage-score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: #dff6ea;
  color: var(--garage-green);
  font-size: 18px;
  font-weight: 950;
}

.garage-score-pill.red,
.garage-score-pill.amber {
  background: #ffe8e8;
  color: var(--garage-red);
}

.garage-score-pill.blue {
  background: #edf5ff;
  color: var(--garage-blue);
}

.garage-alert-side-actions {
  display: grid;
  grid-template-columns: 42px 28px;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.garage-alert-side-actions .garage-view-btn {
  grid-column: 1 / -1;
  width: 100%;
}

.garage-view-btn {
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
  border-color: #7146ff;
  border-radius: 8px;
  color: #5429ff;
  box-shadow: none;
  font-size: 17px;
  font-weight: 860;
}

.garage-view-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.garage-view-btn.is-filled {
  border-color: transparent;
  background: linear-gradient(135deg, #8a55ff 0%, #5527ed 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(93, 54, 227, 0.22);
}

.garage-icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 54px;
  border: 1px solid #e8ecf5;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #536078;
}

.garage-icon-btn:last-child {
  width: 30px;
  border-color: transparent;
  background: transparent;
}

.garage-icon-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.garage-card-product {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: grid;
  place-items: end center;
  overflow: hidden;
}

.garage-card-product::before {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 0;
  width: 94px;
  height: 128px;
  border-radius: 45px 45px 0 0;
  background: rgba(118, 78, 241, 0.18);
}

.garage-card-product::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 58px;
  width: 62px;
  height: 64px;
  background-image: radial-gradient(circle, rgba(118, 78, 241, 0.48) 0 2px, transparent 2.5px);
  background-size: 16px 16px;
}

.garage-card-product img {
  position: relative;
  z-index: 1;
  width: min(230px, 118%);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(28, 40, 77, 0.18));
}

.garage-card-product-hero {
  grid-column: 3;
  grid-row: 1;
  place-items: center end;
  margin-right: -16px;
}

.garage-card-product-hero::before {
  display: none;
}

.garage-card-product-hero img {
  width: min(260px, 126%);
}

.garage-card-product-wheel {
  align-self: end;
  min-height: 176px;
}

.garage-alert-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto minmax(52px, 1fr) minmax(118px, 170px) 34px 28px;
  gap: 10px;
  align-items: center;
  padding: 0 4px 0 14px;
  border: 1px solid #e7ebf4;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
}

.garage-alert-footer strong {
  color: #0a1430;
  font-size: 22px;
  font-weight: 940;
}

.garage-alert-footer small {
  color: #68728d;
  font-size: 15px;
  font-weight: 760;
}

.garage-alert-footer .garage-view-btn {
  min-height: 50px;
  padding: 0 12px;
  font-size: 16px;
}

.garage-alert-footer .garage-icon-btn {
  width: 34px;
  height: 50px;
}

.garage-alert-footer .garage-icon-btn:last-child {
  width: 28px;
}

.garage-alert.is-footer-card .garage-pill {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

.garage-dashboard-body {
  grid-template-columns: minmax(360px, 424px) minmax(0, 1fr);
  gap: 30px;
}

.garage-notification-panel {
  grid-column: 2;
  grid-row: 1;
  gap: 0;
  padding: 16px 10px 10px;
  border: 1px solid #e4e9f5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(28, 40, 77, 0.08);
}

.garage-dashboard-body > .garage-profile-card {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
}

.garage-profile-card {
  align-self: start;
}

.garage-panel-head {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 0 4px 14px;
  border-bottom: 1px solid #edf1f7;
}

.garage-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  box-shadow: 0 10px 20px rgba(85, 72, 217, 0.08);
}

.garage-panel-icon::before {
  right: 8px;
  top: 8px;
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 4px rgba(108, 56, 255, 0.1);
}

.garage-panel-icon svg {
  width: 23px;
  height: 23px;
}

.garage-panel-head h2 {
  font-size: 16px;
  line-height: 1.05;
}

.garage-panel-head p {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.25;
}

.garage-pause-btn {
  min-width: 82px;
  min-height: 34px;
  gap: 8px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 11px;
  box-shadow: none;
}

.garage-pause-btn svg {
  width: 14px;
  height: 14px;
}

.garage-alert-list {
  grid-template-columns: 1fr;
  gap: 9px;
  padding-top: 9px;
}

.garage-alert,
.garage-alert.is-feature,
.garage-alert.is-compact,
.garage-alert.is-wheel-split,
.garage-alert.is-footer-card,
.garage-alert.is-row {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr) minmax(210px, 0.38fr);
  grid-template-rows: auto;
  gap: 18px;
  align-items: center;
  min-height: 110px;
  padding: 0 12px 0 0;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(28, 40, 77, 0.07);
}

.garage-alert.is-feature {
  box-shadow: 0 10px 24px rgba(28, 40, 77, 0.07);
}

.garage-alert-art {
  width: 154px;
  min-height: 110px;
  height: 110px;
  border-radius: 10px 0 0 10px;
  background:
    radial-gradient(circle at 74% 22%, rgba(154, 120, 255, 0.3) 0 2px, transparent 2.5px),
    linear-gradient(145deg, #050914 0%, #101827 58%, #1b2440 100%);
}

.garage-alert-art::before {
  left: -24px;
  bottom: -38px;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(86, 54, 176, 0.32);
}

.garage-alert-art::after,
.garage-art-dots {
  display: none;
}

.garage-alert-art img {
  left: 16px;
  bottom: 7px;
  width: 118px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(3, 7, 18, 0.42));
  mix-blend-mode: normal;
}

.garage-alert-art-wheel img,
.garage-alert-art-wheel-package img {
  left: 22px;
  width: 112px;
}

.garage-art-brand {
  left: 10px;
  top: auto;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(23, 20, 48, 0.96), rgba(11, 16, 30, 0.94));
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 10px 18px rgba(4, 8, 20, 0.34);
}

.garage-alert-copy,
.garage-alert.is-compact .garage-alert-copy,
.garage-alert.is-wheel-split .garage-alert-copy,
.garage-alert.is-footer-card .garage-alert-copy {
  gap: 7px;
  padding-top: 0;
}

.garage-alert-pills {
  gap: 8px;
}

.garage-pill,
.garage-alert.is-footer-card .garage-pill {
  min-height: 19px;
  padding: 0 9px;
  font-size: 8.5px;
  font-weight: 900;
}

.garage-alert-copy h3,
.garage-alert.is-compact .garage-alert-copy h3,
.garage-alert.is-wheel-split .garage-alert-copy h3,
.garage-alert.is-footer-card .garage-alert-copy h3 {
  font-size: 13px;
  line-height: 1.2;
}

.garage-alert-copy p {
  font-size: 11px;
  line-height: 1.25;
}

.garage-fit-line {
  gap: 6px;
  font-size: 10px;
}

.garage-fit-line svg {
  width: 13px;
  height: 13px;
}

.garage-alert-side {
  grid-template-columns: 78px minmax(118px, 1fr);
  gap: 12px;
  align-items: center;
  align-content: center;
}

.garage-alert-price {
  grid-template-columns: auto 1fr;
  gap: 8px 9px;
  justify-items: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.garage-alert-price strong {
  grid-column: 1 / -1;
  font-size: 14px;
}

.garage-alert-price small {
  align-self: center;
  font-size: 10px;
}

.garage-score-pill {
  min-width: 31px;
  height: 20px;
  padding: 0 8px;
  font-size: 9.5px;
}

.garage-alert-side-actions {
  grid-template-columns: minmax(82px, 92px) 1px 32px 24px;
  gap: 12px;
  justify-content: end;
}

.garage-alert-side-actions::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 1px;
  height: 43px;
  background: #e4e9f4;
}

.garage-alert-side-actions .garage-view-btn {
  grid-column: 1;
}

.garage-view-btn {
  min-height: 31px;
  padding: 0 14px;
  border-color: #e7ebf5;
  border-radius: 8px;
  color: #0a1430;
  font-size: 10px;
  box-shadow: none;
}

.garage-view-btn svg {
  width: 13px;
  height: 13px;
}

.garage-icon-btn,
.garage-icon-btn:last-child {
  width: 24px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.garage-alert-side-actions .garage-icon-btn:nth-of-type(2) {
  grid-column: 3;
}

.garage-alert-side-actions .garage-icon-btn:nth-of-type(3) {
  grid-column: 4;
}

.garage-icon-btn svg {
  width: 17px;
  height: 17px;
}

.garage-form-drawer {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.garage-form-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.garage-form-head h2 {
  margin: 0;
  font-size: 19px;
}

.garage-form-head p {
  margin: 6px 0 0;
  color: var(--garage-muted);
}

.mini-guide-list.compact {
  min-width: 0;
}

.oem-guide-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  align-items: start;
}

.oem-guide-list {
  display: grid;
  gap: 8px;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.oem-guide-detail {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

@keyframes count-pulse {
  0% {
    transform: scale(1);
    color: var(--teal);
  }
  45% {
    transform: scale(1.12);
    color: var(--amber);
  }
  100% {
    transform: scale(1);
    color: var(--teal);
  }
}

@media (max-width: 1500px) {
  .topbar {
    grid-template-columns: 210px minmax(0, 1fr) max-content;
  }

  .nav-selected-item {
    width: clamp(230px, 24vw, 320px);
    flex-basis: clamp(230px, 24vw, 320px);
  }
}

@media (max-width: 1400px) {
  .account-selected-card {
    grid-template-columns: 132px minmax(0, 1fr) 136px;
    gap: 12px 16px;
  }

  .account-selected-image {
    width: 132px;
    height: 96px;
  }

  .garage-dashboard-body {
    grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
    gap: 10px;
  }

  .garage-alert-side {
    grid-column: auto;
    justify-self: stretch;
  }
}

@media (max-width: 1100px) {
  .account-flyout {
    width: min(480px, calc(100vw - 24px));
    padding: 7px;
    gap: 0 12px;
  }

  .account-selected-card {
    grid-template-columns: 88px minmax(0, 1fr) 92px;
    grid-template-rows: auto auto;
    gap: 8px 11px;
    padding: 13px 15px;
  }

  .account-selected-image {
    grid-row: 1 / span 2;
    width: 88px;
    height: 64px;
  }

  .account-selected-copy {
    grid-row: 1 / span 2;
  }

  .account-selected-copy h2 {
    font-size: 16px;
  }

  .account-selected-price {
    grid-column: 3;
    grid-row: 1;
  }

  .account-selected-price strong {
    font-size: 23px;
  }

  .account-selected-cta {
    grid-column: 3;
    grid-row: 2;
    min-height: 34px;
    font-size: 12px;
  }

  .view-grid,
  .wide-grid,
  .guide-layout,
  .workflow-layout,
  .auction-layout,
  .job-auction-layout,
  .market-shell,
  .oem-guide-layout,
  .selector-layout,
  .legal-layout,
  .profile-hero,
  .profile-grid,
  .stats-hero,
  .stats-layout,
  .auction-board,
  .results-layout {
    grid-template-columns: 1fr;
  }

  .garage-dashboard {
    padding: 22px 18px 38px;
  }

  .garage-form-head {
    align-items: flex-start;
  }

  .garage-dashboard-body {
    grid-template-columns: 1fr;
  }

  .garage-profile-card {
    width: min(450px, 100%);
  }

  .market-left-rail,
  .market-right-rail {
    order: 2;
  }

  .results-panel {
    order: 1;
  }

  .live-facet-panel,
  .live-radar {
    position: static;
  }

  .workflow-layout,
  .auction-layout,
  .job-auction-layout {
    padding: 24px 30px 40px;
  }

  .guide-layout {
    padding: 24px 30px 40px;
  }

  .workflow-detail {
    position: static;
    max-height: none;
  }

  .selector-nav,
  .selector-detail,
  .stats-loadout {
    position: static;
    max-height: none;
  }

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

  .topbar {
    grid-template-columns: 220px 1fr;
  }

  .top-actions {
    grid-column: 1 / -1;
  }

  .nav-selected-item {
    width: auto;
    flex: 1 1 260px;
  }

  .command-copy {
    width: min(720px, 100%);
  }

  .detail-panel {
    position: static;
  }

  .legal-nav-panel {
    position: static;
  }

  .legal-hero,
  .legal-document-head,
  .legal-control-strip {
    grid-template-columns: 1fr;
  }

  .legal-hero-actions,
  .cookie-banner-actions,
  .cookie-actions {
    justify-content: flex-start;
  }

  .selected-rail {
    min-height: 0;
    max-height: 25vh;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 0 30px 40px;
  }

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

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

  .popular-setups {
    max-width: 900px;
  }

  .popular-setup-track {
    grid-auto-columns: calc((100% - 28px) / 2);
  }

  .recent-picks {
    max-width: min(900px, calc(100vw - 72px));
    padding: 0;
  }

  .recent-picks-grid {
    grid-auto-columns: 100%;
    gap: 18px;
  }

  .recent-picks-page {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .recent-picks .popular-setups-controls {
    inset: 78px -28px 16px -28px;
  }

  .part-showcase {
    max-width: 900px;
  }

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

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 12px 16px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    justify-content: space-between;
  }

  .brand-caption {
    display: none;
  }

  .tabs {
    justify-content: flex-start;
    overflow: visible;
    flex-wrap: wrap;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .tabs > .tab-button {
    display: none;
  }

  .vehicle-context-chip {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  body:not([data-auth-locked="true"]) main {
    padding-bottom: 84px;
  }

  .mobile-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 6px max(8px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(16, 24, 40, 0.08);
  }

  .mobile-tab {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    min-height: 48px;
    padding: 6px 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
  }

  .mobile-tab-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-tab.is-active {
    color: var(--logo-red);
    background: var(--brand-soft);
  }

  .tab-button,
  .btn,
  .stage-section {
    min-height: 44px;
  }

  .tab-menu-panel {
    left: auto;
    right: 0;
    max-width: calc(100vw - 32px);
  }

  .tabs::-webkit-scrollbar,
  .nav-selected-item::-webkit-scrollbar,
  .top-actions::-webkit-scrollbar {
    display: none;
  }

  .top-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    justify-content: stretch;
    gap: 8px;
    overflow: visible;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .top-actions > .btn.primary {
    order: 0;
    width: 100%;
    min-height: 44px;
  }

  .social-links {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    order: 2;
    gap: 8px;
    width: 100%;
    padding-top: 2px;
  }

  .social-link {
    width: 100%;
    height: 44px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .nav-selected-item {
    order: 2;
    flex: 1 1 220px;
    width: auto;
  }

  .account-menu {
    order: 0;
    width: 44px;
    justify-self: end;
    margin-left: 0;
  }

  .user-chip {
    width: 44px;
    min-width: 44px;
    height: 44px;
    grid-template-columns: 1fr;
    place-items: center;
  }

  .user-chip .avatar {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }

  .user-chip > span:not(.avatar) {
    display: none;
  }

  .account-flyout {
    position: fixed;
    top: 164px;
    left: 8px;
    right: 8px;
    width: auto;
    max-width: none;
    max-height: calc(100svh - 176px);
    overflow: auto;
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .account-selected-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
    border-radius: 14px;
  }

  .account-selected-image {
    grid-column: 1;
    grid-row: 1;
    width: 96px;
    height: 78px;
  }

  .account-selected-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .account-selected-copy h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.15;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .account-selected-copy span {
    font-size: 14px;
  }

  .account-selected-price {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .account-selected-price span {
    font-size: 18px;
  }

  .account-selected-price strong {
    font-size: 32px;
  }

  .account-selected-price small {
    max-width: 100%;
  }

  .account-selected-cta {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 54px;
  }

  .account-flyout .header-icon {
    min-height: 68px;
    grid-template-columns: 40px minmax(0, 1fr);
    justify-items: start;
    gap: 12px;
    padding: 14px 6px;
    text-align: left;
  }

  .account-flyout .header-icon .icon-mark {
    width: 36px;
    height: 36px;
    font-size: 30px;
  }

  .account-flyout .header-icon.has-dot::after {
    top: 18px;
    left: 30px;
    width: 9px;
    height: 9px;
  }

  .command-band,
  .workspace,
  .selector-shell,
  .stats-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .command-band {
    min-height: clamp(330px, 52svh, 430px);
    display: grid;
    gap: 14px;
    padding-bottom: 18px;
  }

  .command-copy {
    min-height: 0;
    width: min(100%, 330px);
    padding: 38px 0 58px;
  }

  .hero-kicker {
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0;
    transform: none;
  }

  #workspace-title {
    margin-bottom: 12px;
    font-size: 42px;
    line-height: 0.96;
    white-space: normal;
  }

  .workspace-subtitle {
    max-width: 330px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0;
    transform: none;
  }

  .market-shell {
    margin-top: -18px;
  }

  body:not([data-active-tab="market"]) .command-band {
    display: none;
  }

  body:not([data-active-tab="market"]) .selector-shell,
  body:not([data-active-tab="market"]) .stats-shell,
  body:not([data-active-tab="market"]) .profile-shell {
    margin-top: 0;
  }

  .selector-shell {
    margin-top: -18px;
    padding-bottom: 28px;
  }

  .stats-shell {
    margin-top: -18px;
    padding-bottom: 28px;
  }

  .profile-shell {
    padding: 0 14px 28px;
    margin-top: 0;
  }

  .market-main {
    padding: 0 0 28px;
  }

  .floating-search {
    padding: 12px;
  }

  .refine-panel {
    display: none;
  }

  .filter-bar,
  .advanced-filter-grid,
  .vehicle-filter-grid,
  .contract-grid,
  .guide-grid,
  .guide-proof-grid,
  .guide-requirement,
  .guide-summary,
  .workflow-metrics,
  .workflow-grid,
  .auction-board,
  .job-scope-grid,
  .auction-price-row,
  .auction-transport-grid,
  .stat-grid,
  .stat-score-grid,
  .stats-summary,
  .stat-section-grid,
  .stat-loadout-grid,
  .admin-model-part-grid,
  .admin-part-row,
  .selector-summary,
  .profile-summary-grid,
  .conversion-strip,
  .confidence-grid.compact,
  .selector-grid,
  .selector-detail-grid,
  .selector-section-list,
  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .advanced-filter-head {
    display: grid;
  }

  .advanced-filter-actions {
    justify-content: flex-start;
  }

  .market-stage-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .popular-setups {
    margin-top: 26px;
    margin-bottom: 26px;
  }

  .popular-setups-head {
    min-height: 44px;
    margin-bottom: 14px;
  }

  .popular-setups h2 {
    font-size: 28px;
  }

  .popular-setups-controls {
    inset: 0 2px 0 2px;
    padding-top: 58px;
  }

  .popular-setup-arrow {
    width: 38px;
    height: 38px;
  }

  .popular-setup-arrow::before {
    left: 15px;
    top: 12px;
    width: 12px;
    height: 12px;
  }

  .popular-setup-arrow.next::before {
    left: 10px;
  }

  .popular-setup-track {
    grid-auto-columns: minmax(300px, 88vw);
    gap: 14px;
    padding-left: 0;
    padding-right: 0;
  }

  .popular-setup-card {
    aspect-ratio: 16 / 10;
  }

  .popular-setup-copy {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .popular-setup-art-copy {
    inset: 0;
    padding: 14px 16px 16px;
    gap: 5px;
  }

  .popular-setup-kicker {
    font-size: 12px;
  }

  .popular-setup-art-copy .popular-setup-headline {
    font-size: 32px;
    line-height: 0.9;
  }

  .popular-setup-detail-line {
    max-width: 96%;
    font-size: 16px;
    line-height: 0.96;
  }

  .recent-picks {
    margin-bottom: 26px;
    max-width: calc(100vw - 28px);
  }

  .recent-picks-head {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .recent-picks h2 {
    font-size: 24px;
  }

  .recent-picks-grid {
    grid-auto-columns: 100%;
    gap: 14px;
    padding-bottom: 14px;
  }

  .recent-picks-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .recent-picks .popular-setups-controls {
    inset: 64px -6px 14px -6px;
  }

  .recent-picks .popular-setup-arrow {
    width: 38px;
    height: 38px;
  }

  .recent-pick-copy {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .recent-pick-chip-row span {
    max-width: 88px;
    font-size: 10px;
  }

  .recent-pick-card strong {
    font-size: clamp(18px, 6vw, 25px);
  }

  .recent-pick-price-row span {
    font-size: 15px;
  }

  .part-showcase {
    margin-bottom: 28px;
  }

  .part-showcase-head {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .part-showcase h2 {
    font-size: 24px;
  }

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

  .category-tile-icon {
    left: 8px;
    top: 8px;
    width: 30px;
    height: 30px;
  }

  .category-tile-icon svg {
    width: 18px;
    height: 18px;
    transform: translate(0, 0.2px);
  }

  .category-tile-image {
    top: 8%;
    height: 64%;
    padding: 3% 10% 8%;
    transform: translateY(0) scale(1);
  }

  .category-tile-label {
    left: 10px;
    right: 44px;
    bottom: 10px;
    min-height: 30px;
    font-size: 10.5px;
    font-weight: 950;
  }

  .category-tile-arrow {
    right: 8px;
    bottom: 8px;
    width: 28px;
    height: 28px;
  }

  .listing-live-status,
  .ai-discovery-form,
  .compare-tray {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .garage-dashboard {
    gap: 16px;
    width: min(360px, calc(100vw - 28px));
    max-width: min(360px, calc(100vw - 28px));
    overflow: hidden;
    padding: 14px 10px 28px;
  }

  body[data-active-tab="garage"] .workspace {
    overflow-x: hidden;
  }

  .garage-dashboard-body,
  .garage-profile-card,
  .garage-notification-panel {
    min-width: 0;
    max-width: 100%;
  }

  .garage-panel-head,
  .garage-alert,
  .garage-alert-side,
  .garage-form-head {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .garage-photo {
    min-height: 124px;
    margin-top: 20px;
  }

  .garage-profile-panel {
    padding-left: 14px;
    padding-right: 14px;
  }

  .garage-profile-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 18px 10px 24px;
  }

  .garage-profile-top {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 8px;
  }

  .garage-title-line {
    gap: 8px;
    overflow: hidden;
  }

  .garage-title-line h2 {
    min-width: 0;
    overflow: hidden;
    font-size: 30px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .garage-profile-title p {
    font-size: 17px;
  }

  .garage-profile-actions {
    gap: 8px;
    justify-content: flex-end;
    width: 96px;
  }

  .garage-action-circle {
    width: 44px;
    height: 44px;
  }

  .garage-action-circle svg {
    width: 23px;
    height: 23px;
  }

  .garage-title-edit {
    width: 34px;
    height: 34px;
  }

  .garage-title-edit svg {
    width: 18px;
    height: 18px;
  }

  .garage-add-vehicle-wide {
    min-height: 58px;
  }

  .garage-add-vehicle-wide strong {
    font-size: 19px;
  }

  .garage-cars-head strong {
    font-size: 20px;
  }

  .garage-cars-head button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 15px;
  }

  .garage-car-row {
    grid-template-columns: 42px 86px minmax(0, 1fr) auto 15px;
    gap: 8px;
    min-height: 78px;
    padding: 10px;
  }

  .garage-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 8px;
  }

  .garage-car-thumb {
    width: 86px;
    height: 48px;
  }

  .garage-car-thumb::before {
    left: 10px;
    right: 10px;
    bottom: 14px;
    height: 13px;
  }

  .garage-car-thumb::after {
    left: 29px;
    bottom: 25px;
    width: 31px;
    height: 13px;
  }

  .garage-car-mainline strong {
    font-size: 16px;
  }

  .garage-car-mainline small {
    font-size: 14px;
  }

  .garage-status-pill {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .garage-status-pill svg {
    width: 14px;
    height: 14px;
  }

  .garage-row-chevron svg {
    width: 18px;
    height: 18px;
  }

  .garage-view-all {
    min-height: 58px;
    padding: 0 16px;
    font-size: 18px;
  }

  .garage-panel-head {
    padding: 0;
  }

  .garage-pause-btn {
    justify-self: start;
  }

  .garage-alert {
    min-height: 0;
    padding: 16px;
  }

  .garage-alert-icon {
    width: 58px;
    height: 58px;
  }

  .vehicle-maker-logo.garage-alert-logo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .garage-alert-side {
    gap: 10px;
    justify-items: start;
  }

  .garage-alert-divider {
    display: none;
  }

  .garage-view-btn,
  .garage-pause-btn {
    width: 100%;
  }

  .garage-icon-btn {
    justify-self: start;
  }

  .garage-filter-fab {
    right: 12px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }

  .listing-live-status {
    display: grid;
  }

  .selector-head,
  .profile-hero,
  .selector-toolbar,
  .stats-hero,
  .stat-section-head,
  .selector-card-footer,
  .selector-detail-head {
    display: grid;
  }

  .selector-head,
  .profile-hero,
  .selector-toolbar,
  .stats-hero {
    align-items: stretch;
  }

  .selector-search {
    width: 100%;
  }

  .workflow-layout,
  .auction-layout,
  .job-auction-layout {
    padding: 18px 14px 28px;
  }

  .guide-layout {
    padding: 18px 14px 28px;
  }

  .view-grid,
  .wide-grid,
  .workflow-layout,
  .auction-layout,
  .job-auction-layout,
  .guide-layout,
  .oem-guide-layout,
  .selector-layout,
  .profile-grid,
  .stats-layout,
  .results-layout,
  .market-shell,
  .market-main,
  .panel,
  .detail-panel,
  .form-panel {
    min-width: 0;
    max-width: 100%;
  }

  .panel,
  .detail-panel,
  .form-panel {
    padding: 14px;
  }

  .wide-grid > .panel,
  .wide-grid > .detail-panel,
  .data-table-panel,
  .table-scroll {
    overflow-x: auto;
  }

  .table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .table th,
  .table td {
    padding: 9px 8px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .table th:nth-child(1),
  .table td:nth-child(1) {
    width: 37%;
  }

  .table th:nth-child(2),
  .table td:nth-child(2) {
    width: 27%;
  }

  .table th:nth-child(3),
  .table td:nth-child(3) {
    width: 36%;
  }

  .workflow-head,
  .section-title-row,
  .workflow-detail-head {
    display: grid;
  }

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

  .money-grid,
  .tracking-box {
    grid-template-columns: 1fr;
  }

  .criteria-grid,
  .criteria-badge-row {
    grid-template-columns: 1fr;
  }

  .legal-shell {
    padding: 18px 14px 32px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 16px 24px;
  }

  .footer-bottom-bar {
    display: grid;
    padding: 16px;
  }

  .footer-bottom-bar span:last-child {
    max-width: none;
    text-align: left;
  }

  .legal-hero,
  .legal-document {
    padding: 14px;
  }

  .legal-stat-grid,
  .cookie-matrix-row,
  .cookie-choice-row {
    grid-template-columns: 1fr;
  }

  .cookie-matrix-row {
    align-items: start;
  }

  .site-footer {
    padding: 0;
  }

  .site-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .footer-column h2 {
    grid-column: 1 / -1;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }

  .cookie-modal-backdrop {
    align-items: end;
    padding: 12px;
  }

  .cookie-modal {
    max-height: calc(100vh - 24px);
    padding: 16px;
  }

  .cookie-modal-head {
    grid-template-columns: 1fr auto;
  }

  .selected-rail {
    margin: 0 0 28px;
  }

  h1 {
    font-size: 44px;
  }
}

@media (max-width: 1400px) {
  .garage-alert-list {
    grid-template-columns: 1fr;
  }

  .garage-alert-side {
    grid-column: auto;
    justify-self: stretch;
  }

}

@media (max-width: 1100px) {
  .garage-dashboard-body {
    grid-template-columns: 1fr;
  }

  .garage-dashboard-body > .garage-profile-card,
  .garage-notification-panel {
    grid-column: 1;
  }

  .garage-dashboard-body > .garage-profile-card {
    grid-row: 1;
  }

  .garage-notification-panel {
    grid-row: 2;
  }

  .garage-notification-panel {
    padding-top: 0;
  }

  .garage-alert-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .garage-panel-head {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
  }

  .garage-panel-icon {
    width: 68px;
    height: 68px;
    border-radius: 15px;
  }

  .garage-panel-icon svg {
    width: 34px;
    height: 34px;
  }

  .garage-panel-head h2 {
    font-size: 30px;
  }

  .garage-panel-head p {
    font-size: 15px;
  }

  .garage-pause-btn {
    grid-column: 1 / -1;
    min-height: 58px;
    justify-self: stretch;
  }

  .garage-notification-filters {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .garage-filter-pills {
    gap: 9px;
  }

  .garage-filter-pill,
  .garage-sort-pill {
    min-height: 48px;
    padding: 0 15px;
    font-size: 14px;
  }

  .garage-filter-pill.is-active {
    min-height: 56px;
    padding: 0 18px;
  }

  .garage-sort-pill {
    width: 100%;
  }

  .garage-alert.is-feature,
  .garage-alert.is-compact,
  .garage-alert.is-wheel-split,
  .garage-alert.is-footer-card,
  .garage-alert.is-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    min-height: 0;
    padding: 14px;
  }

  .garage-alert-art {
    min-height: 220px;
  }

  .garage-alert-art img {
    left: 16px;
    width: 180px;
  }

  .garage-alert-avatar {
    width: 72px;
    height: 72px;
  }

  .garage-alert-copy {
    padding-top: 0;
  }

  .garage-alert-copy h3,
  .garage-alert.is-compact .garage-alert-copy h3,
  .garage-alert.is-wheel-split .garage-alert-copy h3,
  .garage-alert.is-footer-card .garage-alert-copy h3 {
    font-size: 20px;
  }

  .garage-pill {
    min-height: 30px;
    padding: 0 13px;
    font-size: 12px;
  }

  .garage-card-product,
  .garage-card-product-hero {
    grid-column: auto;
    grid-row: auto;
    min-height: 150px;
    margin: 0;
    place-items: center;
  }

  .garage-card-product img,
  .garage-card-product-hero img {
    width: min(220px, 96%);
  }

  .garage-alert-footer {
    grid-column: auto;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .garage-alert-footer .garage-view-btn {
    grid-column: 1 / -1;
  }

  .garage-alert-footer .garage-icon-btn {
    justify-self: start;
  }

  .garage-alert-side-actions {
    grid-template-columns: 42px 28px;
  }

}

@media (max-width: 480px) {
  body[data-active-tab="garage"] .garage-dashboard {
    width: min(360px, calc(100vw - 28px));
    max-width: min(360px, calc(100vw - 28px));
  }
}
