:root {
  color-scheme: light;
  --ink: #183a31;
  --muted: #626e65;
  --paper: #fbf9f4;
  --surface: #ffffff;
  --line: #dfe4d9;
  --brand: #084c3b;
  --brand-dark: #053729;
  --accent: #edf2e9;
  --gold: #d9bd86;
  --gold-ink: #826334;
  --scan-shortcut-background: #f3e3c1;
  --scan-shortcut-ink: #72551e;
  --success: #17633a;
  --danger: #9b1c31;
  --focus: #075985;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 0.2em;
}

button,
input,
select {
  font: inherit;
}

button,
.button,
input,
select {
  min-height: 48px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem max(1rem, env(safe-area-inset-left));
}

.brand {
  color: var(--brand);
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.main-nav,
.language-switch,
.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.main-nav form {
  margin: 0;
}

.language-switch button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  min-height: 44px;
  padding: 0.4rem 0.65rem;
}

.language-switch button[aria-current="true"] {
  background: var(--accent);
  border-color: var(--brand);
  font-weight: 700;
}

.page-shell {
  margin: 0 auto;
  max-width: 52rem;
  padding: 1.25rem 1rem 4rem;
}

.hero {
  padding: clamp(2rem, 9vw, 5rem) 0;
}

.hero h1,
.panel-heading h1,
.customer-heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.18;
  margin: 0.25rem 0 1rem;
}

.eyebrow {
  color: var(--gold-ink);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  margin-bottom: 0;
  text-transform: uppercase;
}

.form-card,
.balance-card,
.secret-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 0.35rem 1.25rem rgb(24 58 49 / 4%);
  margin: 1rem 0;
  padding: clamp(1rem, 5vw, 1.75rem);
}

.balance-card {
  background: var(--accent);
  border-color: #cad8c7;
}

.balance {
  color: var(--brand-dark);
  font-size: clamp(2rem, 12vw, 4rem);
  line-height: 1;
  margin: 0.5rem 0;
}

form > div {
  margin: 0 0 1rem;
}

.customer-verification form + form {
  margin-top: 1rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
  background: #fff;
  border: 1px solid #aab8ac;
  border-radius: 0.6rem;
  color: var(--ink);
  display: block;
  padding: 0.65rem 0.75rem;
  width: 100%;
}

input[type="checkbox"] {
  height: 1.35rem;
  margin-right: 0.5rem;
  min-height: auto;
  width: 1.35rem;
}

.helptext {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

#id_recovery_phone_helptext {
  margin-bottom: 0.75rem;
}

.errorlist {
  color: var(--danger);
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.warning {
  background: #fff4d6;
  border-left: 5px solid #9a6700;
  border-radius: 0.4rem;
  padding: 0.8rem 1rem;
}

.warning-danger {
  background: #ffe1df;
  border-left-color: #a12622;
  color: #691b18;
}

.button.button-delete-final {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.button.button-delete-final:hover {
  background: #292929;
  border-color: #292929;
  color: #ffffff;
}

.button {
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: 0.7rem;
  color: var(--brand-dark);
  cursor: pointer;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  padding: 0.65rem 1rem;
  text-align: center;
  text-decoration: none;
}

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

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-quiet {
  border-color: transparent;
  min-height: 44px;
}

.password-visibility {
  margin-top: 0.25rem;
}

#account-rules {
  margin-bottom: 1rem;
}

#account-rules summary {
  cursor: pointer;
  padding: 0.65rem 0;
}

.action-grid {
  display: grid;
  gap: 0.75rem;
}

.primary-action {
  border: 2px solid var(--brand);
}

.message {
  background: var(--surface);
  border-left: 5px solid var(--brand);
  border-radius: 0.4rem;
  padding: 0.8rem 1rem;
}

.message-success {
  border-color: var(--success);
}

.message-error {
  border-color: var(--danger);
}

.salon-list,
.reward-list,
.reward-progress-list {
  padding-left: 1.25rem;
}

.reward-list li,
.reward-progress-list li {
  margin-bottom: 1rem;
}

