/* Rezervace V1 Salon - rozměry 1:1 z Figmy (Rezervace / 1 Služba a barber, 2 Termín, 3 Údaje a potvrzení, 4 Hotovo; desktop 1440 a mobil 390) */

/* ---------- kroky (Stepper) ---------- */
.rsteps { background: var(--bg-raised); }
.rsteps[hidden] { display: none; }
.rsteps__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-24); max-width: var(--max); margin: 0 auto; padding: var(--s-20) var(--pad-x); }
.stepper { display: flex; align-items: center; gap: var(--s-40); }
.stepper__btn { display: flex; align-items: center; gap: var(--s-12); font: 500 14px/20px var(--sans); color: var(--text-tertiary); }
button.stepper__btn { cursor: pointer; }
button.stepper__btn:hover .stepper__label { color: var(--text-primary); }
.stepper__dot { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 1px solid var(--line-subtle); border-radius: 50%; }
.is-done .stepper__btn { color: var(--text-secondary); }
.is-done .stepper__dot { border-color: var(--line-strong); color: var(--text-primary); }
.is-current .stepper__btn { color: var(--text-primary); }
.is-current .stepper__dot { background: var(--text-primary); border-color: var(--text-primary); color: var(--text-on-light); }
.rsteps__tel { display: inline-flex; align-items: center; gap: var(--s-8); font: 500 14px/20px var(--sans); color: var(--text-secondary); white-space: nowrap; }
.rsteps__tel:hover { color: var(--text-primary); }

/* ---------- rozvržení kroků ---------- */
.rez { max-width: var(--max); margin: 0 auto; padding: var(--s-64) var(--pad-x) var(--s-96); }
[data-rez][data-step="4"] > .rez { display: none; }
[data-rez] [hidden], .bbar[hidden], .bbar [hidden] { display: none !important; }
.rpanel--2 { display: flex; flex-direction: column; gap: var(--s-40); }
.rlayout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-80); align-items: start; }
.rmain { display: flex; flex-direction: column; gap: var(--s-64); }
.rpanel--3 .rmain { gap: var(--s-40); }
.rhead { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-16); }
.rhead .display-m, .rhead p { max-width: 840px; }
.rback { display: inline-flex; align-items: center; gap: var(--s-8); font: 500 14px/20px var(--sans); color: var(--text-secondary); }
.rback:hover { color: var(--text-primary); }
.rblock { display: flex; flex-direction: column; gap: var(--s-24); }
.rblock__head { display: flex; flex-direction: column; gap: var(--s-8); }
.rside-slot { min-width: 0; align-self: stretch; } /* celá výška řádku = sticky souhrn má kam jet */
.rside { position: sticky; top: 112px; display: flex; flex-direction: column; gap: var(--s-16); }
.rside__actions { display: flex; flex-direction: column; gap: var(--s-16); }
.rinfo { display: flex; align-items: flex-start; gap: var(--s-8); }
.rinfo .icon { margin-top: 1px; color: var(--text-tertiary); }
.rinfo > span, .rinfo > .body-s { flex: 1; min-width: 0; }
.rinfo--xs { align-items: flex-start; }
.rinfo--xs .icon { margin-top: 1px; }
.rinfo:has(.icon--20) { align-items: center; }
.rinfo:has(.icon--20) .icon { margin-top: 0; color: var(--text-secondary); }
.rlink { display: inline-flex; align-items: center; gap: var(--s-8); align-self: flex-start; font: 500 14px/20px var(--sans); color: var(--text-secondary); text-align: left; }
.rlink:hover { color: var(--text-primary); }
.rlink--u { text-decoration: underline; text-underline-offset: 4px; }
.rnoscript { display: flex; flex-direction: column; gap: var(--s-8); padding: var(--s-32); margin-bottom: var(--s-32); background: var(--bg-raised); border-radius: var(--radius-s); }
.rnoscript a { text-decoration: underline; text-underline-offset: 4px; }

