/* Parlour — the public booking flow and the client's booking page. Loaded after app.css.
   Colours: tokens only. */

.back-link { display: inline-flex; align-items: center; gap: 0.35rem; min-height: var(--tap); text-decoration: none; font-weight: 650; }
.back-link svg { width: 1.1rem; height: 1.1rem; flex: none; }
.step { margin: 0 0 0.15rem; color: var(--text-dim); font-size: 0.9375rem; }
.summary-line { margin: 0 0 1.25rem; color: var(--text-dim); overflow-wrap: anywhere; }
.notice { background: var(--warn-wash); border-left: 4px solid var(--warn); border-radius: 0 6px 6px 0; padding: 0.75rem 1rem; margin: 0 0 1.25rem; }
.notice strong { color: var(--warn); }
.msg-warning { background: var(--warn-wash); border-color: var(--warn); }
.msg-success { background: var(--ok-wash); border-color: var(--ok); }

/* the price list rows become links */
.price-link { display: block; color: inherit; text-decoration: none; padding: 0.65rem 0; margin: -0.65rem 0; min-height: var(--tap); touch-action: manipulation; }
.price-variants .price-link { padding: 0.55rem 0; margin: -0.2rem 0; display: flex; flex-direction: column; justify-content: center; }
.price-book { color: var(--brand); font-weight: 700; white-space: nowrap; }
.price-meta .price-book { margin-left: 0.25rem; }

/* who */
.choice-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.6rem; }
.choice {
  display: flex; align-items: center; gap: 0.75rem; min-height: 4rem; padding: 0.75rem 1rem; min-width: 0;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 10px; color: var(--text); text-decoration: none;
  touch-action: manipulation;
}
.choice-main { flex: 1 1 auto; min-width: 0; }
.choice-name { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.125rem; overflow-wrap: anywhere; }
.choice-meta { display: block; color: var(--text-dim); font-size: 0.9375rem; overflow-wrap: anywhere; }
.choice-price { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.choice-first { border-color: var(--brand); border-width: 2px; }
.choice .avatar-m { width: 3rem; height: 3rem; }
.avatar.anyone { background: var(--brand-wash); color: var(--brand); border-color: var(--brand); }
.avatar.anyone svg { width: 1.5rem; height: 1.5rem; }
.choice .monogram-lg { width: 2.5rem; height: 2.5rem; border-radius: 6px; font-size: 0.9375rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--raised); border: 1px solid var(--line-strong); }

/* when: a strip of days that scrolls sideways inside itself, never the page */
.day-strip {
  display: flex; gap: 0.4rem; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 1.25rem; padding: 0.25rem var(--gutter) 0.5rem; list-style: none;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none;
}
.day-strip::-webkit-scrollbar { display: none; }
.day-strip::after { content: ""; flex: none; width: 1px; }    /* keeps the right-hand gutter when scrolled to the end */
.day-strip li { flex: none; scroll-snap-align: start; }
.day {
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 3.75rem; min-height: 4.5rem; padding: 0.3rem 0.2rem;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 8px; color: var(--text); text-decoration: none; touch-action: manipulation;
}
.day .dow { font-size: 0.8125rem; color: var(--text-dim); }
.day .dom { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.day .state { font-size: 0.75rem; color: var(--text-dim); }
.day[aria-current="date"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.day[aria-current="date"] .dow, .day[aria-current="date"] .state { color: var(--brand-ink); }
.day.is-full { border-style: dashed; background: transparent; }
.day.is-full .dom { color: var(--text-dim); font-weight: 400; }
.day.is-full[aria-current="date"] { background: var(--brand-wash); border: 2px solid var(--brand); color: var(--text); }
.day.is-full[aria-current="date"] .dow, .day.is-full[aria-current="date"] .state, .day.is-full[aria-current="date"] .dom { color: var(--text); }

.period { margin: 0 0 1.25rem; }
.day-title { margin-bottom: 0.75rem; }
.period h3 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 700; color: var(--text-dim); margin-bottom: 0.5rem; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr)); gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.time-grid form { margin: 0; }
.time {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--tap);
  font: inherit; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums;
  background: var(--surface); color: var(--text); border: 1.5px solid var(--line-strong); border-radius: 8px; text-decoration: none; cursor: pointer; touch-action: manipulation;
}
.time[aria-current] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-wash); }
.time:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.day-full .btn { margin-top: 0.25rem; }

