:root {
      --bg: #ffffff;
      --surface: #ffffff;
      --fg: #181d26;
      --fg-2: #333333;
      --muted: rgba(4, 14, 32, 0.68);
      --border: #e0e2e6;
      --border-soft: #eef0f3;
      --accent: #1b61c9;
      --accent-on: #ffffff;
      --accent-hover: #254fad;
      --accent-active: color-mix(in oklab, var(--accent), black 14%);
      --success: #006400;
      --warn: #d97706;
      --danger: #dc2626;
      --font-display: "Haas Groot Disp", Haas, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
      --font-body: Haas, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
      --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
      --text-xs: 12px;
      --text-sm: 14px;
      --text-base: 16px;
      --text-lg: 20px;
      --text-xl: 24px;
      --text-2xl: 32px;
      --text-3xl: 40px;
      --leading-body: 1.35;
      --leading-tight: 1.2;
      --space-1: 4px;
      --space-2: 8px;
      --space-3: 12px;
      --space-4: 16px;
      --space-5: 20px;
      --space-6: 24px;
      --space-8: 32px;
      --space-10: 40px;
      --radius-sm: 12px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-pill: 9999px;
      --elev-ring: 0 0 0 1px var(--border);
      --elev-raised:
        0 0 1px rgba(0, 0, 0, 0.32),
        0 0 2px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(45, 127, 249, 0.24),
        inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
      --focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 70%);
      --motion-fast: 150ms;
      --ease-standard: cubic-bezier(0.2, 0, 0, 1);
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      min-height: 100%;
      margin: 0;
      background:
        linear-gradient(90deg, color-mix(in oklab, var(--accent), transparent 97%), transparent 44%),
        var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--text-base);
      line-height: var(--leading-body);
      letter-spacing: 0.12px;
    }

    button,
    input,
    select {
      font: inherit;
    }

    button {
      border: 0;
      cursor: pointer;
    }

    .dealer-shell {
      min-height: 100vh;
      display: grid;
      grid-template-rows: auto 1fr;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 10;
      border-bottom: 1px solid var(--border);
      background: color-mix(in oklab, var(--surface), transparent 4%);
      backdrop-filter: blur(14px);
    }

    .topbar-inner {
      max-width: 1180px;
      margin: 0 auto;
      padding: var(--space-4) var(--space-6);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-5);
    }

    .brand {
      display: flex;
      align-items: center;
      min-width: 0;
      gap: var(--space-3);
    }

    .brand-logo {
      width: 84px;
      height: 46px;
      border-color: color-mix(in oklab, var(--accent), var(--border) 68%);
      border-radius: var(--radius-sm);
      padding: 4px;
      box-shadow:
        0 10px 22px rgba(27, 97, 201, 0.10),
        inset 0 0 0 1px rgba(255, 255, 255, 0.82);
    }

    .brand-mark {
      width: 36px;
      height: 36px;
      border-radius: var(--radius-sm);
      background: var(--accent);
      color: var(--accent-on);
      display: grid;
      place-items: center;
      font-weight: 800;
      letter-spacing: 0;
      box-shadow: var(--elev-raised);
      flex: 0 0 auto;
    }

    .brand-text {
      min-width: 0;
      display: grid;
      gap: var(--space-1);
    }

    .brand-title {
      font-family: var(--font-display);
      font-weight: 800;
      line-height: var(--leading-tight);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .brand-subtitle {
      color: var(--muted);
      font-size: var(--text-xs);
      letter-spacing: 0.22px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .account-chip {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      height: 36px;
      padding: 0 var(--space-3);
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      background: var(--surface);
      color: var(--fg-2);
      font-size: var(--text-sm);
      font-weight: 700;
      white-space: nowrap;
      box-shadow: var(--elev-ring);
    }

    .account-dot {
      width: 8px;
      height: 8px;
      border-radius: var(--radius-pill);
      background: var(--success);
    }

    .page {
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      padding: var(--space-8) var(--space-6) var(--space-10);
      display: grid;
      gap: var(--space-6);
    }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
      align-items: end;
      gap: var(--space-6);
    }

    h1 {
      margin: 0;
      max-width: 760px;
      font-family: var(--font-display);
      font-size: clamp(30px, 4vw, var(--text-3xl));
      line-height: var(--leading-tight);
      letter-spacing: 0;
    }

    .hero-copy {
      margin: var(--space-3) 0 0;
      max-width: 700px;
      color: var(--muted);
      font-size: var(--text-lg);
      letter-spacing: 0.08px;
    }

    .account-card {
      display: grid;
      gap: var(--space-3);
      padding: var(--space-4);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: var(--surface);
      box-shadow: var(--elev-ring);
    }

    .account-label {
      color: var(--muted);
      font-size: var(--text-xs);
      font-weight: 800;
      letter-spacing: 0.24px;
    }

    .account-name {
      font-family: var(--font-display);
      font-size: var(--text-xl);
      font-weight: 800;
      line-height: var(--leading-tight);
    }

    .account-meta {
      color: var(--muted);
      font-size: var(--text-sm);
    }

    .lookup-panel {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
      gap: var(--space-5);
      padding: var(--space-5);
      border: 1px solid color-mix(in oklab, var(--accent), var(--border) 76%);
      border-radius: var(--radius-lg);
      background:
        linear-gradient(135deg, color-mix(in oklab, var(--accent), transparent 94%), transparent 58%),
        var(--surface);
      box-shadow: var(--elev-raised);
    }

    .lookup-card {
      min-width: 0;
      display: grid;
      gap: var(--space-5);
      align-content: start;
    }

    .section-title {
      margin: 0;
      font-family: var(--font-display);
      font-size: var(--text-2xl);
      line-height: var(--leading-tight);
      letter-spacing: 0;
    }

    .section-note {
      margin-top: var(--space-2);
      color: var(--muted);
      font-size: var(--text-sm);
      letter-spacing: 0.12px;
    }

    .lookup-form {
      display: grid;
      gap: var(--space-4);
    }

    .form-grid {
      display: grid;
      grid-template-columns: minmax(230px, 1fr) minmax(140px, 0.58fr) minmax(140px, 0.58fr);
      gap: var(--space-3);
    }

    .form-field {
      display: grid;
      gap: var(--space-2);
    }

    .form-field label {
      color: var(--muted);
      font-size: var(--text-xs);
      font-weight: 800;
      letter-spacing: 0.24px;
    }

    .form-field input,
    .form-field select {
      width: 100%;
      height: 44px;
      padding: 0 var(--space-3);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: var(--surface);
      color: var(--fg);
      outline: none;
      letter-spacing: 0.08px;
    }

    .form-field input:focus-visible,
    .form-field select:focus-visible {
      border-color: var(--accent);
      box-shadow: var(--focus-ring);
    }

    .lookup-action {
      width: fit-content;
      min-width: 176px;
      height: 44px;
      padding: 0 var(--space-5);
      border-radius: var(--radius-sm);
      background: var(--accent);
      color: var(--accent-on);
      font-weight: 850;
      letter-spacing: 0.08px;
      box-shadow: var(--elev-raised);
      transition:
        background var(--motion-fast) var(--ease-standard),
        transform var(--motion-fast) var(--ease-standard);
    }

    .lookup-action:hover {
      background: var(--accent-hover);
    }

    .lookup-action:active {
      transform: translateY(1px);
      background: var(--accent-active);
    }

    .result-card {
      display: grid;
      gap: var(--space-4);
      padding: var(--space-5);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: var(--surface);
      box-shadow: var(--elev-ring);
    }

    .result-label {
      color: var(--muted);
      font-size: var(--text-xs);
      font-weight: 800;
      letter-spacing: 0.24px;
    }

    .result-price {
      margin-top: var(--space-1);
      font-family: var(--font-display);
      font-size: clamp(34px, 5vw, 52px);
      font-weight: 850;
      line-height: var(--leading-tight);
      letter-spacing: 0;
    }

    .result-vehicle {
      color: var(--fg-2);
      font-size: var(--text-lg);
      font-weight: 750;
      line-height: var(--leading-tight);
    }

    .result-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-3);
    }

    .result-item {
      display: grid;
      gap: var(--space-1);
      padding: var(--space-3);
      border: 1px solid var(--border-soft);
      border-radius: var(--radius-sm);
      background: color-mix(in oklab, var(--accent), transparent 97%);
    }

    .result-item span {
      color: var(--muted);
      font-size: var(--text-xs);
      letter-spacing: 0.2px;
    }

    .result-item strong {
      font-family: var(--font-mono);
      font-size: var(--text-sm);
      letter-spacing: 0;
      overflow-wrap: anywhere;
    }

    .result-status {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      width: fit-content;
      padding: var(--space-1) 10px;
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      background: var(--surface);
      color: var(--fg-2);
      font-size: var(--text-xs);
      font-weight: 800;
      white-space: nowrap;
    }

    .result-status::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: var(--radius-pill);
      background: var(--warn);
    }

    .result-status.ready::before {
      background: var(--success);
    }

    .prototype-note {
      color: var(--muted);
      font-size: var(--text-xs);
      letter-spacing: 0.12px;
    }

    .lower-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
      gap: var(--space-5);
      align-items: start;
    }

    .panel {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: var(--surface);
      box-shadow: var(--elev-raised);
      overflow: hidden;
    }

    .panel-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: var(--space-4);
      padding: var(--space-5);
      border-bottom: 1px solid var(--border-soft);
    }

    .panel-title {
      margin: 0;
      font-family: var(--font-display);
      font-size: var(--text-xl);
      line-height: var(--leading-tight);
      letter-spacing: 0;
    }

    .panel-note {
      margin-top: var(--space-1);
      color: var(--muted);
      font-size: var(--text-sm);
    }

    .usage-grid {
      display: grid;
      gap: var(--space-3);
      padding: var(--space-5);
    }

    .usage-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-4);
      min-height: 54px;
      padding: var(--space-3) var(--space-4);
      border: 1px solid var(--border-soft);
      border-radius: var(--radius-sm);
      background: color-mix(in oklab, var(--surface), var(--accent) 1%);
    }

    .usage-item span {
      color: var(--muted);
      font-size: var(--text-sm);
    }

    .usage-item strong {
      font-family: var(--font-display);
      font-size: var(--text-xl);
      font-weight: 850;
      line-height: var(--leading-tight);
    }

    .table-wrap {
      width: 100%;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }

    th,
    td {
      padding: 14px var(--space-4);
      border-bottom: 1px solid var(--border-soft);
      text-align: left;
      vertical-align: middle;
      font-size: var(--text-sm);
      letter-spacing: 0.08px;
    }

    th {
      background: color-mix(in oklab, var(--surface), var(--accent) 2%);
      color: var(--muted);
      font-size: var(--text-xs);
      font-weight: 800;
      letter-spacing: 0.24px;
    }

    .number {
      font-family: var(--font-mono);
      font-variant-numeric: tabular-nums;
      letter-spacing: 0;
    }

    .vin-cell {
      font-family: var(--font-mono);
      letter-spacing: 0;
      overflow-wrap: anywhere;
    }

    .mobile-row-label {
      display: none;
    }

    @media (max-width: 960px) {
      .hero,
      .lookup-panel,
      .lower-grid {
        grid-template-columns: 1fr;
      }

      .account-card {
        max-width: 420px;
      }
    }

    @media (max-width: 680px) {
      .topbar-inner {
        align-items: flex-start;
        padding: var(--space-4);
      }

      .account-chip {
        max-width: 138px;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .page {
        padding: var(--space-5) var(--space-4) var(--space-8);
      }

      .hero-copy {
        font-size: var(--text-base);
      }

      .lookup-panel,
      .result-card,
      .panel-header,
      .usage-grid {
        padding: var(--space-4);
      }

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

      .lookup-action {
        width: 100%;
      }

      table,
      tbody,
      tr,
      td {
        display: block;
        width: 100%;
      }

      thead {
        display: none;
      }

      tbody {
        display: grid;
        gap: var(--space-3);
        padding: var(--space-4);
      }

      tr {
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--surface);
        box-shadow: var(--elev-ring);
        overflow: hidden;
      }

      td {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: var(--space-3);
        padding: var(--space-3) var(--space-4);
        border-bottom: 1px solid var(--border-soft);
      }

      td:last-child {
        border-bottom: 0;
      }

      .mobile-row-label {
        display: block;
        color: var(--muted);
        font-size: var(--text-xs);
        font-weight: 800;
        letter-spacing: 0.24px;
      }
    }

