/* Customer reservation v7: approved entry wording, two-column therapist cards,
   row-wide schedule expansion, and operator-aligned customer forms. */

/* Entry screen: keep the supplied mobile composition while matching its crisp,
   outlined cards and line icons. */
.reservation-entry-card,
.reservation-entry-card.is-browse,
.reservation-entry-card.is-now,
.reservation-entry-card.is-regular,
.reservation-entry-card.is-promised {
  border: 1.5px solid #8e4f3f;
  background: #fff;
  box-shadow: 0 4px 14px rgba(84, 54, 43, .07);
}
.reservation-entry-card > i svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reservation-entry-card > span small {
  line-height: 1.72;
}

/* Two cards per row. Each selected schedule is inserted after that row and
   spans both columns, so the relationship remains unmistakable. */
.reservation-search .reservation-card-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 11px 9px;
  align-items: stretch;
}

.reservation-search .reservation-therapist-card {
  position: relative;
  min-width: 0;
  overflow: visible;
  border: 1px solid #ded6cc;
  border-radius: 12px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.reservation-search .reservation-card-main {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: 7px;
}

.reservation-search .reservation-card-main img,
.reservation-search .reservation-card-main .reservation-avatar {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.reservation-search .reservation-card-main .reservation-avatar {
  display: grid;
  place-items: center;
  font-size: 38px;
}

.reservation-search .reservation-person-info {
  min-width: 0;
  gap: 5px;
  padding: 1px 2px 2px;
}

.reservation-search .reservation-name-row strong {
  display: block;
  overflow: hidden;
  color: #302b28;
  font-size: 16px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reservation-search .reservation-profile-line {
  min-height: 1.35em;
  margin: 0;
  font-size: 11px;
}

.reservation-search .reservation-next-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  align-items: start;
}

.reservation-search .reservation-next-slot strong {
  min-height: 3em;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.45;
}

.reservation-search .reservation-next-row > a {
  justify-self: start;
  padding: 6px 8px;
  font-size: 10.5px;
}

.reservation-search .reservation-open-schedule {
  min-height: 40px;
  margin-top: 2px;
  padding: 7px 5px;
  font-size: 11.5px;
}

.reservation-search .reservation-therapist-card.is-selected {
  border-color: var(--customer-color-primary, #87334f);
  outline: 1px solid var(--customer-color-primary, #87334f);
  outline-offset: -2px;
}

.reservation-search .reservation-schedule-panel {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 3px 0 10px;
  overflow: hidden;
  border: 2px solid #795344;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(71, 48, 38, .12);
}

.reservation-search .reservation-schedule-panel__title {
  padding: 14px 13px 10px;
  background: #faf6f2;
  text-align: center;
}

.reservation-search .reservation-schedule-panel__title h2 {
  margin: 0;
  color: #4e352b;
  font: 800 16px/1.5 var(--mock-sans, sans-serif);
}

.reservation-search .reservation-schedule-panel .reservation-legend {
  padding: 9px 10px;
  border-top: 1px solid #eadfd7;
  border-bottom: 1px solid #eadfd7;
  background: #fff;
}

.reservation-search .reservation-calendar-tip {
  margin: 9px 10px;
  font-size: 11px;
}

.reservation-search .reservation-calendar-scroll {
  max-width: 100%;
}

.reservation-search .reservation-calendar-scroll table {
  min-width: 670px;
}

/* Operator reservation intake and customer forms now share the same visual
   rhythm: compact labels, 44px controls, bordered sections and clear focus. */
.customer-public-body .reservation-intake-panel,
.customer-public-body .report-panel.reservation-form {
  width: min(calc(100% - 28px), 1040px);
  margin-inline: auto;
  padding: 18px;
  border: 1px solid #e0dbe5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(44, 39, 50, .06);
}

.customer-public-body .reservation-intake-section,
.customer-public-body .reservation-intake-details,
.customer-public-body .reservation-review,
.customer-public-body .reservation-form .wizard-step > fieldset,
.customer-public-body .reservation-form .wizard-step > details {
  border: 1px solid #ded9e4;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.customer-public-body .reservation-form .wizard-step > fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
}

.customer-public-body .reservation-form .wizard-step > fieldset > legend {
  padding: 0 7px;
  color: #36313b;
  font-size: 15px;
  font-weight: 700;
}

.customer-public-body .reservation-form .report-field {
  gap: 6px;
  padding: 10px 2px;
  border: 0;
  background: transparent;
}

.customer-public-body .reservation-form label,
.customer-public-body .reservation-intake-field > label {
  color: var(--customer-color-muted);
  font-size: var(--customer-type-support);
  font-weight: 600;
}

.customer-public-body .reservation-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.customer-public-body .reservation-form select,
.customer-public-body .reservation-form textarea,
.customer-public-body .reservation-intake-field input:not([type="checkbox"]):not([type="radio"]),
.customer-public-body .reservation-intake-field select,
.customer-public-body .reservation-intake-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #cfc8d5;
  border-radius: 6px;
  background: #fff;
  color: #302c34;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.customer-public-body .reservation-form input:focus,
.customer-public-body .reservation-form select:focus,
.customer-public-body .reservation-form textarea:focus,
.customer-public-body .reservation-intake-field input:focus,
.customer-public-body .reservation-intake-field select:focus,
.customer-public-body .reservation-intake-field textarea:focus {
  outline: 3px solid rgba(111, 85, 141, .18);
  outline-offset: 1px;
  border-color: #70588d;
  box-shadow: none;
}

.customer-public-body .reservation-draft {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e5e0e8;
  border-radius: 7px;
  background: #faf9fb;
}

@media (min-width: 760px) {
  .customer-public-body .reservation-form .wizard-step > fieldset {
    padding: 18px 20px;
  }
}

@media (max-width: 370px) {
  .reservation-search .reservation-card-list { gap: 9px 7px; }
  .reservation-search .reservation-card-main { padding: 6px; }
  .reservation-search .reservation-name-row strong { font-size: 14px; }
  .reservation-search .reservation-next-slot strong { font-size: 10px; }
  .reservation-search .reservation-open-schedule { font-size: 10.5px; }
  .reservation-entry-card > span strong { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .reservation-search .reservation-therapist-card { transition: none; }
}

/* Consolidated customer store switch: all destinations stay on one row. */
.reservation-search .reservation-destination-store-switch > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reservation-search .reservation-destination-store-switch a {
  min-width: 0;
  padding-inline: 3px;
  font-size: clamp(10px, 2.8vw, 13px);
  white-space: nowrap;
}
.reservation-entry-card.is-now > i {
  display: grid;
  background: #f7f2eb !important;
  color: #957756 !important;
}
.reservation-entry-card.is-now > i svg {
  color: #957756;
  stroke: currentColor !important;
}

/* Keep the date and weekday together in the horizontally scrollable table. */
.reservation-search .reservation-calendar-day {
  min-width: 72px;
  padding: 6px 4px;
  background: #fff !important;
  text-align: center;
  white-space: nowrap;
}
.reservation-search .reservation-calendar-day.is-saturday {
  background: #edf6ff !important;
}
.reservation-search .reservation-calendar-day.is-sunday {
  background: #fff0f1 !important;
}
.reservation-search .reservation-calendar-weekday {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.reservation-search .reservation-calendar-date {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

/* Long profile label stays readable inside the compact two-column card. */
.reservation-search .reservation-next-row > a {
  width: 100%;
  white-space: normal;
  text-align: center;
}

/* Desktop uses the available width instead of enlarging the mobile canvas.
   Mobile keeps the approved one-column composition below 760px. */
@media (min-width: 760px) {
  .reservation-entry {
    max-width: 1120px;
    box-shadow: none;
  }

  .reservation-entry .reservation-entry-hero {
    min-height: 180px;
    padding-top: 76px;
  }

  .reservation-entry .reservation-entry-main {
    width: min(calc(100% - 64px), 1000px);
    padding-top: 52px;
  }

  .reservation-entry-section > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
  }

  .reservation-entry-card,
  .reservation-entry-card.is-browse,
  .reservation-entry-card.is-now,
  .reservation-entry-card.is-regular,
  .reservation-entry-card.is-promised {
    min-height: 126px;
    padding-block: 20px;
  }

  .reservation-entry-card > span strong,
  .reservation-entry-card.is-now > span strong {
    font-size: 19px;
  }

  .reservation-search {
    max-width: 1120px;
    padding-inline: 24px;
  }

  .reservation-search .customer-mock-header {
    margin-inline: -24px;
  }

  .reservation-search .reservation-sticky {
    max-width: 1072px;
  }

  .reservation-search .reservation-card-main {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    padding: 11px;
  }

  .reservation-search .reservation-card-main img,
  .reservation-search .reservation-card-main .reservation-avatar {
    width: 140px;
    height: 187px;
    aspect-ratio: 3 / 4;
  }

  .reservation-search .reservation-name-row strong {
    font-size: 18px;
  }

  .reservation-search .reservation-next-slot strong {
    font-size: 12px;
  }

  .reservation-help-dialog {
    width: min(calc(100vw - 64px), 720px);
    max-width: 720px;
    padding: 30px 32px;
  }

}

/* --------------------------------------------------------------------------
   Shared completion layer for every customer-operated screen

   The entry screen remains the visual source of truth.  These rules bring the
   older result, lookup, meeting, chat, cancellation and confirmation screens
   into the same warm, quiet system without changing their HTML contracts or
   reservation behaviour.  The three bespoke experiences (entry, schedule and
   now-guide) keep their dedicated compositions above.
   -------------------------------------------------------------------------- */
.customer-public-body {
  --customer-page-line: #e5ded4;
  --customer-page-paper: #fffdfa;
  --customer-page-soft: #faf6f2;
  --customer-page-ink: #302b28;
  --customer-page-muted: #6f6761;
  --customer-page-accent: #795344;
  --customer-page-accent-soft: #f5e9e3;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro)) {
  background: #fbfaf8;
  color: var(--customer-page-ink);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .customer-public-header {
  min-height: 72px;
  padding: 12px max(18px, calc((100vw - 1040px) / 2));
  border-color: var(--customer-page-line);
  background: rgba(255, 253, 250, .96);
  box-shadow: 0 2px 14px rgba(67, 48, 37, .035);
}

.customer-public-body .customer-public-brand {
  color: var(--customer-page-ink);
  font-family: var(--mock-sans);
}

.customer-public-body .customer-public-brand span,
.customer-public-body .customer-public-header nav a {
  color: var(--customer-page-accent);
}

.customer-public-body .customer-public-header nav a:hover,
.customer-public-body .customer-public-header nav a:focus-visible {
  background: var(--customer-page-accent-soft);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  > main:not(.manager-main):not(.operator-main):not(.fp-main) {
  width: min(calc(100% - 36px), 1040px);
  padding-top: clamp(30px, 5vw, 56px);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .page-heading {
  width: min(100%, 900px);
  align-items: flex-start;
  margin: 0 auto clamp(22px, 4vw, 34px);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .page-heading > div {
  min-width: 0;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .page-heading .eyebrow {
  margin: 0 0 7px;
  color: var(--customer-page-accent);
  font: 700 12px/1.5 var(--mock-sans);
  letter-spacing: .08em;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .page-heading h1 {
  margin: 0;
  color: var(--customer-page-ink);
  font: 700 clamp(24px, 3.3vw, 34px)/1.4 var(--mock-sans);
  letter-spacing: .025em;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .page-heading p:not(.eyebrow) {
  max-width: 46rem;
  margin: 10px 0 0;
  color: var(--customer-page-muted);
  font-size: 14px;
  line-height: 1.85;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel,
.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .urgent-action-card,
.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  > main > .status-card {
  width: min(100%, 900px);
  max-width: none;
  box-sizing: border-box;
  margin-inline: auto;
  padding: clamp(20px, 3.5vw, 32px);
  border: 1px solid var(--customer-page-line);
  border-radius: 18px;
  background: var(--customer-page-paper);
  box-shadow: var(--mock-shadow);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel + .report-panel {
  margin-top: 18px;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .narrow-panel {
  width: min(100%, 720px);
  margin-top: 0;
  margin-bottom: 0;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel > :first-child,
.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel > form > :first-child {
  margin-top: 0;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel > :last-child,
.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel > form > :last-child {
  margin-bottom: 0;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel h2 {
  margin: 0 0 18px;
  color: var(--customer-page-ink);
  font: 700 clamp(18px, 2.5vw, 23px)/1.5 var(--mock-sans);
  letter-spacing: .02em;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel h3 {
  font-family: var(--mock-sans);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel form {
  gap: 18px;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-field {
  gap: 8px;
  padding: 14px 16px;
  border-color: var(--customer-page-line);
  border-radius: 12px;
  background: var(--customer-page-soft);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  :is(.report-field, .review-form) label,
.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .report-panel legend {
  color: #4d433d;
  font-family: var(--mock-sans);
  font-size: 14px;
  font-weight: 700;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  :is(.report-field, .review-form) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 13px;
  border: 1px solid #d8cec4;
  border-radius: 10px;
  background: #fff;
  color: var(--customer-page-ink);
  font: 400 16px/1.55 var(--mock-sans);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  :is(.report-field, .review-form) textarea {
  min-height: 116px;
  resize: vertical;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  :is(.report-field, .review-form) :is(input, select, textarea):focus-visible {
  outline: 3px solid rgba(149, 109, 94, .2);
  outline-offset: 1px;
  border-color: var(--customer-page-accent);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .action-row {
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

.customer-public-body .button {
  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 17px;
  border-radius: 11px;
  font: 700 14px/1.45 var(--mock-sans);
}

.customer-public-body .button.primary {
  border-color: var(--customer-page-accent);
  background: var(--customer-page-accent);
  color: #fff;
}

.customer-public-body .button.primary:not(:disabled):hover {
  border-color: #624436;
  background: #624436;
}

.customer-public-body .button.ghost {
  border-color: #cabdb2;
  background: #fff;
  color: var(--customer-page-accent);
}

.customer-public-body .button.danger-soft {
  border-color: #e7c7bf;
  background: #fff3ef;
  color: #9d3e35;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .reservation-detail {
  padding: 0;
  border-top: 0;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .reservation-detail:not(.store-contact-detail) dl {
  gap: 0;
  border-top: 1px solid var(--customer-page-line);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .reservation-detail:not(.store-contact-detail) dl > div {
  grid-template-columns: minmax(7.5rem, .36fr) minmax(0, 1fr);
  gap: 18px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--customer-page-line);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .reservation-detail dt {
  color: var(--customer-page-muted);
  font: 700 var(--customer-type-support)/1.65 var(--mock-sans);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .reservation-detail dd {
  color: var(--customer-page-ink);
  line-height: 1.75;
}

.customer-public-body .reservation-detail .review-field-note {
  display: block;
  margin-top: 4px;
  font-size: var(--customer-type-support);
  line-height: 1.55;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  :is(.status-card, .locked-note, .empty, .attention, .cancellation-policy, .meeting-details-status) {
  border-color: var(--customer-page-line);
  border-radius: 14px;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .status-card {
  gap: 7px;
  margin: 0 auto 18px;
  padding: 18px 20px;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .status-card-title {
  margin: 0;
  font-family: var(--mock-sans);
  font-size: 16px;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .status-card-sub {
  margin: 0;
  line-height: 1.75;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .lookup-results {
  gap: 12px;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .lookup-result {
  gap: 7px;
  padding: 18px;
  border-color: var(--customer-page-line);
  border-radius: 14px;
  background: var(--customer-page-paper);
  box-shadow: none;
  color: inherit;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .lookup-result:hover,
.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .lookup-result:focus-visible {
  border-color: #c8b3a6;
  background: var(--customer-page-soft);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .summary-grid {
  gap: 14px;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .summary-card {
  border-color: var(--customer-page-line);
  border-radius: 14px;
  background: var(--customer-page-soft);
  box-shadow: none;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .chat-thread {
  display: grid;
  gap: 16px;
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  .chat-message-list {
  min-height: 180px;
  padding: 16px;
  border: 1px solid var(--customer-page-line);
  border-radius: 14px;
  background: var(--customer-page-soft);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  dialog {
  border: 1px solid var(--customer-page-line);
  border-radius: 18px;
  background: var(--customer-page-paper);
  color: var(--customer-page-ink);
  font-family: var(--mock-serif);
}

.customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
  dialog h2 {
  font-family: var(--mock-sans);
}

.customer-public-body .customer-chrome-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 36px), 1040px);
  margin: 0 auto;
  padding: 22px 0 30px;
  border-top: 1px solid var(--customer-page-line);
  color: var(--customer-page-muted);
  font-size: var(--customer-type-support);
}

.customer-public-body .customer-chrome-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.customer-public-body .customer-chrome-footer a {
  color: var(--customer-page-accent);
}

@media (max-width: 680px) {
  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .customer-public-header {
    min-height: 62px;
    padding: 9px 12px;
  }

  .customer-public-body .customer-public-brand {
    display: grid;
    gap: 0;
    font-size: 15px;
    line-height: 1.25;
  }

  .customer-public-body .customer-public-brand span {
    font-size: 10px;
  }

  .customer-public-body .customer-public-header nav {
    gap: 2px;
  }

  .customer-public-body .customer-public-header nav a {
    min-height: 40px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    > main:not(.manager-main):not(.operator-main):not(.fp-main) {
    width: min(calc(100% - 24px), 1040px);
    padding-top: 28px;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .page-heading {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .page-heading h1 {
    font-size: 24px;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .page-heading > .button {
    width: 100%;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .report-panel,
  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .urgent-action-card,
  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    > main > .status-card {
    padding: 18px;
    border-radius: 16px;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .report-field {
    padding: 13px;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .wizard-progress {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .wizard-progress li,
  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .wizard-progress li button {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .reservation-detail:not(.store-contact-detail) dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 12px 0;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .action-row > :is(.button, button, a, form),
  .customer-public-body:not(:has(.reservation-entry)):not(:has(.reservation-search)):not(:has(.reservation-now-intro))
    .action-row > form > :is(.button, button) {
    width: 100%;
  }

  .customer-public-body .customer-chrome-footer {
    align-items: flex-start;
    flex-direction: column;
    width: calc(100% - 24px);
    padding-bottom: max(26px, env(safe-area-inset-bottom));
  }

  .customer-public-body .customer-chrome-footer nav {
    justify-content: flex-start;
  }
}
