/* Shared customer palette, matched to the approved sold-slab screen (C10).
   Only page surfaces are unified; cards, imagery and state accents retain depth. */
:root {
  --customer-page-base: #0c1b27;
  --customer-page-background: linear-gradient(155deg, #0e1c28 0%, #0b1823 48%, #0c1b27 100%);
  --customer-header-background: #0a1620;
  --customer-backdrop-background: #0b1823eb;
}
html {
  background: var(--customer-page-background);
  background-attachment: fixed;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }
body { min-height: 100svh; }
body,
body.qs-account-design,
body.public-redesign,
body.direct-sale-review,
body.route-choice-page {
  background: var(--customer-page-background);
  background-attachment: fixed;
}
/* Account forms inherit their page or chat surface, without a second panel. */
body.qs-account-design > .account-main.account-surface,
body.contact-page .conversation-auth,
body.contact-page [data-chat-login] {
  background: none;
}
body > .atmosphere {
  display: none;
}
body :is(.customer-header, .sketch-header, .site-header) {
  background: var(--customer-header-background);
  border-bottom-color: #304757;
}
body.public-redesign .site-header {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  background: var(--customer-header-background);
  border-bottom-color: #304757;
}
body.public-redesign .site-header .header-inner {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin-inline: auto;
}
body.direct-sale-review .account-surface,
body .offer-dialog,
body .offer-dialog[data-mode],
body .sale-contract-dialog {
  background: var(--customer-page-background);
}
body :is(.offer-dialog, .sale-contract-dialog) .account-surface {
  background: none;
}
body :is(.offer-dialog, .sale-contract-dialog, .capture-flow, .account-dialog,
  .commission-camera, .commission-photo-zoom, .source-dialog, .snapshot-dialog)::backdrop,
body.contact-page .conversation-image-viewer::backdrop,
body.page-identify #main.identity-main .journey-dialog::backdrop,
body #visit-queue .queue-confirm-dialog::backdrop {
  background: var(--customer-backdrop-background);
}
/* Full-screen capture, photo viewers and confirmation screens share the page
   palette too. Photo frames and status cards keep their own contrast. */
body :is(.capture-flow, .capture-zoom, .account-dialog,
  .commission-camera, .commission-photo-zoom, .source-dialog, .snapshot-dialog),
body.contact-page .conversation-image-viewer,
body.page-identify #main.identity-main .journey-dialog,
body #visit-queue .queue-confirm-dialog,
body > .page-transition {
  background: var(--customer-page-background);
}
body .capture-flow .capture-shell,
body .capture-flow[data-mode=review] .capture-review-actions {
  background: none;
}
body .source-dialog > header {
  background: var(--customer-header-background);
}
body .capture-flow {
  scrollbar-color: #324f69 var(--customer-page-base);
}
body.page-market .scene-content::before {
  background: none;
}
/* Let the shared page surface continue around the angled homepage banner. */
.home-depth #main > :is(.hero, .journey, .cash-delivery, .custody-section, .faq-section, .cash-last-call)::before,
.home-depth #main > #your-offer::after,
.home-depth #main > .custody-section {
  background: none;
}
body.home-depth .site-footer {
  background: none;
}