/* poznámka o voucheru */
.vnote { display: flex; align-items: flex-start; gap: var(--s-12); max-width: 640px; padding: var(--s-16) var(--s-20); background: var(--bg-raised); border-radius: var(--radius-s); }
.vnote[hidden] { display: none; }
.vnote > .icon { margin-top: 2px; color: var(--gold); }
.vnote p { margin: 0; }
.vnote__body { display: flex; flex-direction: column; gap: var(--s-8); }

/* souhrn rezervace (BookingSummary) */
.sum { display: flex; flex-direction: column; gap: var(--s-24); padding: var(--s-32); background: var(--bg-raised); border-radius: var(--radius-s); }
.sum__rows { display: flex; flex-direction: column; gap: var(--s-20); }
.sum__row { display: flex; flex-direction: column; gap: var(--s-4); }
.sum__row .numeral-l { color: var(--text-primary); }

/* ---------- výběrová pole: ServiceCard, BarberCard (rádius 26, kroužek volby, vybraný = zlatý rámeček) ---------- */
.opts { display: flex; flex-direction: column; gap: var(--s-8); }
.opt, .bopt {
  position: relative; display: grid; align-items: center; background: var(--bg-raised); border: 1px solid var(--line-subtle);
  border-radius: var(--radius-field); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.opt:hover, .bopt:hover { border-color: var(--line-strong); }
.opt:has(input:checked), .bopt:has(input:checked) { border-color: var(--gold); }
.opt:has(input:focus-visible), .bopt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.opt__radio { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; }
.opt:has(input:checked) .opt__radio, .bopt:has(input:checked) .opt__radio { border-color: var(--gold); }
.opt:has(input:checked) .opt__radio::after, .bopt:has(input:checked) .opt__radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.opt { grid-template-columns: 24px minmax(0, 1fr) auto; align-items: start; gap: var(--s-16); padding: var(--s-20) var(--s-24); }
.opt__desc { margin-top: var(--s-4); max-width: 62ch; text-wrap: pretty; } /* co služba obsahuje (#4) */
.opt__info { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.opt__meta { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); }
.opt__dur { display: inline-flex; align-items: center; gap: var(--s-4); }
.opt.is-off, .bopt.is-off { cursor: default; }
.bopt.is-off { opacity: .6; }
.bopt.is-off:hover { border-color: var(--line-subtle); }

.bgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-24) var(--s-16); }
.bopt { grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; gap: var(--s-24); padding: var(--s-20); } /* fotka na celou výšku karty */
.bopt--any { grid-column: 1 / -1; }
.portrait--l { width: 100%; height: 100%; min-height: 120px; border-radius: 9999px 9999px 2px 2px; }
.portrait--l.portrait--initial { display: grid; place-items: center; font: 400 44px/52px var(--serif); padding-top: 16px; }
.page-rez .portrait--initial { color: var(--text-secondary); }
.bopt__team { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: var(--s-4); width: 100%; height: 100%; min-height: 120px; }
.mini { width: 100%; height: 100%; border-radius: 9999px 9999px 2px 2px; overflow: hidden; background: var(--bg-slate); }
.mini img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.mini--initial { display: grid; place-items: center; padding-top: 4px; font: 400 28px/36px var(--serif); color: var(--text-secondary); }
.bopt__info { display: flex; flex-direction: column; gap: var(--s-12); min-width: 0; }
.bopt__who { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.bopt__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); }
.bopt__avail { display: flex; flex-direction: column; gap: var(--s-4); }
.bopt__free { display: inline-flex; align-items: center; gap: var(--s-8); color: var(--gold); }
.bopt__free.is-muted { color: var(--text-secondary); }

