/* Stays demo on top of ../shared/base.css */
.unit { display: block; width: 100%; padding: 0; overflow: hidden; text-align: start; }
.unit:active { background: var(--sunken); }
/* no stock photos: a quiet brand band with the unit's initial; the client's real photos replace it on reskin */
.unit-band { height: 92px; background: var(--accent-soft); border-bottom: 1px solid var(--accent-line); display: flex; align-items: flex-end; padding: 12px 16px; }
.unit-mark { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 20px; }
.unit-body { padding: 14px 16px; }
.next-free { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--ink); }
.unit-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 13.5px; color: var(--body); }
.facts span { display: inline-flex; align-items: center; gap: 5px; }
.facts.big { font-size: 14.5px; color: var(--ink); }
.chip.static { cursor: default; }
/* calendar: week starts Saturday; columns follow the reading direction */
.cal { margin-top: 12px; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 8px 10px 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cal-head .iconbtn[disabled] { opacity: .3; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid.wd span { text-align: center; font-size: 12.5px; color: var(--muted); padding: 4px 0; }
.cd { min-height: 46px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.15; }
.cd small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.cd.past { color: var(--hair-strong); }
.cd.sample, .cd.booked { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--hair-strong); }
.cd.pending { color: var(--muted); }
.cd.in { background: var(--sunken); border-radius: 0; }
.cd.end { background: var(--ink); color: #fff; }
.cd.end small { color: #d9d6cf; }
.cd[disabled] { cursor: not-allowed; }
/* owner calendar states */
.cd.own.sample, .cd.own.booked { background: var(--ink); color: #fff; text-decoration: none; }
.cd.own.pending { box-shadow: inset 0 0 0 2px var(--accent); color: var(--ink); }
.cd.own.blocked { background: repeating-linear-gradient(135deg, var(--sunken) 0 5px, var(--surface) 5px 10px); color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--hair-strong); }
.lg.booked { background: var(--ink); border-color: var(--ink); }
.lg.pending { box-shadow: inset 0 0 0 2px var(--accent); border-color: var(--accent); }
.lg.blocked { background: repeating-linear-gradient(135deg, var(--sunken) 0 3px, var(--surface) 3px 6px); }
.lg.free { background: var(--surface); }
.stepper { display: flex; align-items: center; gap: 12px; padding: 6px; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-md); }
.stepper .iconbtn { border: 1px solid var(--hair-strong); }
.stepper .t-screen { min-width: 28px; text-align: center; }
.tabs2 button .t-meta { font-weight: 400; }
/* booking */
.ticket { padding: 14px 16px; }
.bill { padding: 12px 16px; margin-top: 12px; }
.bill-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; color: var(--ink); }
.bill-row.total { border-top: 1px solid var(--ink); font-weight: 600; font-size: 16px; }
.bill .t-meta svg { vertical-align: -3px; }
.check .box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--hair-strong); display: grid; place-items: center; flex: none; }
.check[aria-checked="true"] .box { background: var(--ink); border-color: var(--ink); color: #fff; }
.bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.bars span { height: 6px; border-radius: 6px; background: var(--hair); }
.bars span.on { background: var(--ink); }
.trip { display: block; width: 100%; padding: 14px 16px; text-align: start; }
.req { padding: 14px 16px; }
.fresh-card { border-color: var(--accent-line); background: var(--accent-soft); }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; vertical-align: 1px; }
