:root {
  --primary: #0f5c6e;
  --accent: #c9973b;
  --on-primary: #fff;
  --on-accent: #1b1b1b;
  --ink: #1a2227;
  --muted: #65717a;
  --line: #e3e8eb;
  /* A darker shade of the venue colour, readable as text even when the owner picks a light colour. */
  --primary-ink: color-mix(in srgb, var(--primary) 78%, #000);
  --bg: color-mix(in srgb, var(--primary) 6%, #f7f8f8);
  --tint: color-mix(in srgb, var(--primary) 9%, #fff);
  --surface: #fff;        /* cards */
  --soft: #f6f8f9;        /* quiet blocks inside a card */
  --field: #fff;          /* inputs */
  --field-line: #cfd7dc;
  --faint: #c6ccd0;
  --radius: 18px;
  --r-btn: 12px;
  --r-field: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 8px 24px -12px rgba(16, 24, 32, .16);
  --ring: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
/* Keep link targets clear of the sticky top bar. */
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font, "IBM Plex Sans Arabic"), "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif;
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.4; margin: 0 0 10px; text-wrap: balance; }
h1 { font-size: 1.6rem; font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-top: 4px; }
h3 { font-size: 1rem; font-weight: 600; margin-top: 22px; }
p { margin: 0 0 10px; }
a { color: var(--primary-ink); text-underline-offset: 3px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }

.wrap { max-width: 860px; margin: 0 auto; padding: 18px 16px; }
.wrap.narrow { max-width: 480px; padding-top: 32px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.foot { text-align: center; color: var(--muted); font-size: .8rem; padding: 12px 16px 32px; }
.foot a { color: inherit; text-decoration: underline; }

/* Folded sections of the owner dashboard. */
details.fold > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; cursor: pointer; list-style: none;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary h2 { margin: 0; }
details.fold > summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-inline-end: 4px;
  border-inline-end: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .15s;
}
details.fold[open] > summary::after { transform: rotate(-135deg); }
details.fold[open] > summary { margin-bottom: 8px; }

/* Request page seen by the owner. */
.owner-box { display: flex; flex-direction: column; gap: 8px; background: var(--tint); border-radius: var(--r-field); padding: 14px; margin: 16px 0 0; }
.owner-box p, .owner-box form { margin: 0; }
.owner-box .btn.big { margin-top: 4px; }
.owner-box form .btn { width: 100%; }

/* Privacy and terms page. */
.legal { text-align: start; }
.legal h2 { margin-top: 24px; }
.legal ul, .legal ol { margin: 0 0 10px; padding-inline-start: 22px; }

/* --- venue header ---------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
    linear-gradient(150deg, var(--primary), color-mix(in srgb, var(--primary) 62%, #000));
  background-size: cover; background-position: center;
}
.hero.plain { color: var(--on-primary); }
.hero-in { max-width: 860px; margin: 0 auto; padding: 56px 16px 64px; }
.hero h1 { font-size: 2.1rem; margin: 10px 0 4px; }
.hero p { margin: 0; opacity: .92; font-size: 1.05rem; max-width: 34em; }
/* The first card sits over the bottom of the header. */
.hero + .wrap { margin-top: -34px; position: relative; padding-top: 0; }
.tag { display: inline-block; background: var(--tint); color: var(--primary-ink); border-radius: 999px; padding: 2px 14px; font-size: .8rem; font-weight: 600; }
.tag.light { background: var(--accent); color: var(--on-accent); }
.desc { white-space: pre-line; margin: 0; }

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--primary); color: var(--on-primary); border: 1px solid transparent; border-radius: var(--r-btn);
  padding: 10px 20px; min-height: 44px; font: inherit; font-weight: 600; line-height: 1.3;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: filter .15s, transform .08s, box-shadow .15s, background-color .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; filter: none; }
