/* Booking (Operate mode): profile band, a white sheet pulled over it, big tap targets. */
.muted { color: var(--muted); }
.note { padding: 16px; background: var(--mint); border-radius: var(--r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.profile { padding: 48px 0 96px; }
.profile-row { display: flex; gap: 24px; align-items: center; max-width: 1040px; }
.avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 4px var(--green-raised); }
.profile h1 { font-size: var(--step-head); }
.profile .bio { margin-top: 8px; max-width: 60ch; color: var(--on-green-muted); }
.profile .socials { margin: 8px 0 0 -10px; }
/* inside one session the profile shrinks to a byline, as the booking tool in use does */
.in-session .profile { padding: 24px 0 88px; }
.in-session .profile-row { gap: 16px; }
.in-session .avatar { width: 48px; height: 48px; box-shadow: none; }
.in-session .profile h1 { font-size: var(--step-lead); }
.in-session .profile .bio, .in-session .profile .socials { display: none; }

.book-body { max-width: 1040px; margin-top: -64px; padding-bottom: 96px; }
.sheet { background: #fff; border-radius: 0; padding: clamp(24px, 3vw, 40px); box-shadow: 0 24px 48px -32px rgba(14, 44, 36, 0.35); }
.sheet h2 { font-size: var(--step-lead); margin-bottom: 16px; }

.sessions { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.s-card { all: unset; box-sizing: border-box; cursor: pointer; display: grid; border: 1px solid var(--line); border-radius: 0; overflow: hidden; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.s-card:hover { border-color: var(--green); }
.s-card:active { transform: scale(0.99); }
.s-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.s-title { padding: 24px 24px 24px; font: 700 var(--step-lead)/1.3 var(--serif); color: var(--ink); }
.s-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; background: var(--cream); }
.s-foot b { display: block; font-size: var(--step-small); color: var(--ink); }
.s-foot small { color: var(--muted); font-size: var(--step-label); }
.price-pill { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 0; background: var(--green); color: var(--on-green); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-pill .arrow { transition: transform 180ms var(--ease-out); }
.s-card:hover .price-pill .arrow { transform: translateX(3px); }


.back { --focus: var(--gold); all: unset; cursor: pointer; display: inline-flex; gap: 8px; padding: 8px 0; margin-bottom: 16px; font-weight: 600; color: var(--on-green); }
.back:focus-visible { outline: 3px solid var(--focus); }
.pick .back { --focus: var(--ochre); color: var(--ink); margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; padding: 0; }
.split > section { padding: clamp(24px, 3vw, 40px); min-width: 0; }
.split > .pick { border-left: 1px solid var(--line); }
.info h2 { font-size: var(--step-figure); margin-bottom: 8px; }
.s-meta { color: var(--muted); white-space: pre; }
.chip { display: inline-block; margin: 16px 0 24px; padding: 4px 16px; border: 1px solid var(--line); border-radius: 0; font: 700 var(--step-lead)/1.5 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; white-space: pre-line; }
.s-desc p { max-width: 60ch; }
.s-desc p + p { margin-top: 16px; }

.pick h3 { font: 600 var(--step-body)/1.4 var(--sans); color: var(--ink); letter-spacing: 0; margin: 24px 0 8px; }
.pick-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pick-head h3, .pick-head h2 { margin: 0; }
.arrows { display: flex; gap: 8px; }
.arrow-btn { all: unset; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.arrow-btn:hover { border-color: var(--green); }
.arrow-btn:focus-visible { outline: 3px solid var(--focus); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 16px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 80px; padding: 8px 0; text-align: center; border-radius: var(--r); border: 1px solid var(--line); scroll-snap-align: start; display: grid; gap: 2px; }
.day span { font: 500 var(--step-label)/1.2 var(--sans); color: var(--muted); }
.day b { font-size: var(--step-small); color: var(--ink); }
.day small { font-size: var(--step-label); color: var(--coral-ink); font-weight: 600; }
.day:hover { border-color: var(--green); }
.day:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.day[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.day[aria-pressed="true"] span, .day[aria-pressed="true"] b { color: var(--on-green); }
.day[aria-pressed="true"] small { color: var(--gold); }
.periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 0; background: var(--cream); margin-bottom: 16px; }
.period { all: unset; cursor: pointer; text-align: center; padding: 8px; border-radius: 0; font-size: var(--step-small); font-weight: 600; color: var(--muted); }
.period[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(14, 44, 36, 0.15); }
.period:disabled { opacity: 0.4; cursor: default; }
.period:focus-visible { outline: 3px solid var(--focus); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; min-height: 48px; }
.times > p { grid-column: 1 / -1; }
.time { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 12px 8px; border-radius: 0; border: 1px solid var(--line); font-weight: 600; font-size: var(--step-small); color: var(--ink); font-variant-numeric: tabular-nums; }
.time:hover { border-color: var(--green); }
.time:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.time[aria-pressed="true"] { background: var(--gold); border-color: var(--ochre); color: var(--green-deep); }
.pick-foot { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 24px; flex-wrap: wrap; }
.tz { color: var(--muted); font-size: var(--step-small); }
.tz select { font: 500 var(--step-small) var(--sans); color: var(--ink); border: 1px solid var(--line-input); border-radius: 0; padding: 8px; background: #fff; max-width: 220px; }
.btn[disabled] { opacity: 1; background: #e6e1d3; color: var(--muted); box-shadow: none; cursor: not-allowed; }
.btn.wide { width: 100%; }

.summary { --focus: var(--gold); text-align: center; padding: 24px; border-radius: 0; background: var(--green); color: var(--on-green); margin-bottom: 24px; }
.summary h3 { margin: 0 0 4px; color: var(--on-green); }
.summary p { color: var(--on-green-muted); font-size: var(--step-small); }
.summary .sum-price { margin-top: 8px; font: 300 var(--step-figure)/1.2 var(--display); color: var(--coral); white-space: pre-line; }
#form { display: grid; gap: 16px; }
.field { display: grid; gap: 4px; font-weight: 500; font-size: var(--step-small); color: var(--ink); }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: 500 var(--step-body)/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-input); border-radius: 0; padding: 12px 14px; width: 100%; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); border-color: var(--focus); }
.field input:user-invalid { border-color: var(--coral-ink); }
.gst-box summary { cursor: pointer; font-weight: 600; font-size: var(--step-small); color: var(--ink); padding: 8px 0; }
.gst-box .field { margin-top: 8px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step-small); }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.status { color: var(--muted); font-size: var(--step-small); }
.status:empty { display: none; }
.status.err { color: var(--coral-ink); font-weight: 600; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split > .pick { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .profile { padding: 32px 0 80px; }
  .profile-row { align-items: flex-start; gap: 16px; }
  .avatar { width: 80px; height: 80px; }
  .sessions { grid-template-columns: 1fr; }
  .pick-foot .btn { width: 100%; }
}

/* manage page */
.book-hero { padding: 48px 0 96px; }
.book-hero h1 { font-size: var(--step-head); }
.book-body.manage { background: #fff; border-radius: 0; padding: clamp(24px, 3vw, 40px); box-shadow: 0 24px 48px -32px rgba(14, 44, 36, 0.35); margin-bottom: 96px; }
.step { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.link-btn { all: unset; cursor: pointer; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.link-btn:focus-visible { outline: 3px solid var(--focus); }
.pay-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.manage { display: grid; gap: 24px; }
.manage > * { min-width: 0; }
.manage .tz { display: block; margin-top: 16px; }
.ticket { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; }
.ticket .when { font: 700 var(--step-lead)/1.3 var(--serif); color: var(--ink); }
.badge { justify-self: start; display: inline-block; padding: 4px 12px; border-radius: 0; font-size: var(--step-small); font-weight: 600; background: var(--mint); color: var(--ink); }
.badge.bad { background: #f6e3dc; color: var(--coral-ink); }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .pay-row .btn { width: 100%; } }

/* ---------- Inside the /consult pop-up: just the picker ---------- */
.embed body::before, .embed .site-head, .embed .site-foot, .embed .profile, .embed #back { display: none; }
.embed body { background: var(--paper); }
.embed .book-body { margin-top: 0; padding: 0 0 24px; max-width: none; }
.embed .book-body .sheet { box-shadow: none; }