/* Production wiring for real backend data. */
body.v10-dealer-page {
  margin: 0;
  min-height: 100vh;
}

.v10-dealer-page .hidden {
  display: none !important;
}

.v10-dealer-page .top-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.v10-dealer-page .brand-title {
  color: var(--fg);
}

.v10-dealer-page .brand-subtitle {
  color: var(--muted);
}

.v10-dealer-page .cc-auth-logo {
  width: 94px;
  height: 52px;
  border-radius: 12px;
  padding: 3px;
  box-shadow: 0 12px 26px rgba(27, 97, 201, 0.10);
}

.v10-dealer-page .cc-auth-links {
  display: none;
}

.v10-dealer-page .account-chip {
  border-radius: var(--radius-sm);
}

.v10-dealer-page .logout-action,
.v10-dealer-page button.primary,
.v10-dealer-page .button-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 0 var(--space-4);
  background: var(--accent);
  color: var(--accent-on);
  text-decoration: none;
  font-weight: 800;
}

.v10-dealer-page button.secondary,
.v10-dealer-page button.mini,
.v10-dealer-page .button-link.mini {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 var(--space-3);
  background: var(--surface);
  color: var(--fg);
  font-size: var(--text-sm);
  font-weight: 800;
}

.v10-dealer-page button.danger {
  color: var(--danger);
}

