/* ==========================================================================
   Nestwell: calm sage & oak
   One stylesheet, no build step. Sections:
   1 tokens · 2 base · 3 layout · 4 header · 5 buttons & fields
   6 cards · 7 home page · 8 listings · 9 property page · 10 gallery
   11 calendar · 12 modal · 13 footer · 14 motion · 15 responsive
   ========================================================================== */

/* 1 ─ tokens ------------------------------------------------------------- */
:root {
  --mist: #F2F3EE;
  --mist-2: #E9EBE3;
  --paper: #FCFCF9;
  --forest: #2F3A33;
  --forest-2: #56635A;
  --forest-3: #87918A;
  --line: #E1E4DA;
  --line-2: #D2D7CB;
  --oak: #A07C55;
  --oak-deep: #86643F;
  --oak-soft: #EFE6DA;
  --sage: #6F8F72;
  --sage-deep: #557558;
  --sage-soft: #E2EBE0;
  --night: #26302A;
  --danger: #B0614F;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;

  --shadow-1: 0 1px 2px rgba(47, 58, 51, .05), 0 2px 8px -2px rgba(47, 58, 51, .06);
  --shadow-2: 0 2px 4px rgba(47, 58, 51, .04), 0 18px 40px -18px rgba(47, 58, 51, .22);
  --shadow-3: 0 4px 10px rgba(47, 58, 51, .05), 0 40px 80px -30px rgba(38, 48, 42, .35);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, .7, .2);
  --slow: 900ms;
  --med: 520ms;
  --fast: 260ms;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* 2 ─ base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--forest);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* paper grain: a very faint texture so surfaces feel like linen, not plastic */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1000;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .23 0 0 0 0 .2 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  letter-spacing: -.015em;
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }
::selection { background: var(--sage-soft); color: var(--forest); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* 3 ─ layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--forest-2); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.muted { color: var(--forest-2); }
.small { font-size: 14px; }

/* 4 ─ header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(252, 252, 249, .82);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 31px; letter-spacing: -.02em; font-variation-settings: "SOFT" 100; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { white-space: nowrap; padding: 8px 14px; border-radius: var(--pill); color: var(--forest-2); font-size: 15px; transition: background var(--fast), color var(--fast); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mist-2); color: var(--forest); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pill-select {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: var(--pill);
  background: transparent; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600;
  transition: background var(--fast), border-color var(--fast);
}
.pill-select:hover { background: var(--paper); border-color: var(--forest-3); }
.menu-btn { display: none; }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 260px;
  background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-3); padding: 14px;
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none;
  transition: opacity var(--fast) var(--ease), transform var(--med) var(--ease);
}
.dropdown.is-open .dropdown-panel { opacity: 1; transform: none; pointer-events: auto; }
.dropdown-panel h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-3); margin: 4px 6px 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.choice-grid + h4 { margin-top: 14px; }
.choice-grid a, .choice-grid button {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; border: 0; background: none; text-align: left; font-size: 14px;
}
.choice-grid a:hover, .choice-grid button:hover { background: var(--mist); }
.choice-grid .is-active { background: var(--sage-soft); color: var(--sage-deep); font-weight: 700; }
.choice-grid small { color: var(--forest-3); margin-left: auto; }

/* 5 ─ buttons & fields --------------------------------------------------- */
.btn {
  --bg: var(--forest); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: var(--pill); border: 0;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease), background var(--fast);
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::after { /* soft light passing across, like sun through a window */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px 60px at var(--mx, 50%) 120%, rgba(255, 255, 255, .22), transparent 70%);
  opacity: 0; transition: opacity var(--med);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.985); }
.btn-oak { --bg: var(--oak); }
.btn-oak:hover { --bg: var(--oak-deep); }
.btn-sage { --bg: var(--sage); }
.btn-soft { --bg: var(--paper); --fg: var(--forest); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-soft:hover { box-shadow: inset 0 0 0 1px var(--forest-3), var(--shadow-1); }
.btn-ghost { --bg: transparent; --fg: var(--forest); }
.btn-ghost:hover { --bg: var(--mist-2); box-shadow: none; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link { color: var(--oak-deep); font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color var(--fast); background: none; border-top: 0; border-left: 0; border-right: 0; }
.link:hover { color: var(--forest); }

.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--forest-2); }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--paper); font: inherit; color: var(--forest);
  transition: border-color var(--fast), box-shadow var(--fast);
}
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-soft); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill);
  font-size: 13px; font-weight: 700; background: var(--paper); color: var(--forest);
}
.chip-sage { background: var(--sage-soft); color: var(--sage-deep); }
.chip-oak { background: var(--oak-soft); color: var(--oak-deep); }

.stars { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; }
.stars svg { width: 15px; height: 15px; fill: var(--oak); stroke: none; }
.stars .count { font-weight: 400; color: var(--forest-2); }
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--sage-deep); font-weight: 700; font-size: 14px; }
.verified svg { width: 18px; height: 18px; }

/* 6 ─ cards -------------------------------------------------------------- */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.home-card { display: block; position: relative; }
.home-card .photo {
  position: relative; aspect-ratio: 4 / 3.15; border-radius: var(--r-lg); overflow: hidden; background: var(--mist-2);
  box-shadow: var(--shadow-1);
}
.home-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.home-card:hover .photo img { transform: scale(1.045); }
.home-card .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 48, 42, .18), transparent 30%); pointer-events: none; }
.home-card .badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; z-index: 1; }
.save-btn {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(252, 252, 249, .9); backdrop-filter: blur(6px); box-shadow: var(--shadow-1);
  transition: transform var(--med) var(--ease);
}
.save-btn:hover { transform: scale(1.08); }
.save-btn svg { width: 19px; height: 19px; }
.save-btn.is-saved svg { fill: var(--oak); stroke: var(--oak); }
.home-card .body { display: block; padding: 16px 4px 0; }
.home-card .photo { display: block; }
.home-card .where { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-3); }
.home-card h3 { font-size: 21px; margin: 6px 0 8px; }
.home-card .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--forest-2); }
.home-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.home-card .trust { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.home-card .price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.home-card .price strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.home-card .price .alt { margin-left: auto; font-size: 13px; color: var(--forest-3); }

/* 7 ─ home page ---------------------------------------------------------- */
.hero { position: relative; padding: clamp(24px, 4vw, 48px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; column-gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-search { grid-column: 1 / -1; position: relative; z-index: 5; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.03; letter-spacing: -.025em; margin-top: 22px; }
.hero h1 em { font-style: italic; color: var(--oak-deep); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero .lede { font-size: 18px; color: var(--forest-2); max-width: 520px; margin-top: 22px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--forest-2); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--sage); }

.window { position: relative; justify-self: end; width: min(100%, 470px); }
.window .sun {
  position: absolute; width: 74%; aspect-ratio: 1; right: -12%; top: -8%; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #F3E6D2, rgba(239, 230, 218, 0) 68%);
  animation: breathe 9s var(--ease) infinite;
}
.window .arch {
  position: relative; aspect-ratio: 4 / 4.5; border-radius: 999px 999px var(--r-xl) var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-3); background: var(--mist-2);
  outline: 10px solid var(--paper); outline-offset: -1px;
}
.window .arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.window .arch::after { /* the soft light in the room */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(255, 244, 225, .35), transparent 45%), linear-gradient(0deg, rgba(38, 48, 42, .25), transparent 35%);
}
.window .mullion { position: absolute; inset: 0; pointer-events: none; }
.float-note {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(252, 252, 249, .94); backdrop-filter: blur(10px);
  padding: 12px 18px 12px 12px; border-radius: var(--r); box-shadow: var(--shadow-2); font-size: 14px; line-height: 1.35;
  animation: float 7s ease-in-out infinite;
}
.float-note b { display: block; font-size: 15px; }
.float-note .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-deep); }
.float-note.n1 { left: -14%; top: 22%; }
.float-note.n2 { right: -6%; bottom: 12%; animation-delay: -3.5s; }
.float-note.n2 .dot { background: var(--oak-soft); color: var(--oak-deep); }

.search-bar {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr .95fr auto; align-items: center;
  margin-top: clamp(32px, 4vw, 48px);
  background: var(--paper); border-radius: var(--pill); padding: 8px; box-shadow: var(--shadow-3);
}
.search-seg {
  position: relative; display: block; text-align: left; border: 0; background: none;
  padding: 10px 26px; border-radius: var(--pill); min-width: 0;
  transition: background var(--fast);
}
.search-seg + .search-seg::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.search-seg:hover, .search-seg.is-active { background: var(--mist); }
.search-seg:hover::before, .search-seg.is-active::before, .search-seg.is-active + .search-seg::before, .search-seg:hover + .search-seg::before { opacity: 0; }
.search-seg .lbl { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.search-seg .val, .search-seg input {
  display: block; width: 100%; border: 0; background: none; padding: 0; margin-top: 2px;
  font: inherit; font-size: 15px; color: var(--forest-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-seg input:focus { outline: 0; }
.search-seg input::placeholder { color: var(--forest-3); }
.search-go { height: 60px; padding: 0 30px 0 26px; }
.search-go svg { width: 20px; height: 20px; }
.search-pop {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 20; min-width: 100%;
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 12px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity var(--fast) var(--ease), transform var(--med) var(--ease);
}
.search-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.loc-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; min-width: 320px; }
.loc-list li button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 0; background: none; border-radius: 14px; text-align: left;
}
.loc-list li button:hover, .loc-list li button.is-hl { background: var(--mist); }
.loc-list .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--mist-2); display: grid; place-items: center; color: var(--forest-2); }
.loc-list small { display: block; color: var(--forest-3); font-size: 13px; }
.loc-list .empty { padding: 14px; color: var(--forest-3); font-size: 14px; }

.trust-strip { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip div { display: flex; align-items: center; gap: 14px; padding: 26px 18px; font-size: 15px; line-height: 1.35; }
.trust-strip div + div { border-left: 1px solid var(--line); }
.trust-strip svg { width: 28px; height: 28px; color: var(--oak); }

.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.why-photo { position: relative; }
.why-photo .frame { border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 220px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-2); }
.why-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.why-photo .stamp {
  position: absolute; right: -18px; top: 28px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--paper); box-shadow: var(--shadow-2); display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-size: 15px; line-height: 1.2; padding: 18px; color: var(--sage-deep);
}
.why-photo .stamp svg { width: 30px; height: 30px; margin: 0 auto 4px; color: var(--sage); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.why-item .ic {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--paper); box-shadow: var(--shadow-1); color: var(--oak-deep); margin-bottom: 18px;
}
.why-item .ic svg { width: 28px; height: 28px; }
.why-item h3 { font-size: 22px; margin-bottom: 8px; }
.why-item p { color: var(--forest-2); font-size: 15.5px; }

.stay-band { background: var(--paper); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); box-shadow: var(--shadow-1); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; border-top: 1.5px dashed var(--line-2); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .ic { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--sage-deep); position: relative; }
.step .ic::after {
  counter-increment: step; content: counter(step);
  position: absolute; right: -6px; top: -4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--oak); color: var(--paper); font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.step .ic svg { width: 26px; height: 26px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--forest-2); }

.dest-row { display: flex; gap: 14px; flex-wrap: wrap; }
.dest {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; border-radius: var(--pill);
  background: var(--paper); box-shadow: var(--shadow-1); transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.dest:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.dest img, .dest .ph { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--mist-2); }
.dest b { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.2; }
.dest small { color: var(--forest-3); font-size: 13px; }

.shield-band { background: var(--night); color: #E8ECE4; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 76px); position: relative; overflow: hidden; }
.shield-band::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 143, 114, .32), transparent 65%);
  animation: breathe 11s var(--ease) infinite;
}
.shield-band .eyebrow { color: #B6CBB4; }
.shield-band h2 { color: #F6F4EE; }
.shield-band .section-head p { color: #B9C2BA; }
.shield-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; position: relative; }
.shield-head .shield-mark { width: 92px; height: 92px; color: #CBB496; flex: none; }
.shield-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.shield-card { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-lg); padding: 26px; transition: background var(--med) var(--ease), transform var(--med) var(--ease); }
.shield-card:hover { background: rgba(255, 255, 255, .075); transform: translateY(-3px); }
.shield-card .ic { color: #CBB496; margin-bottom: 14px; }
.shield-card .ic svg { width: 28px; height: 28px; }
.shield-card h3 { font-size: 20px; color: #F6F4EE; margin-bottom: 8px; }
.shield-card p { font-size: 15px; color: #B9C2BA; }
.shield-card.lead { grid-row: span 1; background: linear-gradient(160deg, rgba(160, 124, 85, .25), rgba(160, 124, 85, .06)); border-color: rgba(203, 180, 150, .25); display: flex; flex-direction: column; justify-content: space-between; }
.shield-card.lead .big { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: #F6F4EE; }

.quote-band { text-align: center; padding: clamp(72px, 10vw, 140px) 0; }
.quote-band blockquote { margin: 0 auto; max-width: 880px; font-family: var(--serif); font-size: clamp(30px, 4.6vw, 56px); line-height: 1.15; letter-spacing: -.02em; font-variation-settings: "SOFT" 100; }
.quote-band blockquote em { color: var(--oak-deep); font-variation-settings: "SOFT" 100, "WONK" 1; }
.quote-band .leaf { width: 46px; height: 46px; margin: 0 auto 28px; color: var(--sage); }

.price-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tiers { display: grid; gap: 12px; }
.tier { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); }
.tier .ic { width: 48px; height: 48px; border-radius: 16px; background: var(--mist); display: grid; place-items: center; color: var(--sage-deep); }
.tier h3 { font-size: 19px; }
.tier p { font-size: 14px; color: var(--forest-2); }
.tier .tag { font-size: 13px; font-weight: 800; color: var(--sage-deep); background: var(--sage-soft); padding: 6px 12px; border-radius: var(--pill); white-space: nowrap; }
.tier.best { box-shadow: inset 0 0 0 1.5px var(--sage), var(--shadow-2); }

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review { background: var(--paper); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 20px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.4; font-variation-settings: "SOFT" 100; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 14px; color: var(--forest-2); }
.review .who b { color: var(--forest); display: block; font-size: 15px; }
.review .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--oak-soft); color: var(--oak-deep); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }

.welcome-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--oak-soft), #F5EEE4 55%, var(--sage-soft));
}
.welcome-card .gift { width: 96px; height: 96px; border-radius: 30px; background: var(--paper); display: grid; place-items: center; color: var(--oak-deep); box-shadow: var(--shadow-1); }
.welcome-card .gift svg { width: 44px; height: 44px; }
.welcome-card h2 { font-size: clamp(26px, 3.4vw, 38px); }
.welcome-card p { margin-top: 8px; color: var(--forest-2); }

/* 8 ─ listings ----------------------------------------------------------- */
.page-top { padding: clamp(28px, 4vw, 48px) 0 24px; }
.page-top h1 { font-size: clamp(32px, 4.4vw, 52px); }
.page-top p { margin-top: 10px; color: var(--forest-2); }
.search-bar.compact { margin-top: 26px; box-shadow: var(--shadow-2); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 30px; }
.filter-row .count { margin-right: auto; color: var(--forest-2); font-size: 15px; }
.seg-tabs { display: inline-flex; background: var(--mist-2); border-radius: var(--pill); padding: 4px; }
.seg-tabs a { padding: 8px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 700; color: var(--forest-2); transition: background var(--fast), color var(--fast); }
.seg-tabs a.is-active { background: var(--paper); color: var(--forest); box-shadow: var(--shadow-1); }
.empty-state { text-align: center; padding: 80px 20px; background: var(--paper); border-radius: var(--r-xl); }
.empty-state svg { width: 60px; height: 60px; color: var(--sage); margin: 0 auto 18px; }
.empty-state h2 { font-size: 30px; }
.empty-state p { margin: 10px auto 24px; max-width: 420px; color: var(--forest-2); }

/* 9 ─ property page ------------------------------------------------------ */
.prop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 28px 0 22px; }
.prop-head h1 { font-size: clamp(28px, 3.6vw, 44px); }
.prop-head .loc { margin-top: 8px; color: var(--forest-2); font-size: 16px; display: flex; align-items: center; gap: 6px; }
.prop-actions { display: flex; gap: 6px; }
.prop-actions .btn { height: 42px; padding: 0 16px; }
.popular-note {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r);
  background: var(--oak-soft); color: var(--oak-deep); margin-bottom: 20px; font-size: 15px;
}
.popular-note b { color: var(--forest); }
.popular-note .pulse { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--oak); flex: none; }
.popular-note .pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--oak); opacity: 0; animation: ripple 2.4s var(--ease) infinite; }

.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 10px; height: clamp(300px, 34vw, 440px); border-radius: var(--r-xl); overflow: hidden; }
.gallery-grid > .main, .gallery-grid > .thumb { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--mist-2); }
.gallery-grid > .main img, .gallery-grid > .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter var(--med); }
.gallery-grid > .main:hover img, .gallery-grid > .thumb:hover img { transform: scale(1.035); filter: brightness(1.04); }
.gallery-grid .main { grid-row: span 2; }
.gallery-grid.n1 { grid-template-columns: 1fr; }
.gallery-grid.n1 .main, .gallery-grid.n2 .main, .gallery-grid.n3 .main { grid-row: span 2; }
.gallery-grid.n2 { grid-template-columns: 2fr 1fr; }
.gallery-grid.n2 .thumb { grid-row: span 2; }
.gallery-grid.n3 { grid-template-columns: 2fr 1fr; }
.photo-guarantee {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: var(--pill);
  background: rgba(252, 252, 249, .94); backdrop-filter: blur(8px); box-shadow: var(--shadow-2); font-size: 14px; font-weight: 700;
}
.photo-guarantee .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); display: grid; place-items: center; }
.photo-guarantee .tick svg { width: 16px; height: 16px; stroke-width: 2.2; }
.photo-guarantee .link { border: 0; background: var(--mist); padding: 5px 12px; border-radius: var(--pill); font-size: 13px; color: var(--forest); }
.photo-guarantee .link:hover { background: var(--mist-2); }
.all-photos { position: absolute; right: 18px; bottom: 18px; z-index: 2; height: 40px; padding: 0 16px; font-size: 14px; }

