/* Public booking pages: phone first, big tap targets, the business's own color as --accent. */
:root { --line: #E1DFDD; --muted: #605E5C; --bg: #F6F5F4; --text: #201F1E; color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.45 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 560px; margin: 0 auto; padding: 16px 16px calc(40px + env(safe-area-inset-bottom)); }
.wrap.narrow { max-width: 440px; }
h1 { font-size: 24px; margin: 8px 0 14px; } h2 { font-size: 19px; margin: 0 0 6px; } h3 { font-size: 15px; margin: 0 0 4px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.biz { display: flex; align-items: center; gap: 12px; padding: 6px 0 16px; }
.biz-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; }
.biz-mark { width: 52px; height: 52px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.biz-name { font-size: 20px; font-weight: 700; } .biz-sub { font-size: 13px; color: var(--muted); }
.card { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-bottom: 12px; }
.step-head { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.step-head h2 { margin: 0; flex: 1; }
.back { border: 0; background: none; color: var(--accent); font-size: 15px; padding: 8px 4px; cursor: pointer; }
.picks { display: flex; flex-direction: column; gap: 10px; }
.pick { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; font: inherit; color: inherit; cursor: pointer; min-height: 60px; }
.pick:hover, .pick:focus-visible { border-color: var(--accent); outline: none; }
.pick b { display: block; font-size: 16px; } .pick small { color: var(--muted); font-size: 13.5px; } .pick .price { font-weight: 600; white-space: nowrap; }
.summary { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.summary span { background: color-mix(in srgb, var(--accent) 10%, white); color: color-mix(in srgb, var(--accent) 80%, black); border-radius: 999px; padding: 4px 12px; font-size: 13.5px; font-weight: 600; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.day { flex: 0 0 64px; scroll-snap-align: start; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 4px; text-align: center; font: inherit; color: inherit; cursor: pointer; }
.day small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; } .day b { display: block; font-size: 20px; }
.day:disabled { opacity: .35; cursor: default; } .day.on { background: var(--accent); border-color: var(--accent); color: #fff; } .day.on small { color: #fff; }
.day.more { flex-basis: 76px; font-size: 13px; color: var(--accent); font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 4px; font: inherit; font-weight: 600; color: inherit; cursor: pointer; }
.slot:hover, .slot:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.zone { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px; border: 1.5px solid #C8C6C4; border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-block; font: inherit; font-size: 15px; border: 1.5px solid #C8C6C4; background: #fff; color: var(--text); border-radius: 10px; padding: 10px 16px; cursor: pointer; text-decoration: none; text-align: center; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn.big { width: 100%; padding: 14px 18px; font-size: 16.5px; } .btn.danger { color: #A4262C; border-color: #E8B4B8; }
.btn:disabled { opacity: .55; cursor: default; }
.actions { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 16px; } .actions form { margin: 0; }
.error { background: #FDE7E9; color: #A4262C; border-radius: 10px; padding: 10px 12px; }
.notice { background: color-mix(in srgb, var(--accent) 10%, white); border-left: 4px solid var(--accent); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #EDEBE9; }
.pill.ok { background: #DFF6DD; color: #0B5A2E; } .pill.warn { background: #FFF4CE; color: #7A5300; } .pill.bad { background: #FDE7E9; color: #A4262C; }
.when { font-size: 18px; font-weight: 600; margin: 10px 0 4px; }
.done { text-align: center; padding: 24px 16px; } .done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto 10px; }
.policy { font-size: 13.5px; color: var(--muted); margin-top: 18px; } .policy p { margin: 0; white-space: pre-line; }
.foot { text-align: center; color: #8A8886; font-size: 12.5px; margin-top: 28px; } .foot a { color: inherit; }
.empty { text-align: center; color: var(--muted); padding: 18px 8px; }
/* sign-in pages */
.auth .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: #A23B72; margin: 24px 0 14px; }
.auth h1 { font-size: 22px; margin-top: 0; }
.slug-row { display: flex; align-items: center; gap: 2px; font-weight: 400; } .slug-row span { font-size: 13px; white-space: nowrap; } .slug-row input { flex: 1; min-width: 0; }
@media (min-width: 600px) { .wrap { padding-top: 32px; } .slots { grid-template-columns: repeat(4, 1fr); } }
