:root {
  --ivory: #f7f3eb; --paper: #fcfaf6; --sand: #efe7d8; --line: #e2d8c6; --line-soft: #ece4d6;
  --ink: #2b2621; --ink-2: #4a423a; --muted: #857a6d; --gold: #a88a53; --gold-d: #8c6f3e; --gold-l: #d9c6a0;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --r: 2px; --shadow: 0 18px 50px -24px rgba(60, 45, 25, .35);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--ivory); color: var(--ink); font: 300 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; letter-spacing: .01em; }
body.is-loading { visibility: hidden; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

.eyebrow { margin: 0 0 6px; font: 400 10.5px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-d); }
.eyebrow.light { color: #f3e6c9; }
.display { margin: 0; font: 400 52px/1.02 var(--serif); letter-spacing: .01em; }
.display.small { font-size: 34px; line-height: 1.1; }
.lede { margin: 10px 0 0; font: italic 400 21px/1.3 var(--serif); color: var(--ink-2); }
.copy { margin: 16px 0 0; color: var(--ink-2); font-size: 14.5px; max-width: 44ch; }
.monogram { width: 54px; height: 54px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center;
  font: 500 19px/1 var(--serif); letter-spacing: .08em; color: var(--gold-d); margin-bottom: 26px; position: relative; }
.monogram::after { content: ''; position: absolute; inset: 4px; border: 1px solid var(--gold-l); border-radius: 50%; }
.monogram.sm { width: 40px; height: 40px; font-size: 14px; margin: 0; }
.monogram.sm::after { inset: 3px; }

/* ---------- screens (gate + guest form) ---------- */
.screen { position: fixed; inset: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(460px, 1fr); background: var(--paper); z-index: 20; }
.screen-hero { position: relative; overflow: hidden; background: #3a3129; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 30% 70%); filter: saturate(.82) contrast(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 22, 14, .15) 40%, rgba(30, 22, 14, .62)); }
.hero-text { position: absolute; left: 48px; bottom: 40px; right: 48px; color: #fbf3e2; }
.hero-caption { margin: 0; font: italic 400 22px/1.3 var(--serif); }
.screen-body { overflow-y: auto; display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.screen-card { width: 100%; max-width: 440px; }
form { margin-top: 28px; }
.field { display: block; margin: 0 0 16px; }
.field > span { display: block; font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0 9px; font-size: 16px; font-weight: 300; outline: none; border-radius: 0; transition: border-color .2s; }
.field textarea { resize: vertical; border: 1px solid var(--line); padding: 8px 10px; font-size: 14px; background: var(--paper); }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #bdb2a3; }
.field input.invalid { border-color: #a5543f; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hint { margin: -4px 0 0; font-size: 12.5px; color: var(--muted); }
.form-error { min-height: 20px; margin: 8px 0 6px; font-size: 13px; color: #a5543f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px; width: 100%;
  border: 1px solid var(--ink); background: var(--ink); color: #f8f1e3; font: 400 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; border-radius: var(--r); transition: background .2s, color .2s; }
.btn-primary:hover:not(:disabled) { background: #3e362e; }
.btn-primary:disabled { opacity: .35; cursor: not-allowed; }
.btn-ghost { min-height: 44px; padding: 0 22px; border: 1px solid var(--line); background: transparent; font: 400 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; border-radius: var(--r); }
.btn-ghost:hover { border-color: var(--gold); }
.privacy { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.privacy::before { content: ''; display: inline-block; width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.link { border: 0; background: none; padding: 0; color: var(--gold-d); text-decoration: underline; text-underline-offset: 3px; font-size: 12.5px; }

.rules { margin-top: 22px; max-height: 300px; overflow-y: auto; border: 1px solid var(--line); background: var(--ivory); padding: 18px 22px; outline: none; }
.rules:focus { border-color: var(--gold-l); }
.rules-intro { margin: 0 0 12px; font-size: 13px; color: #8a5a3c; background: #f5ebdc; border-left: 2px solid var(--gold); padding: 8px 12px; }
.rules h3 { margin: 14px 0 2px; font: 500 18px/1.3 var(--serif); }
.rules p { margin: 0; font-size: 13.5px; color: var(--muted); }
.rules .rules-version { margin-top: 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.check input { appearance: none; flex: 0 0 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--gold); border-radius: 1px; background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ''; width: 5px; height: 10px; border: solid #f8f1e3; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }

/* ---------- app ---------- */
.app { height: 100%; display: grid; grid-template-rows: auto 1fr; }
.topbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 14px 32px; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .eyebrow { margin: 0 0 2px; font-size: 9.5px; }
.brand-name { margin: 0; font: 500 24px/1 var(--serif); letter-spacing: .02em; }
.topbar-meta { margin: 0; text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.topbar-guest { margin: 0; font: italic 400 17px/1 var(--serif); color: var(--ink-2); }
.topbar-guest .link { font: 300 12px var(--sans); margin-left: 8px; }

.layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: 0; }
.plan-stay { border-right: 1px solid var(--line); background: var(--paper); padding: 26px 26px 20px; overflow-y: auto; }
.section-title { margin: 0 0 16px; font: 400 30px/1.1 var(--serif); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 10px 0 9px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line-soft); }
.stats dt { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 2px 0 0; font: 500 24px/1 var(--serif); }
.bedroom-list { list-style: none; margin: 0 0 14px; padding: 0; }
.bedroom-list li { display: grid; grid-template-columns: 26px 98px 1fr; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.tick { position: relative; display: grid; place-items: center; cursor: pointer; }
.tick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tick .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 1px solid rgba(60, 45, 30, .18); position: relative; }
.bedroom-list li.on .dot { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--gold); }
.bedroom-list li.on .dot::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 1.4px 1.4px 0; transform: rotate(45deg); }
.tick input:focus-visible + .dot { outline: 1px solid var(--gold); outline-offset: 4px; }
.room-link { border: 0; background: none; padding: 0; text-align: left; display: flex; flex-direction: column; }
.room-link .rn { font: 500 17px/1.1 var(--serif); }
.room-link .rb { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.room-link:hover .rn { color: var(--gold-d); }
.names { width: 100%; border: 0; border-bottom: 1px dashed transparent; background: transparent; padding: 6px 0; font-size: 13.5px; outline: none; }
.names::placeholder { color: #c4b9aa; font-style: italic; }
.names:hover, .names:focus { border-bottom-color: var(--gold-l); }
.notes { margin-top: 6px; }
.stay-actions { display: flex; gap: 10px; }
.stay-actions .btn-primary { flex: 1; width: auto; min-height: 44px; padding: 0 16px; font-size: 11px; }
.save-status { margin: 12px 0 0; font-size: 11.5px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.sync.saved::before { content: '✓ '; color: var(--gold-d); }

.stage { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; min-height: 0; overflow: hidden; transition: padding-right .35s ease; }
.plan-wrap { min-height: 0; padding: 22px 34px 4px; display: flex; align-items: center; justify-content: center; }
.plan { width: 100%; height: 100%; max-height: 100%; display: block; overflow: visible; }
body.panel-open .stage { padding-right: 404px; }

/* plan drawing */
.room .fill { stroke: none; transition: filter .2s, opacity .2s; }
.room.clickable { cursor: pointer; outline: none; }
.hl-hover { fill: rgba(168, 138, 83, .16); }
.hl-sel { fill: rgba(168, 138, 83, .30); stroke: none; }
.room.selected .fill { filter: saturate(1.2); }
.room:focus-visible .fill { filter: brightness(.92); }
.wall { stroke: #3d352d; stroke-width: 3; stroke-linecap: square; }
.wall.ext { stroke-width: 6; }
.win-base { stroke: var(--paper); stroke-width: 6; }
.glass { stroke: #8fa2a4; stroke-width: 2; stroke-dasharray: 26 4; }
.window { stroke: #8fa2a4; stroke-width: 1.6; }
.garage-door { stroke: #3d352d; stroke-width: 2.5; stroke-dasharray: 10 6; }
.bed-frame { fill: rgba(252, 250, 246, .9); stroke: rgba(55, 45, 35, .55); stroke-width: 1.4; }
.bed-head { fill: rgba(55, 45, 35, .55); }
.bed-pillow { fill: #fff; stroke: rgba(55, 45, 35, .4); stroke-width: 1; }
.bed-duvet { fill: rgba(55, 45, 35, .07); stroke: rgba(55, 45, 35, .35); stroke-width: 1; }
.hatch { pointer-events: none; }
.lbl { font-family: var(--serif); font-weight: 500; font-size: 23px; fill: var(--ink); letter-spacing: .02em; transition: fill .2s; }
.lbl.hover, .lbl.selected { fill: #000; }
.lbl-bath, .lbl-work, .lbl-circulation, .lbl-entry { font-size: 17px; font-style: italic; font-weight: 400; fill: var(--ink-2); }
.lbl-common { font-size: 21px; }
.lbl-utility { font-size: 17px; font-style: italic; font-weight: 400; fill: var(--ink-2); }
.lbl-sub { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; fill: rgba(43, 38, 33, .62); }
.lbl-names { font-family: var(--serif); font-style: italic; font-size: 16px; fill: var(--gold-d); }
.lbl-outside { font-family: var(--sans); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; fill: var(--muted); }
.door-mark { fill: none; stroke: var(--gold); stroke-width: 1.6; }

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 6px 34px 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 10px; display: inline-block; border: 1px solid rgba(60, 45, 30, .15); }
.sw-bed { background: linear-gradient(90deg, #d8b8bf 0 33%, #b9c5b2 33% 66%, #cbc3dc 66%); }
.sw-bath { background: #e4e6e1; } .sw-common { background: #ece0c9; } .sw-hall { background: #f3eee5; }
.ln { width: 20px; height: 0; display: inline-block; border-top: 2px dashed #8fa2a4; }
.ln-window { border-top-style: solid; border-top-width: 1.5px; }
.legend-note { font-style: italic; text-transform: none; letter-spacing: .02em; font-family: var(--serif); font-size: 14px; }

.amenities { border-top: 1px solid var(--line); background: var(--paper); padding: 14px 34px 16px; }
.amenities .eyebrow { margin-bottom: 8px; }
.amenities ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 5px 18px; }
.amenities li { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amenities li strong { font-weight: 500; color: var(--ink); }
.amenities li span { color: var(--muted); margin-left: 6px; }

/* side panel / bottom sheet */
.panel { position: absolute; top: 0; right: 0; bottom: 0; width: 404px; background: var(--paper); border-left: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; z-index: 5; animation: slideIn .32s ease; }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } }
.panel-scroll { overflow-y: auto; padding: 30px 30px 34px; }
.panel-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font: 300 22px/1 var(--sans); color: var(--ink-2); z-index: 2; }
.panel-close:hover { border-color: var(--gold); }
.sheet-handle { display: none; }
.panel-title { margin: 0; font: 400 36px/1.05 var(--serif); padding-right: 30px; }
.panel-tagline { margin: 6px 0 0; font: italic 400 17px/1.3 var(--serif); color: var(--muted); }
.photos { display: grid; gap: 6px; margin: 20px 0 6px; grid-template-columns: 2fr 1fr; grid-template-rows: 98px 98px; }
.photos figure { margin: 0; overflow: hidden; background: var(--sand); }
.photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos .lead { grid-row: span 2; }
.photos.n1 { grid-template-columns: 1fr; grid-template-rows: 200px; }
.photos.n1 .lead { grid-row: auto; }
.photos.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 150px; }
.photos.n2 .lead { grid-row: auto; }
.photo-cap { margin: 0 0 16px; font: italic 400 14px/1.3 var(--serif); color: var(--muted); }
.facts { margin: 0 0 6px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 96px 1fr; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; font-size: 14.5px; }
.tbd { display: inline-block; font-size: 10px; letter-spacing: .2em; padding: 3px 8px; border: 1px solid var(--line); color: var(--muted); }
.fine { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); font-style: italic; }
.panel-copy { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }
.mini { margin: 20px 0 6px; font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-d); }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 3px 0 3px 18px; font-size: 14px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 7px; height: 1px; background: var(--gold); }
.ticks.soft li { color: var(--muted); }
.assign { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }

.modal { border: 1px solid var(--line); background: var(--paper); padding: 26px; width: min(520px, 92vw); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(40, 30, 20, .35); }
.modal textarea { width: 100%; border: 1px solid var(--line); background: var(--ivory); padding: 12px; font: 13px/1.5 ui-monospace, Menlo, monospace; margin: 8px 0 14px; resize: vertical; }
.print-only { display: none; }

@media print {
  body > *:not(.print-only) { display: none !important; }
  .print-only { display: block; font: 13pt/1.5 Georgia, serif; white-space: pre-wrap; }
}

/* ---------- tablet / phone ---------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: 300px minmax(0, 1fr); }
  .topbar-meta { display: none; }
  .topbar { grid-template-columns: auto auto; justify-content: space-between; }
}
@media (max-width: 820px) {
  body { font-size: 14.5px; }
  .screen { grid-template-columns: 1fr; grid-template-rows: 30vh auto; overflow-y: auto; position: fixed; }
  .screen-hero { min-height: 220px; }
  .hero-text { left: 24px; right: 24px; bottom: 20px; }
  .hero-caption { font-size: 18px; }
  .screen-body { padding: 30px 26px 40px; align-items: flex-start; overflow: visible; }
  .screen-card .monogram { display: none; }
  .display { font-size: 40px; }
  .display.small { font-size: 28px; }
  .lede { font-size: 19px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .rules { max-height: 26vh; padding: 14px 16px; }
  .hero-text .eyebrow { display: none; }
  #guest-form.screen { grid-template-rows: 20vh auto; }
  #guest-form .screen-hero { min-height: 150px; }
  #guest-form .screen-body { padding-top: 22px; }
  #guest-form .display.small { font-size: 25px; }

  .app { height: auto; min-height: 100%; display: block; }
  .topbar { position: sticky; top: 0; z-index: 4; padding: 10px 18px; gap: 12px; }
  .brand-name { font-size: 21px; }
  .topbar-guest { font-size: 15px; text-align: right; }
  .topbar-guest .link { display: block; margin: 3px 0 0; }
  .layout { display: flex; flex-direction: column-reverse; }
  .stage { display: block; overflow: visible; }
  body.panel-open .stage { padding-right: 0; }
  .plan-wrap { padding: 16px 8px 0; }
  .plan { height: auto; }
  .lbl { font-size: 31px; }
  .lbl-bath, .lbl-work, .lbl-circulation, .lbl-entry, .lbl-utility { font-size: 23px; }
  .lbl-common { font-size: 28px; }
  .lbl-sub, .lbl-outside { display: none; }
  .lbl-names { font-size: 24px; }
  .legend { padding: 6px 16px 14px; gap: 6px 14px; font-size: 10px; }
  .legend-note { flex-basis: 100%; text-align: center; }
  .amenities { padding: 14px 18px; }
  .amenities ul { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .amenities li { border: 1px solid var(--line); padding: 7px 12px; border-radius: 40px; overflow: visible; }
  .plan-stay { border-right: 0; border-top: 1px solid var(--line); padding: 22px 18px 30px; }
  .panel { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 70vh; border-left: 0; border-top: 1px solid var(--line);
    border-radius: 14px 14px 0 0; box-shadow: 0 -18px 50px -20px rgba(60, 45, 25, .45); animation: sheetUp .32s ease; z-index: 10; }
  @keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
  .sheet-handle { display: block; width: 38px; height: 4px; border-radius: 4px; background: var(--line); margin: 9px auto 0; }
  .panel-scroll { padding: 14px 22px calc(28px + env(safe-area-inset-bottom)); }
  .panel-close { top: 12px; right: 14px; }
  .panel-title { font-size: 30px; }
  .photos { grid-template-rows: 82px 82px; }
}
.plan-dim .room.t-bedroom:not(.assigned) .fill, .plan-dim .room.closet:not(.assigned) .fill { opacity: .38; }
.plan-dim .room.assigned .fill { filter: saturate(1.3); }

/* ---------- v2: sign-in, stays, claiming, invite ---------- */
.display { font-size: 46px; }
.stay-banner { margin: 18px 0 0; padding: 12px 16px; border: 1px solid var(--gold-l); background: #f7f0e2; display: flex; flex-direction: column; gap: 2px; }
.stay-banner .eyebrow { margin: 0; }
.stay-banner strong { font: 500 21px/1.2 var(--serif); }
.stay-banner span:not(.eyebrow) { font-size: 13px; color: var(--muted); }
.stay-banner.warn { border-color: #e2c3b4; background: #f8eee8; }
.check.small { font-size: 13.5px; margin: 12px 0 0; color: var(--ink-2); }
.check.small input { flex-basis: 18px; height: 18px; }
.booker-fields { margin: 14px 0 0 30px; }
.field-row.three { grid-template-columns: 0.8fr 1fr 1fr; gap: 16px; }
.field-row.three .field { margin-bottom: 4px; }
.field > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: #b4a998; }
.field input[type=date] { font-size: 14px; }
#gate .form-error { margin-top: 10px; }
.stay-sub { margin: -8px 0 14px; font: italic 400 17px/1.3 var(--serif); color: var(--ink-2); }
.progress { margin: 0 0 16px; }
.progress .bar { height: 3px; background: var(--line-soft); position: relative; overflow: hidden; }
.progress .bar i { position: absolute; inset: 0 auto 0 0; background: var(--gold); }
.progress span { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.my-bed { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; margin-bottom: 8px; border: 1px dashed var(--gold-l); background: var(--ivory); font-size: 13.5px; color: var(--ink-2); }
.my-bed p { margin: 0; }
.my-bed .eyebrow { display: block; margin-bottom: 2px; }
.my-bed strong { font: 500 18px var(--serif); color: var(--ink); }
.my-bed.done { border-style: solid; border-color: var(--gold); background: #f7f0e2; }
.claim-list li { grid-template-columns: 18px 84px 1fr auto; gap: 10px; padding: 8px 0; }
.claim-list .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 1px solid rgba(60, 45, 30, .18); }
.claim-list li.on .dot { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--gold); }
.occ { display: flex; flex-direction: column; min-width: 0; }
.occ-n { font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
.occ-names { font: italic 400 14.5px/1.2 var(--serif); color: var(--gold-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-claim { border: 1px solid var(--ink); background: transparent; padding: 6px 12px; font: 400 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border-radius: 2px; }
.btn-claim:hover:not(:disabled) { background: var(--ink); color: #f8f1e3; }
.btn-claim:disabled { opacity: .35; cursor: not-allowed; }
.claimed { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }
.claim-list + .stats { margin-top: 14px; }
.stay-actions .btn-ghost { padding: 0 14px; }
.claim-box { margin: 18px 0 4px; padding: 14px 16px; border: 1px solid var(--line); background: var(--ivory); }
.claim-box.mine { border-color: var(--gold); background: #f7f0e2; }
.claim-box .occ-line { margin: 0 0 12px; font-size: 14px; }
.claim-box .occ-line strong { font: 500 17px var(--serif); }
.claim-box .btn-primary, .claim-box .btn-ghost { width: 100%; min-height: 42px; }
.room.mine .fill { filter: saturate(1.25) brightness(.97); }
.modal.invite { width: min(460px, 92vw); padding: 34px 34px 26px; text-align: center; }
.modal.invite .monogram { margin: 0 auto 18px; }
.modal.invite .copy { margin: 12px auto 0; }
.invite-link input { width: 100%; margin: 20px 0 6px; padding: 11px 12px; border: 1px solid var(--line); background: var(--ivory); font: 13px ui-monospace, Menlo, monospace; color: var(--ink-2); text-align: center; }
.invite-progress { margin: 0 0 18px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stay-actions.col { flex-direction: column; align-items: stretch; }
.stay-actions.col .link { margin-top: 4px; align-self: center; }
@media (max-width: 820px) {
  .display { font-size: 36px; }
  .field-row.three { grid-template-columns: 1fr 1fr; }
  .field-row.three .field:first-child { grid-column: span 2; }
  .booker-fields { margin-left: 0; }
  .modal.invite { padding: 28px 22px 20px; }
  .modal.invite .display.small { font-size: 28px; }
}
body:not(.groups) .groups-only { display: none !important; }
body:not(.groups) #share-btn { flex: 1; }

/* ---------- v2: whole property ---------- */
.view-toggle { position: absolute; top: 14px; right: 24px; z-index: 3; display: inline-flex; border: 1px solid var(--line); background: var(--paper); border-radius: 30px; padding: 3px; }
.view-toggle button { border: 0; background: transparent; padding: 7px 14px; border-radius: 30px; font: 400 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #f8f1e3; }
body.panel-open .view-toggle { right: 428px; }
body:not(.view-whole) .whole-only { display: none !important; }
.sw-water { background: #c4e2e1; } .sw-deck { background: #f7f4ee; } .sw-gravel { background: #e6d8bb; }
.approx-note { margin: 10px 0 0; display: inline-block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8a6a3c; border: 1px dashed var(--gold-l); padding: 4px 9px; }
.zone-fill { fill: transparent; }
.zone { cursor: pointer; }
.surf-hedge { stroke: #98a888; stroke-width: 1; }
.coping { fill: #faf7f1; stroke: #e1d8c8; stroke-width: 1.2; }
.water { fill: #c4e2e1; stroke: #9ccbcb; stroke-width: 1.5; }
.pool-step { stroke: #f7fbfb; stroke-width: 3; }
.spa-rim { fill: #fbfaf7; stroke: #d9d1c3; stroke-width: 1.4; }
.lounge-pit { fill: #e7decd; stroke: #d3c7b1; stroke-width: 1.4; }
.bench { fill: none; stroke: #f6f0e4; stroke-width: 12; }
.fire-table { fill: #9b9a97; }
.flame { stroke: #d9a35b; stroke-width: 3; stroke-linecap: round; }
.pergola { fill: rgba(255, 255, 255, .35); stroke: #b9ad9a; stroke-width: 1.4; stroke-dasharray: 6 4; }
.pergola.cabana { fill: rgba(243, 214, 222, .45); }
.counter { fill: #ecc7cf; stroke: #cfa7b0; stroke-width: 1; }
.grill { fill: #b7b9bc; }
.stool { fill: #f1c4cf; stroke: #d6a6b2; stroke-width: 1; }
.table { fill: #5a524a; opacity: .8; }
.chair { fill: #6b635a; opacity: .7; }
.mural { stroke: url(#none); stroke: #d99aae; stroke-width: 6; stroke-linecap: round; opacity: .85; }
.lounger rect { fill: #fdfcf9; stroke: #cbbfab; stroke-width: 1.2; }
.lounger line { stroke: #cbbfab; stroke-width: 1; }
.umbrella { fill: rgba(240, 190, 200, .45); stroke: #e3aebb; stroke-width: 1.2; }
.umbrella.white { fill: rgba(255, 255, 255, .6); stroke: #d8cfbf; }
.umbrella-pole { fill: #b8945a; }
.sofa { fill: #f6e4e8; stroke: #ddb8c2; stroke-width: 1; }
.swing { fill: #f4bfcf; stroke: #d995a9; stroke-width: 1.2; }
.swing-arc { fill: none; stroke: #c8c0b3; stroke-width: 2; }
.palm path { fill: none; stroke: #9fb08f; stroke-width: 5; stroke-linecap: round; }
.palm circle { fill: #8f7a5c; }
.boulder { fill: #cdbda3; stroke: #b9a88c; stroke-width: 1; }
.sconce { fill: var(--gold); }
.front-door { stroke: #5fc9d8; stroke-width: 5; }
.keypad { fill: #2b2621; }
.lbl-zone { font-family: var(--sans); font-size: 15px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; fill: #6f6556; }
.lbl-feature { font-family: var(--serif); font-style: italic; font-size: 17px; fill: #7f8f8e; }
.view-whole .lbl { font-size: 27px; }
.view-whole .lbl-bath, .view-whole .lbl-work, .view-whole .lbl-circulation, .view-whole .lbl-entry, .view-whole .lbl-utility { font-size: 20px; }
.view-whole .lbl-common { font-size: 25px; }
.view-whole .lbl-sub { font-size: 13px; }
.view-whole .lbl-zone { font-size: 21px; }
.view-whole .lbl-feature { font-size: 22px; }
/* desktop: make room for the taller whole-property plan */
@media (min-width: 821px) {
  body.view-whole .amenities ul { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px 22px; scrollbar-width: thin; }
  body.view-whole .amenities li { overflow: visible; }
  body.view-whole .plan-wrap { padding-top: 10px; }
}
@media (max-width: 820px) {
  .view-toggle { position: static; display: flex; width: max-content; margin: 14px auto 0; }
  body.panel-open .view-toggle { right: auto; }
  .view-whole .lbl { font-size: 46px; }
  .view-whole .lbl-common { font-size: 38px; }
  .view-whole .lbl-bath, .view-whole .lbl-work, .view-whole .lbl-circulation, .view-whole .lbl-entry, .view-whole .lbl-utility { display: none; }
  .view-whole .lbl-names { font-size: 30px; }
  .view-whole .furniture { display: none; }
  .view-whole .lbl-zone { font-size: 30px; letter-spacing: .18em; }
  .view-whole .lbl-feature { font-size: 32px; }
}
.stage > * { min-width: 0; }

@media (min-width: 821px) {
  body.view-whole .plan-wrap { padding-top: 58px; }
  body:not(.view-whole) .plan-wrap { padding-top: 54px; }
  .amenities ul { mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
  body:not(.view-whole) .amenities ul { mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 820px) {
  .view-whole .lbl { font-size: 40px; }
  .view-whole .lbl .long { display: none; }
  .view-whole .lbl-feature.minor { display: none; }
}
.display { text-wrap: balance; }
/* items that can be added in the layout tool */
.shower { fill: #eef3f2; stroke: #9fb3b1; stroke-width: 1.5; }
.shower-head { fill: #d8e6e4; stroke: #8fa7a5; stroke-width: 1.2; }
.shower-dot { fill: #8fa7a5; }
.misc { fill: #f3eee5; stroke: #b9ac95; stroke-width: 1.5; stroke-dasharray: 4 3; }

.lbl-zone.lbl-zone-sm, .view-whole .lbl-zone.lbl-zone-sm { font-size: 11px; letter-spacing: .2em; }

/* ---- map zoom & pan (calm, minimal controls) ---- */
.plan-wrap { position: relative; }
.plan { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.plan.zoomed { touch-action: none; }
.plan.dragging, .plan.dragging .clickable { cursor: grabbing; }
.zoom-controls { position: absolute; right: 18px; bottom: 10px; display: flex; flex-direction: column; background: rgba(255,253,249,.94); border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 6px 18px rgba(60,48,30,.07); z-index: 3; }
.zoom-controls button { width: 36px; height: 34px; border: 0; background: none; font: 300 19px/1 var(--serif, Georgia, serif); color: #4a4036; cursor: pointer; transition: background .2s, color .2s; }
.zoom-controls button + button { border-top: 1px solid var(--line); }
.zoom-controls button.zr { font: 500 8.5px/1 var(--sans, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.zoom-controls button:hover:not([disabled]) { background: #f4eee4; }
.zoom-controls button[disabled] { color: #c9c0b3; cursor: default; }
.lbl.lbl-guest { font-style: italic; }
@media (max-width: 900px) { .zoom-controls { right: 10px; bottom: 6px; } .zoom-controls button { width: 40px; height: 38px; } }

.optin-check { margin-top: 10px; color: var(--ink-2); font-size: 13px; }

/* ---------- Minut noise pins ---------- */
.npin { cursor: pointer; }
.npin .hit { fill: transparent; }
.npin .core { fill: #2f6fd6; stroke: #fff; stroke-width: 3; }
.npin .ring { fill: none; stroke: #2f6fd6; stroke-width: 3; stroke-dasharray: 4 7; opacity: .45; }
.npin .glow { opacity: 0; transform-box: fill-box; transform-origin: center; }
.npin text { font: 600 22px var(--sans); fill: #1f2a44; paint-order: stroke; stroke: #fff; stroke-width: 6px; pointer-events: none; }
.npin.off .core { fill: #b9b1a4; } .npin.off .ring { stroke: #9c9488; }
.npin.l1 .core { fill: #e9b730; } .npin.l2 .core { fill: #ec8a2f; } .npin.l3 .core { fill: #d93a2b; }
.npin.l1 .ring, .npin.l2 .ring, .npin.l3 .ring { opacity: 0; }
.npin.l1 .glow { fill: #f5cf4a; animation: np1 3.2s ease-in-out infinite; }
.npin.l2 .glow { fill: #f29a45; animation: np2 2.6s ease-in-out infinite; }
.npin.l3 .glow { fill: #e5412f; animation: np3 2s ease-in-out infinite; }
.npin .glow.g2 { animation-delay: -.5s; }
@keyframes np1 { 0%, 100% { opacity: .18; transform: scale(.9); } 50% { opacity: .5; transform: scale(1.15); } }
@keyframes np2 { 0%, 100% { opacity: .22; transform: scale(.9); } 50% { opacity: .6; transform: scale(1.3); } }
@keyframes np3 { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: .75; transform: scale(1.6); } }
@media (max-width: 820px) {
  .npin .glow { r: 34px; } .npin .glow.g2 { r: 24px; } .npin text { stroke-width: 8px; }
  @keyframes np2 { 0%, 100% { opacity: .22; transform: scale(.9); } 50% { opacity: .55; transform: scale(1.15); } }
  @keyframes np3 { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: .65; transform: scale(1.25); } }
}
@media (prefers-reduced-motion: reduce) { .npin .glow { animation: none !important; opacity: .45; } }
.noise-pop { position: absolute; z-index: 60; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 14px; width: 170px; font-size: 12px; color: var(--ink); }
.noise-pop p { margin: 0; } .np-name { font-weight: 500; font-size: 14px; } .np-k { color: var(--muted); }
.np-db { font: 400 30px/1.1 var(--serif); margin: 2px 0; } .np-db small { font-size: 14px; }
.np-t { color: var(--muted); font-size: 11px; } .np-l { margin-top: 4px; font-weight: 500; color: #2f6fd6; }
.np-l.l1 { color: #b98d10; } .np-l.l2 { color: #d9741f; } .np-l.l3 { color: #d93a2b; }

#bedroom-list .taken { grid-column: 1 / -1; font-size: 12px; color: var(--muted); font-style: italic; padding-left: 34px; margin-top: -2px; }
#bedroom-list .taken:empty { display: none; }
.back-row { margin: 0 0 10px; font-size: 13px; }
.gate-rules-wrap { margin: 4px 0 22px; }
.gate-rules-wrap .rules { margin-bottom: 16px; }
.gate-rules-wrap .check + .check { margin-top: 10px; }
#gate-continue { margin-top: 6px; }
@media (max-width: 820px) { #gate.gate-page2 #stay-banner { display: none !important; } }

.screen-hero picture { position: absolute; inset: 0; }
@media (max-width: 820px) { .hero-img { object-position: var(--hero-pos-phone, var(--hero-pos, 30% 70%)); } }

/* ---------- sign-in fit fixes (Oct 13) ---------- */
.hero-caption:empty { display: none; }
.stay-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stay-top .back-row { margin: 0; order: -1; }
.stay-top .stay-banner { flex: 1 1 auto; }
.contact-row { grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
@media (min-width: 821px) {
  /* whole photo visible: contained on a blurred copy of itself */
  .screen-hero::before { content: ''; position: absolute; inset: -40px; background: var(--hero-bg) center / cover no-repeat; filter: blur(28px) brightness(.5) saturate(.8); }
  .screen-hero .hero-img { object-fit: contain; object-position: 50% 50%; }
  .screen { height: 100vh; height: 100dvh; }
  .screen-body { max-height: 100vh; max-height: 100dvh; }
  /* page 2: one screen, rules area absorbs the leftover height */
  #gate.gate-page2 .screen-body { align-items: stretch; padding: clamp(20px, 4vh, 48px) clamp(32px, 4vw, 64px); overflow: hidden; }
  #gate.gate-page2 .screen-card { display: flex; flex-direction: column; max-width: 560px; margin: auto; max-height: 100%; min-height: 0; }
  #gate.gate-page2 .stay-top { order: -1; margin: 0 0 clamp(10px, 2.2vh, 20px); }
  #gate.gate-page2 .stay-banner { margin: 0; padding: 8px 14px; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
  #gate.gate-page2 .stay-banner strong { font-size: 18px; }
  #gate.gate-page2 #gate-form { margin-top: clamp(10px, 2vh, 20px); display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  #gate.gate-page2 .gate-p2 { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  #gate.gate-page2 .gate-rules-wrap { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; margin: 0 0 clamp(12px, 2.2vh, 20px); }
  #gate.gate-page2 .rules { margin: 0 0 12px; flex: 1 1 auto; min-height: 72px; max-height: 340px; padding: 12px 18px; }
  #gate.gate-page2 .rules h3 { margin-top: 8px; font-size: 16px; }
  #gate.gate-page2 .check { font-size: 13.5px; }
  #gate.gate-page2 .gate-rules-wrap .check + .check { margin-top: 6px; }
  #gate.gate-page2 .field { margin-bottom: 8px; }
  #gate.gate-page2 .form-error { min-height: 0; margin: 4px 0; }
  #gate.gate-page2 .form-error:not(:empty) { min-height: 18px; }
  #gate.gate-page2 #gate-submit { flex: 0 0 auto; min-height: 44px; }
  #gate.gate-page2 .privacy { margin-top: 8px; }
  #gate.gate-page2 .display.small { font-size: clamp(26px, 4vh, 34px); }
}
@media (min-width: 821px) and (max-height: 760px) {
  .screen-body { padding: 28px 56px; }
  #gate .monogram { width: 44px; height: 44px; font-size: 16px; margin-bottom: 16px; }
  #gate .display { font-size: 44px; }
  #gate .lede { font-size: 19px; }
  #gate .copy { margin-top: 10px; }
  #gate-form, #return-form { margin-top: 18px; }
  #gate .form-error { min-height: 14px; margin: 4px 0; }
}
@media (max-width: 820px) {
  .hero-text .eyebrow { display: block; margin: 0; }
  .contact-row { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .contact-row .field-name { grid-column: 1 / -1; }
  #gate.gate-page2 { grid-template-rows: 96px auto; }
  #gate.gate-page2 .screen-hero { min-height: 96px; }
  #gate.gate-page2 .screen-body { padding: 18px 22px 28px; }
  #gate.gate-page2 #gate-form { margin-top: 12px; }
  #gate.gate-page2 .rules { max-height: 22vh; margin-top: 0; }
  #gate.gate-page2 .gate-rules-wrap { margin-bottom: 14px; }
  #gate.gate-page2 .back-row { margin-bottom: 6px; }
  #gate.gate-page2 .field { margin-bottom: 10px; }
  #gate.gate-page2 .form-error { min-height: 0; }
}
.stay-top .back-row .link { white-space: nowrap; }
@media (min-width: 821px) { #gate.gate-page2 .screen-card > .eyebrow { display: none; } }
@media (max-width: 820px) { #gate.gate-page2 .stay-top { margin-top: 8px; } }

/* ---------- pool & spa temperature gauge (MOCKUP, example data, preview only) ---------- */
.pool-gauge { position: absolute; left: 18px; top: 18px; z-index: 3; min-width: 118px; padding: 9px 12px 7px; background: rgba(255,253,249,.94); border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 6px 18px rgba(60,48,30,.07); }
.pg-h { margin: 0 0 4px; font: 400 9.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.pg-ex { margin-left: 4px; padding: 0 4px; border: 1px dashed var(--gold); font-size: 8px; letter-spacing: .14em; }
.pg-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 2px 0; border-top: 1px solid var(--line-soft); }
.pg-row:first-of-type { border-top: 0; }
.pg-row span { font-size: 11.5px; color: var(--muted); }
.pg-row b { font: 400 22px/1.1 var(--serif); color: #4a6b78; }
.pg-row.spa b { color: #b0683a; }
.pg-row.air b { font-size: 17px; color: var(--ink-2); }
@media (max-width: 820px) {
  .pool-gauge { left: 8px; top: 8px; min-width: 0; padding: 5px 8px 4px; display: flex; gap: 10px; align-items: baseline; }
  .pg-h { display: none; }
  .pg-row { border: 0; gap: 4px; padding: 0; }
  .pg-row b { font-size: 17px; } .pg-row.air b { font-size: 14px; }
  .pool-gauge::after { content: 'Example'; font: 400 7.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); border: 1px dashed var(--gold); padding: 0 3px; align-self: center; }
}

/* ---------- cover-fit map: the plan fills the whole map area; drag + zoom freely ---------- */
.plan-wrap { overflow: hidden; }
.plan { overflow: hidden; touch-action: none; }
@media (min-width: 821px) {
  .plan-wrap, body.view-whole .plan-wrap, body:not(.view-whole) .plan-wrap { padding: 0; align-items: stretch; }
}
@media (max-width: 820px) {
  .plan-wrap { padding: 0; margin-top: 10px; height: 62vh; height: 62svh; }
  .plan { height: 100%; }
}
/* pool temp box: fixed in the map corner, dark blue outline, light see-through blue */
.pool-gauge { background: rgba(214, 233, 245, .55); border: 1.5px solid #1f3f63; -webkit-backdrop-filter: blur(3px) saturate(1.1); backdrop-filter: blur(3px) saturate(1.1); box-shadow: 0 6px 18px rgba(20,40,70,.12); }
.pg-h { color: #1f3f63; } .pg-ex, .pool-gauge::after { border-color: #1f3f63 !important; color: #1f3f63 !important; }
.pg-row { border-top-color: rgba(31,63,99,.18); } .pg-row span { color: #2d4a6a; }
.pg-row b { color: #1f3f63; } .pg-row.spa b { color: #9a4f22; } .pg-row.air b { color: #2d4a6a; }
.pg-t { margin: 3px 0 0; font-size: 9.5px; letter-spacing: .04em; color: #2d4a6a; }
@media (max-width: 820px) { .pool-gauge::after { content: none; } .pg-t { margin: 0; align-self: center; font-size: 9px; } }

/* pool temps: horizontal strip at the top of the left sidebar (overrides the old map-corner box) */
.pool-gauge { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; min-width: 0; margin: 0 0 20px; padding: 9px 12px 7px; }
.pool-gauge .pg-h { flex: 0 0 100%; display: block; margin: 0 0 1px; }
.pool-gauge .pg-row { border: 0; padding: 0; gap: 6px; justify-content: flex-start; }
.pool-gauge .pg-row b { font-size: 22px; } .pool-gauge .pg-row.air b { font-size: 18px; }
.pool-gauge .pg-t { flex: 0 0 100%; margin: 2px 0 0; font-size: 10px; }
.pool-gauge::after { content: none !important; }
@media (max-width: 820px) { .pool-gauge { margin: 0 0 18px; padding: 9px 12px 7px; } .pool-gauge .pg-h { display: block; } }
@media (max-width: 820px) { .pool-gauge.pg-top { margin: 10px 12px 0; } }
.pool-gauge { justify-content: center; text-align: center; }
.pool-gauge .pg-h { text-align: center; }
.pool-gauge .pg-t { display: none; }
/* touch: one finger scrolls the page, two fingers move the map (handled in zoom.js) */
.plan, .plan.zoomed { touch-action: pan-x pan-y; }
/* room claimed by another guest: locked */
#bedroom-list li.locked .room-link .rn { color: var(--muted); }
#bedroom-list li.locked input[type=checkbox] { opacity: .35; cursor: not-allowed; }
#bedroom-list li.locked .taken { font-style: normal; color: var(--ink-2); }

/* ---------- Services at The Golden Palm (same chip strip as "At the house") ---------- */
.services { border-top: 0; padding-top: 4px; }
.services ul { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
.services li { overflow: visible !important; flex: none; }
.services li button { border: 1px solid var(--line); background: transparent; padding: 7px 12px; border-radius: 40px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.services li button:hover { border-color: var(--gold); }
.services li strong { font-weight: 500; color: var(--ink); }
.services li span { color: var(--muted); margin-left: 6px; }
.svc-modal { max-width: 520px; width: calc(100% - 32px); max-height: 86vh; overflow: auto; position: relative; }
.svc-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); z-index: 2; }
.svc-who { margin: 4px 0 12px; font: italic 400 19px/1.3 var(--serif); color: var(--ink-2); }
.svc-items { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.svc-items li { margin: 0 0 9px; }
.svc-items a { color: var(--gold-d); }
.svc-btn { display: inline-block; border: 1px solid var(--gold); padding: 6px 12px; text-decoration: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.svc-small { font-size: 12px; color: var(--muted); }
.svc-items .link { padding: 0; border: 0; background: none; color: var(--gold-d); text-decoration: underline; font-size: 14px; }
.svc-lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(20,16,12,.94); }
.svc-lightbox::backdrop { background: rgba(20,16,12,.9); }
.svc-lightbox .svc-close { position: fixed; color: #fff; font-size: 34px; top: 12px; right: 16px; }
.svc-scroll { width: 100%; height: 100%; overflow: auto; touch-action: pan-x pan-y pinch-zoom; display: flex; }
.svc-scroll img { margin: auto; max-width: 100%; max-height: 100%; cursor: zoom-in; }
.svc-lightbox.zoom .svc-scroll img { max-width: none; max-height: none; width: 200%; cursor: zoom-out; }
@media (min-width: 821px) { .svc-lightbox.zoom .svc-scroll img { width: 140%; } }
/* pool temp box: bigger + bolder (Kam 10/14) */
.pool-gauge { border-width: 3px; padding: 10px 14px 9px; gap: 2px 20px; }
.pool-gauge .pg-h { font-size: 12.5px; font-weight: 500; letter-spacing: .22em; margin-bottom: 3px; }
.pool-gauge .pg-row span { font-size: 15px; font-weight: 400; }
.pool-gauge .pg-row b, .pool-gauge .pg-row.air b { font: 700 30px/1.05 var(--sans); letter-spacing: -.01em; }
@media (max-width: 820px) { .pool-gauge .pg-row b, .pool-gauge .pg-row.air b { font-size: 30px; } .pool-gauge .pg-h { font-size: 12.5px; } }

/* ---------- "At the house" stock-ticker marquee (left -> right, seamless) ---------- */
.amenities:not(.services) { overflow: hidden; }
.amenities ul.ticker, body.view-whole .amenities ul.ticker, body:not(.view-whole) .amenities ul.ticker {
  display: flex; flex-wrap: nowrap; width: max-content; overflow: visible; gap: 0; padding-bottom: 2px;
  mask-image: none; -webkit-mask-image: none; animation: gp-ticker var(--tick-dur, 60s) linear infinite; }
.amenities ul.ticker li { flex: none; overflow: visible; margin-right: 26px; }
.amenities ul.ticker:hover, .amenities ul.ticker.paused { animation-play-state: paused; }
@keyframes gp-ticker { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 820px) { .amenities ul.ticker li { margin-right: 8px; } }
@media (prefers-reduced-motion: reduce) {
  .amenities ul.ticker { animation: none; width: auto; overflow-x: auto; }
  .amenities ul.ticker li[aria-hidden="true"] { display: none; }
}
/* Services: desktop wraps so all chips show (phone stays scrollable) */
@media (min-width: 821px) { .services ul { flex-wrap: wrap; overflow: visible; row-gap: 7px; } }
/* temp row: "Pool | 69°" separators */
.pool-gauge .pg-row span::after { content: '|'; margin-left: 7px; color: #1f3f63; opacity: .55; font-weight: 300; }
@media (min-width: 821px) { body .amenities.services ul, body.view-whole .amenities.services ul, body:not(.view-whole) .amenities.services ul { flex-wrap: wrap; overflow: visible; row-gap: 7px; mask-image: none; -webkit-mask-image: none; } }
@media (min-width: 821px) {
  .pool-gauge { gap: 2px 10px; padding: 10px 8px 9px; flex-wrap: wrap; }
  .pool-gauge .pg-row { gap: 4px; }
  .pool-gauge .pg-row span { font-size: 13px; }
  .pool-gauge .pg-row span::after { margin-left: 4px; }
  .pool-gauge .pg-row b, .pool-gauge .pg-row.air b { font-size: 24px; }
}
/* static (not-current-stay) sensor pins: quiet blue, no animation */
.npin.static .glow { display: none; animation: none; }
.npin.static .core { fill: #2f6fd6; }
/* Temperature box: a little bigger (Kam 10/14 11:20) */
.pool-gauge .pg-h { font-size: 14px; }
@media (min-width: 821px) {
  .pool-gauge { padding: 10px 4px 9px; gap: 2px 8px; flex-wrap: nowrap; }
  .pool-gauge .pg-h { flex: 0 0 100%; }
  .pool-gauge { flex-wrap: wrap; }
  .pool-gauge .pg-row { gap: 3px; }
  .pool-gauge .pg-row span { font-size: 14px; }
  .pool-gauge .pg-row span::after { margin-left: 3px; }
  .pool-gauge .pg-row b, .pool-gauge .pg-row.air b { font-size: 27px; }
}
@media (max-width: 820px) {
  .pool-gauge .pg-h { font-size: 14px; }
  .pool-gauge .pg-row span { font-size: 17px; }
  .pool-gauge .pg-row b, .pool-gauge .pg-row.air b { font-size: 34px; }
}
/* desert surround only shows once zoomed out past the opening view */
.plan:not(.zoomed-out) g.desert { display: none; }

/* sign-in page 2: house rules (top) + Palm Springs Noise Ordinance (bottom), each scrolls on its own */
.rules-pair { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.rules-pair .rules { margin: 0 !important; }
.noise-rules h3.noise-title { margin: 0 0 8px; font: 500 17px/1.2 var(--serif); }
.noise-rules .noise-doc { margin: 0; font: 500 11px/1.45 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.noise-rules .noise-sub { margin: 2px 0 10px; font-style: italic; color: var(--ink-2); }
.noise-rules h4 { margin: 12px 0 4px; font: 500 12px/1.4 var(--sans); letter-spacing: .06em; color: var(--ink); }
.noise-rules p, .noise-rules li { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.noise-rules ul, .noise-rules ol { margin: 4px 0 8px; padding-left: 20px; }
.noise-rules li { margin-bottom: 5px; }
@media (min-width: 821px) {
  #gate.gate-page2 .rules-pair { flex: 1 1 auto; min-height: 0; }
  #gate.gate-page2 .rules-pair .rules { flex: 1 1 clamp(110px, 25vh, 260px); min-height: 70px; max-height: none; }
}
@media (max-width: 820px) {
  #gate.gate-page2 .rules-pair .rules { max-height: 30vh; }
}

/* Guest feedback (one-way to host) */
.feedback .fb-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.feedback .fb-send { padding: 8px 16px; font-size: 12px; white-space: nowrap; flex: none; width: auto; }
.feedback .fb-status { font-size: 13px; color: var(--gold-d); }
.pool-gauge .pg-h { white-space: nowrap; }
body:not(.view-whole) #plan g.noise-pins { display: none; }

/* Sign-in page 2 v4 (Kam 10/14): rules as a dropdown + ONE noise box cut under the key points */
#gate-rules.acc { flex: 0 0 auto !important; min-height: 0 !important; max-height: none !important; padding: 0 !important; overflow: hidden; }
.acc-head { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 16px; background: none; border: 0; font: 500 17px/1.2 var(--serif); color: var(--ink); cursor: pointer; text-align: left; }
.acc-head .chev { transition: transform .2s; color: var(--gold); }
.acc.open .acc-head .chev { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 16px 10px; max-height: 24vh; overflow: auto; }
.acc.open .acc-body { display: block; }
#gate-noise { border: 2px solid #1d4650 !important; background: var(--paper) !important; padding: 12px 16px !important; overflow: auto !important; }
.noise-key { margin-bottom: 12px; }
.noise-key h3.noise-title { margin: 0 0 8px !important; font: 800 20px/1.15 var(--sans) !important; letter-spacing: .05em; text-transform: uppercase; color: #1d4650; }
.noise-key ul { margin: 0 !important; padding: 10px 14px 10px 32px !important; background: #1d4650; border-left: 4px solid #c9a24f; border-radius: 2px; }
.noise-key li { font: 700 13.5px/1.45 var(--sans) !important; color: #f7f3eb !important; margin: 2px 0 !important; }
.noise-key li::marker { color: #c9a24f; }
@media (min-width: 821px) {
  #gate.gate-page2 .screen-body { padding: clamp(14px, 2.5vh, 28px) clamp(32px, 4vw, 64px); }
  #gate.gate-page2 .screen-card { margin: 0 auto auto; }
  #gate.gate-page2 .stay-top { margin-bottom: 8px; }
  #gate.gate-page2 .display.small { font-size: 28px; margin: 0; }
  #gate.gate-page2 #gate-form { margin-top: 8px; flex: 0 0 auto; }
  #gate.gate-page2 .gate-p2, #gate.gate-page2 .gate-rules-wrap { flex: 0 0 auto; }
  #gate.gate-page2 .gate-rules-wrap { margin-bottom: 10px; }
  #gate.gate-page2 .rules-pair { flex: 0 0 auto; gap: 8px; }
  #gate.gate-page2 .rules-pair #gate-noise { flex: 0 0 auto; min-height: 0; max-height: none; }
  #gate.gate-page2 .acc-body { max-height: 15vh; }
}
@media (max-width: 820px) {
  #gate.gate-page2 .rules-pair #gate-noise { max-height: none; }
  .noise-key h3.noise-title { font-size: 19px !important; }
}
#gf-body .noise-key { margin-top: 4px; }

/* Two name slots per room (Kam 10/15) */
#bedroom-list .slots-in { display: flex; flex-direction: column; gap: 0; min-width: 0; }
#bedroom-list .slots-in .names { padding: 3px 0; border-bottom: 1px dashed var(--line); }
#bedroom-list .slots-in .names:last-child { border-bottom-color: transparent; }
#bedroom-list .slots-in .names[hidden] { display: none; }
#bedroom-list .slot-other { font-size: 13.5px; color: var(--ink-2); padding: 3px 0; border-bottom: 1px dashed var(--line); }
#bedroom-list .slot-other::before { content: '\1F512\00a0'; font-size: 11px; opacity: .7; }
.release-list li.slots { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 8px 0; }
.release-list li.slots .slot { font-size: 13.5px; }
.release-list li.slots .slot i { font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.release-list li.slots .slot .link { margin-left: 6px; font-size: 12px; }
.release-list li.slots > .btn-ghost { justify-self: start; margin-top: 2px; }

/* Sign-in page 2 v6 (Kam 10/15): Back, stay bar, noise box, 3 checkboxes, fields */
#gate.gate-page2 #gate-title { display: none; }
#gate.gate-page2 .stay-top { flex-direction: column; align-items: stretch; gap: 8px; }
#gate.gate-page2 .stay-top .back-row { align-self: flex-start; }
#gate.gate-page2 #stay-banner.p2-bar { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 12px; margin: 0; padding: 10px 14px; }
#stay-banner.p2-bar strong { text-align: center; font: 500 20px/1.2 var(--serif); }
#stay-banner.p2-bar .sb-dates { justify-self: end; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
#gate.gate-page2 #gate-rules { display: none !important; }
#gate.gate-page2 #gate-noise { margin: 0 !important; }
.p2-checks { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 4px; }
.p2-checks .check { margin: 0 !important; }
.noise-note { margin: -2px 0 2px 34px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
#gf-noise-note { margin-top: 4px; }
.view-rules { margin-left: 6px; font-size: 12.5px; }
.req-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.req-hint:empty { display: none; }
#gate-submit:disabled { opacity: .45; cursor: not-allowed; }
.rules-dialog { max-width: 620px; width: calc(100% - 32px); max-height: 82vh; padding: 0; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.rules-dialog::backdrop { background: rgba(30, 25, 20, .45); }
.rules-dialog[open] { display: flex; flex-direction: column; }
.rd-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.rd-head h2 { margin: 0; font: 500 22px/1.2 var(--serif); }
.rd-close { background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); }
.rd-body { padding: 8px 20px 18px; overflow: auto; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.rd-body h3 { font: 500 17px/1.3 var(--serif); color: var(--ink); margin: 14px 0 4px; }
@media (max-width: 820px) {
  #gate.gate-page2 #stay-banner.p2-bar { display: grid !important; }
  #stay-banner.p2-bar strong { font-size: 18px; }
  #gate.gate-page2 #gate-noise { max-height: none !important; }
}
/* stay bar: title truly centered; dates pinned right */
#gate.gate-page2 #stay-banner.p2-bar { display: block !important; position: relative; text-align: center; padding: 10px 96px; }
#stay-banner.p2-bar .sb-pad { display: none; }
#stay-banner.p2-bar .sb-dates { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 820px) { #gate.gate-page2 #stay-banner.p2-bar { display: block !important; padding: 10px 88px !important; text-align: center !important; } }

/* Desktop page 2 (Kam 10/15): Back alone at top-left; the rest a column centered both ways */
@media (min-width: 821px) {
  #gate.gate-page2 .screen-body { position: relative; display: flex; align-items: center; justify-content: center; padding-top: 56px; padding-bottom: 32px; }
  #gate.gate-page2 .screen-card { margin: auto !important; }
  #gate.gate-page2 .stay-top .back-row { position: absolute; top: clamp(16px, 2.5vh, 28px); left: clamp(24px, 3vw, 48px); margin: 0; }
}