.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 72px); padding-top: 36px; align-items: start; }
.prop-main > section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.prop-main > section:first-child, .prop-main > .trust-line + section { padding-top: 0; } /* the landlord line sits above the first section */
.prop-main > section:last-child { border-bottom: 0; }
.prop-main h2 { font-size: 28px; margin-bottom: 18px; }
.address { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; }
.address svg { color: var(--oak); margin-top: 3px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.fact { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--pill); background: var(--paper); box-shadow: var(--shadow-1); font-size: 15px; }
.fact svg { color: var(--sage-deep); }
.fact.id { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--forest-2); font-size: 14px; }
.host-line { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); }
.host-line .badge { width: 52px; height: 52px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); display: grid; place-items: center; flex: none; }
.host-line .badge svg { width: 26px; height: 26px; }
.host-line b { display: block; font-size: 16px; }
.host-line p { font-size: 14px; color: var(--forest-2); }
.host-line .stars { margin-left: auto; }
.desc { color: var(--forest-2); font-size: 16.5px; white-space: pre-line; }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; margin-bottom: 26px; }
.feature { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.feature .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-1); display: grid; place-items: center; color: var(--forest-2); flex: none; }
.features.all { grid-template-columns: 1fr 1fr; }
.map { height: 380px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-1); background: var(--mist-2); z-index: 0; position: relative; }
.map .leaflet-tile-pane { filter: grayscale(.55) sepia(.18) hue-rotate(45deg) saturate(.9) brightness(1.04) contrast(.92); }
.map-pin { width: 64px; height: 64px; }
.map-pin .halo { position: absolute; inset: 0; border-radius: 50%; background: rgba(111, 143, 114, .22); animation: breathe 4s var(--ease) infinite; }
.map-pin .core { position: absolute; inset: 16px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; color: var(--paper); box-shadow: var(--shadow-2); }
.map-pin .core svg { width: 18px; height: 18px; }
.hood-text { margin-top: 22px; color: var(--forest-2); white-space: pre-line; }
.rules { display: grid; gap: 14px; }
.rule { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); }
.rule .num { width: 36px; height: 36px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-family: var(--serif); font-size: 17px; color: var(--oak-deep); }
.rule h3 { font-size: 19px; margin-bottom: 6px; }
.rule p { font-size: 15px; color: var(--forest-2); }
.house-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.house-rules span { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.house-rules svg { color: var(--sage-deep); }
.shield-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; border-radius: var(--r-lg); background: var(--night); color: #DCE3DA; }
.shield-box .mark { width: 60px; height: 60px; color: #CBB496; }
.shield-box h3 { color: #F6F4EE; font-size: 21px; margin-bottom: 6px; }
.shield-box p { font-size: 15px; color: #B9C2BA; }
.shield-box .link { color: #E0CDB2; margin-top: 12px; display: inline-block; }

.booking-col { position: sticky; top: calc(var(--header-h) + 20px); }
.booking { background: var(--paper); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-3); }
.booking .rate { display: flex; align-items: baseline; gap: 8px; }
.booking .rate strong { font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: -.02em; }
.rate-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--mist); border-radius: var(--pill); padding: 4px; margin: 16px 0 18px; }
.rate-tabs button { border: 0; background: none; padding: 8px 4px; border-radius: var(--pill); font-size: 13px; font-weight: 700; color: var(--forest-2); line-height: 1.25; transition: background var(--fast), color var(--fast), box-shadow var(--fast); }
.rate-tabs button small { display: block; font-weight: 600; color: var(--forest-3); font-size: 12px; }
.rate-tabs button.is-active { background: var(--paper); color: var(--forest); box-shadow: var(--shadow-1); }
.rate-tabs button:disabled { opacity: .45; cursor: default; }
.dates-box { border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.dates-box .row { display: grid; grid-template-columns: 1fr 1fr; }
.dates-box button, .dates-box .guests { border: 0; background: none; text-align: left; padding: 12px 16px; transition: background var(--fast); }
.dates-box button:hover { background: var(--mist); }
.dates-box .row > * + * { border-left: 1px solid var(--line-2); }
.dates-box .guests { border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; }
.dates-box .lbl { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dates-box .val { font-size: 15px; color: var(--forest-2); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); display: grid; place-items: center; padding: 0; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 20px; text-align: center; font-weight: 700; }
.min-note { font-size: 13px; color: var(--forest-3); margin-top: 8px; }
.booking .btn-block { margin-top: 16px; height: 56px; font-size: 16px; }
.booking .assure { text-align: center; font-size: 13px; color: var(--forest-3); margin-top: 10px; }
.breakdown { margin-top: 18px; display: grid; gap: 10px; font-size: 15px; }
.breakdown .line { display: flex; justify-content: space-between; gap: 12px; color: var(--forest-2); }
.breakdown .line.credit { color: var(--sage-deep); }
.breakdown .total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 800; font-size: 16px; color: var(--forest); }
.included { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--sage-soft); color: var(--sage-deep); font-size: 14px; font-weight: 600; }
.booking-links { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 14px; }
.booking-links button { border: 0; background: none; padding: 0; }
.promo { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--med) var(--ease); }
.promo.is-open { grid-template-rows: 1fr; }
.promo > div { min-height: 0; }
.promo form { display: flex; gap: 8px; padding-top: 12px; }
.promo .input { height: 44px; }
.ask-box { margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); }
.ask-box .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--oak-soft); color: var(--oak-deep); display: grid; place-items: center; flex: none; }
.ask-box p { font-size: 15px; line-height: 1.4; }
.mobile-book { display: none; }

/* 10 ─ lightbox gallery -------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: #1E2521; color: #EEF0EA;
  opacity: 0; visibility: hidden; transition: opacity var(--med) var(--ease), visibility 0s linear var(--med);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity var(--med) var(--ease); }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); }
.lb-top .count { font-size: 14px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.lb-top .cap { font-family: var(--serif); font-size: 18px; opacity: .85; }
.lb-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: inherit; display: grid; place-items: center; transition: background var(--fast), transform var(--med) var(--ease); }
.lb-close:hover { background: rgba(255, 255, 255, .16); transform: rotate(90deg); }
.lb-stage { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; cursor: grab; }
.lb-stage.is-dragging { cursor: grabbing; }
.lb-track { position: absolute; inset: 0; }
.lb-slide { position: absolute; inset: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 10px clamp(16px, 7vw, 110px); will-change: transform, opacity, filter; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; min-height: 0; object-fit: contain; border-radius: var(--r); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); pointer-events: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(252, 252, 249, .1); color: #fff; display: grid; place-items: center; transition: background var(--fast), transform var(--med) var(--ease); backdrop-filter: blur(6px); }
.lb-nav:hover { background: rgba(252, 252, 249, .22); }
.lb-nav.prev { left: clamp(10px, 2vw, 28px); }
.lb-nav.next { right: clamp(10px, 2vw, 28px); }
.lb-nav.prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-nav.next:hover { transform: translateY(-50%) translateX(3px); }
.lb-thumbs { display: flex; gap: 8px; padding: 16px var(--gutter) 22px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 74px; height: 54px; border-radius: 12px; overflow: hidden; border: 0; padding: 0; opacity: .45; transition: opacity var(--med), transform var(--med) var(--ease), box-shadow var(--med); }
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumbs button:hover { opacity: .8; }
.lb-thumbs button.is-active { opacity: 1; transform: translateY(-3px); box-shadow: 0 0 0 2px #CBB496; }
.lb-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .08); }
.lb-progress span { display: block; height: 100%; background: #CBB496; transition: width var(--med) var(--ease); }

/* 11 ─ calendar ---------------------------------------------------------- */
.cal { padding: 8px; user-select: none; }
.cal-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--mist); display: grid; place-items: center; }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cal-month h4 { font-size: 17px; text-align: center; margin: -36px 0 14px; font-weight: 500; pointer-events: none; } /* sits in the arrow row: let clicks reach the arrows */
.cal-month:first-child h4, .cal-month:last-child h4 { margin-top: -36px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 40px); gap: 2px 0; }
.cal-grid .dow { font-size: 11px; font-weight: 800; color: var(--forest-3); text-align: center; padding-bottom: 6px; letter-spacing: .06em; }
.cal-day { height: 40px; border: 0; background: none; font-size: 14px; font-weight: 600; position: relative; z-index: 0; padding: 0; }
.cal-day::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1; transition: background var(--fast), transform var(--fast) var(--ease); }
.cal-day:not(:disabled):hover::before { background: var(--mist-2); }
.cal-day:disabled { color: var(--line-2); cursor: default; text-decoration: line-through; text-decoration-color: var(--line); }
.cal-day.in-range { background: var(--sage-soft); }
.cal-day.is-start, .cal-day.is-end { color: var(--paper); }
.cal-day.is-start::before, .cal-day.is-end::before { background: var(--forest) !important; transform: scale(1.02); }
.cal-day.is-start.has-end { background: linear-gradient(90deg, transparent 50%, var(--sage-soft) 50%); }
.cal-day.is-end { background: linear-gradient(90deg, var(--sage-soft) 50%, transparent 50%); }
.cal-day.is-today { text-decoration: underline; text-underline-offset: 4px; }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 14px; }
.search-pop.cal-pop { position: absolute; left: auto; right: -14px; min-width: 0; top: calc(100% + 12px); z-index: 30; }
.search-pop.dates { left: auto; right: 0; min-width: 0; }

/* 12 ─ modal (one opening style for the whole house) --------------------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px;
  visibility: hidden; pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(38, 48, 42, .32);
  backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0);
  opacity: 0; transition: opacity var(--med) var(--ease), backdrop-filter var(--med) var(--ease);
}
.modal.is-open .modal-backdrop { opacity: 1; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; width: min(100%, 560px); max-height: min(86vh, 760px); overflow: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-3);
  padding: clamp(28px, 4vw, 42px);
  opacity: 0;
  transform: translateY(26px) scale(.965);
  clip-path: inset(10% 8% 10% 8% round 40px);
  transition: opacity var(--fast) var(--ease-in), transform var(--fast) var(--ease-in), clip-path var(--fast) var(--ease-in);
}
.modal.is-open .modal-panel {
  opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--r-xl));
  transition: opacity 420ms var(--ease), transform 760ms var(--ease), clip-path 760ms var(--ease);
}
.modal-panel > * { opacity: 0; transform: translateY(10px); transition: opacity 200ms, transform 200ms; }
.modal.is-open .modal-panel > * { opacity: 1; transform: none; transition: opacity 600ms var(--ease), transform 800ms var(--ease); }
.modal.is-open .modal-panel > *:nth-child(2) { transition-delay: 90ms; }
.modal.is-open .modal-panel > *:nth-child(3) { transition-delay: 160ms; }
.modal.is-open .modal-panel > *:nth-child(4) { transition-delay: 230ms; }
.modal.is-open .modal-panel > *:nth-child(n+5) { transition-delay: 300ms; }
.modal-wide .modal-panel { width: min(100%, 760px); }
.modal-close {
  position: absolute !important; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--mist); display: grid; place-items: center; z-index: 2;
  transition: background var(--fast), transform var(--med) var(--ease) !important;
}
.modal-close:hover { background: var(--mist-2); transform: rotate(90deg) !important; }
.modal-icon {
  width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--sage-soft); color: var(--sage-deep);
}
.modal-icon svg { width: 36px; height: 36px; }
.modal-icon.oak { background: var(--oak-soft); color: var(--oak-deep); }
.modal-panel h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 10px; padding-right: 40px; }
.modal-panel .lead { font-size: 17px; color: var(--forest-2); }
.modal-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--sage-soft); color: var(--sage-deep); margin-bottom: 22px; font-weight: 600; }
.modal-note svg { width: 26px; height: 26px; flex: none; }
.protect-list { display: grid; gap: 4px; margin-top: 22px; }
.protect-list > div { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.protect-list .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; color: var(--oak-deep); }
.protect-list h3 { font-size: 18px; margin-bottom: 4px; }
.protect-list p { font-size: 15px; color: var(--forest-2); }
.modal-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 30px); opacity: 0;
  background: var(--forest); color: var(--paper); padding: 14px 22px; border-radius: var(--pill); box-shadow: var(--shadow-3); font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 10px; transition: opacity var(--med) var(--ease), transform var(--med) var(--ease); pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 13 ─ footer ------------------------------------------------------------ */
.site-footer { margin-top: clamp(60px, 8vw, 110px); background: var(--paper); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 64px 0 40px; }
.footer-grid p { color: var(--forest-2); font-size: 15px; margin-top: 14px; max-width: 320px; }
.footer-grid h4 { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-3); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-grid a:hover { color: var(--oak-deep); }
.footer-base { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding: 22px 0 30px; border-top: 1px solid var(--line); font-size: 14px; color: var(--forest-3); }

/* 14 ─ motion ------------------------------------------------------------ */
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes ripple { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.reveal { opacity: 0; transform: translateY(22px); filter: blur(5px); transition: opacity 1100ms var(--ease), transform 1100ms var(--ease), filter 1100ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.hero .rise { animation: rise 1200ms var(--ease) both; animation-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* 15 ─ responsive -------------------------------------------------------- */
@media (max-width: 1080px) {
  .home-grid { grid-template-columns: repeat(2, 1fr); }
  .prop-layout { grid-template-columns: minmax(0, 1fr) 360px; }
  .shield-cards { grid-template-columns: repeat(2, 1fr); }
  .float-note.n1 { left: -6%; }
}
@media (max-width: 1280px) {
  .nav { display: none; }
  .menu-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); }
  .site-header.menu-open .nav {
    display: grid; position: absolute; top: var(--header-h); left: 12px; right: 12px; margin: 0; padding: 12px;
    background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-3); animation: rise 500ms var(--ease);
  }
  .site-header.menu-open .nav a { padding: 14px 16px; font-size: 16px; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header-tools .hide-sm { display: none; }
  .hero-grid, .why-grid, .price-band { grid-template-columns: 1fr; }
  .window { justify-self: center; width: min(88%, 420px); margin-top: 40px; order: 3; }
  .hero-search { order: 2; }
  .hero-search .search-bar { margin-top: 28px; }
  .search-bar { grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); padding: 10px; gap: 4px; }
  .search-seg { border-radius: var(--r); padding: 12px 16px; background: var(--mist); }
  .search-seg + .search-seg::before { display: none; }
  .search-seg.loc { grid-column: 1 / -1; }
  .search-go { grid-column: 1 / -1; height: 54px; margin-top: 4px; }
  .search-pop { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; min-width: 0; max-height: 80vh; overflow: auto; }
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; }
  .trust-strip div:nth-child(3) { border-left: 0; }
  .trust-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .prop-layout { grid-template-columns: 1fr; }
  .booking-col { position: static; }
  .booking-col .booking { scroll-margin-top: 90px; }
  .mobile-book {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(252, 252, 249, .95); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -20px rgba(0, 0, 0, .25);
  }
  .mobile-book strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
  .mobile-book .btn { height: 48px; }
  body.has-mobile-book .site-footer { padding-bottom: 84px; }
  .reviews { grid-template-columns: 1fr; }
  .welcome-card { grid-template-columns: 1fr; text-align: center; }
  .welcome-card .gift { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month + .cal-month { display: none; }
  .cal-grid { grid-template-columns: repeat(7, minmax(36px, 1fr)); }
}
@media (max-width: 760px) {
  .home-grid { grid-template-columns: 1fr; }
  .why-list, .features, .features.all, .house-rules { grid-template-columns: 1fr; }
  .shield-cards { grid-template-columns: 1fr; }
  .shield-head { flex-direction: column; align-items: flex-start; }
  .trust-strip div { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 14px; font-size: 14px; }
  .trust-strip svg { width: 24px; height: 24px; }
  .float-note { font-size: 13px; padding: 10px 14px 10px 10px; }
  .float-note .dot { width: 34px; height: 34px; }
  .float-note.n1 { left: -8%; top: 14%; }
  .float-note.n2 { right: -8%; }
  .why-photo .stamp { right: 6px; width: 110px; height: 110px; font-size: 13px; }
  .gallery-grid { grid-template-columns: 1fr !important; grid-template-rows: 1fr; height: 300px; border-radius: var(--r-lg); margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .gallery-grid .thumb { display: none; }
  .prop-head { flex-direction: column; align-items: flex-start; padding-top: 18px; }
  .prop-head { gap: 6px; }
  .prop-actions { margin-left: -12px; }
  .all-photos { top: 14px; bottom: auto !important; right: 14px; height: 34px !important; padding: 0 12px !important; font-size: 13px !important; }
  .photo-guarantee { left: 14px; bottom: 14px; }
  .host-line { flex-wrap: wrap; }
  .host-line .stars { margin-left: 68px; }
  .lb-nav { display: none; }
  .lb-slide { padding: 0; }
  .lb-slide img { border-radius: 0; }
  .tier { grid-template-columns: auto 1fr; }
  .tier .tag { grid-column: 2; justify-self: start; }
  .modal { align-items: end; padding: 0; }
  .modal-panel { width: 100%; max-height: 90vh; border-radius: var(--r-xl) var(--r-xl) 0 0; transform: translateY(60px); clip-path: inset(6% 0 0 0 round 34px 34px 0 0); }
  .modal.is-open .modal-panel { clip-path: inset(0 0 0 0 round 34px 34px 0 0); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* 16 ─ forms (shared) ---------------------------------------------------- */
.form-stack { display: grid; gap: 16px; margin-top: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.field label.check { gap: 12px; flex-wrap: nowrap; align-items: flex-start; }
.field-link { margin-left: auto; font-weight: 700; color: var(--oak-deep); font-size: 13px; }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(176, 97, 79, .1); }
.input:disabled { background: var(--mist); color: var(--forest-3); }
.error { color: var(--danger); font-size: 13.5px; font-weight: 600; }
.hint { color: var(--forest-3); font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--forest-2); cursor: pointer; line-height: 1.45; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sage-deep); cursor: pointer; }
.pw { position: relative; }
.pw .input { padding-right: 50px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--forest-3); display: grid; place-items: center; transition: background var(--fast), color var(--fast); }
.pw-toggle:hover, .pw-toggle.is-on { background: var(--mist); color: var(--forest); }
.btn.is-loading { pointer-events: none; color: transparent; }
.btn.is-loading::before { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--fg); border-right-color: transparent; border-bottom-color: transparent; left: calc(50% - 10px); top: calc(50% - 10px); animation: spin .8s linear infinite; }
.btn.is-loading svg { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--r); font-size: 15px; font-weight: 600; margin: 18px 0; line-height: 1.45; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.notice.ok { background: var(--sage-soft); color: var(--sage-deep); }
.notice.soft { background: var(--mist); color: var(--forest-2); font-weight: 400; }
.notice.warn { background: var(--oak-soft); color: var(--oak-deep); }
.notice .link { margin-left: 4px; }
.only-sm { display: none; }

