:root {
  --primary: #16372f;
  --primary-dark: #0e241e;
  --cream: #fffaf2;
  --linen: #f8f4ed;
  --bronze: #b2783f;
  --bronze-dark: #80511e;
  --ink: #20251f;
  --muted: #5d665d;
  --border: #d8c8b0;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
[hidden] { display: none !important; }
body > main { flex: 1 0 auto; }
body.photo-dialog-open, body.mobile-menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 250, 242, 0.95);
  backdrop-filter: blur(12px);
}
.nav-shell { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand, h1, h2, .footer-brand { font-family: Georgia, "Times New Roman", serif; }
.brand { font-size: 1.35rem; font-weight: 700; text-decoration: none; color: var(--primary); }
.nav-links { display: flex; gap: 24px; font-size: .95rem; font-weight: 650; color: #3f493f; }
.nav-links a, .footer-links a { text-decoration: none; }
.mobile-menu { display: none; }
.booking-menu { position: relative; }
.booking-menu summary { list-style: none; cursor: pointer; }
.booking-menu summary::-webkit-details-marker { display: none; }
.booking-menu[open] .booking-menu-icon { transform: rotate(180deg); }
.booking-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  width: min(320px, calc(100vw - 32px));
  display: grid;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 18px 42px rgba(28, 38, 31, .18);
  padding: 8px;
}
.booking-menu-panel a {
  display: grid;
  gap: 2px;
  border-radius: 6px;
  color: var(--primary-dark);
  padding: 10px 12px;
  text-decoration: none;
}
.booking-menu-panel a:hover, .booking-menu-panel a:focus-visible { background: var(--linen); outline: none; }
.booking-menu-panel span { font-weight: 850; }
.booking-menu-panel small { color: var(--muted); font-weight: 700; }
.mobile-menu summary {
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--cream);
  color: var(--primary-dark);
  cursor: pointer;
  display: grid;
  list-style: none;
  place-items: center;
  position: relative;
  z-index: 45;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-icon {
  inline-size: 22px;
  block-size: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-menu[open] summary { opacity: 0; pointer-events: none; }
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  border: 0;
  background: rgba(8, 20, 16, .62);
  opacity: 0;
  padding: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.mobile-menu[open] .mobile-menu-backdrop { opacity: 1; pointer-events: auto; }
.mobile-menu-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: min(340px, calc(100vw - 42px));
  min-width: 0;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 22px;
  border-left: 1px solid var(--border);
  background: var(--cream);
  box-shadow: -24px 0 48px rgba(8, 20, 16, .22);
  overflow-y: auto;
  padding: 22px;
  transform: translateX(110%);
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}
.mobile-menu[open] .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--primary); font-weight: 900; }
.mobile-menu-close-button {
  inline-size: 42px;
  block-size: 42px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--linen);
  color: var(--primary-dark);
  cursor: pointer;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}