progress {
  accent-color: var(--gold-ink);
  display: block;
  height: 1.25rem;
  margin: 0.4rem 0;
  max-width: 24rem;
  width: 100%;
}

.secret-link {
  overflow-wrap: anywhere;
}

.points-account h2,
.points-account strong,
[data-card-exchange] .customer-heading h1,
[data-card-exchange] .reward-progress-list strong {
  overflow-wrap: anywhere;
}

.points-account .balance-card {
  box-shadow: none;
}

.points-account .reward-progress-list {
  list-style: none;
  padding-left: 0;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

[hidden] {
  display: none !important;
}

@media (min-width: 42rem) {
  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-shell {
    padding-top: 2rem;
  }
}

.company-choice button {
  margin-top: 0.75rem;
}

.account-directory {
  list-style: none;
  padding-left: 0;
}

.account-directory h2 {
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.ui-icon {
  display: inline-block;
  flex: 0 0 1.25rem;
  height: 1.25rem;
  vertical-align: middle;
  width: 1.25rem;
}

.skip-link {
  background: var(--surface);
  color: var(--brand);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: absolute;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.fv-navigation-page {
  scrollbar-gutter: stable;
}

.owner-shell {
  display: grid;
  grid-template-rows: auto 1fr;
}

.owner-shell .fv-header {
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 5.4rem;
  padding: 0;
  position: relative;
  z-index: 4;
}

.fv-brand {
  color: var(--brand);
  display: block;
  padding: 1rem;
  text-decoration: none;
  width: fit-content;
}

.fv-wordmark {
  display: block;
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.fv-tagline {
  color: var(--gold-ink);
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.17em;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.fv-topbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  min-width: 0;
  padding: 0.6rem 1rem;
}

.fv-top-label {
  color: var(--muted);
  display: none;
  font-size: 0.8rem;
  margin-right: auto;
}

.fv-account-menu {
  max-width: 100%;
  position: relative;
}

.fv-account-menu > summary {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3rem;
  cursor: pointer;
  display: flex;
  gap: 0.65rem;
  list-style: none;
  min-height: 3rem;
  padding: 0.3rem 0.8rem 0.3rem 0.3rem;
}

.fv-account-menu summary::-webkit-details-marker,
.fv-navigation-disclosure > summary::-webkit-details-marker {
  display: none;
}

.fv-avatar {
  align-items: center;
  background: var(--brand);
  border-radius: 50%;
  color: var(--surface);
  display: flex;
  flex: 0 0 2.25rem;
  height: 2.25rem;
  justify-content: center;
}

.fv-account-copy {
  display: block;
  min-width: 0;
}

.fv-topbar .language-switch {
  display: none;
}

.fv-account-copy small {
  color: var(--muted);
  display: block;
  font-size: 0.7rem;
}

.fv-account-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  max-width: 11rem;
  overflow-wrap: anywhere;
}

.fv-filter-actions {
  margin-top: 1rem;
}

.fv-deletion-countdown {
  margin-bottom: 1rem;
}

.fv-deletion-countdown p {
  margin: 0 0 0.4rem;
}

.fv-navigation-pending .fv-picker-submit,
.fv-picker-submit.fv-picker-enhanced {
  display: none;
}

.fv-popover {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 0.75rem 2rem rgb(24 58 49 / 16%);
  max-width: 85vw;
  padding: 0.45rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 16rem;
  z-index: 8;
}

.fv-popover a,
.fv-popover button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
  color: var(--ink);
  display: flex;
  font-size: 0.85rem;
  gap: 0.6rem;
  justify-content: flex-start;
  min-height: 2.75rem;
  padding: 0.65rem;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.fv-popover a:hover,
.fv-popover button:hover {
  background: var(--accent);
}

.fv-popover form {
  margin: 0;
}

.fv-frame {
  display: block;
  grid-template-columns: 16rem minmax(0, 1fr);
  margin: 0;
  max-width: none;
  min-height: 0;
  width: 100%;
}

.fv-navigation-disclosure {
  background: #f4f6ed;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.fv-drawer-head,
.fv-drawer-account {
  display: none;
}

.fv-mobile-drawer {
  background: #fffefa;
  border: 0;
  box-shadow: 8px 0 26px rgb(18 39 27 / 14%);
  color: var(--ink);
  height: 100dvh;
  inset: 0 auto 0 0;
  margin: 0;
  max-height: none;
  max-width: calc(100vw - 70px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  width: min(76vw, 302px);
}

.fv-mobile-drawer::backdrop {
  background: rgb(20 39 31 / 16%);
}

.fv-mobile-drawer .fv-sidebar {
  background: #fffefa;
  min-height: 100%;
  padding: 1rem;
}

.fv-mobile-drawer .fv-drawer-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.fv-mobile-drawer .fv-drawer-account {
  color: var(--gold-ink);
  display: block;
  font-size: 0.8rem;
  margin: 0 0 0.6rem;
  overflow-wrap: anywhere;
}

.fv-drawer-close {
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  min-height: 48px;
  min-width: 48px;
}

.fv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 1rem 1rem;
}

.fv-picker-block {
  margin: 0 0 1rem;
}

.fv-picker-label {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0.55rem;
}

.fv-picker {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
}

.fv-picker-block form > div {
  margin-bottom: 0.65rem;
}

.fv-picker-block .button {
  font-size: 0.8rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.6rem;
  width: 100%;
}

.fv-add-salon {
  align-items: center;
  color: var(--brand);
  display: flex;
  font-size: 0.85rem;
  gap: 0.4rem;
  justify-content: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.fv-nav {
  display: grid;
  gap: 0.25rem;
}

.fv-nav-link {
  align-items: center;
  border-radius: 0.65rem;
  color: #466053;
  display: flex;
  font-size: 1rem;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  text-decoration: none;
}

.fv-nav-link:hover {
  background: #e6edde;
}

.fv-nav-link[aria-current="page"] {
  background: var(--brand);
  color: var(--surface);
}

.fv-nav-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1rem 0.65rem;
}

.fv-sidebar-signature {
  color: var(--gold-ink);
  display: none;
  font: italic 1.25rem/1.4 Georgia, serif;
  margin: 2.5rem 0.85rem 0;
}

.fv-main {
  margin: 0 auto;
  max-width: 95rem;
  min-width: 0;
  padding: 1.25rem 1rem 2rem;
  width: 100%;
}

.fv-main h1,
.fv-main h2,
.fv-main h3,
.fv-main strong {
  overflow-wrap: anywhere;
}

.fv-main .panel-heading {
  margin-bottom: 1.25rem;
}

.fv-main .message {
  margin: 0 0 0.9rem;
  padding: 0.65rem 1rem;
}

.fv-page-head .eyebrow {
  margin: 0 0 0.4rem;
}

.fv-main .panel-heading h1 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin-bottom: 0.6rem;
}

.fv-main .panel-heading > p:not(.eyebrow) {
  color: var(--muted);
  margin: 0.5rem 0;
}

.fv-page-head {
  margin-bottom: 1.5rem;
}

.fv-page-head h1 {
  font: 400 clamp(1.9rem, 3vw, 2.3rem)/1.2 Georgia, serif;
  margin: 0.5rem 0 0.7rem;
}

.fv-eyebrow {
  color: var(--gold-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fv-subtitle {
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.fv-empty {
  padding: 2rem;
  text-align: center;
}

.fv-main .form-card {
  padding: 1.15rem;
}

.fv-main .form-card > h2:first-child,
.fv-main .form-card > h1:first-child {
  margin-top: 0;
}

.fv-main .form-card h2 {
  font: 400 1.5rem/1.25 Georgia, serif;
}

.fv-main .button {
  border-width: 1px;
  font-size: 0.9rem;
  gap: 0.5rem;
  min-height: 2.75rem;
}

.fv-overview {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: minmax(0, 1fr);
}

.fv-overview > .form-card {
  margin: 0;
  min-width: 0;
}

.fv-salon-card {
  background: linear-gradient(130deg, var(--brand), var(--brand-dark));
  border-color: var(--brand);
  color: #fffdf5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 1rem;
  padding: 1.4rem;
}

.fv-salon-card .eyebrow,
.fv-salon-card .fv-eyebrow {
  color: #e0c78e;
  margin-top: 0;
}

.fv-salon-card h2 {
  font: 400 1.6rem/1.25 Georgia, serif;
  margin: 0.5rem 0 0;
}

.fv-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1.1rem 0;
}

.fv-stat strong {
  display: block;
  font-size: 2.4rem;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  line-height: 1.1;
}

.fv-stat span {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.fv-salon-card .fv-stat span {
  color: #e1e9df;
}

.fv-salon-card .button,
.button-gold {
  background: linear-gradient(115deg, #f0deb3, var(--gold));
  border-color: transparent;
  color: #233a2c;
}

.fv-salon-card .button:hover,
.button-gold:hover {
  background: #f0deb3;
}

.fv-reward-card {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.fv-reward-card > p {
  color: var(--muted);
  margin: 0;
}

.fv-reward-card > h2 {
  margin: 0;
}

.fv-reward-card .button {
  margin-top: auto;
}

.fv-icon-disc {
  align-items: center;
  background: #f7f0df;
  border-radius: 0.8rem;
  color: var(--gold-ink);
  display: flex;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.fv-quick-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 1rem;
}

.fv-quick-title {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 1.1rem 0 0.6rem;
}

.fv-arrow {
  margin-left: auto;
}

.fv-quick {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  color: var(--brand);
  display: flex;
  font-size: 0.9rem;
  gap: 0.65rem;
  min-height: 3.8rem;
  padding: 1rem;
  text-decoration: none;
}

.fv-quick:hover {
  border-color: #a8bdad;
}

.fv-settings-fold {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  margin: 1rem 0;
}

.fv-settings-fold > summary {
  align-items: center;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  font-size: 0.9rem;
  gap: 0.5rem;
  justify-content: space-between;
  list-style: none;
  min-height: 3rem;
  padding: 0.85rem 1rem;
}

.fv-settings-fold > summary::-webkit-details-marker {
  display: none;
}

.fv-fold-content {
  border-top: 1px solid var(--line);
  padding: 1.2rem;
}

.fv-fold-content > :first-child {
  margin-top: 0;
}

.fv-fold-content .button-danger,
.fv-fold-content .fv-danger-link,
.fv-fold-content a[href*="/delete/"] {
  color: #93483e;
}

.fv-main details.open-card > summary {
  color: var(--brand);
  cursor: pointer;
  font-weight: 600;
}

.fv-sidebar-language {
  margin: 1rem 0.65rem 0;
}

.fv-menu-toggle {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 0.6rem;
  list-style: none;
  min-height: 3rem;
  padding: 0.65rem 1rem;
}

@media (min-width: 42rem) {
  .fv-wordmark {
    font-size: 2rem;
  }

  .fv-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
  }

  .fv-topbar .language-switch {
    display: flex;
  }

  .fv-overview {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

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

  .fv-main .form-card {
    padding: 1.4rem;
  }
}

@media (min-width: 64rem) {
  .owner-shell .fv-header {
    grid-template-columns: 16rem minmax(0, 1fr);
    padding: 0;
  }

  .fv-brand {
    padding: 1rem 1.65rem;
  }

  .fv-topbar {
    gap: 1rem;
    margin: 0 auto;
    max-width: 95rem;
    padding: 0.85rem 2.5rem;
    width: 100%;
  }

  .fv-top-label {
    display: block;
  }

  .fv-frame {
    display: grid;
  }

  .fv-navigation-disclosure {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .fv-sidebar {
    padding: 1.5rem 1rem;
  }

  .fv-sidebar-signature {
    display: block;
  }

  .fv-main {
    padding: 2.25rem 2.5rem 4rem;
  }

  .fv-picker {
    font-size: 1rem;
  }

  .fv-account-name {
    max-width: 18rem;
  }

  .fv-sidebar-language,
  .fv-navigation-disclosure > summary {
    display: none;
  }

  .fv-navigation-disclosure::details-content {
    content-visibility: visible;
  }

  .fv-navigation-disclosure:not([open]) > .fv-sidebar {
    display: flex;
  }
}

.fv-reward-row { display: flex; align-items: center; gap: 1rem; padding-block: 1rem; }
.fv-reward-row > div { min-width: 0; overflow-wrap: anywhere; }
.fv-reward-photo {
  width: 112px; height: 112px; object-fit: cover; border-radius: 12px; flex-shrink: 0;
}
.fv-reward-preview {
  width: 240px; max-width: 100%; height: 240px; object-fit: contain; border-radius: 12px;
}
.fv-reward-actions { margin-top: .75rem; }
.fv-reward-actions summary { cursor: pointer; }
.fv-reward-actions a { display: block; padding-block: .55rem; }
/* Keep the account identity visible and readable, including long email addresses. */
.fv-account-identity {
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

textarea {
  font: inherit;
  min-width: 0;
  resize: vertical;
}

.fv-reward-description { overflow-wrap: anywhere; }

#id_description_helptext { margin-bottom: 0.65rem; }
.fv-reward-history { overflow-wrap: anywhere; }
.fv-history-pages { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* These surfaces share utility type and a two-column shell, never a spacer column. */

.owner-shell :is(.fv-header, .fv-sidebar, .fv-main) {
  min-width: 0;
}

.owner-shell .fv-popover :is(a, button) {
  font-size: 1rem;
  min-height: 3rem;
}

.owner-shell .fv-account-identity {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 0.75rem;
}

.owner-shell .fv-picker {
  max-width: 100%;
}

.owner-shell .fv-nav-group-label {
  color: var(--gold-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0.5rem 0.75rem;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.owner-shell .fv-selection-prompt {
  background: var(--accent);
  border-radius: 0.8rem;
  padding: 1rem;
}

/* The customer base explicitly opts auth/chooser pages in; public home and operator stay separate. */

.fv-customer-auth .page-shell {
  max-width: 42rem;
  padding: 1.5rem 1rem 4rem;
}

.fv-customer-auth .form-card {
  margin: 0;
  padding: 1.25rem;
}

.fv-customer-auth :is(h1, h2) {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.fv-customer-auth h1 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.fv-customer-auth h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 1rem;
}

.fv-customer-auth :is(p, label, input, button, select, .button) {
  font-size: 1rem;
}

.fv-customer-auth :is(p, .helptext, .errorlist, h1, h2) {
  overflow-wrap: anywhere;
}

.fv-customer-auth :is(input, button, .button) {
  max-width: 100%;
}

.fv-customer-auth .helptext {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.fv-customer-auth form {
  margin-block: 1.5rem;
}

.fv-customer-auth form > div {
  margin-bottom: 1.5rem;
  min-width: 0;
}

.fv-customer-auth label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.fv-customer-auth input[type="checkbox"] {
  accent-color: var(--brand);
}

.fv-customer-auth form > div:has(> input[type="checkbox"]) {
  align-items: start;
  column-gap: 0.75rem;
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
}

.fv-customer-auth form > div > input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1;
  margin: 0.2rem 0 0;
}

.fv-customer-auth form > div:has(> input[type="checkbox"]) > label {
  cursor: pointer;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.fv-customer-auth form > div:has(> input[type="checkbox"]) > :is(.helptext, .errorlist) {
  grid-column: 2;
}

.fv-customer-auth .page-shell:has(#points-heading):has(#business-heading) {
  display: grid;
  gap: 1.5rem;
  max-width: 66rem;
}

.fv-customer-auth .page-shell:has(#business-heading) > .hero {
  grid-column: 1 / -1;
  padding: 0;
}

.fv-customer-auth .page-shell:has(#business-heading) .form-card {
  display: flex;
  flex-direction: column;
}

.fv-customer-auth .page-shell:has(#business-heading) .form-card > .button {
  align-self: flex-start;
}

@media (min-width: 42rem) {
  .fv-customer-auth .page-shell {
    padding-top: 2.5rem;
  }

  .fv-customer-auth .form-card {
    padding: 2rem;
  }

  .fv-customer-auth h1 {
    font-size: 1.75rem;
  }

  .fv-customer-auth .page-shell:has(#points-heading):has(#business-heading) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