.btn.big {
  display: flex; width: 100%; padding: 14px; min-height: 54px; font-size: 1.05rem; margin-top: 16px;
  box-shadow: 0 10px 20px -12px var(--primary);
}
.btn.big + p { margin-top: 12px; }
.btn.sm { padding: 6px 14px; min-height: 36px; font-size: .85rem; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--field-line); }
.btn.ghost:hover { background: var(--soft); filter: none; }
.btn.danger { background: #fff; color: #a32020; border-color: #efc2c2; }
.btn.danger:hover { background: #fdecec; filter: none; }
.btn.wa { background: #128c4b; color: #fff; }
.btn.big.wa { box-shadow: 0 10px 20px -12px #128c4b; }
.link { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }

/* --- forms ----------------------------------------------------------------- */
label { display: block; font-size: .9rem; font-weight: 600; margin-top: 14px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 14px; min-height: 46px; font: inherit; color: inherit;
  border: 1px solid var(--field-line); border-radius: var(--r-field); background: var(--field);
  transition: border-color .15s, box-shadow .15s;
}
textarea { line-height: 1.7; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a3adb4; }
input[type=color] { padding: 4px; height: 46px; cursor: pointer; }
input[type=checkbox] { display: inline-block; width: 18px; height: 18px; min-height: 0; margin: 0; vertical-align: -3px; accent-color: var(--primary); }
input[type=file] { padding: 10px; border-style: dashed; background: #fafbfb; font-size: .9rem; }
input[type=file]::file-selector-button {
  font: inherit; font-weight: 600; margin-inline-end: 10px; padding: 4px 12px; cursor: pointer;
  border: 1px solid #d5dce0; border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--primary); box-shadow: var(--ring); }
input[readonly] { background: #f6f8f9; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 12px; align-items: end; }
.row .btn { margin-top: 14px; height: 46px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check { margin: 0; font-weight: 400; }

/* --- messages -------------------------------------------------------------- */
.alert { background: #fdecec; border: 1px solid #f3b9b9; color: #8a1f1f; border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; }
.alert.good { background: #e9f7ef; border-color: #a9dcbd; color: #14532d; }
.alert.warn { background: #fff5dc; border-color: #ecc878; color: #6f4a00; }
.alert .btn { margin-top: 8px; }
.payinfo.sub { display: block; background: rgba(255,255,255,.7); margin: 8px 0; color: var(--ink); }
code { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px; font-size: 1.05rem; font-family: Consolas, "Courier New", monospace; }

.ask { background: var(--surface); border: 0; border-radius: var(--radius); padding: 22px; width: min(92vw, 400px); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); color: var(--ink); }
.ask::backdrop { background: rgba(16, 24, 32, .45); }
.ask p { font-weight: 600; font-size: 1.05rem; margin: 0 0 16px; }
.ask-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ask-actions .btn { flex: 1; }
.list-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.list-tools form { margin: 0; }

/* --- booking page: calendar ------------------------------------------------ */
.step { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .9rem; font-weight: 700; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 12px; }
.cal-head strong { font-size: 1.05rem; }
.nav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--primary-ink); transition: background-color .15s; }
.nav:hover:not(:disabled) { background: var(--tint); }
.nav:disabled { opacity: .3; cursor: default; }
.cal-week, .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-week span { text-align: center; font-size: .72rem; font-weight: 600; color: var(--muted); }
.cal { margin-top: 8px; min-height: 200px; align-content: start; }
.cal.loading { opacity: .45; }
.day {
  position: relative; height: 56px; width: 100%; min-width: 0; border-radius: var(--r-field);
  border: 1px solid transparent; font: inherit; font-weight: 600; padding: 0; color: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.15;
  transition: transform .08s, box-shadow .15s, background-color .15s;
}
button.day { cursor: pointer; }
button.day:not(:disabled):hover { box-shadow: var(--ring); }
button.day:not(:disabled):active { transform: scale(.94); }
.day.free { background: var(--tint); color: var(--primary-ink); border-color: color-mix(in srgb, var(--primary) 24%, #fff); }
.day.part { background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--ink); border-color: color-mix(in srgb, var(--accent) 50%, #fff); }
.day.full { background: var(--soft); color: var(--muted); opacity: .75; }
.day.full b { text-decoration: line-through; }
.day:disabled { cursor: default; }
.day.closed { background: transparent; color: var(--faint); font-weight: 400; cursor: default; }
.day b { font-weight: 600; }
.day small { font-size: .62rem; font-weight: 500; opacity: .85; font-variant-numeric: tabular-nums; }
.day.shut { background: #fdf0f0; color: #a32020; border-color: #f1caca; }
.day.full small, .day.shut small { text-decoration: none; display: inline-block; }
.day.today::after { content: ""; position: absolute; top: 5px; inset-inline-end: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dot.shut { background: #fdf0f0; border: 1px solid #f1caca; }
.times { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0; padding: 10px 14px; background: var(--soft); border-radius: var(--r-field); font-size: .92rem; }
.summary { display: flex; flex-direction: column; }
.day-editor { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fafbfb; }
.day-editor > strong { font-size: 1.05rem; }
.day-editor p { margin: 2px 0 0; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.week { display: grid; gap: 8px; }
.week-row { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.week-row > span { font-weight: 600; }
.week-row input:not([type=checkbox]) { margin: 0; }
.day.sel { background: var(--primary); color: var(--on-primary); border-color: var(--primary); box-shadow: 0 8px 16px -8px var(--primary); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin: 14px 0 4px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; }
.dot.free { background: var(--tint); border: 1px solid color-mix(in srgb, var(--primary) 24%, #fff); }
.dot.part { background: color-mix(in srgb, var(--accent) 18%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 50%, #fff); }
.dot.full { background: var(--soft); border: 1px solid var(--field-line); }
#step2, #step3 { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.periods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.period {
  display: flex; flex-direction: column; gap: 2px; text-align: start; background: #fff; border: 2px solid var(--line);
  border-radius: 14px; padding: 14px; font: inherit; color: inherit; cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.period:not(:disabled):hover { border-color: color-mix(in srgb, var(--primary) 45%, #fff); }
.period .price { color: var(--primary-ink); font-weight: 700; font-size: 1.05rem; margin-top: 6px; }
.period.sel { border-color: var(--primary); background: var(--tint); box-shadow: var(--ring); }
.period.taken { opacity: .5; cursor: default; }
.period.taken .price { color: var(--muted); }
.summary { background: var(--tint); border: 1px solid color-mix(in srgb, var(--primary) 20%, #fff); border-radius: var(--r-field); padding: 12px 16px; font-weight: 600; }

/* --- status ---------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 600; width: fit-content; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.ok { background: #e2f5e9; color: #14532d; }
.badge.wait { background: #fff1cf; color: #6f4a00; }
.badge.off { background: #eef0f1; color: #5a6368; }
.center > .badge { margin-bottom: 12px; }
.details { width: 100%; border-collapse: collapse; margin: 18px 0; text-align: start; }
.details th, .details td { padding: 11px 6px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: start; }
.details tr:last-child th, .details tr:last-child td { border-bottom: 0; }
.details th { color: var(--muted); font-weight: 400; white-space: nowrap; width: 35%; }
.details td { font-weight: 600; }
.details td .muted { font-weight: 400; }

.timer { font-size: 1.05rem; background: #fff1cf; color: #6f4a00; border-radius: 14px; padding: 10px 18px; display: inline-block; }
.timer b { font-size: 1.6rem; font-variant-numeric: tabular-nums; direction: ltr; display: inline-block; vertical-align: -3px; }
.timer.urgent { background: #fdecec; color: #8a1f1f; }
.pay { text-align: start; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.pay h2 { margin-top: 16px; }
.payinfo { white-space: pre-line; background: var(--tint); border: 1px dashed color-mix(in srgb, var(--primary) 35%, #fff); border-radius: 12px; padding: 14px 16px; font-weight: 600; user-select: all; }

/* --- dashboards ------------------------------------------------------------ */
.bar {
  position: sticky; top: 0; z-index: 5; background: var(--primary); color: var(--on-primary);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; flex-wrap: wrap;
  box-shadow: 0 2px 12px -4px rgba(0, 0, 0, .35);
}
.bar strong { font-size: 1.05rem; }
.bar nav { display: flex; gap: 16px; align-items: center; font-size: .9rem; }
.bar a { color: inherit; }
.bar form { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; text-align: center; box-shadow: var(--shadow); }
.stats b { display: block; font-size: 1.5rem; line-height: 1.3; color: var(--primary-ink); font-variant-numeric: tabular-nums; }
.stats .hot { background: #fff5dc; border-color: #ecc878; }
.stats .hot b { color: #6f4a00; }
.stats span { display: block; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.booking {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px; margin-top: 10px; border: 1px solid var(--line); border-radius: 14px;
  border-inline-start: 4px solid #cfd6da; background: #fff;
}
.booking.s-paid, .booking.s-pending { border-inline-start-color: #e0a92e; }
.booking.s-paid { background: #fffaf0; }
.booking.s-confirmed { border-inline-start-color: #2f9e5b; }
.booking.s-cancelled, .booking.s-expired { opacity: .6; }
.b-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.b-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.b-actions form { margin: 0; }
.subline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.subline form { margin: 0; display: flex; gap: 4px; align-items: center; }
.subline input { width: 10em; margin: 0; padding: 4px 10px; min-height: 36px; font-size: .85rem; border-radius: 10px; }
.subline input.days { width: 5.5em; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; border: 1px solid rgba(0,0,0,.15); }
.tw { overflow-x: auto; }
.ptable { border-collapse: collapse; width: 100%; min-width: 620px; }
.ptable th { font-size: .78rem; color: var(--muted); font-weight: 600; text-align: start; padding: 4px; }
.ptable td { padding: 3px; }
.ptable td input { margin: 0; }
.ptable td:nth-child(5), .ptable td:nth-child(6) { text-align: center; }

/* --- the venue's own look: logo, gallery, amenities, texts ----------------- */
.logo { display: block; width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius); background: #fff; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); margin-bottom: 12px; }
.welcome { background: var(--accent); color: var(--on-accent); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 16px; font-weight: 600; text-align: center; box-shadow: var(--shadow); }
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.shot { flex: none; width: min(72%, 300px); aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; scroll-snap-align: start; background: var(--soft); box-shadow: var(--shadow); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewer { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.viewer::backdrop { background: rgba(0, 0, 0, .86); }
.viewer img { display: block; max-width: 96vw; max-height: 86vh; border-radius: 12px; }
.viewer .nav { position: absolute; top: 50%; margin-top: -21px; background: #fff; color: #1a2227; border-color: transparent; }
.viewer .v-prev { inset-inline-start: 8px; }
.viewer .v-next { inset-inline-end: 8px; }
.viewer .v-close { top: 8px; margin-top: 0; inset-inline-end: 8px; }
.amenities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.desc + .amenities, .desc + .links, .amenities + .links { margin-top: 16px; }
.amenities li { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .9rem; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
h2.next { margin-top: 22px; }

/* --- the look form in the owner's dashboard --------------------------------- */
.palettes { display: flex; flex-wrap: wrap; gap: 8px; }
.palette { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .85rem; font-weight: 600; color: inherit; background: #fff; border: 1px solid #d5dce0; border-radius: 999px; padding: 5px 14px 5px 6px; cursor: pointer; }
[dir=rtl] .palette { padding: 5px 6px 5px 14px; }
.palette.on { border-color: var(--primary); box-shadow: var(--ring); }
.pair { display: inline-flex; border-radius: 999px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .12); }
.pair i { width: 16px; height: 24px; display: block; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.choice { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 12px 8px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; text-align: center; font-weight: 600; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; min-height: 0; }
.choice:has(input:checked) { border-color: var(--primary); background: var(--tint); box-shadow: var(--ring); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.sample { display: block; width: 64px; height: 34px; border: 1px solid #cfd7dc; }
.mode-sample { border-radius: 8px; background: linear-gradient(#fff 0 0) center / 40px 16px no-repeat, #eef1f2; }
.mode-sample.dark { background: linear-gradient(#27323a 0 0) center / 40px 16px no-repeat, #10161a; border-color: #10161a; }
.shape-sample { background: var(--primary); border-color: transparent; border-radius: 10px; }
.shape-sample.round { border-radius: 999px; }
.shape-sample.sharp { border-radius: 2px; }
.font-sample { font-size: 1.15rem; font-weight: 600; line-height: 34px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.thumb { margin: 0; width: 96px; font-weight: 400; font-size: .8rem; text-align: center; cursor: pointer; }
.thumb img { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 4px; }
.thumb:has(input:checked) img { opacity: .35; outline: 2px solid #a32020; }
.amen-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 12px; }

/* --- looks the owner can choose for the customer pages ---------------------- */
body.shape-round { --radius: 26px; --r-btn: 999px; --r-field: 18px; }
body.shape-sharp { --radius: 6px; --r-btn: 4px; --r-field: 4px; }
body.mode-dark {
  color-scheme: dark;
  --ink: #eef2f4; --muted: #9eabb3; --line: #2d3840; --faint: #4c5961;
  --surface: #1a2228; --soft: #232d34; --field: #141b20; --field-line: #3b4850;
  --bg: color-mix(in srgb, var(--primary) 10%, #0f1418);
  --tint: color-mix(in srgb, var(--primary) 30%, #1a2228);
  --primary-ink: color-mix(in srgb, var(--primary) 40%, #fff);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --ring: 0 0 0 4px color-mix(in srgb, var(--primary) 45%, transparent);
}
body.mode-dark .day.free, body.mode-dark .summary { border-color: color-mix(in srgb, var(--primary) 55%, #1a2228); }
body.mode-dark .tag:not(.light) { background: var(--tint); }

/* --- platform home --------------------------------------------------------- */
.features { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 12px; }
.features li { display: flex; gap: 12px; align-items: flex-start; }
.features li::before {
  content: "✓"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px;
  border-radius: 50%; background: var(--tint); color: var(--primary-ink); font-weight: 700; font-size: .9rem;
}
.price-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-line strong { font-size: 1.15rem; }

@media (max-width: 520px) {
  .hero-in { padding: 40px 16px 56px; }
  .hero h1 { font-size: 1.7rem; }
  .card { padding: 16px; }
  .stats b { font-size: 1.15rem; }
  .booking { flex-direction: column; }
  .cal-week, .cal { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Home page: numbered steps and short questions */
.steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.faq h3 { font-size: 1rem; margin: 14px 0 2px; }
.faq p { margin: 0; }

.b-actions input[name=owner_password] { width: 11em; max-width: 100%; }
