/* ClubRents — sibling of ClubProperty: night navy, brass gold, Marcellus headings.
   Signature element: the night strip (one tile per night, tinted by price). */

@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/marcellus-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/marcellus-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(../fonts/source-sans-3-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(../fonts/source-sans-3-vietnamese-wght-normal.woff2) format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(../fonts/source-sans-3-greek-wght-normal.woff2) format("woff2");
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(../fonts/source-sans-3-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url(../fonts/source-sans-3-latin-wght-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+2000-206F; }

:root {
  --night: #1b1a33;
  --deep: #12112a;
  --gold: #b8963e;
  --gold-2: #d9bd6a;
  --gold-ink: #8a6d0f;
  --gold-wash: #f6efdc;
  --paper: #ffffff;
  --mist: #f6f5fa;
  --muted: #6b6a80;
  --line: #e6e4ee;
  --line-2: #d6d3e2;
  --ok: #2f6f57;
  --ok-wash: #e5f2ec;
  --wait: #8a5d09;
  --wait-wash: #fbf0d9;
  --off: #8b2b2b;
  --off-wash: #f8e7e7;
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --r-photo: 12px;
  --r-panel: 16px;
  --r-input: 10px;
  --shadow-panel: 0 18px 50px -24px rgba(27, 26, 51, .35);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--night);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  font-feature-settings: "kern"; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
small, .small { font-size: .88rem; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.serif { font-family: var(--serif); }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--night); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }
.wrap--mid { max-width: 980px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.grow { flex: 1 1 auto; }
.icon { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.icon--sm { width: 16px; height: 16px; vertical-align: -3px; }
.icon--lg { width: 26px; height: 26px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); font-family: var(--serif); font-size: 1.5rem; letter-spacing: .01em; white-space: nowrap; }
.brand:hover { color: var(--night); }
.brand__mark { width: 26px; height: 30px; flex: none; }
.brand__by { font-family: var(--sans); font-size: .72rem; color: var(--muted); letter-spacing: .02em; display: block; line-height: 1; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn), .nav button.linklike { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 550; font-size: .97rem; color: var(--night); }
.nav a:not(.btn):hover, .nav button.linklike:hover { background: var(--mist); color: var(--night); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 6px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--night); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: var(--gold-2); display: inline-grid; place-items: center; font-size: .82rem; font-weight: 700; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 56px; height: 56px; font-size: 1.1rem; }
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border: 1px solid var(--line); border-radius: 999px; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu[open] > summary { border-color: var(--line-2); }
.user-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-panel); padding: 8px; }
.user-menu__panel a, .user-menu__panel button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 8px; text-decoration: none; background: none; border: 0; font: inherit; color: var(--night); cursor: pointer; text-align: left; }
.user-menu__panel a:hover, .user-menu__panel button:hover { background: var(--mist); color: var(--night); }
.user-menu__panel hr { margin: 6px 0; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; gap: 2px; }
  .nav.is-open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .user-menu > summary { justify-content: flex-start; border: 0; padding: 8px 12px; }
  .user-menu__panel { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent; font: 650 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, box-shadow .15s, color .15s; white-space: nowrap; }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(184,150,62,.32); }