/* 17 ─ sign-in pages ------------------------------------------------------ */
.auth { padding: clamp(24px, 4vw, 56px) 0 0; }
.auth-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.auth-side { position: relative; }
.auth-arch { aspect-ratio: 4 / 4.4; border-radius: 999px 999px var(--r-xl) var(--r-xl); overflow: hidden; box-shadow: var(--shadow-3); background: var(--mist-2); outline: 10px solid var(--paper); outline-offset: -1px; max-width: 440px; }
.auth-arch img { width: 100%; height: 100%; object-fit: cover; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-size: 15.5px; color: var(--forest-2); }
.auth-points li { display: flex; align-items: center; gap: 12px; }
.auth-points svg { width: 22px; height: 22px; color: var(--sage-deep); }
.auth-card { background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-3); padding: clamp(28px, 4vw, 48px); max-width: 540px; width: 100%; justify-self: center; }
.auth-card h1 { font-size: clamp(30px, 3.4vw, 40px); margin: 12px 0 8px; }
.auth-card .btn-block { height: 54px; margin-top: 6px; }
.auth-alt { margin-top: 22px; text-align: center; font-size: 15px; color: var(--forest-2); }
.envelope { width: 120px; margin-bottom: 8px; }
.envelope .flap { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1.6s var(--ease) .3s forwards; }
.envelope .seal { transform-box: fill-box; transform-origin: center; animation: pop 900ms var(--ease) 1.2s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* 18 ─ account ----------------------------------------------------------- */
.account { padding: clamp(24px, 4vw, 48px) 0 0; }
.account-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.account-nav { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border-radius: var(--r-xl); padding: 18px; box-shadow: var(--shadow-1); }
.account-nav .me { display: flex; align-items: center; gap: 12px; padding: 8px 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 10px; min-width: 0; }
.account-nav .me div { min-width: 0; }
.account-nav .me b { display: block; font-size: 15px; }
.account-nav .me small { display: block; color: var(--forest-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--oak-soft); color: var(--oak-deep); display: grid; place-items: center; font-family: var(--serif); font-size: 19px; flex: none; }
.avatar.sm { width: 28px; height: 28px; font-size: 14px; }
.me-pill { padding-left: 6px; }
.account-nav nav { display: grid; gap: 2px; }
.account-nav nav a, .account-nav nav button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 0; background: none; font-size: 15px; color: var(--forest-2); width: 100%; text-align: left; transition: background var(--fast), color var(--fast); }
.account-nav nav a:hover, .account-nav nav button:hover { background: var(--mist); color: var(--forest); }
.account-nav nav a[aria-current="page"] { background: var(--sage-soft); color: var(--sage-deep); font-weight: 700; }
.account-nav .dot { width: 8px; height: 8px; border-radius: 50%; margin-left: auto; }
.account-nav .dot.ok { background: var(--sage); }
.account-nav .dot.warn { background: var(--oak); animation: breathe 3s infinite; }
.account-head { margin-bottom: 24px; }
.account-head h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 12px 0 8px; }
.status-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.status-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease); }
a.status-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.status-card .ic { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--forest-2); flex: none; }
.status-card .ic.ok { background: var(--sage-soft); color: var(--sage-deep); }
.status-card .ic.wait, .status-card .ic.oak { background: var(--oak-soft); color: var(--oak-deep); }
.status-card small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-3); }
.status-card b { font-size: 16px; }
.status-card .tick { margin-left: auto; color: var(--sage); }
.status-card .go { margin-left: auto; color: var(--forest-3); }
.welcome-card.compact { padding: 26px 30px; margin-bottom: 22px; }
.welcome-card.compact .gift { width: 72px; height: 72px; border-radius: 24px; }
.welcome-card.compact h2 { font-size: 24px; }
.panel { background: var(--paper); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-1); margin-bottom: 22px; }
.panel.form-stack { margin-top: 0; }
.panel.center { text-align: center; padding: 48px 28px; }
.panel.center h2 { font-size: 28px; margin-bottom: 8px; }
.panel.center p { max-width: 460px; margin: 0 auto; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head h2 { font-size: 24px; }
.panel .form-stack { margin-top: 0; }
.empty-inline { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: var(--r-lg); background: var(--mist); }
.empty-inline > svg { width: 30px; height: 30px; color: var(--sage); flex: none; }
.empty-inline b { display: block; }
.empty-inline p { font-size: 14.5px; }
.empty-inline .btn { margin-left: auto; }
.modal-icon.breathe { animation: breathe 3.5s var(--ease) infinite; }
.menu-list { min-width: 230px; padding: 8px; }
.menu-list a, .menu-list button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 0; background: none; width: 100%; font-size: 15px; text-align: left; color: var(--forest-2); }
.menu-list a:hover, .menu-list button:hover { background: var(--mist); color: var(--forest); }
.menu-list form { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }

/* identity verification */
.steps-line { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; }
.steps-line li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--pill); background: var(--paper); color: var(--forest-3); font-size: 14px; font-weight: 700; box-shadow: var(--shadow-1); }
.steps-line li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font-size: 13px; flex: none; }
.steps-line li.on { color: var(--forest); }
.steps-line li.on span { background: var(--oak); color: var(--paper); }
.steps-line li.done span { background: var(--sage); }
.choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-card { position: relative; display: block; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border-radius: var(--r); border: 1.5px solid var(--line-2); text-align: center; font-size: 14.5px; font-weight: 700; color: var(--forest-2); cursor: pointer; transition: border-color var(--fast), background var(--fast), color var(--fast); }
.choice-card span svg { width: 26px; height: 26px; }
.choice-card input:checked + span { border-color: var(--sage); background: var(--sage-soft); color: var(--sage-deep); }
.choice-card input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.drop { position: relative; display: grid; place-items: center; min-height: 170px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-2); background: var(--mist); cursor: pointer; overflow: hidden; transition: border-color var(--fast), background var(--fast); text-align: center; }
.drop:hover, .drop.is-over { border-color: var(--sage); background: var(--sage-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-inner { display: grid; justify-items: center; gap: 6px; padding: 18px; position: relative; z-index: 1; pointer-events: none; }
.drop-inner svg { width: 28px; height: 28px; color: var(--sage-deep); }
.drop-inner b { font-size: 15px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-inner small { color: var(--forest-3); font-size: 13px; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.drop.has-file { border-style: solid; border-color: var(--sage); }

@media (max-width: 1280px) {
  .site-header.menu-open .nav .only-sm { display: block; }
}
@media (max-width: 900px) {
  .auth-grid, .account-grid { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .account-nav { position: static; }
  .account-nav nav { grid-template-columns: 1fr 1fr; }
  .status-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .field-row, .choice-cards { grid-template-columns: 1fr; }
  .steps-line { flex-direction: column; }
  .empty-inline { flex-wrap: wrap; }
  .empty-inline .btn { margin-left: 48px; }
  .account-nav nav { grid-template-columns: 1fr; }
}

/* compact header + account tabs on small screens */
.pill-select { white-space: nowrap; }
@media (max-width: 900px) {
  .account-nav { padding: 6px; border-radius: var(--pill); }
  .account-nav .me { display: none; }
  .account-nav nav { display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .account-nav nav::-webkit-scrollbar { display: none; }
  .account-nav nav a, .account-nav nav button { width: auto; white-space: nowrap; border-radius: var(--pill); padding: 9px 14px; font-size: 14px; }
  .account-nav nav form { display: flex; }
}
@media (max-width: 760px) {
  .header-tools { gap: 6px; }
  .site-header .wrap { gap: 10px; }
  .me-pill .icon { display: none; }
  .pill-select { padding: 0 11px; }
  .pref-label { display: none; }
  .brand { font-size: 28px; }
  .brand svg { width: 30px; height: 30px; }
}

/* 19 ─ bookings (guest) --------------------------------------------------- */
.status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); font-size: 13px; font-weight: 800; white-space: nowrap; background: var(--mist-2); color: var(--forest-2); }
.status-chip svg { width: 15px; height: 15px; }
.status-chip.ok { background: var(--sage-soft); color: var(--sage-deep); }
.status-chip.oak { background: var(--oak-soft); color: var(--oak-deep); }
.status-chip.wait { background: #F1EEE3; color: #7C6A44; }
.status-chip.lg { padding: 10px 16px; font-size: 14px; }
.status-chip.late { background: #F5E3DD; color: #9A4E3E; }
td .status-chip.late { margin-top: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--forest-2); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.back-link:hover { color: var(--forest); }
.booking-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.booking-head h1 { font-size: clamp(26px, 3vw, 38px); }
.booking-list { display: grid; gap: 10px; }
.booking-list.past { opacity: .85; }
.list-title { font-size: 22px; margin: 34px 0 14px; }
.booking-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 12px 20px 12px 12px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease); }
.panel .booking-row { background: var(--mist); box-shadow: none; }
.booking-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.booking-row .thumb { width: 76px; height: 60px; border-radius: 14px; overflow: hidden; background: var(--mist-2); }
.booking-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.booking-row .info { display: grid; gap: 2px; min-width: 0; }
.booking-row .info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-row .due { font-size: 13px; font-weight: 700; color: var(--oak-deep); }
.booking-row .amount { font-family: var(--serif); font-size: 18px; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.booking-side { display: grid; gap: 0; position: sticky; top: calc(var(--header-h) + 20px); }
.stage { text-align: center; padding: 40px 30px; }
.stage .modal-icon { margin: 0 auto 18px; }
.stage h2 { font-size: 28px; margin-bottom: 10px; }
.stage p { max-width: 520px; margin: 0 auto 6px; }
.stage .notice { text-align: left; max-width: 520px; margin: 18px auto 0; }
.stage.pay { text-align: left; }
.stage.pay h2 { margin: 10px 0 6px; }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 8px; }
.countdown { text-align: center; padding: 14px 20px; border-radius: var(--r-lg); background: var(--oak-soft); color: var(--oak-deep); flex: none; }
.countdown [data-cd] { display: block; font-family: var(--serif); font-size: 30px; font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1.1; }
.countdown small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.countdown.is-urgent { background: #F6E3DD; color: var(--danger); animation: breathe 2.4s var(--ease) infinite; }
.due-line { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; margin: 10px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.due-line strong { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.bank-box { border-radius: var(--r-lg); background: var(--mist); padding: 18px 20px; margin-bottom: 18px; }
.bank-box h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 10px; }
.bank-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line-2); font-size: 15px; }
.bank-row span { color: var(--forest-2); }
.bank-row code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14.5px; word-break: break-all; }
.bank-row.ref code { font-weight: 800; color: var(--oak-deep); }
.copy { width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--paper); display: grid; place-items: center; color: var(--forest-2); transition: background var(--fast), color var(--fast); }
.copy:hover { color: var(--forest); }
.copy.is-done { background: var(--sage-soft); color: var(--sage-deep); }
.copy svg { width: 17px; height: 17px; }
.link-pay { display: grid; gap: 10px; max-width: 420px; }
.link-pay .btn { height: 56px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; padding-bottom: 16px; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 1.5px; background: var(--line); }
.timeline .dot { width: 13px; height: 13px; border-radius: 50%; background: var(--sage); margin-top: 5px; box-shadow: 0 0 0 4px var(--sage-soft); }
.timeline li:not(:first-child) .dot { background: var(--line-2); box-shadow: none; }
.timeline b { font-size: 15px; }
.timeline small { display: block; color: var(--forest-3); font-size: 13px; }
.cancel-line { text-align: center; color: var(--forest-2); font-size: 15px; margin: 6px 0 20px; }
.summary { display: grid; gap: 4px; }
.sum-photo { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; margin-bottom: 10px; background: var(--mist-2); }
.sum-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sum-photo:hover img { transform: scale(1.04); }
.sum-title { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.summary .breakdown { margin-top: 12px; }
.landlord-card { display: flex; gap: 14px; align-items: flex-start; }
.landlord-card .badge { width: 46px; height: 46px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); display: grid; place-items: center; flex: none; }
.landlord-card div { display: grid; gap: 2px; font-size: 14.5px; min-width: 0; }
.landlord-card small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-3); }
.landlord-card b { font-size: 17px; }
.landlord-card a { color: var(--oak-deep); word-break: break-all; }
.req-summary { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--mist); }
.req-summary img { width: 84px; height: 66px; border-radius: 12px; object-fit: cover; }
.req-summary div { display: grid; gap: 2px; }
.req-dates { font-weight: 700; font-size: 14.5px; }
.count-pill { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: var(--pill); background: var(--oak); color: var(--paper); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }

/* bell */
.bell-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; transition: background var(--fast); }
.bell-btn:hover { background: var(--paper); }
.bell-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--pill); background: var(--oak); color: var(--paper); font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--mist); animation: pop 600ms var(--ease) both; }
.bell-panel { width: min(380px, calc(100vw - 32px)); padding: 8px; }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 10px; }
.bell-head .link { font-size: 13px; }
.bell-all { display: block; text-align: center; padding: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--oak-deep); }
.notif { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px 10px; border-radius: 14px; transition: background var(--fast); position: relative; }
.notif:hover { background: var(--mist); }
.notif .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--mist); color: var(--forest-2); }
.notif .ic.ok { background: var(--sage-soft); color: var(--sage-deep); }
.notif .ic.oak { background: var(--oak-soft); color: var(--oak-deep); }
.notif .txt { display: grid; gap: 1px; font-size: 14px; color: var(--forest-2); line-height: 1.4; }
.notif .txt b { color: var(--forest); font-size: 14.5px; }
.notif .txt small { color: var(--forest-3); font-size: 12px; margin-top: 2px; }
.notif.unread::after { content: ""; position: absolute; right: 10px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--oak); }
.notif.unread .txt b { padding-right: 16px; }
.notif-list { padding: 10px; }

/* 20 ─ admin -------------------------------------------------------------- */
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.status-card .big { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.admin-search { position: relative; margin-bottom: 14px; }
.admin-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--forest-3); }
.admin-search .input { padding-left: 46px; border-radius: var(--pill); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.filter-chips a { padding: 8px 14px; border-radius: var(--pill); background: var(--paper); font-size: 14px; font-weight: 700; color: var(--forest-2); box-shadow: var(--shadow-1); transition: background var(--fast), color var(--fast); }
.filter-chips a span { margin-left: 4px; padding: 1px 7px; border-radius: var(--pill); background: var(--oak-soft); color: var(--oak-deep); font-size: 12px; }
.filter-chips a.is-active { background: var(--forest); color: var(--paper); }
.table-wrap { overflow-x: auto; margin: -6px; padding: 6px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 14.5px; min-width: 760px; }
.table th { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-3); padding: 4px 14px; }
.table td { padding: 12px 14px; background: var(--mist); vertical-align: top; }
.table td:first-child { border-radius: 14px 0 0 14px; }
.table td:last-child { border-radius: 0 14px 14px 0; }
.table td small { display: block; color: var(--forest-3); font-size: 12.5px; margin-top: 2px; }
.table tbody tr { cursor: pointer; transition: transform var(--fast); }
.table tbody tr:hover td { background: var(--mist-2); }
.facts-list { margin: 0; display: grid; gap: 0; }
.facts-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.facts-list > div:first-child { border-top: 0; }
.facts-list dt { color: var(--forest-3); }
.facts-list dd { margin: 0; min-width: 0; word-break: break-word; }
.proof { display: grid; gap: 10px; justify-items: start; margin-top: 16px; padding: 14px; border-radius: var(--r); background: var(--mist); }
.proof img { max-width: 100%; max-height: 360px; border-radius: 12px; box-shadow: var(--shadow-1); }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--pill); display: grid; place-items: center; background: var(--paper); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-1); }
.pager .is-active { background: var(--forest); color: var(--paper); }
.pager .is-off { opacity: .4; }

