.schedule-view { display:grid; gap:1.25rem; min-width:0 }
.schedule-view :is(button,select,input,textarea) { font:inherit }
.schedule-view button { cursor:pointer }
.schedule-view h2,.schedule-view h3,.schedule-view p { margin:0 }
.schedule-view h2 { font-size:clamp(1.35rem,2.1vw,1.8rem); letter-spacing:-.04em }
.schedule-view h3 { font-size:1.08rem; letter-spacing:-.02em }
.schedule-view .cal-toolbar,.schedule-view .cal-heading,.schedule-view .cal-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.65rem }
.schedule-view .cal-heading { justify-content:space-between; gap:1rem }
.schedule-view .cal-toolbar { justify-content:space-between }
.schedule-view .cal-toolbar .field { margin:0 }
.cal-nav { display:inline-flex; border:1px solid #cbd9d3; border-radius:.75rem; overflow:hidden; background:white }
.cal-nav button { appearance:none; padding:.5rem .8rem; min-height:44px; border:0; color:#102f36; background:none; font-weight:650 }
.cal-nav button:hover,.cal-nav button:focus-visible { background:#d9f7e9 }
.cal-nav button+button { border-left:1px solid #dce6df }
.cal-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:.35rem; margin-top:1rem }
.cal-day { border:1px solid transparent; padding:.75rem .2rem .65rem; display:grid; gap:.12rem; align-content:start; justify-items:center; color:#102f36; background:#f8f9f3; border-radius:.75rem; min-height:74px; }
.cal-day:hover { background:#e8f7ef }
.cal-day[aria-pressed=true] { background:#102f36; color:#fff }
.cal-day small { font-size:.75rem }
.cal-day strong { font-size:1.25rem }
.cal-day-mark { width:5px; height:5px; display:block; margin-top:.15rem; border-radius:50%; background:#46636a }
.cal-day[aria-pressed=true] .cal-day-mark { background:#28dcaf }
.cal-day-mark.empty { visibility:hidden }
.cal-agenda { display:grid; gap:.55rem; margin-top:1rem }
.cal-visit { display:grid; grid-template-columns:minmax(4.5rem,auto) minmax(0,1fr) auto; align-items:center; gap:1rem; padding:.9rem 1rem; border:1px solid #cedad3; border-radius:.75rem; background:white; color:#102f36; text-align:left; width:100% }
.cal-visit:hover { border-color:#668087; background:#f8f9f3 }
.cal-visit-time { display:grid; line-height:1.45; border-left:3px solid #28dcaf; padding-left:.65rem }
.cal-visit-copy { display:grid; gap:.25rem; overflow-wrap:anywhere }
.cal-visit small,.cal-sub { font-size:.82rem; color:#46636a }
.cal-empty { padding:1.4rem 0; color:#46636a }
.cal-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem }
.cal-stack { display:grid; gap:1rem }
.cal-stack .field,.cal-grid .field,.cal-hours .field { display:grid; gap:.35rem; margin:0; min-width:0 }
.cal-stack :is(select,input:not([type=checkbox]):not([type=radio]),textarea),.cal-grid select,.cal-grid input,.cal-toolbar select,.cal-hours input[type=time] { min-height:44px; width:100%; background:white; border:1px solid #668087; border-radius:.55rem; box-sizing:border-box; color:#102f36; padding:.52rem .65rem }
.cal-stack textarea { resize:vertical }
.cal-stack fieldset { min-width:0; padding:0; margin:0; border:0 }
.cal-stack legend { margin:0 0 .5rem; padding:0; font-weight:650 }
.cal-options { display:flex; gap:.5rem; flex-wrap:wrap }
.cal-option { display:inline-flex; gap:.45rem; align-items:center; min-height:44px; border:1px solid #acbdb6; border-radius:.65rem; padding:.35rem .75rem; background:white; cursor:pointer; color:#102f36 }
.cal-option:has(input:checked) { background:#d9f7e9; border-color:#102f36 }
.cal-option input,.cal-check input { width:1.05rem; height:1.05rem; accent-color:#17634f }
.cal-check { display:flex; gap:.5rem; align-items:center; min-height:40px; cursor:pointer }
.cal-slot { border-radius:.6rem; padding:.55rem .85rem; min-height:44px; border:1px solid #668087; background:white; color:#102f36 }
.cal-slot[aria-pressed=true] { background:#102f36; color:#fff; border-color:#102f36 }
.cal-box { border:1px solid #cfdbd5; padding:1rem; border-radius:.8rem }
.cal-quote { display:grid; gap:.45rem; padding:1rem; background:#d9f7e9; border-radius:.8rem }
.cal-summary-line { display:flex; justify-content:space-between; gap:1rem; align-items:baseline }
.cal-summary-line>span:last-child { text-align:right }
.cal-note { font-size:.86rem; line-height:1.5; color:#46636a }
.cal-error { color:#902d43; font-weight:600 }
.cal-hours { display:grid; gap:.5rem }
.cal-hours-row { display:grid; align-items:center; gap:.55rem; grid-template-columns:minmax(5.5rem,.9fr) repeat(4,minmax(0,1fr)); padding:.6rem 0; border-bottom:1px solid #dce6df }
.cal-hours-row label span { display:block; font-size:.73rem; color:#46636a; margin-bottom:.16rem }
.cal-hours-row input[type=time] { padding:.35rem; min-height:38px }
.cal-hours-row input:disabled { opacity:.55; background:#f1f3ee }
.cal-side-list { display:grid; gap:.55rem }
.cal-side-item { display:flex; justify-content:space-between; gap:.8rem; align-items:center; flex-wrap:wrap; padding:.7rem 0; border-bottom:1px solid #dce6df }
.cal-detail-list { display:grid; gap:0 }
.cal-detail-list>div { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; border-bottom:1px solid #dce6df; padding:.65rem 0 }
.cal-detail-list dt { color:#46636a }
.cal-detail-list dd { margin:0; text-align:right; font-weight:600 }
@media (max-width:760px) {
 .cal-grid { grid-template-columns:1fr }
 .cal-week { gap:.15rem }
 .cal-visit { grid-template-columns:4rem 1fr; column-gap:.65rem }
 .cal-visit>.pill { grid-column:2; justify-self:start }
 .cal-hours-row { grid-template-columns:repeat(4,minmax(0,1fr)) }
 .cal-hours-row>.cal-check { grid-column:1/-1; min-height:28px }
}
@media (max-width:420px) {
 .cal-hours-row { grid-template-columns:repeat(2,minmax(0,1fr)) }
 .cal-day { min-height:67px; padding:.45rem .05rem }
 .cal-day strong { font-size:1rem }
 .cal-day small { font-size:.68rem }
}
.schedule-view [hidden] { display:none!important }
.cal-jump { appearance:none; border:0; background:transparent; color:#102f36; text-decoration:underline; text-underline-offset:.15em; padding:.2rem; cursor:pointer }

.booking-request {
  display:grid; grid-template-columns:minmax(0,1.45fr) minmax(16rem,1fr); gap:1rem;
  max-width:62rem; align-items:start;
}
.booking-fields { display:grid; gap:1rem; min-width:0; margin:0 }
.booking-fields .field { margin:0; gap:.3rem }
.booking-fields :is(select,input[type=date],input[type=time]) {
  display:block; width:100%; min-width:0; min-height:44px; font:inherit; font-size:16px;
}
.booking-pair { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:.8rem }
.booking-time,.booking-more,.booking-time [data-window] { display:grid; gap:.6rem }
.booking-flex,.booking-extra {
  display:flex; align-items:center; gap:.65rem; min-height:44px; color:var(--ink); cursor:pointer;
}
.booking-flex { width:fit-content }
.booking-flex input,.booking-extra input {
  flex:none; width:18px; height:18px; min-height:0; padding:0; margin:0; accent-color:var(--ink);
}
.booking-time [data-window] { background:var(--chalk); border-radius:10px; padding:.8rem }
.booking-time [data-window] .booking-pair { grid-template-columns:repeat(auto-fit,minmax(min(100%,7.5rem),1fr)) }
.booking-options { border-top:1px solid var(--line) }
.booking-options summary {
  display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:46px;
  font-weight:600; cursor:pointer; list-style:none;
}
.booking-options summary::-webkit-details-marker { display:none }
.booking-options summary::after {
  content:""; width:.5rem; height:.5rem; border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(45deg); margin-right:.35rem; transition:transform .12s ease;
}
.booking-options[open] summary::after { transform: rotate(225deg) }
.booking-options summary:focus-visible { outline:2px solid var(--ink); outline-offset:2px }
.booking-options fieldset { border:0; padding:0; min-width:0; margin:0 }
.booking-options legend { font-size:14px; font-weight:600; padding:0 }
.booking-extra span:last-child { margin-left:auto; color:var(--muted); white-space:nowrap }
.booking-more { gap:1rem; padding:.35rem 0 .5rem }
.booking-more [data-addons]:empty,.booking-review [data-error]:empty,.booking-review [data-quote]:empty { display:none }
.booking-review {
  min-width:0; display:grid; gap:1rem; padding:clamp(16px,2.1vw,28px);
  background:var(--mint); border-radius:16px;
}
.booking-total,.booking-lines>div { display:flex; align-items:baseline; justify-content:space-between; gap:1rem }
.booking-total { flex-wrap:wrap }
.booking-total h2 { font-size:1.1rem; letter-spacing:-.02em }
.booking-total strong { font-size:clamp(1.6rem,3vw,2.1rem); line-height:1.05; letter-spacing:-.045em }
.booking-duration { margin-top:.35rem !important; font-weight:600; font-size:.94rem }
.booking-when { color:var(--muted); font-size:.94rem }
.booking-terms { margin-top:.65rem !important; color:var(--ink); font-size:.94rem }
.booking-lines { display:grid; gap:.25rem; padding-top:.6rem; font-size:.88rem; margin:0 }
.booking-lines dt { overflow-wrap:anywhere }
.booking-lines dd { margin:0; white-space:nowrap }
.booking-review .btn { width:100%; min-height:46px }
.booking-empty { justify-items:start }
.booking-receipt { max-width:34rem; display:grid; justify-items:start; gap:.75rem }
.booking-receipt h2 { outline:0 }
.booking-receipt-icon { width:48px; height:48px; padding:10px; border-radius:14px; background:var(--mint) }
.booking-receipt-details {
  display:grid; gap:.25rem; width:100%; margin:.25rem 0; padding:.85rem 1rem;
  border-radius:10px; background:var(--chalk);
}
.booking-receipt .textlink { display:inline-flex; align-items:center; min-height:44px }
.booking-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0 }
@media(max-width:850px){ .booking-request { grid-template-columns:1fr; max-width:40rem } }
@media(max-width:360px){ .booking-pair { grid-template-columns:1fr } }
@media(prefers-reduced-motion:reduce){ .booking-options summary::after { transition:none } }

.schedule-view { grid-template-columns:minmax(0,1fr) }
.cal-toolbar .cal-actions { min-width:0; max-width:100% }
@media(max-width:600px) {
  .cal-week { grid-template-columns:repeat(auto-fit,minmax(min(100%,max(44px,4ch)),1fr)) }
  .cal-nav button { min-width:44px; padding-inline:clamp(6px,2.4vw,12px) }
}
.cal-agenda { grid-template-columns:minmax(0,1fr) }
@media(max-width:600px) {
  .cal-visit {
    min-width:0; grid-template-columns:max-content minmax(0,1fr);
    column-gap:10px; padding:10px 12px;
  }
  .cal-visit-copy,.cal-visit>.pill { min-width:0; overflow-wrap:anywhere }
  .cal-visit-time { padding-left:6px }
}
@media(max-width:360px) {
  .cal-visit>.pill { grid-column:1/-1 }
}

.booking-time-pick { display:inline-flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.35rem 1rem; min-height:44px; max-width:100%; margin:0 0 .65rem; padding:.5rem .85rem; border:1px solid #b2d8c5; background:#edf7f0; color:var(--ink); border-radius:12px; text-align:left }
.booking-time-pick span { font-weight:600; font-size:.85rem }
.booking-time-pick strong { font-variant-numeric:tabular-nums }
.booking-time-pick[aria-pressed=true] { background:var(--mint); border-color:#5f9987 }
.booking-stay { background:var(--chalk); border-radius:10px; padding:.8rem; min-width:0 }
.booking-stay .booking-pair { grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5rem),1fr)) }
.booking-fields .booking-handover { border-left:3px solid var(--mint); padding-left:.65rem; color:var(--ink); font-weight:600 }
