body { background: var(--bg); }
.wrap { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: #fff; display: flex; flex-direction: column; }
@media (min-width: 520px) { .wrap { margin: 24px auto; min-height: calc(100vh - 48px); border-radius: 24px; border: 1px solid var(--line); overflow: hidden; } }
.top { padding: 20px 20px 14px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid #EEECF1; position: sticky; top: 0; background: #fff; z-index: 5; }
.salon { font-weight: 800; font-size: 16px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.progress span { height: 4px; border-radius: 2px; background: var(--line); }
.progress span.on { background: var(--accent); }
.body { flex: 1 1 auto; padding: 18px 20px 24px; }
.body section { display: flex; flex-direction: column; gap: 16px; }
.body h1 { font-size: 22px; font-weight: 800; }
.cat { display: flex; flex-direction: column; gap: 8px; }
.cat-title { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.opt { display: flex; align-items: center; gap: 12px; justify-content: space-between; width: 100%; min-height: 60px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; }
.opt[aria-pressed="true"] { border: 2px solid var(--accent); background: #FBF5FA; padding: 9px 13px; }
.opt .t { font-weight: 700; display: block; }
.opt .s { font-size: 12px; color: var(--muted); font-weight: 600; display: block; margin-top: 3px; }
.opt .p { font-weight: 800; white-space: nowrap; }
.av { width: 48px; height: 48px; border-radius: 24px; background: #ECEBF0; color: var(--ink-2); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.date { flex: none; width: 58px; height: 72px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; }
.date b { font-size: 20px; }
.date span { font-size: 12px; font-weight: 700; }
.date small { font-size: 10px; color: var(--muted); font-weight: 700; }
.date[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.date[aria-pressed="true"] small { color: #D9D6DF; }
.date:disabled { opacity: .4; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.time { height: 48px; border-radius: 12px; border: 1px solid #CFCBD6; background: #fff; font-weight: 800; cursor: pointer; }
.time[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.summary { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--bg); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.summary b { color: var(--ink); font-size: 15px; }
#form { display: flex; flex-direction: column; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.err { color: var(--bad); font-weight: 700; font-size: 14px; }
.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 24px; }
.done-ico { width: 72px; height: 72px; border-radius: 36px; background: var(--ok-bg); color: var(--ok-ink); display: flex; align-items: center; justify-content: center; }
.foot { position: sticky; bottom: 0; padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #EEECF1; display: flex; align-items: center; gap: 12px; background: #fff; }
.foot .btn { min-height: 52px; padding: 0 22px; border-radius: 14px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { padding: 16px; border-radius: 14px; background: var(--bg); color: var(--ink-2); font-size: 14px; }
