:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --ink: #142334;
  --muted: #617185;
  --line: #dbe6f0;
  --brand: #0058a9;
  --brand-dark: #003f7b;
  --brand-soft: #e8f2fb;
  --accent: #00a1df;
  --danger: #b94141;
  --wait: #d3a32f;
  --blue: #0058a9;
  --shadow: 0 16px 42px rgba(0, 68, 132, .12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { touch-action: manipulation; }
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(0, 88, 169, .92), rgba(0, 63, 123, .86)),
    url("../images/rugove_logo_s.jpeg") center / min(520px, 82vw) auto no-repeat;
}
.login-box, .panel, .stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 68, 132, .06);
}
.login-box {
  width: min(880px, 100%);
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 30, 72, .26);
}
.login-mark {
  background: var(--brand);
  color: #fff;
  padding: 42px;
  display: grid;
  align-content: space-between;
  gap: 34px;
}
.login-mark img {
  width: min(230px, 100%);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 28, 70, .26);
}
.login-mark h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.08;
}
.login-mark span { color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.5; }
.login-fields {
  padding: 46px 42px;
  display: grid;
  align-content: center;
}
.login-actions {
  gap: 10px;
}
.login-actions .public-login-link {
  margin-top: 12px;
}
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand h1 { margin: 0; font-size: 25px; line-height: 1.1; }
.brand span, .hint { color: var(--muted); font-size: 14px; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar {
  width: 264px;
  background: linear-gradient(180deg, #0058a9, #003f7b);
  color: #eef7f1;
  padding: 18px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar .brand {
  display: grid;
  gap: 10px;
  margin: 0 4px 20px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.sidebar .brand img { width: min(168px, 100%); height: auto; background: transparent; border-radius: 6px; justify-self: center; }
.sidebar .brand h1 { font-size: 20px; }
.sidebar .brand span { color: rgba(255,255,255,.78); }
.nav { display: grid; gap: 6px; }
.nav-section-title {
  margin: 14px 10px 5px;
  color: rgba(255,255,255,.56);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-section-title:first-child {
  margin-top: 0;
}
.nav a {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: rgba(255,255,255,.82);
  min-height: 50px;
  font-weight: 800;
  border: 1px solid transparent;
  letter-spacing: 0;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.nav a::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: transparent;
}
.nav a span:not(.nav-icon) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.12);
}
.nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav a.active, .nav a:hover {
  background: #fff;
  color: var(--brand-dark);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 10px 24px rgba(0, 38, 90, .14);
}
.nav a:hover {
  transform: translateX(2px);
}
.nav a.active::before {
  background: var(--accent);
}
.nav a.active .nav-icon,
.nav a:hover .nav-icon {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: rgba(0, 88, 169, .16);
}
.main { flex: 1; min-width: 0; }
.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}
.top-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar h2 { margin: 0; font-size: 24px; line-height: 1.15; }
.userbar { display: flex; align-items: center; gap: 10px; color: var(--muted); white-space: nowrap; }
.user-link {
  color: var(--muted);
  border-radius: 8px;
  padding: 9px 10px;
  font-weight: 800;
}
.user-link:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.lang-switch, .theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
}
.topbar .lang-switch, .topbar .theme-switch {
  border-color: var(--line);
  background: #f7fafd;
}
.lang-switch a, .theme-switch a {
  min-width: 38px;
  min-height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,.82);
}
.theme-switch a { min-width: 48px; }
.topbar .lang-switch a, .topbar .theme-switch a { color: var(--brand-dark); }
.lang-switch a.active, .theme-switch a.active {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 5px 14px rgba(0,30,72,.12);
}
.login-lang {
  display: flex;
  justify-content: flex-end;
}
.content { padding: 24px; max-width: 1540px; }
.content::before {
  content: "";
  display: block;
  height: 5px;
  width: 96px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  margin-bottom: 18px;
}
.grid { display: grid; gap: 16px; margin-bottom: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel { padding: 20px; margin-bottom: 16px; }
.grid > .panel {
  height: 100%;
}
.admin-section {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #fff, #f8fbfe);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}
.section-title h3 {
  margin: 0 0 4px;
  color: var(--brand-dark);
  font-size: 21px;
}
.section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}
.admin-grid { align-items: stretch; }
.compact-panel { min-height: 0; }
.wide-panel { margin-bottom: 0; }
.panel h3, .map-zone h3 {
  margin: -2px 0 16px;
  font-size: 18px;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel form {
  margin: 0;
}
.panel .hint,
.hint {
  line-height: 1.45;
}
.panel h3::before, .map-zone h3::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--accent);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px 16px;
  align-items: start;
}
.form-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-all { grid-column: 1 / -1; }
.form-compact textarea { min-height: 78px; }
.form-wide .check { align-self: end; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: #f9fbfd;
  color: var(--ink);
}
select { text-overflow: ellipsis; }
input::placeholder, textarea::placeholder { color: #9ba9b8; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(0, 161, 223, .18);
  border-color: var(--accent);
  background: #fff;
}
textarea { min-height: 92px; resize: vertical; }
.check {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfd;
  overflow: hidden;
}
.check input { width: 22px; min-height: 22px; }
.actions, .toolbar, .legend, .inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.actions { margin-top: 14px; }
.form-grid > .actions {
  grid-column: 1 / -1;
  padding-top: 2px;
  border-top: 1px solid #edf2f7;
}
.form-grid > .actions .btn {
  min-width: 150px;
}
.toolbar { margin-bottom: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px; box-shadow: 0 8px 22px rgba(0,68,132,.05); }
.toolbar.compact { padding: 0; border: 0; background: transparent; }
.toolbar label { min-width: 180px; }
.config-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.config-shortcut {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(0,68,132,.05);
}
.config-shortcut .nav-icon {
  width: 42px;
  height: 42px;
  background: var(--brand-soft);
  color: var(--brand);
  border-color: rgba(0,88,169,.14);
}
.config-shortcut span:not(.nav-icon) {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.config-shortcut b {
  color: var(--brand-dark);
}
.config-shortcut em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.config-shortcut.active,
.config-shortcut:hover {
  border-color: rgba(0,88,169,.28);
  box-shadow: 0 12px 28px rgba(0,68,132,.10);
}
.reservations-page {
  display: grid;
  gap: 16px;
}
.reservation-create-panel {
  padding-bottom: 18px;
}
.reservation-collapsible {
  padding-bottom: 14px;
}
.reservation-collapsible summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.reservation-collapsible summary::-webkit-details-marker {
  display: none;
}
.reservation-collapsible summary h3 {
  margin: 0 0 3px;
}
.reservation-collapsible summary span {
  color: var(--muted);
  font-weight: 800;
}
.reservation-collapsible summary > b {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 0 16px;
  white-space: nowrap;
}
.reservation-collapsible[open] summary {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.reservation-form {
  display: grid;
  gap: 14px;
}
.reservation-form-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  padding: 14px;
}
.reservation-form-section > b {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: 14px;
}
.reservation-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}
.reservation-form-grid .span-2 {
  grid-column: span 2;
}
.reservation-days-display {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-soft);
  padding: 10px 16px;
}
.reservation-days-display span,
.reservation-days-display em {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.reservation-days-display b {
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1;
}
.reservation-days-display em {
  font-style: normal;
}
.reservation-price-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-self: stretch;
}
.reservation-price-summary.loading {
  opacity: .72;
}
.reservation-price-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  min-height: 82px;
}
.reservation-price-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.reservation-price-summary b {
  display: block;
  margin-top: 5px;
  color: var(--brand-dark);
  font-size: 20px;
}
.reservation-price-summary em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.reservation-price-summary .total {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  background: linear-gradient(135deg, var(--brand-soft), #fff);
}
.reservation-price-summary .manual {
  grid-column: 1 / -1;
  min-height: 0;
  border-color: #f0d68a;
  background: #fff8dc;
}
.reservation-price-summary p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.reservation-submit {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}
.reservation-submit .btn {
  min-width: 190px;
}
.reservation-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.reservation-list-head h3 {
  margin-bottom: 4px;
}
.reservation-list-head > div > span {
  color: var(--muted);
  font-weight: 800;
}
.reservation-filter {
  display: flex;
  gap: 10px;
  align-items: end;
  margin: 0;
}
.reservation-filter label {
  min-width: 210px;
}
.reservation-table th,
.reservation-table td {
  vertical-align: middle;
  padding: 9px 10px;
  line-height: 1.25;
}
.reservation-table td:last-child {
  min-width: 260px;
}
.pay-stack {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.pay-stack b {
  color: var(--brand-dark);
}
.pay-stack em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}
.payments-history {
  margin-top: 20px;
}
tbody tr.payment-cancelled {
  background: rgba(185, 65, 65, 0.06);
}
.payment-cancel-form {
  justify-content: flex-start;
}
.sunbed-code-form {
  display: block;
}
.sunbed-code-form input,
td input[form^="sunbed-code-"] {
  min-height: 42px;
  min-width: 112px;
  width: 100%;
}
.sunbeds-list-table th:nth-child(1),
.sunbeds-list-table td:nth-child(1) {
  width: 74px;
  max-width: 74px;
}
.sunbeds-list-table th:nth-child(2),
.sunbeds-list-table td:nth-child(2) {
  width: 104px;
  max-width: 104px;
}
.sunbeds-list-table .sunbed-code-form input,
.sunbeds-list-table td input[form^="sunbed-code-"] {
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
}
.sunbeds-list-table .sunbed-code-form input {
  width: 66px;
}
.sunbeds-list-table td:nth-child(2) input[form^="sunbed-code-"] {
  width: 96px;
}
.sunbeds-list-table th,
.sunbeds-list-table td {
  padding-left: 12px;
  padding-right: 12px;
}
.qr-link {
  color: var(--brand-dark);
  font-weight: 900;
  white-space: nowrap;
}
.days-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.reservation-action-form {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
}
.reservation-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}
.reservation-actions form {
  margin: 0;
}
.reservation-action-form select,
.reservation-action-form .btn {
  min-height: 36px;
}
.reservation-actions .btn.small {
  min-height: 36px;
  padding: 0 12px;
}
.reservation-action-form select {
  width: 122px;
  padding-left: 10px;
  padding-right: 28px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}
