/* OTOMATİK ÜRETİLDİ — elle düzenlemeyin.
   app.css'in yalnızca misafir sayfasında kullanılan alt kümesi.
   Yeniden üretmek için: python tools/build-guest-css.py
   app.css değişmedi; panel onu kullanmaya devam ediyor.
   Misafir sınıfı sayısı: 211 */

:root {
  --oa-primary: #073866;
  --oa-primary-light: #0c5a9e;
  --oa-primary-dark: #052847;
  --oa-accent: #4F46E5;
  --oa-accent-dark: #4338CA;
  --oa-accent-soft: #EEF2FF;
  --oa-select: #0EA5E9;
  --oa-select-glow: rgba(14, 165, 233, 0.28);
  --oa-success: #10B981;
  --oa-success-dark: #059669;
  --oa-warning: #F59E0B;
  --oa-warning-soft: #FFFBEB;
  --oa-warning-border: #D97706;
  --oa-danger: #EF4444;
  --oa-danger-dark: #DC2626;
  --oa-danger-soft: #FEE2E2;
  --oa-danger-text: #991B1B;
  --oa-ok-soft: #D1FAE5;
  --oa-ok-text: #065F46;
  --oa-gray-50: #F9FAFB;
  --oa-gray-100: #F3F4F6;
  --oa-gray-200: #E5E7EB;
  --oa-gray-400: #9CA3AF;
  --oa-gray-500: #6B7280;
  --oa-gray-700: #374151;
  --oa-gray-900: #111827;
  --oa-topbar-bg: #F0F4F8;
  --oa-topbar-border: #D8E0EA;
  --oa-radius: 12px;
  --oa-radius-sm: 8px;
  --oa-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --oa-font: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --oa-sidebar-w: 248px;

  /* Tipografi ölçeği (4px ızgara) */
  --text-2xs: 0.75rem;   /* 12px */
  --text-xs: 0.8125rem;  /* 13px */
  --text-sm: 0.875rem;   /* 14px */
  --text-md: 0.9375rem;  /* 15px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.35rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;

  --bg: var(--oa-gray-50);
  --bg2: #fff;
  --card: #fff;
  --text: var(--oa-gray-900);
  --muted: var(--oa-gray-500);
  --accent: var(--oa-accent);
  --accent2: var(--oa-primary);
  --danger: var(--oa-danger);
  --line: var(--oa-gray-200);
  --radius: var(--oa-radius);
  --font: var(--oa-font);
  --surface: #fff;
  --surface-2: var(--oa-gray-50);
  --flash-ok-bg: var(--oa-ok-soft);
  --flash-ok-fg: var(--oa-ok-text);
  --flash-err-bg: var(--oa-danger-soft);
  --flash-err-fg: var(--oa-danger-text);
}
@media (prefers-color-scheme: dark) {
.body-panel .auth-card,
  .body-panel .price-card,
  .body-panel .table-wrap,
  .body-panel .panel-main,
  .body-panel .editor-inspector,
  .body-panel dialog {
    background: var(--card);
    color: var(--text);
  }
.body-panel dialog .btn-row,
  .body-panel dialog .sticky-dlg-actions { border-top-color: var(--oa-gray-200); }
.body-panel dialog.mr-dialog--confirm .dlg-icon {
    background: #1E293B;
    border-color: #334155;
    color: #93C5FD;
  }
.body-panel dialog.mr-dialog--confirm .dlg-icon.is-danger {
    background: #450A0A;
    border-color: #7F1D1D;
    color: #FECACA;
  }
.body-panel .dlg-tab.is-active { background: #1E293B; color: #E2E8F0; }
.body-panel .zone-page-title { color: var(--text); }
.body-panel .zone-page-title.is-active { color: #fff; }
.body-panel .btn-ghost {
    background: var(--oa-gray-100);
    color: var(--oa-gray-700);
    border-color: var(--oa-gray-200);
  }
.body-panel .floor-table.st-available,
  .body-panel .floor-table.pick.is-pickable:not(.is-unavailable) {
    background: #1E293B !important;
  }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Yazar kurallarının display:flex/block ile ezmesini engelle */
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: var(--oa-font);
  background: var(--oa-gray-50);
  color: var(--oa-gray-900);
  min-height: 100vh;
  line-height: 1.5;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.55rem 0.9rem;
  background: var(--oa-primary);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 0.75rem; }
