/* Native customer account presentation. SPDX-License-Identifier: GPL-3.0-or-later */
.latepoint-w .os-password-reset-form-w:has(> .password-reset-back-to-login) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) fit-content(42%);
  column-gap: 12px;
}
.latepoint-w .os-password-reset-form-w > .password-reset-back-to-login {
  position: static;
  grid-area: 1 / 2;
  align-self: baseline;
  overflow-wrap: anywhere;
}
.latepoint-w .os-password-reset-form-w > .password-reset-back-to-login + h4 {
  grid-area: 1 / 1;
  align-self: baseline;
  overflow-wrap: anywhere;
}
.latepoint-w .os-password-reset-form-w > .password-reset-back-to-login ~ :not(h4) {
  grid-column: 1 / -1;
  min-width: 0;
}
.latepoint-w .os-password-reset-form-w > .password-reset-back-to-login ~ .os-form-buttons {
  flex-wrap: wrap;
  gap: 8px 12px;
}

.latepoint-w.posbooking-customer-dashboard > h4 {
  margin: 8px 0 28px;
  color: var(--pb-ink);
  font-size: 20px;
  line-height: 1.5;
}
.posbooking-customer-dashboard > a {
  float: right;
  padding: 8px 12px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-sm);
  font-size: 13px;
}
.latepoint-w.posbooking-customer-dashboard .customer-dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
  padding: 8px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface-subtle);
}
.latepoint-w.posbooking-customer-dashboard .customer-dashboard-tabs > a {
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--pb-radius-sm);
  color: var(--pb-text);
  font-size: 14px;
  line-height: 1.5;
}
.latepoint-w.posbooking-customer-dashboard .customer-dashboard-tabs > a.active {
  background: var(--pb-surface);
  color: var(--pb-brand);
  box-shadow: var(--pb-shadow-xs);
}
.latepoint-w.posbooking-customer-dashboard .customer-dashboard-tabs > a:hover { color: var(--pb-brand); }
.posbooking-customer-toolbar {
  display: none;
}