@media (max-width: 1080px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .booking-side { position: static; }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .booking-row { grid-template-columns: 64px minmax(0, 1fr); }
  .booking-row .status-chip, .booking-row .amount { grid-column: 2; justify-self: start; }
  .booking-head, .pay-head { flex-direction: column; }
  .bank-row { grid-template-columns: minmax(0, 1fr) auto; }
  .bank-row span { grid-column: 1 / -1; font-size: 13px; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .facts-list > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 1240px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .booking-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 22px; align-items: start; }
}

[hidden] { display: none !important; }
.table td:first-child b { white-space: nowrap; }
@media (max-width: 760px) {
  .header-tools { gap: 4px; }
  .bell-btn, .menu-btn { width: 38px !important; height: 38px !important; }
  .pill-select { height: 38px; padding: 0 9px; }
  .me-pill { padding: 0 4px; }
  .brand { font-size: 26px; gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
}
@media (max-width: 360px) { .brand { font-size: 23px; } }

/* 21 ─ messages ----------------------------------------------------------- */
.convo-list { display: grid; gap: 8px; }
.convo { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease); }
.convo:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.convo-thumb { width: 56px; height: 56px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--mist); color: var(--sage-deep); }
.convo-thumb.avatar { border-radius: 50%; width: 52px; height: 52px; font-size: 21px; }
.convo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.convo-txt { display: grid; gap: 2px; min-width: 0; }
.convo-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15.5px; }
.convo-txt > span { color: var(--forest-2); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo-side { display: grid; justify-items: end; gap: 6px; }
.convo-side small { color: var(--forest-3); font-size: 12.5px; white-space: nowrap; }
.convo-side .count-pill { margin: 0; }
.convo.unread { box-shadow: inset 3px 0 0 var(--oak), var(--shadow-1); }
.convo.unread .convo-txt > span { color: var(--forest); font-weight: 600; }

.thread-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.thread-head h1 { font-size: clamp(26px, 3vw, 36px); margin-top: 10px; }
.context-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--pill); background: var(--paper); box-shadow: var(--shadow-1); font-size: 14px; font-weight: 700; color: var(--forest-2); flex: none; }
.context-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.context-chip > svg { margin-left: 8px; color: var(--sage-deep); }
.context-card { display: flex; align-items: center; gap: 14px; transition: transform var(--med) var(--ease); }
.context-card:hover { transform: translateY(-2px); }
.context-card img { width: 64px; height: 50px; border-radius: 12px; object-fit: cover; }
.context-card > svg { width: 26px; height: 26px; color: var(--sage-deep); }
.context-card span { display: grid; gap: 2px; min-width: 0; }
.context-card small { color: var(--forest-3); font-size: 13px; }

.thread-card { background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-1); overflow: hidden; margin-bottom: 22px; }
.thread {
  height: min(62vh, 620px); overflow-y: auto; overscroll-behavior: contain; padding: 22px clamp(14px, 3vw, 28px) 10px;
  display: flex; flex-direction: column; gap: 10px; scroll-behavior: auto;
  background: radial-gradient(600px 300px at 100% 0%, rgba(226, 235, 224, .45), transparent 70%), var(--paper);
}
.thread .center { text-align: center; margin: auto; }
.day-sep { display: flex; justify-content: center; margin: 10px 0 4px; }
.day-sep span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-3); padding: 4px 12px; border-radius: var(--pill); background: var(--mist); }
.bubble { display: flex; align-items: flex-end; gap: 10px; max-width: min(78%, 560px); }
.bubble.mine { align-self: flex-end; flex-direction: row-reverse; }
.bubble.is-new { animation: bubbleIn 520ms var(--ease) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.b-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--oak-soft); color: var(--oak-deep); font-family: var(--serif); font-size: 15px; flex: none; overflow: hidden; }
.b-avatar svg { width: 34px; height: 34px; }
.b-wrap { display: grid; gap: 3px; min-width: 0; }
.bubble.mine .b-wrap { justify-items: end; }
.b-name { font-size: 12px; font-weight: 800; color: var(--forest-3); padding-left: 4px; }
.b-body { padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: var(--mist); color: var(--forest); font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.bubble.team.theirs .b-body { background: #EEF2EC; }
.bubble.mine .b-body { border-radius: 20px 20px 6px 20px; background: var(--forest); color: #F3F4EF; }
.bubble.mine .b-body a { color: #E0CDB2; }
.b-body p + .b-img, .b-body p + .b-file { margin-top: 8px; }
.b-img { display: block; border-radius: 14px; overflow: hidden; max-width: 260px; }
.b-img img { width: 100%; display: block; }
.b-file { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.b-meta { font-size: 11.5px; color: var(--forest-3); padding: 0 6px; }
.composer { display: flex; align-items: flex-end; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--paper); }
.composer-field { flex: 1; display: grid; gap: 6px; background: var(--mist); border-radius: 22px; padding: 10px 16px; transition: box-shadow var(--fast); }
.composer-field:focus-within { box-shadow: 0 0 0 3px var(--sage-soft), inset 0 0 0 1px var(--sage); }
.composer textarea { border: 0; background: none; resize: none; font: inherit; color: var(--forest); line-height: 1.5; max-height: 200px; padding: 0; outline: 0; }
.attach { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--forest-2); cursor: pointer; flex: none; transition: background var(--fast); }
.attach:hover { background: var(--mist); }
.attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.attach-chip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 6px 4px 12px; border-radius: var(--pill); background: var(--paper); font-size: 13px; font-weight: 700; max-width: 100%; }
.attach-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-chip button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--mist); display: grid; place-items: center; padding: 0; }
.attach-chip svg { width: 14px; height: 14px; }
.send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--forest); color: var(--paper); display: grid; place-items: center; flex: none; transition: transform var(--med) var(--ease), background var(--fast); }
.send:hover { transform: translateY(-1px) rotate(-8deg); }
.send:disabled { opacity: .6; }
.send.is-sending svg { animation: fly .9s var(--ease) infinite; }
@keyframes fly { 50% { transform: translate(3px, -3px); opacity: .5; } }
.composer-hint { padding: 0 20px 14px; font-size: 12.5px; color: var(--forest-3); background: var(--paper); }

@media (max-width: 760px) {
  .thread-head { flex-direction: column; align-items: flex-start; }
  .thread { height: 58vh; }
  .bubble { max-width: 88%; }
  .convo { grid-template-columns: 48px minmax(0, 1fr); }
  .convo-thumb { width: 48px; height: 48px; }
  .convo-side { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; }
}

/* 22 ─ admin: content management ----------------------------------------- */
.head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.select.sm { height: 40px; padding: 0 12px; border-radius: var(--pill); font-size: 14px; width: auto; }
.sticky-save { position: sticky; bottom: 16px; z-index: 5; display: flex; gap: 10px; padding: 12px; border-radius: var(--pill); background: rgba(252, 252, 249, .92); backdrop-filter: blur(10px); box-shadow: var(--shadow-3); width: max-content; max-width: 100%; }
.import-log { white-space: pre-wrap; font: 13.5px/1.6 ui-monospace, Consolas, monospace; background: var(--mist); border-radius: var(--r); padding: 16px; margin: 0 0 14px; color: var(--forest-2); }

/* switches */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-size: 14px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; width: 42px; height: 24px; border-radius: var(--pill); background: var(--line-2); flex: none; transition: background var(--med) var(--ease); }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); transition: transform var(--med) var(--ease); }
.switch input:checked + .track { background: var(--sage); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--sage); outline-offset: 2px; }
.switch b { display: block; font-size: 15px; }
.switch small { display: block; color: var(--forest-3); font-size: 13px; }
.switch-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }

/* homes list */
.home-rows { display: grid; gap: 10px; }
.home-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 12px 16px 12px 12px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); }
.home-row .thumb { width: 96px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--mist); display: grid; place-items: center; color: var(--forest-3); }
.home-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-row .info { display: grid; gap: 3px; min-width: 0; }
.home-row .info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15.5px; }
.home-row .switches { display: flex; gap: 16px; }

/* photo manager */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.photo-tile { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--mist); box-shadow: var(--shadow-1); cursor: grab; position: relative; transition: transform var(--med) var(--ease), opacity var(--med); }
.photo-tile.is-dragging { opacity: .4; transform: scale(.96); }
.photo-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; pointer-events: none; }
.photo-tile .cover-tag { display: none; position: absolute; left: 8px; top: 8px; padding: 4px 10px; border-radius: var(--pill); background: var(--paper); font-size: 12px; font-weight: 800; color: var(--sage-deep); }
.photo-tile:first-child .cover-tag { display: block; }
.photo-tile:first-child { box-shadow: 0 0 0 2px var(--sage), var(--shadow-1); }
.photo-tile figcaption { display: flex; gap: 4px; padding: 6px; align-items: center; }
.photo-tile .caption { flex: 1; min-width: 0; height: 32px; border: 0; border-radius: 10px; background: var(--paper); padding: 0 10px; font: inherit; font-size: 13px; }
.tile-btn { width: 32px; height: 32px; border-radius: 10px; border: 0; background: var(--paper); display: grid; place-items: center; color: var(--forest-2); flex: none; padding: 0; }
.tile-btn:hover { color: var(--oak-deep); }
.tile-btn svg { width: 16px; height: 16px; }
.photo-tile:first-child [data-make-cover] { display: none; }

/* features checklist */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.amenity-check { position: relative; }
.amenity-check input { position: absolute; opacity: 0; }
.amenity-check span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); font-size: 14px; cursor: pointer; transition: border-color var(--fast), background var(--fast), color var(--fast); }
.amenity-check input:checked + span { border-color: var(--sage); background: var(--sage-soft); color: var(--sage-deep); font-weight: 700; }
.amenity-check input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }

/* ID documents */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.doc { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--forest-2); }
.doc img, .doc-pdf { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--mist); box-shadow: var(--shadow-1); transition: transform var(--med) var(--ease); }
.doc:hover img { transform: scale(1.02); }
.doc-pdf { display: grid; place-items: center; gap: 4px; }

/* create / edit boxes */
.create-box > summary, .item-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; }
.create-box > summary::-webkit-details-marker, .item-box > summary::-webkit-details-marker { display: none; }
.create-box > summary { font-weight: 800; color: var(--oak-deep); }
.create-box[open] > summary, .item-box[open] > summary { margin-bottom: 18px; }
.item-box { padding: 16px 20px; margin-bottom: 10px; }
.item-box > summary .status-chip { margin-left: auto; }
.code-tag { font: 800 15px/1 ui-monospace, Consolas, monospace; letter-spacing: .06em; padding: 8px 12px; border-radius: 10px; background: var(--oak-soft); color: var(--oak-deep); }

/* applications */
.app-card { padding: 20px 22px; margin-bottom: 10px; }
.app-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.app-top b { font-size: 17px; }
.app-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14px; color: var(--forest-2); }
.app-facts span { display: inline-flex; align-items: center; gap: 6px; }

/* dashboard nudges */
.nudge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.nudge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--pill); background: var(--oak-soft); color: var(--oak-deep); font-size: 14px; transition: transform var(--med) var(--ease); }
.nudge:hover { transform: translateY(-2px); }
.nudge b { font-size: 15px; }

/* rating preview */
.rating-input { display: flex; align-items: center; gap: 14px; }
.rating-input .input { width: 110px; }
.stars-preview { position: relative; font-size: 24px; letter-spacing: 2px; line-height: 1; }
.stars-preview .base { color: var(--line-2); }
.stars-preview .fill { position: absolute; left: 0; top: 0; width: var(--pct, 100%); overflow: hidden; white-space: nowrap; color: var(--oak); transition: width var(--med) var(--ease); }

@media (max-width: 900px) {
  .home-row { grid-template-columns: 80px minmax(0, 1fr); }
  .home-row .thumb { width: 80px; height: 64px; }
  .home-row .switches, .home-row > .btn { grid-column: 1 / -1; }
  .home-row > .btn { display: none; }
  .switch-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .field-row.three { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .home-row .switches { flex-wrap: wrap; gap: 10px 16px; }
  .sticky-save { width: 100%; border-radius: var(--r-lg); }
}

/* ── feedback round 1 fixes ── */
/* a closed gallery must never catch clicks */
.lightbox:not(.is-open), .lightbox:not(.is-open) * { pointer-events: none !important; cursor: auto !important; }
/* photo badges on the main image: guarantee top-left, all photos bottom-left */
.photo-guarantee { top: 18px; bottom: auto; left: 18px; }
.all-photos { left: 18px !important; right: auto !important; bottom: 18px !important; top: auto !important; }
/* booking calendar opens beside the booking box on laptops, so it's never cut off */
@media (min-width: 901px) {
  .booking-col .search-pop.cal-pop { right: calc(100% + 34px); left: auto; top: -150px; }
}
/* guests in the search bar */
.guests-seg { cursor: pointer; }
.guests-pop { left: auto; right: -60px; min-width: 300px; padding: 18px 20px; cursor: default; }
.guests-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.guests-row b { display: block; font-size: 15px; }
.guests-row small { color: var(--forest-3); font-size: 13px; }
@media (max-width: 900px) { .guests-seg { grid-column: 1 / -1; } .guests-pop { right: 12px; } }

/* ==========================================================================
   23 ─ v2 layout: homepage, information pages, legal
   ========================================================================== */
.sec-title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--oak-deep); transition: gap var(--med) var(--ease); }
.arrow-link:hover { gap: 12px; }
.arrow-link svg { width: 18px; height: 18px; }

/* picture frames: thin oak wood, a linen mat, soft wall shadow */
.frame {
  margin: 0; position: relative; padding: 9px; border-radius: 14px;
  background: var(--paper); border: 5px solid #C7AB86;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 22px 38px -22px rgba(38, 48, 42, .45), 0 3px 6px rgba(38, 48, 42, .06);
}
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }

/* hero */
.hero2 { padding: clamp(18px, 3vw, 40px) 0 0; position: relative; }
.hero2-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero2-copy { padding: 20px 0; }
.hero2 h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.03em; }
.hero2 h1 em { display: block; font-style: italic; color: var(--oak-deep); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero2 .lede { font-size: 18px; color: var(--forest-2); max-width: 470px; margin-top: 22px; }
.hero2-search { grid-column: 1 / -1; }
.hero2-search .search-bar { margin-top: 26px; }
.gallery-wall { position: relative; height: clamp(320px, 34vw, 440px); }
.gallery-wall .frame { position: absolute; transform-origin: 50% 0; animation: hang 1.6s var(--ease) both; }
.gallery-wall .f1 { left: 0; top: 4%; width: 56%; height: 86%; animation-delay: .15s; }
.gallery-wall .f2 { right: 6%; top: 0; width: 34%; height: 42%; animation-delay: .35s; }
.gallery-wall .f3 { right: 0; bottom: 2%; width: 40%; height: 46%; animation-delay: .55s; }
.gallery-wall .frame:hover { transform: rotate(-.6deg); transition: transform 1s var(--ease); }
.gallery-wall .sprig { position: absolute; left: 51%; bottom: -6px; width: 64px; color: var(--sage); opacity: .85; animation: sway 7s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes hang { 0% { opacity: 0; transform: translateY(-14px) rotate(-2.4deg); } 60% { opacity: 1; transform: translateY(2px) rotate(.8deg); } 100% { opacity: 1; transform: none; } }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2.5deg); } }

.promise-line { margin-top: clamp(36px, 5vw, 64px); }
.promise-line p { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.6vw, 21px); color: var(--forest-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-variation-settings: "SOFT" 100; }
.promise-line i { width: 6px; height: 6px; border-radius: 50%; background: var(--oak); opacity: .7; }

/* homes shelf */
.homes-shelf { padding: clamp(56px, 8vw, 100px) 0 0; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.shelf-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.home-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 82%); gap: clamp(18px, 2.4vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.home-scroller > * { scroll-snap-align: start; }

/* a note from the team */
.letter-section { padding: clamp(64px, 9vw, 120px) 0; }
.letter-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.frame.tall { aspect-ratio: 4 / 5; transform: rotate(-1.2deg); }
.letter {
  position: relative; background: #FFFEFA; border-radius: 6px 22px 22px 22px; padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 30px 60px -36px rgba(38, 48, 42, .35), 0 2px 4px rgba(38, 48, 42, .05);
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(111, 143, 114, .09) 33px 34px);
  font-family: var(--serif); font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.75; color: var(--forest); font-variation-settings: "SOFT" 100;
}
.letter::before { content: ""; position: absolute; top: -12px; left: 40px; width: 90px; height: 26px; background: rgba(226, 235, 224, .9); transform: rotate(-3deg); border-radius: 3px; }
.letter p + p { margin-top: 14px; }
.letter .salutation { font-style: italic; color: var(--oak-deep); font-size: 1.15em; }
.letter .sign { margin-top: 22px; font-style: italic; }
.letter .signature { display: block; font-size: 1.6em; color: var(--sage-deep); font-variation-settings: "SOFT" 100, "WONK" 1; margin-top: 2px; }
.letter-links { display: flex; align-items: center; gap: 20px; margin-top: 26px; font-family: var(--sans); font-size: 15px; }

