/* MFAF — /book/ : the living booking map.
 * Scoped under .bm (plus body.bm-has-dock for the phone bar's footer room). In the v3 skin since 2026-10-17: the layout
 * is the 10-08 one Albert remembers; the colours and faces at the end of this file are DESIGN.md's loam world.
 * Tokens are style.css's :root. No blues: the families are told apart in the forest palette
 * (lake = deep canopy, land = timber bark, timber rooms = golden earth).
 */

.bm {
  --bm-lake: #2E4A1E; --bm-land: #6B4423; --bm-timber: #9A7A3C;
  --bm-free: #EBF67D; --bm-line: #E2DFD5; --bm-ink: var(--charcoal-ink); --bm-soft: #5F6557;
  max-width: 1240px; margin: 0 auto;
  padding: 120px 20px 96px;            /* 120px clears the absolute site header, as on every inner page */
  color: var(--bm-ink);
}
.bm *, .bm *::before, .bm *::after { box-sizing: border-box; }
.bm button { font-family: var(--f-b); cursor: pointer; }
.bm small { font-weight: 400; }

/* ── head ── */
/* the band behind the site header (which floats over the page), edge to edge */
.bm-head { margin: -120px calc(50% - 50vw) 0; padding: 132px max(20px, calc(50vw - 600px)) 34px; background: var(--deep-canopy); }
.bm-kicker { font: 600 13px/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--lime-zest); margin-bottom: 10px; }
.bm-title { font-family: var(--f-d); font-weight: 300; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; color: var(--morning-mist); margin-bottom: 10px; letter-spacing: -.01em; }
.bm-sub { color: rgba(245, 242, 235, .82); max-width: 60ch; line-height: 1.5; font-size: 17px; }

/* ── dates + guests ── */
.bm-bar {
  display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)) repeat(3, auto); gap: 14px 18px; align-items: end;
  margin: 26px 0 30px; padding: 18px 20px; background: var(--morning-mist); border: 1px solid var(--bm-line); border-radius: 20px;
}
.bm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bm-field[hidden] { display: none; }   /* the hidden attribute must beat display:flex (IC/address only when required) */
.bm-lbl { font: 600 13px/1.2 var(--f-b); color: var(--deep-canopy); letter-spacing: .02em; }
.bm-lbl small { color: var(--bm-soft); font-size: 12px; margin-left: 4px; }
.bm input[type="date"], .bm input[type="text"], .bm input[type="tel"], .bm input[type="email"], .bm textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px/1.3 var(--f-b); color: var(--bm-ink);
  background: #fff; border: 1.5px solid var(--bm-line); border-radius: 12px; appearance: none; -webkit-appearance: none;
}
.bm textarea { min-height: 72px; resize: vertical; }
.bm input:focus-visible, .bm textarea:focus-visible, .bm button:focus-visible, .bm [role="button"]:focus-visible, .bm a:focus-visible {
  outline: 3px solid var(--forest-fern); outline-offset: 2px;
}
.bm-step { display: inline-flex; align-items: center; gap: 4px; height: 48px; padding: 0 4px; background: #fff; border: 1.5px solid var(--bm-line); border-radius: 999px; }
.bm-step__b { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--morning-mist); color: var(--deep-canopy); font-size: 22px; line-height: 1; }
.bm-step__b:hover { background: var(--lime-zest); }
.bm-step__v { min-width: 30px; text-align: center; font: 600 18px/1 var(--f-b); font-variant-numeric: tabular-nums; }
.bm-bar__note { grid-column: 1 / -1; font-size: 15px; color: var(--bm-soft); min-height: 1.3em; }
.bm-bar__note.is-flash { color: #8a3b12; font-weight: 600; }

/* ── layout ── */
.bm-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.bm-h2 { display: flex; align-items: center; gap: 12px; font-family: var(--f-d); font-weight: 300; font-size: 23px; line-height: 1.2; color: var(--bm-ink); margin-bottom: 14px; }
.bm-h2 small { font: 500 13px/1 var(--f-b); color: var(--bm-soft); letter-spacing: .04em; text-transform: uppercase; margin-left: auto; }
.bm-num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--deep-canopy); color: var(--lime-zest); font: 600 15px/1 var(--f-b); }

/* ── the map ── */
.bm-map__frame {
  position: relative; width: 100%; aspect-ratio: 3 / 4; margin: 0 auto; overflow: hidden; border-radius: 22px;
  background: #33502a; box-shadow: 0 18px 44px -22px rgba(30, 50, 20, .55);
}
.bm-map__svg { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }   /* whole map: a finger still scrolls the page; sideways drags and pinches move the map */
.bm-map__svg.is-zoomed { touch-action: none; }   /* zoomed in: the map takes every finger */
.bm-map__svg:active { cursor: grabbing; }
.bm .bm-plate { width: auto; height: auto; }
.bm-plate--night { opacity: 0; transition: opacity .7s ease; }
.is-night .bm-plate--night { opacity: 1; }
.bm-shade { fill: transparent; }
.is-busy .bm-map__frame { filter: saturate(.75); }

