/* Dodatki do szaty aplikacji – publiczna strona rezerwacji (bez dolnej nawigacji). */
.main { padding: calc(18px + env(safe-area-inset-top, 0px)) 18px calc(28px + env(safe-area-inset-bottom, 0px)); }
.toast { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }

.step-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.step-head .back { width: 44px; height: 44px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink); flex: none; margin-top: 2px; }
.step-head .back svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-head .head { margin: 0; flex: 1; min-width: 0; }

.type-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 16px 16px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1.5px solid rgba(230, 220, 205, .6); min-height: 64px; }
.type-item + .type-item { margin-top: 10px; }
.type-item b { font-size: 16.5px; font-weight: 650; }
.type-item svg { width: 20px; height: 20px; stroke: var(--ink-3); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.type-item:active { background: var(--sage-l); }
.type-item[aria-pressed="true"] { border-color: var(--sage-d); background: var(--sage-l); }
.type-item[aria-pressed="true"] b { color: var(--sage-d); }

.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-nav h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; text-transform: capitalize; }
.cal-nav button { width: 44px; height: 44px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 22px; }
.cal-nav button:disabled { opacity: .3; }
.book-cal { background: var(--card); border-radius: 22px; padding: 12px 8px 10px; box-shadow: var(--shadow); border: 1.5px solid rgba(230, 220, 205, .6); }
.book-cal .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.book-cal .cal-wd { text-align: center; font-size: 12px; color: var(--ink-3); font-weight: 650; padding: 6px 0; letter-spacing: .04em; }
.book-cal .cal-day { aspect-ratio: 1 / 1.08; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 550; min-height: 44px; }
.book-cal .cal-day.out { color: #C4BDB0; pointer-events: none; }
.book-cal .cal-day.off { color: var(--ink-3); background: rgba(236, 227, 214, .35); pointer-events: none; }
.book-cal .cal-day.today { color: var(--sage-d); font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--sage); }
.book-cal .cal-day.sel { background: var(--ink); color: #fff; box-shadow: none; }

.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots .chip.slot { min-width: 88px; justify-content: center; min-height: 48px; font-size: 16px; }

.consent { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; flex: none; margin-top: 1px; position: relative; }
.consent input:checked { background: var(--sage-d); border-color: var(--sage-d); }
.consent input:checked::after { content: ''; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent.bad { border-color: var(--rose); }
.consent em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--ink-3); }
.rodo-box { font-size: 13px; color: var(--ink-2); background: var(--bg-deep); border-radius: 16px; padding: 12px 14px; margin: 14px 0; line-height: 1.45; }
.rodo-box strong { color: var(--ink); }

.kv b { color: var(--ink); font-weight: 650; }
.done-hero, .status-hero { text-align: center; padding: 8px 8px 20px; }
.done-hero .mark, .status-hero .mark { width: 72px; height: 72px; border-radius: 50%; background: var(--sage-l); color: var(--sage-d); display: grid; place-items: center; margin: 8px auto 16px; }
.status-hero .mark.wait { background: var(--amber-l); color: #8a6420; }
.status-hero .mark.no { background: var(--rose-l); color: var(--rose); }
.done-hero .mark svg, .status-hero .mark svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.foot-safe { margin-top: 22px; }
.link-box { display: flex; gap: 8px; align-items: stretch; margin-top: 12px; }
.link-box input { flex: 1; }