/* shield teaser (also used on the property page) */
.shield-box.wide { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px); border-radius: var(--r-xl); }
.shield-box.wide h3 { font-size: clamp(20px, 2vw, 26px); }
.shield-box.wide .btn-oak { --bg: #CBB496; --fg: var(--night); }

/* places */
.places { padding: clamp(64px, 9vw, 110px) 0 0; }
.places h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.place-list { border-top: 1px solid var(--line); }
.place { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 22px; padding: 18px 6px; border-bottom: 1px solid var(--line); transition: background var(--med) var(--ease), padding var(--med) var(--ease); }
.place img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.place .name { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.place .meta { color: var(--forest-3); font-size: 15px; }
.place > svg { width: 22px; height: 22px; color: var(--oak); transition: transform var(--med) var(--ease); }
.place:hover { background: var(--paper); padding-left: 18px; padding-right: 18px; border-radius: var(--r); }
.place:hover > svg { transform: translateX(6px); }

/* guest voices */
.voices { padding: clamp(64px, 9vw, 110px) 0 0; }
.voices h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 26px; }
.voice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.voice { margin: 0; padding: 28px 0 0; border-top: 2px solid var(--oak); }
.voice blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.45; font-variation-settings: "SOFT" 100; }
.voice figcaption { margin-top: 16px; font-size: 14px; color: var(--forest-2); }
.voice figcaption b { color: var(--forest); margin-right: 6px; }

/* welcome gift tag */
.gift-section { padding: clamp(64px, 9vw, 110px) var(--gutter) 0; }
.gift-tag {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: clamp(26px, 3vw, 38px) clamp(26px, 4vw, 48px) clamp(26px, 3vw, 38px) clamp(60px, 6vw, 84px);
  background: var(--oak-soft); border-radius: 26px 26px 26px 26px;
  clip-path: polygon(34px 0, 100% 0, 100% 100%, 34px 100%, 0 50%);
}
.gift-tag .hole { position: absolute; left: 30px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--mist); transform: translateY(-50%); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .15); }
.gift-amount { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); color: var(--oak-deep); line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.gift-tag h2 { font-size: clamp(22px, 2.4vw, 30px); }
.gift-tag p { color: var(--forest-2); margin-top: 6px; max-width: 520px; }

/* page hero (information pages) */
.page-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.page-hero.slim { padding-bottom: 24px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.05; letter-spacing: -.025em; max-width: 820px; }
.page-hero h1 em { font-style: italic; color: var(--oak-deep); font-variation-settings: "SOFT" 100, "WONK" 1; }
.page-hero .lede { font-size: 18px; color: var(--forest-2); max-width: 560px; margin-top: 20px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero-grid .frame { aspect-ratio: 5 / 4; transform: rotate(1deg); }

/* journey */
.journey-wrap { padding-bottom: clamp(40px, 6vw, 80px); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 860px; position: relative; }
.journey::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; border-left: 1.5px dashed var(--line-2); }
.journey li { display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 18px 0 34px; position: relative; }
.journey h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; }
.journey p { color: var(--forest); font-size: 16.5px; max-width: 640px; }
.journey p + p { margin-top: 8px; }
.j-num { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow-2); display: grid; place-items: center; font-family: var(--serif); font-size: 28px; color: var(--oak-deep); position: relative; z-index: 1; }
.journey li.j-photo { grid-template-columns: 64px 1fr; padding: 4px 0 40px; }
.journey li.j-photo .frame { grid-column: 2; aspect-ratio: 16 / 8; }

/* one price */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.split-section .lede { font-size: 17px; color: var(--forest-2); }
.included-card { background: var(--paper); border-radius: var(--r-xl); padding: 18px 18px 28px; box-shadow: var(--shadow-1); }
.included-card .frame { aspect-ratio: 16 / 9; border-width: 0; padding: 0; box-shadow: none; margin-bottom: 20px; }
.included-card h3 { font-size: 24px; padding: 0 10px; margin-bottom: 12px; }
.tick-list { list-style: none; margin: 0; padding: 0 10px; display: grid; gap: 10px; }
.tick-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.tick-list svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); stroke-width: 2.2; }

/* shield, in full */
.shield-full { background: var(--night); color: #DCE3DA; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 60px); margin: clamp(24px, 4vw, 48px) 0; }
.shield-full-head { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.shield-full-head .mark { width: 76px; height: 76px; color: #CBB496; flex: none; }
.shield-full-head h2 { font-size: clamp(28px, 3.4vw, 42px); color: #F6F4EE; }
.shield-full-head p { color: #B9C2BA; margin-top: 4px; }
.shield-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 34px; }
.shield-rows > div { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.shield-rows .ic { grid-row: span 2; color: #CBB496; }
.shield-rows .ic svg { width: 26px; height: 26px; }
.shield-rows h3 { font-size: 19px; color: #F6F4EE; margin-bottom: 6px; }
.shield-rows p { color: #B9C2BA; font-size: 15px; }

/* questions */
.faq-section { padding: clamp(40px, 6vw, 80px) var(--gutter); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--serif); font-size: 20px; font-variation-settings: "SOFT" 100; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; color: var(--oak); flex: none; transition: transform var(--med) var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--forest-2); animation: rise 600ms var(--ease); }

/* call to action */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--sage-soft); margin: clamp(24px, 4vw, 48px) 0 0; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); }
.cta-band p { margin-top: 6px; max-width: 520px; }

/* about */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-bottom: clamp(48px, 7vw, 96px); }
.story-text p { font-size: 17.5px; color: var(--forest); max-width: 600px; }
.story-text p + p { margin-top: 14px; }
.story .frame { aspect-ratio: 4 / 5; transform: rotate(-1deg); }
.verify { padding-bottom: clamp(48px, 7vw, 96px); }
.verify-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.verify-step { padding: 28px 28px 0 0; }
.verify-step + .verify-step { padding-left: 28px; border-left: 1px solid var(--line); }
.verify-step .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: var(--shadow-1); color: var(--sage-deep); margin-bottom: 16px; }
.verify-step h3 { font-size: 21px; margin-bottom: 8px; }
.verify-step p { color: var(--forest-2); font-size: 15.5px; }
.compare-section { padding-bottom: 20px; }
.compare { background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-1); padding: 8px clamp(14px, 3vw, 28px); overflow-x: auto; }
.cmp-row { display: grid; grid-template-columns: minmax(200px, 1.6fr) repeat(3, minmax(90px, 1fr)); align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; min-width: 560px; }
.cmp-row.head { border-top: 0; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-3); }
.cmp-row > span:not(:first-child) { text-align: center; }
.cmp-row .us { background: var(--sage-soft); border-radius: 12px; padding: 6px 0; }
.cmp-row.head .us { color: var(--sage-deep); font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 500; }
.cmp { display: inline-grid; place-items: center; }
.cmp.yes svg { width: 22px; height: 22px; color: var(--sage-deep); stroke-width: 2.2; }
.cmp.no svg { width: 20px; height: 20px; color: var(--forest-3); }
.cmp.varies { font-size: 13px; color: var(--forest-3); font-style: italic; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 20px; }
.contact-card { background: var(--paper); border-radius: var(--r-xl); padding: 18px 18px 22px; box-shadow: var(--shadow-1); }
.contact-card .frame { aspect-ratio: 16 / 10; padding: 0; border: 0; box-shadow: none; margin-bottom: 14px; }
.contact-card dl { margin: 0 0 18px; padding: 0 8px; }
.contact-card dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.contact-card dl > div:first-child { border-top: 0; }
.contact-card dt { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-3); }
.contact-card dt svg { width: 16px; height: 16px; }
.contact-card dd { margin: 4px 0 0; font-size: 16px; }
.btn.whatsapp { --bg: #3E8E62; height: 54px; }

/* legal pages */
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: 20px; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.legal-nav nav { display: grid; gap: 2px; background: var(--paper); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow-1); }
.legal-nav nav a { padding: 10px 12px; border-radius: 12px; font-size: 15px; color: var(--forest-2); }
.legal-nav nav a:hover { background: var(--mist); }
.legal-nav nav a[aria-current="page"] { background: var(--sage-soft); color: var(--sage-deep); font-weight: 700; }
.legal-body { background: var(--paper); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-1); max-width: 820px; }
.legal-body .lead { font-size: 18px; color: var(--forest-2); margin-bottom: 10px; }
.legal-body h2 { font-size: 23px; margin: 34px 0 10px; scroll-margin-top: 100px; }
.legal-body p, .legal-body li { font-size: 16px; color: var(--forest); line-height: 1.7; }
.legal-body ul { padding-left: 20px; margin: 8px 0; display: grid; gap: 6px; }
.legal-body p + p { margin-top: 10px; }
.legal-table { min-width: 0; }
.legal-table td code { font-size: 13px; }
.policy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 6px; }
.policy-cards > div { background: var(--mist); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 4px; }
.policy-cards b { font-size: 14px; color: var(--forest-2); }
.policy-cards span { font-family: var(--serif); font-size: 30px; color: var(--sage-deep); }
.policy-cards p { font-size: 14px !important; color: var(--forest-2) !important; }
.footer-contact { font-style: normal; display: grid; gap: 8px; margin-top: 16px; font-size: 14.5px; color: var(--forest-2); }
.footer-contact > * { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 3px; flex: none; color: var(--oak); }

@media (max-width: 1000px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .gallery-wall { order: 3; height: 340px; margin-top: 36px; }
  .hero2-search { order: 2; }
  .letter-grid, .page-hero-grid, .split-section, .story, .contact-grid { grid-template-columns: 1fr; }
  .frame.tall { max-width: 420px; }
  .verify-steps { grid-template-columns: 1fr; }
  .verify-step, .verify-step + .verify-step { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-nav { position: static; }
  .shield-box.wide { grid-template-columns: auto 1fr; }
  .shield-box.wide .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .gallery-wall { height: 270px; }
  .gallery-wall .frame { padding: 5px; border-width: 4px; }
  .place { grid-template-columns: auto 1fr auto; gap: 14px; }
  .place .meta { grid-column: 2; grid-row: 2; margin-top: -10px; }
  .place img { grid-row: span 2; width: 52px; height: 52px; }
  .place > svg { grid-row: span 2; grid-column: 3; }
  .gift-tag { grid-template-columns: 1fr; clip-path: none; padding: 28px; text-align: left; }
  .gift-tag .hole { display: none; }
  .journey::before { left: 23px; }
  .journey li { grid-template-columns: 48px 1fr; gap: 16px; }
  .j-num { width: 48px; height: 48px; font-size: 22px; }
  .journey li.j-photo .frame { grid-column: 1 / -1; }
  .policy-cards { grid-template-columns: 1fr; }
  .shelf-head { flex-direction: column; gap: 6px; }
}

/* how it works, in short (homepage) */
.letter-section { padding-bottom: clamp(24px, 4vw, 48px); }
.homes-shelf { padding-top: clamp(40px, 6vw, 72px); }
.peek { padding: clamp(64px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); }
.peek-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.peek-head h2 { font-size: clamp(30px, 3.6vw, 44px); max-width: 560px; }
.peek-path { position: relative; }
.peek-line { position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 60px; color: var(--oak); opacity: .55; }
.peek-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); position: relative; }
.peek-steps .n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mist); border: 1.5px solid var(--oak); font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--oak-deep); margin-bottom: 18px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.peek-steps b { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 6px; font-variation-settings: "SOFT" 100; }
.peek-steps p { color: var(--forest-2); font-size: 15.5px; max-width: 250px; }
@media (max-width: 900px) {
  .peek-line { display: none; }
  .peek-steps { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}
@media (max-width: 560px) {
  .peek-steps { grid-template-columns: 1fr; }
  .peek-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
  .peek-steps .n { width: 52px; height: 52px; font-size: 24px; margin: 0; grid-row: span 2; }
}

/* booking box: compact so Reserve and its links fit on a laptop screen */
.booking-col { top: calc(var(--header-h) + 12px); }
.booking { padding: 22px 24px; }
.booking .rate strong { font-size: 30px; }
.booking .rate-tabs { margin: 12px 0 14px; }
.booking .dates-box button, .booking .dates-box .guests { padding: 10px 14px; }
.booking .min-note { margin-top: 6px; }
.booking .breakdown { margin-top: 12px; gap: 6px; font-size: 14.5px; }
.booking .breakdown .total { padding-top: 8px; }
.booking .btn-block { margin-top: 12px; height: 52px; }
.booking .assure { margin-top: 6px; font-size: 12.5px; }
.booking .booking-links { margin-top: 10px; }
.popular-note { margin: 0 0 18px; }

/* "popular" note only as wide as its text */
.prop-main .popular-note { display: inline-flex; width: auto; max-width: 100%; padding: 10px 16px; font-size: 14.5px; border-radius: var(--pill); }
/* home rules as tidy tiles */
.rule-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.rule-tiles > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--mist); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.rule-tiles > div > svg { width: 22px; height: 22px; flex: none; color: var(--forest-2); }
.rule-tiles > div.ok > svg { color: var(--sage-deep); }
.rule-tiles small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--forest-3); }

/* admin availability */
.block-form { display: grid; grid-template-columns: 170px 170px 1fr auto; gap: 10px; align-items: end; margin-bottom: 14px; }
.avail-list { display: grid; gap: 8px; }
.avail { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--mist); }
.avail > svg { width: 20px; height: 20px; flex: none; }
.avail.blocked > svg { color: var(--oak-deep); }
.avail.booked > svg { color: var(--sage-deep); }
.avail span { display: grid; gap: 1px; flex: 1; min-width: 0; }
.avail small { color: var(--forest-3); font-size: 13px; }
.choice-card small { display: block; font-size: 12px; }
@media (max-width: 760px) { .block-form { grid-template-columns: 1fr 1fr; } .block-form .grow, .block-form .btn { grid-column: 1 / -1; } }

/* search tabs: Furnished homes / Holiday homes */
.search-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--mist-2); margin-top: 26px; position: relative; z-index: 6; }
.search-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 9px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 700; color: var(--forest-2); transition: background var(--fast), color var(--fast), box-shadow var(--fast); }
.search-tabs button svg { width: 17px; height: 17px; }
.search-tabs button.is-active { background: var(--paper); color: var(--forest); box-shadow: var(--shadow-1); }
.search-tabs + .search-bar { margin-top: 10px !important; }
.hero2-search .search-tabs { margin-top: 22px; }

/* holiday homes */
.no-fee { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: var(--pill); background: var(--sage-soft); color: var(--sage-deep); font-weight: 700; font-size: 14.5px; }
.no-fee svg { width: 18px; height: 18px; stroke-width: 2.2; }
.holiday-hero { padding-bottom: 10px; }
.holiday-hero .page-hero-grid { margin-bottom: 8px; }
.holiday-hero .frame { aspect-ratio: 16 / 10; }
.holiday-banner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; margin-bottom: 26px; }
.holiday-banner .frame { aspect-ratio: 4 / 3; transform: rotate(-1.4deg); }
.holiday-banner h2 { font-size: clamp(30px, 3.6vw, 44px); }
.holiday-banner p { color: var(--forest-2); margin: 8px 0 14px; max-width: 520px; font-size: 16.5px; }
@media (max-width: 760px) { .holiday-banner { grid-template-columns: 1fr; } .holiday-banner .frame { max-width: 320px; } }
@media (max-width: 640px) { .prop-main .popular-note { border-radius: 18px; } }

/* ── collections ── */
.nav-drop { display: inline-flex; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: var(--pill); border: 0; background: none; color: var(--forest-2); font-size: 15px; white-space: nowrap; transition: background var(--fast), color var(--fast); }
.nav-drop-btn svg { width: 15px; height: 15px; transition: transform var(--med) var(--ease); }
.nav-drop-btn:hover, .nav-drop-btn[aria-current="page"], .nav-drop.is-open .nav-drop-btn { background: var(--mist-2); color: var(--forest); }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.coll-menu { left: 0; right: auto; transform-origin: top left; width: 340px; padding: 8px; }
.coll-menu a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; transition: background var(--fast); }
.coll-menu a:hover { background: var(--mist); }
.cm-img { width: 54px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--mist-2); flex: none; }
.cm-img img { width: 100%; height: 100%; object-fit: cover; }
.coll-menu b { display: block; font-size: 15px; }
.coll-menu small { display: block; color: var(--forest-3); font-size: 12.5px; line-height: 1.35; }
.coll-menu .cm-all { justify-content: center; gap: 6px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; font-weight: 700; font-size: 14px; color: var(--oak-deep); padding: 12px; }
.coll-menu .cm-all svg { width: 16px; height: 16px; }

.coll-section { padding: clamp(56px, 8vw, 100px) 0 0; }
.coll-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.coll-tile { display: grid; gap: 4px; }
.coll-tile .frame { aspect-ratio: 4 / 5; padding: 7px; border-width: 4px; margin-bottom: 12px; transition: transform var(--slow) var(--ease), box-shadow var(--slow) var(--ease); }
.coll-tile .frame img { transition: transform 1.6s var(--ease); }
.coll-tile:nth-child(odd) .frame { transform: rotate(-.8deg); }
.coll-tile:nth-child(even) .frame { transform: rotate(.8deg); }
.coll-tile:hover .frame { transform: rotate(0) translateY(-4px); box-shadow: 0 30px 44px -24px rgba(38, 48, 42, .5); }
.coll-tile:hover .frame img { transform: scale(1.04); }
.coll-name { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 24px; line-height: 1.15; font-variation-settings: "SOFT" 100; }
.coll-name svg { width: 18px; height: 18px; color: var(--oak); transition: transform var(--med) var(--ease); }
.coll-tile:hover .coll-name svg { transform: translateX(5px); }
.coll-line { color: var(--forest-2); font-size: 15px; }
.coll-count { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-deep); margin-top: 4px; }