/* the chosen time, pinned to the bottom of the screen with the way on */
.choice-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--surface); border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 24px rgb(0 0 0 / 0.18); padding: 0.75rem var(--gutter); padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  animation: choice-in 0.18s ease-out;
}
.choice-bar[hidden] { display: none; }
.choice-bar-inner { max-width: 44rem; margin: 0 auto; display: flex; align-items: center; gap: 0.75rem; }
.choice-when { flex: 1 1 auto; min-width: 0; margin: 0; line-height: 1.3; }
.choice-label { display: block; font-size: 0.8125rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.choice-when strong { display: block; font-family: var(--font-display); font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.choice-with { display: block; color: var(--text-dim); font-size: 0.9375rem; overflow-wrap: anywhere; }
.choice-bar .btn { flex: none; min-width: 7.5rem; }
body.has-choice-bar main { padding-bottom: 7.5rem; }
@keyframes choice-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .choice-bar { animation: none; } }

/* the team booking for someone from the public pages */
.for-banner { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; padding: 0.4rem 0.75rem; border: 1.5px solid var(--brand); border-radius: 10px; background: var(--brand-wash); }
.for-banner > span:not(.avatar) { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.team-book { border-color: var(--brand); }
.team-book h2 { font-size: 1.125rem; }
.for-client { display: flex; align-items: center; gap: 0.75rem; }
.new-client-title { margin-top: 1.5rem; }
.client-picks { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.client-picks .pick-list { list-style: none; margin: 0; padding: 0; }
.client-picks .pick-list li { border-bottom: 1px solid var(--line); }
.client-picks .pick-list li:last-child { border-bottom: 0; }
.client-picks .pick { display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: var(--tap); padding: 0.6rem 0; color: var(--text); background: none; border: 0; font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; }
.client-picks .pick-main { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.client-picks .pick-main small { display: block; color: var(--text-dim); font-size: 0.875rem; }
.client-picks .pick-side { color: var(--brand); font-weight: 700; white-space: nowrap; }
.picks-title { font-size: 0.875rem; font-family: var(--font-body); font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin: 0.5rem 0 0; }
.pay-choice { max-width: none; }

.pager { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* the appointment card */
.ticket { border: 1.5px solid var(--text); border-radius: 10px; background: var(--surface); margin: 0 0 1.25rem; min-width: 0; }
.ticket-when { padding: 1rem; border-bottom: 1px dashed var(--line-strong); }
.ticket-date { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }
.ticket-time { margin: 0.15rem 0 0; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.ticket-body { padding: 0.5rem 1rem; }
.ticket-body .price-list > li { padding: 0.55rem 0; }
.ticket-foot { padding: 0.75rem 1rem; border-top: 1px solid var(--line); color: var(--text-dim); font-size: 0.9375rem; overflow-wrap: anywhere; }
.ticket-foot p { margin: 0; }
.ticket.is-cancelled { border-color: var(--line-strong); border-style: dashed; }
.ticket.is-cancelled .ticket-date, .ticket.is-cancelled .ticket-time { text-decoration: line-through; color: var(--text-dim); }

.field .hint { display: block; color: var(--text-dim); font-size: 0.9375rem; margin-bottom: 0.3rem; font-weight: 400; }
.field textarea {
  display: block; width: 100%; max-width: 100%; min-height: 5rem; padding: 0.6rem 0.75rem; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 6px; resize: vertical;
}
.field-error { display: block; color: var(--bad); font-weight: 650; margin-top: 0.3rem; }
.check { display: flex; align-items: flex-start; gap: 0.75rem; min-height: var(--tap); margin: 0 0 1rem; }
.check input { width: 1.5rem; height: 1.5rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--brand); }
.check label { font-weight: 400; }
.small-print { color: var(--text-dim); font-size: 0.9375rem; }
.btn-danger { color: var(--bad); border-color: var(--bad); }
.actions { display: grid; gap: 0.6rem; margin: 0 0 1.25rem; }
@media (min-width: 30rem) { .actions { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); } }
.price-link .price-meta { display: block; }
.price-variants .price-book { font-size: 0.9375rem; }
.small-print { margin-top: 0.75rem; }
.pay-actions { display: grid; gap: 0.6rem; margin: 0 0 1rem; max-width: 26rem; }
.check label { min-height: 2.75rem; display: flex; align-items: center; flex: 1 1 auto; }
.check input { margin-top: 0.6rem; }
.choice-set { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.choice-set legend { font-weight: 650; padding: 0; margin-bottom: 0.25rem; }
.choice-set .check { margin: 0; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0.75rem; }
.field-pair > * { min-width: 0; }
.facts { margin: 0; }
.facts dt { color: var(--text-dim); font-size: 0.875rem; margin-top: 0.5rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
/* A service with a photo: the picture beside its line on the price list. */
.price-list > li.has-photo { display: flex; gap: 0.75rem; align-items: flex-start; }
.menu-photo { flex: none; width: 4.5rem; height: 4.5rem; margin-top: 0.35rem; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: var(--raised); }
.menu-item { flex: 1 1 auto; min-width: 0; }
.menu-photo-link { position: relative; flex: none; display: block; }
.photo-count { position: absolute; right: 0.25rem; bottom: 0.25rem; min-width: 1.4rem; padding: 0 0.3rem; border-radius: 999px; background: rgb(0 0 0 / 0.65); color: #fff; font-size: 0.75rem; font-weight: 700; text-align: center; line-height: 1.4rem; }
.photos-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; color: var(--brand); font-weight: 700; text-decoration: none; touch-action: manipulation; }
.photos-link svg { width: 1.15rem; height: 1.15rem; flex: none; }
.photos-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* a service's own page: its photos in a strip that scrolls sideways inside itself */
.gallery { display: flex; gap: 0.6rem; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 0.5rem; padding: 0 var(--gutter) 0.25rem; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
.gallery:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.gallery-item { flex: none; width: min(85%, 26rem); margin: 0; scroll-snap-align: start; }
.gallery-one .gallery-item { width: 100%; }
.gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: var(--raised); }
.gallery-hint { margin: 0 0 1.25rem; }

/* ---- the demo card page: shaped like a real card checkout, plainly marked as a demo ---- */
.demo-pay { border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--surface); padding: 1rem; margin: 0 0 0.75rem; }
.demo-ribbon { margin: -1rem -1rem 1rem; padding: 0.6rem 1rem; border-radius: 12px 12px 0 0; background: var(--warn-wash); color: var(--text); border-bottom: 1px solid var(--warn); font-size: 0.9375rem; }
.demo-ribbon strong { color: var(--warn); }
.demo-pay-title { font-size: 1.25rem; margin: 0 0 0.75rem; }
.wallet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.wallet { display: flex; align-items: center; justify-content: center; min-height: var(--tap); border: 0; border-radius: 8px; background: var(--text); color: var(--canvas); font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.wallet:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.demo-or { display: flex; align-items: center; gap: 0.6rem; margin: 0.9rem 0; color: var(--text-dim); font-size: 0.875rem; }
.demo-or::before, .demo-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.demo-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 0 0 1rem; }
.demo-field { border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 0.35rem 0.75rem 0.45rem; min-width: 0; background: var(--canvas); }
.demo-wide { grid-column: 1 / -1; }
.demo-field dt { font-size: 0.75rem; color: var(--text-dim); }
.demo-field dd { margin: 0; font-size: 1.0625rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.5rem; overflow-wrap: anywhere; }
.card-brand { font-size: 0.6875rem; font-weight: 800; font-style: italic; letter-spacing: 0.02em; padding: 0.05rem 0.35rem; border-radius: 3px; background: var(--hue-2-wash); color: var(--hue-2); border: 1px solid var(--hue-2); }
.demo-pay-btn { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.demo-secure { display: flex; gap: 0.4rem; align-items: flex-start; margin-bottom: 0; }
.demo-secure svg { flex: none; width: 1rem; height: 1rem; margin-top: 0.2rem; }
.team-book .search-row { display: flex; gap: 0.5rem; align-items: flex-end; margin-bottom: 0.5rem; }
.team-book .search-row .field { flex: 1 1 auto; min-width: 0; margin: 0; }
#client-results > .card, #client-results > p { margin-top: 0.75rem; }

/* The salon's own page: photos and videos first, then who and where, then the work. */
.salon-gallery { position: relative; margin: -1.25rem calc(-1 * var(--gutter)) 0; }
.gallery-track {
  position: relative; display: flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.gallery-slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; max-height: 36rem; background: var(--raised); overflow: hidden; }
.gallery-track:has(> .gallery-slide + .gallery-slide) > .gallery-slide { flex-basis: 88%; }
.gallery-slide img, .gallery-slide video { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide-caption {
  position: absolute; inset: auto 0 0; margin: 0; padding: 2.5rem 1rem 0.85rem; color: #fff; font-weight: 600;
  background: linear-gradient(to top, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0));
}
.gallery-count {
  position: absolute; top: 0.75rem; left: 0.75rem; margin: 0; padding: 0.15rem 0.6rem;
  border-radius: 999px; background: rgb(0 0 0 / 0.55); color: #fff; font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.salon-hero { padding-top: 1.25rem; }
.salon-facts { display: flex; flex-direction: column; gap: 0; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.fact {
  display: flex; align-items: center; gap: 0.65rem; min-height: var(--tap); padding: 0.25rem 0;
  color: var(--text); text-decoration: none; overflow-wrap: anywhere;
}
.fact svg { flex: 0 0 1.375rem; width: 1.375rem; height: 1.375rem; color: var(--brand); }
.fact:hover span, .fact:focus-visible span { text-decoration: underline; }
.fact .is-open { color: var(--ok); font-weight: 650; }
.work { margin: 0.5rem 0 1.75rem; }
.work h2 { margin-bottom: 0.75rem; }
.work-track {
  display: flex; gap: 0.75rem; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.25rem; list-style: none;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track > li { flex: 0 0 9.5rem; scroll-snap-align: start; }
.work-tile { display: block; color: var(--text); text-decoration: none; }
.work-tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--raised); }
.work-name { display: block; margin-top: 0.4rem; font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.work-tile:hover .work-name, .work-tile:focus-visible .work-name { text-decoration: underline; }

@media (min-width: 48rem) {
  .salon-gallery { margin: 0; }
  .gallery-slide { aspect-ratio: 3 / 2; border-radius: 16px; }
  .gallery-track:has(> .gallery-slide + .gallery-slide) > .gallery-slide { flex-basis: 92%; }
  .salon-facts { flex-direction: row; flex-wrap: wrap; column-gap: 1.5rem; }
  .work-track { margin: 0; padding: 0 0 0.25rem; }
  .work-track > li { flex-basis: 11rem; }
}

/* The salon finder. */
.finder-search { display: flex; gap: 0.5rem; margin-top: 1rem; }
.finder-search input { flex: 1 1 auto; min-width: 0; min-height: var(--tap); }
.finder-count { margin: 0 0 1rem; }
.finder-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.salon-card {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.875rem; align-items: center; padding: 0.625rem;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); text-decoration: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.salon-card:hover { border-color: var(--line-strong); box-shadow: 0 2px 12px rgb(0 0 0 / 0.08); }
.salon-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.salon-card-cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--raised); display: block; }
.salon-card-blank { display: flex; align-items: center; justify-content: center; background: var(--hue-wash); color: var(--hue); font-weight: 700; font-size: 1.75rem; letter-spacing: 0.02em; }
.salon-card-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.salon-card-name { font-weight: 700; font-size: 1.125rem; line-height: 1.25; overflow-wrap: anywhere; }
.salon-card-line { color: var(--text-dim); font-size: 0.9375rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.salon-card-facts { display: flex; flex-wrap: wrap; gap: 0.15rem 0.9rem; margin-top: 0.2rem; font-size: 0.875rem; color: var(--text-dim); }
.salon-card-facts > span { display: inline-flex; align-items: center; gap: 0.3rem; }
.salon-card-facts svg { width: 1rem; height: 1rem; flex: none; color: var(--brand); }
.salon-card-facts .is-open { color: var(--ok); font-weight: 650; }
.salon-back { margin: -0.5rem 0 0.75rem; }
.salon-back + .salon-gallery { margin-top: 0; }
@media (min-width: 40rem) {
  .finder-list { grid-template-columns: repeat(2, 1fr); }
  .salon-card { grid-template-columns: 1fr; align-items: stretch; padding: 0; overflow: hidden; }
  .salon-card-cover { aspect-ratio: 16 / 10; border-radius: 0; }
  .salon-card-body { padding: 0.25rem 1rem 1rem; }
}

/* The owner, signed in and looking at their own page, adds pictures where clients see them. */
.slide-link { display: block; height: 100%; color: inherit; }
.gallery-add { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; }
.salon-gallery:has(.gallery-slide + .gallery-slide) .gallery-add { right: calc(12% + 0.75rem); }
@media (min-width: 48rem) { .salon-gallery:has(.gallery-slide + .gallery-slide) .gallery-add { right: calc(8% + 0.75rem); } }
.add-round {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem;
  border-radius: 50%; background: var(--brand); color: var(--brand-ink); cursor: pointer; overflow: hidden;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.3); border: 2px solid var(--surface);
}
.add-round svg { width: 1.5rem; height: 1.5rem; }
.add-round:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.gallery-add .upload-status { position: absolute; right: 0; top: calc(100% + 0.5rem); width: 15rem; padding: 0.5rem; border-radius: 10px; background: var(--surface); box-shadow: 0 6px 20px rgb(0 0 0 / 0.25); }
.owner-hint { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--text-dim); }
.media-prompt { margin: 0 0 0.5rem; }
.media-prompt-tile {
  position: relative; flex: 1 1 100%; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center;
  padding: 1.75rem 1.25rem; border: 2px dashed var(--line-strong); border-radius: 16px; background: var(--surface); cursor: pointer; overflow: hidden;
}
.media-prompt-tile:hover { border-color: var(--brand); }
.media-prompt-tile:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.media-prompt-tile svg { width: 2.5rem; height: 2.5rem; color: var(--brand); }
.media-prompt-tile strong { font-size: 1.125rem; }
.media-prompt-tile > span:not(.btn) { color: var(--text-dim); max-width: 26rem; }
.media-prompt-tile .btn { margin-top: 0.25rem; pointer-events: none; }
.menu-thumb { position: relative; flex: none; }
.menu-thumb .photo-form { margin: 0; }
.menu-photo-add {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem;
  border: 2px dashed var(--line-strong); background: var(--surface); color: var(--brand); cursor: pointer; overflow: hidden; font-size: 0.75rem; font-weight: 700;
}
.menu-photo-add svg { width: 1.25rem; height: 1.25rem; }
.menu-photo-add:hover { border-color: var(--brand); }
.thumb-add { position: absolute; right: -0.4rem; bottom: -0.4rem; }
.add-small { width: 1.9rem; height: 1.9rem; border-width: 2px; box-shadow: 0 2px 6px rgb(0 0 0 / 0.25); }
.add-small svg { width: 1rem; height: 1rem; }
.thumb-add .upload-status, .thumb-empty .upload-status { position: absolute; left: 0; top: calc(100% + 0.35rem); width: 12rem; z-index: 3; padding: 0.4rem; border-radius: 8px; background: var(--surface); box-shadow: 0 6px 20px rgb(0 0 0 / 0.2); }
.thumb-add .upload-previews, .thumb-empty .upload-previews, .gallery-add .upload-previews { display: none; }

.owner-card { padding: 0.75rem 1rem; border: 2px dashed var(--line-strong); border-radius: 12px; background: var(--surface); margin: 0 0 1.25rem; }
.salon-card-score { font-size: 0.875rem; font-weight: 650; }
.salon-card-score > span[aria-hidden] { color: var(--warn); }

/* The client's bottom bar (Book, My bookings, Account): the same bar the team has, on pages a
   client browses; never on the steps of a booking, where the Continue bar sits. */
.has-client-nav { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
.client-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong);
  padding: 0 max(0.25rem, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(0.25rem, env(safe-area-inset-left));
}
.client-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.client-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; min-height: 3.75rem; padding: 0.35rem 0.1rem;
  color: var(--text-dim); text-decoration: none; font-size: 0.75rem; font-weight: 600; border-top: 3px solid transparent; touch-action: manipulation;
}
.client-nav svg { width: 1.5rem; height: 1.5rem; }
.client-nav a[aria-current="page"] { color: var(--brand); border-top-color: var(--brand); font-weight: 800; }
@media (min-width: 48rem) {
  .client-nav { left: 50%; right: auto; bottom: 1rem; width: 26rem; transform: translateX(-50%); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 0.5rem; box-shadow: 0 8px 24px rgb(0 0 0 / 0.14); overflow: hidden; }
  .client-nav a { min-height: 3.5rem; border-top: 0; }
  .client-nav a[aria-current="page"] { background: var(--brand-wash); }
}
.page-head + .again, .again { margin: 0 0 1.5rem; }
.again-track { display: flex; gap: 0.75rem; overflow-x: auto; list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.25rem; scrollbar-width: none; }
.again-track::-webkit-scrollbar { display: none; }
.again-track > li { flex: 0 0 min(80%, 16rem); }
.again-card { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 0.9rem 1rem; border: 1.5px solid var(--brand); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; }
.again-what { font-weight: 700; }
.again-go { margin-top: auto; padding-top: 0.35rem; color: var(--brand); font-weight: 700; }
.visit-card { display: flex; gap: 0.9rem; align-items: center; padding: 0.85rem 1rem; margin: 0 0 0.75rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; }
.visit-card:hover { border-color: var(--line-strong); }
.visit-date { flex: none; display: flex; flex-direction: column; align-items: center; width: 3.5rem; padding: 0.35rem 0; border-radius: 10px; background: var(--brand-wash); color: var(--brand); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.visit-date strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.visit-main { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.visit-manage { color: var(--brand); font-weight: 650; font-size: 0.875rem; margin-top: 0.15rem; }
.past { margin: 1.5rem 0; }
.keep-track { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 1rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--brand-wash); }
.keep-track p { margin: 0; flex: 1 1 14rem; }
.past-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.past-list li + li { border-top: 1px solid var(--line); }
.past-list a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: var(--tap); padding: 0.7rem 1rem; color: var(--text); text-decoration: none; }
.past-list a > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.past-list .dim { font-size: 0.875rem; }
.again { margin-top: 1.5rem; }

/* Kiosk mode: large, plain, nothing to wander off to. */
.kiosk { font-size: 1.125rem; }
.kiosk .site-footer, .kiosk .salon-back, .kiosk .jump { display: none !important; }
.kiosk .btn { min-height: 3.5rem; }
.kiosk-again { font-weight: 700; }
.kiosk-start { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 2rem 0 1rem; }
.kiosk-start h1 { font-size: clamp(2rem, 6vw, 3.25rem); margin: 0; }
.kiosk-start .lede { margin: 0; max-width: 32rem; }
.kiosk-big { width: min(100%, 26rem); min-height: 4.5rem !important; font-size: 1.375rem; border-radius: 16px; }
.kiosk-qr { display: flex; align-items: center; gap: 1.25rem; max-width: 34rem; margin-top: 1.5rem; padding: 1.25rem; text-align: left; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.kiosk-qr .qr { flex: none; width: 9rem; padding: 0.5rem; border-radius: 12px; background: #fff; }
.kiosk-qr .qr svg { display: block; width: 100%; height: auto; }
.kiosk-qr p { margin: 0; }
.kiosk-when { font-size: 1.5rem; margin: 0; }
.kiosk-note { font-size: 0.9375rem; margin: 0; }
@media (max-width: 30rem) { .kiosk-qr { flex-direction: column; text-align: center; } }
.desk-qr { margin: 0 0 1rem; }
.kiosk-points { margin: 0 0 1rem; padding-left: 1.2rem; }
.kiosk-points li + li { margin-top: 0.35rem; }
.poster { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 2rem 1rem; border: 2px solid var(--text); border-radius: 24px; max-width: 34rem; margin: 0 auto; background: #fff; color: #1b1f22; }
.poster h1 { font-size: 3rem; margin: 0; color: #1b1f22; }
.poster-salon { font-family: var(--font-display); font-size: 1.75rem; margin: 0; }
.poster .qr { width: min(80%, 20rem); }
.poster .qr svg { display: block; width: 100%; height: auto; }
.poster-sub { font-size: 1.25rem; margin: 0; }
.poster-url { font-size: 0.875rem; margin: 0; word-break: break-all; }
@media print {
  .site-header, .site-footer, .no-print, .demo-strip, .app-nav, .jump { display: none !important; }
  body, main { background: #fff !important; padding: 0 !important; }
  .poster { border: 0; }
}
