/* Arena booking – calm countryside palette */
:root {
  --green-900: #1f3d2f;
  --green-800: #264a39;
  --green-700: #2f5d46;
  --green-600: #3d7358;
  --green-200: #cfe0d1;
  --green-100: #e4eee3;
  --green-50: #f1f6f0;
  --sage: #8aa58f;
  --cream: #f7f3ec;
  --sand: #ebe3d4;
  --sand-dark: #d8ccb6;
  --brown: #7a5c3e;
  --honey: #c98f1f;
  --honey-bg: #fbf0d6;
  --honey-border: #e7c77d;
  --booked-bg: #e3ddd3;
  --booked-fg: #6d6458;
  --red: #a8432f;
  --red-bg: #f8e7e2;
  --ink: #23302a;
  --muted: #66705f;
  --line: #e2d9c8;
  --card: #fffdf9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 61, 47, .06), 0 6px 24px rgba(31, 61, 47, .07);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream);
  font-size: 16px; line-height: 1.5;
}
body.has-selection { padding-bottom: 96px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; color: var(--green-900); }
a { color: var(--green-700); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid #e0a526; outline-offset: 2px; }

/* ---------- header / hero ---------- */
.site-header { background: var(--green-800); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark rect { fill: var(--cream); }
.brand-mark path { fill: none; stroke: var(--green-700); stroke-width: 6; stroke-linecap: round; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .01em; }
.brand-text small { color: var(--green-200); font-size: .8rem; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-link { color: #fff; text-decoration: none; font-size: .9rem; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.header-link:hover { background: rgba(255,255,255,.1); }
.as-button { background: none; font: inherit; font-size: .9rem; cursor: pointer; }

.hero { position: relative; background: linear-gradient(180deg, var(--green-800), var(--green-700)); color: #fff; padding: 28px 0 70px; overflow: hidden; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.hero .lead { max-width: 640px; color: var(--green-100); margin: 8px 0 0; font-size: 1.05rem; }
.hero .lead strong { color: #fff; }
.hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.steps { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 6px 12px 6px 6px; border-radius: 999px; font-size: .9rem; }
.steps span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); color: var(--green-800); font-weight: 700; font-size: .8rem; }
.hero-hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }
.hero-hills path { fill: #a9c0a4; opacity: .35; }
.hero-hills path.h2 { fill: var(--cream); opacity: 1; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 300px 1fr; gap: 20px; margin-top: -40px; position: relative; z-index: 2; align-items: start; }
.sidebar { display: grid; gap: 16px; position: sticky; top: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.card h2 { font-size: 1.15rem; margin-bottom: 10px; }

/* ---------- month picker ---------- */
.month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.month-head h2 { margin: 0; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--green-800); font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover:not(:disabled) { background: var(--green-50); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mg-dow { text-align: center; font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; padding: 4px 0; }
.mg-day { position: relative; aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.mg-day:hover:not(:disabled) { background: var(--green-50); }
.mg-day.out { color: #a8ab9f; }
.mg-day.has-free::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--green-600); }
.mg-day.full::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--booked-fg); opacity: .6; }
.mg-day.closed { color: #b4b0a5; text-decoration: line-through; }
.mg-day.disabled { color: #c4c1b8; cursor: default; }
.mg-day.in-week { background: var(--green-100); border-radius: 0; }
.mg-day.today span { font-weight: 700; color: var(--green-700); }
.mg-day.active { background: var(--green-700) !important; color: #fff; border-radius: 10px; }
.mg-day.active span { color: #fff; }
.mg-day.active::after { background: #fff; }
.date-jump { display: grid; gap: 4px; margin-top: 12px; font-size: .85rem; color: var(--muted); }

input, select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--sand-dark); border-radius: 10px;
  padding: 10px 12px; width: 100%; min-height: 44px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(61,115,88,.2); }
[aria-invalid="true"] { border-color: var(--red); }

/* ---------- legend ---------- */
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend-inline { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.swatch { width: 22px; height: 16px; border-radius: 5px; flex: none; border: 1px solid transparent; }
.notes-card ul { margin: 0; padding-left: 18px; font-size: .9rem; color: var(--muted); display: grid; gap: 6px; }

/* ---------- calendar ---------- */
.calendar { padding: 18px; min-width: 0; }
.calendar.is-loading .week-grid, .calendar.is-loading .day-list { opacity: .55; transition: opacity .2s; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-title h2 { font-size: 1.4rem; margin: 0; }
.cal-title p { margin: 2px 0 0; font-size: .9rem; }
.cal-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cal-nav input[type="date"] { width: auto; }
.cal-status { min-height: 1.5em; margin: 10px 0 0; color: var(--brown); font-weight: 500; }
.cal-hint { font-size: .85rem; margin: 4px 0 0; }

.btn { font: inherit; font-weight: 600; border-radius: 10px; padding: 10px 16px; min-height: 44px; cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.btn:disabled { opacity: .45; cursor: default; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--green-800); }
.btn-ghost { background: #fff; color: var(--green-800); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { background: var(--green-50); }
.btn-danger { background: #fff; color: var(--red); border-color: #e3b6aa; }
.btn-danger:hover { background: var(--red-bg); }
.btn-danger-ghost { background: transparent; color: var(--red); border-color: #e9c6bd; }
.btn-danger-ghost:hover { background: var(--red-bg); }
.btn-block { width: 100%; }

.wg { display: grid; grid-template-columns: 74px repeat(var(--cols, 7), minmax(0, 1fr)); gap: 4px; }
.wg-corner { }
.wg-day { text-align: center; padding: 6px 2px 10px; display: flex; flex-direction: column; align-items: center; gap: 1px; background: var(--card); border-bottom: 2px solid var(--line); }
.wg-day.is-today { border-bottom-color: var(--green-600); }
.wg-dow { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.wg-date { font-family: var(--serif); font-size: 1rem; color: var(--green-900); }
.badge { font-size: .68rem; background: var(--green-700); color: #fff; padding: 1px 7px; border-radius: 999px; font-weight: 600; }
.wg-time { font-size: .8rem; color: var(--muted); text-align: right; padding-right: 8px; align-self: center; white-space: nowrap; }
.wg-cell.closed { background: repeating-linear-gradient(135deg, #f1ece3 0 6px, #ebe5da 6px 12px); border-radius: 8px; min-height: 34px; display: grid; place-items: center; font-size: .75rem; color: var(--muted); }

.slot { font: inherit; border-radius: 8px; border: 1px solid transparent; min-height: 34px; padding: 4px 6px; cursor: pointer; font-size: .78rem; font-weight: 600; text-align: center; transition: transform .06s ease, background .15s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot .slot-label { pointer-events: none; }
.s-available, .swatch.s-available { background: var(--green-50); border-color: var(--green-200); color: var(--green-700); }
.slot.s-available:hover { background: var(--green-100); border-color: var(--green-600); }
.slot.s-available:active { transform: scale(.97); }
.s-pending, .swatch.s-pending { background: repeating-linear-gradient(135deg, var(--honey-bg) 0 7px, #f6e6be 7px 14px); border-color: var(--honey-border); color: #8a5f0d; }
.s-booked, .swatch.s-booked { background: var(--booked-bg); border-color: #d3cabb; color: var(--booked-fg); }
.s-unavailable, .swatch.s-unavailable { background: #e9e4dc; border-color: #d9d1c4; color: #857c6f; }
body.public .swatch.s-booked { background: linear-gradient(90deg, var(--booked-bg) 50%, #e9e4dc 50%); }
.s-past { background: transparent; border-color: #eee8de; color: #b9b5ab; font-weight: 400; }
.slot.s-pending, .slot.s-booked, .slot.s-unavailable, .slot.s-past { cursor: not-allowed; }
.admin .slot.s-pending, .admin .slot.s-booked, .admin .slot.s-unavailable { cursor: pointer; }
.slot.selected, .swatch.selected { background: var(--green-700); border-color: var(--green-800); color: #fff; box-shadow: 0 2px 6px rgba(31,61,47,.25); }
.slot.selected:hover { background: var(--green-800); }

.day-tabs { display: none; }
.day-list { display: none; }
.closed-day { padding: 24px; text-align: center; background: var(--sand); border-radius: 12px; color: var(--muted); }

/* ---------- selection bar ---------- */
.selection-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255,253,249,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(31,61,47,.12); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); backdrop-filter: blur(6px); }
.selection-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sel-text { display: flex; flex-direction: column; }
.sel-text strong { font-family: var(--serif); font-size: 1.1rem; color: var(--green-900); }
.sel-actions { display: flex; gap: 8px; }

/* ---------- dialog ---------- */
dialog { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(31, 46, 38, .55); }
.dialog-body { padding: 22px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dialog-head h2 { font-size: 1.4rem; }
.sel-card { background: var(--green-50); border: 1px solid var(--green-200); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; }
.sel-card p { margin: 0; }
.sel-card-date { font-family: var(--serif); font-size: 1.1rem; color: var(--green-900); font-weight: 600; }
.sel-card-time { font-size: 1.05rem; font-weight: 600; color: var(--green-700); }
.sel-card-ref { margin-top: 6px !important; }
.field { display: grid; gap: 5px; margin-bottom: 12px; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error, .form-error { color: var(--red); font-size: .85rem; margin: 0; min-height: 0; }
.form-error:not(:empty) { background: var(--red-bg); padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.confirm-view { text-align: center; }
.confirm-view .sel-card { text-align: left; }
.confirm-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--honey-bg); border: 2px solid var(--honey-border); color: var(--honey); font-size: 2rem; display: grid; place-items: center; margin: 6px auto 12px; }
.confirm-view h2 { font-size: 1.5rem; margin-bottom: 8px; }
.confirm-view h2:focus { outline: none; }
.confirm-view .dialog-actions { justify-content: center; }
.check { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; font-weight: 600; }
.check input { width: 20px; height: 20px; min-height: 0; }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; padding: 24px 0 32px; border-top: 1px solid var(--line); }
.footer-inner p { margin: 2px 0; }

/* ---------- admin ---------- */
.admin-main { padding-top: 24px; padding-bottom: 40px; }
.login-card { max-width: 420px; margin: 40px auto; padding: 28px; }
.login-card h1 { font-size: 1.6rem; margin-bottom: 4px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat { font: inherit; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; color: var(--ink); }
.stat strong { font-family: var(--serif); font-size: 1.9rem; color: var(--green-700); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tab { font: inherit; font-weight: 600; background: none; border: 0; padding: 12px 16px; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.tab.active { color: var(--green-800); border-bottom-color: var(--green-700); }
.count { background: var(--honey); color: #fff; border-radius: 999px; font-size: .75rem; padding: 1px 8px; }
.count.zero { background: var(--sand-dark); color: var(--ink); }
.panel-head { margin-bottom: 14px; }
.panel-head h2 { font-size: 1.4rem; }
.panel-head p { margin: 4px 0 0; }
.cards { display: grid; gap: 12px; }
.booking-card { display: flex; gap: 16px; align-items: flex-start; }
.booking-card.pending { border-left: 5px solid var(--honey-border); }
.booking-card.approved { border-left: 5px solid var(--green-600); }
.booking-card.blocked { border-left: 5px solid var(--sand-dark); }
.booking-card.highlight { box-shadow: 0 0 0 3px #e0a526, var(--shadow); }
.booking-card.compact { padding: 14px 16px; align-items: center; }
.bc-main { flex: 1; min-width: 0; }
.bc-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.bc-top h3 { font-size: 1.15rem; }
.bc-top h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 700; color: var(--ink); }
.bc-when { font-weight: 700; color: var(--green-700); margin: 2px 0; font-size: 1.05rem; }
.bc-who, .bc-contact { margin: 2px 0; }
.bc-side { flex: none; }
.bc-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.bc-actions .btn { min-width: 120px; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; margin: 10px 0 0; font-size: .93rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.note { white-space: pre-wrap; background: var(--cream); border-radius: 8px; padding: 6px 10px; margin: 6px 0 0; font-size: .92rem; }
.details dd.note { margin: 0; }
.msg { margin-top: 10px; min-height: 60px; font-size: .92rem; }
.date-badge { flex: none; width: 64px; text-align: center; background: var(--green-50); border: 1px solid var(--green-200); border-radius: 12px; padding: 6px 0; display: flex; flex-direction: column; }
.db-dow, .db-mon { font-size: .72rem; text-transform: uppercase; font-weight: 700; color: var(--muted); letter-spacing: .05em; }
.db-day { font-family: var(--serif); font-size: 1.7rem; color: var(--green-800); line-height: 1.1; }
.pill { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill-pending { background: var(--honey-bg); color: #8a5f0d; border: 1px solid var(--honey-border); }
.pill-booked { background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-200); }
.pill-blocked { background: #ece6dc; color: #6d6458; border: 1px solid #d9d1c4; }
.pill-declined { background: var(--red-bg); color: var(--red); border: 1px solid #ecc5bb; }
.group-head { font-size: 1rem; margin: 10px 0 0; color: var(--muted); font-family: var(--sans); font-weight: 700; }
.group-head:first-child { margin-top: 0; }
.sub-head { margin: 22px 0 10px; font-size: 1.15rem; }
.empty { text-align: center; color: var(--muted); padding: 28px; }
.empty p { margin: 0; }
.block-form { max-width: 620px; }
.admin-sel { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; padding: 12px; background: var(--green-50); border: 1px solid var(--green-200); border-radius: 12px; }
.admin-sel span { font-weight: 700; color: var(--green-800); }
.admin-sel input { width: auto; flex: 1; min-width: 160px; }
.admin .slot { font-weight: 500; }
.toast { position: sticky; top: 8px; z-index: 30; padding: 12px 16px; border-radius: 12px; margin: 0 0 14px; font-weight: 600; box-shadow: var(--shadow); }
.toast-ok { background: var(--green-100); color: var(--green-900); border: 1px solid var(--green-200); }
.toast-error { background: var(--red-bg); color: var(--red); border: 1px solid #ecc5bb; }
.admin-foot { margin-top: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .layout { grid-template-columns: 260px 1fr; }
  .wg { grid-template-columns: 62px repeat(var(--cols, 7), minmax(0, 1fr)); gap: 3px; }
  .slot { font-size: .7rem; padding: 4px 2px; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 14px; }
  .hero { padding: 20px 0 60px; }
  .steps { display: none; }
  .layout { grid-template-columns: 1fr; margin-top: -36px; }
  .sidebar { position: static; order: 2; }
  .calendar { order: 1; padding: 14px; }
  .legend-card { display: none; }
  .week-grid { display: none; }
  .day-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -14px 12px; padding: 2px 14px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .day-tabs::-webkit-scrollbar { display: none; }
  .day-tab { flex: 1 0 64px; scroll-snap-align: start; font: inherit; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; cursor: pointer; color: var(--ink); }
  .day-tab.active { background: var(--green-700); border-color: var(--green-800); color: #fff; }
  .day-tab.is-closed { opacity: .6; }
  .dt-dow { font-size: .72rem; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
  .dt-num { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
  .dt-avail { font-size: .68rem; opacity: .8; }
  .day-list { display: block; }
  .dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dl .slot { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 9px 12px; min-height: 54px; font-size: .9rem; white-space: normal; }
  .dl-time { font-weight: 700; white-space: nowrap; letter-spacing: -.01em; }
  .dl-status { font-size: .78rem; font-weight: 500; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .cal-toolbar { margin-bottom: 10px; }
  .cal-title h2 { font-size: 1.2rem; }
  .hide-sm { display: none; }
  .cal-nav .btn { padding: 8px 12px; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 10px 12px; }
  .stat strong { font-size: 1.5rem; }
  .stat span { font-size: .78rem; }
  .booking-card { flex-direction: column; gap: 10px; }
  .booking-card.compact { flex-direction: row; align-items: center; }
  .date-badge { flex-direction: row; width: auto; gap: 8px; padding: 4px 12px; align-items: baseline; }
  .db-day { font-size: 1.2rem; }
  .bc-actions .btn { flex: 1; }
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .header-link { padding: 6px 10px; font-size: .82rem; }
  .brand-text small { display: none; }
  .selection-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .sel-actions .btn { flex: 1; }
  body.has-selection { padding-bottom: 130px; }
  .dialog-body { padding: 18px; }
  dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0; max-height: 92dvh; }
  .booking-card.compact { flex-direction: column; align-items: stretch; }
  .bc-side .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* admin: make blocks visually distinct from bookings */
.admin .s-unavailable, .admin .swatch.s-unavailable { background: repeating-linear-gradient(45deg, #efeae1 0 5px, #e0d8ca 5px 10px); color: #6f675b; }
.admin .s-booked, .admin .swatch.s-booked { background: #d9cdb8; border-color: #c7b89e; color: #4f4536; }
