:root {
  --bg: #ffffff;
  --ink: #182018;
  --muted: #667063;
  --line: #e1e7dc;
  --soft: #f6f8f1;
  --accent: #d6ff00;
  --danger: #c62828;
  --ok: #1f7a3a;
  --shadow: 0 18px 46px rgba(70, 88, 55, 0.14);
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  background: #fbfcf6;
  color: var(--ink);
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; }
button, input, select, textarea { font: inherit; min-width: 0; }
button { cursor: pointer; }
.shell { min-height: 100vh; width: 100%; max-width: 100vw; overflow-x: clip; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 900;
  letter-spacing: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.brand-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}
.nav { display: flex; gap: 8px; align-items: center; }
.nav .btn,
.nav .icon-btn {
  flex: 0 0 auto;
}
.icon-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  text-align: center;
}
.btn.primary { background: var(--accent); }
.btn.ghost { border-color: var(--line); background: #fff; }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.language-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: #c4d900;
  background: #faffd7;
}
.language-btn span {
  color: var(--muted);
  font-size: 12px;
}
.language-btn strong {
  color: var(--ink);
  font-size: 13px;
}
.btn:disabled, .icon-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.hero {
  padding: clamp(34px, 6vw, 82px) clamp(16px, 4vw, 44px) 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-photo {
  min-height: min(520px, calc(100svh - 92px));
  align-content: end;
  justify-items: center;
  background: url("https://images.pexels.com/photos/33799012/pexels-photo-33799012.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=900&w=1400") center / cover;
  color: #fff;
  border-bottom: 0;
}
.hero-copy {
  display: grid;
  gap: 14px;
  max-width: 920px;
  text-align: center;
  justify-items: center;
  width: 100%;
}
.hero-photo .eyebrow, .hero-photo p { color: rgba(255, 255, 255, 0.86); }
.hero-photo h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.search-panel {
  display: grid;
  gap: 10px;
  width: min(980px, 100%);
  max-width: 980px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  margin-inline: auto;
}
.search-panel .eyebrow { color: var(--muted); }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(34px, 7vw, 76px); line-height: 0.96; letter-spacing: 0; max-width: 900px; }
h2 { margin: 0; font-size: clamp(24px, 4vw, 42px); letter-spacing: 0; }
h3 { margin: 0; font-size: 18px; }
h1, h2, h3, p, .pill, .btn, .icon-btn {
  overflow-wrap: anywhere;
}
p { color: var(--muted); line-height: 1.5; }
.hero p { max-width: 680px; font-size: 18px; }
.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px clamp(16px, 4vw, 44px);
}
.toolbar.compact {
  padding: 0;
  grid-template-columns: minmax(0, 1fr) auto;
}
.search, .field {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
}
.textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 clamp(16px, 4vw, 44px) 18px;
  max-width: 100vw;
}
.filters-inline {
  display: contents;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 12px;
  font-weight: 750;
  color: var(--ink);
}
.chip.active { background: var(--accent); border-color: #bcd80c; box-shadow: 0 8px 18px rgba(157, 183, 0, 0.18); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 44px) 60px;
}
.ad-slot, .ad-band {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 10px clamp(16px, 4vw, 44px);
  padding: 16px;
  border: 1px dashed #b9b9b9;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.ad-slot-wide {
  min-height: 86px;
}
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #cfcfcf;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}
.card button { text-align: left; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--soft); }
.card-body { padding: 16px; display: grid; gap: 10px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.pill { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 750; }
.price { margin-left: auto; font-weight: 950; color: var(--ink); }
.page {
  padding: 24px clamp(16px, 4vw, 44px) 60px;
  display: grid;
  gap: 20px;
  min-width: 0;
  width: 100%;
  max-width: 100vw;
}
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(min(320px, 100%), 0.8fr);
  gap: 22px;
  min-width: 0;
}
.hero-img { width: 100%; max-height: 540px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.gallery-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.lido-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.lido-facts div {
  flex: 1 1 140px;
  min-width: min(140px, 100%);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.lido-facts span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 14px;
  min-width: 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.section-head p { margin: 6px 0 0; }
.form-grid { display: grid; gap: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.booking-card {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 0;
  overflow: hidden;
  min-width: 0;
  border-color: #dfe8d5;
  box-shadow: 0 24px 60px rgba(70, 88, 55, 0.14);
}
.booking-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf1 100%);
  border-bottom: 1px solid var(--line);
}
.booking-head h2 {
  margin-top: 4px;
  font-size: 28px;
  line-height: 1.05;
}
.booking-head p { margin: 6px 0 0; }
.rate-badge {
  display: grid;
  gap: 2px;
  min-width: 96px;
  padding: 10px 12px;
  border: 1px solid #d2ddb9;
  border-radius: 8px;
  background: #fff;
  text-align: right;
}
.rate-badge span { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.rate-badge strong { font-size: 22px; }
.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 20px 4px;
}
.booking-steps span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.booking-steps b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
}
.date-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 20px 0;
}
.date-card, .session-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.date-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.date-input, .session-select {
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-weight: 900;
}
.date-helper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: -2px 20px 10px;
}
.session-card { margin: 10px 20px 0; }
.booking-section-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.booking-section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.guest-form {
  display: grid;
  gap: 10px;
  padding: 0 20px 20px;
}
.booking-cta {
  width: 100%;
  min-height: 52px;
  border-color: #a8c300;
  box-shadow: 0 14px 28px rgba(157, 183, 0, 0.22);
}
.booking-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 20px;
}
.booking-trust span {
  padding: 6px 8px;
  border: 1px solid #dce7d0;
  border-radius: 999px;
  background: #f8fbf1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.file-button input {
  display: none;
}
.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}
.admin-card-head .meta {
  min-width: 0;
}
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 178px;
}
.table-actions.vertical {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-width: 150px;
}
.table-actions .btn {
  width: 100%;
  min-width: 118px;
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.mini { font-size: 12px; color: var(--muted); }
.stack { display: grid; gap: 12px; }
.inline-edit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  align-items: end;
}
.inline-edit.wide { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.inline-edit .btn {
  min-height: 44px;
}
.manager-create .btn {
  align-self: stretch;
}
.editor-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.1fr) minmax(220px, 1fr);
  gap: 14px;
}
.option-group {
  display: grid;
  align-content: start;
  gap: 10px;
}
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.check-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}
.check-chip.wide {
  justify-content: start;
  border-radius: 8px;
}
.check-chip input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}
.row-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}
.legend-item i {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}
.admin-map-preview {
  display: grid;
  gap: 6px;
  max-width: 100%;
  overflow-x: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.admin-map-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 42px;
  gap: 6px;
}
.map-dot {
  display: grid;
  place-items: center;
  width: 42px;
  height: 34px;
  border: 1px solid rgba(24, 32, 24, 0.45);
  border-radius: 8px;
  background: var(--tier, var(--accent));
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}
.stripe-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.extra-list {
  display: grid;
  gap: 10px;
  padding: 14px 20px 0;
}
.extra-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.extra-card:hover {
  transform: translateY(-1px);
  border-color: #cbd8be;
  box-shadow: 0 10px 22px rgba(70, 88, 55, 0.08);
}
.extra-card:has(input:checked) {
  border-color: #b7d400;
  background: #fbfff0;
}
.extra-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.extra-card span {
  display: grid;
  gap: 2px;
}
.extra-card small {
  color: var(--muted);
}
.extra-card b {
  white-space: nowrap;
}
.extra-edit {
  display: grid;
  grid-template-columns: 130px minmax(160px, 1fr) minmax(180px, 1.2fr) 100px 120px;
  gap: 8px;
  align-items: center;
}
.gallery-edit,
.season-edit,
.block-edit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.block-tool {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf6;
}
.block-select-map .block-cell {
  opacity: 0.76;
}
.block-select-map .block-cell.selected {
  opacity: 1;
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 10px 18px rgba(70, 88, 55, 0.16), inset 0 -8px 0 rgba(255, 255, 255, 0.24);
}
.block-list {
  display: grid;
  gap: 8px;
}
.block-save-actions {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #d6e3c8;
  border-radius: 8px;
  background: #fbfff0;
}
.subpanel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.email-template-help {
  padding: 10px;
  border: 1px dashed #cbd8be;
  border-radius: 8px;
  background: #fbfff0;
}
.email-template-row {
  background: #fbfcf6;
}
.template-textarea {
  min-height: 170px;
  font-family: inherit;
  line-height: 1.45;
}
.map-editor {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf6;
}
.visual-map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.visual-map-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 8), 46px);
  grid-template-rows: repeat(var(--rows, 6), 38px);
  gap: 7px;
  overflow: auto;
  max-width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(225, 231, 220, 0.45) 1px, transparent 1px),
    linear-gradient(180deg, rgba(225, 231, 220, 0.45) 1px, transparent 1px),
    #fbfcf6;
  background-size: 54px 46px;
}
.map-cell {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 38px;
  border: 1px solid rgba(24, 32, 24, 0.48);
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 950;
  font-size: 12px;
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.24);
}
.map-cell small {
  display: none;
  font-size: 8px;
  font-weight: 950;
  color: rgba(24, 32, 24, 0.58);
  line-height: 1;
}
.map-cell.inactive {
  border: 1px dashed #a8b19f;
  background:
    linear-gradient(135deg, transparent 44%, rgba(154, 163, 148, 0.55) 46%, rgba(154, 163, 148, 0.55) 54%, transparent 56%),
    #eef1e8;
  color: #818b7b;
  opacity: 0.78;
  box-shadow: none;
}
.map-cell.active {
  border-color: var(--tier, #b7d400);
  background: var(--tier, var(--accent)) !important;
}
.map-cell.inactive small {
  display: block;
  color: #6f776b;
}
.map-cell.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(70, 88, 55, 0.12), inset 0 -8px 0 rgba(255, 255, 255, 0.24);
}
.promo-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(52, 61, 49, 0.28);
  backdrop-filter: blur(5px);
}
.promo-popup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid rgba(24, 32, 24, 0.12);
  border-radius: 8px;
  background: var(--promo-bg, #fbfff0);
  color: var(--promo-color, var(--ink));
  box-shadow: 0 24px 80px rgba(24, 32, 24, 0.22);
}
.promo-popup.no-image {
  grid-template-columns: 1fr;
}
.promo-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.promo-body {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 5vw, 42px);
}
.promo-body h2 {
  margin: 0;
  max-width: 14ch;
  color: inherit;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 0.95;
}
.promo-body p {
  margin: 0;
  color: var(--promo-color, var(--ink));
  opacity: 0.78;
  font-size: 16px;
  line-height: 1.55;
}
.promo-action {
  width: fit-content;
  background: var(--promo-accent, var(--accent));
  color: #182018;
}
.promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(24, 32, 24, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
}
.color-field {
  min-height: 44px;
  padding: 4px;
}
.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf6;
  color: var(--ink);
  font-weight: 850;
}
.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.map-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.legend-dot.on { background: var(--accent); border-color: #b7d400; }
.legend-dot.off { background: #eef1e8; border-style: dashed; }
.umbrellas {
  display: grid;
  gap: 10px;
  overflow-x: auto;
  max-width: 100%;
  padding: 12px 0 4px;
}
.umbrellas.free-map {
  grid-template-columns: repeat(var(--cols, 8), 52px);
  grid-template-rows: repeat(var(--rows, 6), 44px);
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(225, 231, 220, 0.45) 1px, transparent 1px),
    linear-gradient(180deg, rgba(225, 231, 220, 0.45) 1px, transparent 1px),
    #fbfcf6;
  background-size: 60px 52px;
}
.umbrella-row { display: grid; gap: 8px; grid-auto-flow: column; grid-auto-columns: 52px; }
.umbrella {
  width: 52px;
  height: 44px;
  border: 1px solid rgba(24, 32, 24, 0.55);
  border-radius: 8px;
  background: var(--tier, #fff);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.25);
}
.umbrella.selected { outline: 3px solid var(--ink); outline-offset: 2px; }
.umbrella.booked { border-color: #cacaca; background: #eaeaea; color: #999; cursor: not-allowed; }
.booking-summary {
  display: grid;
  gap: 8px;
  margin: 14px 20px;
  padding: 14px;
  border: 1px solid #d6e3c8;
  border-radius: 8px;
  background: #f8fbf1;
}
.summary-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}
.summary-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.summary-top strong { font-size: 28px; }
.summary-line { color: var(--muted); font-size: 13px; line-height: 1.35; }
.summary-empty { color: var(--muted); font-weight: 800; }
.status { padding: 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--soft); }
.status.error { color: var(--danger); border-color: #f2b6b6; background: #fff6f6; }
.status.ok { color: var(--ok); border-color: #b8e0c3; background: #f4fff7; }
.admin-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  overflow: visible;
}
.admin-sidebar .tabs {
  display: grid;
  grid-template-columns: 1fr;
}
.admin-sidebar .tabs .btn,
.admin-sidebar #logout {
  width: 100%;
  justify-content: flex-start;
}
.admin-main {
  min-width: 0;
  overflow: visible;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table { min-width: 860px; }
.manager-table { min-width: 760px; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.table tr:hover td { background: #fcfcf4; }
.owner-block-row td { background: #fbfcf6; }
.table tr:last-child td { border-bottom: 0; }
.compact-field {
  min-width: 150px;
}
.manager-table .compact-field {
  min-width: 220px;
}
.admin-toolbar {
  margin-bottom: 10px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  font-size: 12px;
  font-weight: 900;
}
.status-pill.ok { border-color: #b8e0c3; background: #f4fff7; color: var(--ok); }
.status-pill.danger { border-color: #f2b6b6; background: #fff6f6; color: var(--danger); }
.status-pill.warn { border-color: #e6d99e; background: #fffbea; color: #7c6500; }
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(72px, 1fr));
  gap: 8px;
}
.month-day {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.month-day.today {
  border-color: #c4d900;
  background: #fbffd9;
}
.month-day span,
.month-day small {
  color: var(--muted);
  font-size: 12px;
}
.empty { padding: 34px; text-align: center; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.stat-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(70, 88, 55, 0.06);
}
.stat-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.stat-card strong {
  font-size: 28px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #f1f5ea;
  color: var(--ink);
}
.site-footer p, .site-footer .mini { color: var(--muted); }
.site-footer .ad-band {
  margin-top: 0;
  border-color: #c8d6bd;
  background: #fff;
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.9fr 1.8fr;
  gap: 22px;
  padding: 26px clamp(16px, 4vw, 44px);
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: start;
}
.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.weather-card iframe {
  width: 100%;
  max-width: 100%;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf0e3;
}
.footer-note { padding: 16px clamp(16px, 4vw, 44px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 820px) {
  .detail, .admin-layout, .two, .three, .inline-edit, .inline-edit.wide, .editor-grid, .extra-edit, .footer-grid { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .nav .label { display: none; }
  .section-head { display: grid; }
  .topbar {
    gap: 10px;
    padding: 10px 14px;
  }
  .brand {
    gap: 8px;
    font-size: 14px;
  }
  .brand-mark,
  .brand-mark img {
    width: 46px;
    height: 46px;
  }
  .nav {
    gap: 6px;
  }
  .icon-btn, .btn {
    min-height: 38px;
    padding-inline: 11px;
  }
  .language-btn span {
    display: none;
  }
  .hero {
    padding-inline: 14px;
  }
  .hero-photo {
    min-height: calc(100svh - 76px);
    justify-items: stretch;
  }
  .hero-copy {
    text-align: left;
    justify-items: stretch;
  }
  h1 {
    font-size: clamp(34px, 12vw, 58px);
    line-height: 1;
  }
  .hero p {
    font-size: 16px;
  }
  .search-panel {
    width: 100%;
  }
  .grid,
  .filters,
  .toolbar,
  .page {
    padding-inline: 14px;
  }
  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ad-slot, .ad-band, .extra-card { align-items: stretch; }
  .booking-card { position: static; }
  .booking-head, .date-card-grid { grid-template-columns: 1fr; }
  .rate-badge { text-align: left; }
  .visual-map-toolbar { display: grid; }
  .admin-sidebar {
    position: static;
  }
  .admin-sidebar .tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-sidebar .tabs .btn,
  .admin-sidebar #logout {
    justify-content: center;
  }
  .admin-card-head {
    display: grid;
  }
  .admin-card-head .btn {
    width: 100%;
  }
  .table-wrap {
    margin-inline: -2px;
  }
  .table-actions,
  .table-actions.vertical {
    min-width: 140px;
  }
  .month-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .month-day {
    min-height: 70px;
  }
  .weather-card iframe {
    height: 420px;
  }
  .promo-popup {
    grid-template-columns: 1fr;
    max-height: min(86svh, 760px);
    overflow-y: auto;
  }
  .promo-image {
    min-height: 190px;
    max-height: 260px;
  }
  .promo-body h2 {
    max-width: 18ch;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: center;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
  .brand span:last-child {
    display: none;
  }
  .brand-mark,
  .brand-mark img {
    width: 42px;
    height: 42px;
  }
  .nav {
    margin-left: auto;
    max-width: calc(100vw - 62px);
    overflow: hidden;
  }
  .icon-btn, .btn {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 13px;
  }
  .nav .icon-btn,
  .nav .btn {
    max-width: 84px;
  }
  .nav .language-btn {
    max-width: 48px;
  }
  .hero-photo {
    min-height: calc(100svh - 68px);
  }
  .toolbar.compact {
    grid-template-columns: 1fr;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
  .filters .chip,
  .filters .pill {
    flex: 0 0 auto;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ad-slot, .ad-band {
    display: grid;
    margin-inline: 14px;
  }
  .booking-head,
  .date-card-grid,
  .extra-list,
  .guest-form,
  .booking-trust {
    padding-inline: 14px;
  }
  .session-card,
  .booking-summary {
    margin-inline: 14px;
  }
  .booking-steps {
    padding-inline: 14px;
    gap: 6px;
  }
  .booking-steps span {
    gap: 5px;
    font-size: 11px;
  }
  .booking-steps b {
    width: 22px;
    height: 22px;
  }
  .summary-top {
    display: grid;
    gap: 4px;
  }
  .extra-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .extra-card b {
    grid-column: 2;
    white-space: normal;
  }
  .month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    gap: 16px;
  }
  .weather-card iframe {
    height: 360px;
  }
  .umbrellas.free-map {
    grid-template-columns: repeat(var(--cols, 8), 46px);
    grid-template-rows: repeat(var(--rows, 6), 40px);
    gap: 8px;
    padding: 12px;
  }
  .umbrella {
    width: 46px;
    height: 40px;
    font-size: 11px;
  }
  .visual-map-grid {
    grid-template-columns: repeat(var(--cols, 8), 42px);
    grid-template-rows: repeat(var(--rows, 6), 36px);
    gap: 6px;
    padding: 10px;
  }
  .map-cell {
    width: 42px;
    height: 36px;
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .topbar {
    padding-inline: 10px;
  }
  .nav {
    gap: 4px;
  }
  .icon-btn, .btn {
    padding-inline: 8px;
  }
  .grid,
  .filters,
  .toolbar,
  .page,
  .hero {
    padding-inline: 10px;
  }
  .hero-photo {
    min-height: calc(100svh - 64px);
  }
  .umbrellas.free-map {
    grid-template-columns: repeat(var(--cols, 8), 42px);
    grid-template-rows: repeat(var(--rows, 6), 38px);
    gap: 7px;
    padding: 10px;
  }
  .umbrella {
    width: 42px;
    height: 38px;
  }
  .panel {
    padding: 12px;
  }
  .booking-head,
  .date-card-grid,
  .extra-list,
  .guest-form,
  .booking-trust {
    padding-inline: 12px;
  }
  .session-card,
  .booking-summary {
    margin-inline: 12px;
  }
}