.mobile-menu-links, .mobile-booking-links { display: grid; gap: 10px; }
.mobile-menu-links a, .mobile-booking-links a {
  display: grid;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--linen);
  color: var(--primary-dark);
  padding: 13px 14px;
  text-decoration: none;
}
.mobile-menu-links a { font-weight: 850; }
.mobile-booking-links .eyebrow { margin-top: 6px; }
.mobile-booking-links span { font-weight: 850; }
.mobile-booking-links small { color: var(--muted); font-weight: 700; }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}
.button-primary { background: #174f43; color: var(--white); }
.button-secondary { background: var(--cream); color: var(--primary-dark); border-color: #d9b987; }
.dark-text { color: var(--primary-dark); }
.button-icon {
  inline-size: 18px;
  block-size: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.button-slide:hover .button-icon { transform: translateY(2px); }
.hero { position: relative; min-height: calc(100vh - 64px); overflow: hidden; background: var(--primary-dark); color: var(--cream); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,34,28,.88), rgba(18,34,28,.55), rgba(18,34,28,.14)); }
.hero-content { position: relative; z-index: 1; min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; padding: 88px 0; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: .98; color: var(--cream); }
.hero p { max-width: 720px; font-size: 1.25rem; line-height: 1.8; color: #f4eadb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { margin: 0 0 12px; color: var(--bronze-dark); font-size: .82rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: #d9b987; }
.band { padding: 72px 0; background: var(--linen); }
.band:focus { outline: none; }
.band:focus-visible { outline: 3px solid #d9b987; outline-offset: -6px; }
#property { scroll-margin-top: 82px; }
.band.light { background: var(--cream); }
.band.cream { background: var(--linen); }
.first-band { min-height: 58vh; }
.section-slide-focus { animation: section-slide-focus .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes section-slide-focus {
  0% { opacity: .74; transform: translateY(24px); }
  58% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button-icon { transition: none; }
  .section-slide-focus { animation: none; }
  .mobile-menu-backdrop, .mobile-menu-panel { transition: none; }
}
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(2.7rem, 6vw, 4.8rem); line-height: 1.02; color: var(--primary); }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; color: var(--primary); }
h3 { margin: 0 0 10px; font-size: 1.25rem; color: var(--primary); }
p { color: var(--muted); line-height: 1.75; }
.section-heading { max-width: 760px; }
.section-heading > p { font-size: 1.12rem; }
.row-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.cards { display: grid; gap: 18px; margin-top: 28px; }
.amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { border: 1px solid var(--border); border-radius: 8px; background: var(--cream); padding: 22px; box-shadow: 0 12px 30px rgba(28, 38, 31, .06); }
.amenity-card { display: grid; align-content: start; gap: 10px; }
.amenity-icon {
  width: 34px;
  height: 34px;
  color: var(--bronze-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.listing-card { display: flex; flex-direction: column; gap: 16px; }
.listing-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.listing-card-body { display: grid; gap: 12px; }
.listing-card-body h3, .listing-card-body p { margin: 0; }
.listing-card-footer { display: grid; gap: 12px; margin-top: auto; }
.listing-card-footer .button { width: 100%; }
.listing-type, .rating { margin: 0; font-size: .9rem; font-weight: 800; color: var(--bronze-dark); }
.host-profile-card, .host-about-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
}
.host-profile-card img, .host-about-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.host-profile-card p, .host-about-card p, .host-about-card h2 { padding-inline: 24px; }
.host-profile-card p { margin: 0; padding-block: 22px; color: var(--primary-dark); font-size: 1.15rem; line-height: 1.8; }
.host-about-card h2 { padding-top: 22px; }
.host-about-card p { padding-bottom: 22px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.preview-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-card { margin: 0; overflow: hidden; border-radius: 8px; background: var(--cream); border: 1px solid var(--border); }
.photo-open { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; cursor: zoom-in; text-align: left; font: inherit; }
.photo-open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.photo-open:hover img, .photo-open:focus-visible img { transform: scale(1.035); }
.photo-open:focus-visible { outline: 3px solid #d9b987; outline-offset: -3px; }
.photo-card-caption { display: block; padding: 12px 14px; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.photo-dialog[hidden] { display: none !important; }
.photo-dialog { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.photo-dialog-backdrop { position: absolute; inset: 0; background: rgba(8, 20, 16, .92); }
.photo-dialog-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
}
.photo-dialog-panel img {
  width: 100%;
  height: min(72vh, 760px);
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 8px;
  background: #081410;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}
.photo-dialog-panel p {
  justify-self: center;
  max-width: 760px;
  margin: 0;
  border-radius: 8px;
  background: var(--cream);
  color: var(--primary-dark);
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}
.photo-dialog-close {
  position: absolute;
  inset: -12px -12px auto auto;
  inline-size: 44px;
  block-size: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  color: var(--primary-dark);
  cursor: pointer;
  font: inherit;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
}
.photo-dialog-close-icon {
  inline-size: 20px;
  block-size: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-dialog-close:focus-visible { outline: 3px solid #d9b987; outline-offset: 2px; }
.gallery-section { margin-top: 44px; }
.quote-panel { border-radius: 8px; background: var(--primary); color: var(--cream); padding: 28px; }
.quote-panel h2, .quote-panel p { color: var(--cream); }
.details { margin-top: 28px; display: grid; gap: 12px; border: 1px solid var(--border); border-radius: 8px; padding: 22px; background: var(--linen); }
.details div { display: flex; justify-content: space-between; gap: 18px; }
.details dt { font-weight: 800; }
.details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; text-align: right; }
.admin-panel { margin: 24px 0; border: 1px solid var(--border); border-radius: 8px; background: var(--cream); padding: 18px; }
.status-line { margin: 0 0 8px; }
.admin-cms-page { min-height: 72vh; }
.admin-cms-shell { max-width: 1260px; }
.admin-cms-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.admin-cms-header p { max-width: 760px; }
.admin-cms-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cms-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.cms-tab {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--cream);
  color: var(--primary-dark);
  cursor: pointer;
  font-weight: 800;
  padding: 0 14px;
}
.cms-tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: var(--cream); }
.cms-message {
  position: fixed;
  inset: 18px auto auto 50%;
  z-index: 40;
  width: min(720px, calc(100% - 32px));
  margin: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 12px 12px 12px 18px;
  background: var(--cream);
  color: var(--primary-dark);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  font-weight: 700;
  overflow-wrap: anywhere;
  box-shadow: 0 18px 42px rgba(28, 38, 31, .18);
  transform: translateX(-50%);
}
.cms-message[hidden] { display: none !important; }
.cms-message-text { min-width: 0; padding-top: 3px; }
.cms-message-close {
  inline-size: 34px;
  block-size: 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
}
.cms-message-close:hover, .cms-message-close:focus-visible {
  background: rgba(21, 83, 70, .09);
  border-color: currentColor;
}
.cms-message[data-tone="success"] { border-color: #6f9f76; background: #edf7ef; }
.cms-message[data-tone="error"] { border-color: #b65a50; background: #fff1ef; }
.cms-message[data-tone="warning"] { border-color: #c99a47; background: #fff7e6; }
.cms-message[data-tone="info"] { border-color: #8ca0a0; background: #eff5f4; }
.cms-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 24px; align-items: start; }
.cms-editor, .cms-preview { min-width: 0; }
.cms-preview {
  position: sticky;
  top: 88px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  padding: 20px;
  box-shadow: 0 12px 30px rgba(28, 38, 31, .06);
}
.cms-preview h2 { font-size: 1.85rem; }
.cms-preview ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.65; }
.cms-preview-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); margin-top: 14px; }
.cms-section-heading { margin-bottom: 20px; }
.cms-section-heading h2 { font-size: 2.1rem; }
.cms-block, .cms-item, .cms-import-panel, .cms-note {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  padding: 20px;
  margin: 16px 0;
}
.cms-block > h3, .cms-item h3 { margin-top: 0; }
.cms-block > .cms-field, .cms-field-grid + .cms-field { margin-top: 18px; }
.cms-block-heading, .cms-item-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.cms-block-heading p { margin: 4px 0 0; }
.cms-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cms-list { display: grid; gap: 14px; }
.cms-field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); column-gap: 16px; row-gap: 22px; align-items: start; }
.cms-item .cms-field-grid { grid-template-columns: 1fr; }
.cms-item > .cms-field { margin-top: 22px; }
.cms-field, .cms-check {
  display: grid;
  gap: 9px;
  min-width: 0;
  color: var(--primary-dark);
  font-weight: 800;
}
.cms-field span { overflow-wrap: anywhere; line-height: 1.25; }
.cms-field input,
.cms-field textarea,
.cms-field select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}
.cms-field input[type="file"] { background: var(--cream); }
.cms-field textarea { resize: vertical; }
.cms-field small, .cms-check span { color: var(--muted); font-weight: 600; line-height: 1.5; }
.cms-check { align-content: center; grid-template-columns: auto minmax(0, 1fr); align-items: center; border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; background: var(--linen); }
.cms-check input { width: 18px; height: 18px; }
.cms-thumb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.cms-thumb-button, .cms-thumb-option, .cms-photo-button {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--linen);
  color: var(--primary-dark);
  text-align: left;
  font: inherit;
  font-weight: 750;
  overflow: hidden;
}
.cms-thumb-button, .cms-photo-button { cursor: pointer; padding: 0; }
.cms-thumb-button[aria-pressed="true"], .cms-photo-button[aria-selected="true"] { outline: 3px solid #d9b987; border-color: var(--primary); }
.cms-thumb-button img, .cms-thumb-option img, .cms-photo-button img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cms-thumb-button span, .cms-thumb-option span, .cms-photo-button span { display: block; padding: 9px 10px; overflow-wrap: anywhere; }
.cms-thumb-option { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px; }
.cms-thumb-option img, .cms-thumb-option span { grid-column: 1 / -1; }
.cms-image-picker { display: grid; gap: 16px; }
.cms-image-picker-heading { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.cms-image-picker-heading h3 { margin-bottom: 6px; }
.cms-image-picker-heading p { margin: 0; }
.cms-image-picker-layout {
  display: grid;
  gap: 14px;
  align-items: start;
}
.cms-media-selected { width: min(100%, 420px); margin: 0; min-width: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--linen); }
.cms-media-selected img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cms-media-selected figcaption { padding: 10px 12px; color: var(--muted); font-weight: 700; overflow-wrap: anywhere; }
.cms-image-library { display: grid; gap: 12px; min-width: 0; }
.cms-image-search { margin: 0; }
.cms-image-option-strip {
  display: flex;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 4px 4px 14px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x proximity;
}
.cms-image-option {
  flex: 0 0 clamp(150px, 28vw, 210px);
  min-width: 150px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--linen);
  color: var(--primary-dark);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  text-align: left;
  font: inherit;
  font-weight: 800;
  scroll-snap-align: start;
}
.cms-image-option[aria-selected="true"] { outline: 3px solid #d9b987; border-color: var(--primary); }
.cms-image-option img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cms-image-option span { display: block; padding: 8px; font-size: .82rem; line-height: 1.25; overflow-wrap: anywhere; }
.cms-photo-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  padding: 18px;
  margin: 16px 0;
}
.cms-photo-toolbar p { margin: 4px 0 0; }
.cms-photo-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 240px); gap: 12px; margin: 16px 0; }
.cms-photo-manager { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 18px; align-items: start; }
.cms-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; min-width: 0; }
.cms-photo-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--primary-dark);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  text-align: left;
  font: inherit;
  box-shadow: 0 10px 22px rgba(28, 38, 31, .05);
}
.cms-photo-card[aria-selected="true"] { outline: 3px solid #d9b987; border-color: var(--primary); }
.cms-photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cms-photo-card-meta { display: grid; gap: 3px; padding: 10px 12px; }
.cms-photo-card-meta strong, .cms-photo-card-meta small { min-width: 0; overflow-wrap: anywhere; }
.cms-photo-card-meta small { color: var(--muted); font-weight: 700; }
.cms-empty-state { border: 1px dashed var(--border); border-radius: 8px; background: var(--cream); padding: 18px; }
.cms-photo-detail {
  position: sticky;
  top: 88px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(28, 38, 31, .06);
}
.cms-photo-detail-header { display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: space-between; align-items: start; min-width: 0; }
.cms-photo-detail-header > div { flex: 1 1 min(100%, 220px); min-width: 0; }
.cms-photo-detail-header h3 { margin: 0; overflow-wrap: anywhere; }
.cms-photo-pill { max-width: 100%; border: 1px solid var(--border); border-radius: 999px; background: var(--linen); color: var(--primary-dark); font-size: .82rem; font-weight: 850; padding: 5px 9px; overflow-wrap: anywhere; text-align: center; }
.cms-photo-order-panel, .cms-order-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--linen);
  padding: 12px;
  margin: 14px 0;
}
.cms-photo-order-panel > div:first-child, .cms-order-panel > div:first-child { display: grid; gap: 2px; }
.cms-photo-order-panel span, .cms-order-panel span { color: var(--muted); font-weight: 700; }
.cms-photo-large img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.cms-photo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cms-photo-order-panel .cms-photo-actions { margin-top: 0; }
.cms-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cms-inline-help { margin-bottom: 0; font-size: .92rem; }
.cms-icon-picker { grid-column: 1 / -1; }
.cms-icon-picker-details {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--linen);
  overflow: hidden;
}
.cms-icon-picker-details summary {
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  color: var(--primary-dark);
  font-weight: 850;
}
.cms-icon-picker-details summary::marker { color: var(--bronze-dark); }
.cms-icon-picker-details summary small { color: var(--muted); font-weight: 700; }
.cms-icon-picker-details[open] summary { border-bottom: 1px solid var(--border); background: var(--cream); }
.cms-icon-search { display: block; padding: 10px 10px 0; }
.cms-icon-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}
.cms-icon-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; max-height: 340px; overflow: auto; }
.cms-icon-picker-details .cms-icon-options { padding: 10px; }
.cms-icon-option {
  min-width: 0;
  min-height: 74px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--linen);
  color: var(--primary-dark);
  cursor: pointer;
  display: grid;
  gap: 6px;
  place-items: center;
  padding: 9px;
  text-align: center;
  font: inherit;
  font-weight: 800;
}
.cms-icon-option[aria-selected="true"] { outline: 3px solid #d9b987; border-color: var(--primary); background: var(--cream); }
.cms-svg-icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cms-import-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #f5efe5;
}
.cms-upload-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--cream);
  cursor: pointer;
  font-weight: 850;
  padding: 0 16px;
}
.cms-upload-button-secondary { width: 100%; margin: 14px 0; background: var(--cream); color: var(--primary-dark); border-color: #d9b987; }
.cms-upload-button input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.cms-import-summary { grid-column: 1 / -1; margin: 0; font-weight: 700; color: var(--primary-dark); }
.cms-action-button, .cms-icon-button {
  inline-size: 42px;
  block-size: 42px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--cream);
  color: var(--primary-dark);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  padding: 0;
}
.cms-action-button:hover, .cms-icon-button:hover { border-color: var(--primary); background: var(--linen); }
.cms-action-button:focus-visible, .cms-icon-button:focus-visible { outline: 3px solid #d9b987; outline-offset: 2px; }
.cms-action-button-add { background: var(--primary); border-color: var(--primary); color: var(--cream); }
.cms-action-button-add:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.cms-action-button-danger, .cms-danger-button { border-color: #b65a50; color: #84342c; }
.cms-action-button-danger:hover, .cms-danger-button:hover { background: #fff1ef; border-color: #84342c; }
.cms-action-button-success { border-color: #6f9f76; color: #245c31; }
.cms-action-button-success:hover { background: #edf7ef; border-color: #245c31; }
.cms-category-actions { display: flex; align-items: end; }
.cms-category-actions .cms-action-button { min-height: 44px; }
.cms-action-svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cms-upload-progress {
  display: grid;
  gap: 10px;
  border: 1px solid #d9b987;
  border-radius: 8px;
  background: #fff8ec;
  color: var(--primary-dark);
  padding: 16px;
  margin: 16px 0;
  box-shadow: 0 12px 26px rgba(28, 38, 31, .06);
}
.cms-upload-progress-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}
.cms-upload-progress-heading div { display: grid; gap: 4px; min-width: 0; }
.cms-upload-progress-heading span { color: var(--muted); font-weight: 700; overflow-wrap: anywhere; }
.cms-upload-progress-heading > span { color: var(--primary-dark); white-space: nowrap; }
.cms-upload-progress progress {
  width: 100%;
  accent-color: var(--primary);
}
.cms-upload-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 83, 70, .14);
}
.cms-upload-progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--primary);
  transition: width .18s ease;
}
.cms-savebar {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border);
  background: rgba(248, 244, 237, .96);
  padding: 14px 0;
  backdrop-filter: blur(12px);
}
.site-footer { margin-top: auto; background: var(--primary); color: var(--cream); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding: 42px 0; }
.footer-brand { margin: 0; color: var(--cream); font-size: 1.8rem; }
.site-footer p, .site-footer a { color: #efe4d3; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: .95rem; }
.credit { max-width: 340px; font-size: .85rem; }
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .cms-message { inset: 76px auto auto 50%; width: min(720px, calc(100% - 24px)); }
  .container { width: min(100% - 24px, 1120px); }
  .hero h1 { font-size: 3.35rem; }
  .split, .amenities, .listings, .photo-grid, .preview-grid, .footer-grid, .admin-cms-header, .cms-layout, .cms-field-grid, .cms-thumb-grid, .cms-gallery-layout, .cms-import-panel, .cms-image-picker-layout, .cms-photo-toolbar, .cms-photo-filters, .cms-photo-manager { grid-template-columns: 1fr; }
  .details div { flex-direction: column; gap: 4px; }
  .details dd { text-align: left; }
  .row-heading { align-items: start; flex-direction: column; }
  .band { padding: 52px 0; }
  .admin-cms-actions, .cms-block-heading, .cms-item-header, .cms-inline-actions { justify-content: flex-start; }
  .cms-preview, .cms-photo-detail { position: static; }
  .cms-savebar { position: static; }
  .photo-dialog { padding: 14px; }
  .photo-dialog-panel { max-height: calc(100vh - 28px); }
  .photo-dialog-panel img { max-height: calc(100vh - 145px); }
  .photo-dialog-close { inset: 8px 8px auto auto; }
}
@media (max-width: 430px) {
  .admin-cms-shell h1 { font-size: 2.65rem; }
  .hero h1 { font-size: 2.85rem; }
  .button, .cms-savebar .button, .cms-upload-button { width: 100%; }
  .cms-block, .cms-item, .cms-import-panel, .cms-note, .admin-panel, .cms-preview { padding: 16px; }
}