.coll-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; margin-top: 22px; }
.coll-chips::-webkit-scrollbar { display: none; }
.coll-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: var(--pill); background: var(--paper); box-shadow: var(--shadow-1); font-size: 14.5px; font-weight: 700; color: var(--forest-2); white-space: nowrap; transition: background var(--fast), color var(--fast); }
.coll-chips a:first-child { padding-left: 16px; }
.coll-chips img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.coll-chips a.is-active { background: var(--forest); color: var(--paper); }
.coll-hero .back-link { margin-bottom: 8px; }
.coll-hero .frame { aspect-ratio: 16 / 10; }

/* admin */
.coll-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.coll-check { position: relative; }
.coll-check input { position: absolute; opacity: 0; }
.coll-check span { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color var(--fast), background var(--fast); }
.coll-check img { width: 42px; height: 34px; border-radius: 8px; object-fit: cover; }
.coll-check b { font-size: 14.5px; }
.coll-check small { margin-left: auto; color: var(--forest-3); font-size: 12px; }
.coll-check input:checked + span { border-color: var(--sage); background: var(--sage-soft); }
.coll-check input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.coll-thumb { width: 64px; height: 50px; border-radius: 12px; overflow: hidden; background: var(--mist); flex: none; }
.coll-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1280px) {
  .site-header.menu-open .nav .nav-drop { display: block; }
  .site-header.menu-open .nav .nav-drop-btn { display: none; }
  .site-header.menu-open .nav .coll-menu { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; width: auto; padding: 0 0 6px; background: none; }
  .site-header.menu-open .nav .coll-menu .cm-all { display: none; }
}
.coll-menu a > span:last-child { flex: 1; min-width: 0; } .coll-menu small { white-space: normal; }
@media (max-width: 760px) {
  .coll-tiles { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .coll-tile .frame { aspect-ratio: 1 / 1; padding: 4px; border-width: 3px; margin-bottom: 8px; }
  .coll-name { font-size: 18px; }
  .coll-name svg { display: none; }
  .coll-line { font-size: 13.5px; line-height: 1.4; }
}

/* guest stepper: the date-box button styles must not reach the round +/- buttons */
.booking .dates-box .stepper button, .dates-box .stepper button {
  width: 34px; height: 34px; padding: 0; display: grid; place-items: center; text-align: center;
  border: 1px solid var(--line-2); border-radius: 50%; background: var(--paper);
}
.dates-box .stepper button:hover:not(:disabled) { background: var(--mist); border-color: var(--forest-3); }
.dates-box .stepper button svg { width: 16px; height: 16px; margin: 0; }

/* sign-in pages: a quiet corner of a home */
.auth-scene { position: relative; height: clamp(380px, 40vw, 500px); max-width: 480px; }
.auth-glow { position: absolute; width: 70%; aspect-ratio: 1; left: 18%; top: 4%; border-radius: 50%; background: radial-gradient(circle at 45% 40%, #F3E6D2, rgba(239, 230, 218, 0) 70%); animation: breathe 9s var(--ease) infinite; }
.auth-scene .auth-arch { position: absolute; left: 0; top: 0; width: 64%; height: 92%; max-width: none; aspect-ratio: auto; animation: hang 1.6s var(--ease) .1s both; transform-origin: 50% 0; }
.auth-scene .frame { position: absolute; padding: 7px; border-width: 4px; animation: hang 1.6s var(--ease) both; transform-origin: 50% 0; }
.auth-f1 { right: 2%; top: 8%; width: 36%; height: 32%; animation-delay: .35s !important; }
.auth-f2 { right: 8%; bottom: 10%; width: 40%; height: 34%; animation-delay: .55s !important; }
.auth-scene .sprig { position: absolute; left: 58%; bottom: 0; width: 56px; color: var(--sage); animation: sway 7s ease-in-out infinite; transform-origin: 50% 100%; }
.auth-note { position: absolute; left: 6%; bottom: -10px; max-width: 250px; padding: 14px 18px; border-radius: 6px 18px 18px 18px; background: #FFFEFA; box-shadow: var(--shadow-2); font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.4; color: var(--forest); font-variation-settings: "SOFT" 100; animation: float 8s ease-in-out infinite; }
.auth-note span { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-deep); }
.auth-side .auth-points { margin-top: 44px; }
.choice-card span { width: 100%; height: 100%; }

/* map (MapLibre) */
.map .maplibregl-canvas { outline: none; }
.map-pin { position: relative; width: 64px; height: 64px; }
.map .maplibregl-ctrl-group { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-1); }
.map .maplibregl-ctrl-attrib { font-size: 11px; }

/* popup tones: Shield matches its dark box; the booking review sits on soft sage */
.modal-night .modal-panel { background: var(--night); color: #DCE3DA; }
.modal-night .modal-panel h2, .modal-night .protect-list h3 { color: #F6F4EE; }
.modal-night .modal-panel .lead, .modal-night .protect-list p { color: #B9C2BA; }
.modal-night .modal-icon { background: rgba(203, 180, 150, .16); color: #CBB496; }
.modal-night .protect-list > div { border-top-color: rgba(255, 255, 255, .1); }
.modal-night .protect-list .ic { background: rgba(255, 255, 255, .06); color: #CBB496; }
.modal-night .modal-close { background: rgba(255, 255, 255, .08); color: #F6F4EE; }
.modal-night .modal-close:hover { background: rgba(255, 255, 255, .16); }

.modal-sage .modal-panel { background: var(--sage-soft); }
.modal-sage .modal-icon { background: var(--paper); color: var(--sage-deep); }
.modal-sage .modal-close { background: rgba(252, 252, 249, .7); }
.modal-sage .modal-close:hover { background: var(--paper); }
.modal-sage .req-summary { background: var(--paper); }
.modal-sage .breakdown { background: rgba(252, 252, 249, .65); border-radius: var(--r); padding: 14px 16px; }
.modal-sage .breakdown .total { border-top-color: var(--line-2); }
.modal-sage .textarea { background: var(--paper); border-color: #C9D6C6; }
.modal-sage .check input { accent-color: var(--sage-deep); }

/* bank accounts */
.bank-flag { display: inline-grid; place-items: center; min-width: 42px; height: 30px; padding: 0 8px; border-radius: 10px; background: var(--oak-soft); color: var(--oak-deep); font: 800 12px/1 var(--sans); letter-spacing: .08em; flex: none; }
.input.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .02em; }
.bank-picks { display: grid; gap: 8px; }
.bank-pick { position: relative; }
.bank-pick input { position: absolute; opacity: 0; }
.bank-pick > span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color var(--fast), background var(--fast); }
.bank-pick > span > span { display: grid; gap: 1px; min-width: 0; }
.bank-pick small { color: var(--forest-3); font-size: 13px; }
.bank-pick em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; color: var(--sage-deep); }
.bank-pick input:checked + span { border-color: var(--sage); background: var(--sage-soft); }
.bank-pick input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.bank-pick.is-off > span { opacity: .55; cursor: not-allowed; }
.deadline-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.deadline-picks .bank-pick { display: block; }
.deadline-picks .bank-pick > span { height: 100%; }
.bank-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 14px; color: var(--forest-2); }
.bank-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--oak); }

/* "Action needed" notices at the top of the account */
.todo-list { display: grid; gap: 10px; margin-bottom: 22px; }
.todo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1), inset 4px 0 0 var(--sage); transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease); }
.todo:hover { transform: translateY(-2px); box-shadow: var(--shadow-2), inset 4px 0 0 var(--sage); }
.todo.urgent { background: #FBF4EC; box-shadow: var(--shadow-1), inset 4px 0 0 var(--oak); }
.todo.urgent:hover { box-shadow: var(--shadow-2), inset 4px 0 0 var(--oak); }
.todo-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-deep); position: relative; }
.todo.urgent .todo-ic { background: var(--oak-soft); color: var(--oak-deep); }
.todo.urgent .todo-ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--oak); opacity: 0; animation: ripple 2.4s var(--ease) infinite; }
.todo-txt { display: grid; gap: 1px; min-width: 0; }
.todo-txt small { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--oak-deep); }
.todo:not(.urgent) .todo-txt small { color: var(--sage-deep); }
.todo-txt b { font-size: 16px; }
.todo-txt > span { color: var(--forest-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo-time { text-align: center; padding: 6px 12px; border-radius: var(--r); background: var(--oak-soft); color: var(--oak-deep); line-height: 1.1; }
.todo-time [data-cd] { display: block; font-family: var(--serif); font-size: 19px; font-variant-numeric: tabular-nums; }
.todo-time small { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.todo-time.is-urgent { background: #F6E3DD; color: var(--danger); }
@media (max-width: 760px) {
  .todo { grid-template-columns: auto 1fr; gap: 12px 10px; padding: 16px 16px 16px 20px; }
  .todo-ic { display: none; }
  .todo-txt { grid-column: 1 / -1; }
  .todo-txt > span { white-space: normal; font-size: 13.5px; }
  .todo-time { display: flex; align-items: baseline; gap: 6px; padding: 8px 12px; }
  .todo-time [data-cd] { display: inline; font-size: 17px; }
  .todo > .btn { justify-self: end; }
  .todo > .btn:only-of-type:first-child, .todo-txt + .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ─── Verified landlord line under the gallery + inspection scores ─── */
.trust-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; min-height: 40px; margin: 0 0 20px; font-size: 15px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); display: grid; place-items: center; }
.trust-badge svg { width: 16px; height: 16px; }
.trust-stars { border: 0; background: none; padding: 4px 0; font: inherit; color: var(--forest); cursor: pointer; gap: 6px; }
.trust-stars > svg { width: 17px; height: 17px; color: var(--oak); fill: currentColor; }
.trust-more { margin-left: 6px; color: var(--oak-deep); font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--oak) 45%, transparent); text-underline-offset: 4px; transition: text-decoration-color var(--med) var(--ease); }
.trust-stars:hover .trust-more { text-decoration-color: var(--oak); }
/* landlord line (main column) and popular pill (booking column) share the first row */
.prop-layout:has(.trust-line) { padding-top: 20px; }

.booking-col .popular-note.slim { display: flex; gap: 12px; margin: 0 0 12px; padding: 10px 16px; border-radius: var(--pill); font-size: 14px; line-height: 1.35; }
.booking-col .popular-note.slim .pulse { width: 10px; height: 10px; }

.score-total { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 8px; }
.score-total span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 30px; }
.score-total svg { width: 22px; height: 22px; color: var(--oak); fill: currentColor; }
.score-total small { color: var(--forest-2); font-size: 14px; }
.score-list { display: grid; gap: 4px; margin-top: 8px; }
.score-row { display: grid; grid-template-columns: 22px 110px minmax(0, 1fr) 34px; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--mist-2); font-size: 15px; }
.score-row > svg { width: 20px; height: 20px; color: var(--sage-deep); }
.score-row b { text-align: right; font-variant-numeric: tabular-nums; }
.score-bar { height: 6px; border-radius: 6px; background: var(--mist-2); overflow: hidden; }
.score-bar i { display: block; height: 100%; border-radius: inherit; background: var(--sage-deep); }
@media (max-width: 480px) { .score-row { grid-template-columns: 20px minmax(0, 1fr) 70px 30px; gap: 10px; } }

.score-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.score-inputs label { display: inline-flex; align-items: center; gap: 6px; }
.score-inputs label svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .score-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Wordmark: "Veristays" whose V is drawn with a leaf (partials/wordmark) */
.wordmark { display: inline-flex; align-items: baseline; }
.brand .wordmark svg, .wordmark svg { width: .64em; height: .70em; overflow: visible; flex: none; margin-right: .01em; }

/* Legal pages in other languages: "English version applies" note */
.legal-lang { display: flex; gap: 10px; align-items: flex-start; max-width: 640px; margin-top: 14px; padding: 12px 16px; border-radius: var(--r); background: var(--sage-soft); color: var(--forest-2); font-size: 14.5px; }
.legal-lang svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--sage-deep); }

/* Landlord rating: a separate small line under the home's inspection scores */
.score-landlord { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 14px; border-radius: var(--r); background: var(--mist); font-size: 14px; color: var(--forest-2); }
.score-landlord > svg { width: 18px; height: 18px; color: var(--sage-deep); flex: none; }
.score-landlord b { display: inline-flex; align-items: center; gap: 4px; color: var(--forest); }
.score-landlord b svg { width: 14px; height: 14px; color: var(--oak); fill: currentColor; }

/* Admin → Import: folders on the server */
.import-folders { display: grid; gap: 8px; }
.import-folder { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--mist); }
.import-folder > .icon { width: 20px; height: 20px; color: var(--oak-deep); }
.import-folder > .icon.ok { color: var(--sage-deep); }
.import-folder .if-main { display: grid; gap: 2px; min-width: 0; }
.import-folder .if-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.import-folder .if-main small { color: var(--forest-2); font-size: 13px; }
.import-folder .if-main small.new { color: var(--oak-deep); font-weight: 700; }
.import-folder .if-actions { display: flex; align-items: center; gap: 14px; }
.link.danger { color: var(--danger); }
@media (max-width: 640px) { .import-folder { grid-template-columns: auto minmax(0, 1fr); } .import-folder .if-actions { grid-column: 2; } }

/* Where box: "Popular destinations" heading and "See all homes" link */
.loc-list .loc-head { padding: 10px 14px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-3); }
.loc-list .loc-foot { padding: 8px 14px 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.loc-list .loc-foot a { font-size: 14px; font-weight: 700; color: var(--oak-deep); }
.loc-list .loc-foot a:hover { color: var(--forest); }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 10px; padding: 0 2px; }
.bulk-bar .danger-btn:not(:disabled) { color: var(--danger); }
.import-folder { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.import-folder > input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--sage-deep); }
@media (max-width: 640px) { .import-folder { grid-template-columns: auto auto minmax(0, 1fr); } .import-folder .if-actions { grid-column: 3; } }

/* Admin dashboard: live visitors */
.live-summary { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 15px; }
.live-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--sage-deep); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--sage); opacity: 0; animation: ripple 2.4s var(--ease) infinite; }
.live-table { min-width: 640px; }
.live-table td { vertical-align: top; }
.live-table .flag { font-size: 18px; margin-right: 4px; }
.live-table code { font-size: 13px; }

/* Admin → Homes: totals line, search + country + sort on one row */
.home-totals { margin-top: 6px; color: var(--forest-2); }
.home-totals b { color: var(--forest); }
.home-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.home-filters .home-search { position: relative; flex: 1 1 240px; display: flex; align-items: center; min-width: 0; }
.home-filters .home-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--forest-3); pointer-events: none; }
.home-filters .home-search .input { padding-left: 46px; width: 100%; }
.home-filters .select { flex: 0 1 200px; width: auto; min-width: 160px; border-radius: var(--pill); }

/* Admin: tabs inside Settings (General, Bank accounts, Promo codes, Guest reviews) */
.settings-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 6px; border-radius: var(--pill); background: var(--paper); box-shadow: var(--shadow-1); width: fit-content; max-width: 100%; }
.settings-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 700; color: var(--forest-2); transition: background var(--fast), color var(--fast); }
.settings-tabs a svg { width: 16px; height: 16px; }
.settings-tabs a:hover { background: var(--mist); color: var(--forest); }
.settings-tabs a[aria-current="page"] { background: var(--sage-soft); color: var(--sage-deep); }
@media (max-width: 640px) { .settings-tabs { border-radius: 18px; width: 100%; } .settings-tabs a { flex: 1 1 auto; justify-content: center; } }

/* Live chat button (loads Smartsupp on click) */
.chat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: var(--pill); background: var(--forest); color: #F6F4EE; font: inherit; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-3); cursor: pointer; transition: transform var(--med) var(--ease), opacity var(--med), background var(--fast); }
.chat-launch svg { width: 20px; height: 20px; }
.chat-launch:hover { transform: translateY(-2px); background: #26302A; }
.chat-launch.is-loading { opacity: .7; }
.chat-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }
@media (max-width: 760px) {
  .chat-launch { right: 14px; bottom: 14px; height: 48px; width: 48px; padding: 0; justify-content: center; }
  .chat-launch span { display: none; }
  .has-mobile-book .chat-launch { bottom: 92px; } /* above the "Check dates" bar on property pages */
}
.main-price-pick { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Homepage: collection chips under the search bar */
.stay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stay-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: var(--pill); background: var(--paper); box-shadow: var(--shadow-1); font-size: 14px; font-weight: 700; color: var(--forest); transition: transform var(--med) var(--ease), box-shadow var(--med); }
.stay-chips a:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.stay-chips img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.stay-chips a:not(:has(img)) { padding-left: 14px; }