.bm-poi text { font: 600 44px/1 var(--f-b); fill: #fff; stroke: rgba(28, 44, 18, .88); stroke-width: 9px; paint-order: stroke; stroke-linejoin: round; }
.bm-poi circle { fill: #fff; stroke: rgba(28, 44, 18, .88); stroke-width: 4px; }
.bm-poi--water text { font: italic 300 56px/1 var(--f-d); fill: rgba(255, 255, 255, .9); stroke: rgba(20, 60, 70, .35); stroke-width: 6px; letter-spacing: .04em; }
.bm-poi--minor { display: none; }
.is-zoomed .bm-poi--minor { display: inline; }
.bm-park rect { fill: #fff; stroke: var(--deep-canopy); stroke-width: 4px; }
.bm-park text { font: 700 40px/1 var(--f-b); fill: var(--deep-canopy); }
.bm-ent rect { fill: rgba(46, 74, 30, .94); stroke: #fff; stroke-width: 4px; }
.bm-ent text { font: 600 38px/1 var(--f-b); fill: var(--lime-zest); }
.bm-pois { pointer-events: none; }

.bm-blk { cursor: pointer; outline: none; }
.bm-blk polygon { fill: rgba(235, 246, 125, 0); stroke: rgba(255, 255, 255, 0); stroke-width: 7px; stroke-linejoin: round; transition: fill .2s, stroke .2s; }
.bm-blk:hover polygon, .bm-blk:focus-visible polygon { fill: rgba(235, 246, 125, .28); stroke: var(--lime-zest); }
.bm-blk.is-out polygon { fill: rgba(40, 44, 38, .48); }
.bm-blk.is-mine polygon { fill: rgba(235, 246, 125, .34); stroke: var(--lime-zest); }
.bm-blk.is-picked polygon { fill: transparent; stroke: #fff; stroke-width: 5px; }

.bm-badge { cursor: pointer; transition: opacity .2s; }
.bm-badge circle { stroke: #fff; stroke-width: 7px; }
.bm-badge text { font: 700 62px/1 var(--f-b); fill: #fff; pointer-events: none; }
.bm-badge--lake circle { fill: var(--bm-lake); }
.bm-badge--land circle { fill: var(--bm-land); }
.bm-badge--timber circle { fill: var(--bm-timber); }
.bm-badge.is-out circle { fill: #6d7168; }
.bm-badge.is-out text { fill: #dcded6; }
.bm-badge.is-mine circle { stroke: var(--lime-zest); stroke-width: 11px; }
.bm-badge.is-picked { opacity: 0; pointer-events: none; }

.bm-unit { cursor: pointer; outline: none; }
.bm-unit__fill { fill: rgba(235, 246, 125, .86); stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; transition: fill .15s; }
.bm-unit text { font-family: var(--f-b); font-weight: 700; fill: var(--deep-canopy); pointer-events: none; }
.bm-unit:hover .bm-unit__fill, .bm-unit:focus-visible .bm-unit__fill { fill: #fff; }
.bm-unit.is-mine .bm-unit__fill { fill: rgba(46, 74, 30, .94); }
.bm-unit.is-mine text { fill: var(--lime-zest); }
.bm-unit.is-out, .bm-unit.is-none { cursor: default; }
.bm-unit.is-out .bm-unit__fill, .bm-unit.is-none .bm-unit__fill { fill: rgba(58, 60, 54, .8); }
.bm-unit.is-out text, .bm-unit.is-none text { fill: #c9ccc2; text-decoration: line-through; }

.bm-map__tools { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; }
.bm-tool { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--deep-canopy); font: 600 14px/1 var(--f-b); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5); }
.bm-tool[aria-pressed="true"] { background: var(--deep-canopy); color: var(--lime-zest); }
.bm-floortabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }   /* GF / 1F / 2F in the room card (2026-10-28); the map shows the floor that is on */
.bm-floortab { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 44px; padding: 6px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--deep-canopy); font: 600 14px/1 var(--f-b); }
.bm-floortab small { font: 400 12px/1 var(--f-b); color: var(--bm-soft); }
.bm-floortab.is-on { background: var(--deep-canopy); color: #fff; }
.bm-floortab.is-on small { color: var(--lime-zest); }
.bm-map__load { position: absolute; inset: auto 0 44% 0; text-align: center; color: #fff; font: 500 16px/1.3 var(--f-b); }

.bm-key { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; color: var(--bm-soft); }
.bm-key li { display: flex; align-items: center; gap: 7px; }
.bm-key__sw { width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .18); }
.bm-key__sw--free { background: var(--bm-free); } .bm-key__sw--mine { background: var(--deep-canopy); } .bm-key__sw--out { background: #5b5e55; }
.bm-map__credit { margin-top: 8px; font-size: 13px; color: #8a8d84; }

/* ── panel ── */
.bm-panel { display: grid; gap: 18px; align-content: start; min-width: 0; }
.bm-card { background: #fff; border: 1px solid var(--bm-line); border-radius: 20px; padding: 22px; min-width: 0; }
.is-busy .bm-pick, .is-busy .bm-picks { opacity: .55; pointer-events: none; }
.bm-pick__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.bm-pick__fam { font: 600 12.5px/1.2 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--forest-fern); margin-bottom: 6px; }
.bm-pick__fam--land { color: var(--bm-land); } .bm-pick__fam--timber { color: #7b5f27; }
.bm-pick__title { font-family: var(--f-d); font-weight: 300; font-size: 28px; line-height: 1.1; color: var(--deep-canopy); }
.bm-pick__lead { color: var(--bm-soft); margin: 4px 0 12px; line-height: 1.5; }
.bm-pick__lead a, .bm-fail a { color: var(--forest-fern); font-weight: 600; }
.bm-link { flex: none; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--bm-line); border-radius: 999px; background: #fff; color: var(--deep-canopy); font: 600 14px/1 var(--f-b); }
.bm-fail { color: #8a3b12; line-height: 1.5; }

.bm-floor { margin-top: 16px; }
.bm-floor__h { font: 600 13px/1 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--bm-soft); padding-bottom: 8px; border-bottom: 1px solid var(--bm-line); }
.bm-unitlist, .bm-types, .bm-rooms { list-style: none; margin: 0; padding: 0; }
.bm-unitc { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--bm-line); }
.bm-unitc:last-child { border-bottom: 0; }
.bm-unitc__code { grid-row: span 2; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--bm-free); color: var(--deep-canopy); font: 700 20px/1 var(--f-b); }
.bm-unitc.is-mine .bm-unitc__code { background: var(--deep-canopy); color: var(--lime-zest); }
.bm-unitc.is-out .bm-unitc__code, .bm-unitc.is-none .bm-unitc__code { background: #ecebe5; color: #8a8d84; text-decoration: line-through; }
.bm-unitc__name { font: 600 17px/1.25 var(--f-b); color: var(--bm-ink); }
.bm-unitc__meta, .bm-unitc__feat { font-size: 14.5px; line-height: 1.45; color: var(--bm-soft); }
.bm-unitc__price { margin-top: 8px; font-size: 14.5px; color: var(--bm-soft); }
.bm-unitc__price strong, .bm-type__price strong, .bm-room__price strong { font: 600 19px/1 var(--f-b); color: var(--deep-canopy); font-variant-numeric: tabular-nums; margin-right: 6px; }
.bm-unitc__act { grid-column: 2; margin-top: 8px; }
.bm-unitc__out { font-size: 14.5px; color: #8a8d84; }
.bm-btn { min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--deep-canopy); color: #fff; font: 600 15px/1 var(--f-b); transition: background .15s, transform .15s; }
.bm-btn:hover { background: var(--forest-fern); }
.bm-btn:active { transform: scale(.98); }
.bm-btn--on { background: var(--bm-free); color: var(--deep-canopy); }
.bm-btn--on:hover { background: #dfeb62; }

.bm-photos { display: flex; gap: 6px; margin-top: 8px; }
.bm-photo { flex: 0 1 68px; min-width: 0; height: 52px; padding: 0; border: 0; border-radius: 9px; overflow: hidden; background: #ecebe5; }   /* four on a 390 phone give a little instead of widening the page 5px */
.bm-photo img { transition: transform .25s; }
.bm-photo:hover img { transform: scale(1.06); }

.bm-type { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--bm-line); }
.bm-type:last-child { border-bottom: 0; }
.bm-type__img { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: #ecebe5; }
.bm-type__name { font: 600 16.5px/1.25 var(--f-b); }
.bm-type__meta { font-size: 14.5px; color: var(--bm-soft); margin-top: 2px; }
.bm-type__price { font-size: 14.5px; color: var(--bm-soft); margin-top: 6px; }
.bm-type__blocks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bm-type.is-out .bm-type__img { opacity: .45; filter: grayscale(1); }   /* the picture fades; the words stay readable (Lighthouse contrast, 10-28) */
.bm-type.is-out .bm-type__name { color: var(--bm-soft); }
.bm-mini { min-height: 36px; padding: 0 13px; border: 0; border-radius: 999px; color: #fff; font: 600 13.5px/1 var(--f-b); }
.bm-mini--lake { background: var(--bm-lake); } .bm-mini--land { background: var(--bm-land); } .bm-mini--timber { background: var(--bm-timber); }

/* ── your stay ── */
.bm-empty { color: var(--bm-soft); line-height: 1.5; }
.bm-room { padding: 14px 0; border-bottom: 1px solid var(--bm-line); cursor: default; }
.bm-room:first-child { padding-top: 2px; }
.bm-room__top { display: flex; align-items: center; gap: 12px; }
.bm-room__code { flex: none; display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; border-radius: 13px; color: #fff; font: 700 17px/1 var(--f-b); }
.bm-room__code--lake { background: var(--bm-lake); } .bm-room__code--land { background: var(--bm-land); } .bm-room__code--timber { background: var(--bm-timber); }
.bm-room__name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bm-room__name b { font: 600 16px/1.25 var(--f-b); }
.bm-room__name span { font-size: 14px; color: var(--bm-soft); }
.bm-x { flex: none; min-height: 40px; padding: 0 12px; border: 0; background: none; color: #8a3b12; font: 500 14px/1 var(--f-b); text-decoration: underline; text-underline-offset: 3px; }
.bm-room__pax { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; }
.bm-ministep { display: inline-flex; align-items: center; gap: 6px; }
.bm-ministep span { font: 500 14px/1 var(--f-b); color: var(--bm-soft); margin-right: 2px; }
.bm-ministep button { width: 40px; height: 40px; border: 1.5px solid var(--bm-line); border-radius: 50%; background: #fff; color: var(--deep-canopy); font-size: 20px; line-height: 1; }
.bm-ministep button:hover { background: var(--lime-zest); border-color: var(--lime-zest); }
.bm-ministep output { min-width: 22px; text-align: center; font: 600 17px/1 var(--f-b); font-variant-numeric: tabular-nums; }
.bm-room__price { margin-left: auto; text-align: right; display: flex; flex-direction: column; gap: 4px; }
.bm-room__price span { font-size: 13.5px; color: var(--bm-soft); }
.bm-warn { margin-top: 12px; padding: 11px 14px; border-radius: 12px; background: #fdf1e3; color: #7a3410; font-size: 15px; line-height: 1.45; }
.bm-note { margin-top: 10px; font-size: 14.5px; color: var(--bm-soft); line-height: 1.45; }

/* ── meals ── */
.bm-optset { border: 0; padding: 0; margin: 0 0 6px; min-width: 0; }
.bm-optset legend { font: 600 13px/1 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--bm-soft); margin-bottom: 8px; }
.bm-opt { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: start; gap: 4px 12px; padding: 12px 14px; margin-bottom: 8px; border: 1.5px solid var(--bm-line); border-radius: 14px; cursor: pointer; }
.bm-opt:has(input:checked) { border-color: var(--forest-fern); background: #f6fbdc; }
.bm-opt input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--deep-canopy); }
.bm-opt__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bm-opt__txt b { font: 600 16px/1.25 var(--f-b); }
.bm-opt__txt small { font-size: 14px; line-height: 1.4; color: var(--bm-soft); }
.bm-opt__price { font: 600 15px/1.2 var(--f-b); color: var(--deep-canopy); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.bm-opt__price small { display: block; font: 400 12px/1.3 var(--f-b); color: var(--bm-soft); }

/* ── details ── */
.bm-you__lead { color: var(--bm-soft); line-height: 1.5; margin-bottom: 14px; }
.bm-gsi { margin-bottom: 14px; }
.bm-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bm-form .bm-field--wide, .bm-form .bm-field:first-child { grid-column: 1 / -1; }

/* ── total ── */
.bm-sum { background: var(--morning-mist); }
.bm-sum__when { font-size: 15px; color: var(--bm-soft); margin-bottom: 10px; }
.bm-sum__rows { list-style: none; margin: 0; padding: 0; }
.bm-sum__rows li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 15.5px; border-bottom: 1px dashed #d6d2c4; }
.bm-sum__rows b { font: 500 15.5px/1.3 var(--f-b); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bm-sum__sst { color: var(--bm-soft); }
.bm-sum__total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 12px; }
.bm-sum__total span { font: 600 15px/1.2 var(--f-b); }
.bm-sum__total strong { font: 600 30px/1 var(--f-b); color: var(--deep-canopy); font-variant-numeric: tabular-nums; }
.is-pricing .bm-sum__total strong, .is-pricing .bm-dock__txt strong { opacity: .45; }
.bm-sum__incl { margin-top: 8px; font-size: 14.5px; color: var(--bm-soft); }
.bm-cta { display: block; width: 100%; min-height: 58px; margin-top: 16px; border: 0; border-radius: 999px; background: var(--deep-canopy); color: #fff; font: 600 18px/1 var(--f-b); letter-spacing: .01em; transition: background .15s, transform .15s; }
.bm-cta:hover { background: var(--forest-fern); }
.bm-cta:active { transform: scale(.985); }
.bm-cta:disabled { background: #a9ad9f; cursor: default; }
.bm-sum__fine { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--bm-soft); }
.bm-sum__fine a { color: var(--forest-fern); }
.bm-wa { display: block; margin-top: 12px; padding: 13px 16px; border: 1.5px solid var(--bm-line); border-radius: 14px; background: #fff; color: var(--deep-canopy); font: 600 15px/1.3 var(--f-b); text-align: center; text-decoration: none; }
.bm-wa:hover { border-color: var(--forest-fern); }

/* ── phone bar ── */
.bm-dock {
  position: fixed; left: 0; right: 0; bottom: var(--bm-dock-bottom, 0px); z-index: 60; display: flex; align-items: center; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bm-line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .45);
}
.bm-dock[hidden] { display: none; }
.bm-dock__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bm-dock__txt strong { font: 600 20px/1 var(--f-b); color: var(--deep-canopy); font-variant-numeric: tabular-nums; }
.bm-dock__txt span { font-size: 13px; color: var(--bm-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-cta--dock { width: auto; min-height: 50px; margin: 0; padding: 0 22px; font-size: 16px; white-space: nowrap; }
body.bm-has-dock { padding-bottom: calc(var(--bm-dock-h, 76px) + var(--bm-dock-bottom, 0px)); }
/* this page has its own total bar and WhatsApp link: the site's floating buttons would sit on top of them */
body.bm-has-dock .float-widgets { display: none !important; }

/* ── photos ── */
.bm-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.bm-lightbox::backdrop { background: rgba(18, 26, 12, .92); }
.bm-lightbox[open] { display: grid; place-items: center; }
.bm .bm-lightbox img { width: auto; height: auto; max-width: 94vw; max-height: 78vh; object-fit: contain; border-radius: 10px; }
.bm-lightbox__x { position: fixed; top: 14px; right: 14px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: var(--deep-canopy); font: 600 15px/1 var(--f-b); }
.bm-lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--deep-canopy); font-size: 30px; line-height: 1; }
.bm-lightbox__nav--prev { left: 12px; } .bm-lightbox__nav--next { right: 12px; }
.bm-lightbox__cap { position: fixed; left: 0; right: 0; bottom: 18px; text-align: center; color: #e9ecdf; font: 500 15px/1.3 var(--f-b); }
.bm-noscript { margin-top: 20px; padding: 16px; background: var(--morning-mist); border-radius: 14px; }

/* ── wide screens: map stays put, the steps scroll beside it ── */
@media (min-width: 980px) {
  .bm-body { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 34px; align-items: start; }
  .bm-map { position: sticky; top: 18px; }
  /* the map runs to the foot of the screen, above the total bar (Albert 2026-10-28: "if there's nothing under the map, i rather u
     expand it until the bottom"); 152px: the sticky top (92) + the step heading (44) + a gap. The script follows the frame's shape. */
  .bm-map__frame { width: 100%; aspect-ratio: auto; height: calc(100vh - 152px - var(--bm-dock-h, 0px) - var(--bm-dock-bottom, 0px)); min-height: 420px; }
  .bm-map__credit { display: none; }
  .bm-poi--minor { display: inline; }
  .bm-dock { padding-left: 34px; padding-right: 34px; }
  .bm-unitc { grid-template-columns: 58px minmax(0, 1fr) auto; }
  .bm-unitc__code { grid-row: auto; }
  .bm-unitc__act { grid-column: auto; margin-top: 0; align-self: center; }
}
@media (max-width: 979px) {
  .bm { padding: 104px 16px 40px; }
  .bm-head { margin-top: -104px; padding: 112px 16px 26px; }
  .bm-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .bm-bar .bm-field--step { grid-column: auto; }
  .bm-bar .bm-field--step:last-of-type { grid-column: 1 / -1; }
  .bm-card { padding: 18px 16px; }
  .bm-poi text { font-size: 56px; stroke-width: 11px; }
  .bm-poi--water text { font-size: 64px; }
  .bm-form { grid-template-columns: minmax(0, 1fr); }
  .bm-room__price { margin-left: 0; flex-basis: 100%; text-align: left; flex-direction: row; align-items: baseline; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .bm *, .bm *::before, .bm *::after { transition: none !important; }
}

/* pins: where each moment happens; shown only while a moment is in focus */
.bm-pins { pointer-events: none; }
.bm-pin { opacity: 0; transition: opacity .25s; }
.bm-pin.is-on { opacity: 1; }
.bm-pin circle { fill: var(--lime-zest); stroke: var(--deep-canopy); stroke-width: 6px; }
.bm-pin__halo { fill: rgba(235, 246, 125, .35) !important; stroke: none !important; transform-origin: 0 0; animation: bm-halo 1.6s ease-out infinite; }
.bm-pin text { font: 700 24px/1 var(--f-b); fill: var(--deep-canopy); }
@keyframes bm-halo { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

/* the total card carries the stack, the guarantee and the proof */
.bm-sum__stack { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--bm-line); }
.bm-sum__stack-h { font: 600 12.5px/1 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--forest-fern); margin: 0 0 10px; }
.bm-stack { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bm-stack li { padding: 6px 11px; border-radius: 999px; background: #f6fbdc; color: var(--deep-canopy); font: 500 13.5px/1.2 var(--f-b); }
.bm-stack li:first-child { background: var(--deep-canopy); color: var(--lime-zest); font-weight: 600; }
.bm-sum__alloc { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--bm-soft); }
.bm-guar { margin: 12px 0 0; padding: 12px 14px; border-left: 4px solid var(--forest-fern); background: #fff; border-radius: 0 12px 12px 0; font-size: 14px; line-height: 1.5; color: var(--bm-ink); }
.bm-guar b { font-family: var(--f-b); font-weight: 600; color: var(--deep-canopy); }
.bm-proof { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 12px 0 0; font-size: 14px; color: var(--bm-soft); }
.bm-proof__star { font: 700 15px/1 var(--f-b); color: #8a5a00; }
.bm-proof q { quotes: '「' '」'; font-size: 15px; color: var(--bm-ink); }

@media (prefers-reduced-motion: reduce) {
  .bm-pin__halo { animation: none; }
}

/* ══════════════════════════ the v3 skin (2026-10-17, Albert: "follow the new theme") ══════════════════════════
 * Same layout as above; the loam world on top: warm black, the one amber light, Albert Sans for titles and figures,
 * Atkinson for the rest, cards lit (an amber hairline), never lifted. #bm outranks every rule above.
 */
.bm-page .float-widgets, .bm-page .v3float { display: none !important; }
#bm { --bm-lake: #2C5662; --bm-land: #7A4A22; --bm-timber: #8A5C16; --bm-line: color-mix(in srgb, var(--t-loam) 13%, transparent); --bm-field: color-mix(in srgb, var(--t-loam) 20%, transparent); --bm-ink: var(--t-loam); --bm-soft: var(--s-loam); color: var(--t-loam); }
html.v3[data-sky="dawn"] #bm { --bm-line: rgb(21 48 31 / .16); --bm-field: rgb(21 48 31 / .3); }   /* lines on the dawn ground (2026-10-28) */
#bm h1, #bm h2, #bm h3, #bm p { margin-top: 0; }
#bm .bm-head { background: var(--loam); border-bottom: 1px solid var(--rule-loam); }
#bm .bm-kicker, #bm .bm-day__kicker, #bm .bm-pick__fam { color: var(--amber-text); font-weight: 600; }
#bm .bm-title { font: 300 clamp(32px, 4.4vw, 52px)/1.06 var(--f-d); letter-spacing: -.02em; color: var(--bloom); text-shadow: 0 0 34px rgb(245 166 35 / .25); }
#bm .bm-sub { color: var(--s-loam); }
#bm .bm-bar, #bm .bm-card { background: var(--loam-2); border: 1px solid var(--rule-loam); box-shadow: 0 16px 50px -20px rgb(245 166 35 / .18); }
#bm .bm-lbl { color: var(--t-loam); }
#bm .bm-field :is(input, textarea) { color: var(--t-loam); background: var(--loam); border-color: var(--bm-field); font-family: var(--f-b); }
#bm .bm-field :is(input, textarea):hover { border-color: rgb(245 166 35 / .55); }
#bm :is(input, textarea, button, a, [role="button"]):focus-visible { outline: 2px solid var(--bloom); }
#bm .bm-step { background: var(--loam); border-color: var(--bm-field); }
#bm .bm-step__b, #bm .bm-ministep button { background: var(--loam-3); border-color: var(--bm-field); color: var(--bloom); }
#bm .bm-step__b:hover, #bm .bm-ministep button:hover { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
#bm :is(.bm-step__v, .bm-ministep output) { font: 400 18px/1 var(--f-d); color: var(--bloom); }
#bm .bm-bar__note.is-flash, #bm .bm-fail { color: var(--amber-hot-text); }
#bm .bm-h2 { font: 300 25px/1.15 var(--f-d); color: var(--bloom); }
#bm .bm-num { background: transparent; border: 1.5px solid var(--amber); color: var(--amber-hot-text); }
#bm .bm-map__frame { background: #1d2a1a; box-shadow: 0 22px 54px -26px rgb(0 0 0 / .8), 0 0 0 1px var(--rule-loam); }
#bm .bm-poi text { fill: #fff; stroke: color-mix(in srgb, var(--loam) 88%, transparent); }
#bm .bm-poi circle { stroke: color-mix(in srgb, var(--loam) 88%, transparent); }
#bm .bm-park rect { fill: #0f52a8; stroke: #fff; }
#bm .bm-park text { fill: #fff; }
#bm .bm-ent rect { fill: color-mix(in srgb, var(--loam) 92%, transparent); stroke: var(--amber); }
#bm .bm-ent text { fill: var(--bloom); }
#bm .bm-blk:hover polygon, #bm .bm-blk:focus-visible polygon { fill: rgb(245 166 35 / .3); stroke: var(--amber-hot); }
#bm .bm-blk.is-out polygon { fill: color-mix(in srgb, var(--loam) 50%, transparent); }
#bm .bm-blk.is-mine polygon { fill: rgb(245 166 35 / .42); stroke: var(--amber-hot); }
#bm .bm-blk.is-picked polygon { stroke: var(--bloom); }
#bm .bm-badge circle { stroke: var(--bloom); }
#bm .bm-badge text { fill: var(--bloom); font-weight: 600; }
#bm .bm-badge.is-out circle { fill: var(--loam-4); stroke: var(--dim-loam); }
#bm .bm-badge.is-out text { fill: #d8d0c2; }
#bm .bm-badge.is-mine circle { fill: var(--amber); stroke: var(--bloom); }
#bm .bm-badge.is-mine text { fill: var(--on-amber); }
#bm .bm-unit__fill { fill: rgb(245 166 35 / .9); stroke: var(--bloom); }
#bm .bm-unit text { fill: var(--on-amber); }
#bm .bm-unit:hover .bm-unit__fill, #bm .bm-unit:focus-visible .bm-unit__fill { fill: var(--amber-hot); }
#bm .bm-unit.is-mine .bm-unit__fill { fill: color-mix(in srgb, var(--loam) 92%, transparent); stroke: var(--amber); }
#bm .bm-unit.is-mine text { fill: var(--amber-text); }
#bm :is(.bm-unit.is-out, .bm-unit.is-none) .bm-unit__fill { fill: rgb(50 46 42 / .85); stroke: color-mix(in srgb, var(--t-loam) 40%, transparent); }
#bm .bm-tool, #bm .bm-lightbox__x, #bm .bm-lightbox__nav { background: color-mix(in srgb, var(--loam) 90%, transparent); border: 1px solid var(--rule-loam); color: var(--bloom); }
#bm .bm-tool[aria-pressed="true"] { border-color: var(--amber); color: var(--amber-hot-text); box-shadow: inset 0 0 0 1px var(--amber); }
#bm .bm-floortab { color: var(--t-loam); background: var(--loam); border: 1px solid var(--rule-loam); }
#bm .bm-floortab.is-on { background: var(--amber); color: var(--on-amber); }
#bm .bm-floortab small, #bm .bm-floortab.is-on small { color: inherit; opacity: .85; }
#bm .bm-key, #bm .bm-map__credit, #bm .bm-floor__h, #bm .bm-optset legend { color: var(--s-loam); }
#bm .bm-link, #bm .bm-wa { background: var(--loam-2); border: 1px solid var(--bm-line); color: var(--t-loam); }
#bm .bm-link:hover, #bm .bm-wa:hover { border-color: var(--amber); }
#bm .bm-mini { color: var(--bloom); } #bm .bm-room__code { color: #FFF3C9; }   /* a letter or code sits on its family colour on both skies (Codex 10-28 #8) */
#bm .bm-key__sw { border: 1.5px solid var(--bloom); }
#bm .bm-key__sw--free { background: rgb(245 166 35 / .35); border-color: var(--amber-hot); } #bm .bm-key__sw--mine { background: var(--amber); } #bm .bm-key__sw--out { background: var(--loam-4); border-color: var(--dim-loam); }
#bm .bm-pick__title { font: 300 32px/1.05 var(--f-d); letter-spacing: -.02em; color: var(--bloom); }
#bm .bm-pick__fam--land, #bm .bm-pick__fam--timber { color: var(--amber-text); }
#bm .bm-pick__lead a, #bm .bm-fail a, #bm .bm-sum__fine a { color: var(--amber-hot-text); }
#bm .bm-sub a, #bm .bm-note a { color: var(--amber-hot-text); font-weight: 600; }   /* the head footnote and the groups line were browser blue (10-29) */
#bm .bm-unitc, #bm .bm-type, #bm .bm-room, #bm .bm-floor__h { border-color: var(--bm-line); }
#bm .bm-unitc__code { background: var(--amber); color: var(--on-amber); font: 400 21px/1 var(--f-d); }
#bm .bm-unitc.is-mine .bm-unitc__code { background: var(--loam); color: var(--amber-hot-text); box-shadow: inset 0 0 0 2px var(--amber); }
#bm :is(.bm-unitc.is-out, .bm-unitc.is-none) .bm-unitc__code { background: var(--loam-3); color: var(--dim-loam); }
#bm :is(.bm-unitc__name, .bm-type__name, .bm-room__name b, .bm-opt__txt b) { color: var(--bloom); }
#bm .bm-type.is-out .bm-type__name { color: var(--s-loam); }
#bm :is(.bm-unitc__price, .bm-type__price, .bm-room__price) strong { font: 400 21px/1 var(--f-d); color: var(--bloom); }
#bm .bm-unitc__out { color: var(--dim-loam); }
#bm .bm-photo, #bm .bm-type__img { background: var(--loam-3); }
#bm .bm-btn, #bm .bm-cta { background: var(--amber); color: var(--on-amber); transition: background .15s, box-shadow .3s, transform .15s; }
#bm .bm-btn:hover, #bm .bm-cta:hover { background: var(--amber-hot); box-shadow: 0 8px 30px -4px rgb(245 166 35 / .55); }
#bm .bm-btn--on { background: transparent; color: var(--amber-hot-text); box-shadow: inset 0 0 0 1.5px var(--amber); }
#bm .bm-btn--on:hover { background: var(--loam-3); box-shadow: inset 0 0 0 1.5px var(--amber-hot); }
#bm .bm-cta:disabled { background: #5a534a; color: #b9b0a2; box-shadow: none; }
#bm .bm-x { color: var(--s-loam); }
#bm .bm-x:hover { color: var(--amber-hot-text); }
#bm .bm-warn { background: rgb(181 50 31 / .16); border: 1px solid rgb(181 50 31 / .5); color: #f3c9b9; }
html.v3[data-sky="dawn"] #bm .bm-warn { color: #7A2414; }   /* 7.2:1 on the pale red (Codex 10-28 #8) */
#bm .bm-opt { border-color: var(--bm-field); }
#bm .bm-opt:has(input:checked) { border-color: var(--amber); background: rgb(245 166 35 / .08); }
#bm .bm-opt input { accent-color: var(--amber); }
#bm .bm-opt__price { font: 400 16px/1.2 var(--f-d); color: var(--bloom); }
#bm .bm-sum { border-color: rgb(245 166 35 / .5); box-shadow: 0 16px 50px -20px rgb(245 166 35 / .3); }
#bm .bm-sum__rows li { border-color: var(--bm-line); }
#bm .bm-sum__rows b { font: 400 16px/1.3 var(--f-d); }
#bm .bm-sum__total strong { font: 400 34px/1 var(--f-d); color: var(--bloom); }
#bm .bm-dock { background: color-mix(in srgb, var(--loam) 96%, transparent); border-top: 1px solid var(--rule-loam); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }   /* frosted: the panel's text no longer reads through it */
#bm .bm-dock__txt strong { font: 400 22px/1 var(--f-d); color: var(--bloom); }
#bm .bm-sum__stack, #bm .bm-guar { background: var(--loam); border: 1px solid var(--bm-line); color: var(--t-loam); }
#bm .bm-guar { border-left: 3px solid var(--amber); }
#bm .bm-guar b { color: var(--bloom); }
#bm .bm-stack li { background: transparent; border: 1px solid var(--bm-line); color: var(--t-loam); }
#bm .bm-stack li:first-child { border-color: var(--amber); color: var(--amber-hot-text); }
#bm .bm-sum__stack-h { color: var(--amber-text); }
#bm .bm-proof__star { color: var(--amber-hot-text); }
#bm .bm-proof q { color: var(--t-loam); }
#bm .bm-pin circle { fill: var(--amber); stroke: var(--loam); }
#bm .bm-pin__halo { fill: rgb(245 166 35 / .4) !important; }
#bm .bm-pin text { fill: var(--on-amber); }
.bm-lightbox::backdrop { background: color-mix(in srgb, var(--loam) 94%, transparent); }
#bm .bm-noscript { background: var(--loam-2); }

/* ── our picks: the best-fitting room in each family, priced for this party, one tap (recommend, do not list) ── */
#bm .bm-picks[hidden] { display: none; }
#bm .bm-pickl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#bm .bm-pk { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 2px 14px; align-items: start; padding: 12px; border: 1px solid var(--rule-loam); border-radius: 18px; background: var(--loam); }
#bm .bm-pk__img { grid-row: span 2; width: 112px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--loam-3); }
#bm .bm-pk__img .bm-photo { display: block; width: 100%; height: 100%; border-radius: 0; }
#bm .bm-pk__img img { width: 100%; height: 100%; object-fit: cover; }
#bm .bm-pk__fam { font: 600 12px/1.2 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-text); }
#bm .bm-pk__name { font: 600 16.5px/1.25 var(--f-b); color: var(--bloom); margin-top: 3px; }
#bm .bm-pk__name small { font: 400 13.5px/1 var(--f-b); color: var(--s-loam); margin-left: 6px; white-space: nowrap; }
#bm .bm-pk__meta { font-size: 14px; line-height: 1.4; color: var(--s-loam); margin-top: 3px; }
#bm .bm-pk__foot { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 8px; }
#bm .bm-pk__price { font-size: 14px; color: var(--s-loam); }
#bm .bm-pk__price strong { font: 400 21px/1 var(--f-d); color: var(--bloom); font-variant-numeric: tabular-nums; margin-right: 6px; }
#bm .bm-pk__tag { display: inline-block; margin-left: 4px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--amber); color: var(--amber-hot-text); font: 600 11.5px/1 var(--f-b); letter-spacing: .04em; vertical-align: middle; }
#bm .bm-picks__or { margin-top: 10px; font-size: 14.5px; color: var(--s-loam); }
#bm .bm-proof--head { margin-top: 12px; color: var(--s-loam); }
#bm .bm-proof--head q { quotes: '“' '”'; color: var(--bloom); }
@media (max-width: 560px) {
  #bm .bm-pk__name small { display: block; margin: 3px 0 0; white-space: normal; }
}
@media (max-width: 380px) {
  #bm .bm-pk { grid-template-columns: 92px minmax(0, 1fr); gap: 2px 10px; padding: 10px; }
  #bm .bm-pk__img { width: 92px; }
}
/* block chips in the room-type list: a coloured dot on a dark chip (white on timber brown failed WCAG contrast) */
#bm .bm-mini { display: inline-flex; align-items: center; gap: 6px; padding: 0 13px 0 6px; border: 1px solid var(--rule-loam); background: var(--loam-2); color: var(--t-loam); }
#bm .bm-mini::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--bm-c, var(--bm-lake)); }
#bm .bm-mini:hover { border-color: var(--amber); background: var(--loam-3); }
#bm .bm-mini--lake { --bm-c: var(--bm-lake); } #bm .bm-mini--land { --bm-c: var(--bm-land); } #bm .bm-mini--timber { --bm-c: var(--bm-timber); }

/* ══════════════════════════ 2026-10-27: the guest map, the day in a pop-up, pay on this page ══════════════════════════
 * The plate is the v16 guest map: names, P marks and block letters are painted on it, so the page only rings each
 * letter with its state. "In every price" is one small bar (sticky beside the steps on a wide screen) and an
 * "everything in" button beside every price; both open the day in photos, one tap puts it away.
 */
#bm .bm-badge--ring { cursor: pointer; }
#bm .bm-badge.bm-badge--ring circle.bm-badge__hit { fill: transparent; stroke: none; filter: none; }
#bm .bm-badge--ring circle:not(.bm-badge__hit) { fill: none; stroke: var(--amber-hot); stroke-width: 6px; filter: drop-shadow(0 0 6px rgb(245 166 35 / .85)); }
#bm .bm-badge.bm-badge--ring.is-out circle:not(.bm-badge__hit) { fill: none; stroke: var(--dim-loam); filter: none; stroke-dasharray: 8 7; }
#bm .bm-badge.bm-badge--ring.is-mine circle:not(.bm-badge__hit) { fill: none; stroke: var(--bloom); stroke-width: 9px; filter: drop-shadow(0 0 9px rgb(245 166 35 / 1)); }
#bm .bm-badge--ring.is-picked circle:not(.bm-badge__hit) { stroke: #fff; stroke-width: 8px; }
#bm .bm-map__load.is-note { inset: auto 12px 12px 12px; padding: 9px 14px; border-radius: 999px; background: color-mix(in srgb, var(--loam) 86%, transparent); color: var(--bloom); font-size: 14px; }
#bm .bm-map__credit a { color: var(--amber-hot-text); }

/* the small bar */
#bm .bm-incl { min-width: 0; }
#bm .bm-incl__open {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 64px;
  padding: 10px 14px; border: 1px solid rgb(245 166 35 / .45); border-radius: 18px; background: var(--loam-2); color: var(--t-loam);
  text-align: left; cursor: pointer; box-shadow: 0 12px 34px -20px rgb(245 166 35 / .4); transition: border-color .15s, background .15s;
}
#bm .bm-incl__open:hover { border-color: var(--amber-hot); background: var(--loam-3); }
#bm .bm-incl__faces { display: flex; }
#bm .bm-incl__faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--loam-2); margin-left: -12px; background: var(--loam-3); }
#bm .bm-incl__faces img:first-child { margin-left: 0; }
#bm .bm-incl__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#bm .bm-incl__kicker { font: 600 12px/1.2 var(--f-b); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); }
#bm .bm-incl__txt b { font: 500 14.5px/1.35 var(--f-b); color: var(--bloom); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#bm .bm-incl__go { padding: 9px 14px; border-radius: 999px; background: var(--amber); color: var(--on-amber); font: 600 14px/1 var(--f-b); white-space: nowrap; }
@media (min-width: 980px) {
  /* the site bar is fixed (76px): both the map and the small bar stick just under it */
  #bm .bm-map { top: 92px; }
  #bm .bm-incl { position: sticky; top: 92px; z-index: 6; }
}
@media (max-width: 979px) {
  #bm .bm-incl { margin-top: 14px; }
}
@media (max-width: 420px) {
  #bm .bm-incl__open { grid-template-columns: minmax(0, 1fr) auto; }
  #bm .bm-incl__faces { display: none; }
  #bm .bm-incl__go { padding: 9px 12px; }
}

/* "everything in" beside every price */
#bm .bm-in {
  display: inline; min-height: 0; padding: 0; border: 0; background: none; color: var(--amber-hot-text); font: inherit; font-weight: 600;
  text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer;
}
#bm .bm-in:hover { text-decoration-style: solid; }
#bm .bm-in:disabled { color: inherit; font-weight: 400; text-decoration: none; cursor: default; }
#bm .bm-dock__txt .bm-in { padding: 6px 0; text-align: left; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* the day, as a value stack (Albert 2026-10-28, "the Hormozi way", "fluid and modern"): the counts, three photo cards of a fixed
   size whose other things slide up ON the photo, then the two days as short lists on a rail. Nothing below moves when a card opens. */
.bm-daysheet { width: min(980px, calc(100vw - 32px)); max-height: min(88vh, 900px); margin: auto; padding: 0; border: 1px solid var(--rule-loam); border-radius: 22px; background: var(--loam-2); color: var(--t-loam); overflow: hidden; }
.bm-daysheet[open] { display: flex; flex-direction: column; }
.bm-daysheet::backdrop { background: color-mix(in srgb, var(--loam) 78%, transparent); }
.bm-ds__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; padding: 18px 22px 14px; border-bottom: 1px solid var(--rule-loam); }
.bm-ds__head > div { flex: 1 1 0; min-width: 0; }   /* the title wraps beside Minimise; only the counts take a row of their own */
.bm-ds__title { margin: 0; font: 300 26px/1.15 var(--f-d); color: var(--bloom); }
.bm-ds__stack { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bm-ds__stack li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px; border-radius: 999px; background: color-mix(in srgb, var(--amber) 13%, transparent); color: var(--t-loam); font: 600 13px/1.2 var(--f-b); }
.bm-ds__stack li::before { content: ''; flex: none; width: 4px; height: 8px; margin: -2px 2px 0 3px; border-right: 2px solid var(--amber-text); border-bottom: 2px solid var(--amber-text); transform: rotate(45deg); }
.bm-ds__min { flex: none; min-height: 44px; padding: 0 18px; border: 1px solid var(--amber); border-radius: 999px; background: transparent; color: var(--amber-hot-text); font: 600 15px/1 var(--f-b); cursor: pointer; }
.bm-ds__min:hover { background: var(--amber); color: var(--on-amber); }
.bm-ds__grid { padding: 16px 22px 18px; overflow-y: auto; overscroll-behavior: contain; }
.bm-ds__h, .bm-ds__day { margin: 0; font: 600 12.5px/1 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-text); }

.bm-ds__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bm-ds__card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bm-ds__box { position: relative; height: 380px; border-radius: 18px; overflow: hidden; background: var(--loam-3); isolation: isolate; }
.bm-ds__shot { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.bm-ds__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.bm-ds__shot:focus-visible, .bm-ds__thumb:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
/* open: the strip of photo above the panel is the way back, a chevron on it says so */
.bm-ds__card.is-more .bm-ds__shot { cursor: pointer; }
.bm-ds__card.is-more .bm-ds__shot::after { content: ''; position: absolute; top: 20px; left: 50%; z-index: 2; width: 10px; height: 10px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translate(-50%, -70%) rotate(45deg); filter: drop-shadow(0 1px 2px rgb(0 0 0 / .6)); }
.bm-ds__box::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(0 0 0 / 0) 34%, rgb(0 0 0 / .8) 100%); pointer-events: none; }
.bm-ds__when { position: absolute; top: 10px; left: 10px; z-index: 2; pointer-events: none; padding: 5px 10px; border-radius: 999px; background: rgb(8 8 8 / .62); backdrop-filter: blur(8px); color: #FFC94D; font: 700 11.5px/1 var(--f-b); }
.bm-ds__pin { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--amber-hot-text); cursor: pointer; transition: background .2s; }
.bm-ds__pin svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bm-ds__pin:hover { background: color-mix(in srgb, var(--amber) 16%, transparent); }
.bm-ds__box > .bm-ds__pin { position: absolute; top: 6px; right: 6px; z-index: 2; background: rgb(8 8 8 / .55); backdrop-filter: blur(8px); color: #fff; }
.bm-ds__box > .bm-ds__pin:hover { background: rgb(8 8 8 / .78); }
.bm-ds__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; display: flex; flex-direction: column; gap: 4px; padding: 14px; color: #fff; transition: opacity .2s; }
.bm-ds__cap b { font: 600 17px/1.25 var(--f-b); color: #fff; }
.bm-ds__cap small { font-size: 13.5px; line-height: 1.4; color: rgb(255 255 255 / .86); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bm-ds__open { pointer-events: auto; align-self: flex-start; margin-top: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgb(255 255 255 / .34); border-radius: 999px; background: rgb(255 255 255 / .14); backdrop-filter: blur(10px); color: #fff; font: 600 14px/1 var(--f-b); cursor: pointer; transition: background .2s; }
.bm-ds__open:hover { background: rgb(255 255 255 / .26); }
.bm-ds__box > .bm-ds__when, .bm-ds__box > .bm-ds__pin { transition: opacity .2s, background .2s; }
.bm-ds__card.is-more .bm-ds__cap, .bm-ds__card.is-more .bm-ds__box > .bm-ds__when, .bm-ds__card.is-more .bm-ds__box > .bm-ds__pin { opacity: 0; visibility: hidden; transition: opacity .15s, visibility 0s .15s; }
.bm-ds__layer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; max-height: calc(100% - 64px); overflow: hidden auto; padding: 6px 6px 6px 10px; border-radius: 16px 16px 0 0; background: color-mix(in srgb, var(--loam-2) 94%, transparent); backdrop-filter: blur(14px); transform: translateY(102%); visibility: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s .28s; }
.bm-ds__card.is-more .bm-ds__layer { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.bm-ds__card.is-more .bm-ds__shot img { transform: scale(1.04); }
.bm-ds__layer ul, .bm-ds__plan ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); }   /* minmax: a long title ellipses instead of widening the row past its pin */

/* one line of the stack, in a card and in a day */
.bm-ds__item { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 4px 0; }
.bm-ds__thumb { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--loam-3); color: var(--amber-text); }
.bm-ds__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
button.bm-ds__thumb { cursor: zoom-in; }
.bm-ds__thumb svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bm-ds__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bm-ds__txt em { font: 700 11px/1.2 var(--f-b); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--amber-text); }
.bm-ds__txt b { font: 600 14.5px/1.3 var(--f-b); color: var(--bloom); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-ds__txt small { font-size: 13px; line-height: 1.3; color: var(--s-loam); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* the two days, on a rail */
.bm-ds__days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: 20px; }
.bm-ds__plan ul { position: relative; margin-top: 6px; }
.bm-ds__plan ul::before { content: ''; position: absolute; left: 23px; top: 30px; bottom: 30px; width: 2px; background: var(--rule-loam); }
.bm-ds__plan .bm-ds__thumb { border-radius: 50%; box-shadow: 0 0 0 3px var(--loam-2); }
.bm-ds__foot { margin: 0; padding: 10px 22px 14px; border-top: 1px solid var(--rule-loam); font-size: 13px; color: var(--s-loam); }
@media (hover: hover) { .bm-ds__box:hover .bm-ds__shot img { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .bm-ds__shot img, .bm-ds__layer, .bm-ds__cap { transition: none !important; } .bm-ds__card.is-more .bm-ds__shot img, .bm-ds__box:hover .bm-ds__shot img { transform: none; } }
/* narrower than three cards: one row that slides sideways, a card and a peek of the next */
@media (max-width: 900px) {
  .bm-ds__cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(300px, 82%); margin: 0 -22px; padding: 0 22px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 22px; overscroll-behavior-x: contain; scrollbar-width: none; }
  .bm-ds__cards::-webkit-scrollbar { display: none; }
  .bm-ds__card { scroll-snap-align: start; }
}
@media (max-width: 700px) { .bm-ds__days { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .bm-daysheet { width: 100vw; max-width: 100vw; max-height: 90vh; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
  .bm-ds__head { padding: 16px 16px 12px; }
  .bm-ds__title { font-size: 22px; }
  .bm-ds__grid { padding: 12px 16px 16px; }
  .bm-ds__cards { margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
  .bm-ds__foot { padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
}

/* how to pay */
#bm .bm-pay__list { display: grid; gap: 10px; }
#bm .bm-paym { min-height: 64px; }
#bm .bm-pay__alt { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--s-loam); }
#bm .bm-pay__alt a { color: var(--amber-hot-text); font-weight: 600; }
#bm .bm-promo { margin-top: 14px; }
#bm .bm-promo__open { min-height: 40px; padding: 0; border: 0; background: none; color: var(--amber-hot-text); font: 600 14.5px/1 var(--f-b); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#bm .bm-promo__box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 8px; }
#bm .bm-promo__box[hidden] { display: none; }
#bm .bm-promo__box .bm-btn { min-height: 48px; }
#bm .bm-promo__msg { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--s-loam); }
#bm .bm-promo__msg:empty { display: none; }
#bm .bm-sum__promo { color: var(--amber-hot-text); }
/* tablets: the full-width 3:4 map ran a full screen tall and pushed the picks off it */
@media (min-width: 600px) and (max-width: 979px) {
  .bm-map__frame { width: min(100%, calc(68vh * .75)); }
}
/* while VikBooking prepares the booking (one to three seconds) nothing on the page can change under it */
#bm.is-going .bm-bar, #bm.is-going .bm-map, #bm.is-going .bm-panel > :not(.bm-sum), #bm.is-going .bm-promo { pointer-events: none; opacity: .6; transition: opacity .2s; }
#bm .bm-guar a { color: var(--amber-hot-text); font-weight: 600; }

/* the quiet map (?map=quiet, Albert 2026-10-28 "the map look so busy"): the painting carries no words or pictures; each
   block is outlined with a small letter beside it, places are dots named on hover, tap or zoom (sizes in screen px).
   Last in the file and under #bm, so it wins over the v3 skin above. */
#bm .is-quiet .bm-blk polygon { stroke: transparent; stroke-width: 1.6px; vector-effect: non-scaling-stroke; }   /* no box at rest: the plan's footprint sits a little off the painted A-frames */
#bm .is-quiet .bm-blk:hover polygon, #bm .is-quiet .bm-blk:focus-visible polygon { fill: rgb(245 166 35 / .26); stroke: var(--amber-hot); stroke-width: 2.4px; }
#bm .is-quiet .bm-blk.is-out polygon { fill: rgba(40, 44, 38, .3); }
#bm .is-quiet .bm-blk.is-mine polygon { fill: rgb(245 166 35 / .34); stroke: var(--amber-hot); stroke-width: 2.4px; }
#bm .is-quiet .bm-blk.is-picked polygon { fill: transparent; stroke: #fff; stroke-width: 2px; }
#bm .is-quiet .bm-badge circle:not(.bm-badge__hit) { stroke: #fff; stroke-width: 2px; }
#bm .is-quiet .bm-badge text { font: 700 12px/1 var(--f-b); fill: #fff; }
#bm .is-quiet .bm-badge.is-out circle:not(.bm-badge__hit) { fill: #7d8278; stroke: rgba(255, 255, 255, .7); }
#bm .is-quiet .bm-badge.is-out text { fill: #eceee8; }
#bm .is-quiet .bm-badge.is-mine circle:not(.bm-badge__hit) { fill: var(--amber); stroke: #fff; stroke-width: 3px; }
#bm .is-quiet .bm-badge.is-mine text { fill: var(--on-amber); }
#bm .is-quiet .bm-badge circle.bm-badge__hit, #bm .bm-dot__hit { fill: transparent; stroke: none; }
#bm .is-quiet .bm-pois { pointer-events: auto; }
#bm .bm-dot { cursor: pointer; }
#bm .bm-dot circle:not(.bm-dot__hit) { fill: #faf6ec; stroke: rgba(28, 44, 18, .85); stroke-width: 1.5px; }
#bm .bm-dot--animal circle:not(.bm-dot__hit) { fill: #f5c46a; }
#bm .bm-dot--key circle:not(.bm-dot__hit) { fill: #fff; }
#bm .bm-dot--parking { display: none; }
#bm .is-near .bm-dot--parking { display: inline; }
#bm .bm-dot--parking rect { fill: #fff; stroke: #15301F; stroke-width: 1.5px; }
#bm .bm-dot__p { font: 700 10px/1 var(--f-b); fill: #15301F; pointer-events: none; }   /* white chip in both skins: a fixed ink (--deep-canopy is the light loam by day) */
#bm .bm-dot__name { font: 600 13px/1 var(--f-b); fill: #fff; stroke: rgba(28, 44, 18, .9); stroke-width: 3.5px; paint-order: stroke; stroke-linejoin: round; opacity: 0; transition: opacity .15s; pointer-events: none; }
#bm .bm-dot__sub { display: none; font-weight: 400; font-size: 11px; }
#bm .bm-name.is-hover .bm-dot__sub, #bm .bm-name.is-on .bm-dot__sub { display: inline; }   /* the tour line only for the one animal asked about */
#bm .bm-dot--key .bm-dot__name, #bm .bm-name.is-hover .bm-dot__name, #bm .bm-name.is-on .bm-dot__name, #bm .is-near .bm-dot__name { opacity: 1; }
#bm .bm-names { pointer-events: none; }
#bm .bm-dot--water { pointer-events: none; }
/* the way in (Albert 2026-10-28): the gate's pill and the elephant statue, named on every zoom, in both skins */
#bm .bm-gate rect, #bm .bm-gate path { fill: #a4552a; stroke: #fff; stroke-width: 1.5px; }
#bm .bm-gate text { font: 700 12px/1 var(--f-b); letter-spacing: .1em; fill: #fff; }
#bm .bm-dot--landmark .bm-dot__name { opacity: 1; }
#bm .bm-dot--landmark .bm-dot__sub { display: inline; }
#bm .bm-dot--landmark circle:not(.bm-dot__hit) { fill: #faf6ec; }
#bm .bm-dot__icon { fill: #5f5d55; pointer-events: none; }
#bm .bm-gatechip { position: absolute; top: 12px; left: 12px; z-index: 2; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
#bm .bm-gatechip[hidden] { display: none; }
#bm .bm-gatechip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
#bm .bm-dot--water .bm-dot__name { font: italic 300 17px/1 var(--f-d); fill: rgba(255, 255, 255, .92); stroke: rgba(20, 60, 70, .35); stroke-width: 3px; letter-spacing: .04em; }

/* a picked block's floor buttons on the map (Albert 2026-10-28): a tap puts that floor's rooms on top; a full floor gets none */
#bm .bm-flbtn { cursor: pointer; outline: none; }
#bm .bm-flbtn rect { fill: rgba(255, 255, 255, .95); stroke: rgba(28, 44, 18, .5); stroke-width: 1.2px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
#bm .bm-flbtn text { font: 700 12px/1 var(--f-b); fill: #15301F; pointer-events: none; }   /* white pill in both skins: a fixed ink */
#bm .bm-flbtn:hover rect, #bm .bm-flbtn:focus-visible rect { fill: #fff; stroke: var(--amber-hot); stroke-width: 2px; }
#bm .bm-flbtn.is-on rect { fill: var(--amber); stroke: #fff; stroke-width: 1.6px; }
#bm .bm-flbtn.is-on text { fill: var(--on-amber); }

/* what is chosen, on the map and in the floating bar (Albert 2026-10-28: "i need indications of rooms chosen") */
#bm .bm-unit.is-mine .bm-unit__fill { fill: #15301F; stroke: var(--amber); stroke-width: 3px; }
#bm .bm-unit.is-mine text { fill: #fff; }
#bm .is-quiet .bm-badge .bm-badge__mine rect { fill: #15301F; stroke: #fff; stroke-width: 1.5px; }
#bm .is-quiet .bm-badge.is-mine .bm-badge__mine text { font: 700 11px/1 var(--f-b); fill: #fff; }
#bm .bm-flbtn__mine { fill: #15301F; stroke: #fff; stroke-width: 1.5px; }
#bm .bm-map__frame .bm-key { position: absolute; left: 10px; bottom: 10px; z-index: 2; margin: 0; padding: 7px 12px; gap: 4px 12px; border-radius: 12px; background: rgba(255, 255, 255, .94); color: #15301F; font-size: 12px; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5); pointer-events: none; }
#bm .bm-map__frame:not(.has-block) .bm-key { display: none; }
#bm .bm-map__frame .bm-key__sw { width: 13px; height: 13px; }
#bm .bm-map__frame .bm-key__sw--free { background: rgb(245 166 35 / .9); border-color: #fff; } #bm .bm-map__frame .bm-key__sw--mine { background: #15301F; border-color: var(--amber); } #bm .bm-map__frame .bm-key__sw--out { background: #7d8278; border-color: #fff; }
#bm .bm-dock__rooms { color: var(--bloom); font-size: 13px; }
#bm .bm-dock__rooms i { font-style: normal; opacity: .45; }