@media (max-width: 600px) {
  .latepoint-w .latepoint-login-form-w .latepoint-customer-box-title {
    font-size: 15px;
  }
  .latepoint-w .latepoint-login-form-w .os-password-reset-form-w > h4 {
    font-size: 16px;
  }
  .latepoint-w .latepoint-login-form-w .os-form-group.os-form-textfield-group input.os-form-control {
    font-size: 16px !important;
  }

  .posbooking-customer-toolbar:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }
  .posbooking-customer-toolbar :is(.posbooking-customer-navigation, .posbooking-customer-booking-link) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--pb-line-strong);
    border-radius: var(--pb-radius-sm);
    font: inherit;
    line-height: 1.3;
  }
  .posbooking-customer-toolbar .posbooking-customer-navigation {
    flex: 1 1 auto;
    min-width: 0;
    background: var(--pb-surface);
    color: var(--pb-text);
    cursor: pointer;
    text-align: start;
  }
  .posbooking-customer-navigation::after {
    content: '';
    flex: 0 0 7px;
    height: 7px;
    margin-inline-start: auto;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .posbooking-customer-navigation[aria-expanded="true"]::after {
    transform: rotate(225deg);
  }
  .posbooking-customer-navigation-count:not([hidden]) {
    padding: 2px 6px;
    border-radius: var(--pb-radius-sm);
    background: var(--pb-brand-tint);
    color: var(--pb-brand);
    font-size: 12px;
  }
  .posbooking-customer-toolbar .posbooking-customer-booking-link {
    justify-content: center;
    border-color: var(--pb-brand);
    background: var(--pb-brand);
    color: var(--pb-on-brand);
    font-weight: 600;
  }
  .posbooking-customer-toolbar :is(button, a):focus-visible {
    outline: 2px solid var(--pb-brand);
    outline-offset: 2px;
  }
  .latepoint-w.posbooking-customer-dashboard .posbooking-customer-toolbar:not([hidden]) + .customer-dashboard-tabs {
    flex-direction: column;
    margin-bottom: 12px;
  }
  .latepoint-w.posbooking-customer-dashboard .posbooking-customer-toolbar:not([hidden], .is-open) + .customer-dashboard-tabs,
  .latepoint-w.posbooking-customer-dashboard .posbooking-customer-toolbar:not([hidden]):has(.posbooking-customer-booking-link) + .customer-dashboard-tabs > [data-tab-target=".tab-content-customer-new-appointment-form"]:not(.active) {
    display: none;
  }
  .latepoint-w.posbooking-customer-dashboard .posbooking-customer-toolbar:not([hidden]) + .customer-dashboard-tabs > a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

.posbooking-customer-dashboard :is(.customer-dashboard-tabs > a, .customer-booking .latepoint-btn, .customer-bundle-tile .latepoint-btn, .new-booking-tile):focus-visible {
  outline: 2px solid var(--pb-brand);
  outline-offset: 3px;
}
.latepoint-w.posbooking-customer-dashboard .tab-content-customer-bookings .latepoint-section-heading-w {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-color: var(--pb-line);
}
.posbooking-customer-dashboard .tab-content-customer-bookings .heading-extra {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pb-surface-muted);
  color: var(--pb-text);
  font-size: 12px;
  line-height: 1.5;
}
.latepoint-w.posbooking-customer-dashboard .customer-bookings-tiles {
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 32px;
}
.latepoint-w.posbooking-customer-dashboard .customer-bookings-tiles :is(.customer-booking, .customer-bundle-tile-inner) {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
  background: var(--pb-surface);
  box-shadow: var(--pb-shadow-sm);
  color: var(--pb-ink);
  overflow-wrap: anywhere;
}
.latepoint-w.posbooking-customer-dashboard :is(h6.customer-booking-service-name, h6.bundle-name) {
  margin: 0 0 14px;
  padding: 0;
  color: var(--pb-ink);
  font-size: 20px;
  line-height: 1.35;
}
.latepoint-w.posbooking-customer-dashboard .customer-booking-datetime {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--pb-radius-md);
  background: var(--pb-brand-soft);
  color: var(--pb-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.posbooking-customer-dashboard .customer-booking-datetime span { color: var(--pb-text); }
.latepoint-w.posbooking-customer-dashboard .customer-booking-info { margin: 18px 0; font-size: 14px; }
.latepoint-w.posbooking-customer-dashboard .customer-booking-info-row { align-items: baseline; gap: 12px; }
.latepoint-w.posbooking-customer-dashboard .booking-info-label { flex: 0 0 88px; color: var(--pb-muted); }
.posbooking-customer-dashboard .booking-info-value { min-width: 0; }
.latepoint-w.posbooking-customer-dashboard .customer-booking-info .booking-info-value[class*="status-"] { padding: 4px 8px; border-radius: var(--pb-radius-sm); }
.latepoint-w.posbooking-customer-dashboard .customer-booking-buttons { flex-wrap: wrap; gap: 10px; }
.latepoint-w.posbooking-customer-dashboard :is(.customer-booking-bottom-actions, .customer-bundle-bottom-actions) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-color: var(--pb-line);
}
@media (width > 650px) {
  .latepoint-w.posbooking-customer-dashboard .customer-bookings-tiles > .customer-booking {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .latepoint-w.posbooking-customer-dashboard .customer-bookings-tiles > .customer-booking > .customer-booking-bottom-actions { margin-top: auto; }
}
.posbooking-customer-dashboard .customer-booking-bottom-actions > div { flex: 1 1 150px; min-width: 0; }
.latepoint-w.posbooking-customer-dashboard :is(.customer-booking, .customer-bundle-tile) .latepoint-btn {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--pb-radius-sm);
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
}
.latepoint-w.posbooking-customer-dashboard .customer-booking-buttons .latepoint-btn { width: auto; flex: 1 1 120px; }
.latepoint-w.posbooking-customer-dashboard .new-booking-tile {
  min-width: 0;
  min-height: 180px;
  padding: 24px;
  border: 1px dashed var(--pb-line-strong);
  border-radius: var(--pb-radius-lg);
  background: var(--pb-surface-subtle);
  color: var(--pb-brand);
  opacity: 1;
}
.posbooking-customer-dashboard .customer-bundle-tile { min-width: 0; }
.posbooking-customer-dashboard .bundle-order-info { color: var(--pb-muted); font-size: 12px; }
.posbooking-customer-dashboard .bundle-included-service-wrapper { padding: 12px 0; }
.latepoint-w.posbooking-customer-dashboard .tab-content-customer-info-form.active {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 24px;
  align-items: start;
}
.posbooking-customer-dashboard :is(.posbooking-customer-profile-panel, .customer-password-form-w) {
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
  background: var(--pb-surface);
  box-shadow: var(--pb-shadow-sm);
}
.posbooking-customer-dashboard .tab-content-customer-info-form h5 {
  margin: 0 0 20px;
  color: var(--pb-ink);
  font-size: 20px;
  line-height: 1.4;
}
.latepoint-w.posbooking-customer-dashboard .customer-password-form-w .os-col-6 { flex: 0 0 100%; max-width: 100%; }
.latepoint-w.posbooking-customer-dashboard .tab-content-customer-info-form .os-form-group .os-form-control {
  /* Native frontend form declarations use !important. Keep this override in the profile tab. */
  border-radius: var(--pb-radius-md) !important;
  background-color: var(--pb-surface-subtle) !important;
  color: var(--pb-ink);
}
.latepoint-w.posbooking-customer-dashboard .tab-content-customer-info-form .os-form-group:not(.os-invalid) .os-form-control:not(.os-invalid) { border-color: var(--pb-line-strong) !important; }
.latepoint-w.posbooking-customer-dashboard .tab-content-customer-info-form .os-form-group:not(.os-invalid) > label { color: var(--pb-muted) !important; }
.latepoint-w.posbooking-customer-dashboard .tab-content-customer-info-form .os-form-group:not(.os-invalid) .os-form-control:not(.os-invalid):focus {
  border-color: var(--pb-brand) !important;
  box-shadow: 0 0 0 3px var(--pb-focus-ring) !important;
}
.latepoint-w.posbooking-customer-dashboard .tab-content-customer-info-form button.latepoint-btn { min-height: 42px; padding: 10px 16px; border-radius: var(--pb-radius-sm); }
.posbooking-customer-dashboard .tab-content-customer-info-form button:focus-visible { outline: 2px solid var(--pb-brand); outline-offset: 3px; }
.posbooking-customer-dashboard .posbooking-messages { border-radius: var(--pb-radius-lg); }
.posbooking-customer-dashboard .posbooking-message-list-heading { color: var(--pb-text); }
.posbooking-customer-dashboard .posbooking-message-select { margin: 8px 12px; width: calc(100% - 24px); border: 1px solid var(--pb-line); border-radius: var(--pb-radius-md); background: var(--pb-surface); }
.posbooking-customer-dashboard .posbooking-message-select.active { border-color: var(--pb-brand-line); }
.posbooking-customer-dashboard .posbooking-message-select:hover { background: var(--pb-brand-tint); }
.latepoint-w .customer-orders-tiles {
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.latepoint-w .customer-orders-tiles .customer-order.posbooking-customer-order {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
  box-shadow: var(--pb-shadow-sm);
  color: var(--pb-ink);
  overflow-wrap: anywhere;
}
.posbooking-customer-order .posbooking-order-label {
  color: var(--pb-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.latepoint-w .posbooking-customer-order .customer-order-confirmation {
  margin: 3px 0 6px;
  color: var(--pb-ink);
  font-size: 23px;
  line-height: 1.3;
}
.posbooking-customer-order .posbooking-order-created-date { color: var(--pb-muted); font-size: 12px; }
.latepoint-w .posbooking-customer-order .customer-order-datetime {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--pb-radius-md);
  background: var(--pb-brand-soft);
  color: var(--pb-ink);
}
.posbooking-order-dates-label { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--pb-text); }
.posbooking-order-appointment-date { margin-top: 4px; font-weight: 600; line-height: 1.6; }
.posbooking-customer-order .summary-price-item-w { gap: 10px; line-height: 1.5; }
.posbooking-customer-order .spi-name { min-width: 0; }
.posbooking-customer-order .spi-price { flex-shrink: 0; white-space: nowrap; }
.latepoint-w .posbooking-customer-order .summary-price-item-w.spi-total {
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface-muted);
  font-size: 18px;
  font-weight: 600;
}
.posbooking-customer-order .posbooking-basis-document-note {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pb-text);
  font-size: 13px;
  line-height: 1.5;
}
.posbooking-customer-order .posbooking-basis-document-note > p { margin: 0 0 8px; }
.posbooking-customer-order > p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--pb-text); }
.posbooking-customer-order .posbooking-order-details {
  margin: 0;
  padding: 0;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface-subtle);
  color: var(--pb-text);
  font-size: 13px;
  line-height: 1.5;
}
.posbooking-order-details > summary {
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
}
.posbooking-order-details > summary::marker { color: var(--pb-brand); }
.posbooking-order-details[open] > summary { border-bottom: 1px solid var(--pb-line); }
.posbooking-order-details-body { padding: 14px; }
.posbooking-customer-order .posbooking-order-details-body p { margin: 0 0 12px; }
.posbooking-customer-order .posbooking-order-details-body p:last-child { margin-bottom: 0; }
.posbooking-customer-order .posbooking-external-receipt dl { display: grid; gap: 3px; margin: 0 0 14px; }
.posbooking-customer-order .posbooking-external-receipt dt { font-size: 12px; font-weight: 600; color: var(--pb-muted); }
.posbooking-customer-order .posbooking-external-receipt dd { margin: 0 0 9px; color: var(--pb-ink); }
.latepoint-w .posbooking-customer-order .customer-order-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-color: var(--pb-line);
}
.posbooking-customer-order .customer-order-bottom-actions > * { flex: 1 1 128px; min-width: 0; }
.latepoint-w .posbooking-customer-order .customer-order-bottom-actions .latepoint-btn {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--pb-radius-sm);
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
}
.posbooking-order-details > summary:focus-visible,
.posbooking-customer-order .latepoint-btn:focus-visible { outline: 2px solid var(--pb-brand); outline-offset: 3px; }