/* Length-of-stay tabs above the search bar */
.stay-tabs { display: inline-flex; gap: 4px; margin: 0 0 12px; padding: 4px; border-radius: var(--pill); background: rgba(252, 252, 249, .75); box-shadow: var(--shadow-1); }
.stay-tabs label { position: relative; cursor: pointer; }
.stay-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.stay-tabs span { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 700; color: var(--forest-2); transition: background var(--fast), color var(--fast); }
.stay-tabs small { font-size: 12px; font-weight: 600; color: var(--forest-3); }
.stay-tabs label:hover span { color: var(--forest); }
.stay-tabs input:checked + span { background: var(--forest); color: #F6F4EE; }
.stay-tabs input:checked + span small { color: #CBD3C8; }
.stay-tabs input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.stay-tabs.compact { margin-bottom: 10px; }
@media (max-width: 480px) { .stay-tabs { display: flex; } .stay-tabs label { flex: 1; } .stay-tabs span { width: 100%; justify-content: center; padding: 8px 10px; font-size: 13.5px; } .stay-tabs small { display: none; } }
.size-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.size-pair span { position: relative; }
.size-pair small { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--forest-3); font-size: 13px; pointer-events: none; }
.size-pair .input { padding-right: 40px; }

/* Price breakdown: a note like "(applied when you sign up)" sits on its own line, so the amount always fits */
.breakdown .line > span:first-child { min-width: 0; }
.breakdown .line > span:first-child small { display: block; font-size: 12.5px; opacity: .85; }
.breakdown .line > span:last-child { white-space: nowrap; flex: none; }

/* Scores popup: verified landlord block at the bottom */
.score-landlord { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: var(--r); background: var(--sage-soft); color: var(--forest-2); font-size: 14px; }
.score-landlord .sl-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--sage-deep); display: grid; place-items: center; flex: none; }
.score-landlord .sl-badge svg { width: 18px; height: 18px; }
.score-landlord b { display: block; color: var(--forest); font-size: 15px; }
.score-landlord p { margin: 2px 0 6px; line-height: 1.5; }
.score-landlord small { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--forest-2); }
.score-landlord small svg { width: 13px; height: 13px; color: var(--oak); fill: currentColor; }

/* Homes page: page numbers under the grid, "Showing 13–24" next to the count */
.home-grid + .pager { margin-top: 44px; }
.filter-row .count small { margin-left: 10px; font-weight: 600; color: var(--forest-3); font-size: 13.5px; }

/* Homepage: popular destinations as photo tiles, then "Or browse by type" */
.places-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.places-head h2 { margin: 0; }
.place-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.place-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--mist-2); box-shadow: var(--shadow-1); }
.place-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.place-tile:hover img { transform: scale(1.04); }
.place-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 37, 33, .72), rgba(30, 37, 33, 0) 55%); }
.place-tile .pt-text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #F6F4EE; display: grid; gap: 2px; }
.place-tile b { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; line-height: 1.1; }
.place-tile small { font-size: 13.5px; opacity: .9; }
.browse-type { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 26px; }
.browse-type > span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-3); }
.browse-type .stay-chips { margin-top: 0; }
@media (max-width: 900px) { .place-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .place-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .place-tiles::-webkit-scrollbar { display: none; }
  .place-tile { scroll-snap-align: start; }
  .places-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Admin homes: bulk "assign landlord" bar and row checkboxes */
.bulk-landlord { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 14px 18px; margin-bottom: 12px; }
.bulk-landlord .bl-scope { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.bulk-landlord .bl-go { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.bulk-landlord .bl-go .select { min-width: 220px; width: auto; }
.home-row > input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--sage-deep); flex: none; }
.no-ll { color: var(--oak-deep); font-weight: 700; }
@media (max-width: 760px) { .bulk-landlord .bl-go { margin-left: 0; width: 100%; } .bulk-landlord .bl-go .select { flex: 1; min-width: 0; } }
.home-row:has(> input[type=checkbox]) { grid-template-columns: auto 96px minmax(0, 1fr) auto auto; padding-left: 16px; }
@media (max-width: 900px) { .home-row:has(> input[type=checkbox]) { grid-template-columns: auto 80px minmax(0, 1fr); } }

/* Admin home form: type of home as pill choices */
.type-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.type-pick label { position: relative; cursor: pointer; }
.type-pick input { position: absolute; opacity: 0; pointer-events: none; }
.type-pick span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--pill); background: var(--mist); font-size: 14px; font-weight: 700; color: var(--forest-2); transition: background var(--fast), color var(--fast); }
.type-pick span svg { width: 16px; height: 16px; }
.type-pick input:checked + span { background: var(--forest); color: #F6F4EE; }
.type-pick input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.fact.type { background: var(--sage-soft); color: var(--sage-deep); font-weight: 700; }
/* unread reply from the team while the chat is minimised */
.chat-launch.has-unread::after { content: ""; position: absolute; top: 6px; right: 8px; width: 11px; height: 11px; border-radius: 50%; background: #E0A458; box-shadow: 0 0 0 2px var(--forest); animation: ripple-dot 2s var(--ease) infinite; }
@keyframes ripple-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
/* a reply arrived while the chat was closed: "New reply" in oak, shown on phones too */
.chat-launch.has-unread { background: #8A5A1E; }
.chat-launch.has-unread:hover { background: #744A16; }
.chat-launch.has-unread::after { box-shadow: 0 0 0 2px #8A5A1E; }
@media (max-width: 760px) {
  .chat-launch.has-unread { width: auto; padding: 0 18px 0 14px; }
  .chat-launch.has-unread span { display: inline; }
}

/* ── phone fixes ─────────────────────────────── */
/* menu: Log in / Sign up at the top, scrolls inside itself, the button becomes an X */
.nav-auth { display: none; }
.menu-btn .icon + .icon, .menu-btn svg + svg { display: none; }
@media (max-width: 1280px) {
  .site-header.menu-open .nav { max-height: calc(100dvh - var(--header-h) - 16px); overflow-y: auto; overscroll-behavior: contain; }
  .site-header.menu-open .nav-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 4px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
  .site-header.menu-open .nav .nav-auth a { padding: 0 16px; justify-content: center; font-size: 15px; }
  .site-header.menu-open .menu-btn svg:first-child { display: none; }
  .site-header.menu-open .menu-btn svg + svg { display: block; }
  .site-header.menu-open .menu-btn { background: var(--forest); color: #F6F4EE; border-color: var(--forest); }
}
/* collection chips: never squeeze a chip narrower than its text */
.coll-chips a, .coll-chips img { flex: none; }
@media (max-width: 760px) {
  /* one home per row: a clear line between homes so a price never reads as the next home's */
  .home-grid { gap: 0; }
  .home-grid .home-card { padding: 22px 0 26px; border-bottom: 1px solid var(--line-2); }
  .home-grid .home-card:first-child { padding-top: 0; }
  .home-grid .home-card:last-child { border-bottom: 0; }
  .home-grid .home-card .save-btn { top: calc(22px + 12px); }
  .home-grid .home-card:first-child .save-btn { top: 12px; }
  /* stay tabs: three equal tabs on one line */
  .stay-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .stay-tabs span { justify-content: center; padding: 9px 6px; white-space: nowrap; font-size: 13.5px; }
  .stay-tabs small { display: none; }
}
@media (max-width: 900px) {
  /* calendars on phones and tablets: a full-width sheet from the bottom of the screen (was squashed into one row) */
  .search-pop.cal-pop, .booking-col .search-pop.cal-pop { position: fixed; top: auto; left: 12px; right: 12px; bottom: 12px; z-index: 140; max-height: calc(100dvh - 90px); overflow: auto; padding: 16px 14px 12px; }
  .search-pop.cal-pop .cal-grid { grid-template-columns: repeat(7, 1fr); }
}
.site-header .nav .nav-auth .btn:not(.btn-ghost), .site-header .nav .nav-auth .btn:not(.btn-ghost):hover { background: var(--forest); color: #F6F4EE; }
@media (max-width: 760px) {
  /* sort tabs: keep each label on one line; scroll sideways if the language makes them long */
  .seg-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg-tabs::-webkit-scrollbar { display: none; }
  .seg-tabs a { white-space: nowrap; flex: none; padding: 8px 13px; }
}

/* ── country pickers with flags (profile) ─────────────────── */
.country-select { position: relative; min-width: 0; }
.cs-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; cursor: pointer; }
.cs-btn > svg { width: 16px; height: 16px; flex: none; color: var(--forest-3); transition: transform var(--fast); }
.country-select.is-open .cs-btn { border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-soft); }
.country-select.is-open .cs-btn > svg { transform: rotate(180deg); }
.country-select.is-invalid .cs-btn { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(176, 97, 79, .1); }
.cs-value { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cs-value span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-value img, .cs-list img { width: 22px; height: 16px; flex: none; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(38, 48, 42, .1); background: var(--mist); }
.cs-placeholder { color: var(--forest-3); }
.cs-panel { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: max(100%, 300px); padding: 8px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-3); animation: rise 300ms var(--ease); }
.cs-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 44px; border-radius: var(--r); background: var(--mist); }
.cs-search svg { width: 17px; height: 17px; color: var(--forest-3); flex: none; }
.cs-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--forest); outline: 0; }
.cs-list { list-style: none; margin: 6px 0 0; padding: 0; max-height: 280px; overflow-y: auto; overscroll-behavior: contain; }
.cs-list li { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.cs-list li[hidden] { display: none; }
.cs-list li.is-active { background: var(--mist-2); }
.cs-list li[aria-selected="true"] { font-weight: 700; }
.cs-name { flex: 1; min-width: 0; }
.cs-dial { color: var(--forest-3); font-variant-numeric: tabular-nums; font-size: 14px; }
.cs-empty { margin: 10px; color: var(--forest-3); font-size: 14px; }
.phone-pair { display: grid; grid-template-columns: 128px 1fr; gap: 8px; }
.field .req { color: var(--oak, #B5793A); }
.profile-needed { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 18px; border-radius: var(--r-lg); background: #F4E8D6; color: var(--forest); }
.profile-needed .ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #E0A458; color: #fff; }
.profile-needed .ic svg { width: 20px; height: 20px; }
.profile-needed b { display: block; font-size: 16px; margin-bottom: 2px; }
.profile-needed p { margin: 0; font-size: 14.5px; color: var(--forest-2); }
@media (max-width: 760px) {
  .phone-pair { grid-template-columns: 112px 1fr; }
  .cs-panel { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 8px); bottom: auto; width: auto; z-index: 150; } /* near the top: the phone keyboard covers the bottom */
  .cs-list { max-height: 40dvh; }
}

/* ── admin: disable / delete a guest account ─────────────── */
.account-danger .btn-block { margin-top: 12px; }
.danger-link { display: block; margin: 14px auto 0; color: var(--danger); font-size: 13.5px; font-weight: 700; }
.choice-line { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; }
.choice-line:has(input:checked) { border-color: var(--sage); background: var(--sage-soft); }
.choice-line input { margin-top: 4px; accent-color: var(--forest); }
.choice-line b { display: block; font-size: 15px; }
.choice-line small { display: block; color: var(--forest-3); font-size: 13px; margin-top: 2px; }
.btn.btn-danger { --bg: var(--danger); background: var(--danger); color: #fff; }
.status-chip.danger { background: rgba(176, 97, 79, .12); color: var(--danger); }
/* fields side by side: keep each label + box at the top, so a hint under one box doesn't push its neighbour down */
.field { align-content: start; }
/* phone prefix: wide enough for any prefix (+1264, +1809…) */
.phone-pair { grid-template-columns: 150px minmax(0, 1fr); }
.phone-pair .cs-btn { padding: 0 12px; gap: 8px; }
.phone-pair .cs-value { gap: 8px; }
.phone-pair .cs-value span { overflow: visible; text-overflow: clip; }
@media (max-width: 760px) { .phone-pair { grid-template-columns: 136px minmax(0, 1fr); } }
.profile-needed p b { display: inline; margin: 0; font-size: inherit; color: var(--forest); }


/* ── Admin bookings as cards ─────────────────────────────── */
.bk-panel { padding: clamp(14px, 2vw, 22px); }
.bk-list { display: grid; gap: 10px; }
.bk-card {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 18px;
  padding: 14px 14px 14px 16px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line);
  transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast) var(--ease);
}
.bk-list > .bk-card:only-child, .bk-card:hover { border-color: var(--line-2); }
.bk-card:hover { box-shadow: var(--shadow-1); }
.bk-card.is-late { box-shadow: inset 4px 0 0 var(--danger); }
.bk-card.is-archived { background: var(--mist); }
.bk-card:not(:has(.bk-check)) { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.bk-check { position: relative; display: grid; place-items: center; width: 22px; height: 22px; cursor: pointer; }
.bk-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.bk-check span { width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--paper); transition: background var(--fast), border-color var(--fast); }
.bk-check input:checked + span { background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--sage); }
.bk-check input:indeterminate + span { background: var(--sage) linear-gradient(#fff, #fff) center / 10px 2px no-repeat; border-color: var(--sage); }
.bk-check input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.bk-date {
  display: grid; justify-items: center; align-content: center; width: 78px; padding: 8px 6px 9px; border-radius: 16px;
  background: var(--oak-soft); color: var(--oak-deep); text-align: center; line-height: 1.1;
}
.bk-date .mo { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bk-date .mo em { font-style: normal; font-weight: 700; opacity: .7; letter-spacing: .02em; }
.bk-date b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--forest); margin: 2px 0; }
.bk-date small { font-size: 11.5px; font-weight: 700; color: var(--forest-3); }
.bk-main { display: grid; gap: 3px; min-width: 0; color: inherit; }
.bk-guest { font-size: 16px; }
.bk-home { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--forest-2); }
.bk-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; color: var(--forest-3); }
.bk-meta > span { white-space: nowrap; }
.bk-meta b { color: var(--forest-2); font-weight: 700; }
.bk-side { display: grid; justify-items: end; gap: 6px; text-align: right; }
.bk-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.bk-amount { font-family: var(--serif); font-weight: 400; font-size: 19px; white-space: nowrap; }
.bk-due { font-size: 12.5px; font-weight: 700; color: var(--oak-deep); white-space: nowrap; }
.bk-due.late { color: var(--danger); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid transparent; background: transparent; display: grid; place-items: center; cursor: pointer; transition: background var(--fast), border-color var(--fast); }
.icon-btn:hover, .dropdown.is-open > .icon-btn { background: var(--mist); border-color: var(--line); }
.dots { display: flex; gap: 3px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--forest-2); }
.bk-menu-panel { min-width: 220px; padding: 6px; z-index: 30; }
.bk-menu-panel form { margin: 0; }
.bk-menu-panel a, .bk-menu-panel button, .bk-menu-off {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none;
  font: inherit; font-size: 14.5px; color: var(--forest); text-align: left; cursor: pointer;
}
.bk-menu-panel a:hover, .bk-menu-panel button:hover { background: var(--mist); }
.bk-menu-panel svg { width: 18px; height: 18px; color: var(--forest-3); }
.bk-menu-panel .danger, .bk-menu-panel .danger svg { color: var(--danger); }
.bk-menu-off { color: var(--forest-3); cursor: default; }
.bk-menu-off small { margin-left: auto; font-size: 11.5px; }
.btn.danger { color: var(--danger); }
.modal-icon.danger { background: #F5E3DD; color: var(--danger); }
.bk-bulk { display: flex; align-items: center; gap: 14px; padding: 4px 16px 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.bk-bulk-label { font-size: 14px; color: var(--forest-3); }
.bk-bulk-actions { display: flex; gap: 8px; margin-left: auto; }
.bk-bulk:not(.has-picks) [data-bk-need] { opacity: .45; pointer-events: none; }
.bk-bulk.has-picks { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-2); border-bottom-color: transparent; padding-top: 12px; }

@media (max-width: 760px) {
  .bk-card, .bk-card:not(:has(.bk-check)) { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 14px; padding: 14px; }
  .bk-card .bk-check { position: absolute; margin: -6px 0 0 -6px; }
  .bk-card { position: relative; }
  .bk-card:has(.bk-check) .bk-date { margin-left: 18px; }
  .bk-date { width: 64px; grid-row: span 2; align-self: start; }
  .bk-date b { font-size: 26px; }
  .bk-side { grid-column: 2 / 4; justify-items: start; text-align: left; grid-template-columns: auto auto; align-items: center; justify-content: space-between; }
  .bk-chips { justify-content: flex-start; }
  .bk-menu { grid-column: 3; grid-row: 1; align-self: start; }
  .bk-home { white-space: normal; }
  .bk-bulk { flex-wrap: wrap; padding: 4px 8px 12px; }
  .bk-bulk-actions { margin-left: 0; width: 100%; }
  .bk-bulk-actions .btn { flex: 1; }
}


/* ── live pop-ups (new notifications without reloading) ──── */
.bell-count[hidden], .count-pill[hidden] { display: none; }
.bell-tools { display: flex; align-items: center; gap: 14px; }
.sound-toggle.is-off { color: var(--forest-3); text-decoration: line-through; }
.live-pops { position: fixed; right: 20px; bottom: 20px; z-index: 450; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.live-pop {
  position: relative; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-3); padding: 4px 34px 4px 4px;
  border: 1px solid var(--line); opacity: 0; transform: translateY(14px) scale(.98); pointer-events: auto;
  transition: opacity var(--med) var(--ease), transform var(--med) var(--ease);
}
.live-pop.is-on { opacity: 1; transform: none; }
.live-pop .notif { padding: 10px; }
.live-pop .notif.unread::after { display: none; }
.live-pop-x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: transparent; font-size: 20px; line-height: 1; color: var(--forest-3); cursor: pointer; }
.live-pop-x:hover { background: var(--mist); color: var(--forest); }
.bk-card.is-picked { border-color: var(--sage); background: #F6F9F4; }
@media (max-width: 600px) { .live-pops { right: 16px; left: 16px; bottom: 16px; width: auto; } }
.bk-card { position: relative; }
.bk-card:has(.dropdown.is-open) { z-index: 6; }
@media (max-width: 760px) {
  .bk-card .bk-check { top: 18px; left: 12px; margin: 0; }
  .bk-card:has(.bk-check) .bk-date { margin-left: 24px; }
  .bk-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; min-width: 0; }
  .bk-side .bk-due { width: 100%; }
}
@media (max-width: 760px) { .bk-meta > span { white-space: normal; } }
@media (max-width: 760px) {
  .bk-card, .bk-card:not(:has(.bk-check)) { grid-template-columns: auto minmax(0, 1fr); }
  .bk-card .bk-check { top: 8px; left: 8px; z-index: 2; }
  .bk-card .bk-check span { background: var(--paper); box-shadow: 0 1px 4px rgba(47, 58, 51, .15); }
  .bk-card:has(.bk-check) .bk-date { margin-left: 0; }
  .bk-date { width: 60px; }
  .bk-menu { position: absolute; top: 8px; right: 6px; }
  .bk-guest { padding-right: 34px; }
  .bk-side { grid-column: 2 / -1; }
}


/* ── live visitors: people vs bots ───────────────────────── */
.live-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; }
.live-summary > span { display: inline-flex; align-items: center; gap: 6px; }
.bot-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--forest-3); }
.live-bots-count { color: var(--forest-2); }
.status-chip.sm { padding: 3px 9px; font-size: 11.5px; margin-top: 4px; }
.live-bots { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.live-bots > summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--forest-2); list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); background: var(--mist); }
.live-bots > summary::-webkit-details-marker { display: none; }
.live-bots > summary::before { content: "▸"; transition: transform var(--fast); }
.live-bots[open] > summary::before { transform: rotate(90deg); }
.live-bots .table-wrap { margin-top: 12px; }
.bot-path { word-break: break-all; }