/* ---------- 2 Termín ---------- */
.selbarber { display: none; }
.rstrip { display: flex; flex-direction: column; gap: var(--s-16); }
.rstrip__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); }
.rstrip__head p { margin-left: auto; }
/* 60 dní dopředu (#4): pás se posouvá, na desktopu 14 dní najednou, šipky po 90 % šířky */
.rstrip__nav { display: flex; gap: var(--s-8); }
.rstrip__nav[hidden] { display: none; }
.rstrip__arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--text-primary); cursor: pointer; transition: border-color .2s var(--ease), opacity .2s var(--ease);
}
.rstrip__arrow:hover:not([aria-disabled="true"]) { border-color: var(--text-primary); }
.rstrip__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.rstrip__arrow[aria-disabled="true"] { opacity: .35; cursor: default; }
.dstrip { display: flex; gap: var(--s-12); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding: 4px; margin: -4px; scroll-padding-inline: 4px; }
.dstrip::-webkit-scrollbar { display: none; }
.dchip {
  flex: 0 0 calc((100% - 13 * var(--s-12)) / 14); min-width: 64px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: var(--s-4); padding: var(--s-16) var(--s-4);
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); text-align: center; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.dchip:hover:not(:disabled) { border-color: var(--text-primary); }
.dchip__wd { color: var(--text-secondary); }
.dchip__num { color: var(--text-primary); font-variant-numeric: tabular-nums; }
.dchip__info { color: var(--text-secondary); white-space: nowrap; }
.dchip.is-today:not([aria-pressed="true"]) .dchip__wd { color: var(--gold); }
.dchip.is-off { border-color: var(--line-subtle); cursor: default; }
.dchip.is-off .dchip__wd, .dchip.is-off .dchip__num, .dchip.is-off .dchip__info { color: var(--text-tertiary); }
.dchip.is-off.is-today .dchip__wd { color: var(--gold); }
.dchip[aria-pressed="true"] { background: var(--text-primary); border-color: var(--text-primary); }
.dchip[aria-pressed="true"] .dchip__wd, .dchip[aria-pressed="true"] .dchip__num { color: var(--text-on-light); }
.dchip[aria-pressed="true"] .dchip__info { color: var(--text-on-light-muted); }

.rtimes { display: flex; flex-direction: column; gap: var(--s-24); min-width: 0; }
.rtimes__head { display: flex; flex-direction: column; gap: var(--s-8); }
.trows { display: flex; flex-direction: column; gap: var(--s-12); }
.trows--rest { gap: var(--s-12); }
.trow { display: flex; align-items: flex-start; gap: var(--s-32); padding: var(--s-24); background: var(--bg-raised); border-radius: var(--radius-s); }
.trow__who { display: flex; align-items: flex-start; gap: var(--s-16); width: 296px; flex: none; }
.trow__info { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.trow__free { display: inline-flex; align-items: center; gap: var(--s-8); padding-top: var(--s-4); color: var(--gold); }
.trow__free--muted { color: var(--text-secondary); }
.trow__slots { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--s-8); }
.trow__slots--next { display: block; }
.trow__next { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-12); }
.slots__grp, .slots__row { display: contents; }
.slots__gl { display: none; }
.rtimes .slot { font-variant-numeric: normal; }
.slot.is-busy { border-color: var(--gold); color: var(--gold); }
.is-holding .slot:not(.is-busy) { pointer-events: none; opacity: .6; }
.slot:disabled { cursor: default; }
button.slot { cursor: pointer; }

.notice { display: flex; align-items: flex-start; gap: var(--s-16); padding: var(--s-24); background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-s); }
.notice > .icon { margin-top: 2px; color: var(--text-secondary); }
.notice__t { display: flex; flex-direction: column; gap: var(--s-8); min-width: 0; }
.notice a, .emptybox a { text-decoration: underline; text-underline-offset: 4px; }
.alert { display: flex; align-items: flex-start; gap: var(--s-12); padding: var(--s-16) var(--s-20); background: var(--bg-sunken); border: 1px solid var(--state-error); border-radius: var(--radius-s); }
.alert > .icon { margin-top: 2px; color: var(--state-error); }
.alert__t { display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; }
.emptybox, .holdbox__in { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-16); padding: var(--s-32); background: var(--bg-raised); border-radius: var(--radius-s); }
.emptybox .icon--32, .holdbox__in .icon--32 { color: var(--text-secondary); }
.emptybox__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-24); }
.icon--20 { width: 20px; height: 20px; }
.icon--32 { width: 32px; height: 32px; }
.holdbox { margin-bottom: 0; }
.holdbox[hidden] { display: none; }