.tabs a {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  color: var(--muted);
}
.tabs a.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,88,169,.18);
}
.settings-zones-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.settings-zone-create {
  position: sticky;
  top: 92px;
}
.settings-zone-create .form-compact {
  grid-template-columns: 1fr;
}
.section-head-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-head-inline h3 {
  margin: 0;
}
.section-head-inline span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.zone-editor-list {
  display: grid;
  gap: 12px;
}
.zone-editor-card {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 12px 14px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f9fbfd);
  padding: 12px;
  overflow: hidden;
}
.zone-editor-accent {
  border-radius: 8px;
  background: var(--zone);
  grid-row: 1 / span 2;
}
.zone-editor-fields {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 90px minmax(120px, .8fr);
  gap: 10px;
  align-items: end;
  min-width: 0;
}
.zone-editor-fields input,
.zone-editor-fields select {
  min-height: 42px;
}
.zone-editor-fields input[type="color"] {
  padding: 5px;
}
.zone-editor-check {
  min-height: 42px;
  white-space: nowrap;
}
.zone-editor-actions {
  grid-column: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding-top: 2px;
}
.zone-editor-actions .zone-chip {
  justify-content: center;
  min-height: 30px;
  border-radius: 8px;
  max-width: min(260px, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zone-editor-actions .btn {
  min-width: 112px;
}
.sunbed-tabs {
  margin-bottom: 18px;
}
.bulk-edit-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.bulk-edit-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) 128px;
  gap: 10px;
  align-items: end;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.bulk-edit-controls input,
.bulk-edit-controls select {
  min-height: 44px;
  padding: 9px 11px;
}
.bulk-edit-controls .btn {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
}
.bulk-select-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 900;
}
.bulk-check {
  width: auto;
  min-width: 180px;
  min-height: 44px;
  padding: 8px 12px;
}
.bulk-check input,
.bulk-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
}
.bulk-table-wrap {
  max-height: calc(100vh - 430px);
  min-height: 300px;
  overflow: auto;
}
.bulk-table th,
.bulk-table td {
  padding: 10px 12px;
}
.bulk-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.bulk-table .bulk-check-cell {
  width: 54px;
  text-align: center;
}
.bulk-table tbody tr {
  background: #fff;
}
.bulk-table tbody tr:hover {
  background: #f7fbff;
}
.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px auto;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,161,223,.18), transparent 32%),
    linear-gradient(120deg, rgba(0,88,169,.12), rgba(255,255,255,.72)),
    var(--surface);
  overflow: hidden;
}
.dashboard-hero span {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .04em;
}
.dashboard-hero h3 {
  margin: 4px 0 6px;
  font-size: 24px;
}
.dashboard-hero p {
  margin: 0;
  color: var(--muted);
}
.dashboard-hero-copy {
  min-width: 0;
}
.dashboard-alerts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.dashboard-alerts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--brand-dark);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}
.dashboard-alerts b {
  color: var(--brand);
}
.occupancy-ring {
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  background: conic-gradient(var(--brand) var(--pct), #e7eef7 0);
  box-shadow: 0 14px 34px rgba(0,68,132,.16);
}
.occupancy-ring::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--surface);
}
.occupancy-ring b,
.occupancy-ring span,
.occupancy-ring em {
  position: relative;
  z-index: 1;
}
.occupancy-ring b {
  color: var(--brand-dark);
  font-size: 30px;
  line-height: 1;
}
.occupancy-ring span {
  color: var(--ink);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
.occupancy-ring em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}
.dashboard-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.dashboard-stat {
  min-height: 118px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--tone, var(--brand));
  border-radius: 8px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  box-shadow: 0 8px 24px rgba(0,68,132,.06);
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.dashboard-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,68,132,.12);
}
.dashboard-stat.tone-good { --tone: #0e9f6e; }
.dashboard-stat.tone-warn { --tone: #d3a32f; }
.dashboard-stat.tone-info { --tone: #0058a9; }
.dashboard-stat.tone-accent { --tone: #00a1df; }
.dashboard-stat::after {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--tone, var(--brand));
  opacity: .75;
}
.dashboard-stat span,
.dashboard-stat em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}
.dashboard-stat b {
  color: var(--brand-dark);
  font-size: 24px;
  line-height: 1.1;
}
.dashboard-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.dashboard-side {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: 16px;
  margin-bottom: 16px;
}
.dashboard-ops {
  grid-template-columns: 1fr;
}
.analytics-panel {
  min-height: 300px;
}
.trend-chart {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}
.trend-day {
  min-width: 0;
  display: grid;
  gap: 5px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.trend-bars {
  height: 142px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  padding: 10px 4px 0;
  border-radius: 8px;
  background: #f6f9fc;
}
.trend-bars i {
  width: 14px;
  min-height: 5px;
  border-radius: 8px 8px 2px 2px;
}
.trend-bars .revenue {
  background: var(--brand);
}
.trend-bars .booking {
  background: var(--accent);
}
.trend-day b {
  color: var(--ink);
}
.trend-day em {
  font-style: normal;
  color: var(--brand);
}
.category-chart {
  display: grid;
  gap: 12px;
}
.category-row {
  display: grid;
  gap: 7px;
}
.category-row div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.category-row span {
  color: var(--muted);
  font-weight: 900;
}
.category-row i {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) var(--pct), #edf2f7 var(--pct));
}
.customer-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.customer-avatar {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
}
.customer-card b {
  display: block;
  color: var(--brand-dark);
  font-size: 18px;
}
.customer-card span {
  color: var(--muted);
}
.customer-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.customer-metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  padding: 10px;
}
.customer-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.customer-metrics b {
  display: block;
  margin-top: 4px;
  color: var(--brand-dark);
}
.dashboard-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dashboard-date-filter {
  margin: 0 0 12px;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
}
.dashboard-date-filter input[type="date"] {
  width: 190px;
  min-height: 44px;
}
.dashboard-date-filter .btn {
  min-height: 44px;
}
.payment-panel-actions,
.payment-date-filter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.payment-date-filter {
  margin: 0;
}
.payment-date-filter input[type="date"] {
  width: 180px;
  min-height: 40px;
}
.payment-date-filter .btn {
  min-height: 40px;
}
.action-list {
  gap: 8px;
}
.action-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  color: inherit;
}
.action-item div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.action-item em {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 0 12px;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}
.golive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 16px;
  margin-bottom: 16px;
}
.golive-list {
  display: grid;
  gap: 10px;
}
.golive-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  padding: 13px 14px;
}
.golive-item b,
.golive-payment-summary b {
  display: block;
  color: var(--brand-dark);
}
.golive-item em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}
.golive-item span {
  min-width: 88px;
  border-radius: 999px;
  padding: 7px 10px;
  text-align: center;
  font-weight: 900;
  color: var(--brand-dark);
  background: var(--brand-soft);
}
.golive-item.ok {
  border-left-color: var(--ok);
}
.golive-item.ok span {
  color: #07583d;
  background: #dff8ed;
}
.golive-item.warn {
  border-left-color: var(--warning);
}
.golive-item.warn span {
  color: #684300;
  background: #fff1c4;
}
.golive-payment-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.golive-payment-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  padding: 12px;
}
.golive-payment-summary span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
  font-weight: 800;
}
.test-list {
  margin: 8px 0 0;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 800;
}
.test-list li {
  margin: 9px 0;
}
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.pricing-create-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}
.pricing-create-form .actions {
  grid-column: auto;
  margin-top: 0;
}
.price-rule-list {
  display: grid;
  gap: 10px;
}
.price-rule-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.price-rule-card summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1.1fr 1fr .8fr 1.2fr 36px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.price-rule-card summary::-webkit-details-marker {
  display: none;
}
.price-rule-card summary::after {
  content: "+";
  justify-self: end;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
}
.price-rule-card[open] summary::after {
  content: "-";
}
.price-rule-card summary > span {
  min-width: 0;
  color: var(--muted);
  font-weight: 900;
  line-height: 1.3;
}
.price-rule-card summary b {
  display: block;
  color: var(--brand-dark);
  font-size: 22px;
}
.price-rule-card summary em {
  display: block;
  color: var(--ink);
  font-style: normal;
  font-size: 13px;
  margin-top: 2px;
}
.price-rule-body {
  border-top: 1px solid var(--line);
  background: #f8fbfe;
  padding: 14px;
}
.price-rule-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  align-items: end;
}
.price-rule-form input,
.price-rule-form select {
  min-height: 42px;
  padding: 9px 11px;
}
.price-rule-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}
.price-rule-actions form {
  margin: 0;
}
.price-rule-actions .btn {
  min-width: 150px;
}
.discount-panel {
  margin-top: 16px;
}
.discount-create-form,
.discount-rule-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(110px, .6fr) minmax(130px, .7fr) minmax(110px, .6fr) 120px 110px;
  gap: 10px;
  align-items: end;
}
.discount-create-form {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  margin-bottom: 12px;
}
.discount-rule-list {
  display: grid;
  gap: 10px;
}
.discount-rule-card {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.8fr);
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.discount-rule-summary {
  display: grid;
  gap: 4px;
  align-self: center;
}
.discount-rule-summary b {
  color: var(--brand-dark);
}
.discount-rule-summary span {
  color: var(--muted);
  font-weight: 900;
}
.discount-rule-summary em {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff4cf;
  color: #7a5600;
  font-style: normal;
  font-weight: 900;
}
.discount-rule-card .discount-delete-form {
  grid-column: 2;
  justify-self: end;
  margin: 0;
}
.discount-rule-card .discount-rule-form .btn,
.discount-rule-card .discount-delete-form .btn {
  min-width: 116px;
}
.booking-discount-note {
  grid-column: 1 / -1;
  border: 1px solid #f0d68a;
  border-radius: 8px;
  background: #fff8dc;
  color: var(--brand-dark);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}
