.customer-site { min-height: 100vh; background: #f4f6f2; }
.customer-header {
    display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between;
    gap: 1rem; border-bottom: 1px solid var(--color-line); background: #fff; padding: .75rem max(1rem, calc((100vw - 72rem) / 2));
}
.customer-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--color-text); font-weight: 800; text-decoration: none; }
.customer-nav { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.5rem); }
.customer-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; font-weight: 650; }
.customer-nav form { display: inline-flex; margin: 0; }
.customer-link-button { min-height: 2.75rem; border: 0; background: transparent; color: var(--color-primary); cursor: pointer; font: inherit; font-weight: 650; padding: .4rem; }
.customer-main { width: min(100% - 2rem, 72rem); margin: 0 auto; padding: 2rem 0 3rem; }
.customer-footer { display: flex; justify-content: center; gap: .5rem; border-top: 1px solid var(--color-line); background: #fff; padding: 1.25rem; color: var(--color-muted); }
.customer-intro { max-width: 44rem; margin: 0 auto 2rem; text-align: center; }
.customer-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 0 1.5rem; }
.customer-page-heading h1 { margin: .25rem 0 .5rem; }
.customer-page-heading p:last-child { margin-bottom: 0; color: var(--color-muted); }
.customer-section { margin-top: 2rem; }
.customer-section > h2 { margin-bottom: .8rem; }
.customer-details { display: grid; gap: .75rem; }
.customer-details > div { display: grid; grid-template-columns: minmax(8rem, .4fr) 1fr; gap: 1rem; border-bottom: 1px solid var(--color-line); padding: .75rem 0; }
.customer-details dt { color: var(--color-muted); font-weight: 650; }
.customer-details dd { margin: 0; overflow-wrap: anywhere; }
.customer-empty-state { display: grid; justify-items: start; gap: .5rem; }
.customer-empty-state > :last-child { margin-bottom: 0; }
.auth-panel { max-width: 32rem; }
.customer-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.customer-card__header h2 { overflow-wrap: anywhere; }
.customer-intro h1 { margin-bottom: .65rem; font-size: clamp(2rem, 5vw, 3.25rem); }
.customer-intro p { color: var(--color-muted); font-size: 1.1rem; }
.customer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.customer-card { display: grid; gap: .6rem; align-content: start; border: 1px solid var(--color-line); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-sm); padding: 1.25rem; }
.customer-card h2, .customer-card h3 { margin: 0; }
.customer-card p { margin: 0; }
.customer-card__meta { color: var(--color-muted); font-size: .95rem; }
.customer-card__actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .35rem; }
.customer-card__actions form { margin: 0; }
.customer-status { display: inline-flex; width: fit-content; align-items: center; border-radius: 99px; background: var(--color-info-soft); color: var(--color-info); padding: .25rem .65rem; font-size: .85rem; font-weight: 750; }
.customer-status--success { background: var(--color-primary-soft); color: var(--color-primary-strong); }
.customer-status--warning { background: var(--color-warning-soft); color: var(--color-warning); }
.customer-steps { display: flex; gap: .5rem; margin: 0 auto 1.5rem; padding: 0; list-style: none; }
.customer-steps li { display: flex; align-items: center; gap: .4rem; min-width: 0; flex: 1; border-bottom: 3px solid var(--color-line); padding: .5rem .2rem; color: var(--color-muted); font-size: .9rem; }
.customer-steps li[aria-current="step"] { border-color: var(--color-primary); color: var(--color-primary-strong); font-weight: 750; }
.customer-steps li.is-complete { border-color: var(--color-primary-soft); color: var(--color-primary-strong); }
.customer-step-number { display: inline-grid; width: 1.55rem; height: 1.55rem; flex: 0 0 auto; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .8rem; font-weight: 750; }
.customer-booking-panel { max-width: 46rem; }
.booking-choice-list { display: grid; gap: .65rem; border: 0; margin: 0; padding: 0; }
.booking-choice-list legend { margin-bottom: .55rem; font-weight: 700; }
.booking-choice { display: flex; align-items: center; gap: .8rem; min-height: 3.5rem; border: 1px solid var(--color-line); border-radius: .7rem; padding: .75rem; cursor: pointer; }
.booking-choice:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-soft); }
.booking-choice input { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.booking-choice span { display: grid; gap: .2rem; }
.booking-choice small { color: var(--color-muted); }
.customer-fee-summary { margin-bottom: .5rem; }
.customer-review-actions { align-items: flex-start; }
.customer-review-actions form { margin: 0; }
.customer-panel { max-width: 48rem; margin: 0 auto; border: 1px solid var(--color-line); border-radius: 1rem; background: #fff; padding: clamp(1rem, 4vw, 2rem); box-shadow: var(--shadow-sm); }
.customer-panel > h1:first-child, .customer-panel > h2:first-child { margin-top: 0; }
.customer-next-action { border-left: .25rem solid var(--color-primary); border-radius: .25rem; background: var(--color-primary-soft); padding: .85rem 1rem; }
.customer-error-summary { margin-bottom: 1rem; border-left: .25rem solid var(--color-danger); background: var(--color-danger-soft); padding: .75rem 1rem; }
@media (max-width: 36rem) {
    .customer-header { align-items: flex-start; flex-direction: column; }
    .customer-nav { width: 100%; justify-content: space-between; gap: .35rem; }
    .customer-nav a { font-size: .9rem; }
    .customer-main { padding-top: 1.25rem; }
    .customer-page-heading { flex-direction: column; }
    .customer-details > div { grid-template-columns: 1fr; gap: .15rem; }
    .customer-footer { flex-wrap: wrap; }
    .customer-steps { gap: .25rem; }
    .customer-steps li { flex: 0 0 2.4rem; justify-content: center; padding: .35rem .15rem; }
    .customer-steps li > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .customer-steps li[aria-current="step"] .customer-step-number { background: var(--color-primary); color: #fff; }
    .customer-review-actions { flex-direction: column; }
}

.legal-page h2 { margin: 1.5rem 0 .5rem; font-size: 1.15rem; }
.legal-page ul, .legal-page ol { padding-left: 1.25rem; }
.legal-page li { margin-bottom: .5rem; }