.btn--gold:hover { background: #a7852f; color: #fff; }
.btn--night { background: var(--night); color: #fff; }
.btn--night:hover { background: #2a2950; color: #fff; }
.btn--line { background: #fff; color: var(--night); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--night); color: var(--night); }
.btn--ghost { background: transparent; color: var(--night); padding-left: 12px; padding-right: 12px; }
.btn--ghost:hover { background: var(--mist); color: var(--night); }
.btn--danger { background: #fff; color: var(--off); border-color: #e3c4c4; }
.btn--danger:hover { background: var(--off-wash); color: var(--off); }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; box-shadow: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; cursor: pointer; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; align-content: start; }
.field > label, .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .86rem; color: var(--muted); margin: 0; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--night); background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--r-input); padding: 11px 13px; min-height: 46px;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--off); }
.field-error { color: var(--off); font-size: .88rem; margin: 0; }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: var(--r-input) 0 0 var(--r-input); }
.input-group__addon { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-left: 0; border-radius: 0 var(--r-input) var(--r-input) 0; background: var(--mist); color: var(--muted); font-size: .92rem; }
.input-group__addon--pre { border-left: 1px solid var(--line-2); border-right: 0; border-radius: var(--r-input) 0 0 var(--r-input); }
.input-group__addon--pre + .input { border-radius: 0 var(--r-input) var(--r-input) 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--night); flex: none; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.segmented { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; gap: 4px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; color: var(--muted); }
.segmented input:checked + label { background: #fff; color: var(--night); box-shadow: 0 1px 3px rgba(27,26,51,.12); }
.segmented input:focus-visible + label { outline: 2px solid var(--gold); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

/* ---------- Notices ---------- */
.flash { border-radius: 12px; padding: 13px 16px; margin: 18px 0; display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.flash--ok { background: var(--ok-wash); color: #1d4a39; }
.flash--error { background: var(--off-wash); color: #6e1f1f; }
.flash--info { background: var(--mist); color: var(--night); }
.flash--warn { background: var(--wait-wash); color: #5e3f05; }
.flash .icon { margin-top: 2px; }
.flash p:last-child { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 650; line-height: 1.5; background: var(--mist); color: var(--night); white-space: nowrap; }
.chip--ok { background: var(--ok-wash); color: var(--ok); }
.chip--wait { background: var(--wait-wash); color: var(--wait); }
.chip--off { background: var(--off-wash); color: var(--off); }
.chip--gold { background: var(--gold-wash); color: var(--gold-ink); }
.chip--night { background: var(--night); color: var(--gold-2); }

/* ---------- Hero ---------- */
.hero { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 70%; background: radial-gradient(closest-side, rgba(217,189,106,.16), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); column-gap: clamp(28px, 5vw, 64px); row-gap: 36px; align-items: center; padding-top: clamp(36px, 6vw, 76px); padding-bottom: clamp(40px, 6vw, 80px); position: relative; z-index: 1; }
.hero__search { margin-top: 26px; }
.hero h1 { color: #fff; max-width: 19ch; margin-bottom: .35em; text-wrap: balance; }
.hero__lead { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 46ch; margin-bottom: 0; }
.hero--plain .wrap { grid-template-columns: 1fr; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Search box */
.searchbox { background: #fff; color: var(--night); border-radius: var(--r-panel); padding: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.searchbox__mode { padding: 4px 4px 10px; }
.searchbox__fields { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) minmax(0, .8fr) auto; gap: 6px; align-items: stretch; }
.sfield { position: relative; display: grid; align-content: center; gap: 2px; padding: 9px 14px; border-radius: 12px; background: var(--mist); min-height: 62px; }
.sfield label, .sfield .sfield__label { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .01em; }
.sfield input, .sfield select { border: 0; background: transparent; font: 600 1rem var(--sans); color: var(--night); padding: 0; width: 100%; min-width: 0; }
.sfield input::placeholder { color: #9a98ad; font-weight: 500; }
.sfield input:focus, .sfield select:focus { outline: none; }
.sfield:focus-within { box-shadow: inset 0 0 0 2px var(--gold); }
.sfield--dates { grid-template-columns: 1fr 1fr; column-gap: 12px; }
.sfield--dates .dpart { display: grid; gap: 2px; min-width: 0; }
.sfield--dates button.datebtn { all: unset; font: 600 1rem var(--sans); color: var(--night); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfield--dates button.datebtn.is-empty { color: #9a98ad; font-weight: 500; }
.searchbox .btn { min-height: 62px; border-radius: 12px; padding: 0 22px; }
.searchbox--stacked .searchbox__fields { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; }
.searchbox--stacked .sfield--where { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .searchbox__fields, .searchbox--stacked .searchbox__fields { grid-template-columns: 1fr 1fr; }
  .searchbox__fields .sfield--where, .searchbox__fields .sfield--dates { grid-column: 1 / -1; }
}
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-panel); z-index: 30; padding: 6px; display: none; }
.suggest.is-open { display: block; }
.suggest button { display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; background: none; border: 0; font: inherit; padding: 9px 10px; border-radius: 8px; cursor: pointer; color: var(--night); }
.suggest button:hover, .suggest button.is-active { background: var(--mist); }
.suggest small { color: var(--muted); margin-left: auto; }

/* Hero ticket: a real listing with its next nights */
.ticket { background: #fff; color: var(--night); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); text-decoration: none; display: block; max-width: 460px; justify-self: end; width: 100%; }
.ticket:hover { color: var(--night); }
.ticket__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--mist); }
.ticket__body { padding: 16px 18px 18px; }
.ticket__title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; margin: 0 0 2px; }
.ticket__place { color: var(--muted); font-size: .92rem; margin: 0 0 12px; }
.ticket__cap { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 960px) { .ticket { justify-self: start; } }

/* ---------- Night strip (signature) ---------- */
.nights { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(44px, 1fr); gap: 4px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.night { border-radius: 8px; padding: 7px 4px 6px; text-align: center; background: var(--mist); background: color-mix(in srgb, var(--gold-2) calc(var(--p, 0) * 55%), var(--mist)); line-height: 1.15; min-width: 44px; }
.night__dow { display: block; font-size: .68rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.night__day { display: block; font-size: 1.08rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.night__price { display: block; font-size: .72rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--night); }
.night--off { background: repeating-linear-gradient(-45deg, var(--mist), var(--mist) 4px, #fff 4px, #fff 8px); color: #a9a7ba; }
.night--off .night__price { color: #a9a7ba; text-decoration: line-through; }
.nights.is-filling .night { animation: night-in .32s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes night-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.months { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(58px, 1fr); gap: 4px; overflow-x: auto; }
.month-tile { border-radius: 8px; padding: 8px 6px; text-align: center; border: 1px dashed var(--line-2); font-size: .74rem; line-height: 1.2; color: var(--muted); }
.month-tile strong { display: block; font-weight: 700; font-size: 1rem; color: var(--night); }
.month-tile--now { background: var(--gold-wash); border: 1px solid var(--gold); color: var(--gold-ink); }
.strip-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 8px; }
.strip-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 7vw, 88px) 0; }
.section--mist { background: var(--mist); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- Listing cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px 22px; }
.card { position: relative; text-decoration: none; color: var(--night); display: block; }
.card:hover { color: var(--night); }
.card__img { aspect-ratio: 4 / 3; border-radius: var(--r-photo); overflow: hidden; background: var(--mist); position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__img img { transform: scale(1.03); }
.card__badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__badges .chip { background: rgba(255,255,255,.94); }
.card__title { font-family: var(--sans); font-weight: 650; font-size: 1.04rem; margin: 12px 0 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__place { color: var(--muted); font-size: .94rem; margin: 2px 0 0; }
.card__facts { color: var(--muted); font-size: .9rem; margin: 2px 0 0; }
.card__price { margin: 8px 0 0; font-size: 1rem; }
.card__price strong { font-weight: 700; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.card__stay { margin: 4px 0 0; font-size: .9rem; color: var(--gold-ink); font-weight: 600; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #b6b4c6; }

/* Destinations */
.places { columns: 4 200px; column-gap: 28px; padding: 0; margin: 0; list-style: none; }
.places li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.places a { text-decoration: none; font-weight: 600; }
.places span { color: var(--muted); font-variant-numeric: tabular-nums; }

/* How paying works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps li { counter-increment: step; padding: 0 22px 0 0; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--gold-2); font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; border-top: 1px dashed var(--line-2); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin-bottom: .3em; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { padding: 0 0 0 56px; }
  .steps li::before { position: absolute; left: 0; top: -4px; }
  .steps li::after { top: 40px; left: 20px; right: auto; bottom: -26px; border-top: 0; border-left: 1px dashed var(--line-2); }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.band { background: var(--night); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 56px); }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.78); }
.band .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.band .btn--line:hover { border-color: #fff; color: #fff; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--gold-2); margin-top: 3px; }
.ticks--dark .icon { color: var(--gold-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,.72); padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; display: inline-flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Search results ---------- */
.searchbar { background: var(--mist); border-bottom: 1px solid var(--line); padding: 14px 0; }
.searchbar .searchbox { box-shadow: none; border: 1px solid var(--line); padding: 6px; }
.searchbar .sfield { background: transparent; min-height: 52px; }
.searchbar .searchbox .btn { min-height: 52px; }
.results { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; padding: 30px 0 70px; }
.results--map { grid-template-columns: 250px minmax(0, 1fr) minmax(0, 1fr); }
.filters { position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; padding-right: 4px; }
.filters h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 14px; }
.filters fieldset { border-top: 1px solid var(--line); padding: 16px 0; }
.filters legend { font-weight: 650; font-size: .95rem; margin-bottom: 10px; float: left; width: 100%; }
.filters legend + * { clear: both; }
.filters .check { font-size: .95rem; margin-bottom: 8px; }
.results__head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.results__head h1 { font-size: 1.6rem; margin: 0; }
.results .cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mapbox { position: sticky; top: 90px; height: calc(100vh - 110px); border-radius: var(--r-panel); overflow: hidden; background: var(--mist); }
.filters-toggle { display: none; }
@media (max-width: 1100px) { .results--map { grid-template-columns: 250px minmax(0, 1fr); } .results--map .mapbox { grid-column: 1 / -1; position: relative; top: 0; height: 420px; order: -1; } }
@media (max-width: 860px) {
  .results, .results--map { grid-template-columns: 1fr; }
  .filters { display: none; position: fixed; inset: 0; top: 0; max-height: none; background: #fff; z-index: 60; padding: 20px var(--gutter) 90px; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .filters__close { display: flex !important; }
}
.filters__close { display: none !important; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.empty { text-align: left; padding: 40px; border: 1px dashed var(--line-2); border-radius: var(--r-panel); }
.empty h2 { font-size: 1.4rem; }
.pager { display: flex; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pager span[aria-current] { background: var(--night); color: #fff; border-color: var(--night); }
.leaflet-container { font-family: var(--sans); }
.map-pin { background: #fff; color: var(--night); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 9px; font-weight: 700; font-size: .82rem; white-space: nowrap; box-shadow: 0 4px 12px rgba(27,26,51,.18); transform: translate(-50%, -50%); display: inline-block; }
.map-pin.is-active { background: var(--night); color: #fff; }

/* ---------- Listing page ---------- */
.listing-head { padding: 26px 0 18px; }
.listing-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 6px; max-width: 30ch; }
.listing-head .row { color: var(--muted); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(300px, 46vw, 520px); border-radius: var(--r-panel); overflow: hidden; position: relative; }
.gallery button { all: unset; cursor: zoom-in; position: relative; overflow: hidden; background: var(--mist); }
.gallery button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.gallery--2 button:first-child { grid-row: auto; }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery__all { position: absolute; right: 14px; bottom: 14px; }
@media (max-width: 760px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 300px; border-radius: 0; margin: 0 calc(var(--gutter) * -1); gap: 4px; }
  .gallery button { flex: 0 0 88%; scroll-snap-align: start; }
}
.listing-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 72px); padding: 30px 0 80px; }
@media (max-width: 960px) { .listing-body { grid-template-columns: 1fr; } }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0 0 22px; margin: 0 0 24px; border-bottom: 1px solid var(--line); list-style: none; }
.facts li { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.facts .icon { color: var(--gold-ink); }
.block { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block h2 { font-size: 1.45rem; margin-bottom: 14px; }
.prose { max-width: 70ch; }
.prose h2, .prose h3, .prose h4 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .25em 0; }
.clamp { max-height: 15em; overflow: hidden; position: relative; }
.clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5em; background: linear-gradient(transparent, #fff); }
.clamp.is-open { max-height: none; }
.clamp.is-open::after { display: none; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.amenities li { display: flex; gap: 12px; align-items: center; }
.amenities .icon { color: var(--gold-ink); }
.host-card { display: flex; gap: 16px; align-items: center; }
.host-card p { margin: 0; }
.rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.rules div { background: var(--mist); border-radius: 12px; padding: 14px 16px; }
.rules strong { display: block; font-weight: 700; font-size: 1.15rem; }
.map { height: 340px; border-radius: var(--r-panel); overflow: hidden; background: var(--mist); }

/* Booking box */
.bookbox { position: sticky; top: 88px; align-self: start; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-panel); background: #fff; }
.bookbox__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.bookbox__price strong { font-weight: 700; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.bookbox__mode { margin-bottom: 14px; }
.bookbox__dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.bookbox__dates button { all: unset; cursor: pointer; padding: 10px 13px; display: grid; gap: 2px; }
.bookbox__dates button + button { border-left: 1px solid var(--line-2); }
.bookbox__dates button:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
.bookbox__dates small { font-size: .74rem; font-weight: 700; color: var(--muted); }
.bookbox__dates span { font-weight: 600; }
.bookbox__dates .is-empty { color: #9a98ad; font-weight: 500; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-2); border-radius: 12px; padding: 6px 6px 6px 13px; margin-top: 8px; }
.stepper small { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); }
.stepper__ctrl { display: flex; align-items: center; gap: 10px; }
.stepper__ctrl button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--night); }
.stepper__ctrl button:disabled { opacity: .35; cursor: default; }
.stepper__ctrl output { min-width: 2ch; text-align: center; font-weight: 650; }
.bookbox__strip { margin: 16px 0 4px; }
.bookbox__lines { margin: 14px 0 0; display: grid; gap: 6px; font-size: .97rem; }
.bookbox__lines div { display: flex; justify-content: space-between; gap: 10px; }
.bookbox__lines dt { color: var(--muted); }
.bookbox__lines dd { margin: 0; font-variant-numeric: tabular-nums; }
.bookbox__total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-weight: 700; }
.bookbox__total dt { color: var(--night) !important; }
.bookbox__note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.bookbox__error { color: var(--off); font-size: .92rem; margin: 10px 0 0; }
.bookbox .btn { margin-top: 16px; }
.bookbox__pay { display: flex; gap: 10px; align-items: flex-start; background: var(--mist); border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin-top: 14px; }
.bookbox__pay .icon { color: var(--gold-ink); margin-top: 2px; }
@media (max-width: 960px) {
  .bookbox { position: static; box-shadow: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter); display: flex; justify-content: space-between; align-items: center; z-index: 45; gap: 12px; }
}
@media (min-width: 961px) { .mobile-bar { display: none; } }

/* Date picker */
.dp { position: absolute; z-index: 70; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 70px -30px rgba(27,26,51,.45); padding: 18px; width: min(680px, calc(100vw - 24px)); }
.dp[hidden] { display: none; }
.dp__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dp__nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--night); }
.dp__nav:disabled { opacity: .3; cursor: default; }
.dp__months { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dp__month h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; text-align: center; margin: 8px 0 10px; }
.dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.dp__dow { font-size: .72rem; font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0; }
.dp__day { all: unset; box-sizing: border-box; height: 42px; display: grid; place-items: center; text-align: center; font-weight: 600; font-size: .95rem; cursor: pointer; position: relative; font-variant-numeric: tabular-nums; }
.dp__day span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; line-height: 1; }
.dp__day small { display: block; font-size: .6rem; font-weight: 600; color: var(--muted); margin-top: 1px; }
.dp__day:hover span { box-shadow: inset 0 0 0 1.5px var(--night); }
.dp__day:focus-visible span { box-shadow: inset 0 0 0 2px var(--gold); }
.dp__day.is-off { color: #bdbbcc; cursor: default; text-decoration: line-through; }
.dp__day.is-off:hover span { box-shadow: none; }
.dp__day.is-checkout-only { color: var(--muted); text-decoration: none; }
.dp__day.in-range { background: var(--mist); }
.dp__day.is-start, .dp__day.is-end { background: linear-gradient(90deg, transparent 50%, var(--mist) 50%); }
.dp__day.is-end { background: linear-gradient(90deg, var(--mist) 50%, transparent 50%); }
.dp__day.is-start.is-end { background: none; }
.dp__day.is-start span, .dp__day.is-end span { background: var(--night); color: #fff; }
.dp__day.is-start small, .dp__day.is-end small { color: var(--gold-2); }
.dp__day.is-today span { box-shadow: inset 0 0 0 1px var(--gold); }
.dp__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: .92rem; flex-wrap: wrap; }
@media (max-width: 700px) {
  .dp { position: fixed; inset: auto 0 0 0; width: 100%; border-radius: 18px 18px 0 0; max-height: 86vh; overflow: auto; }
  .dp__months { grid-template-columns: 1fr; }
}

/* Read-only availability calendar on the listing page */
.avail { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.avail .dp__day { cursor: default; height: 38px; }
.avail .dp__day span { width: 36px; height: 36px; }
.avail .dp__day:hover span { box-shadow: none; }

/* ---------- Checkout & trips ---------- */
.page-head { padding: 34px 0 10px; }
.page-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.page-head p { color: var(--muted); max-width: 64ch; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(26px, 5vw, 60px); padding: 18px 0 80px; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .two-col > aside { order: -1; } }
.panel { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; background: #fff; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 1.3rem; margin-bottom: 14px; }
.panel--mist { background: var(--mist); border-color: transparent; }
.summary { position: sticky; top: 90px; }
.summary__top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.summary__top img { width: 104px; height: 80px; object-fit: cover; border-radius: 10px; flex: none; background: var(--mist); }
.summary__top h2 { font-size: 1.1rem; margin: 0 0 2px; }
.dl { display: grid; gap: 7px; margin: 0; }
.dl > div { display: flex; justify-content: space-between; gap: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl .is-total { border-top: 1px solid var(--line); padding-top: 9px; font-weight: 700; }
.dl .is-total dt { color: var(--night); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; position: relative; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold); background: #fff; margin-top: 6px; }
.timeline li.is-done::before { background: var(--gold); }
.timeline li + li::after { content: ""; position: absolute; left: 5px; top: -14px; height: 20px; border-left: 2px solid var(--line); }
.timeline strong { display: block; }
.timeline span { color: var(--muted); font-size: .93rem; }

.list { list-style: none; padding: 0; margin: 0; }
.trip { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--night); }
.trip:hover { color: var(--night); }
.trip img, .trip .noimg { width: 140px; height: 100px; object-fit: cover; border-radius: 10px; background: var(--mist); }
.trip h3 { font-family: var(--sans); font-size: 1.06rem; font-weight: 700; margin: 0 0 2px; }
.trip p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .trip { grid-template-columns: 96px 1fr; } .trip img, .trip .noimg { width: 96px; height: 76px; } .trip > :last-child { grid-column: 2; } }
.status-banner { border-radius: var(--r-panel); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.status-banner h2 { font-size: 1.25rem; margin: 0 0 4px; }
.status-banner p { margin: 0; }
.status-banner--ok { background: var(--ok-wash); }
.status-banner--wait { background: var(--wait-wash); }
.status-banner--off { background: var(--off-wash); }
.status-banner .icon { margin-top: 3px; }

/* Messages */
.thread { display: grid; gap: 12px; margin-bottom: 16px; max-height: 480px; overflow-y: auto; padding-right: 4px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; background: var(--mist); }
.msg--mine { margin-left: auto; background: var(--night); color: #fff; }
.msg__meta { font-size: .78rem; color: var(--muted); margin-bottom: 2px; }
.msg--mine .msg__meta { color: rgba(255,255,255,.7); }
.msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- App shell (host & admin) ---------- */
.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; }
.subnav a { padding: 14px 14px 12px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.subnav a:hover { color: var(--night); }
.subnav a[aria-current="page"] { color: var(--night); border-bottom-color: var(--gold); }
.subnav .count { background: var(--gold); color: #fff; border-radius: 999px; font-size: .74rem; padding: 0 7px; line-height: 1.6; }
.app { padding: 28px 0 80px; }
.app h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 18px 0 28px; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.stat__label { color: var(--muted); font-size: .9rem; display: block; }
.stat__value { font-weight: 700; font-size: 1.6rem; line-height: 1.2; display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat__sub { font-size: .85rem; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-weight: 700; font-size: .84rem; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--mist); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; }
.table a { font-weight: 600; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; }
.toolbar .input, .toolbar .select { width: auto; min-height: 40px; padding: 7px 11px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--mist); color: var(--muted); }
.tabs a[aria-current="page"] { background: var(--night); color: #fff; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.checklist .dot--ok { background: var(--ok); color: #fff; }
.checklist .dot--todo { border: 2px solid var(--line-2); }
.checklist p { margin: 0; font-size: .9rem; color: var(--muted); }
.listing-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.listing-row img, .listing-row .noimg { width: 96px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--mist); }
.listing-row h3 { font-family: var(--sans); font-size: 1.04rem; font-weight: 700; margin: 0; }
.listing-row p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .listing-row { grid-template-columns: 72px 1fr; } .listing-row img, .listing-row .noimg { width: 72px; height: 56px; } .listing-row > :last-child { grid-column: 1 / -1; } }

/* Editor */
.editor { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: start; }
.editor__nav { position: sticky; top: 90px; display: grid; gap: 2px; }
.editor__nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--muted); }
.editor__nav a:hover { background: var(--mist); color: var(--night); }
.editor section { scroll-margin-top: 90px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.editor section:last-of-type { border-bottom: 0; }
.editor h2 { font-size: 1.35rem; }
.savebar { position: sticky; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 12px 0; margin-top: 10px; display: flex; gap: 12px; justify-content: flex-end; align-items: center; z-index: 5; }
@media (max-width: 860px) { .editor { grid-template-columns: 1fr; } .editor__nav { position: static; display: flex; overflow-x: auto; } }
.locked { background: var(--mist); border-radius: 12px; padding: 14px 16px; font-size: .95rem; display: flex; gap: 10px; align-items: flex-start; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 14px; }
.photos li { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos li[draggable="true"] { cursor: grab; }
.photos li.is-dragging { opacity: .4; }
.photos .photo-actions { position: absolute; right: 6px; top: 6px; display: flex; gap: 4px; }
.photos .photo-actions button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; color: var(--night); }
.photos .cover-tag { position: absolute; left: 6px; bottom: 6px; }
.dropzone { border: 2px dashed var(--line-2); border-radius: 14px; padding: 24px; text-align: center; color: var(--muted); }
.dropzone.is-over { border-color: var(--gold); background: var(--gold-wash); }

/* Host calendar */
.hcal { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; user-select: none; }
.hcal__month h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.hcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.hcal__day { border-radius: 8px; min-height: 58px; padding: 5px 6px; background: #fff; border: 1px solid var(--line); cursor: pointer; font-size: .82rem; display: grid; align-content: space-between; text-align: left; font-family: inherit; color: var(--night); }
.hcal__day b { font-weight: 700; }
.hcal__day i { font-style: normal; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hcal__day.is-past { opacity: .45; cursor: default; }
.hcal__day.is-blocked { background: repeating-linear-gradient(-45deg, #f2f1f6, #f2f1f6 5px, #fff 5px, #fff 10px); }
.hcal__day.is-ical { background: repeating-linear-gradient(-45deg, #eef1f6, #eef1f6 5px, #fff 5px, #fff 10px); border-color: #c9d2e3; }
.hcal__day.is-booked { background: var(--night); border-color: var(--night); color: #fff; }
.hcal__day.is-booked i { color: var(--gold-2); }
.hcal__day.is-requested { background: var(--wait-wash); border-color: #e8cf9b; }
.hcal__day.is-seasonal i { color: var(--gold-ink); font-weight: 700; }
.hcal__day.is-selected { outline: 2px solid var(--gold); outline-offset: -2px; }
.hcal__pad { min-height: 58px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); margin: 0 0 16px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }
.calbar { position: sticky; bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-panel); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; z-index: 5; }
.calbar[hidden] { display: none; }
.copybox { display: flex; gap: 8px; }
.copybox .input { font-size: .86rem; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* Auth */
.auth { max-width: 460px; margin: 0 auto; padding: 50px var(--gutter) 90px; }
.auth h1 { font-size: 2rem; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; margin: 22px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.btn-cp { background: var(--night); color: #fff; width: 100%; }
.btn-cp:hover { background: #2a2950; color: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(18,17,42,.96); z-index: 100; display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 0 60px; position: relative; }
.lightbox__stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 10px; } .lightbox__next { right: 10px; }
.lightbox__count { padding: 12px; text-align: center; font-size: .9rem; color: rgba(255,255,255,.7); }

/* Misc */
.pill-list { display: flex; gap: 8px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.notice-bar { background: var(--wait-wash); color: #5e3f05; font-size: .92rem; padding: 8px 0; text-align: center; }
.prose-page { padding: 40px 0 90px; }
.prose-page h1 { margin-bottom: 20px; }
.prose-page .prose h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-top: 1.6em; }
.err-page { padding: 90px 0 120px; }
.err-page .code { font-family: var(--serif); font-size: 5rem; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.embed-body { background: transparent; }
.embed-body .bookbox { position: static; box-shadow: none; border-color: var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .subnav, .bookbox .btn, .mobile-bar { display: none !important; } }

/* ---------- Payment options ---------- */
.methods { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.methods__group { margin: 8px 0 0; font-size: .92rem; font-weight: 650; color: var(--muted); }
.methods__group:first-of-type { margin-top: 0; }
.method { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, background-color .15s; }
.method:hover { border-color: var(--gold-2); }
.method input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--night); }
.method:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: #fffdf7; }
.method:has(input:focus-visible) { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.method__body { display: grid; gap: 2px; min-width: 0; }
.method__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.method__sub { color: var(--muted); font-size: .93rem; }
.method__when { font-weight: 650; font-size: .93rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .method { grid-template-columns: 20px minmax(0, 1fr); }
  .method__when { grid-column: 2; text-align: left; white-space: normal; }
}
.callout { display: flex; gap: 10px; align-items: flex-start; background: var(--mist); border-radius: 12px; padding: 12px 14px; margin: 0; font-size: .95rem; }
.callout .icon { margin-top: 3px; flex: none; }

.paybox { border-color: var(--gold-2); }
.paybox__head h2 { margin: 0 0 4px; }
.paybox__due { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.paybox__amount { font-size: 1.5rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.paybox__ways { display: grid; gap: 0; margin-top: 8px; }
.payway { border-top: 1px solid var(--line); padding: 16px 0 4px; }
.payway h3 { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin: 0 0 10px; }
.payway__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; }
@media (max-width: 620px) { .payway__body { grid-template-columns: minmax(0, 1fr); } }
.paybox__safety { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; }
.paybox__safety .icon { margin-top: 2px; flex: none; }
.paybox__subhead { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 20px 0 8px; }
.copylist { margin: 0; display: grid; gap: 6px; }
.copyrow { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.copyrow dt { color: var(--muted); font-size: .93rem; }
.copyrow dd { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
.copyrow dd span { font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copyrow__btn { font: inherit; font-size: .8rem; font-weight: 650; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--night); cursor: pointer; }
.copyrow__btn:hover { border-color: var(--gold); }
.copyrow__btn.is-copied { background: var(--ok-wash); border-color: var(--ok-wash); color: var(--ok); }
@media (max-width: 420px) { .copyrow { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.qr { margin: 0; width: 176px; text-align: center; }
.qr__code { width: 176px; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.qr__code svg { display: block; width: 100%; height: 100%; }
.qr figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.schedule { list-style: none; margin: 0; padding: 0; display: grid; }
.schedule__item { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.schedule__item:first-child { border-top: 0; }
.schedule__mark { color: var(--muted); display: inline-flex; }
.schedule__item.is-paid .schedule__mark { color: var(--ok); }
.schedule__item.is-late .schedule__mark, .schedule__item.is-late .schedule__what span { color: var(--off); }
.schedule__what { display: grid; min-width: 0; }
.schedule__what span { color: var(--muted); font-size: .9rem; }
.schedule__amount { font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.schedule__act form { margin: 0; }
@media (max-width: 520px) {
  .schedule__item { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .schedule__act { grid-column: 2 / -1; }
}
.paylist { display: grid; gap: 14px; }
.paylist__item { display: grid; gap: 6px; }
.paylist__todo, .paylist__sub { margin: 0 0 0 28px; }
.paylist__sub .check--inline { margin: 0 16px 6px 0; }
.check--inline { display: inline-flex; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 18px; margin: 8px 0 4px; }
.disclosure > summary { list-style: none; cursor: pointer; display: inline-flex; }
.disclosure > summary::-webkit-details-marker { display: none; }
.bookbox__methods { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