.v10-dealer-page button:disabled,
.v10-dealer-page input:disabled,
.v10-dealer-page select:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.v10-dealer-page .login-panel {
  max-width: 620px;
  margin: 0 auto;
}

.v10-dealer-page:not(.is-authenticated) .topbar {
  display: none;
}

.v10-dealer-page:not(.is-authenticated) .dealer-shell {
  display: block;
  min-height: 100vh;
}

.v10-dealer-page:not(.is-authenticated) .page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}

.v10-dealer-page .login-panel.cc-login {
  max-width: none;
  margin: 0;
}

.v10-dealer-page .login-panel.cc-login.hidden {
  display: none !important;
}

.v10-dealer-page.is-authenticated .login-panel {
  display: none;
}

.v10-dealer-page:not(.is-authenticated) .cc-login-heading {
  margin-bottom: 18px;
}

.v10-dealer-page .app-contact {
  left: 24px;
  bottom: 18px;
  width: max-content;
  max-width: min(340px, calc(100vw - 48px));
  border-color: color-mix(in oklab, var(--accent), var(--border) 62%);
}

.v10-dealer-page .app-contact a {
  color: var(--fg);
}

.v10-dealer-page .app-contact a:hover {
  color: var(--accent);
}

.v10-dealer-page .login-card,
.v10-dealer-page .settings-card,
.v10-dealer-page .links-card,
.v10-dealer-page .audit-card {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--elev-ring);
}