/* Shared summary cards: customer summaries plus the booking form's verify and confirmation steps (#560); printed documents keep native styles. */
.latepoint-lightbox-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) { grid-template-columns: min(620px, calc(100vw - 32px)); }
.latepoint-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) .latepoint-lightbox-i {
  min-width: 0;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
}
.latepoint-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) .latepoint-lightbox-heading {
  padding: 18px 24px;
  border-color: var(--pb-line);
  background: var(--pb-surface);
}
.latepoint-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) .latepoint-lightbox-heading h2 {
  min-width: 0;
  padding-right: 36px;
  color: var(--pb-ink);
  font-size: 22px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.latepoint-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) .latepoint-lightbox-close { padding: 8px; border-radius: var(--pb-radius-sm); color: var(--pb-text); }
.latepoint-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) .latepoint-lightbox-close:focus-visible,
:is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) :is(.order-full-summary-actions a, .booking-summary-action-btn, .schedule-bundle-booking-btn):focus-visible { outline: 2px solid var(--pb-brand); outline-offset: 3px; }
.latepoint-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) .posbooking-customer-summary {
  padding: 24px;
  background: var(--pb-surface-subtle);
  color: var(--pb-ink);
  overflow-wrap: anywhere;
}
:is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .full-summary-wrapper { min-width: 0; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .full-summary-order-info-wrapper {
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface);
}
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .fsoi-main {
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--pb-muted);
  font-size: 12px;
  line-height: 1.5;
}
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .fsoi-main strong { color: var(--pb-ink); font-size: 24px; line-height: 1.3; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .order-full-summary-actions { flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) :is(.order-full-summary-actions a, .booking-summary-action-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-sm);
  background: var(--pb-surface);
  color: var(--pb-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .order-full-summary-actions a span { border: 0; }
:is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) :is(.order-full-summary-actions a, .booking-summary-action-btn):hover { border-color: var(--pb-brand-line); background: var(--pb-brand-soft); }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .booking-summary-action-btn.cancel-appointment-btn { border-color: var(--pb-danger-line); background: var(--pb-danger-soft); color: var(--pb-danger); }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .full-summary-order-info-elements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .fsoi-element {
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  border-radius: var(--pb-radius-sm);
  background: var(--pb-surface-muted);
  font-size: 13px;
  line-height: 1.5;
}
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .fsoi-element span { color: var(--pb-muted); font-size: 12px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .fsoi-element strong { color: var(--pb-ink); }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) :is(.order-summary-items-heading, .pb-heading, .summary-box-heading) { gap: 10px; margin-bottom: 14px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) :is(.order-summary-items-heading, .pbh-label, .sbh-item) { color: var(--pb-text); font-size: 13px; font-weight: 600; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) :is(.osih-line, .pbh-line, .sbh-line) { height: 1px; margin: 0; background: var(--pb-line); }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .order-summary-main-section { margin-bottom: 24px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-box-wrapper {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface);
}
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-box.main-box { gap: 14px; padding: 0; }
:is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-box-inner { min-width: 0; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-box-booking-date-box { overflow: hidden; border-radius: var(--pb-radius-md); background: var(--pb-brand-soft); }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-box-booking-date-day { padding: 8px 0; border-color: var(--pb-line); color: var(--pb-ink); font-size: 22px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-box-booking-date-month { padding: 7px 0; color: var(--pb-text); font-size: 12px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .sbc-big-item { color: var(--pb-ink); font-size: 18px; line-height: 1.4; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .sbc-highlighted-item { margin-top: 6px; color: var(--pb-text); font-size: 14px; line-height: 1.7; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .sbc-highlighted-item > div { color: var(--pb-muted); font-size: 12px; line-height: 1.7; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .booking-full-summary-actions { align-items: stretch; gap: 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--pb-line); }
:is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .booking-full-summary-actions > .add-to-calendar-wrapper { min-width: 0; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-boxes-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-boxes-columns > .summary-box {
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface);
}
:is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-box-customer-info { grid-column: 1 / -1; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .sbc-main-item { color: var(--pb-ink); font-size: 14px; line-height: 1.5; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .sbc-sub-item { color: var(--pb-muted); font-size: 12px; line-height: 1.5; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-price-breakdown-wrapper { padding: 18px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-md); background: var(--pb-surface); }
:is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-price-item-w { gap: 12px; line-height: 1.5; }
:is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .spi-name { min-width: 0; }
:is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .spi-price { flex-shrink: 0; white-space: nowrap; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-price-item-w.spi-total { margin: 14px 0 0; padding: 12px 14px; border: 0; border-radius: var(--pb-radius-md); background: var(--pb-surface-muted); font-size: 18px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .spi-total :is(.spi-name, .spi-price) { color: var(--pb-ink); font-weight: 600; }
/* Booking status keeps its native status icon/color; contacts have the same cards as orders. */
.latepoint-w .posbooking-customer-booking-summary .booking-status-info-wrapper {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface);
  color: var(--pb-ink);
}
.posbooking-customer-booking-summary .booking-status-icon { flex-shrink: 0; }
.latepoint-w .posbooking-customer-booking-summary .booking-confirmation { color: var(--pb-muted); line-height: 1.5; }
.latepoint-w .posbooking-customer-booking-summary .booking-summary-main-section { margin-bottom: 24px; }
.latepoint-w .posbooking-customer-booking-summary .booking-summary-info-w { margin-top: 18px; }
.latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .part-of-bundle-message {
  padding: 14px 16px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-brand-soft);
  color: var(--pb-text);
  line-height: 1.6;
}

/* Customer management link uses the same cards; agent links retain their native presentation. */
.latepoint-w .manage-order-wrapper.posbooking-customer-order-page {
  max-width: 620px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
  background: var(--pb-surface-subtle);
  box-shadow: var(--pb-shadow-md);
  color: var(--pb-ink);
  overflow-wrap: anywhere;
}
.latepoint-w .posbooking-customer-order-page .manage-booking-inner { padding: 24px; }
.latepoint-w .posbooking-customer-order-page .manage-booking-inner::before { content: none; }
.latepoint-w .posbooking-customer-order-page .manage-booking-controls { border-radius: var(--pb-radius-lg) var(--pb-radius-lg) 0 0; }
.latepoint-w .posbooking-customer-order-page .summary-box .sbc-big-item { font-size: 18px; }
.latepoint-w .posbooking-customer-order-page .summary-box .sbc-highlighted-item { color: var(--pb-text); font-size: 14px; }
.latepoint-w .posbooking-customer-order-page .summary-box.main-box .summary-box-booking-date-box .summary-box-booking-date-day { font-size: 22px; }

/* Existing read-only payment page; native totals and provenance remain authoritative. */
.latepoint-w .clean-layout-content-wrapper.posbooking-customer-payments {
  max-width: 620px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
  background: var(--pb-surface-subtle);
  box-shadow: var(--pb-shadow-md);
  color: var(--pb-ink);
  overflow-wrap: anywhere;
}
.latepoint-w .posbooking-customer-payments .clean-layout-content-body { padding: 24px; }
.latepoint-w .posbooking-customer-payments .total-order-payments-info {
  margin: 0 0 20px;
  padding: 20px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface);
}
.latepoint-w .posbooking-customer-payments .topi-amount { margin-bottom: 10px; color: var(--pb-ink); font-size: 32px; font-weight: 600; line-height: 1.3; }
.latepoint-w .posbooking-customer-payments .topi-sub-info { color: var(--pb-muted); font-size: 13px; line-height: 1.8; }
.latepoint-w .posbooking-customer-payments .topi-sub-info a { gap: 7px; padding: 3px 7px; border-radius: var(--pb-radius-sm); color: var(--pb-brand); }
.posbooking-customer-payments a:focus-visible { outline: 2px solid var(--pb-brand); outline-offset: 3px; }
.latepoint-w .posbooking-customer-payments .posbooking-basis-document-note {
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface-muted);
  color: var(--pb-text);
  font-size: 13px;
  line-height: 1.6;
}
.posbooking-customer-payments .posbooking-basis-document-note p { margin: 0 0 10px; }
.posbooking-customer-payments .posbooking-basis-document-note p:first-child { color: var(--pb-ink); font-weight: 600; }
.posbooking-customer-payments .posbooking-basis-document-note p:last-child { margin-bottom: 0; }
.latepoint-w .posbooking-customer-payments .topi-heading { gap: 10px; margin-bottom: 14px; color: var(--pb-text); font-size: 13px; font-weight: 600; line-height: 1.5; }
.latepoint-w .posbooking-customer-payments .topih-line { height: 1px; background: var(--pb-line); }
.latepoint-w .posbooking-customer-payments .topi-transaction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  padding: 18px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface);
}
.latepoint-w .posbooking-customer-payments .topit-amount { grid-column: 1; grid-row: 1; align-self: center; color: var(--pb-ink); font-size: 20px; font-weight: 600; line-height: 1.4; }
.latepoint-w .posbooking-customer-payments .topit-transaction-status {
  position: static;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding: 5px 9px;
  border-radius: var(--pb-radius-sm);
  background: var(--pb-surface-muted);
  color: var(--pb-text);
  font-size: 12px;
  line-height: 1.5;
}
.latepoint-w .posbooking-customer-payments .topit-transaction-status-succeeded { background: var(--pb-success-soft); color: var(--pb-success); }
.latepoint-w .posbooking-customer-payments .topit-sub-info { grid-column: 1 / -1; grid-row: 3; flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; border-top: 1px solid var(--pb-line); color: var(--pb-muted); font-size: 12px; line-height: 1.6; }
.posbooking-customer-payments .topit-confirmation-number { min-width: 0; }
.posbooking-customer-payments .topit-date { flex-shrink: 0; }
.posbooking-customer-payments .topi-transaction > p { grid-column: 1 / -1; grid-row: 2; margin: 0; color: var(--pb-text); font-size: 13px; line-height: 1.6; }
.posbooking-customer-payments .topi-transaction > :not(.topit-amount, .topit-transaction-status, .topit-sub-info, p) { grid-column: 1 / -1; }

@media (max-width: 500px) {
  .latepoint-w .posbooking-customer-order-page .manage-booking-inner { padding: 16px; }
  .latepoint-w .posbooking-customer-booking-summary .booking-confirmation { flex-basis: 100%; margin-left: 0; }
  .latepoint-w .posbooking-customer-payments .clean-layout-content-body { padding: 16px; }
  .latepoint-w .posbooking-customer-payments :is(.total-order-payments-info, .topi-transaction) { padding: 16px; }
  .latepoint-w .posbooking-customer-payments .topi-amount { font-size: 28px; }
  .latepoint-w .posbooking-customer-payments .topi-transaction { gap: 10px; }
  .latepoint-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) .latepoint-lightbox-heading { padding: 16px; }
  .latepoint-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) .latepoint-lightbox-heading h2 { font-size: 20px; }
  .latepoint-w:is(.customer-dashboard-order-summary-lightbox, .customer-dashboard-booking-summary-lightbox) .posbooking-customer-summary { padding: 16px; }
  .latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .full-summary-order-info-wrapper { padding: 16px; }
  .latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) :is(.full-summary-order-info-elements, .summary-boxes-columns) { grid-template-columns: minmax(0, 1fr); }
  .latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-box-wrapper { padding: 14px; }
  .latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-box.main-box { gap: 10px; }
  .latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .booking-full-summary-actions > * { flex: 1 1 100%; }
  :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .booking-full-summary-actions .booking-summary-action-btn { width: 100%; }
  .latepoint-w :is(.posbooking-customer-summary, .step-verify-w, .step-confirmation-w) .summary-price-breakdown-wrapper { padding: 14px; }
}
@media (max-width: 1000px) {
  .latepoint-w .customer-orders-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latepoint-w.posbooking-customer-dashboard .customer-bookings-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .latepoint-w.posbooking-customer-dashboard .tab-content-customer-info-form.active { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .latepoint-w .customer-orders-tiles { grid-template-columns: minmax(0, 1fr); }
  .latepoint-w .customer-orders-tiles .customer-order.posbooking-customer-order { padding: 20px; }
  .latepoint-w.posbooking-customer-dashboard .customer-bookings-tiles { grid-template-columns: minmax(0, 1fr); }
  .latepoint-w.posbooking-customer-dashboard .customer-bookings-tiles :is(.customer-booking, .customer-bundle-tile-inner) { padding: 20px; }
  .posbooking-customer-dashboard :is(.posbooking-customer-profile-panel, .customer-password-form-w) { padding: 20px; }
  .latepoint-w.posbooking-customer-dashboard .tab-content-customer-info-form .os-col-6 { flex: 0 0 100%; max-width: 100%; }
  .latepoint-w.posbooking-customer-dashboard .customer-dashboard-tabs > a { padding: 8px 10px; font-size: 13px; }
  .posbooking-customer-dashboard > a { float: none; display: inline-block; margin-bottom: 8px; }
}
