:root {
  --page: var(--ui-background);
  --card: var(--ui-surface);
  --ink: var(--ui-ink);
  --muted: var(--ui-muted);
  --line: var(--ui-border);
  --forest: var(--ui-primary);
  --leaf: var(--ui-primary-hover);
  --mint: var(--ui-secondary);
  --sun: var(--ui-accent-soft);
  --sun-hover: #f1ddc6;
  --radius: var(--ui-radius);
  --shadow: var(--ui-shadow);
  --header-offset: 4.55rem;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-offset) + .9rem); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.6 var(--rhdc-text-font); }
main { min-height: 62vh; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
h2 { font-size: clamp(1.44rem, 2.65vw, 2rem); }
h3 { font-size: 1.2rem; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
input, select, textarea { color: var(--field-text); font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 3px; }
.shell { width: min(76rem, 100% - var(--ui-gutter) * 2); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.text-link { color: var(--forest); font-weight: 700; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.skip-link { position: fixed; z-index: 25; top: .5rem; left: .5rem; transform: translateY(-170%); background: white; padding: .7rem 1rem; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 10; top: 0; background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-offset); }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: .68rem; line-height: 1.28; }
.brand img { flex: none; object-fit: contain; }
.brand strong { display: block; color: var(--ui-deep); font-size: 1.24rem; }
.brand small { display: block; margin-top: .12rem; color: var(--muted); font-size: .86rem; }
.site-nav { display: flex; align-items: center; gap: .3rem; font-weight: 700; }
.site-nav > a:not(.button) { display: flex; align-items: center; min-height: 2.65rem; padding: .32rem .72rem; border-radius: .55rem; }
.site-nav > a:not(.button):is(:hover,.current) { color: var(--forest); background: var(--mint); }
.site-access { margin-left: .45rem; }
.nav-toggle.button { display: none; }
.site-footer { background: var(--ui-deep); color: #f1f9f8; padding-block: clamp(1.35rem, 3.1vw, 2.3rem); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .9rem 2rem; }
.site-footer .brand strong { color: inherit; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 2.55rem; color: #d1e8e7; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .18em; }

.button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: .42rem;
  min-height: var(--ui-control); padding: .51rem .92rem; border: 1px solid transparent;
  border-radius: var(--radius); background: var(--forest); color: white; font-weight: 700; line-height: 1.3;
  text-align: center; transition: background var(--ui-motion), border-color var(--ui-motion), color var(--ui-motion);
}
.button:hover { background: var(--leaf); }
.button-outline { color: var(--forest); background: var(--card); border-color: var(--ui-input-border); }
.button-outline:hover { color: var(--forest); background: var(--mint); border-color: var(--leaf); }
.button-small { min-height: 2.55rem; font-size: .94rem; padding: .42rem .7rem; }
.button-block { width: 100%; }
.button:disabled { opacity: .55; cursor: default; }
.button[aria-busy="true"]::after {
  content: "";
  width: .9rem;
  height: .9rem;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: submit-progress .7s linear infinite;
}
@keyframes submit-progress { to { transform: rotate(1turn); } }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: .61rem; }

.home-intro { padding-block: clamp(.9rem, 2vw, 1.65rem) .2rem; }
.hero {
  position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden;
  min-height: clamp(16rem, 27vw, 23rem); border-radius: 1.4rem; background: var(--ui-deep);
}
.hero-content { position: relative; padding: 2rem clamp(1.35rem, 4.3vw, 3.75rem) 4.2rem; }
.hero h1 { color: white; font-size: clamp(2.6rem, 5.25vw, 4.8rem); line-height: 1.12; }
.hero-landscape, .article-photo { overflow: hidden; background: var(--mint); border-radius: var(--radius); }
.article-photo { position: relative; }
.hero-landscape { position: absolute; inset: 0; border-radius: inherit; }
.hero-landscape::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #092f39f0 0%, #103d42b8 36%, #103d4212 76%), linear-gradient(0deg, #092f3959, transparent 60%);
}
.hero-landscape img, .article-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-landscape img { object-position: center 56%; }
.hero-landscape figcaption, .article-photo figcaption, .image-caption {
  position: absolute; right: .6rem; bottom: .6rem; padding: .22rem .45rem; border-radius: .25rem;
  max-width: calc(100% - 1.2rem); background: #103d42ed; color: white; font-size: .79rem; line-height: 1.35;
}
.hero-landscape figcaption { z-index: 1; right: 1.35rem; bottom: 3.2rem; }
.home-search { position: relative; z-index: 2; width: calc(100% - clamp(1rem, 4.3vw, 4rem)); margin: -2.15rem auto 0; }
.home-search .search-box { border-color: #d1b27b; box-shadow: 0 14px 30px #103d421b; }
.home-search .search-submit { color: var(--ui-deep); background: var(--ui-gold); }
.home-search .search-submit:hover { background: #f0b960; }

.search-box { padding: .55rem; border: 1px solid var(--line); border-radius: .95rem; background: var(--card); }
.search-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .77fr) auto; align-items: stretch; gap: .34rem; }
.search-wide .search-fields { grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)) minmax(0, .75fr) auto; }
.search-field {
  display: flex; padding: .38rem .68rem; align-items: center; gap: .55rem; min-width: 0;
  background: #f5f9f9; border: 1px solid var(--line); border-radius: .55rem;
}
.search-field:focus-within { background: var(--card); border-color: var(--ui-focus); }
.search-field > div { min-width: 0; width: 100%; }
.search-field .symbol { color: var(--leaf); }
.search-field label { display: block; color: var(--ink); font-size: .94rem; font-weight: 700; line-height: 1.32; }
.search-field input { display: block; border: 0; border-radius: 0; color: var(--ink); padding: 0; min-height: 1.65rem; width: 100%; min-width: 0; background: transparent; }
.search-field input:focus-visible { outline-offset: 2px; border-radius: .18rem; }
.search-destination { position: relative; }
.search-destination > .destination-popover {
  position: absolute;
  z-index: 5;
  top: calc(100% + .55rem);
  left: 0;
  width: max(100%, min(23rem, calc(100vw - 3rem)));
  max-height: min(19rem, 40vh);
  overflow: auto;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--card);
  box-shadow: var(--shadow);
}
.destination-popover ul { list-style: none; margin: 0; padding: 0; }
.destination-popover [role="status"]:empty { display: none; }
.destination-popover [role="status"] { padding: .6rem .7rem; color: var(--muted); }
.destination-option { display: grid; gap: .1rem; padding: .5rem .65rem; border-radius: .45rem; cursor: pointer; }
.destination-option span { color: var(--muted); font-size: .9rem; }
.destination-option:hover, .destination-option[aria-selected="true"] { background: var(--mint); }
.search-submit { min-width: 7.4rem; min-height: 3.35rem; border-radius: .55rem; }
.search-errors { margin: .56rem .6rem .2rem; padding-left: 1.15rem; color: var(--ui-danger); }

.destination-section { padding-block: clamp(1.6rem, 3.2vw, 3.1rem) clamp(2.55rem, 5vw, 4.35rem); }
.home-rooms { padding-block: clamp(1.45rem, 2.7vw, 2.5rem) clamp(1.35rem, 2.8vw, 2.4rem); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem 1.1rem; margin-bottom: 1rem; }
.section-heading p, .page-heading p { margin-top: .28rem; }
.catalog-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .7rem; }
.result-count { display: inline-flex; padding: .12rem .58rem; border-radius: 1rem; background: var(--mint); color: var(--ui-deep); font-size: .92rem; white-space: nowrap; }
.catalog-link { display: inline-flex; min-height: 2.35rem; align-items: center; gap: .34rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-flex; align-items: center; min-height: 2.4rem; padding: .24rem .76rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--card); font-weight: 700; }
.chip:hover, .chip-selected { color: var(--forest); border-color: #8dbbb5; background: var(--mint); }
.destination-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.4rem); }
.destination-card, .surface { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }

.destination-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1rem; transition: border-color var(--ui-motion), box-shadow var(--ui-motion); }
.destination-card:hover { border-color: var(--ui-input-border); box-shadow: var(--shadow); }
.card-image, .house-cover, .auth-image { position: relative; isolation: isolate; overflow: hidden; background: var(--mint); }
.card-image { aspect-ratio: 1.82; }
.card-image img, .house-cover img, .auth-image img { width: 100%; height: 100%; object-fit: cover; }
.card-content { display: flex; flex-direction: column; flex: 1; padding: .95rem 1.05rem 1.05rem; }
.location-line, .house-inventory { display: flex; align-items: center; gap: .32rem; }
.location-line { color: var(--leaf); font-size: .94rem; font-weight: 700; }
.location-line .symbol { font-size: 1.08rem; }
.card-content h3 { margin: 0 0 .28rem; }
.card-inventory { color: var(--muted); font-size: .94rem; margin: .25rem 0 .55rem; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .25rem .6rem; border-top: 1px solid var(--line); padding-top: .64rem; margin-top: auto; }
.card-price { font-weight: 700; color: var(--ui-deep); font-size: 1.26rem; }
.card-price small { color: var(--muted); font-size: .82rem; font-weight: 400; }
.card-link { color: var(--leaf); font-weight: 700; font-size: .91rem; white-space: nowrap; }
.destination-card:hover .card-link { text-decoration: underline; text-underline-offset: .2em; }
.empty-state { padding: clamp(1.65rem, 4vw, 3rem) 1rem; text-align: center; color: var(--muted); }
.empty-state > .symbol { color: var(--forest); font-size: 2rem; margin-bottom: .32rem; }
.empty-state h3 { color: var(--ink); margin-bottom: .3rem; }
.empty-state .button, .empty-state .text-link { margin-top: .9rem; }