/* kostra načítání (bg/sunken) */
.sk { display: block; background: var(--bg-sunken); border-radius: var(--radius-s); }
.sk--card { height: 86px; border-radius: var(--radius-field); margin-bottom: var(--s-8); }
.sk--bcard { height: 168px; border-radius: var(--radius-field); grid-column: 1 / -1; }
.sk--portrait { width: 52px; height: 68px; border-radius: 26px 26px 2px 2px; flex: none; }
.sk--line { height: 16px; width: 140px; margin-bottom: var(--s-8); }
.sk--line.sk--s { width: 96px; height: 12px; }
.sk--line.sk--m { width: 120px; height: 12px; margin-bottom: 0; }
.sk--chip { width: 72px; height: 38px; border-radius: var(--radius-pill); }
.trow--sk .trow__info { gap: 0; }
@media (prefers-reduced-motion: no-preference) { .sk { animation: sk 1.4s ease-in-out infinite; } @keyframes sk { 50% { opacity: .55; } } }

/* ---------- 3 Údaje a potvrzení ---------- */
.rform { display: flex; flex-direction: column; gap: var(--s-24); max-width: 640px; }
.field { display: flex; flex-direction: column; gap: var(--s-8); }
.field__label { display: flex; align-items: baseline; gap: var(--s-8); font: 500 14px/20px var(--sans); color: var(--text-primary); }
.field__opt { font: 400 13px/18px var(--sans); color: var(--text-tertiary); }
.field__ctl { display: flex; align-items: center; gap: var(--s-12); height: 52px; padding: 0 var(--s-24); background: var(--bg-sunken); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field__ctl input { flex: 1; min-width: 0; height: 100%; padding: 0; background: none; border: 0; outline: 0; font: 400 16px/26px var(--sans); color: var(--text-primary); }
.field__ctl input::placeholder { color: var(--text-tertiary); opacity: 1; }
.field__ctl input:-webkit-autofill { -webkit-text-fill-color: var(--text-primary); box-shadow: 0 0 0 100px var(--bg-sunken) inset; caret-color: var(--text-primary); }
.field__ctl:hover { border-color: var(--text-secondary); }
.field__ctl:focus-within { border-color: var(--text-primary); box-shadow: 0 0 0 .5px var(--text-primary); }
.field__err { display: none; color: var(--state-error); }
.field.is-invalid .field__ctl { border-color: var(--state-error); box-shadow: 0 0 0 .5px var(--state-error); }
.field.is-invalid .field__err { display: block; }
.field__help { display: flex; align-items: flex-start; gap: var(--s-8); font: 400 13px/18px var(--sans); color: var(--text-tertiary); }
.field__help[hidden] { display: none; }
.field__help .icon { margin-top: 1px; }
.field.is-invalid .field__help { color: var(--state-error); }
.vfield { display: flex; gap: var(--s-12); }
.vfield .field__ctl { flex: 1; min-width: 0; }
.vfield .btn { flex: none; height: 52px; padding: 0 var(--s-24); }
.vfield input { text-transform: uppercase; letter-spacing: .04em; }
.vfield input::placeholder { text-transform: none; letter-spacing: 0; }
.vfield input[readonly] { color: var(--gold); }
.check { display: flex; align-items: flex-start; gap: var(--s-12); cursor: pointer; }
.check__box { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border: 1px solid var(--line-strong); border-radius: var(--radius-s); color: transparent; }
.check:has(input:checked) .check__box { background: var(--text-primary); border-color: var(--text-primary); color: var(--text-on-light); }
.check:has(input:focus-visible) .check__box { outline: 2px solid var(--gold); outline-offset: 3px; }
.field--check.is-invalid .check__box { border-color: var(--state-error); }
.check a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 4px; }
.rform__turnstile:empty { display: none; }
.rform__turnstile { margin-bottom: var(--s-16); }
.rform__actions { display: flex; align-items: center; gap: var(--s-24); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn:disabled { opacity: .45; pointer-events: none; }
.minisum { display: none; }

/* ---------- 4 Hotovo ---------- */
.done { display: grid; grid-template-columns: 740px minmax(0, 1fr); max-width: var(--max); margin: 0 auto; }
.done__main { display: flex; flex-direction: column; gap: var(--s-40); padding: var(--s-96) var(--s-64) var(--s-96) var(--pad-x); }
.done__head { display: flex; flex-direction: column; gap: var(--s-24); }
.done__state { display: inline-flex; align-items: center; gap: var(--s-12); }
.done__tick { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.dsum { display: flex; flex-direction: column; gap: var(--s-24); padding: var(--s-32); background: var(--bg-raised); border-radius: var(--radius-s); }
.dsum__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-24); }
.dsum__grid > div { display: flex; flex-direction: column; gap: var(--s-4); }
.dsum__grid dd { margin: 0; }
.dsum__map { position: relative; display: grid; place-items: center; height: 160px; border-radius: var(--radius-s); background: var(--bg-sunken) url("/assets/img/mapa-tmava-1600.webp") 50% 49% / cover no-repeat; color: var(--gold); }
.done__actions { display: flex; flex-wrap: wrap; gap: var(--s-16); }
.done__info { display: flex; flex-direction: column; gap: var(--s-12); }
.done__info li { display: flex; align-items: flex-start; gap: var(--s-8); }
.done__info .icon { margin-top: 1px; color: var(--text-secondary); }
.done__gift { display: inline-flex; align-items: center; align-self: flex-start; gap: var(--s-12); }
.done__gift > .icon { color: var(--text-secondary); }
.done__gift > span { display: flex; flex-direction: column; gap: var(--s-2); }
.done__gift-t { display: inline-flex; align-items: center; gap: var(--s-8); }
.done__gift:hover .done__gift-t { text-decoration: underline; text-underline-offset: 4px; }
.done__photo { display: grid; place-items: center; padding: var(--s-40) var(--s-80) var(--s-64) 0; }
.done__arch { display: block; width: min(500px, 100%); aspect-ratio: 500 / 760; border-radius: 250px 250px 2px 2px; box-shadow: inset 0 0 40px rgba(0, 0, 0, .5); }
.done__title { max-width: 596px; }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .rlayout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-48); }
  .trow { flex-direction: column; gap: var(--s-20); }
  .trow__who { width: auto; }
  .done { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .done__main { padding-right: var(--s-32); }
  .done__photo { padding-right: var(--s-48); }
  .sum { padding: var(--s-24); }
}