.structure-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}
.type-editor-list {
  display: grid;
  gap: 10px;
}
.type-editor-card {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(220px, 1.2fr) 120px 90px;
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #fff, #f9fbfd);
}
.type-editor-card input,
.type-editor-card select {
  min-height: 42px;
  padding: 9px 11px;
}
.type-editor-card .check {
  min-height: 42px;
}
.btn {
  border: 0;
  border-radius: 8px;
  min-height: 48px;
  padding: 0 16px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 88, 169, .18);
}
.btn:hover {
  filter: brightness(.98);
  transform: translateY(-1px);
}
.btn.wide { width: 100%; }
.btn.secondary { background: var(--brand-soft); color: var(--brand-dark); box-shadow: none; }
.btn.danger { background: var(--danger); }
.btn.small { min-height: 38px; padding: 0 12px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.notice {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #cfe0ef;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.error { border-color: #e2bcbc; background: #fff0f0; color: #8a2b2b; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--brand-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; background: #f6f9fc; }
tbody tr:hover { background: #f9fbfd; }
tbody tr.row-selected {
  background: #fff8dc;
  box-shadow: inset 4px 0 0 var(--accent);
}
.table-wrap { overflow-x: auto; }
.payment-context {
  border: 1px solid #f0d68a;
  border-radius: 8px;
  background: #fff8dc;
  color: var(--brand-dark);
  padding: 12px;
  display: grid;
  gap: 4px;
}
.payment-context span {
  color: var(--muted);
  font-weight: 800;
}
.editable-table input,
.editable-table select {
  min-height: 40px;
  padding: 8px 10px;
}
.editable-table input[type="color"] {
  width: 54px;
  padding: 4px;
}
.editable-table .table-check {
  min-height: 40px;
  padding: 8px 10px;
  white-space: nowrap;
}
.editable-table .btn.small {
  min-width: 76px;
}
.badge, .zone-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}
.zone-chip { background: color-mix(in srgb, var(--zone) 20%, #fff); color: #1c2c26; border: 1px solid var(--zone); }
.badge.off { background: #f2eeee; color: #7a3b3b; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stats.mini { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.stat { padding: 16px; }
.stat span { color: var(--muted); font-weight: 800; }
.stat b { display: block; font-size: 26px; margin-top: 4px; }
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.quick-card {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbfe);
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0,68,132,.06);
}
.quick-card b { color: var(--brand-dark); font-size: 17px; }
.quick-card span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.quick-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(0,88,169,.12);
}
.zone-bars, .urgent-list {
  display: grid;
  gap: 12px;
}
.zone-bar {
  display: grid;
  gap: 7px;
}
.zone-bar div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
.zone-bar b { color: var(--brand-dark); }
.zone-bar i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--zone) var(--pct), #edf2f7 var(--pct));
}
.urgent-item {
  border: 1px solid var(--line);
  border-left: 5px solid var(--wait);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 3px;
  background: #fffdf7;
}
.urgent-item span { color: var(--muted); font-size: 13px; }
.legend { margin-bottom: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.dot.available, .st-available { --st: #0e9f6e; }
.st-paid { --st: #0e9f6e; }
.dot.reserved, .st-reserved, .st-confirmed { --st: #0058a9; }
.dot.occupied, .st-occupied, .st-checked_in { --st: #6a4fb5; }
.dot.pending_payment, .st-pending_payment, .st-pending, .st-partial { --st: #d3a32f; }
.dot.unavailable, .st-unavailable, .st-cancelled, .st-no_show { --st: #9a9a9a; }
.dot.available, .dot.reserved, .dot.occupied, .dot.pending_payment, .dot.unavailable { background: var(--st); }
.badge[class*="st-"] { background: color-mix(in srgb, var(--st) 16%, #fff); color: #1b2b25; border: 1px solid color-mix(in srgb, var(--st) 45%, #fff); }
.map-zone {
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.beach-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 12px;
}
.map-bed {
  min-height: 118px;
  border: 1px solid color-mix(in srgb, var(--zone-color, var(--st)) 52%, #fff);
  border-left: 6px solid var(--zone-color, var(--st));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--zone-color, var(--st)) 10%, #fff), #fff);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 9px;
  align-content: center;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0,68,132,.07);
  position: relative;
  overflow: hidden;
}
.map-bed::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--zone-color, var(--st)) 18%, transparent);
}
.map-bed i {
  grid-row: 1 / span 3;
  grid-column: 1;
  width: 54px;
  height: 48px;
  border-radius: 8px;
  background:
    url("../images/beach_umbrella_chairs_generated.png") center / contain no-repeat;
  box-shadow: none;
  align-self: center;
  justify-self: center;
}
.map-bed b {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  z-index: 3;
  min-width: 0;
  min-height: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--brand-dark);
  box-shadow: none;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 0 #fff, 0 2px 6px rgba(255,255,255,.95);
}
.map-bed span, .map-bed em, .map-bed small, .map-bed strong { color: var(--muted); font-style: normal; font-size: 12px; z-index: 1; }
.map-bed span,
.map-bed small,
.map-bed em {
  grid-column: 2;
}
.map-bed em { font-weight: 900; color: var(--brand-dark); }
.map-bed small {
  color: var(--brand);
  font-weight: 800;
}
.map-bed strong {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  background: color-mix(in srgb, var(--st) 16%, #fff);
  border: 1px solid color-mix(in srgb, var(--st) 42%, #fff);
  color: var(--brand-dark);
  font-weight: 900;
  line-height: 1;
}
.map-bed.st-available strong {
  display: none;
}
.map-bed.st-reserved,
.map-bed.st-confirmed,
.map-bed.st-occupied,
.map-bed.st-checked_in,
.map-bed.st-pending_payment,
.map-bed.st-pending {
  border-color: #4f2f9a;
  border-left-color: #4f2f9a;
  background:
    linear-gradient(135deg, rgba(106,79,181,.22), rgba(106,79,181,.08) 52%, #fff 52%),
    #f4efff;
  box-shadow: 0 8px 20px rgba(79,47,154,.18);
}
.map-bed.st-reserved::before,
.map-bed.st-confirmed::before,
.map-bed.st-occupied::before,
.map-bed.st-checked_in::before,
.map-bed.st-pending_payment::before,
.map-bed.st-pending::before {
  content: "I zene";
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  border-radius: 999px;
  padding: 4px 9px;
  background: #4f2f9a;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.map-bed.st-reserved::before,
.map-bed.st-confirmed::before {
  content: "Rezervuar";
  background: #0058a9;
}
.map-bed.st-pending_payment::before,
.map-bed.st-pending::before {
  content: "Ne pritje";
  background: #9b6b00;
}
.map-bed.st-reserved::after,
.map-bed.st-confirmed::after,
.map-bed.st-occupied::after,
.map-bed.st-checked_in::after,
.map-bed.st-pending_payment::after,
.map-bed.st-pending::after {
  right: -18px;
  top: -18px;
  width: 72px;
  height: 72px;
  background: rgba(79,47,154,.20);
}
.map-bed.st-reserved::after,
.map-bed.st-confirmed::after {
  background: rgba(0,88,169,.18);
}
.map-bed.st-pending_payment::after,
.map-bed.st-pending::after {
  background: rgba(211,163,47,.24);
}
.map-bed.st-reserved i,
.map-bed.st-confirmed i,
.map-bed.st-occupied i,
.map-bed.st-checked_in i,
.map-bed.st-pending_payment i,
.map-bed.st-pending i {
  background:
    url("../images/beach_umbrella_chairs_generated.png") center / contain no-repeat;
}
.map-bed.st-reserved i,
.map-bed.st-confirmed i {
  background:
    url("../images/beach_umbrella_chairs_generated.png") center / contain no-repeat;
}
.map-bed.st-pending_payment i,
.map-bed.st-pending i {
  background:
    url("../images/beach_umbrella_chairs_generated.png") center / contain no-repeat;
}
.map-bed.st-reserved b,
.map-bed.st-confirmed b,
.map-bed.st-reserved small,
.map-bed.st-confirmed small,
.map-bed.st-reserved em,
.map-bed.st-confirmed em,
.map-bed.st-occupied b,
.map-bed.st-checked_in b,
.map-bed.st-pending_payment b,
.map-bed.st-pending b,
.map-bed.st-occupied small,
.map-bed.st-checked_in small,
.map-bed.st-pending_payment small,
.map-bed.st-pending small,
.map-bed.st-occupied em,
.map-bed.st-checked_in em,
.map-bed.st-pending_payment em,
.map-bed.st-pending em {
  color: #2e1d67;
}
.map-bed.st-reserved b,
.map-bed.st-confirmed b,
.map-bed.st-reserved small,
.map-bed.st-confirmed small,
.map-bed.st-reserved em,
.map-bed.st-confirmed em {
  color: #002d62;
}
.map-bed.st-reserved strong,
.map-bed.st-confirmed strong,
.map-bed.st-occupied strong,
.map-bed.st-checked_in strong,
.map-bed.st-pending_payment strong,
.map-bed.st-pending strong {
  background: #4f2f9a;
  border-color: #4f2f9a;
  color: #fff;
}
.map-bed.st-reserved strong,
.map-bed.st-confirmed strong {
  background: #0058a9;
  border-color: #0058a9;
}
.map-bed.st-pending_payment strong,
.map-bed.st-pending strong {
  background: #9b6b00;
  border-color: #9b6b00;
}
.map-bed.selected {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0,161,223,.16), #fff);
  box-shadow: 0 0 0 4px rgba(0,161,223,.16);
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 20, 16, .42);
  padding: 18px;
  place-items: center;
}
.modal.open { display: grid; }
.modal-box {
  width: min(520px, 100%);
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
}
.bed-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
}
.bed-summary b, .bed-summary span {
  background: #f7fafd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.bed-summary b { color: var(--brand-dark); }
.map-modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.map-quick-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  padding: 10px;
}
.map-quick-form:first-child {
  grid-template-columns: 1fr;
}
.map-quick-form label {
  margin: 0;
}
.map-quick-form input {
  min-height: 44px;
}
.map-quick-form .btn {
  min-height: 46px;
}
.map-extra-actions {
  justify-content: flex-end;
}
.modal-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.receipt {
  width: min(420px, 100%);
  margin: 24px auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  color: #111;
}
.receipt .brand { justify-content: center; text-align: center; display: grid; }
.receipt .brand img {
  width: 150px;
  height: auto;
  margin: 0 auto 8px;
}
.receipt h2 { text-align: center; margin: 8px 0 18px; }
.receipt-line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed #ccc; }
.receipt-total { font-size: 22px; font-weight: 800; }
.receipt-note { text-align: center; margin: 18px 0 0; }
.receipt-actions { justify-content: center; }
.receipt-qr {
  width: 170px;
  height: 170px;
  display: block;
  margin: 14px auto 4px;
  border: 1px solid #ddd;
  background: #fff;
}
.receipt-items {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}
.receipt-items div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed #ddd;
  padding: 6px 0;
}
.qr-panel { max-width: 520px; margin: 0 auto; text-align: center; }
.qr-img {
  width: 220px;
  height: 220px;
  margin: 12px auto;
  display: block;
  border: 1px solid var(--line);
  background: #fff;
}
.qr-code-text {
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.mobile-logo { display: none; width: 38px; height: 38px; object-fit: contain; }
.public-page {
  min-height: 100vh;
  background: #f3f7fb;
}
.public-hero {
  background:
    linear-gradient(180deg, rgba(0,88,169,.94), rgba(0,63,123,.9)),
    url("../images/rugove_logo_s.jpeg") center / min(520px, 90vw) auto no-repeat;
  color: #fff;
  padding: 18px 24px 58px;
}
.public-hero-menu {
  padding-bottom: 38px;
}
.public-hero-menu .public-hero-copy {
  margin-top: 42px;
}
.public-hero-menu .public-hero-copy h1 {
  font-size: clamp(32px, 4vw, 50px);
}
.public-hero nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-logo-link {
  display: inline-flex;
  align-items: center;
}
.public-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.public-hero nav img {
  width: 150px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,30,72,.24);
}
.public-hero-copy {
  max-width: 1180px;
  margin: 64px auto 0;
}
.public-hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}
.public-hero-copy p {
  margin: 0;
  max-width: 620px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.5;
}
.public-content {
  width: min(1180px, calc(100% - 28px));
  margin: -34px auto 46px;
}
.public-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 14px;
  margin-bottom: 18px;
}
.public-search {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
  align-items: end;
  gap: 12px;
  box-shadow: var(--shadow);
  max-width: 100%;
}
.public-bar-code {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  box-shadow: var(--shadow);
}
.public-bar-code b {
  display: block;
  color: var(--brand-dark);
  font-size: 18px;
}
.public-bar-code span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.public-bar-code .btn {
  width: 100%;
}
.public-search label { min-width: 0; }
.public-search input,
.public-search select {
  max-width: 100%;
}
.public-search .btn {
  min-width: 150px;
  white-space: nowrap;
}
.public-content, .public-layout, .public-map, .panel {
  min-width: 0;
}
.public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 34%);
  gap: 18px;
  align-items: start;
}
.public-map .map-zone { margin-bottom: 14px; }
.zone-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.zone-filter-strip span {
  color: var(--muted);
  font-weight: 900;
  margin-right: 4px;
}
.zone-filter-strip a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--zone, var(--brand)) 35%, var(--line));
  border-radius: 8px;
  padding: 0 12px;
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--zone, var(--brand)) 10%, #fff);
  font-weight: 900;
}
.zone-filter-strip a.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.view-toggle {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 12px;
  max-width: 100%;
}
.view-toggle a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 16px;
  color: var(--brand-dark);
  font-weight: 900;
}
.view-toggle a.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,68,132,.14);
}
.public-booking-card {
  position: sticky;
  top: 18px;
  overflow: hidden;
}
.public-booking-card .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 14px;
}
.public-booking-card input,
.public-booking-card select,
.public-booking-card textarea {
  max-width: 100%;
}
.public-booking-card .btn.wide {
  grid-column: 1 / -1;
}
.selected-bed {
  grid-column: 1 / -1;
  min-height: 54px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-weight: 900;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.public-success {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.printable-reservation {
  text-align: left;
}
.printable-reservation h3,
.printable-reservation .qr-code-text,
.printable-reservation .hint,
.printable-reservation .receipt-note {
  text-align: center;
}
.payment-card .actions {
  justify-content: center;
}
.profile-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.4fr;
  gap: 18px;
  align-items: center;
}
.profile-head p { color: var(--muted); margin: 0; }
.profile-info {
  display: grid;
  gap: 10px;
}
.profile-info div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  padding: 12px;
}
.profile-info span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.profile-info b {
  display: block;
  margin-top: 4px;
  color: var(--brand-dark);
}
.evac-total {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
}
.floor-save-form {
  display: grid;
  gap: 12px;
}
.unplaced-shelf {
  display: grid;
  gap: 10px;
  border: 1px dashed color-mix(in srgb, var(--accent) 65%, var(--line));
  border-radius: 8px;
  background: #fff9df;
  padding: 12px;
}
.unplaced-shelf > div:first-child {
  display: grid;
  gap: 2px;
}
.unplaced-shelf span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.unplaced-shelf-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 64px;
}
.unplaced-shelf .floor-bed {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
}
.floor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 8px 22px rgba(0,68,132,.05);
}
.floor-toolbar .actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.floor-toolbar .btn {
  white-space: nowrap;
}
.floor-toolbar div {
  display: grid;
  gap: 2px;
}
.floor-toolbar span {
  color: var(--muted);
  font-size: 13px;
}
.floor-plan {
  position: relative;
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background-color: #e8f2fb;
  background-size: var(--map-fit, contain);
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}
.floor-plan.empty {
  background-image:
    linear-gradient(rgba(0,88,169,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,88,169,.08) 1px, transparent 1px);
  background-size: 36px 36px;
}
.floor-empty {
  position: absolute;
  inset: 16px auto auto 16px;
  max-width: 360px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  z-index: 1;
}
.floor-bed {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%) rotate(var(--rot));
  width: var(--bed-size, 76px);
  aspect-ratio: 1.3;
  border: 2px solid color-mix(in srgb, var(--zone-color) 55%, #fff);
  border-left: 5px solid var(--zone-color);
  border-radius: 7px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 4px;
  cursor: grab;
  box-shadow: 0 10px 24px rgba(0,30,72,.18);
  touch-action: none;
  user-select: none;
  z-index: 2;
}
.floor-bed:active,
.floor-bed.dragging {
  cursor: grabbing;
  z-index: 5;
  box-shadow: 0 16px 34px rgba(0,30,72,.26);
}
.floor-bed.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,161,223,.18), 0 16px 34px rgba(0,30,72,.22);
}
.floor-bed.unplaced {
  border-style: dashed;
  background: rgba(255, 245, 207, .96);
  box-shadow: 0 0 0 3px rgba(255, 176, 0, .22), 0 10px 24px rgba(0,30,72,.18);
}
.floor-bed i {
  grid-column: 1;
  grid-row: 1;
  width: 76%;
  aspect-ratio: 1.26;
  border-radius: 8px;
  background:
    url("../images/beach_umbrella_chairs_generated.png") center / contain no-repeat;
  box-shadow: none;
}
.floor-bed b {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  display: grid;
  place-items: center;
  align-self: start;
  min-width: 0;
  min-height: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: var(--brand-dark);
  font-size: var(--bed-font, 13px);
  font-weight: 900;
  transform: translateY(-5px);
  line-height: 1;
  text-shadow: 0 1px 0 #fff, 0 2px 6px rgba(255,255,255,.95);
}
.floor-bed span {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}
.public-floor-section {
  padding: 14px;
}
.public-floor {
  min-height: 460px;
  background-size: 100% 100% !important;
}
.floor-save-form .floor-plan {
  background-size: 100% 100% !important;
}
.public-floor .floor-empty {
  max-width: 320px;
}
.public-floor-bed {
  cursor: pointer;
  width: var(--bed-size, 66px);
  aspect-ratio: 1.3;
  padding: 4px;
  border-left-width: 4px;
  box-shadow: 0 8px 18px rgba(0,30,72,.16);
}
.public-floor-bed i {
  width: 76%;
  aspect-ratio: 1.26;
}
.public-floor-bed b {
  font-size: var(--bed-font, 12px);
}
.compact-list {
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px;
}
.compact-list .map-bed {
  min-height: 92px;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 2px 8px;
  padding: 9px;
}
.compact-list .map-bed i {
  width: 44px;
  height: 40px;
}
.compact-list .map-bed b {
  left: 50%;
  top: 10px;
  font-size: 14px;
}
.compact-list .map-bed span,
.compact-list .map-bed em {
  font-size: 11px;
}
.public-zone-list {
  display: grid;
  gap: 12px;
}
.public-zone-group {
  margin-bottom: 0;
  padding: 14px;
}
.public-zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.public-zone-head h3 {
  margin: 0;
}
.public-zone-head h3::before {
  display: none;
}
.public-zone-head > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.public-zone-head .zone-chip {
  min-height: 32px;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
}
.theme-dark {
  --bg: #0d1622;
  --surface: #121f2d;
  --ink: #eef6ff;
  --muted: #9eb0c2;
  --line: #26384c;
  --brand-soft: #0f2b48;
  --shadow: 0 18px 44px rgba(0,0,0,.28);
}
.theme-dark input,
.theme-dark select,
.theme-dark textarea,
.theme-dark .check,
.theme-dark .panel,
.theme-dark .stat,
.theme-dark .quick-card,
.theme-dark .map-zone,
.theme-dark .toolbar,
.theme-dark .modal-box,
.theme-dark .public-search {
  background: var(--surface);
  color: var(--ink);
}
.theme-dark th,
.theme-dark .bed-summary b,
.theme-dark .bed-summary span { background: #17283a; }
.theme-dark .map-bed { background: linear-gradient(180deg, color-mix(in srgb, var(--zone-color, var(--st)) 20%, #17283a), #111d2a); }
.theme-dark .urgent-item { background: #211c12; }
.theme-sunlight {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #071421;
  --muted: #26384c;
  --line: #a8b8c9;
  --brand: #004f9e;
  --brand-dark: #002d62;
  --accent: #ffb000;
  --brand-soft: #fff5cf;
}
.theme-sunlight .btn,
.theme-sunlight .nav a,
.theme-sunlight input,
.theme-sunlight select {
  min-height: 54px;
}
.theme-sunlight .map-bed {
  border-width: 2px;
  box-shadow: 0 4px 0 rgba(0,0,0,.15);
}
.public-menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
  gap: 18px;
  align-items: start;
}
.public-menu-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.public-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.public-menu-head h3 {
  margin: 3px 0 0;
  font-size: 26px;
  line-height: 1.1;
}
.public-menu-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.public-menu-head > b {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 8px;
  padding: 9px 12px;
  white-space: nowrap;
}
.public-menu-cats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  margin: 0 -2px 8px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.public-menu-cats a {
  flex: 0 0 112px;
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}
.public-menu-cats img,
.public-menu-cats i {
  width: 112px;
  aspect-ratio: 1.28;
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(135deg, #fff3d4, #e7f3ff);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  font-style: normal;
  font-size: 28px;
}
.menu-category {
  margin: 22px 0 10px;
  color: var(--brand-dark);
  font-size: 21px;
  line-height: 1.2;
}
.menu-category-block {
  scroll-margin-top: 110px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.menu-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: 96px 40px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  min-height: 126px;
  gap: 10px;
}
.menu-item.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,88,169,.1);
}
.menu-item img,
.menu-item > i {
  width: 96px;
  height: 96px;
  min-width: 96px;
  max-width: 96px;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #eef7ff, #fff4d6);
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  font-style: normal;
  font-size: 28px;
  font-weight: 900;
}
.menu-item-copy { display: grid; align-content: center; gap: 6px; color: var(--ink); min-width: 0; height: 96px; overflow: hidden; }
.menu-item b { overflow-wrap: anywhere; line-height: 1.18; }
.menu-item em { font-style: normal; color: var(--brand-dark); font-size: 15px; font-weight: 900; }
.qty-control {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 6px;
}
.qty-control button,
.qty-control input {
  min-height: 40px;
  border-radius: 8px;
}
.qty-control button {
  border: 1px solid var(--line);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 20px;
  font-weight: 900;
}
.qty-control input {
  text-align: center;
  padding: 0 4px;
}
.menu-notes {
  display: block;
  margin-top: 14px;
}
.public-menu-submit {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--surface) 28%);
  padding-top: 16px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.public-menu-submit div {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-weight: 900;
}
.public-menu-submit b {
  color: var(--brand-dark);
  font-size: 20px;
}
.public-menu-submit .btn { width: 100%; }
.order-ticket {
  position: sticky;
  top: 18px;
}
.order-ticket h3 {
  margin-top: 0;
}
.bar-item-panel {
  padding-bottom: 14px;
}
.bar-admin-shell {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.bar-admin-stack {
  display: grid;
  gap: 14px;
}
.bar-item-panel summary,
.bar-category-panel summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.bar-item-panel summary::-webkit-details-marker,
.bar-category-panel summary::-webkit-details-marker {
  display: none;
}
.bar-item-panel summary h3 {
  margin: 0 0 3px;
}
.bar-item-panel summary span,
.bar-category-panel summary b {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.bar-item-panel summary > b {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 0 14px;
  white-space: nowrap;
}
.bar-item-panel[open] summary {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.bar-category-list {
  display: grid;
  gap: 10px;
}
.bar-category-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.bar-category-panel summary {
  padding: 12px 14px;
  background: color-mix(in srgb, var(--brand-soft) 62%, #fff);
}
.bar-category-panel summary span {
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 900;
}
.bar-category-panel[open] summary {
  border-bottom: 1px solid var(--line);
}
.bar-category-panel .bar-menu-cards {
  padding: 12px;
}
.bar-item-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bar-orders-table th,
.bar-orders-table td {
  padding: 9px 12px;
  line-height: 1.25;
  vertical-align: middle;
}
.bar-orders-panel {
  min-width: 0;
}
.bar-panel-actions,
.bar-date-filter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.bar-date-filter {
  margin: 0;
}
.bar-date-filter input[type="date"] {
  width: 180px;
  min-height: 40px;
}
.bar-date-filter .btn,
.bar-panel-actions .btn {
  min-height: 40px;
}
.bar-order-cards {
  display: grid;
  gap: 8px;
}
.bar-order-card {
  display: grid;
  grid-template-columns: minmax(230px, .9fr) minmax(260px, 1.2fr) minmax(300px, auto);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
}
.bar-order-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.bar-order-main span,
.bar-order-body span,
.bar-order-total span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.bar-order-main h4 {
  margin: 1px 0 0;
  color: var(--brand-dark);
  font-size: 16px;
  line-height: 1.1;
}
.bar-order-main em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.bar-order-total {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  text-align: right;
}
.bar-order-total b {
  display: block;
  color: var(--brand-dark);
  font-size: 15px;
  line-height: 1.1;
}
.bar-order-body {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
}
.bar-order-body b {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.bar-order-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  border-top: 0;
  padding-top: 0;
  min-width: 0;
}
.bar-order-actions .badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
}
.bar-order-actions .btn.small,
.bar-order-actions select {
  min-height: 34px;
  font-size: 13px;
}
.bar-order-actions .btn.small {
  padding: 0 10px;
}
.bar-menu-panel {
  min-width: 0;
}
.bar-menu-cards {
  display: grid;
  gap: 10px;
}
.bar-menu-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  grid-template-areas:
    "photo fields"
    "photo actions";
  gap: 10px 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, #fff);
  padding: 12px;
}
.bar-menu-photo {
  grid-area: photo;
  display: grid;
  gap: 8px;
  min-width: 0;
}
.bar-menu-photo label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.bar-menu-photo input[type="file"] {
  width: 100%;
  min-height: 34px;
  padding: 6px;
  font-size: 12px;
}
.bar-menu-fields {
  grid-area: fields;
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(140px, .9fr) 110px 110px;
  gap: 10px;
  min-width: 0;
}
.bar-menu-fields label {
  min-width: 0;
}
.bar-menu-fields input {
  min-height: 38px;
  padding: 7px 9px;
}
.bar-menu-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}
.menu-active-check {
  margin: 0;
  white-space: nowrap;
  min-height: 38px;
  padding: 0 12px;
}
.bar-orders-table th:nth-child(5),
.bar-orders-table td:nth-child(5) {
  white-space: nowrap;
}
.bar-orders-table td:first-child {
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}
.bar-orders-table td:nth-child(4) {
  max-width: 420px;
}
.bar-menu-thumb {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
}
.bar-menu-thumb.placeholder {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
}
.bar-order-form {
  flex-wrap: nowrap;
  gap: 6px;
}
.bar-order-form select {
  width: 132px;
  min-height: 36px;
  padding-left: 10px;
  padding-right: 28px;
}
.bar-order-form .btn {
  min-height: 36px;
  padding: 0 14px;
}

@media (max-width: 1080px) {
  .grid.three { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid, .form-compact, .form-wide { grid-template-columns: 1fr; }
  .section-title { align-items: start; flex-direction: column; }
}

@media (max-width: 1380px) {
  .bar-admin-shell {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  }
  .bar-menu-fields {
    grid-template-columns: minmax(180px, 1fr) minmax(130px, .8fr) 104px 104px;
  }
}

@media (max-width: 1220px) {
  .bar-admin-shell {
    grid-template-columns: 1fr;
  }
  .bar-menu-fields {
    grid-template-columns: minmax(220px, 1.4fr) minmax(140px, .9fr) 110px 110px;
  }
}

@media (max-width: 760px) {
  .bar-menu-card {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas:
      "photo fields"
      "actions actions";
  }
  .bar-menu-thumb {
    width: 86px;
    height: 86px;
  }
  .bar-menu-fields {
    grid-template-columns: 1fr 1fr;
  }
  .bar-menu-actions {
    justify-content: stretch;
  }
  .bar-menu-actions .badge,
  .bar-menu-actions .check,
  .bar-menu-actions .btn {
    flex: 1 1 140px;
  }
}

@media (max-width: 900px) {
  .bar-admin-shell,
  .bar-item-form {
    grid-template-columns: 1fr;
  }
  .bar-menu-card {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas:
      "photo fields"
      "actions actions";
  }
  .bar-menu-actions {
    justify-content: stretch;
    align-items: center;
  }
  .bar-menu-fields {
    grid-template-columns: 1fr 1fr;
  }
  .bar-menu-thumb {
    width: 78px;
    height: 78px;
  }
  .bar-order-form {
    flex-wrap: wrap;
  }
  .bar-order-form select {
    width: 100%;
  }
  .bar-order-main,
  .bar-order-body {
    grid-template-columns: 1fr;
  }
  .bar-order-card {
    grid-template-columns: 1fr;
  }
  .bar-order-total {
    text-align: left;
  }
  .bar-order-actions,
  .bar-order-actions .inline-form,
  .bar-order-actions .btn,
  .bar-order-actions select {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .bar-menu-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "fields"
      "actions";
  }
  .bar-menu-photo {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
  }
  .bar-menu-fields,
  .bar-menu-actions {
    grid-template-columns: 1fr;
  }
  .bar-menu-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 1280px) {
  .public-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .public-entry-grid {
    grid-template-columns: 1fr;
  }
  .public-search {
    grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
  }
  .public-booking-card .form-grid {
    grid-template-columns: 1fr;
  }
  .settings-zones-layout {
    grid-template-columns: 1fr;
  }
  .settings-zone-create {
    position: static;
  }
  .settings-zone-create .form-compact,
  .zone-editor-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zone-editor-card {
    grid-template-columns: 8px minmax(0, 1fr);
  }
  .zone-editor-actions {
    grid-column: 2;
    align-items: center;
  }
  .bulk-edit-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dashboard-hero {
    grid-template-columns: minmax(0, 1fr) 150px;
  }
  .dashboard-hero-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .dashboard-main,
  .dashboard-side {
    grid-template-columns: 1fr;
  }
  .golive-grid {
    grid-template-columns: 1fr;
  }
  .config-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-layout {
    grid-template-columns: 1fr;
  }
  .pricing-create {
    position: static;
  }
  .pricing-create-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .price-rule-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .discount-create-form,
  .discount-rule-form,
  .discount-rule-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .discount-rule-summary,
  .discount-delete-form {
    grid-column: 1 / -1;
  }
  .structure-layout {
    grid-template-columns: 1fr;
  }
  .type-editor-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reservation-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .login-page { padding: 14px; align-items: start; }
  .login-box {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 14px;
  }
  .login-mark {
    padding: 24px;
    gap: 18px;
  }
  .login-mark img { width: min(190px, 100%); }
  .login-mark h1 { font-size: 26px; }
  .login-fields { padding: 24px; }
  .app-shell { display: block; }
  .sidebar {
    position: fixed;
    bottom: 0;
    top: auto;
    height: auto;
    width: 100%;
    z-index: 20;
    padding: 8px;
    overflow-x: auto;
  }
  .sidebar .brand { display: none; }
  .nav { display: flex; gap: 5px; min-width: max-content; }
  .nav-section-title {
    display: none;
  }
  .nav a {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    padding: 7px 10px;
    font-size: 11px;
    min-height: 60px;
    min-width: 84px;
  }
  .nav a::before {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 3px;
    height: 3px;
    width: auto;
  }
  .nav a span:not(.nav-icon) {
    max-width: 72px;
    text-align: center;
  }
  .nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .nav-icon svg {
    width: 16px;
    height: 16px;
  }
  .nav a:hover {
    transform: none;
  }
  .nav a.active { box-shadow: none; }
  .main { padding-bottom: 90px; }
  .topbar { padding: 12px 14px; min-height: 62px; }
  .topbar h2 { font-size: 20px; }
  .content { padding: 14px; }
  .content::before { margin-bottom: 12px; }
  .grid.two, .grid.three, .form-grid, .stats { grid-template-columns: 1fr; }
  .config-shortcuts {
    grid-template-columns: 1fr;
  }
  .reservation-form-grid,
  .reservation-action-form {
    grid-template-columns: 1fr;
  }
  .reservation-actions {
    flex-wrap: wrap;
  }
  .reservation-action-form select {
    width: 100%;
  }
  .reservation-form-grid .span-2 {
    grid-column: 1;
  }
  .reservation-price-summary {
    grid-template-columns: 1fr;
  }
  .reservation-list-head {
    align-items: stretch;
    flex-direction: column;
  }
  .reservation-filter {
    align-items: stretch;
    flex-direction: column;
  }
  .reservation-filter label {
    min-width: 0;
  }
  .reservation-submit {
    justify-content: stretch;
  }
  .reservation-submit .btn {
    width: 100%;
  }
  .bulk-edit-controls {
    grid-template-columns: 1fr;
  }
  .bulk-table-wrap {
    max-height: none;
    min-height: 0;
  }
  .bulk-select-line {
    align-items: stretch;
    flex-direction: column;
  }
  .dashboard-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .occupancy-ring {
    width: 132px;
    justify-self: center;
  }
  .dashboard-alerts a {
    flex: 1 1 160px;
    justify-content: center;
  }
  .dashboard-stats,
  .dashboard-actions,
  .customer-metrics {
    grid-template-columns: 1fr;
  }
  .dashboard-date-filter {
    justify-content: stretch;
  }
  .dashboard-date-filter input[type="date"] {
    flex: 1 1 180px;
    width: auto;
  }
  .payment-date-filter {
    justify-content: stretch;
    width: 100%;
  }
  .payment-panel-actions {
    justify-content: stretch;
    width: 100%;
  }
  .payment-date-filter input[type="date"] {
    flex: 1 1 180px;
    width: auto;
  }
  .bar-panel-actions,
  .bar-date-filter {
    justify-content: stretch;
    width: 100%;
  }
  .bar-date-filter input[type="date"] {
    flex: 1 1 180px;
    width: auto;
  }
  .trend-chart {
    overflow-x: auto;
    grid-template-columns: repeat(15, 92px);
  }
  .trend-bars {
    height: 120px;
  }
  .pricing-create-form,
  .price-rule-form {
    grid-template-columns: 1fr;
  }
  .price-rule-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .price-rule-actions .btn {
    width: 100%;
  }
  .price-rule-card summary {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-right: 52px;
    position: relative;
  }
  .price-rule-card summary::after {
    position: absolute;
    right: 12px;
    top: 14px;
  }
  .type-editor-card {
    grid-template-columns: 1fr;
  }
  .settings-zone-create .form-compact,
  .zone-editor-fields {
    grid-template-columns: 1fr;
  }
  .zone-editor-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .zone-editor-accent {
    height: 7px;
  }
  .zone-editor-actions {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
  }
  .quick-actions { grid-template-columns: 1fr; }
  .toolbar label { min-width: 100%; }
  .userbar .user-link { display: none; }
  .theme-switch { display: none; }
  .mobile-logo { display: block; }
  .beach-map { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 9px; }
  .map-bed { min-height: 108px; grid-template-columns: 28px minmax(0, 1fr); padding: 10px; }
  .map-bed i { width: 48px; height: 42px; }
  .public-hero { padding: 14px 14px 42px; }
  .public-hero nav img { width: 132px; }
  .public-hero-copy { margin-top: 44px; }
  .public-hero-copy h1 {
    font-size: 36px;
    line-height: 1.05;
  }
  .public-hero-copy p {
    font-size: 18px;
    line-height: 1.45;
  }
  .public-entry-grid, .public-search, .public-layout, .public-menu-layout { display: grid; grid-template-columns: 1fr; }
  .public-search .btn { width: 100%; }
  .public-search label { min-width: 0; }
  .public-booking-card .form-grid { grid-template-columns: 1fr; }
  .public-booking-card { position: static; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-item {
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
    padding: 10px;
    gap: 10px;
  }
  .menu-item img,
  .menu-item > i {
    width: 82px;
    height: 82px;
    min-width: 82px;
    max-width: 82px;
  }
  .menu-item-copy {
    height: auto;
    min-height: 82px;
    overflow: visible;
  }
  .menu-item b {
    font-size: 17px;
  }
  .menu-item em {
    font-size: 14px;
  }
  .qty-control {
    grid-template-columns: 44px minmax(52px, 1fr) 44px;
  }
  .public-menu-head {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
  .public-menu-head h3 {
    font-size: 30px;
  }
  .public-menu-head > b {
    white-space: normal;
    overflow-wrap: anywhere;
    width: 100%;
  }
  .public-menu-cats {
    top: 0;
    margin-left: -16px;
    margin-right: -16px;
    padding: 8px 16px 10px;
    gap: 8px;
  }
  .public-menu-cats a {
    flex-basis: 82px;
    font-size: 14px;
    line-height: 1.15;
  }
  .public-menu-cats img,
  .public-menu-cats i {
    width: 82px;
    font-size: 24px;
  }
  .public-menu-submit {
    grid-template-columns: 1fr;
    position: sticky;
    bottom: 0;
    margin-left: -10px;
    margin-right: -10px;
    padding: 12px 10px 10px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    z-index: 10;
  }
  .public-menu-submit div {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .public-menu-submit .btn {
    min-height: 50px;
    white-space: normal;
    line-height: 1.15;
    padding-left: 12px;
    padding-right: 12px;
  }
  .order-ticket {
    position: static;
  }
  .profile-head, .bed-summary { grid-template-columns: 1fr; }
  .floor-plan { min-height: 520px; }
  .floor-toolbar { align-items: stretch; flex-direction: column; }
  .floor-toolbar .actions {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .floor-bed { width: var(--bed-size, 66px); }
  .public-floor { min-height: 380px; }
  .public-floor-bed {
    width: var(--bed-size, 58px);
    padding: 4px;
  }
  .public-floor-bed i {
    width: 76%;
  }
  .public-floor-bed b { font-size: 11px; }
  .map-quick-form {
    grid-template-columns: 1fr;
  }
  .compact-list { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
}

@media (max-width: 560px) {
  .public-page {
    overflow-x: hidden;
  }
  .public-content {
    width: 100%;
    margin: -24px 0 34px;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .public-menu-layout,
  .public-menu-panel,
  .menu-grid,
  .menu-category-block,
  .menu-item {
    min-width: 0;
  }
  .public-menu-panel {
    padding: 12px;
  }
  .public-hero {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 34px;
  }
  .public-hero nav {
    gap: 8px;
  }
  .public-hero nav img {
    width: 118px;
  }
  .public-hero-menu .public-hero-copy {
    margin-top: 30px;
  }
  .public-hero-copy h1 {
    font-size: 30px;
    line-height: 1.08;
  }
  .public-hero-copy p {
    font-size: 16px;
    line-height: 1.42;
  }
  .public-menu-cats {
    margin-left: -12px;
    margin-right: -12px;
    padding: 8px 12px;
    gap: 7px;
    top: 0;
  }
  .public-menu-cats a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: 150px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 7px 10px 7px 7px;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
  }
  .public-menu-cats img,
  .public-menu-cats i {
    width: 28px;
    height: 28px;
    min-width: 28px;
    aspect-ratio: 1;
    border-radius: 999px;
    font-size: 22px;
  }
  .public-menu-cats span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .menu-category {
    font-size: 19px;
  }
  .menu-item {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 9px;
    padding: 9px;
  }
  .menu-item img,
  .menu-item > i {
    width: 72px;
    height: 72px;
    min-width: 72px;
    max-width: 72px;
  }
  .menu-item-copy {
    min-height: 72px;
    align-content: center;
    gap: 4px;
  }
  .menu-item b {
    font-size: 16px;
  }
  .qty-control {
    grid-template-columns: 42px minmax(48px, 1fr) 42px;
  }
  .qty-control button,
  .qty-control input {
    min-height: 38px;
  }
  form[data-menu-order] {
    padding-bottom: 96px;
  }
  .public-menu-submit {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 22px rgba(0, 38, 84, .08);
  }
}

@media print {
  body { background: #fff; }
  .no-print, .sidebar, .topbar, .public-hero, .actions:not(.receipt-actions) { display: none !important; }
  .receipt, .printable-reservation { margin: 0 auto; border: 0; box-shadow: none; }
  .public-content { margin: 0 auto; width: min(420px, 100%); }
}

------WebKitFormBoundaryQT7ZzHjIFGeCQjg3
Content-Disposition: form-data; name="overwrite"

1