.page { padding-block: clamp(1.15rem, 2.8vw, 2.25rem) clamp(2.6rem, 5vw, 4.5rem); }

.page-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .7rem 1rem; padding-bottom: 1.03rem; border-bottom: 1px solid var(--line); }
.page-banner > div:first-child { min-width: 0; }
.page-banner h1 { overflow-wrap: anywhere; }
.page-banner .location-line { margin-bottom: .35rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .93rem; margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--leaf); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.page-heading { margin-bottom: 1.45rem; }
.house-heading {
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); overflow: hidden; align-items: stretch;
  border-radius: 1.25rem; box-shadow: var(--shadow);
}
.house-heading-copy { min-width: 0; padding: clamp(1.2rem, 3.5vw, 2.75rem); align-self: center; }
.house-heading h1 { margin-block: .3rem .58rem; color: var(--ui-deep); overflow-wrap: anywhere; }
.house-inventory { color: var(--muted); }
.house-actions:has(a) { margin-top: .95rem; }
.house-cover { min-height: clamp(13.25rem, 22vw, 18.5rem); }
.house-cover img { position: absolute; inset: 0; }
.house-info { padding: clamp(1.05rem, 3vw, 1.65rem); }
.house-info h2, .panel-heading h2 { font-size: 1.45rem; }
.house-description { max-width: 48rem; margin-top: .65rem; }
.house-description p + p { margin-top: .45rem; }
.house-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .75rem 1rem; }
.info-item { margin-top: .85rem; padding: .75rem .85rem; border-radius: .55rem; background: var(--page); }
.info-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.info-item p { white-space: pre-line; overflow-wrap: anywhere; color: var(--muted); }
.info-item a { color: var(--leaf); text-decoration: underline; }
.house-methods { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.house-methods li { padding: .12rem .48rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--card); }
.room-section { margin-top: clamp(1.5rem, 3.7vw, 2.65rem); }
.house-property { margin-top: clamp(1.55rem, 3.8vw, 2.7rem); }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.4rem); margin-top: 1rem; }
.room-empty { grid-column: 1 / -1; }
.room-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: 1rem; transition: border-color var(--ui-motion), box-shadow var(--ui-motion); }
.room-card:hover, .room-card:focus-within { border-color: var(--ui-input-border); box-shadow: var(--shadow); }
.room-card-media, .room-gallery-cover { position: relative; isolation: isolate; display: block; aspect-ratio: 1.8; background: var(--mint); }
.room-card-media img, .room-gallery img { width: 100%; height: 100%; object-fit: cover; }
.room-photo-count {
  position: absolute; right: .7rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .4rem;
  padding: .26rem .55rem; background: #103d42ed; color: white; border-radius: .45rem; font-size: .85rem;
}
.room-card-body { display: flex; flex-direction: column; flex: 1; gap: .7rem; padding: 1rem; overflow-wrap: anywhere; }
.room-card-head { display: flex; align-items: start; gap: .65rem; }
.room-card-icon { flex: none; display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .7rem; background: var(--mint); color: var(--forest); }
.room-card-body h3 { color: var(--ui-deep); font-size: 1.42rem; }
.room-card-property { margin-top: .18rem; color: var(--leaf); font-size: .94rem; }
.room-meta { margin-top: .04rem; color: var(--muted); font-size: .94rem; }
.room-facilities, .room-detail-facilities { list-style: none; margin: 0; padding: 0; }
.room-facilities { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.room-facilities li { max-width: 100%; padding: .16rem .5rem; border-radius: .33rem; background: var(--mint); color: var(--forest); font-size: .9rem; }
.room-facilities .room-facilities-more { padding: 0; background: transparent; }
.room-facilities-more a, .room-facilities-jump { display: inline-flex; align-items: center; min-height: 1.7rem; text-decoration: underline; text-underline-offset: .2em; }
.room-facilities-more a { padding-inline: .25rem; }
.room-card-footer { display: flex; flex-wrap: wrap; gap: .55rem .8rem; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--line); }
.room-card-actions { display: flex; flex-wrap: wrap; gap: .4rem; }