/* ---------- mobil (Figma 390) ---------- */
@media (max-width: 1023px) {
  .rsteps__in { padding: var(--s-12) var(--s-20); }
  .stepper { gap: var(--s-12); }
  .stepper__btn { gap: var(--s-8); }
  .stepper__item:not(.is-current) .stepper__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .rsteps__tel span { display: none; }
  .rsteps__tel { justify-content: center; min-width: 44px; min-height: 44px; }
  .rsteps__tel .icon { width: 24px; height: 24px; }

  .rez { padding: var(--s-32) var(--pad-x) var(--s-40); }
  .rez:has(.rpanel--2:not([hidden])), .rez:has(.rpanel--3:not([hidden])) { padding-top: var(--s-24); }
  .rlayout { display: block; }
  .rside-slot { display: none; }
  .rmain { gap: var(--s-48); }
  .rpanel--3 .rmain { gap: var(--s-32); }
  .rpanel--3 .rhead__lead { display: none; }
  .rhead { gap: var(--s-12); }
  .rhead__lead { font: 400 15px/22px var(--sans); }
  .rblock { gap: var(--s-20); }
  .rpanel--1 .rhead + .rblock { margin-top: 0; }
  main.has-bbar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .opt { grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: var(--s-2) var(--s-12); padding: var(--s-16); }
  .opt__meta { grid-column: 2; flex-direction: row; align-items: center; gap: var(--s-12); padding-top: var(--s-4); }
  .bgrid { grid-template-columns: 1fr; gap: var(--s-8); }
  .bopt { grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-16); padding: var(--s-16); }

  .rpanel--2 { gap: var(--s-32); }
  .selbarber { display: flex; align-items: center; gap: var(--s-16); padding: var(--s-16); background: var(--bg-raised); border-radius: var(--radius-s); }
  .selbarber[hidden] { display: none; }
  .selbarber__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s-2); }
  .rstrip { gap: var(--s-12); }
  .dstrip { gap: var(--s-8); overflow-x: auto; margin-right: calc(-1 * var(--pad-x)); padding-right: var(--pad-x); scrollbar-width: none; scroll-snap-type: x proximity; }
  .dstrip::-webkit-scrollbar { display: none; }
  .dchip { flex: 0 0 64px; scroll-snap-align: start; }
  .rstrip__nav { display: none; }
  .rtimes { gap: var(--s-24); }
  .trow { gap: var(--s-16); padding: var(--s-16); }
  .trow__slots { gap: var(--s-8); }
  .trow .slot, .rtimes .slot { height: 46px; padding: 0 var(--s-20); }
  .trow--solo { padding: 0; background: none; gap: 0; }
  .trow--solo .trow__who { display: none; }
  .trow--solo .trow__slots { display: flex; flex-direction: column; flex-wrap: nowrap; gap: var(--s-24); }
  .trow--solo .slots__grp { display: flex; flex-direction: column; gap: var(--s-12); }
  .trow--solo .slots__gl { display: block; }
  .trow--solo .slots__row { display: flex; flex-wrap: wrap; gap: var(--s-8); }
  .trow__next { gap: var(--s-12); }
  .notice, .emptybox, .holdbox__in { padding: var(--s-20); }
  .notice { gap: var(--s-12); }

  .minisum { display: flex; flex-direction: column; gap: var(--s-8); padding: var(--s-20); background: var(--bg-raised); border-radius: var(--radius-s); }
  .minisum__top { display: flex; justify-content: space-between; gap: var(--s-16); }
  .minisum__hold { display: flex; align-items: center; gap: var(--s-8); padding-top: var(--s-8); }
  .rform { max-width: none; }
  .rform .rform__actions { display: none; }
  .rform .rinfo .body-s { font: 400 13px/18px var(--sans); }
  .rform .rinfo .icon { width: 16px; height: 16px; }

  .bbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--s-16);
    padding: var(--s-12) var(--s-20) calc(var(--s-12) + env(safe-area-inset-bottom)); background: var(--bg-raised); box-shadow: 0 -1px 0 var(--line-subtle);
  }
  .bbar__txt { min-width: 0; flex: 1; }
  .bbar__txt p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 20px; }
  .bbar__txt .body-xs { line-height: 18px; }

  .done { display: block; }
  .done__photo { display: none; }
  .done__main { gap: var(--s-32); padding: var(--s-40) var(--pad-x) var(--s-48); }
  .done__head { gap: var(--s-16); }
  .done__title { font: 400 40px/48px var(--serif); }
  .done__mail { font: 400 15px/22px var(--sans); }
  .dsum { gap: var(--s-20); padding: var(--s-24) var(--s-20); }
  .dsum__grid { grid-template-columns: 1fr; gap: var(--s-20); }
  .dsum__map { height: 140px; }
  .done__actions { flex-direction: column; gap: var(--s-12); }
  .done__actions .btn { width: 100%; }
}
@media (min-width: 1024px) { .bbar { display: none !important; } }
@media (max-width: 767px) { .done__title { font: 400 40px/48px var(--serif); } }
@media (min-width: 768px) and (max-width: 1023px) { .dchip { flex-basis: calc((100% - 6 * var(--s-12)) / 7); } }
@media (min-width: 768px) and (max-width: 1023px) { .rez, .done__main { max-width: 760px; margin-left: auto; margin-right: auto; } .done__title { font: 400 56px/64px var(--serif); } }