a { color: var(--oa-accent); text-decoration: none; }
a:hover { color: var(--oa-accent-dark); }
.topbar .btn { background: #fff; color: var(--oa-primary); }
.topbar .btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--oa-primary), var(--oa-primary-light));
  color: #fff;
  border: 0;
  border-radius: var(--oa-radius-sm);
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  text-decoration: none;
  min-height: 44px;
}
.btn:hover { filter: brightness(1.05); color: #fff; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
.zone-page-title:focus-visible,
.guest-list-table:focus-visible {
  outline: 3px solid var(--oa-accent);
  outline-offset: 2px;
}
.btn-ghost {
  background: var(--oa-gray-100);
  color: var(--oa-gray-700);
  border: 1px solid var(--oa-gray-200);
}
.btn-ghost:hover { background: var(--oa-gray-200); color: var(--oa-gray-900); }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.85rem; min-height: 44px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--oa-danger); color: #fff; }
.btn:disabled,
.btn[disabled] {
  opacity: 1;
  cursor: not-allowed;
  filter: none;
  transform: none;
  background: var(--oa-gray-200);
  color: var(--oa-gray-500);
  box-shadow: none;
}
@keyframes panel-skeleton-shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.btn-ghost:disabled,
.btn-ghost[disabled] {
  background: var(--oa-gray-100);
  color: var(--oa-gray-400);
  border-color: var(--oa-gray-200);
}
#undoBtn:not(:disabled) {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--oa-gray-200);
  border-radius: var(--oa-radius);
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: var(--oa-shadow);
}
.auth-card h1 { color: var(--oa-primary); font-size: 1.4rem; margin-top: 0; }
.form { display: grid; gap: 0.85rem; }
.form.narrow { max-width: 420px; }
label { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--oa-gray-700); font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--oa-radius-sm);
  border: 2px solid var(--oa-gray-200);
  background: var(--surface);
  color: var(--oa-gray-900);
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--oa-accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.muted { color: var(--oa-gray-500); }
.center { text-align: center; }
.flash {
  padding: 0.8rem 1rem;
  margin: 0.75rem 4vw;
  border-radius: var(--oa-radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
}
.flash-ok { background: var(--flash-ok-bg); color: var(--flash-ok-fg); }
.flash-error { background: var(--flash-err-bg); color: var(--flash-err-fg); }
.panel-lang-switch--strong a.is-active {
  color: #073866;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.panel-lang-switch--strong a.is-active .lang-full { opacity: 1; color: #073866; }
.panel-more-links .panel-lang-switch--strong a.is-active {
  color: #fff;
  background: #073866;
  box-shadow: none;
}
.panel-more-links .panel-lang-switch--strong a.is-active .lang-full {
  color: #fff;
}
.toolbar-actions .btn,
.editor-topbar-actions .btn,
.toolbar-actions .inline-form,
.toolbar-actions label,
.editor-topbar-actions .inline-form,
.editor-topbar-actions label {
  flex-shrink: 0;
}
/* Toolbar içindeki kontroller — tek satır, btn-sm ile aynı yükseklik */
.toolbar input,
.toolbar select,
.editor-topbar input,
.editor-topbar select {
  width: auto;
  min-height: 2.25rem;
  height: 2.25rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.875rem;
  box-sizing: border-box;
}
.toolbar .btn-sm,
.editor-topbar .btn-sm {
  min-height: 44px;
  height: 44px;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
}
.toolbar .btn:not(.btn-sm),
.editor-topbar .btn:not(.btn-sm) {
  min-height: 2.25rem;
  height: 2.25rem;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
}
.editor-menu button.is-danger {
  color: var(--oa-danger);
}
.editor-selection-bar .btn {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.editor-selection-bar .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.editor-tag-grid .check-inline {
  font-size: 0.8rem;
  font-weight: 500;
}
.floor-item-wrap.is-locked .floor-table {
  opacity: 0.7;
  outline: 2px dashed var(--oa-danger);
  outline-offset: 2px;
}
.floor-item-wrap.is-combined .floor-table {
  box-shadow: 0 0 0 2px #F59E0B;
}
.floor-item-wrap.is-search-hit .floor-table {
  outline: 3px solid #10B981;
  outline-offset: 3px;
}
.floor-table.shape-booth {
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #E8EEF5, #fff);
  border-color: #7C93B2;
}
.floor-table.shape-banquette {
  border-radius: 4px 16px 16px 4px;
  background: #F3EDE4;
  border-color: #A67C52;
}
.floor-table.shape-hightop {
  border-radius: 10px;
  background: #FFF7ED;
  border-color: #C2410C;
}
.floor-table.shape-cabana {
  border-radius: 8px;
  background: linear-gradient(160deg, #FEF3C7, #FDE68A);
  border-color: #D97706;
}
.floor-table.shape-daybed {
  border-radius: 14px;
  background: #ECFDF5;
  border-color: #059669;
}
/* Plaj locası: kare çardak. Hasır zemin + dört köşe direği + tente gölgesi. */
.floor-table.shape-beachloge {
  border-radius: 6px;
  border: 3px solid #B4762E;
  background-color: #F5E7C6;
  background-image:
    linear-gradient(#B4762E, #B4762E),
    linear-gradient(#B4762E, #B4762E),
    linear-gradient(#B4762E, #B4762E),
    linear-gradient(#B4762E, #B4762E),
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 42%),
    repeating-linear-gradient(45deg, #FDF6E3, #FDF6E3 6px, #F5E7C6 6px, #F5E7C6 12px);
  background-repeat: no-repeat;
  background-size:
    8px 8px,
    8px 8px,
    8px 8px,
    8px 8px,
    100% 100%,
    100% 100%;
  background-position:
    4px 4px,
    calc(100% - 4px) 4px,
    4px calc(100% - 4px),
    calc(100% - 4px) calc(100% - 4px),
    0 0,
    0 0;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.65);
}
.floor-table.shape-beachloge::before,
.floor-table.shape-beachloge::after {
  content: none;
  display: none;
}
.floor-table.shape-beachloge .table-face { z-index: 3; }
.floor-table.shape-walkway {
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #E5E7EB, #E5E7EB 8px, #D1D5DB 8px, #D1D5DB 16px);
  border-color: #9CA3AF;
  color: #4B5563;
}
.floor-table.shape-stage {
  border-radius: 6px;
  background: #1F2937;
  border-color: #111827;
  color: #F9FAFB;
}
.floor-table.shape-stage .table-name,
.floor-table.shape-stage .cap-label { color: #F9FAFB; background: transparent; }
.floor-table.shape-entrance {
  border-radius: 8px;
  border: 2px solid #047857;
  background: linear-gradient(180deg, #ECFDF5, #A7F3D0);
  color: #065F46;
}
.floor-table.shape-wc {
  border-radius: 10px;
  border: 2px solid #1D4ED8;
  background: linear-gradient(180deg, #EFF6FF, #BFDBFE);
  color: #1E3A8A;
}
.floor-table.shape-kitchen {
  border-radius: 8px;
  border: 2px solid #C2410C;
  background: linear-gradient(180deg, #FFF7ED, #FED7AA);
  color: #9A3412;
}
.floor-table.shape-cashier {
  border-radius: 8px;
  border: 2px solid #0F766E;
  background: linear-gradient(180deg, #F0FDFA, #99F6E4);
  color: #115E59;
}
.floor-table.shape-column {
  border-radius: 999px;
  border: 2px solid #78716C;
  background:
    radial-gradient(circle at 35% 30%, #E7E5E4 0 28%, transparent 32%),
    linear-gradient(180deg, #D6D3D1, #A8A29E);
  color: #44403C;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.floor-table.shape-wall {
  border-radius: 2px;
  border: 1px solid #57534E;
  background: repeating-linear-gradient(90deg, #A8A29E 0 10px, #78716C 10px 12px);
  color: #1C1917;
  overflow: hidden;
  box-shadow: none;
  padding: 0;
}
.floor-table.shape-entrance .table-name,
.floor-table.shape-wc .table-name,
.floor-table.shape-kitchen .table-name,
.floor-table.shape-cashier .table-name,
.floor-table.shape-column .table-name,
.floor-table.shape-wall .table-name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: inherit;
  background: transparent;
}
.floor-table.shape-column .table-name { font-size: 0.52rem; }
.floor-table.shape-wall .table-name { font-size: 0.58rem; }
.floor-table.shape-entrance .cap-label,
.floor-table.shape-wc .cap-label,
.floor-table.shape-kitchen .cap-label,
.floor-table.shape-cashier .cap-label,
.floor-table.shape-column .cap-label,
.floor-table.shape-wall .cap-label { display: none; }
.floor-table.shape-entrance.st-available,
.floor-table.shape-entrance.st-reserved,
.floor-table.shape-entrance.st-seated,
.floor-table.shape-entrance.st-closed,
.floor-table.shape-wc.st-available,
.floor-table.shape-wc.st-reserved,
.floor-table.shape-wc.st-seated,
.floor-table.shape-wc.st-closed,
.floor-table.shape-kitchen.st-available,
.floor-table.shape-kitchen.st-reserved,
.floor-table.shape-kitchen.st-seated,
.floor-table.shape-kitchen.st-closed,
.floor-table.shape-cashier.st-available,
.floor-table.shape-cashier.st-reserved,
.floor-table.shape-cashier.st-seated,
.floor-table.shape-cashier.st-closed,
.floor-table.shape-column.st-available,
.floor-table.shape-column.st-reserved,
.floor-table.shape-column.st-seated,
.floor-table.shape-column.st-closed,
.floor-table.shape-wall.st-available,
.floor-table.shape-wall.st-reserved,
.floor-table.shape-wall.st-seated,
.floor-table.shape-wall.st-closed {
  opacity: 1;
}
.floor-table.shape-standing {
  border-radius: 6px;
  border-style: dashed;
  background: rgba(7, 56, 102, 0.06);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media print {
.panel-nav,
  .no-print,
  .editor-topbar,
  .editor-status,
  .editor-inspector,
  .editor-selection-bar,
  .flash,
  .editor-toast {
    display: none !important;
  }
.floor-canvas.edit {
    height: auto !important;
    min-height: 0;
    box-shadow: none;
    border: 1px solid #ccc;
    overflow: visible;
  }
}
.floor-item-wrap.is-other-zone.is-selected {
  opacity: 1;
  pointer-events: auto;
  filter: none;
}
/* Gerçekten üst üste binen öğeler için uyarı çerçevesi. */
.floor-item-wrap.is-overlap .floor-table {
  outline: 2px dashed #DC2626;
  outline-offset: 2px;
}
.zone-page-titles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  align-items: center;
}
.zone-page-title {
  display: inline-flex;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: inherit;
  color: var(--oa-primary);
  background: var(--card);
  border: 1px solid var(--oa-gray-200);
  border-radius: 10px;
  padding: 0.4rem 0.85rem;
  box-shadow: var(--oa-shadow);
  line-height: 1.2;
  cursor: pointer;
}
.zone-page-title.is-active {
  background: var(--oa-primary);
  color: #fff;
  border-color: var(--oa-primary);
}
.floor-canvas {
  position: relative;
  min-height: 560px;
  padding: 28px;
  background: linear-gradient(180deg, var(--surface-2), var(--oa-gray-100));
  border: 1px solid var(--oa-gray-200);
  border-radius: var(--oa-radius);
  overflow: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* Izgara açıkken nokta deseni (Izgara checkbox) */
.floor-canvas.edit.is-grid {
  background:
    radial-gradient(circle at 1px 1px, rgba(7, 56, 102, 0.06) 1px, transparent 0) 0 0 / 10px 10px,
    linear-gradient(180deg, var(--surface-2), var(--oa-gray-100));
}
.floor-canvas.edit {
  min-height: 780px;
  height: min(82vh, 960px);
}
.table-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  text-align: center;
  pointer-events: none;
  max-width: 100%;
  z-index: 2;
}
.floor-table {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  background: var(--card);
  border: 2px solid var(--oa-gray-200);
  color: var(--oa-gray-900);
  cursor: pointer;
  user-select: none;
  padding: 0.15rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(7, 56, 102, 0.08);
  overflow: visible;
  z-index: 1;
}
.floor-table.shape-round { border-radius: 999px; }
.floor-table.shape-rect { border-radius: 10px; }
.floor-table.shape-square { border-radius: 8px; }
.floor-table.shape-bar {
  border-radius: 5px;
  background: linear-gradient(180deg, #4A3728, #2F2118);
  border-color: #1F150F;
  color: #F5E6D3;
}
.floor-table.shape-bar.st-available,
.floor-table.shape-bar.st-reserved,
.floor-table.shape-bar.st-seated,
.floor-table.shape-bar.st-closed {
  border-color: #1F150F;
  background: linear-gradient(180deg, #4A3728, #2F2118);
  opacity: 1;
}
.floor-table.shape-bar strong,
.floor-table.shape-bar small { color: #F5E6D3; }
.floor-table.shape-beachcafe {
  border-radius: 10px 10px 6px 6px;
  border: 2px solid #9A3412;
  background:
    linear-gradient(180deg, rgba(255, 224, 138, 0.95) 0 22%, transparent 22%),
    linear-gradient(160deg, #FFF7ED 0%, #FED7AA 55%, #FDBA74 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
  color: #041c33;
}
.floor-table.shape-beachcafe.st-available,
.floor-table.shape-beachcafe.st-reserved,
.floor-table.shape-beachcafe.st-seated,
.floor-table.shape-beachcafe.st-closed {
  border-color: #9A3412;
  opacity: 1;
}
.floor-table.shape-beachcafe .table-name {
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  color: #041c33;
  background: rgba(255, 255, 255, 0.72);
}
.floor-table.shape-beachcafe .cap-label {
  font-size: 0.65rem;
  color: #9A3412;
}
.floor-table.shape-stool {
  border-radius: 999px;
  background: #D6B48A;
  border-color: #8B6914;
  padding: 0;
}
.floor-table.shape-pool {
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 35% 30%, rgba(255, 255, 255, 0.45), transparent 45%),
    linear-gradient(160deg, #5EC8F0 0%, #1E88C8 45%, #0B5F9A 100%);
  border: 3px solid #7EC8E8;
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.25),
    0 4px 14px rgba(14, 90, 140, 0.28);
  color: #fff;
}
.floor-table.shape-sea {
  z-index: 1;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.12) 0 10px,
      transparent 10px 22px
    ),
    linear-gradient(180deg, #3BA4D4 0%, #1A6FA8 42%, #0E4F7A 100%);
  border: 2px solid #7EBFE0;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.15);
  color: #fff;
}
.floor-table.shape-sand {
  z-index: 2;
  border-radius: 10px;
  border: 2px solid #D2B48C;
  background-color: #F5E6C8;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.35) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 62% 55%, rgba(166, 124, 82, 0.28) 0 1px, transparent 1.6px),
    radial-gradient(circle at 40% 78%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 22%, rgba(180, 140, 90, 0.22) 0 1.1px, transparent 1.7px),
    linear-gradient(165deg, #FAF0D7 0%, #E8D4A8 45%, #D9C08A 100%);
  background-size: 28px 28px, 22px 22px, 34px 34px, 26px 26px, 100% 100%;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.25);
  color: #5C4030;
}
.floor-table.shape-pool { z-index: 3; }
.floor-table.shape-deck { z-index: 4; }
.floor-table.shape-text { z-index: 12; }
.floor-table:not(.shape-sea):not(.shape-sand):not(.shape-pool):not(.shape-deck):not(.shape-text) { z-index: 8; }
.floor-table.shape-deck {
  border-radius: 6px;
  background:
    repeating-linear-gradient(
      90deg,
      #D2AE78 0 14px,
      #A87E45 14px 16px
    );
  border: 2px solid #7A5528;
  box-shadow: 0 4px 12px rgba(60, 40, 10, 0.25);
  color: #3A2410;
}
.floor-table.shape-text {
  background: transparent;
  border: 1px dashed transparent;
  box-shadow: none;
  padding: 0.2rem 0.35rem;
}
.floor-table.shape-text:hover,
.floor-item-wrap.is-selected .floor-table.shape-text {
  border-color: rgba(7, 56, 102, 0.35);
  background: rgba(255, 255, 255, 0.55);
}
.floor-table.shape-text .table-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--oa-primary);
}
.floor-table.shape-text .cap-label,
.floor-table.shape-text .table-remove { opacity: 0.85; }
.floor-table.shape-sea .table-name,
.floor-table.shape-sea .cap-label,
.floor-table.shape-pool .table-name,
.floor-table.shape-pool .cap-label { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.floor-table.shape-sand .table-name {
  color: #5C4030;
  background: rgba(255, 255, 255, 0.55);
}
.floor-table.shape-sand .cap-label { color: #8B6914; }
.floor-table.shape-deck .table-name { color: #3A2410; }
.floor-table.shape-deck .cap-label { color: #5C4030; }
.floor-table.shape-pool.st-available,
.floor-table.shape-pool.st-reserved,
.floor-table.shape-pool.st-seated,
.floor-table.shape-pool.st-closed,
.floor-table.shape-sea.st-available,
.floor-table.shape-sea.st-reserved,
.floor-table.shape-sea.st-seated,
.floor-table.shape-sea.st-closed,
.floor-table.shape-sand.st-available,
.floor-table.shape-sand.st-reserved,
.floor-table.shape-sand.st-seated,
.floor-table.shape-sand.st-closed,
.floor-table.shape-deck.st-available,
.floor-table.shape-deck.st-reserved,
.floor-table.shape-deck.st-seated,
.floor-table.shape-deck.st-closed,
.floor-table.shape-text.st-available,
.floor-table.shape-text.st-reserved,
.floor-table.shape-text.st-seated,
.floor-table.shape-text.st-closed {
  opacity: 1;
}
.floor-table.shape-pool.st-available,
.floor-table.shape-pool.st-reserved,
.floor-table.shape-pool.st-seated,
.floor-table.shape-pool.st-closed {
  border-color: #7EC8E8;
  background:
    radial-gradient(ellipse at 35% 30%, rgba(255, 255, 255, 0.45), transparent 45%),
    linear-gradient(160deg, #5EC8F0 0%, #1E88C8 45%, #0B5F9A 100%);
  opacity: 1;
}
.floor-table.shape-sea.st-available,
.floor-table.shape-sea.st-reserved,
.floor-table.shape-sea.st-seated,
.floor-table.shape-sea.st-closed {
  border-color: #7EBFE0;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.12) 0 10px,
      transparent 10px 22px
    ),
    linear-gradient(180deg, #3BA4D4 0%, #1A6FA8 42%, #0E4F7A 100%);
  opacity: 1;
}
.floor-table.shape-sand.st-available,
.floor-table.shape-sand.st-reserved,
.floor-table.shape-sand.st-seated,
.floor-table.shape-sand.st-closed {
  border-color: #D2B48C;
  background-color: #F5E6C8;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.35) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 62% 55%, rgba(166, 124, 82, 0.28) 0 1px, transparent 1.6px),
    radial-gradient(circle at 40% 78%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 22%, rgba(180, 140, 90, 0.22) 0 1.1px, transparent 1.7px),
    linear-gradient(165deg, #FAF0D7 0%, #E8D4A8 45%, #D9C08A 100%);
  background-size: 28px 28px, 22px 22px, 34px 34px, 26px 26px, 100% 100%;
  opacity: 1;
}
.floor-table.shape-deck.st-available,
.floor-table.shape-deck.st-reserved,
.floor-table.shape-deck.st-seated,
.floor-table.shape-deck.st-closed {
  border-color: #7A5528;
  background:
    repeating-linear-gradient(
      90deg,
      #D2AE78 0 14px,
      #A87E45 14px 16px
    );
  opacity: 1;
}
.floor-table.shape-lounger {
  border-radius: 8px 8px 5px 5px;
  background:
    linear-gradient(180deg, #F2D4A8 0 18%, transparent 18%),
    linear-gradient(90deg, #E8C48A 0%, #D4A86A 50%, #E8C48A 100%);
  border: 2px solid #A67C3D;
  box-shadow: 0 2px 8px rgba(120, 80, 30, 0.2);
}
.floor-table.shape-lounger strong { font-size: 0.62rem; }
.floor-table.shape-lounger small { font-size: 0.55rem; }
.floor-table.shape-umbrella {
  border-radius: 999px;
  background:
    conic-gradient(
      from 0deg,
      #E85D4C 0 45deg,
      #F5F0E6 45deg 90deg,
      #E85D4C 90deg 135deg,
      #F5F0E6 135deg 180deg,
      #E85D4C 180deg 225deg,
      #F5F0E6 225deg 270deg,
      #E85D4C 270deg 315deg,
      #F5F0E6 315deg 360deg
    );
  border: 2px solid #B83A2C;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
.floor-table.shape-umbrella::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #5C3A1E;
  z-index: 1;
}
.floor-table.shape-umbrella.st-available,
.floor-table.shape-umbrella.st-reserved,
.floor-table.shape-umbrella.st-seated,
.floor-table.shape-umbrella.st-closed {
  border-color: #B83A2C;
  opacity: 1;
}
.floor-table.shape-umbrella strong {
  position: relative;
  z-index: 2;
  font-size: 0.58rem;
  color: #3A2010;
  background: rgba(255, 255, 255, 0.65);
  padding: 0.08rem 0.2rem;
  border-radius: 4px;
}
.floor-table.shape-umbrella small { display: none; }
.floor-table.st-available { border-color: var(--oa-success); }
.floor-table.st-reserved {
  border-color: var(--oa-warning-border) !important;
  background: var(--oa-warning-soft) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}
.floor-table.st-seated {
  border-color: var(--oa-danger-dark) !important;
  background: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.28);
}
.floor-table.st-closed { opacity: 0.45; border-color: var(--oa-gray-400) !important; }
.floor-table.st-reserved .cap-label,
.floor-table.st-seated .cap-label {
  font-weight: 700;
  color: #B45309;
}
.floor-table.st-seated .cap-label { color: #B91C1C; }
.floor-table .cap-label {
  display: block;
  font-size: var(--mr-cap-size, 0.68rem);
  font-weight: 600;
  color: var(--oa-gray-500);
  line-height: 1.1;
  letter-spacing: 0;
}
.floor-table .table-name {
  display: block;
  font-size: var(--mr-name-size, 1.12rem);
  font-weight: 800;
  color: var(--oa-primary);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.floor-table.shape-bar .cap-label,
.floor-table.shape-pool .cap-label { color: rgba(255, 255, 255, 0.85); }
.floor-table.shape-bar .table-name,
.floor-table.shape-pool .table-name { color: #fff; }
.floor-table.shape-umbrella .cap-label {
  font-size: 0.62rem;
  color: #3A2010;
  background: none;
  padding: 0;
}
.floor-table.shape-umbrella .table-name {
  font-size: 0.72rem;
  color: #3A2010;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.1rem 0.25rem;
  border-radius: 4px;
}
.floor-table strong { font-size: 1.12rem; font-weight: 800; color: var(--oa-primary); line-height: 1.05; }
.floor-table small { font-size: 0.68rem; color: var(--oa-gray-500); line-height: 1.1; }
.floor-item-wrap.is-selected { z-index: 15; }
/* Zemin seçilince masaların üstüne çıkmasın */
.floor-item-wrap.layer-sea.is-selected,
.floor-item-wrap.layer-sand.is-selected,
.floor-item-wrap.layer-pool.is-selected,
.floor-item-wrap.layer-deck.is-selected,
.floor-item-wrap.layer-walkway.is-selected,
.floor-item-wrap.layer-stage.is-selected {
  z-index: 3;
}
.floor-item-wrap.is-selected .floor-table {
  outline: 3px solid var(--oa-select);
  outline-offset: 4px;
  box-shadow:
    0 0 0 6px var(--oa-select-glow),
    0 4px 14px rgba(7, 56, 102, 0.22);
  border-color: var(--oa-select);
}
.floor-item-wrap.is-selected::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px dashed var(--oa-accent);
  border-radius: 8px;
  pointer-events: none;
  z-index: 0;
}
.floor-item-wrap .floor-table {
  position: relative;
  left: auto;
  top: auto;
}
.floor-item-wrap:hover .table-remove,
.floor-item-wrap.is-selected .table-remove,
.floor-item-wrap:focus-within .table-remove {
  opacity: 1;
  pointer-events: auto;
}
/* Ölçeklenebilir sahne: #editorFloor sadece kaydırma kabı, öğeler burada. */
.floor-stage-sizer {
  position: relative;
  min-width: 100%;
  min-height: 100%;
}
/* Izgara: sadece .is-grid iken — kum/deniz üstünde, masaların altında */
.floor-canvas.edit.is-grid .floor-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(7, 56, 102, 0.18) 1px, transparent 0);
  background-size: 10px 10px;
  background-position: 0 0;
}
.floor-canvas.edit {
  cursor: default;
}
.floor-canvas.edit.is-marquee {
  cursor: crosshair;
}
.floor-item-wrap.is-selected .resize-handle { display: block; }
.floor-chair {
  position: absolute;
  width: 14px;
  height: 12px;
  background: #C9A06A;
  border: 1.5px solid #7A5528;
  border-radius: 3px;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  z-index: 2;
}
.floor-chair::before {
  content: '';
  position: absolute;
  background: #8B6914;
  border-radius: 2px;
}
.floor-chair.chair-n { top: -17px; left: 50%; transform: translateX(-50%); }
.floor-chair.chair-n::before { top: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-s { bottom: -17px; left: 50%; transform: translateX(-50%); }
.floor-chair.chair-s::before { bottom: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-n1 { top: -17px; left: 30%; transform: translateX(-50%); }
.floor-chair.chair-n1::before { top: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-n2 { top: -17px; left: 70%; transform: translateX(-50%); }
.floor-chair.chair-n2::before { top: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-n3 { top: -17px; left: 50%; transform: translateX(-50%); }
.floor-chair.chair-n3::before { top: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-s1 { bottom: -17px; left: 30%; transform: translateX(-50%); }
.floor-chair.chair-s1::before { bottom: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-s2 { bottom: -17px; left: 70%; transform: translateX(-50%); }
.floor-chair.chair-s2::before { bottom: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-s3 { bottom: -17px; left: 50%; transform: translateX(-50%); }
.floor-chair.chair-s3::before { bottom: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-w { left: -17px; top: 50%; transform: translateY(-50%); width: 12px; height: 14px; }
.floor-chair.chair-w::before { left: -4px; top: 2px; bottom: 2px; width: 4px; }
.floor-chair.chair-e { right: -17px; top: 50%; transform: translateY(-50%); width: 12px; height: 14px; }
.floor-chair.chair-e::before { right: -4px; top: 2px; bottom: 2px; width: 4px; }
.floor-chair.chair-w1 { left: -17px; top: 28%; transform: translateY(-50%); width: 12px; height: 14px; }
.floor-chair.chair-w1::before { left: -4px; top: 2px; bottom: 2px; width: 4px; }
.floor-chair.chair-w2 { left: -17px; top: 72%; transform: translateY(-50%); width: 12px; height: 14px; }
.floor-chair.chair-w2::before { left: -4px; top: 2px; bottom: 2px; width: 4px; }
.floor-chair.chair-w3 { left: -17px; top: 50%; transform: translateY(-50%); width: 12px; height: 14px; }
.floor-chair.chair-w3::before { left: -4px; top: 2px; bottom: 2px; width: 4px; }
.floor-chair.chair-e1 { right: -17px; top: 28%; transform: translateY(-50%); width: 12px; height: 14px; }
.floor-chair.chair-e1::before { right: -4px; top: 2px; bottom: 2px; width: 4px; }
.floor-chair.chair-e2 { right: -17px; top: 72%; transform: translateY(-50%); width: 12px; height: 14px; }
.floor-chair.chair-e2::before { right: -4px; top: 2px; bottom: 2px; width: 4px; }
.floor-chair.chair-e3 { right: -17px; top: 50%; transform: translateY(-50%); width: 12px; height: 14px; }
.floor-chair.chair-e3::before { right: -4px; top: 2px; bottom: 2px; width: 4px; }
.floor-chair.chair-ne { top: -14px; right: -14px; transform: rotate(45deg); }
.floor-chair.chair-ne::before { top: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-se { bottom: -14px; right: -14px; transform: rotate(135deg); }
.floor-chair.chair-se::before { top: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-sw { bottom: -14px; left: -14px; transform: rotate(-135deg); }
.floor-chair.chair-sw::before { top: -4px; left: 2px; right: 2px; height: 4px; }
.floor-chair.chair-nw { top: -14px; left: -14px; transform: rotate(-45deg); }
.floor-chair.chair-nw::before { top: -4px; left: 2px; right: 2px; height: 4px; }
.check-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.check-inline input { width: auto; }
.floor-table.floor-prop {
  cursor: default;
}
.floor-table.floor-prop small {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.floor-table.pick input { position: absolute; opacity: 0; }
.floor-table.pick:has(input:checked) {
  outline: 3px solid var(--oa-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.22);
  z-index: 12;
}
.floor-table.pick.is-pickable {
  cursor: pointer;
}
.floor-canvas.guest .floor-table.pick .table-face {
  gap: 0.05rem;
  padding: 0.1rem;
}
.floor-canvas.guest .floor-table.pick .table-name {
  font-size: var(--mr-name-size, 1.05rem);
  line-height: 1;
}
.floor-canvas.guest .floor-table.pick .cap-label {
  font-size: var(--mr-cap-size, 0.62rem);
  line-height: 1.05;
  font-weight: 600;
  color: var(--oa-gray-500);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.floor-table.pick.is-occupied {
  cursor: not-allowed;
  background: #FEE2E2 !important;
  border-color: #DC2626 !important;
  color: #991B1B;
}
.floor-table.pick.is-runtime-closed,
.floor-table.pick.st-closed:not(.is-occupied):not(.is-capacity-mismatch) {
  cursor: not-allowed;
  opacity: 0.72;
  background: #F3F4F6 !important;
  border-color: #9CA3AF !important;
  color: #6B7280;
  filter: grayscale(0.25);
}
.floor-table.pick.is-capacity-mismatch {
  cursor: not-allowed;
  background: #F9FAFB !important;
  border-color: #D1D5DB !important;
  color: #6B7280;
  opacity: 0.85;
}
.floor-table.pick.is-unavailable:not(.is-occupied):not(.is-runtime-closed):not(.is-capacity-mismatch):not(.is-pickable) {
  cursor: not-allowed;
  background: #F3F4F6 !important;
  border-color: #9CA3AF !important;
}
.floor-table.pick.is-occupied .table-name {
  text-decoration: none;
  color: #991B1B;
}
.floor-table.pick.is-occupied .cap-label,
.floor-table.pick.is-occupied .table-status {
  color: #B91C1C;
  font-weight: 700;
}
.floor-table.pick.is-capacity-mismatch .table-status,
.floor-table.pick.is-runtime-closed .table-status {
  color: #6B7280;
  font-weight: 700;
}
.floor-table.pick.is-pickable:not(.is-unavailable) {
  background: var(--card);
}
.floor-table.is-static {
  pointer-events: none;
}
.floor-table.is-zone-hidden {
  display: none !important;
}
.floor-table.is-other-zone {
  opacity: 0.35;
}
.floor-canvas.guest {
  min-height: 420px;
  margin: 0.5rem 0 0.75rem;
}
.guest-floor-hint {
  margin: 0.25rem 0 1rem;
  font-size: 0.9rem;
}
.guest-head { margin-bottom: 1.25rem; }
.guest-head h1 { color: var(--oa-primary); margin: 0.35rem 0; }
.guest-step-hint {
  margin: 0.15rem 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--oa-gray-700);
}
.guest-section-title {
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
  color: var(--oa-primary);
}
.guest-book-card { padding: 1.1rem 1rem 1.25rem; }
.guest-floor-legend,
.floor-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.35rem 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--oa-gray-700);
}
.guest-floor-legend .leg::before,
.floor-legend .leg::before {
  content: '';
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  margin-right: 0.3rem;
  vertical-align: -1px;
  border: 1px solid var(--oa-gray-200);
}
.leg-free::before { background: var(--card); border-color: var(--oa-success); }
.leg-busy::before { background: #FFFBEB; border-color: #D97706; }
.leg-closed::before { background: var(--oa-gray-200); border-color: #9CA3AF; }
/* Misafir "Dolu" = kırmızı (slot çakışması); panel "Rezerve" = amber */
.guest-floor-legend .leg-busy::before { background: #FEE2E2; border-color: #DC2626; }
.floor-canvas.guest.is-loading {
  opacity: 0.55;
  pointer-events: none;
}
.floor-table.pick:focus-within {
  outline: 2px solid var(--oa-accent);
  outline-offset: 2px;
}
.guest-table-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.75rem 0 0.35rem;
}
@media (min-width: 640px) {
.guest-table-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.guest-list-table {
  min-height: 2.6rem;
  text-align: center;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--oa-gray-200);
  background: var(--card);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--oa-gray-900);
  line-height: 1.25;
}
.guest-list-table.is-selected,
.guest-list-table:hover {
  border-color: var(--oa-primary);
  background: rgba(7, 56, 102, 0.06);
}
.guest-list-empty { margin: 0.35rem 0; }
.guest-logo { display: block; max-width: 120px; max-height: 80px; object-fit: contain; margin-bottom: 0.75rem; }
.form.settings-form { max-width: none; gap: 1.15rem; }
.guest-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}
.guest-link-row code {
  font-size: 0.88rem;
  word-break: break-all;
}
.settings-savebar .btn { min-width: 8.5rem; }
@media (max-width: 560px) {
.form.settings-form { max-width: none; }
.settings-savebar .btn { width: 100%; }
}
.guest-zones-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 900px) {
.guest-zones-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
.guest-zones-grid { grid-template-columns: 1fr; }
}
.hours-day.is-closed { opacity: 0.72; background: var(--oa-gray-50, #f7f8fa); }
.panel-lang-switch a.is-active { color: var(--oa-primary); }
.guest-lang-bar a { font-size: 0.85rem; font-weight: 600; color: var(--oa-gray-500); text-decoration: none; }
.guest-lang-bar a.is-active { color: var(--oa-primary); }
.guest-tag-filters { margin: 0.5rem 0 0.75rem; }
@keyframes mrDlgIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes mrBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes mrPopIn {
  from { opacity: 0; transform: translateY(-4px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
dialog {
  border: 0;
  border-radius: 18px;
  background: var(--card, #fff);
  color: var(--text, var(--oa-gray-900));
  padding: 0;
  width: min(440px, calc(100vw - 1.5rem));
  max-height: min(88vh, 760px);
  overflow: auto;
  box-shadow:
    0 24px 64px rgba(5, 40, 71, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.4) inset;
}
dialog[open] {
  animation: mrDlgIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
dialog::backdrop {
  background: rgba(5, 40, 71, 0.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: mrBackdropIn 0.2s ease;
}
dialog > form.form,
dialog > .form {
  margin: 0;
  padding: 1.2rem 1.3rem 1.15rem;
  display: grid;
  gap: 0.85rem;
}
dialog h3 {
  margin: 0;
  padding: 0 0 0.85rem;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--oa-primary);
  border-bottom: 1px solid var(--oa-gray-200);
  line-height: 1.25;
}
dialog .muted,
dialog .dlg-message {
  margin: 0;
  color: var(--muted, var(--oa-gray-500));
  font-size: 0.95rem;
  line-height: 1.45;
}
dialog .btn-row,
dialog .sticky-dlg-actions {
  margin-top: 0.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--oa-gray-200);
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
dialog .btn-row .btn,
dialog .sticky-dlg-actions .btn {
  min-width: 6.5rem;
}
dialog.mr-dialog--confirm {
  width: min(400px, calc(100vw - 1.5rem));
  text-align: center;
}
dialog.mr-dialog--confirm > form.form {
  justify-items: center;
  gap: 0.75rem;
  padding: 1.45rem 1.4rem 1.25rem;
}
dialog.mr-dialog--confirm h3 {
  border-bottom: 0;
  padding: 0;
  width: 100%;
}
dialog.mr-dialog--confirm .dlg-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--oa-primary);
  background: linear-gradient(160deg, #E8F1FA 0%, #F5F8FC 100%);
  border: 1px solid #D5E3F0;
  margin-bottom: 0.15rem;
}
dialog.mr-dialog--confirm .dlg-icon.is-danger {
  color: var(--oa-danger-dark);
  background: linear-gradient(160deg, #FEE2E2 0%, #FEF2F2 100%);
  border-color: #FECACA;
}
dialog.mr-dialog--confirm .btn-row {
  width: 100%;
  border-top: 0;
  padding-top: 0.35rem;
  justify-content: stretch;
}
dialog.mr-dialog--confirm .btn-row .btn {
  flex: 1;
  min-width: 0;
}
.btn-row { display: flex; gap: 0.5rem; }
.btn-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.dlg-tab.is-active {
  background: var(--card);
  color: var(--oa-primary);
  box-shadow: 0 1px 3px rgba(7, 56, 102, 0.12);
}
.guest-link-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.hero-floor-legend .leg { color: rgba(255,255,255,0.92); }
.hero-floor-legend .leg::before {
  content: '';
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 3px;
  margin-right: 0.3rem;
  vertical-align: -1px;
  border: 1px solid rgba(255,255,255,0.35);
}
.hero-floor-legend .leg-free::before { background: #fff; border-color: var(--oa-success); }
.hero-floor-legend .leg-busy::before { background: var(--oa-warning-soft); border-color: var(--oa-warning-border); }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.body-guest .auth-card,
.body-guest .form:not(.guest-wizard):not(.guest-inner-form) {
  background: var(--card);
}
@media (max-width: 800px) {
/* Tek satır kalsın — aksiyonlar yatay kaydırılsın, yükseklik bozulmasın */
  .editor-topbar-actions,
  .toolbar-actions {
    margin-left: auto;
    width: auto;
    max-width: min(70vw, 100%);
    flex: 1 1 auto;
  }
.floor-canvas.edit {
    min-height: 520px;
    height: min(70vh, 720px);
  }
}
/* Sticky booking summary + OTP */
.guest-zone-note { margin: 0.15rem 0 0.5rem; font-size: 0.85rem; }
.guest-book-card { padding-bottom: 1rem; }
.guest-sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 50;
  margin: 1rem -1rem -1.25rem;
  padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: var(--card);
  border-top: 1px solid var(--oa-gray-200);
  box-shadow: 0 -8px 24px rgba(7, 56, 102, 0.08);
  backdrop-filter: blur(8px);
  animation: guestStickyIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@supports (background: color-mix(in srgb, white 50%, transparent)) {
.guest-sticky-bar {
    background: color-mix(in srgb, var(--card) 96%, transparent);
  }
}
@keyframes guestStickyIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.guest-date-note {
  margin: 0.35rem 0 0;
  font-weight: 600;
  color: var(--oa-primary);
}
.guest-sticky-summary {
  margin: 0 0 0.55rem;
  font-weight: 700;
  color: var(--oa-primary);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.guest-book-form:has(#guestStickyBar:not([hidden])) .guest-submit-fallback { display: none; }
.otp-summary {
  background: var(--oa-gray-50);
  border: 1px solid var(--oa-gray-200);
  border-radius: var(--oa-radius-sm);
  padding: 0.75rem 0.9rem;
  margin: 0.5rem 0 0.75rem;
  font-size: 0.95rem;
  color: var(--oa-gray-900);
}
.otp-hold { font-weight: 600; color: var(--oa-gray-700); }
.otp-hold.is-expired { color: #B91C1C; }
.editor-canvas-wrap,
.floor-canvas.edit {
  touch-action: pan-x pan-y;
}
/* Empty states, list tools, mobile more sheet */
.empty-state {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--card);
  border: 1px dashed var(--oa-gray-200);
  border-radius: var(--oa-radius);
  margin: var(--space-4) 0;
}
.empty-state p { margin: 0 0 var(--space-3); color: var(--oa-gray-700); font-weight: 600; }
.empty-state.is-hidden,
.is-hidden { display: none !important; }
.mr-confirm-form { width: 100%; min-width: 0; }
@media (prefers-reduced-motion: reduce) {
dialog[open],
  dialog::backdrop,
  .editor-menu,
  .panel-more-sheet,
  .panel-more-panel,
  .mr-toast {
    animation: none !important;
    transition: none !important;
  }
}
/* Ölçek değişkenleri (floor-responsive.js .table-face üzerine yazar) tipografi
   normalizasyonundan sonra geldiği için burada da korunmalı; aksi halde küçük
   masalarda yaz? kutuya s??m?yor. */
.table-cap, .cap-label {
  font-size: var(--mr-cap-size, var(--text-2xs));
}
.floor-table .table-name,
.floor-table strong {
  font-size: var(--mr-name-size, var(--text-lg));
}
.guest-floor-legend,
.floor-legend {
  font-size: var(--text-xs);
}
.status-choice.is-selected {
  border-color: var(--oa-primary);
  box-shadow: 0 0 0 2px rgba(7, 56, 102, 0.12);
  background: var(--oa-gray-50);
}
.list-scope-tab.is-active {
  color: #fff;
  background: #0b4f8a;
  border-color: #0b4f8a;
}
.floor-table.is-search-dim {
  opacity: 0.28;
  filter: grayscale(0.35);
}
.floor-table.is-search-hit {
  outline: 2px solid #0b4f8a;
  outline-offset: 2px;
  z-index: 8;
}
.floor-table.is-late {
  box-shadow: 0 0 0 2px #c45c26, 0 10px 24px rgba(196, 92, 38, 0.22);
  animation: floorLatePulse 1.8s ease-in-out infinite;
}
@keyframes floorLatePulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.05); }
}
@media (prefers-reduced-motion: reduce) {
.floor-table.is-late { animation: none; }
}
.floor-canvas:not(.edit) { min-height: 320px; }
/* Misafirler sayfasi */
.guests-filters {
  display: grid;
  grid-template-columns: minmax(160px, 1.4fr) repeat(4, minmax(110px, 0.9fr)) auto auto;
  gap: 0.65rem 0.75rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: var(--oa-gray-50, #f8fafc);
  border: 1px solid var(--oa-gray-200);
  border-radius: 12px;
}
.guests-filters label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--oa-gray-600);
  min-width: 0;
}
.guests-filters input,
.guests-filters select {
  width: 100%;
  min-height: 2.25rem;
  box-sizing: border-box;
}
.guests-filters-check {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding-bottom: 0.15rem;
  font-weight: 600;
}
.guests-filters-check input {
  width: 1rem;
  height: 1rem;
  min-height: 0;
  flex-shrink: 0;
}
.guests-filters-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.guest-delete-one { white-space: nowrap; }
@media (max-width: 960px) {
.guests-filters {
    grid-template-columns: 1fr 1fr;
  }
.guests-filters-search,
  .guests-filters-check,
  .guests-filters-actions { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
.guests-filters { grid-template-columns: 1fr; }
}
/* ——— Misafir rezervasyon sayfası ——— */
.body-guest {
  --guest-ink: #102033;
  --guest-brand: #073866;
  --guest-deep: #041c33;
  --guest-glow: #0d9488;
  --guest-glow-soft: rgba(13, 148, 136, 0.14);
  --guest-paper: #f3f6f9;
  --guest-line: rgba(7, 56, 102, 0.12);
  --guest-sand: #e8eef4;
  --card: #fff;
  --text: var(--guest-ink);
  --muted: #5a6f82;
  --line: var(--guest-line);
  margin: 0;
  min-height: 100vh;
  font-family: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  color: var(--guest-ink);
  background: #0b1a28;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.guest-flash {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0;
  border-radius: 0;
}
.guest-page { min-height: 100vh; position: relative; }
/* Synxis-style full-bleed cover */
.guest-cover {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.guest-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  opacity: 0.7;
}
.guest-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 32, 0.68) 0%, rgba(4, 18, 32, 0.5) 35%, rgba(4, 18, 32, 0.7) 100%),
    linear-gradient(90deg, rgba(4, 18, 32, 0.42) 0%, transparent 42%, rgba(4, 18, 32, 0.32) 100%);
}
.guest-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 0 2.5rem;
}
/* Brand bar over photo */
.guest-top {
  width: min(760px, calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 1.5rem 0 1rem;
  min-width: 0;
}
.guest-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}
.guest-top-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.guest-logo {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  max-width: 3.4rem;
  max-height: 3.4rem;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  padding: 0.28rem;
  border: 1px solid rgba(255,255,255,0.35);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.guest-top-titles { min-width: 0; }
.guest-brand-name {
  margin: 0;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(1.7rem, 4.5vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.guest-official {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}
.guest-top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-left: auto;
}
.guest-menu-qr {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  padding: 0.15rem;
  border: 1px solid rgba(255,255,255,0.4);
}
.guest-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--guest-deep);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}
.guest-menu-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.24);
  color: var(--guest-deep);
}
.guest-hamburger {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.guest-lang-bar {
  display: flex;
  gap: 0.25rem;
}
.guest-lang-bar a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.guest-lang-bar a:hover {
  color: #fff;
  background: rgba(255,255,255,0.18);
}
.guest-lang-bar a.is-active {
  color: var(--guest-deep);
  background: #fff;
  border-color: #fff;
}
.guest-contact {
  display: grid;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.guest-contact-line {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.84);
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.guest-contact-line a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.45);
}
.guest-contact-line a:hover { border-bottom-color: #fff; }
.guest-pfx {
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.guest-contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
}
.guest-contact-line--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.guest-contact-glyph {
  display: inline-flex;
  color: rgba(255,255,255,0.78);
  flex-shrink: 0;
}
.guest-contact-glyph svg { display: block; }
.guest-website-link {
  font-weight: 750;
  letter-spacing: 0.01em;
}
.guest-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  width: 100%;
}
.guest-location-text {
  flex: 1 1 12rem;
  min-width: 0;
}
.guest-map-icons,
.guest-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.guest-brand-icon,
.guest-map-icon,
.guest-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  text-decoration: none;
  border: 0;
  line-height: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.guest-brand-icon:hover,
.guest-map-icon:hover,
.guest-social-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.guest-brand-icon svg,
.guest-map-icon svg,
.guest-social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.guest-cards-line {
  width: 100%;
  font-weight: 600;
  opacity: 0.92;
  font-size: 0.8rem;
}
.guest-field-label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}
.guest-date-field,
.guest-time-field {
  grid-column: 1 / -1;
  min-width: 0;
}
.guest-chip-row {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.1rem 0 0.35rem;
  scrollbar-width: thin;
}
.guest-chip {
  appearance: none;
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  min-width: 4.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(7, 56, 102, 0.16);
  background: #fff;
  color: var(--oa-primary, #073866);
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.15;
  cursor: pointer;
}
.guest-chip--time {
  min-width: 4.1rem;
  flex-direction: row;
  font-variant-numeric: tabular-nums;
}
.guest-chip-top {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}
.guest-chip-bot { font-size: 0.86rem; }
.guest-chip.is-on {
  background: var(--oa-primary, #073866);
  border-color: var(--oa-primary, #073866);
  color: #fff;
}
.guest-chip.is-on .guest-chip-top { opacity: 0.85; color: inherit; }
.guest-date-more {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
}
.guest-date-more input[type="date"] {
  flex: 0 1 11rem;
  min-width: 0;
}
.guest-soldout-note {
  font-weight: 600;
}
.guest-info-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem 0;
  margin-top: 1rem;
  padding: 0.85rem 0 0.15rem;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.guest-contact + .guest-info-bar {
  margin-top: 0.75rem;
  padding-top: 0.35rem;
  border-top: 0;
}
.guest-info-item {
  flex: 1 1 auto;
  min-width: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 1rem 0 0;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.guest-info-item:last-child {
  border-right: 0;
  padding-right: 0;
}
.guest-info-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.guest-info-value {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.28);
  font-variant-numeric: tabular-nums;
}
.guest-info-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 0.05rem;
  transition: border-color 0.15s, opacity 0.15s;
}
.guest-info-menu:hover {
  border-bottom-color: #fff;
  opacity: 0.92;
  color: #fff;
}
.guest-menu-icon {
  flex-shrink: 0;
  opacity: 0.95;
}
/* Booking surface — floating card over cover */
.guest-main {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 1.25rem));
  margin: 0.75rem auto 0;
  padding: 0 0 3rem;
  flex: 1;
  min-width: 0;
}
.body-guest .guest-wizard,
.body-guest .guest-waitlist {
  background: #fff;
  border: 1px solid rgba(7, 56, 102, 0.08);
  border-radius: 18px;
  padding: 1.55rem 1.4rem 1.7rem;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 22px 60px rgba(4, 28, 51, 0.1);
  animation: guestCardIn 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.body-guest .auth-card,
.body-guest .form:not(.guest-wizard):not(.guest-inner-form):not(.mr-confirm-form) {
  width: min(440px, calc(100vw - 1.5rem));
  max-width: 100%;
  margin: 2.5rem auto;
  background: #fff;
  border: 1px solid rgba(7, 56, 102, 0.08);
  border-radius: 24px;
  padding: 1.6rem 1.25rem;
  box-shadow: 0 18px 48px rgba(4, 28, 51, 0.09);
  overflow-wrap: anywhere;
  min-width: 0;
}
.body-guest .auth-card .form,
.body-guest .guest-wizard .form,
.body-guest .guest-waitlist .form,
.body-guest .form.guest-inner-form {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.body-guest .auth-card h1,
.body-guest .otp-card h1 {
  letter-spacing: -0.03em;
}
.body-guest .btn {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.015em;
  border-radius: 14px;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  box-shadow: none;
}
.body-guest .btn:not(.btn-ghost):not(.btn-danger) {
  background: var(--guest-brand);
}
.body-guest .btn:not(.btn-ghost):not(.btn-danger):hover {
  background: #0a4a7a;
  filter: none;
}
.body-guest .btn-ghost {
  background: transparent;
  border: 1.5px solid var(--guest-line);
  color: var(--guest-brand);
}
.body-guest .btn-ghost:hover {
  background: var(--guest-sand);
  color: var(--guest-deep);
}
.body-guest label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5a6f82;
  letter-spacing: 0.015em;
}
.body-guest input:not([type="checkbox"]):not([type="radio"]),
.body-guest select,
.body-guest textarea {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: 1.5px solid #d5e0e9;
  background: #f8fafc;
  min-height: 2.9rem;
  color: var(--guest-ink);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.body-guest input:not([type="checkbox"]):not([type="radio"]):focus,
.body-guest select:focus,
.body-guest textarea:focus {
  background: #fff;
  border-color: var(--guest-glow);
  box-shadow: 0 0 0 4px var(--guest-glow-soft);
}
.guest-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0 0 1.55rem;
  padding: 0;
  list-style: none;
  position: relative;
}
.guest-steps::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0.82rem;
  height: 2px;
  background: #e4ebf1;
  z-index: 0;
}
.guest-steps li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  text-align: center;
}
.guest-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #7b8c99;
  background: #eef3f6;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #e4ebf1;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.guest-step-txt {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: #7b8c99;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guest-steps li.is-active .guest-step-num,
.guest-steps li.is-done .guest-step-num {
  color: #fff;
  background: var(--guest-brand);
  box-shadow: 0 0 0 2px var(--guest-brand);
  transform: scale(1.08);
}
.guest-steps li.is-done .guest-step-num {
  background: var(--guest-glow);
  box-shadow: 0 0 0 2px var(--guest-glow);
}
.guest-steps li.is-active .guest-step-txt,
.guest-steps li.is-done .guest-step-txt { color: var(--guest-brand); }
.guest-step[hidden] { display: none !important; }
.mr-turnstile { margin: 0.75rem 0 0.35rem; min-height: 65px; max-width: 100%; overflow: hidden; }
.guest-step-title {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--guest-brand);
}
.guest-book-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px) {
.guest-book-fields--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guest-book-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
.guest-book-fields--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guest-book-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.guest-step2-error { color: #b91c1c; font-weight: 600; }
.guest-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
  align-items: stretch;
}
.guest-step-actions .btn {
  flex: 1 1 10rem;
  min-width: 0;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.guest-random-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 0 0.7rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1.5px solid #e4ecf2;
  background: #fbfcfd;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.guest-random-card:hover {
  border-color: #bfd3df;
  transform: translateY(-1px);
}
.guest-random-card.is-on {
  border-color: var(--guest-glow);
  background: linear-gradient(165deg, var(--guest-glow-soft), #fff 58%);
  box-shadow: 0 0 0 3px var(--guest-glow-soft);
}
.guest-random-card input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  accent-color: var(--guest-glow);
}
.guest-random-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--guest-ink);
}
.guest-random-card small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #617484;
  line-height: 1.35;
}
.guest-map-hint {
  margin: 0.7rem 0 0.15rem;
  font-size: 0.84rem;
}
.guest-cap-summary {
  margin: 0.6rem 0 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--guest-brand);
}
.floor-canvas.guest {
  border-radius: 18px;
  border: 1px solid var(--guest-line);
  background:
    radial-gradient(circle at 1px 1px, rgba(7, 56, 102, 0.07) 1px, transparent 0) 0 0 / 18px 18px,
    #f5f8fa;
  min-height: 220px;
  padding: 1.1rem;
}
.floor-canvas.guest .floor-table.pick {
  box-shadow: 0 6px 16px rgba(4, 28, 51, 0.08);
  cursor: pointer;
}
.floor-canvas.guest .floor-table.pick:hover {
  transform: translateY(-1px);
}
.floor-canvas.guest .floor-table.pick input[type="checkbox"] {
  position: absolute;
  opacity: 0.01;
  width: 1px;
  height: 1px;
}
.floor-canvas.guest .floor-table.pick.is-selected {
  outline: 3px solid var(--guest-glow);
  outline-offset: 3px;
  z-index: 5;
  background: #fff;
  box-shadow: 0 0 0 6px var(--guest-glow-soft), 0 10px 22px rgba(13, 148, 136, 0.18);
}
.guest-table-list .guest-list-table {
  border-radius: 14px;
  border: 1.5px solid #e4ecf2;
  font-weight: 700;
}
.guest-table-list .guest-list-table.is-selected,
.guest-table-list .guest-list-table:hover {
  border-color: var(--guest-glow);
  background: var(--guest-glow-soft);
  color: var(--guest-deep);
}
.guest-waitlist { margin-top: 1rem; }
.guest-waitlist .guest-step-title { margin-bottom: 0.35rem; }
.guest-success-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guest-glow);
  margin: 0 0 0.35rem;
}
.body-guest .guest-sticky-bar {
  border-radius: 18px 18px 0 0;
  border-top: 1px solid var(--guest-line);
  box-shadow: 0 -12px 32px rgba(4, 28, 51, 0.1);
}
.body-guest .guest-sticky-summary {
  font-weight: 700;
  color: var(--guest-brand);
}
/* Zones + terms (below booking) */
.guest-about,
.guest-gallery,
.guest-hours-week,
.guest-zones,
.guest-terms {
  margin: 2rem 0 0;
  padding: 1.5rem 1.25rem;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(4, 28, 51, 0.12);
  color: var(--guest-ink);
  backdrop-filter: blur(8px);
}
.guest-section-heading {
  margin: 0 0 1.1rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--guest-brand);
}
.guest-about-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--guest-ink);
}
.guest-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.guest-gallery-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: #d8e2ea;
  aspect-ratio: 1;
}
.guest-gallery-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guest-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.guest-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.15rem;
  border-bottom: 1px solid rgba(7, 56, 102, 0.08);
  font-size: 0.95rem;
}
.guest-hours-list li:last-child { border-bottom: 0; }
.guest-hours-list li.is-today {
  font-weight: 800;
  color: var(--guest-brand);
}
.guest-hours-day { min-width: 5.5rem; }
.guest-hours-time { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
.guest-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.guest-zones-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 900px) {
.guest-zones-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
.guest-zones-grid { grid-template-columns: 1fr; }
}
.guest-zone-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f7fafc;
  border: 1px solid var(--guest-line);
}
.guest-zone-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d8e2ea;
}
/* Kart önizleme: kesin kare (aspect-ratio desteklemeyen tarayıcılar dahil) */
button.guest-zone-img-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding: 0 0 100%;
  border: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #d8e2ea;
  line-height: 0;
}
button.guest-zone-img-btn:focus-visible {
  outline: 3px solid var(--guest-sun, #ffe08a);
  outline-offset: -3px;
}
button.guest-zone-img-btn .guest-zone-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.guest-zone-img--empty {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background:
    linear-gradient(145deg, #dce6ef, #b8c9d8);
}
dialog.guest-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
dialog.guest-lightbox[hidden],
dialog.guest-lightbox:not([open]) {
  display: none !important;
}
dialog.guest-lightbox[open] {
  display: flex;
  animation: guestLbIn .22s ease both;
}
dialog.guest-lightbox::backdrop {
  background: rgba(4, 28, 51, 0.82);
  backdrop-filter: blur(5px);
}
.guest-lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
}
/* Lightbox: tam resim, kırpma yok */
.guest-lightbox-inner img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  background: transparent;
}
.guest-lightbox-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #041c33;
  font: 800 1.35rem/1 Figtree, sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.guest-lightbox-close:hover { filter: brightness(.96); }
@keyframes guestLbIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
dialog.guest-lightbox[open] { animation: none; }
}
.guest-zone-body {
  padding: 0.9rem 1rem 1.05rem;
}
.guest-zone-name {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--guest-brand);
}
.guest-zone-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #58667e;
  font-weight: 500;
}
.guest-terms-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 0.65rem;
}
.guest-terms-list li {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #3d4f61;
  font-weight: 500;
}
/* Powered by MasaRezerve */
.guest-powered {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 2.25rem 1rem 3rem;
}
.guest-powered-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.15s, transform 0.15s;
}
.guest-powered-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.guest-powered-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.guest-powered-logo {
  display: block;
  height: clamp(3.25rem, 8vw, 4.75rem);
  width: auto;
  max-width: min(22rem, 78vw);
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.3));
}
.body-guest .auth-card ~ .guest-powered,
.body-guest:has(.auth-card) .guest-powered {
  /* OTP/success pages: darker paper-friendly text if no full cover */
}
.body-guest:not(:has(.guest-page--cover)) .guest-powered-text {
  color: #5a6f82;
  text-shadow: none;
}
/* Panel settings: zone cards (grid rules above with .form.settings-form) */
.settings-zone-card label { font-size: 0.82rem; }
@keyframes guestCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
.body-guest .guest-wizard,
  .body-guest .guest-waitlist { animation: none !important; }
}
@media (max-width: 720px) {
.guest-top { padding-top: 1.15rem; }
.guest-top-actions { width: 100%; justify-content: flex-start; margin-left: 0; }
.guest-brand-name { font-size: clamp(1.45rem, 6vw, 1.85rem); }
.guest-info-item {
    min-width: 0;
    padding-right: 0.75rem;
  }
.body-guest .guest-wizard,
  .body-guest .guest-waitlist {
    border-radius: 22px;
    padding: 1.25rem 1.05rem 1.4rem;
  }
.guest-step-txt { font-size: 0.62rem; }
.guest-steps::before { top: 0.78rem; }
}
/* --- KVKK açık rıza kutusu + zorunlu çerez bilgilendirmesi --- */
.guest-consent {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: .65rem;
  margin: .35rem 0 .15rem;
  font-size: .88rem;
  line-height: 1.45;
  font-weight: 500;
  min-width: 0;
}
.guest-consent span { min-width: 0; overflow-wrap: anywhere; flex: 1; }
.guest-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 0;
  margin: 0.22rem 0 0;
  padding: 0;
  accent-color: var(--guest-glow, #0d9488);
}
.guest-consent a { text-decoration: underline; text-underline-offset: .15em; }
.mr-cookie {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 60;
  width: min(680px, calc(100% - 1.5rem));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: .85rem 1rem;
  background: var(--card, #fff);
  color: var(--text, #0f172a);
  border: 1px solid var(--line, rgba(4, 28, 51, .14));
  border-radius: var(--radius, 12px);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .45);
}
.body-guest .mr-cookie {
  bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 45;
}
.mr-cookie[hidden] { display: none; }
.mr-cookie-text { margin: 0; font-size: .85rem; line-height: 1.45; flex: 1 1 22rem; }
.mr-cookie-actions { display: flex; align-items: center; gap: .75rem; }
.mr-cookie-link { font-size: .84rem; font-weight: 600; text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 560px) {
.mr-cookie { flex-direction: column; align-items: stretch; }
.mr-cookie-actions { justify-content: space-between; }
}
.impersonate-bar .btn { background: #fff; color: #7c2d12; border: 0; }