.room-detail-heading { max-width: 48rem; margin-bottom: 1.25rem; overflow-wrap: anywhere; }
.room-detail-heading h1 { margin-top: .25rem; color: var(--ui-deep); }
.room-facilities-jump { gap: .3rem; padding-block: .25rem; }
.room-detail-layout {
  display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); grid-template-areas: 'gallery reserve' 'details reserve';
  gap: 1.35rem; align-items: start;
}
.room-detail-no-photos { grid-template-areas: 'details reserve'; }
.room-gallery { grid-area: gallery; min-width: 0; }
.room-gallery-cover, .room-gallery-thumbs a { overflow: hidden; border-radius: .85rem; }
.room-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7rem), 1fr)); gap: .55rem; margin-top: .55rem; }
.room-gallery-thumbs a { display: block; aspect-ratio: 1.5; background: var(--mint); }
.room-gallery a:hover img { filter: brightness(.93); }
.room-reserve, .room-details { border-radius: 1rem; padding: clamp(1rem, 2.4vw, 1.5rem); }
.room-reserve { grid-area: reserve; display: grid; gap: .7rem; position: sticky; top: calc(var(--header-offset) + .9rem); box-shadow: var(--shadow); }
.room-reserve h2, .room-details h2 { font-size: 1.35rem; }
.room-detail-rate { color: var(--ui-deep); font-weight: 700; font-size: 2rem; line-height: 1.2; }
.room-detail-rate small { color: var(--muted); font-size: 1rem; font-weight: 400; }
.room-reserve .search-box { padding: 0; border: 0; }
.room-reserve .search-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.room-reserve :is(.search-field, .search-submit) { border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.room-reserve .search-field { padding: .45rem .55rem; }
.room-reserve .search-field .symbol { display: none; }
.room-reserve .search-submit { min-width: 0; min-height: var(--ui-control); background: var(--mint); color: var(--forest); }
.room-reserve .search-submit:hover { background: var(--ui-success-soft); border-color: var(--ui-input-border); }
.room-reserve .search-errors { margin: .5rem 0 0; }
.room-availability { padding: .65rem .75rem; border-radius: var(--radius); }
.room-availability p { display: flex; align-items: start; gap: .4rem; }
.room-availability .symbol { margin-top: .2rem; }
.room-availability-open { color: var(--ui-success); background: var(--ui-success-soft); }
.room-availability-closed { color: var(--ui-warning); background: var(--ui-warning-soft); }
.room-details { grid-area: details; overflow-wrap: anywhere; }
.room-details h2 { margin-bottom: .85rem; }
.room-details h3 { margin: 1.05rem 0 .55rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.room-detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .65rem; }
.room-detail-facts > div { display: flex; align-items: center; gap: .62rem; padding: .68rem .75rem; border-radius: .55rem; background: var(--page); }
.room-detail-facts .symbol { color: var(--forest); }
.room-detail-facts dt { color: var(--muted); font-size: .88rem; }
.room-detail-facts dd { color: var(--ui-deep); font-weight: 700; }
.room-description p + p { margin-top: .55rem; }
.room-detail-facilities { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .5rem .85rem; }
.room-detail-facilities li { display: flex; align-items: flex-start; gap: .5rem; min-width: 0; }
.room-detail-facilities li > span:not(.symbol) { min-width: 0; }
.room-detail-facilities .symbol { margin-top: .12em; color: var(--leaf); }
.room-lightbox { width: min(calc(100% - 1.5rem), 62rem); max-height: calc(100% - 1.5rem); padding: .85rem; border: 1px solid var(--line); border-radius: .9rem; color: var(--ink); }
.room-lightbox::backdrop { background: #12251de0; }
.room-lightbox form { display: flex; justify-content: flex-end; margin-bottom: .65rem; }
.room-gallery .room-lightbox img { width: 100%; height: auto; max-height: min(65vh, 48rem); object-fit: contain; background: var(--mint); border-radius: var(--radius); }
.room-lightbox figcaption { padding-block: .4rem; text-align: center; overflow-wrap: anywhere; }
.room-lightbox .button-row { justify-content: center; }

.page-heading p { color: var(--muted); }
.page-heading .location-line { color: var(--leaf); margin-bottom: .3rem; }
.booking-closed { padding-block: 2.1rem; }
.booking-closed h2 { margin: .6rem 0 .3rem; color: var(--ink); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(17rem, 1fr); gap: 1.2rem; align-items: start; }
.checkout-side { position: sticky; top: calc(var(--header-offset) + 1rem); display: grid; gap: .65rem; }
.section-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.section-links a { display: inline-flex; align-items: center; min-height: 2.3rem; padding: .24rem .36rem; border-bottom: 1px solid var(--ui-input-border); color: var(--forest); font-weight: 700; }
.section-links a:hover { border-color: var(--forest); background: var(--mint); }
.staff-booking-links { margin-bottom: .85rem; }
.form-section, .filters { padding: clamp(1rem, 3vw, 1.5rem); }
.booking-form { min-width: 0; }
.panel-heading { display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; }
.feature-icon { display: inline-grid; place-items: center; width: 2.15rem; height: 2.15rem; flex: none; border-radius: .33rem; color: var(--forest); background: var(--mint); }
.form-grid, .report-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.field { min-width: 0; display: grid; align-content: start; gap: .28rem; }
.field-wide { grid-column: 1 / -1; }
.field label, .inline-form label { color: var(--ink); font-weight: 600; }
.required { margin-left: .22rem; color: var(--ui-danger); }
.field :is(input, select, textarea), .inline-form select {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  background: #fff;
  border: 1px solid #bdcdc3;
  border-radius: .55rem;
  padding: .5rem .65rem;
  color: var(--ink);
}
.field select, .inline-form select {
  appearance: none;
  padding-right: 1.9rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--leaf) 50%), linear-gradient(135deg, var(--leaf) 50%, transparent 50%);
  background-repeat: no-repeat;
  background-position: right 14px center, right 9px center;
  background-size: 5px 5px;
}
.field textarea { resize: vertical; }
.field input[type="file"] { padding: .37rem; font-size: .92rem; }
.field ::file-selector-button { background: var(--mint); border: 0; padding: .35rem .5rem; border-radius: .35rem; margin-right: .45rem; color: var(--forest); cursor: pointer; }
[data-file-upload][data-ready] {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 45px;
  padding: .36rem;
  border: 1px solid #bdcdc3;
  border-radius: .55rem;
  background: #fff;
}
[data-file-upload][data-ready]:focus-within { outline: 3px solid #188172; outline-offset: 3px; }
[data-file-upload][data-ready] input[type="file"] { position: absolute; inset: 0; height: 100%; opacity: 0; cursor: pointer; }
.file-button { flex: 0 0 auto; background: var(--mint); padding: .24rem .45rem; border-radius: .35rem; font-weight: 600; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .9rem; }
.field [aria-invalid="true"] { border-color: #a93025; }
.errorlist { padding-left: 1.2rem; margin: .15rem 0; color: var(--ui-danger); }
.upload-help { margin: -.4rem 0 .9rem; }
.booking-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; padding: 1rem 1.2rem; border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.booking-summary { overflow: hidden; border-top: 3px solid var(--forest); }
.summary-heading, .summary-body { padding: 1.15rem 1.25rem; }
.summary-heading {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--mint);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 700;
}
.summary-heading::-webkit-details-marker { display: none; }
.summary-heading::after {
  content: "";
  margin-left: auto;
  width: .58rem;
  height: .58rem;
  border: solid var(--leaf);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.booking-summary[open] .summary-heading::after { transform: rotate(225deg); }
.summary-house { font-size: 1.14rem; font-weight: 700; }
.summary-lines { margin-block: .8rem .3rem; }
.summary-lines > div, .summary-total, .confirmation-ref { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.summary-lines > div { padding-block: .38rem; border-bottom: 1px solid var(--line); }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { text-align: right; font-weight: 600; }
.summary-total { margin-top: .7rem; font-weight: 700; }
.summary-total strong { font-size: 1.35rem; color: var(--forest); }
.notice { padding: .8rem 1rem; border: 1px solid #b9d5c3; border-radius: .43rem; background: #edf6ed; color: var(--forest); }
.notice a { text-decoration: underline; font-weight: 700; }
.notice-error { background: #fdf1ef; border-color: #ecc4ba; color: #8b2c20; }
.flash-list { padding-top: .8rem; display: grid; gap: .5rem; }
.booking-notice { margin-bottom: 1rem; }

.auth-page, .confirmation-page { padding-block: clamp(1.5rem, 5vw, 4.1rem); }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 53rem; margin-inline: auto; overflow: hidden; }
.auth-image { min-height: 365px; }
.auth-image img { position: absolute; inset: 0; }
.auth-image p { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .52rem .65rem; background: #17392fec; color: white; border-radius: .25rem; font-weight: 700; }
.auth-content { padding: clamp(1.25rem, 4vw, 2.45rem); }
.auth-content h1 { margin-bottom: .3rem; font-size: clamp(1.95rem, 3.6vw, 2.75rem); }
.auth-content form { display: grid; gap: .75rem; margin-block: 1rem; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem; }
.confirmation { max-width: 39rem; margin-inline: auto; overflow: hidden; }
.confirmation-top, .confirmation-detail { padding: clamp(1.12rem, 4vw, 1.65rem); }
.confirmation-top { background: var(--ui-success-soft); color: var(--ui-success); border-bottom: 1px solid #c5d8c9; }
.confirmation-top .feature-icon { background: var(--card); }
.confirmation-top h1 { margin-block: .5rem; font-size: clamp(1.75rem, 4vw, 2.4rem); }
.confirmation-ref strong { display: block; font-size: 1.48rem; }
.confirmation-detail .button { margin-top: 1.1rem; }

.staff-heading { align-items: end; }
.staff-settings-links { margin-top: 1rem; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: .45rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.report-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric { padding: .8rem clamp(.72rem, 2vw, 1.1rem); border: 0; border-radius: 0; background: transparent; }
.metric dt { color: var(--muted); font-weight: 600; }
.metric dt:has(.feature-icon) { display: flex; align-items: center; gap: .5rem; }
.metric .feature-icon { width: 2rem; height: 2rem; border-radius: .5rem; }
.metric .feature-icon .symbol { font-size: 1.12rem; }
.metric dd { font-size: 1.8rem; line-height: 1.25; margin-top: .3rem; font-weight: 700; }
.dashboard-totals { background: transparent; }
.dashboard-totals .metric { padding: .62rem .85rem; }
.dashboard-totals .metric dd { font-size: 1.38rem; }
.table-panel { overflow: hidden; }
.table-heading { padding: 1rem 1.15rem; margin: 0; }
.table-heading h2 { font-size: 1.42rem; }
.table-heading .dashboard-filter { margin-top: .8rem; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .94rem; }
.record-label { display: none; }
th, td { border-top: 1px solid var(--line); padding: .65rem .86rem; white-space: nowrap; }
th { background: #f0f5ef; color: var(--forest); }
tbody tr:hover { background: #fafcf9; }
.inline-form { display: flex; align-items: center; gap: .45rem; }
.inline-form select { width: auto; min-height: 39px; font-size: .92rem; }
.status-badge { display: inline-flex; align-items: center; padding: .18rem .48rem; border-radius: .3rem; background: var(--ui-info-soft); color: var(--ui-info); font-size: .9rem; font-weight: 700; }
.status-pending { background: var(--ui-warning-soft); color: var(--ui-warning); }
.status-confirmed, .status-checked_in { background: var(--ui-success-soft); color: var(--ui-success); }
.status-cancelled { background: var(--ui-danger-soft); color: var(--ui-danger); }
.report-fields { grid-template-columns: 1.3fr 1fr 1fr 1fr; margin-bottom: .75rem; }
.export-button { margin-left: auto; }

.quote-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: .65rem;
  margin-top: 1rem;
  padding: .8rem .95rem;
  border-radius: .42rem;
  background: var(--mint);
}
.quote-strip dt, .payment-due span { color: var(--muted); font-weight: 600; }
.quote-strip dd, .payment-due strong { color: var(--forest); font-size: 1.25rem; font-weight: 700; }
.payment-options-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.payment-options-field legend { font-weight: 700; margin: 0 0 .45rem; padding: 0; }
.payment-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.2rem), 1fr)); gap: .48rem; }

.payment-option {
  display: flex; align-items: center; gap: .4rem; min-height: var(--ui-control); padding: .4rem .58rem;
  border: 1px solid var(--ui-input-border); border-radius: .38rem; cursor: pointer; font-weight: 700;
}
.payment-option:hover { background: #f2f7f2; }
.payment-option:has(input:checked) { background: var(--mint); border-color: var(--leaf); color: var(--forest); }
.payment-option input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--leaf); }
.payment-instructions { margin-top: .7rem; }
.payment-due {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem .8rem;
  margin-block: .6rem;
  padding: .68rem .82rem;
  border-radius: .4rem;
  background: var(--mint);
}
.payment-form, .staff-detail-stack { display: grid; gap: .85rem; }
.payment-form { margin-top: .95rem; }
.payment-guide { padding: .88rem 1rem; background: var(--page); border: 1px solid var(--line); border-radius: .43rem; }
.payment-guide p { margin-top: .35rem; }
.payment-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  margin-block: .58rem;
}
.payment-account strong { display: block; color: var(--forest); font-size: 1.15rem; overflow-wrap: anywhere; }
.payment-recipient { color: var(--leaf); font-weight: 600; }
.receipt-with-payment, .staff-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-inline: auto;
}
.receipt-with-payment { max-width: 65rem; }
.receipt-with-payment .confirmation { margin: 0; width: 100%; }
.staff-booking-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.receipt-history { margin-top: 1rem; }
.payment-history { display: grid; gap: .5rem; list-style: none; padding: 0; margin: .65rem 0 0; }
.payment-history li { border-top: 1px solid var(--line); padding: .62rem .12rem; }
.payment-history p { margin-top: .3rem; color: var(--muted); overflow-wrap: anywhere; }
.payment-history-title { display: flex; flex-wrap: wrap; gap: .35rem .65rem; justify-content: space-between; align-items: center; overflow-wrap: anywhere; }
.status-verified { background: var(--ui-success-soft); color: var(--ui-success); }
.status-rejected { background: var(--ui-danger-soft); color: var(--ui-danger); }
.receipt-download, .review-actions, .record-payment, .document-links { margin-top: .8rem; }
.review-form { display: grid; justify-items: start; gap: .6rem; margin-top: .55rem; }
.review-form .field, .review-form .form-grid { width: 100%; }
.reject-details { margin-top: .65rem; }
.reject-details summary, .record-payment summary { color: var(--leaf); font-weight: 700; cursor: pointer; }
.button-danger { color: var(--ui-danger); background: var(--card); border-color: #cb9388; }
.button-danger:hover { color: var(--ui-danger); background: var(--ui-danger-soft); }
.staff-guest-details dd { overflow-wrap: anywhere; }
.dashboard-filter { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; }
.dashboard-filter input { min-width: 0; }
.dashboard-filter .button { min-height: 45px; }

.booking-form > .notice { margin-bottom: .7rem; }
.booking-form > .form-section { border-radius: 0; }
.booking-form > .form-section:first-of-type { border-radius: var(--radius) var(--radius) 0 0; }
.booking-form > .form-section + .form-section { border-top: 0; }
.booking-summary[open] .summary-heading { border-bottom: 1px solid var(--line); }
.empty-state :is(h1,h2) { color: var(--ink); margin-bottom: .35rem; }
.empty-state .button-row { justify-content: center; margin-top: .82rem; }
.empty-state .button-row .button { margin: 0; }
.error-page { max-width: 35rem; margin: auto; }
::placeholder { color: var(--field-hint); opacity: 1; }
.field-invalid [data-file-upload][data-ready] { border-color: var(--ui-danger); }
input:is([type="checkbox"],[type="radio"]) { accent-color: var(--forest); }
.payment-option:has(input:focus-visible) { outline: 3px solid var(--ui-focus); outline-offset: 2px; }
.payment-due { border-left: 3px solid var(--forest); }
.reject-details, .record-payment { padding-top: .55rem; border-top: 1px solid var(--line); }
.dashboard-filter .field:first-child { flex: 1 1 14rem; }
.filters { margin-bottom: .85rem; }
.summary-lines dd, .payment-guide { overflow-wrap: anywhere; }
.auth-image { border-radius: 0; }
.notice { border-inline-start: 3px solid var(--ui-success); background: var(--ui-success-soft); color: var(--ui-success); }
.notice-error { border-inline-start-color: var(--ui-danger); background: var(--ui-danger-soft); color: var(--ui-danger); }

.workspace { background: #f1f3ef; }
.workspace .staff-page { width: min(82rem, 100% - var(--ui-gutter) * 2); }
.workspace-nav { display: flex; flex-wrap: wrap; gap: .66rem 1.2rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.workspace-nav a { display: inline-flex; align-items: center; min-height: 2.35rem; padding: .18rem .2rem; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 700; }
.workspace-nav a:is(:hover,.current,[aria-current]) { border-color: var(--forest); color: var(--forest); }
.metric + .metric { border-inline-start: 1px solid var(--line); }
.metric dd { overflow-wrap: anywhere; font-size: clamp(1.45rem, 2.7vw, 1.9rem); }
.pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem; padding: .7rem 1rem; border-top: 1px solid var(--line); color: var(--muted); }

.article-layout, .help-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: clamp(1.2rem, 4vw, 3.5rem); }
.article-layout { margin-top: 1.3rem; }
.prose h2 { margin-top: 1.55rem; }
.article-lead { font-size: 1.2rem; margin-top: .7rem; color: var(--muted); }
.prose ol { margin: .72rem 0 1.2rem; padding-left: 1.4rem; }
.prose li + li { margin-top: .42rem; }
.article-photo { min-height: clamp(13rem, 27vw, 22rem); }
.help-layout { gap: 1rem; }
.help-aside { padding: 1.12rem; }
.help-aside h2 { font-size: 1.35rem; }
.help-aside p { margin: .33rem 0 .8rem; }
.faq-list details + details, .directory li + li { border-top: 1px solid var(--line); }
.faq-list summary { padding: .88rem 1.05rem; font-size: 1.08rem; font-weight: 700; }
.faq-list details[open] summary { color: var(--forest); }
.faq-list details p { padding: 0 1.15rem .92rem; color: var(--muted); }
.directory { list-style: none; padding: 0; margin: 0; }
.directory li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: .5rem 1.4rem; padding: .93rem 1.08rem; }
.directory h2 { font-size: 1.23rem; }
.directory a:hover { text-decoration: underline; }
.directory-contact { white-space: pre-line; overflow-wrap: anywhere; color: var(--muted); }

@media (max-width: 950px) {
  :root { --header-offset: 4.22rem; }
  .header-inner { flex-wrap: wrap; gap: .45rem; padding-block: .45rem; }
  .nav-toggle.button:not([hidden]) { display: inline-flex; min-height: 2.55rem; }
  .site-nav { width: 100%; align-items: stretch; flex-wrap: wrap; }
  .site-nav[data-collapsible][data-open="false"] { display: none; }
  .site-nav[data-collapsible][data-open="true"] {
    position: absolute; top: 100%; right: var(--ui-gutter); display: grid; gap: .13rem;
    width: min(21rem, 100% - var(--ui-gutter) * 2); padding: .52rem; border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius); background: var(--card); box-shadow: var(--shadow);
  }
  .site-nav > a:not(.button) { min-height: 2.55rem; padding: .38rem .55rem; border: 0; border-inline-start: 2px solid transparent; }
  .site-nav > a:not(.button):is(:hover,.current) { border-inline-start-color: var(--forest); background: var(--mint); }
  .site-access { margin: .2rem 0 0; }
  .site-access button { width: 100%; }
  .search-field { padding-inline: .48rem; gap: .32rem; }
  .report-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-table :is(th, td) { padding-inline: .6rem; }
}