.v10-dealer-page .dealer-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.v10-dealer-page .dealer-tabs .nav-button {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg-2);
  font-weight: 800;
}

.v10-dealer-page .dealer-tabs .nav-button.active,
.v10-dealer-page .dealer-tabs .nav-button:hover {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent), transparent 90%);
  color: var(--accent);
}

.v10-dealer-page .dealer-panel {
  display: grid;
  gap: var(--space-6);
}

.v10-dealer-page .dealer-panel.hidden {
  display: none !important;
}

.v10-dealer-page.is-authenticated .page {
  padding-top: var(--space-6);
}

.v10-dealer-page .single-panel {
  gap: var(--space-5);
}

.v10-dealer-page .dealer-lookup-single {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  padding: var(--space-6);
}

.v10-dealer-page .dealer-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.v10-dealer-page .dealer-main-head h1 {
  font-size: clamp(34px, 4vw, 46px);
}

.v10-dealer-page .inline-settings {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(230px, 1fr) auto;
  gap: var(--space-3);
  align-items: end;
  padding: var(--space-4);
  border: 1px solid color-mix(in oklab, var(--accent), var(--border) 62%);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--accent), transparent 96%);
}

.v10-dealer-page .inline-settings .secondary-action {
  height: 44px;
  white-space: nowrap;
}