/* ==========================================================================
   Team area (admin only): darker, higher contrast, one strong colour per booking status.
   Everything is scoped to body.team-area, so guests and the public site never see it.
   ========================================================================== */
body.team-area {
  --mist: #121714;
  --mist-2: #1B221E;
  --paper: #1A201C;
  --forest: #EEF1EC;
  --forest-2: #C4CCC5;
  --forest-3: #909C94;
  --line: #2B342F;
  --line-2: #3B4741;
  --oak: #E0A964;
  --oak-deep: #F2C590;
  --oak-soft: #3A2C1B;
  --sage: #74C08A;
  --sage-deep: #A5E2B3;
  --sage-soft: #1C3324;
  --night: #0C100E;
  --danger: #F07D68;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 10px -2px rgba(0, 0, 0, .35);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px -18px rgba(0, 0, 0, .7);
  --shadow-3: 0 4px 14px rgba(0, 0, 0, .4), 0 40px 80px -30px rgba(0, 0, 0, .8);

  /* booking statuses: far apart on the colour wheel */
  --st-pending: #F2C14E;      /* yellow: new request, needs a decision */
  --st-awaiting: #F08C3C;     /* orange: waiting for the guest to pay */
  --st-review: #5AA9F0;       /* blue: guest says paid, check it */
  --st-confirmed: #4CC774;    /* green */
  --st-declined: #8E9A93;     /* grey */
  --st-expired: #EF5D5D;      /* red */
  --st-cancelled: #B08CF0;    /* violet */
  color-scheme: dark;
  background: var(--mist);
}
body.team-area ::selection { background: #2F5A3C; color: #fff; }
body.team-area .site-header.is-scrolled { background: rgba(18, 23, 20, .86); box-shadow: 0 1px 0 var(--line); }
body.team-area .site-footer { background: #0F1311; }
body.team-area .modal-backdrop { background: rgba(0, 0, 0, .6); }
body.team-area .input, body.team-area .select, body.team-area .textarea { background: #121714; border-color: var(--line-2); }
body.team-area .input:disabled { background: #161C18; }
body.team-area .input::placeholder, body.team-area .textarea::placeholder { color: #738078; }
body.team-area .link { color: var(--oak); }
body.team-area .link:hover { color: #fff; }
body.team-area .eyebrow { color: var(--sage); }
body.team-area .btn { --fg: #0F1411; }
body.team-area .btn-soft { --bg: #232B26; --fg: var(--forest); box-shadow: inset 0 0 0 1px var(--line-2); }
body.team-area .btn-soft:hover { --bg: #2A332D; }
body.team-area .btn-ghost { --fg: var(--forest); }
body.team-area .btn.btn-danger { background: #D4523F; color: #fff; }
body.team-area .btn.danger, body.team-area .bk-menu-panel .danger, body.team-area .bk-menu-panel .danger svg { color: #FF8F7A; }
body.team-area .site-header .nav .nav-auth .btn:not(.btn-ghost) { background: var(--forest); color: #0F1411; }
body.team-area .bubble.team.theirs .b-body { background: #1F2A23; }
body.team-area .bubble.mine .b-body { background: #2F5A3C; color: #F3F4EF; }
body.team-area .bk-card.is-picked { background: #1C2A21; }
body.team-area .modal-icon.danger { background: #3D1F1A; color: #FF8F7A; }
body.team-area .sticky-save { background: rgba(26, 32, 28, .92); }
body.team-area .switch .track::after { background: #EEF1EC; }

/* panels and menu: a touch more separation from the page */
body.team-area .panel, body.team-area .account-nav, body.team-area .status-card, body.team-area .bk-card, body.team-area .dropdown-panel, body.team-area .modal-panel { border: 1px solid var(--line); }
body.team-area .panel-head h2 { color: #fff; }
body.team-area .account-head h1 { color: #fff; }
body.team-area .account-nav nav a[aria-current="page"] { background: #23402C; color: #C7F2D1; box-shadow: inset 3px 0 0 var(--sage); }
body.team-area .account-nav nav a .ext { margin-left: auto; color: var(--forest-3); }
body.team-area .table td { background: #151B17; }
body.team-area .table tbody tr:hover td { background: #1E2621; }
body.team-area .empty-inline { background: #151B17; }

/* counters that mean "something is waiting for you" */
body.team-area .count-pill { background: #F2C14E; color: #1B1505; box-shadow: 0 0 0 3px rgba(242, 193, 78, .18); }
body.team-area .bell-count { background: #F2C14E; color: #1B1505; box-shadow: 0 0 0 2px var(--mist); }
body.team-area .nudge { background: #3A2E12; color: #FFD98A; box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .45); font-weight: 700; }
body.team-area .notice.warn { background: #3A2C14; color: #FFD38A; box-shadow: inset 4px 0 0 #F2C14E; }
body.team-area .notice.ok { background: #183322; color: #A9EDBB; box-shadow: inset 4px 0 0 var(--st-confirmed); }
body.team-area .notice.soft { background: #1A211D; }

/* generic chips (guests, homes, contact form...) */
body.team-area .status-chip { background: #2A332D; color: #D3DAD4; }
body.team-area .status-chip.ok { background: rgba(76, 199, 116, .16); color: #8BE6A6; }
body.team-area .status-chip.oak { background: rgba(240, 140, 60, .16); color: #FFB77A; }
body.team-area .status-chip.wait { background: rgba(242, 193, 78, .16); color: #FFD772; }
body.team-area .status-chip.late, body.team-area .status-chip.danger { background: rgba(239, 93, 93, .18); color: #FF9A9A; }
body.team-area .status-chip.muted { background: #252C27; color: #9AA59D; }

/* booking status chips: each its own colour, with a dot */
body.team-area .status-chip[class*="st-"] { font-weight: 800; }
body.team-area .st-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
body.team-area .status-chip.st-pending { background: rgba(242, 193, 78, .16); color: #FFD772; }
body.team-area .status-chip.st-awaiting_payment { background: rgba(240, 140, 60, .17); color: #FFB06E; }
body.team-area .status-chip.st-payment_review { background: rgba(90, 169, 240, .17); color: #8CC8FF; }
body.team-area .status-chip.st-confirmed { background: rgba(76, 199, 116, .18); color: #7EEA9F; }
body.team-area .status-chip.st-declined { background: rgba(142, 154, 147, .18); color: #C3CCC6; }
body.team-area .status-chip.st-expired { background: rgba(239, 93, 93, .18); color: #FF9393; }
body.team-area .status-chip.st-cancelled { background: rgba(176, 140, 240, .18); color: #CDB3FF; }

/* booking cards: a coloured edge for every status; confirmed and expired tint the whole card */
body.team-area .bk-card { --st: var(--line-2); box-shadow: inset 5px 0 0 var(--st); }
body.team-area .bk-card.st-pending { --st: var(--st-pending); }
body.team-area .bk-card.st-awaiting_payment { --st: var(--st-awaiting); }
body.team-area .bk-card.st-payment_review { --st: var(--st-review); }
body.team-area .bk-card.st-declined { --st: var(--st-declined); }
body.team-area .bk-card.st-cancelled { --st: var(--st-cancelled); background: rgba(176, 140, 240, .07); }
body.team-area .bk-card.st-confirmed { --st: var(--st-confirmed); background: linear-gradient(90deg, rgba(76, 199, 116, .2), rgba(76, 199, 116, .08) 60%); border-color: rgba(76, 199, 116, .45); }
body.team-area .bk-card.st-expired { --st: var(--st-expired); background: linear-gradient(90deg, rgba(239, 93, 93, .18), rgba(239, 93, 93, .06) 60%); border-color: rgba(239, 93, 93, .4); }
body.team-area .bk-card.st-pending, body.team-area .bk-card.st-payment_review { border-color: color-mix(in srgb, var(--st) 45%, transparent); }
body.team-area .bk-card:hover { box-shadow: inset 5px 0 0 var(--st), var(--shadow-2); }
body.team-area .bk-card.is-late { --st: var(--st-expired); }
body.team-area .bk-card.is-archived { opacity: .75; }
body.team-area .bk-date { background: #232B26; color: var(--forest-2); }
body.team-area .bk-date b { color: #fff; }
body.team-area .bk-card.st-confirmed .bk-date { background: rgba(76, 199, 116, .22); color: #9FEDB6; }
body.team-area .bk-card.st-expired .bk-date { background: rgba(239, 93, 93, .2); color: #FFA3A3; }
body.team-area .bk-card[class*="st-"] .bk-date small { color: inherit; opacity: .85; }
body.team-area .bk-guest { color: #fff; }
body.team-area .bk-amount { color: #fff; }
body.team-area .bk-due { color: #FFB06E; }
body.team-area .bk-due.late { color: #FF8F8F; }
body.team-area .dots i { background: var(--forest); }

/* booking page: the status colour runs along the top of the page */
body.team-area .team-booking { position: relative; }
body.team-area .team-booking::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 4px; border-radius: 4px; background: var(--st, var(--line-2)); }
body.team-area .team-booking.st-pending { --st: var(--st-pending); }
body.team-area .team-booking.st-awaiting_payment { --st: var(--st-awaiting); }
body.team-area .team-booking.st-payment_review { --st: var(--st-review); }
body.team-area .team-booking.st-confirmed { --st: var(--st-confirmed); }
body.team-area .team-booking.st-declined { --st: var(--st-declined); }
body.team-area .team-booking.st-expired { --st: var(--st-expired); }
body.team-area .team-booking.st-cancelled { --st: var(--st-cancelled); }

/* filter chips: status colour on the count, full colour when selected */
body.team-area .filter-chips a { background: #1E2521; border: 1px solid var(--line); }
body.team-area .filter-chips a.is-active { background: var(--forest); color: #0F1411; }
body.team-area .filter-chips a[class*="st-"] span { background: rgba(255, 255, 255, .08); color: var(--forest); }
body.team-area .filter-chips a.st-pending span { background: rgba(242, 193, 78, .2); color: #FFD772; }
body.team-area .filter-chips a.st-awaiting_payment span { background: rgba(240, 140, 60, .2); color: #FFB06E; }
body.team-area .filter-chips a.st-payment_review span { background: rgba(90, 169, 240, .2); color: #8CC8FF; }
body.team-area .filter-chips a.st-confirmed span { background: rgba(76, 199, 116, .2); color: #7EEA9F; }
body.team-area .filter-chips a.st-expired span { background: rgba(239, 93, 93, .2); color: #FF9393; }
body.team-area .filter-chips a.st-cancelled span { background: rgba(176, 140, 240, .2); color: #CDB3FF; }
body.team-area .filter-chips a.st-pending.is-active { background: var(--st-pending); }
body.team-area .filter-chips a.st-awaiting_payment.is-active { background: var(--st-awaiting); }
body.team-area .filter-chips a.st-payment_review.is-active { background: var(--st-review); }
body.team-area .filter-chips a.st-confirmed.is-active { background: var(--st-confirmed); }
body.team-area .filter-chips a.st-declined.is-active { background: var(--st-declined); }
body.team-area .filter-chips a.st-expired.is-active { background: var(--st-expired); }
body.team-area .filter-chips a.st-cancelled.is-active { background: var(--st-cancelled); }
body.team-area .filter-chips a.is-active span { background: rgba(0, 0, 0, .2); color: #0F1411; }

/* dashboard tiles in their status colour; the ones waiting on you light up */
body.team-area .status-card { --st: var(--forest-3); }
body.team-area .status-card.st-pending { --st: var(--st-pending); }
body.team-area .status-card.st-payment_review { --st: var(--st-review); }
body.team-area .status-card.st-awaiting_payment { --st: var(--st-awaiting); }
body.team-area .status-card.st-confirmed { --st: var(--st-confirmed); }
body.team-area .status-card .ic { background: color-mix(in srgb, var(--st) 18%, transparent); color: var(--st); }
body.team-area .status-card .big { color: #fff; font-size: 30px; }
body.team-area .status-card.is-hot { border-color: var(--st); box-shadow: 0 0 0 1px var(--st), 0 10px 30px -12px color-mix(in srgb, var(--st) 60%, transparent); background: color-mix(in srgb, var(--st) 10%, var(--paper)); }
body.team-area .status-card.is-hot .big { color: var(--st); }
body.team-area .status-card.is-hot small { color: var(--forest); }

/* live visitors and pop-ups */
body.team-area .live-pop { border-color: var(--line-2); }
body.team-area .live-bots > summary { background: #222A25; }
body.team-area code { color: var(--forest-2); }

.home-filters .select { flex-basis: 175px; min-width: 150px; }

/* ── admin: Telegram settings ────────────────────────────── */
.tg-status { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tg-status > div { display: grid; gap: 2px; flex: 1 1 260px; }
.tg-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--forest-3); flex: none; }
.tg-status.is-on .tg-dot { background: var(--sage); box-shadow: 0 0 0 5px color-mix(in srgb, var(--sage) 25%, transparent); }
.tg-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--forest-2); }
.tg-steps b { color: var(--forest); }
.tg-chat-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tg-chat-row .input { flex: 1 1 260px; }
.tg-found { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tg-found small { color: var(--forest-3); font-weight: 600; }
.tg-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 20px; }
.tg-forget { display: inline-flex; margin-left: 10px; font-size: 13px; }
.tg-forget input { width: 16px; height: 16px; }

/* admin: transfer currency on the payment form */
.transfer-cur { display: grid; gap: 4px; margin-top: 14px; }
.transfer-cur .field-row { margin: 0; }
.booking-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
@media (max-width: 760px) { .booking-head-side { flex-direction: row; flex-wrap: wrap; align-items: center; } }

/* contact form: "tap the key" picture check */
.puzzle { margin: 0; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 18px; display: grid; gap: 12px; }
.puzzle legend { padding: 0 6px; font-weight: 700; color: var(--forest); }
.puzzle legend b { color: var(--sage-deep); }
.puzzle.has-error { border-color: #C9604B; }
.puzzle-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 68px)); gap: 10px; }
.puzzle-tile { position: relative; }
.puzzle-tile input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.puzzle-tile span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper, #fff); color: var(--forest-2); transition: border-color var(--fast), background var(--fast), transform var(--fast); }
.puzzle-tile span svg { width: 28px; height: 28px; }
.puzzle-tile:hover span { border-color: var(--sage); }
.puzzle-tile input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.puzzle-tile input:checked + span { border-color: var(--sage-deep); background: var(--sage-soft); color: var(--sage-deep); transform: scale(1.04); }
@media (max-width: 520px) { .puzzle-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; } .puzzle-tile span svg { width: 22px; height: 22px; } .puzzle { padding: 14px; } }
.breakdown .line.saving { color: var(--sage-deep); font-size: 13px; font-weight: 700; }
/* booking box: monthly stays of 2+ months reserve with the first month + deposit */
.plan-due { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--sage-soft); }
.plan-due .line { margin: 0; }
.plan-due .line small { display: block; font-weight: 600; color: var(--forest-3); font-size: 12px; }
.plan-then { margin: 6px 0 0; font-size: 13px; color: var(--forest-2); }
.plan-ask { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--sage-deep); }

/* payment plans: schedule rows (admin + guest), plan picker, next payment */
.schedule { display: grid; gap: 6px; }
.sch-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto 38px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); }
.sch-row.is-next { border-color: var(--sage); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 18%, transparent); }
.sch-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--mist); color: var(--forest-2); }
.sch-when { display: grid; gap: 1px; min-width: 0; }
.sch-when small, .sch-amt small { color: var(--forest-3); font-size: 12.5px; }
.sch-amt { display: grid; justify-items: end; gap: 1px; white-space: nowrap; }
.sch-amt small { color: var(--sage-deep); font-weight: 700; }
.sch-doc { display: flex; justify-content: flex-end; }
.sch-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--mist); }
.sch-next > div:first-child { display: grid; gap: 3px; }
.plan-row { display: flex; gap: 10px; flex-wrap: wrap; }
.plan-row .select { flex: 1 1 200px; }
.plan-pct { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.plan-pct .input { width: 90px; }
.pay-now { display: grid; gap: 12px; padding: 16px; margin-bottom: 14px; border-radius: 18px; border: 1.5px solid var(--sage); }
.pay-now h3 { margin: 0; }
@media (max-width: 640px) {
  .sch-row { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .sch-row .status-chip { grid-column: 2; justify-self: start; }
  .sch-row .sch-doc { grid-column: 3; grid-row: 2; }
}