@media (max-width: 850px) {
  .room-detail-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'gallery' 'reserve' 'details'; }
}
@media (max-width: 780px) {
  .home-intro { padding-block: .7rem 1rem; }
  .hero-content { padding: .55rem .75rem .55rem 0; }
  .hero h1 { font-size: clamp(2.45rem, 6vw, 3.45rem); }
  .hero-landscape { min-height: 14rem; }
  .search-fields, .search-wide .search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .38rem; }
  .search-field { min-height: 3.25rem; border: 1px solid var(--line); border-radius: .35rem; }
  .search-destination { grid-column: 1 / -1; }
  .search-submit { min-width: 0; margin: 0; }
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house-overview, .checkout-grid, .receipt-with-payment, .staff-booking-layout { grid-template-columns: minmax(0, 1fr); }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .receipt-with-payment .confirmation { max-width: none; }
  .checkout-side { position: static; grid-row: 1; }
  .metrics-grid:not(.report-metrics) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-grid:not(.report-metrics) .metric:nth-child(3) { border-inline-start: 0; }
  .metrics-grid:not(.report-metrics) .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 660px) {
  .hero, .article-layout, .help-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: .65rem; }
  .hero-content { padding: .45rem 0 .05rem; }
  .hero h1 { font-size: clamp(2.55rem, 8.8vw, 3.55rem); }
  .hero-lead { margin-top: .45rem; }
  .hero-location { margin-bottom: .35rem; }
  .hero-landscape { min-height: clamp(8.3rem, 31vw, 13.5rem); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .record-table { display: block; position: relative; }
  .record-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .record-table tbody { display: block; }
  .record-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .7rem; padding: .82rem .95rem; border-top: 1px solid var(--line); }
  .record-table td { display: block; padding: 0; min-width: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .record-table .record-main { grid-column: 1 / -1; grid-row: 1; }
  .record-table .record-main strong { font-size: 1.14rem; }
  .record-label { display: block; color: var(--muted); font-size: .91rem; font-weight: 700; }
  .record-action { grid-column: 1 / -1; }
}
@media (max-width: 470px) {
  .brand img { width: 39px; height: 39px; }
  .brand strong { font-size: 1.11rem; }
  .brand small { font-size: .82rem; }
  .nav-toggle.button { padding-inline: .44rem; gap: .22rem; }
  .hero-landscape figcaption, .image-caption { right: .34rem; bottom: .34rem; }
  .destination-grid { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .destination-card { display: grid; grid-template-columns: minmax(6rem, .68fr) minmax(0, 1fr); }
  .destination-card .card-image { aspect-ratio: auto; min-height: 8rem; }
  .card-image img { position: absolute; inset: 0; }
  .card-content { padding: .66rem; }
  .card-content h3 { font-size: 1.08rem; }
  .card-inventory { margin-bottom: .35rem; }
  .card-bottom { padding-top: .44rem; }
  .house-cover { min-height: 12.2rem; }
  .room-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid, .auth-layout, .directory li { grid-template-columns: minmax(0, 1fr); }
  .auth-image { min-height: 9rem; }
  .auth-image p { left: .65rem; bottom: .5rem; right: auto; }
  .booking-actions .button { width: 100%; }
  .dashboard-filter .field:first-child { flex-basis: 100%; }
  .metrics-grid.report-metrics .metric { padding-inline: .52rem; }
  .report-metrics .feature-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .button[aria-busy="true"]::after { animation: none; }
}
@media print {
  .site-header, .site-footer, .button, form, .breadcrumb, .workspace-nav, .section-links { display: none !important; }
  .shell { width: 100%; }
  body { background: white; }
}

/* Crystal white theme — colours come from admin (SiteConfig.primary_color → --ui-primary). */
body { background: #fff; -webkit-font-smoothing: antialiased; }
.site-notice { padding: .5rem var(--ui-gutter); background: var(--mint); color: var(--ui-deep); text-align: center; font-weight: 600; font-size: .92rem; }
.site-header { background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.brand strong { font-size: 1.12rem; color: var(--ink); }
.site-nav { gap: .2rem; }
.site-nav > a:not(.button) { font-weight: 600; color: var(--ink); }
.site-nav > .button { margin-left: .35rem; }
.button { border-radius: .5rem; box-shadow: none; }
.button-outline { background: #fff; }

/* Hero: clean white band, big headline, search bar on top */
.hero.hero-crystal { display: block; min-height: 0; padding: clamp(1.6rem, 5vw, 3.4rem) 0 1.4rem; background: none; border-radius: 0; overflow: visible; }
.hero-crystal h1 { color: var(--ink); font-size: clamp(1.9rem, 4.6vw, 3.2rem); max-width: 18ch; }
.hero-crystal .hero-text { margin-top: .6rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 46ch; }
.home-search { width: 100%; margin: 0; }
.home-search .search-box, .search-box { border: 3px solid var(--forest); border-radius: .8rem; box-shadow: 0 8px 24px rgb(16 24 40 / .08); padding: .3rem; }
.search-field { background: #fff; border-color: transparent; }
.search-field:focus-within { border-color: var(--forest); }
.home-search .search-submit, .search-submit { background: var(--forest); color: #fff; font-size: 1.05rem; }
.home-search .search-submit:hover, .search-submit:hover { background: var(--leaf); }
.trust-row { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .9rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.trust-row li { display: inline-flex; align-items: center; gap: .35rem; }
.trust-row svg, .trust-row .icon { color: var(--forest); }
.home-rooms, .destination-section { margin-top: clamp(1.8rem, 4vw, 3rem); }

/* Result rows: photo left, details middle, price + book on the right */
.room-grid { grid-template-columns: 1fr; gap: .9rem; }
.room-card { flex-direction: row; border-radius: .8rem; }
.room-card:hover, .room-card:focus-within { border-color: var(--forest); box-shadow: var(--shadow); }
.room-card-media { flex: 0 0 clamp(11rem, 28%, 17rem); aspect-ratio: auto; min-height: 11rem; }
.room-card-media img { position: absolute; inset: 0; }
.room-card-body h3, .card-price { color: var(--ink); }
.room-card-property { color: var(--forest); font-weight: 600; }
.room-card-footer { border-top: 0; justify-content: flex-end; text-align: right; }
.room-card-footer .card-price { margin-right: auto; font-size: 1.35rem; }
.room-facilities li { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.destination-card { border-radius: .8rem; overflow: hidden; transition: box-shadow var(--ui-motion), transform var(--ui-motion); }
.destination-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.destination-grid { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.image-caption, .room-photo-count, .hero-landscape figcaption { background: rgb(255 255 255 / .9); color: var(--ink); }
.chip-selected, .chip:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.surface, .notice { border-radius: .8rem; }
.notice { background: var(--mint); border-color: color-mix(in srgb, var(--forest) 25%, #fff); color: var(--ui-deep); }

/* Footer: white */
.site-footer { background: #fafbfc; color: var(--ink); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem 2rem; }
.footer-grid h2 { font-size: .95rem; margin-bottom: .4rem; }
.footer-grid nav, .footer-grid address { display: flex; flex-direction: column; gap: .25rem; font-style: normal; }
.site-footer nav a, .footer-grid address a { min-height: 0; color: var(--muted); }
.site-footer a:hover { color: var(--forest); }
.footer-text { margin-top: .6rem; }

/* Payment + invoice */
.bank-lines { display: grid; gap: .2rem; margin: .5rem 0; font-size: .93rem; }
.bank-lines div { display: flex; gap: .5rem; }
.bank-lines dt { color: var(--muted); min-width: 6.5rem; }
.bank-lines dd { font-weight: 600; }
.staff-heading-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.invoice-tools { display: flex; justify-content: flex-end; gap: .5rem; margin-bottom: .8rem; }
.invoice { max-width: 52rem; margin-inline: auto; padding: clamp(1.2rem, 4vw, 2.6rem); }
.invoice-head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.2rem; border-bottom: 2px solid var(--forest); }
.invoice-head .brand small { display: block; }
.invoice-meta { text-align: right; }
.invoice-meta h1 { font-size: 1.8rem; color: var(--forest); }
.invoice-stamp { display: inline-block; margin-top: .4rem; padding: .15rem .7rem; border: 2px solid var(--ui-warning); color: var(--ui-warning); border-radius: .4rem; font-weight: 700; }
.invoice-paid { border-color: var(--ui-success); color: var(--ui-success); }
.invoice-void { border-color: var(--ui-danger); color: var(--ui-danger); }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.4rem 0; }
.invoice-parties h2, .invoice-pay h2 { font-size: .9rem; color: var(--muted); margin-bottom: .3rem; }
.invoice-table { width: 100%; border-collapse: collapse; }
.invoice-table th, .invoice-table td { padding: .6rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.invoice-table td:last-child, .invoice-table thead th:last-child { text-align: right; white-space: nowrap; }
.invoice-table thead th { background: var(--mint); font-size: .9rem; }
.invoice-table tfoot th { text-align: right; font-weight: 500; color: var(--muted); }
.invoice-payment td { color: var(--ui-success); }
.invoice-due th, .invoice-due td { font-size: 1.2rem; font-weight: 700; color: var(--ink) !important; border-bottom: 0; }
.invoice-pay { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); }
.invoice-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .8rem; margin-top: .8rem; }
.invoice-method { padding: .9rem; border: 1px solid var(--line); border-radius: .6rem; }
.invoice-method h3 { font-size: 1rem; margin-bottom: .2rem; }
.invoice-account { font-size: 1.2rem; font-weight: 700; letter-spacing: .02em; }
.invoice-note { margin-top: 1.4rem; }

@media (max-width: 780px) {
  .room-card { flex-direction: column; }
  .room-card-media { flex-basis: auto; aspect-ratio: 1.8; min-height: 0; }
  .footer-grid, .invoice-parties { grid-template-columns: 1fr; }
  .site-nav > .button { margin-left: 0; }
}
@media print {
  .site-header, .site-footer, .site-notice, .no-print, .skip-link, .flash-list { display: none !important; }
  .invoice { border: 0; padding: 0; box-shadow: none; }
  body { font-size: 12pt; }
}

/* ---- Compact home cards ---- */
.destination-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); gap: .9rem; }
.destination-card { display: flex; flex-direction: column; }
.card-image { aspect-ratio: 4 / 3; }
.card-badge { position: absolute; left: .55rem; top: .55rem; padding: .12rem .5rem; border-radius: .4rem; background: #fff; color: var(--forest); font-size: .78rem; font-weight: 700; box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.card-content { padding: .7rem .8rem .8rem; gap: .15rem; }
.card-content h3 { font-size: 1.02rem; line-height: 1.3; }
.card-content .location-line { color: var(--muted); font-size: .85rem; }
.card-bottom { padding-top: .5rem; margin-top: .55rem; }
.card-price { font-size: 1.08rem; }
.card-price small { font-size: .75rem; }
.card-link { font-size: .85rem; color: var(--forest); }
.destination-section { margin-top: clamp(1.4rem, 3vw, 2.2rem); padding-bottom: 2.5rem; }
.section-heading h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.chips { gap: .35rem; }
.chip { min-height: 2.1rem; padding: .15rem .7rem; font-size: .88rem; font-weight: 600; }

.card-image .image-caption { font-size: .66rem; padding: .05rem .35rem; right: .4rem; bottom: .4rem; }

/* ---- Rest house header ---- */
.house-hero { display: grid; grid-template-columns: minmax(0, 28rem) minmax(0, 1fr); gap: 1.2rem; align-items: center; margin-bottom: 1.4rem; }
.house-hero-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: .8rem; background: var(--mint); }
.house-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.house-hero-copy h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: .2rem 0 .5rem; color: var(--ink); }
.house-hero-copy .location-line { color: var(--muted); font-size: .9rem; }
.house-quick { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .7rem; padding: 0; list-style: none; font-size: .88rem; }
.house-quick li { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .55rem; border: 1px solid var(--line); border-radius: .4rem; }
.house-quick a { color: var(--forest); font-weight: 600; }
.house-from strong { color: var(--ink); }
.house-lead { color: var(--muted); font-size: .95rem; margin-bottom: .8rem; }
.room-section .search-box { margin-bottom: .4rem; }

/* ---- Room card: photo strip + facilities ---- */
.room-card-media { flex: 0 0 clamp(12rem, 32%, 18rem); min-height: 12rem; }
.room-strip { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.room-strip::-webkit-scrollbar { display: none; }
.room-strip img { position: static; flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.room-photo-count { left: .5rem; right: auto; top: auto; bottom: .5rem; font-size: .75rem; pointer-events: none; }
.room-card-body { gap: .45rem; padding: .8rem .9rem; }
.room-card-body h3 { font-size: 1.12rem; }
.room-card-body h3 a:hover { color: var(--forest); }
.room-meta { display: flex; align-items: center; gap: .25rem; color: var(--muted); font-size: .86rem; }
.room-desc { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.room-facilities { gap: .3rem; }
.room-facilities li { display: inline-flex; align-items: center; gap: .2rem; padding: .08rem .45rem; font-size: .8rem; border-radius: .35rem; }
.room-facilities li .symbol { font-size: .95rem; color: var(--ui-success); }
.room-card-footer { padding-top: .4rem; }
.room-card-footer .card-price { font-size: 1.2rem; }

@media (max-width: 780px) {
  .house-hero { grid-template-columns: 1fr; gap: .8rem; }
  .house-hero-media { aspect-ratio: 16 / 9; }
  .room-card-media { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .hero.hero-crystal { padding-top: 1.2rem; }
  .hero-crystal h1 { font-size: 1.6rem; }
  .section-heading { align-items: flex-start; }
  .chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: .2rem; scrollbar-width: none; }
  .chip { flex: none; }
}
@media (max-width: 470px) {
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .card-content { padding: .55rem .6rem .65rem; }
  .card-content h3 { font-size: .92rem; }
  .card-content .location-line { font-size: .78rem; }
  .card-link { display: none; }
  .card-price { font-size: .98rem; }
  .room-card-footer { flex-direction: column; align-items: stretch; }
  .room-card-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ---- Colour pairing: primary (admin) + accent (admin) ---- */
:root { --brand-accent: #ffb400; --accent-soft: color-mix(in srgb, var(--brand-accent) 16%, #fff); }
.home-intro { background: linear-gradient(180deg, var(--mint) 0%, #fff 100%); }
.hero-crystal h1 { color: var(--ui-deep); }
.home-search .search-box, .search-box { border-color: var(--brand-accent); }
.card-badge { background: var(--brand-accent); color: #1a1d21; box-shadow: none; }
.result-count { background: var(--accent-soft); color: #5c4300; }
.house-from { background: var(--accent-soft); border-color: transparent !important; }
.site-nav > .nav-book { background: var(--brand-accent); color: #1a1d21; }
.site-nav > .nav-book:hover { background: color-mix(in srgb, var(--brand-accent) 85%, #000); }
.trust-row .symbol, .room-facilities li .symbol { color: var(--forest); }

/* ---- Booking page ---- */
.book-head { margin-bottom: 1rem; }
.book-head h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: .2rem 0 .55rem; color: var(--ui-deep); }
.book-steps { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; list-style: none; counter-reset: step; font-size: .85rem; }
.book-steps li { counter-increment: step; display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem .2rem .25rem; border-radius: 2rem; background: var(--mint); color: var(--ui-deep); font-weight: 600; }
.book-steps li::before { content: counter(step, bengali); display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--forest); color: #fff; font-size: .75rem; }
.checkout-grid { grid-template-columns: minmax(0, 1.75fr) minmax(16rem, 1fr); gap: 1rem; }
.booking-form { display: grid; gap: .9rem; }
.book-step { padding: clamp(.9rem, 2.4vw, 1.3rem); }
.book-step h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.08rem; margin-bottom: .8rem; color: var(--ink); }
.step-no { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; flex: none; border-radius: 50%; background: var(--forest); color: #fff; font-size: .85rem; }
.booking-form .form-grid { gap: .7rem .8rem; }
.booking-form input:not([type=radio]):not([type=checkbox]), .booking-form select, .booking-form textarea { border-radius: .5rem; }
.booking-form :is(input, select, textarea):focus { border-color: var(--forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest) 18%, transparent); outline: none; }
.payment-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .45rem; }
.payment-option { display: flex; align-items: center; gap: .45rem; padding: .6rem .7rem; border: 1.5px solid var(--line); border-radius: .6rem; background: #fff; font-weight: 600; cursor: pointer; }
.payment-option:has(input:checked) { border-color: var(--forest); background: var(--mint); color: var(--ui-deep); }
.payment-due { margin-top: .7rem; }
.pay-detail { display: grid; gap: .3rem; margin-top: .7rem; padding: .8rem .9rem; border-radius: .6rem; background: var(--accent-soft); border: 1px dashed color-mix(in srgb, var(--brand-accent) 70%, #000 0%); }
.pay-detail p { display: flex; justify-content: space-between; gap: 1rem; margin: 0; }
.pay-detail p span { color: var(--muted); }
.pay-detail p strong { font-size: 1.05rem; letter-spacing: .02em; }
.pay-detail p.muted { display: block; }
.pay-detail .button { justify-self: start; margin-top: .2rem; }
[data-transfer-fields] { margin-top: .8rem; }
.book-submit { display: grid; gap: .4rem; text-align: center; }
.book-submit .button { min-height: 3.1rem; font-size: 1.05rem; }
.book-summary { position: sticky; top: calc(var(--header-offset) + .8rem); overflow: hidden; padding: 0; }
.book-summary-photo { aspect-ratio: 16 / 9; background: var(--mint); }
.book-summary-photo img { width: 100%; height: 100%; object-fit: cover; }
.book-summary .summary-body { padding: .9rem 1rem 1rem; }
.book-summary .summary-house { font-weight: 700; color: var(--ui-deep); }
.book-summary .summary-total strong { color: var(--ui-deep); }
.book-bar { display: none; }

@media (max-width: 780px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-side { order: -1; }
  .book-summary { position: static; display: grid; grid-template-columns: 6.5rem 1fr; }
  .book-summary-photo { aspect-ratio: auto; min-height: 100%; }
  .book-summary .summary-body { padding: .7rem .8rem; }
  .book-summary .summary-lines { grid-template-columns: 1fr 1fr; gap: .1rem .8rem; font-size: .82rem; }
  .book-summary .summary-total { display: none; }
  .book-submit { display: none; }
  .has-book-bar main { padding-bottom: 4.6rem; }
  .book-bar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
    padding: .6rem var(--ui-gutter) calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(16 24 40 / .08); }
  .book-bar small { display: block; color: var(--muted); font-size: .75rem; }
  .book-bar strong { font-size: 1.2rem; color: var(--ui-deep); }
  .book-bar .button { flex: 1; max-width: 15rem; min-height: 2.9rem; }
  .booking-form .form-grid { grid-template-columns: 1fr 1fr; }
  .booking-form .field-wide { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .booking-form .form-grid > .field:not(.field-wide):is(:has(textarea), :has([type=file]), :has([type=email])) { grid-column: 1 / -1; }
  .payment-options { grid-template-columns: 1fr 1fr; }
}

/* ---- Room photo slider ---- */
.room-slider { display: grid; gap: .6rem; }
.slider-stage { position: relative; overflow: hidden; border-radius: .9rem; background: var(--mint); }
.slider-track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 16 / 10; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline-offset: -3px; }
.slide { flex: 0 0 100%; scroll-snap-align: center; overflow: hidden; }
.room-gallery .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); opacity: .75; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), opacity .6s ease; }
.room-gallery .slide.is-active img { transform: scale(1); opacity: 1; }
.slider-btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; translate: 0 -50%; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 1.7rem; line-height: 1; box-shadow: 0 4px 14px rgb(0 0 0 / .18); transition: transform var(--ui-motion), background var(--ui-motion); }
.slider-btn:hover { transform: scale(1.08); background: #fff; }
.slider-prev { left: .7rem; }
.slider-next { right: .7rem; }
.slider-dots { position: absolute; left: 50%; bottom: .75rem; z-index: 2; display: flex; gap: .35rem; translate: -50% 0; }
.slider-dots button { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 1rem; background: rgb(255 255 255 / .7); transition: width .3s ease, background .3s ease; }
.slider-dots button[aria-current] { width: 1.4rem; background: var(--brand-accent); }
.slider-count { position: absolute; top: .7rem; right: .7rem; z-index: 2; padding: .1rem .55rem; border-radius: 1rem; background: rgb(255 255 255 / .92); font-size: .8rem; font-weight: 700; }
.slider-thumbs { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .15rem; }
.slider-thumbs button { flex: 0 0 4.6rem; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: .5rem; background: var(--mint); opacity: .65; transition: opacity var(--ui-motion), border-color var(--ui-motion); }
.slider-thumbs button[aria-current], .slider-thumbs button:hover { opacity: 1; border-color: var(--forest); }
.slider-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.room-lightbox[open] { animation: lightbox-in .25s ease; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) { .room-gallery .slide img { transition: none; transform: none; opacity: 1; } }

/* ---- Staff workspace: tabs, deposits, finance ---- */
.metrics-grid { gap: .6rem; }
.metric { border-radius: .8rem; }
.metric dd { color: var(--ui-deep); }
.deposit-layout { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: 1rem; }
.deposit-form { position: sticky; top: calc(var(--header-offset) + .8rem); display: grid; gap: .8rem; padding: 1.1rem; }
.deposit-form h2, .finance-panel h2 { font-size: 1.1rem; }
.deposit-form form { display: grid; gap: .8rem; }
.deposit-account div { font-weight: 600; line-height: 1.55; }
.deposit-list { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.deposit-item { display: grid; gap: .2rem; padding: .8rem .9rem; border: 1px solid var(--line); border-left: 4px solid var(--brand-accent); border-radius: .6rem; }
.deposit-verified { border-left-color: var(--ui-success); }
.deposit-rejected { border-left-color: var(--ui-danger); opacity: .8; }
.deposit-main { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.deposit-amount { font-size: 1.15rem; color: var(--ui-deep); }
.deposit-status { padding: .05rem .55rem; border-radius: 1rem; background: var(--accent-soft); font-size: .8rem; font-weight: 700; }
.deposit-verified .deposit-status { background: var(--ui-success-soft); color: var(--ui-success); }
.deposit-rejected .deposit-status { background: var(--ui-danger-soft); color: var(--ui-danger); }
.deposit-review { color: var(--ui-danger); }
.deposit-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.deposit-review-form { display: flex; flex-wrap: wrap; gap: .4rem; flex: 1; }
.deposit-review-form input { flex: 1 1 12rem; min-height: 2.3rem; padding: .3rem .6rem; border: 1px solid var(--ui-input-border); border-radius: .45rem; }
.empty-note { padding: 1rem 0; }
.finance-panel { margin-bottom: 1rem; }
.finance-table { font-size: .88rem; }
.finance-table th, .finance-table td { white-space: nowrap; text-align: right; }
.finance-table th[scope=row], .finance-table thead th:first-child { text-align: left; }
.finance-table thead th { background: var(--mint); }
.finance-table tfoot :is(th, td) { font-weight: 700; border-top: 2px solid var(--forest); }
.finance-due { color: var(--ui-danger); }

/* ---- Site-wide polish ---- */
:is(input, select, textarea):focus-visible { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest) 18%, transparent); }
.table-scroll { -webkit-overflow-scrolling: touch; }
.page-heading h1, .flow-heading h1 { color: var(--ui-deep); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.receipt-layout .surface, .payment-panel { border-radius: .9rem; }

@media (max-width: 900px) {
  .deposit-layout { grid-template-columns: 1fr; }
  .deposit-form { position: static; }
}
@media (max-width: 600px) {
  .slider-btn { width: 2.2rem; height: 2.2rem; font-size: 1.4rem; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .deposit-review-form .button { flex: 1; }
}
@media print {
  .ws-sidebar, .filters, .export-button { display: none !important; }
  .finance-table { font-size: 9pt; }
}

/* Booking: rest house, then room */
.booking-form select:disabled { background-color: var(--mint); color: var(--muted); cursor: not-allowed; }
@media (max-width: 780px) {
  .book-summary[data-empty] { display: none; }
  .book-summary:has([data-summary-photo-wrap][hidden]) { grid-template-columns: 1fr; }
}

/* ---- Staff layout: same left menu as the admin panel ---- */
.workspace .site-footer { display: none; }
.ws-layout { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: calc(100vh - var(--header-offset)); }
.ws-sidebar { position: sticky; top: var(--header-offset); align-self: start; height: calc(100vh - var(--header-offset)); overflow-y: auto; padding: 1rem .7rem 2rem; border-right: 1px solid var(--line); background: #fafbfc; }
.ws-user { display: grid; margin: 0 .6rem .6rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); line-height: 1.35; }
.ws-user strong { font-size: .92rem; }
.ws-user small { color: var(--muted); font-size: .76rem; }
.ws-main { min-width: 0; }
.ws-main .shell { width: min(72rem, 100% - 2.6rem); }
.ws-sidebar .ops-menu { display: grid; gap: .1rem; }
.ws-sidebar .ops-menu-group { padding: .55rem 0 .15rem; }
.ws-sidebar .ops-menu-title { margin: 0 .6rem .3rem; font-size: .72rem; font-weight: 700; color: var(--muted); }
.ws-sidebar ul { margin: 0; padding: 0; list-style: none; }
.ws-sidebar .ops-menu a { position: relative; display: flex; align-items: center; gap: .65rem; min-height: 2.35rem; padding: .3rem .6rem; border-radius: .55rem; color: var(--ink); font-size: .9rem; font-weight: 500; }
.ws-sidebar .ops-menu a:hover { background: var(--mint); color: var(--forest); }
.ws-sidebar .ops-menu a[aria-current] { background: var(--mint); color: var(--forest); font-weight: 700; }
.ws-sidebar .ops-menu a[aria-current]::before { content: ""; position: absolute; inset-block: .45rem; left: -.7rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--forest); }
.ws-sidebar .ops-menu-icon { display: grid; place-items: center; width: 1.3rem; color: var(--muted); }
.ws-sidebar .ops-menu a:is(:hover, [aria-current]) .ops-menu-icon { color: var(--forest); }
.ws-sidebar .ops-menu-icon .symbol { font-size: 1.15rem; }
.ws-sidebar .ops-menu-label { flex: 1; }
.ws-sidebar .ops-badge { min-width: 1.4rem; padding: 0 .4rem; border-radius: 1rem; background: var(--brand-accent); color: #1a1d21; font-size: .72rem; font-weight: 700; text-align: center; }

@media (max-width: 900px) {
  .ws-layout { grid-template-columns: 1fr; min-height: 0; }
  .ws-sidebar { position: sticky; z-index: 5; height: auto; padding: .45rem .7rem; border-right: 0; border-bottom: 1px solid var(--line); background: #fff; }
  .ws-user, .ws-sidebar .ops-menu-title { display: none; }
  .ws-sidebar .ops-menu { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; }
  .ws-sidebar .ops-menu-group, .ws-sidebar ul { display: contents; }
  .ws-sidebar li { flex: none; }
  .ws-sidebar .ops-menu a { min-height: 2.1rem; padding: .2rem .7rem; border: 1px solid var(--line); border-radius: 2rem; white-space: nowrap; font-size: .82rem; }
  .ws-sidebar .ops-menu a[aria-current] { border-color: var(--forest); }
  .ws-sidebar .ops-menu a[aria-current]::before { display: none; }
  .ws-main .shell { width: min(72rem, 100% - 1.6rem); }
}

/* Several accounts for one payment method */
.pay-account { display: grid; gap: .3rem; }
.pay-account + .pay-account { margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line); }
.pay-account-label { margin: 0; font-weight: 700; color: var(--ui-deep); font-size: .9rem; }
.invoice-method .pay-account + .pay-account { border-top-color: var(--line); }

/* Home banner photo (admin upload) */
.hero.hero-banner { display: grid; align-content: end; min-height: clamp(15rem, 34vw, 24rem); margin-top: 1rem; padding: clamp(1.4rem, 4vw, 2.6rem);
  border-radius: 1.1rem; overflow: hidden; background: linear-gradient(180deg, rgb(0 0 0 / .05) 30%, rgb(0 0 0 / .6)), var(--hero) center / cover no-repeat; }
.hero-banner h1 { color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / .35); max-width: 20ch; }
.hero-banner .hero-text { color: rgb(255 255 255 / .92); }
.hero-banner + .home-search { margin-top: -1.6rem; position: relative; z-index: 2; padding-inline: clamp(.6rem, 3vw, 2rem); }
.home-intro:has(.hero-banner) { background: none; }

/* Rest house banner slider */
.house-hero .room-slider { gap: 0; }
.house-hero .slider-track { aspect-ratio: 16 / 10; }
.house-hero .slider-stage { border-radius: .8rem; }

/* Room facilities as tiles */
.room-detail-facilities { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: .5rem; margin: .4rem 0 0; padding: 0; }
.room-detail-facilities li { align-items: center; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: .6rem; background: #fff; font-size: .9rem; font-weight: 500; transition: border-color var(--ui-motion), background var(--ui-motion); }
.room-detail-facilities li:hover { border-color: var(--forest); background: var(--mint); }
.room-detail-facilities .symbol { margin: 0; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--mint); color: var(--forest); font-size: 1rem; }
/* Rest house banner slider: sit in the header grid like the single cover photo did */
.house-hero .room-gallery { grid-area: auto; }
.house-hero .room-slider.house-hero-media { aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; }
.house-hero .room-slider .slide img { position: static; }

/* ---- Photos fill their frame edge to edge (centred). Tapping a slider photo opens the whole photo. ---- */
.fit-frame { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--mint); }
.fit-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide { position: relative; overflow: hidden; background: var(--mint); }
.room-gallery .slide img { object-fit: cover; object-position: center; }
.room-strip .fit { position: relative; flex: 0 0 100%; overflow: hidden; scroll-snap-align: start; background: var(--mint); }
.room-strip .fit img { width: 100%; height: 100%; object-fit: cover; }
.book-summary-photo img, .slider-thumbs img { object-fit: cover; }
.room-lightbox img { object-fit: contain; }
.image-caption, .room-photo-count, .card-badge, .slider-count, .slider-btn, .slider-dots { z-index: 2; }

/* Home banner: the photo fills the banner, with a gentle shade under the headline */
.hero.hero-banner { position: relative; isolation: isolate;
  background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / .55)), var(--hero) center / cover no-repeat; }


/* ===== Refresh: scenic hero, glass search, lifted cards, brand footer ===== */
.site-header { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgb(16 24 40 / .04); }
.home-intro { position: relative; isolation: isolate; padding: clamp(2.2rem, 7vw, 5.2rem) 0 clamp(1.4rem, 3vw, 2.4rem); color: #fff; background: #10364a var(--hero, url("../img/kaptai-lake.b786924b9176.webp")) center 62% / cover no-repeat; }
.home-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(4 24 40 / .66), rgb(4 24 40 / .32) 55%, rgb(4 24 40 / .62)); }
.home-intro .hero.hero-crystal { padding: 0 0 clamp(1rem, 2.4vw, 1.6rem); }
.home-intro .hero-crystal h1 { max-width: 24ch; color: #fff; letter-spacing: -.01em; text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.home-intro .hero-crystal .hero-text { color: rgb(255 255 255 / .92); }
.home-intro .search-box { border: 0; background: rgb(255 255 255 / .97); box-shadow: 0 20px 44px rgb(0 0 0 / .28); }
.home-intro .trust-row { color: rgb(255 255 255 / .92); }
.home-intro .trust-row .icon, .home-intro .trust-row svg, .home-intro .trust-row .symbol { color: var(--brand-accent); }
.destination-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(16 24 40 / .05); }
.destination-card:hover, .destination-card:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 32px rgb(16 24 40 / .12); border-color: color-mix(in srgb, var(--forest) 35%, var(--line)); }
.card-image img { transition: transform .5s ease; }
.destination-card:hover .card-image img { transform: scale(1.05); }
.card-link { transition: transform var(--ui-motion); }
.destination-card:hover .card-link { transform: translateX(3px); }
.site-footer { margin-top: clamp(2rem, 5vw, 3.5rem); background: var(--ui-deep); color: rgb(255 255 255 / .8); border: 0; }
.site-footer .brand strong, .footer-grid h2 { color: #fff; }
.site-footer .brand small, .site-footer .muted { color: rgb(255 255 255 / .7); }
.site-footer .brand img { padding: 2px; border-radius: 50%; background: #fff; }
.site-footer nav a, .footer-grid address a, .footer-grid address span { color: rgb(255 255 255 / .78); }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .14); font-size: .85rem; color: rgb(255 255 255 / .6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; }
.footer-credit { color: #fff; font-weight: 700; }
@media (max-width: 560px) {
  .home-intro { padding-top: 1.6rem; }
  .destination-grid { grid-template-columns: 1fr; gap: .7rem; }
  .destination-card { flex-direction: row; }
  .destination-card .card-image { flex: 0 0 40%; aspect-ratio: auto; min-height: 7.6rem; }
  .destination-card .card-image img { position: absolute; inset: 0; }
  .destination-card .card-content { padding: .65rem .75rem; }
  .destination-card .card-image .image-caption { display: none; }
}
@media (prefers-reduced-motion: reduce) { .card-image img, .card-link { transition: none; } }
.search-box { border-width: 2px; }
.site-footer { margin-top: 1.6rem; }

/* ===== Form readability: dark typed text, light hints, clear focus ===== */
:root { --field-text: #0f172a; --field-hint: #8b949e; color-scheme: light; }
.search-field input { color: var(--field-text); font-weight: 600; }
.search-field input::placeholder { font-weight: 400; }
input, select, textarea { caret-color: var(--forest); }
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { -webkit-text-fill-color: var(--field-text); box-shadow: 0 0 0 100px #fff inset; }
:is(input, select, textarea):disabled { color: #475569; -webkit-text-fill-color: #475569; opacity: 1; }
/* Dropdowns: dark, semi-bold chosen value; plain dark options; readable locked state */
select, .field select, .inline-form select, .booking-form select { color: var(--field-text); font-weight: 600; }
select option { color: var(--field-text); background: #fff; font-weight: 400; }
select:disabled, .field select:disabled, .booking-form select:disabled { color: #475569; -webkit-text-fill-color: #475569; background-color: #f1f5f9; border-style: dashed; opacity: 1; cursor: not-allowed; }

/* ===== Photos: uploads are converted to 4:3 and every frame is 4:3, so each photo fills its frame ===== */
.fit-contain, .room-gallery .slide { position: relative; display: block; overflow: hidden; background: #e8edf2; }
.fit-contain img, .room-gallery .slide img, .room-strip img { width: 100%; height: 100%; object-fit: cover !important; }
.card-image > .fit-contain, .house-hero-media > .fit-contain { position: absolute; inset: 0; }
.room-strip > .fit { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.room-gallery .slide img { transform: none; opacity: 1; }
.room-card-media { aspect-ratio: 4 / 3 !important; min-height: 0 !important; }
@media (min-width: 781px) { .room-card-media { align-self: flex-start; } }
.house-hero-media, .slider-track, .house-hero .slider-track, .room-gallery-cover { aspect-ratio: 4 / 3; }

/* ===== Rest house page: gallery on top (Booking.com-style grid on desktop, swipe on mobile) ===== */
.house-hero { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
.house-hero-media.house-gallery { aspect-ratio: auto; overflow: visible; background: none; }
.house-hero-copy { padding: clamp(.9rem, 2vw, 1.3rem); border: 1px solid var(--line); border-radius: .9rem; background: #fff; }
@media (min-width: 781px) {
  /* 5+ photos: big + 2x2 (container 8:3 -> every tile 4:3) */
  .house-gallery .slider-track { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .45rem; aspect-ratio: 8 / 3; height: auto; overflow: hidden; background: #fff; }
  .house-gallery .slide { cursor: zoom-in; }
  .house-gallery .slide:first-child { grid-row: span 2; }
  .house-gallery .slide:nth-child(n+6) { display: none; }
  /* 3-4 photos: big + 2 stacked (container 2:1 -> tiles 4:3) */
  .house-gallery .slider-track:has(> .slide:nth-child(3):last-child), .house-gallery .slider-track:has(> .slide:nth-child(4):last-child) { grid-template-columns: 2fr 1fr; aspect-ratio: 2 / 1; }
  .house-gallery .slider-track:has(> .slide:nth-child(4):last-child) > .slide:nth-child(4) { display: none; }
  /* 2 photos: side by side */
  .house-gallery .slider-track:has(> .slide:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .house-gallery .slider-track:has(> .slide:nth-child(2):last-child) > .slide:first-child { grid-row: auto; }
  /* 1 photo (or none): photo beside the details */
  .house-hero:not(:has(.slide:nth-child(2))) { grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); align-items: center; }
  .house-hero:not(:has(.slide:nth-child(2))) .slider-track { display: flex; aspect-ratio: 4 / 3; }
  .house-hero:not(:has(.slide:nth-child(2))) .house-hero-copy { display: block; }
  .house-gallery .slide img { transition: transform .45s ease; }
  .house-gallery .slide:hover img { transform: scale(1.04); }
  .house-gallery .slide[data-more]::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgb(8 20 32 / .5); color: #fff; font-size: 1.25rem; font-weight: 700; }
  .house-gallery .slider-btn, .house-gallery .slider-count { display: none; }
  .house-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1.5rem; align-items: center; }
  .house-hero-copy > :not(.button-row) { grid-column: 1; }
  .house-hero-copy > .button-row { grid-column: 2; grid-row: 1 / span 4; }
}

/* ===== গন্তব্য suggestions: icon, bold name, clear highlight ===== */
.search-destination > .destination-popover { padding: .45rem; border: 0; border-radius: 1rem; max-height: min(22rem, 52vh); box-shadow: 0 20px 48px rgb(16 24 40 / .22), 0 0 0 1px rgb(16 24 40 / .06); }
.destination-option { grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: .75rem; align-items: center; padding: .55rem .6rem; border-radius: .7rem; transition: background var(--ui-motion); }
.destination-option::before { content: "location_on"; grid-row: span 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .65rem; background: var(--mint); color: var(--forest); font: 400 1.35rem/1 "Booking Symbols"; font-feature-settings: "liga"; transition: background var(--ui-motion), color var(--ui-motion); }
.destination-option strong { color: var(--field-text); font-size: 1rem; line-height: 1.3; }
.destination-option span { font-size: .85rem; line-height: 1.3; }
.destination-option span:empty { display: none; }
.destination-option:hover, .destination-option[aria-selected="true"] { background: color-mix(in srgb, var(--forest) 8%, #fff); }
.destination-option:hover::before, .destination-option[aria-selected="true"]::before { background: var(--forest); color: #fff; }
.home-intro { z-index: 3; }
.card-book { font-weight: 400; }

/* ===== Booking checks: compact messages that read well on phones ===== */
.errorlist { list-style: none; padding: 0; margin: .1rem 0 0; font-size: .84rem; line-height: 1.4; }
.errorlist li + li { margin-top: .15rem; }
.field-invalid :is(input, select, textarea) { border-color: var(--ui-danger); background-color: color-mix(in srgb, var(--ui-danger-soft) 40%, #fff); }
.booking-form > .notice-error { padding: .6rem .8rem; font-size: .9rem; line-height: 1.45; }
.booking-form > .notice-error .errorlist { color: inherit; font-size: inherit; margin: 0; }
.stay-check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: .45rem; margin: 0; padding: .5rem .7rem; border-radius: .55rem; font-size: .86rem; line-height: 1.4; background: var(--ui-success-soft); color: var(--ui-success); }
.stay-check::before { content: "✓"; flex: none; font-weight: 700; }
.stay-check[data-state="error"] { background: var(--ui-danger-soft); color: var(--ui-danger); }
.stay-check[data-state="error"]::before { content: "!"; display: grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--ui-danger); color: #fff; font-size: .75rem; }
html:has(body.has-book-bar) { scroll-padding-bottom: 5.5rem; }
@media (max-width: 420px) {
  .stay-check, .booking-form > .notice-error { font-size: .82rem; }
  .errorlist { font-size: .8rem; }
}

/* ===== App download link in the menu ===== */
.site-nav > a.nav-app { gap: .35rem; color: var(--forest); }
.site-nav > a.nav-app svg { flex: none; }