.v10-dealer-page .lookup-form .form-grid {
  grid-template-columns: 1fr;
}

.v10-dealer-page #lookupVin {
  height: 64px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
}

.v10-dealer-page .form-field input,
.v10-dealer-page .form-field select,
.v10-dealer-page .inline-form input {
  width: 100%;
}

.v10-dealer-page .dealer-tool-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid color-mix(in oklab, var(--accent), var(--border) 58%);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--accent), transparent 94%);
}

.v10-dealer-page .dealer-tool-strip div {
  display: grid;
  gap: var(--space-1);
  min-width: 0;
  padding: var(--space-3);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.v10-dealer-page .dealer-tool-strip span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 800;
}

.v10-dealer-page .dealer-tool-strip strong {
  color: var(--fg);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}

.v10-dealer-page .inline-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(150px, .8fr) minmax(140px, .8fr) auto;
  gap: var(--space-3);
}

.v10-dealer-page .mode-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  border: 0;
}

.v10-dealer-page .mode-group legend {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 700;
}

.v10-dealer-page .choice {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 42px;
  padding: 0 var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.v10-dealer-page .quote-progress {
  position: relative;
  min-height: 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--accent), transparent 94%);
}

.v10-dealer-page .quote-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: var(--accent);
  opacity: .15;
  animation: dealer-quote-progress 1.8s var(--ease-standard) infinite;
}

.v10-dealer-page .quote-progress-text {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 700;
}

@keyframes dealer-quote-progress {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(260%); }
}

.v10-dealer-page .result-card.has-result .result-price {
  color: var(--success);
}

.v10-dealer-page .result-status {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--border-soft);
  color: var(--fg-2);
  font-weight: 800;
}

.v10-dealer-page .list,
.v10-dealer-page .compact-list {
  display: grid;
  gap: var(--space-3);
}

.v10-dealer-page .list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.v10-dealer-page .list-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: var(--space-1);
}

.v10-dealer-page .list-row span,
.v10-dealer-page .list-row time {
  color: var(--muted);
  font-size: var(--text-xs);
}

.v10-dealer-page .secondary-title {
  margin-top: var(--space-4);
  font-size: var(--text-xl);
}

.v10-dealer-page .compact-copy .usage-item strong {
  font-size: var(--text-base);
}

.v10-dealer-page .row-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-2);
}

.v10-dealer-page .row-metrics span,
.v10-dealer-page .pill {
  min-height: 28px;
  display: inline-flex !important;
  align-items: center;
  padding: 0 var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--border-soft);
  color: var(--fg-2) !important;
  font-size: var(--text-xs) !important;
}

.v10-dealer-page .pill-on {
  background: color-mix(in oklab, var(--success), transparent 88%);
  color: var(--success) !important;
}

.v10-dealer-page .pill-off {
  background: color-mix(in oklab, var(--warn), transparent 82%);
  color: #6b4e00 !important;
}

.v10-dealer-page .link-url {
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
}

.v10-dealer-page pre {
  margin: 0;
  min-height: 72px;
  max-height: 200px;
  overflow: auto;
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  background: #181d26;
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .v10-dealer-page .dealer-tabs,
  .v10-dealer-page .inline-form,
  .v10-dealer-page .dealer-tool-strip,
  .v10-dealer-page .inline-settings {
    grid-template-columns: 1fr;
  }

  .v10-dealer-page .top-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
