@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --brand: #277e7d;
  --brand-hover: #1c6464;
  --brand-press: #174f4f;
  --brand-soft: #d4e9e8;
  --brand-strong: #0e2e2e;

  --bg: #fbf8f3;
  --bg-raised: #ffffff;
  --bg-sunken: #f5efe5;
  --bg-tint: #eef6f6;

  --fg1: #0d0d0b;
  --fg2: #403f3a;
  --fg3: #7f7c72;

  --ink-100: #e7e5df;
  --ink-200: #cfccc2;
  --ink-300: #aaa69a;

  --line: rgba(13, 13, 11, 0.10);
  --line-strong: rgba(13, 13, 11, 0.18);
  --line-soft: rgba(13, 13, 11, 0.06);

  --status-confirmed-bg: #d4e9e8;
  --status-confirmed-fg: #174f4f;
  --status-pending-bg: #fbeed7;
  --status-pending-fg: #7a4f00;
  --status-blocked-bg: #e7e5df;
  --status-blocked-fg: #403f3a;
  --status-cancelled-bg: #f6dede;
  --status-cancelled-fg: #7a2020;

  --positive: #3d8a5c;
  --positive-bg: #e3f1e8;
  --danger: #b14545;
  --danger-bg: #f6dede;
  --warning: #c98a2b;
  --warning-bg: #fbeed7;

  --shadow-1: 0 1px 2px rgba(13, 13, 11, 0.05), 0 1px 1px rgba(13, 13, 11, 0.03);
  --shadow-2: 0 4px 12px -2px rgba(13, 13, 11, 0.08), 0 2px 4px -2px rgba(13, 13, 11, 0.04);
  --shadow-3: 0 18px 38px -12px rgba(13, 13, 11, 0.18), 0 6px 12px -6px rgba(13, 13, 11, 0.08);

  --r-1: 4px;
  --r-2: 8px;
  --r-3: 14px;
  --r-4: 20px;
  --r-5: 28px;
  --r-pill: 999px;
  --font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
.hidden { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg1);
}

/* Icons */
.ico {
  width: 1.125em;
  height: 1.125em;
  flex-shrink: 0;
  display: block;
}
.ico-sm { width: 16px; height: 16px; }
.ico-md { width: 18px; height: 18px; }
.ico-lg { width: 20px; height: 20px; }

.with-icon,
.mgr-nav-link,
.mg-btn,
.dash-card-btn,
.btn-link.with-icon,
.mgr-btn-primary.with-icon,
.mgr-btn-ghost.with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.mgr-icon-btn,
.mg-icon-btn,
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mgr-icon-btn .ico,
.mg-icon-btn .ico,
.btn-icon .ico {
  width: 18px;
  height: 18px;
}

.success-box.with-icon { display: flex; align-items: flex-start; gap: 8px; }

.nav-ico { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-ico .ico { width: 16px; height: 16px; }

.progress-step span { display: inline-flex; align-items: center; justify-content: center; }

/* Booking app (client) */
body.booking-app {
  margin: 0;
  background: #f5f5f5;
  color: var(--fg1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.booking-app h1,
body.booking-app h2,
body.booking-app h3,
body.booking-app p { margin: 0; }
body.booking-app a { color: inherit; text-decoration: none; }

.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 0 40px rgba(13, 13, 11, 0.06);
}
.app-header {
  padding: 16px 16px 8px;
  flex-shrink: 0;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.brand-name {
  color: var(--brand-strong);
  letter-spacing: 0.02em;
}
.brand-sub { color: var(--fg3); margin-top: 6px; font-size: 14px; }

/* Booking progress (dots, no step labels) */
.booking-progress {
  padding: 4px 20px 14px;
  flex-shrink: 0;
}
.booking-progress.hidden {
  display: none;
}
.booking-progress-inner {
  position: relative;
  height: 11px;
  display: flex;
  align-items: center;
}
.booking-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: #e8e8e8;
  border-radius: 99px;
  overflow: hidden;
}
.booking-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: 99px;
  transition: width 0.35s ease;
}
.booking-progress-dots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.booking-progress-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d8d8d8;
  box-sizing: border-box;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.booking-progress-dot.done,
.booking-progress-dot.active {
  border-color: var(--brand);
  background: var(--brand);
}
.booking-progress-dot.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.app-main {
  flex: 1;
  padding: 0 16px 100px;
  overflow-x: hidden;
}
.app-main.app-main--compact {
  padding-bottom: 24px;
}

.step-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-panel.panel-enter {
  animation: panelIn 0.32s ease forwards;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step-subtitle {
  font-size: 14px;
  color: var(--fg3);
  margin-top: 2px;
}
.section-label {
  font-size: 17px;
  font-weight: 700;
}

.step-nav {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}
.btn-back {
  width: 40px;
  height: 40px;
  border: none;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  color: var(--brand);
}
.btn-back .ico { width: 22px; height: 22px; }

/* Calendar */
.calendar-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.calendar-tab {
  padding: 12px 10px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  color: var(--fg2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.calendar-tab-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg3);
  line-height: 1.2;
}
.calendar-tab-date {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg1);
  line-height: 1.2;
}
.calendar-tab.active {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.calendar-tab.active .calendar-tab-label {
  color: var(--brand-strong);
}
.calendar-tab.active .calendar-tab-date {
  color: var(--brand-strong);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 600;
  color: #b0b0b0;
  text-align: center;
}

.calendar-expanded {
  overflow: hidden;
  max-height: 2000px;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 1;
}
.calendar-expanded.calendar-expanded--collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.calendar-scroll {
  max-height: min(58vh, 420px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}
.calendar-month { margin-bottom: 20px; }
.calendar-month-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day--empty { pointer-events: none; }
.cal-day {
  aspect-ratio: 1;
  min-height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}
.cal-day--disabled {
  color: #c8c8c8;
  cursor: default;
}
.cal-day:not(.cal-day--disabled):not(.cal-day--empty):active {
  transform: scale(0.92);
}
.cal-day--edge {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.cal-day--in-range {
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-radius: 0;
}
.cal-day--start.cal-day--in-range,
.cal-day--start { border-radius: 50% 0 0 50%; }
.cal-day--end.cal-day--in-range,
.cal-day--end { border-radius: 0 50% 50% 0; }
.cal-day--start.cal-day--end { border-radius: 50%; }

/* Guests */
.guest-section { margin-top: 4px; }
.guest-box { display: flex; flex-direction: column; gap: 12px; }
.counter {
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fafafa;
}
.counter strong { font-size: 16px; }
.counter-value {
  min-width: 28px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}
.counter-controls { display: flex; align-items: center; gap: 12px; }
.hint { color: var(--fg3); font-size: 13px; margin-top: 4px; }

.guest-box .child-ages-section {
  margin-top: 0;
  padding: 12px 0 4px;
  border-top: 1px solid #ebebeb;
}
.child-ages-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.child-age-row {
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fafafa;
}
.child-age-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}
.child-age-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-strong);
  font-family: var(--font-mono);
}
.child-age-row input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
  height: 6px;
}
.child-ages-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg3);
  text-align: center;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg1);
}
.btn-icon:active { background: #f0f0f0; }

/* Date strip */
.date-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
  margin: 0 -4px;
  scroll-snap-type: x proximity;
}
.date-strip::-webkit-scrollbar { display: none; }
.date-chip {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 12px 14px;
  border: none;
  border-radius: 14px;
  background: #f3f3f3;
  text-align: center;
  scroll-snap-align: center;
  transition: background 0.2s, color 0.2s;
}
.date-chip-day {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg1);
}
.date-chip-dow,
.date-chip-price {
  display: block;
  font-size: 12px;
  color: var(--fg3);
  margin-top: 2px;
}
.date-chip-price {
  font-family: var(--font-mono);
  font-weight: 600;
}
.date-chip.active {
  background: var(--brand);
}
.date-chip.active .date-chip-day,
.date-chip.active .date-chip-dow,
.date-chip.active .date-chip-price {
  color: #fff;
}
.date-chip--loading .date-chip-price {
  opacity: 0.5;
}

.booking-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: blur(6px);
}
.booking-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 24px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-3);
  min-width: min(320px, 92vw);
}
.booking-loader-scene {
  position: relative;
  width: 300px;
  height: 168px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #8fd4eb 0%, #d4eef6 38%, #f5e6c8 72%, #e8d4a8 100%);
}
.loader-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #6ebee0 0%, #a8dff0 42%, #f0e4c8 78%, transparent 100%);
}
.loader-sun {
  position: absolute;
  top: 14px;
  right: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #fffce8, #ffd54a 55%, #f0a828 100%);
  box-shadow: 0 0 28px rgba(255, 210, 80, 0.65);
  animation: loader-sun-pulse 3s ease-in-out infinite;
}
.loader-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  filter: drop-shadow(0 2px 6px rgba(80, 130, 160, 0.12));
}
.loader-cloud--1 {
  width: 56px;
  height: 20px;
  top: 22px;
  left: 18px;
  animation: loader-cloud-drift 6s ease-in-out infinite;
}
.loader-cloud--2 {
  width: 42px;
  height: 15px;
  top: 38px;
  left: 108px;
  animation: loader-cloud-drift 7.5s ease-in-out infinite reverse;
}
.loader-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  height: 72px;
  background:
    radial-gradient(ellipse 90px 36px at 12% 100%, #8a9e7a 0%, transparent 72%),
    radial-gradient(ellipse 110px 44px at 38% 100%, #6d8f6a 0%, transparent 74%),
    radial-gradient(ellipse 130px 50px at 62% 100%, #7a9a72 0%, transparent 76%),
    radial-gradient(ellipse 100px 40px at 88% 100%, #95a888 0%, transparent 70%);
  opacity: 0.85;
}
.loader-shore {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  background: linear-gradient(180deg, #f2d9a8 0%, #e8c888 35%, #dcc078 100%);
}
.loader-lake {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 18px;
  height: 72px;
  border-radius: 60% 60% 0 0 / 18% 18% 0 0;
  background:
    linear-gradient(180deg,
      rgba(120, 220, 235, 0.95) 0%,
      #3eb8c8 28%,
      #2a9aad 55%,
      #1f8494 100%);
  box-shadow: inset 0 8px 24px rgba(255, 255, 255, 0.25);
}
.loader-shimmer {
  position: absolute;
  top: 12px;
  left: -40%;
  width: 45%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: loader-shimmer 2.8s ease-in-out infinite;
}
.loader-ripple {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  animation: loader-ripple 3.2s ease-out infinite;
}
.loader-ripple--1 {
  width: 20px;
  height: 10px;
  left: 28%;
  bottom: 22px;
}
.loader-ripple--2 {
  width: 16px;
  height: 8px;
  left: 62%;
  bottom: 18px;
  animation-delay: 1.1s;
}
.loader-reeds {
  position: absolute;
  bottom: 44px;
  width: 28px;
  height: 36px;
  opacity: 0.7;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 3px,
    #5a8f4a 3px 5px,
    transparent 5px 8px
  );
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.loader-reeds--l { left: 6px; transform: skewX(-6deg); }
.loader-reeds--r { right: 8px; transform: skewX(8deg) scaleX(-1); }
.loader-resort {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: 120px;
  height: 56px;
  transform: translateX(-50%);
}
.loader-yurt {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 46px;
  animation: loader-yurt-bob 3.2s ease-in-out infinite;
}
.loader-yurt-roof {
  position: absolute;
  left: 3px;
  top: 0;
  width: 44px;
  height: 26px;
  background: linear-gradient(180deg, #d4895a 0%, #a8653a 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.loader-yurt-roof::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.2);
}
.loader-yurt-wall {
  position: absolute;
  left: 7px;
  bottom: 0;
  width: 36px;
  height: 20px;
  background: linear-gradient(180deg, #f0e0c4 0%, #d8c09a 100%);
  border-radius: 0 0 5px 5px;
}
.loader-yurt-door {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 11px;
  height: 13px;
  transform: translateX(-50%);
  background: #6b4a32;
  border-radius: 5px 5px 2px 2px;
}
.loader-deck {
  position: absolute;
  left: 44px;
  bottom: 4px;
  width: 52px;
  height: 8px;
  background: linear-gradient(180deg, #c4a06a 0%, #9a7848 100%);
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}
.loader-deck::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 2px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #8a6840 0 6px, transparent 6px 10px);
  opacity: 0.5;
}
.loader-umbrella {
  position: absolute;
  right: 4px;
  bottom: 8px;
  width: 36px;
  height: 40px;
  animation: loader-umbrella-sway 4s ease-in-out infinite;
}
.loader-umbrella-canopy {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 18px;
  background: linear-gradient(180deg, #e85c4a 0%, #c93d32 100%);
  border-radius: 50% 50% 4px 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.loader-umbrella-canopy::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  width: 2px;
  height: 14px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.35);
}
.loader-umbrella-pole {
  position: absolute;
  left: 50%;
  top: 16px;
  width: 3px;
  height: 22px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #d8d0c4, #a89e90);
  border-radius: 2px;
}
.booking-loader-text {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-strong);
  letter-spacing: -0.01em;
  text-align: center;
}
@keyframes loader-shimmer {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(320%); opacity: 0; }
}
@keyframes loader-ripple {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}
@keyframes loader-yurt-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes loader-umbrella-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(3deg); }
}
@keyframes loader-cloud-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); }
}
@keyframes loader-sun-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .loader-yurt,
  .loader-umbrella,
  .loader-cloud,
  .loader-sun,
  .loader-shimmer,
  .loader-ripple {
    animation: none;
  }
}
@keyframes booking-spin {
  to { transform: rotate(360deg); }
}

.room-list--busy {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.date-strip--busy {
  opacity: 0.85;
  pointer-events: none;
}

.room-card--skeleton .room-card-photo--empty {
  background: linear-gradient(90deg, #ececec 0%, #f5f5f5 50%, #ececec 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.skeleton-line {
  height: 14px;
  border-radius: 8px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ececec 0%, #f5f5f5 50%, #ececec 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.skeleton-line--lg { height: 20px; width: 70%; }
.skeleton-line--sm { width: 45%; margin-bottom: 0; }
@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.btn-primary.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.btn-primary.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: booking-spin 0.75s linear infinite;
}

.info-banner {
  font-size: 14px;
  color: var(--fg2);
  background: #f5f5f5;
  border-radius: 12px;
  padding: 12px 14px;
  line-height: 1.4;
}
.empty-state {
  text-align: center;
  color: var(--fg3);
  padding: 32px 16px;
  font-size: 15px;
}

/* Room cards */
.room-list { display: flex; flex-direction: column; gap: 16px; }
.room-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.room-card-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #e8e8e8;
}
.room-card-photo--empty { min-height: 160px; }
.room-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.room-card-title { font-size: 18px; font-weight: 700; }
.room-card-desc {
  font-size: 14px;
  color: var(--fg3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.room-card-amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.room-card-amenities li {
  font-size: 12px;
  color: var(--fg2);
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 99px;
}
.room-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 4px;
}
.room-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--fg3);
}
.room-card-price {
  text-align: right;
}
.room-card-price strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg1);
}
.room-card-price span {
  font-size: 12px;
  color: var(--fg3);
}
.room-select-btn {
  margin-top: 8px;
}

/* Step 3 confirm */
.confirm-room {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 14px;
  background: #fafafa;
}
.confirm-room-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.confirm-room-text {
  flex: 1;
  display: flex;
  gap: 10px;
  min-width: 0;
}
.confirm-room-ico { color: var(--fg3); flex-shrink: 0; margin-top: 2px; }
.confirm-room-text strong { font-size: 16px; display: block; }
.confirm-room-text p {
  font-size: 13px;
  color: var(--fg3);
  margin-top: 4px;
}
.confirm-amenities {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.confirm-amenities li {
  font-size: 12px;
  background: #fff;
  border: 1px solid #eee;
  padding: 3px 8px;
  border-radius: 8px;
}
.confirm-room-thumb {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.confirm-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #eee;
}
.summary-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}
.summary-ico {
  color: var(--fg3);
  flex-shrink: 0;
  margin-top: 2px;
}
.summary-row strong { font-size: 16px; display: block; }
.summary-row p {
  font-size: 13px;
  color: var(--fg3);
  margin-top: 4px;
}
.summary-row--price strong {
  font-size: 20px;
  color: var(--brand-strong);
}

.deposit-warning {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--warning-bg);
  border-radius: 14px;
  padding: 14px;
}
.deposit-warning .deposit-icon { color: var(--warning); flex-shrink: 0; }
.deposit-warning .deposit-icon .ico { width: 22px; height: 22px; }
.deposit-warning strong { font-size: 15px; display: block; }
.deposit-warning p {
  font-size: 13px;
  color: var(--fg2);
  margin-top: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg-raised) 100%);
  box-shadow: var(--shadow-1);
}
.contact-form-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-strong);
  letter-spacing: -0.01em;
  margin: 0 0 2px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg2);
  letter-spacing: 0.01em;
}
.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-3);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--fg1);
  background: var(--bg-raised);
  box-shadow: inset 0 1px 2px rgba(13, 13, 11, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder {
  color: var(--ink-300);
  font-weight: 400;
  opacity: 1;
}
.field input:hover:not(:focus):not(:disabled) {
  border-color: var(--ink-200);
  background: #fff;
}
.field input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow:
    inset 0 1px 2px rgba(13, 13, 11, 0.03),
    0 0 0 3px var(--brand-soft);
}
.field input:focus::placeholder {
  color: var(--ink-200);
}
.field input:user-invalid:not(:placeholder-shown):not(:focus) {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px var(--danger-bg);
}

/* Step 4 — подтверждение брони */
.step4-panel {
  padding-bottom: 24px;
}
.step4-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 8px;
}
.step4-hero-icon .ico {
  width: 48px;
  height: 48px;
  color: var(--positive);
  stroke-width: 2.25;
}
.step4-hero--muted .step4-hero-icon .ico {
  color: var(--fg3);
}
.step4-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step4-ref {
  text-align: center;
  font-size: 15px;
  color: var(--fg2);
  margin-bottom: 20px;
}
.step4-ref span {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-strong);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.timer-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  background: var(--bg-raised);
  margin: 12px 0 20px;
}
.timer-label-top {
  font-size: 13px;
  color: var(--fg3);
  margin-bottom: 8px;
}
.timer-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: clamp(34px, 8vw, 42px);
  font-weight: 700;
  color: var(--fg1);
  line-height: 1;
  transition: color 0.3s ease;
}
.timer-row.warn {
  color: var(--warning);
}
.timer-row.danger {
  color: var(--danger);
  animation: timerPulse 0.9s ease-in-out infinite;
}
.timer-sep {
  font-size: clamp(28px, 6.5vw, 36px);
  font-weight: 700;
  color: var(--fg3);
  animation: timerBlink 1s step-end infinite;
  margin: 0 2px;
  user-select: none;
}
.timer-units {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.timer-unit-label {
  font-size: 11px;
  color: var(--fg3);
  width: 52px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.timer-unit-spacer {
  width: 20px;
  flex-shrink: 0;
}
@keyframes timerBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes timerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.step4-details {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}
.step4-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.step4-details-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  font-weight: 500;
}
.step4-details-list li:last-child {
  border-bottom: none;
}
.step4-detail-ico {
  flex-shrink: 0;
  color: var(--fg3);
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step4-detail-price span:last-child {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-strong);
}

.step4-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f8f8f8;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
}
.step4-notice-ico {
  flex-shrink: 0;
  color: var(--warning);
}
.step4-notice-ico .ico {
  width: 20px;
  height: 20px;
}
.step4-notice p {
  font-size: 13px;
  color: var(--fg2);
  line-height: 1.45;
}

.step4-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.btn-text-link {
  border: none;
  background: transparent;
  color: var(--fg3);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-text-link:active {
  color: var(--fg2);
}

.step4-state {
  text-align: center;
  padding: 16px 8px 8px;
}
.step4-expired-text {
  font-size: 15px;
  color: var(--fg2);
  line-height: 1.55;
  margin: 16px 0 28px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.step4-expired-text strong {
  color: var(--brand-strong);
  font-family: var(--font-mono);
}

.payment-toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(120%);
  max-width: min(440px, calc(100% - 32px));
  width: 100%;
  padding: 14px 18px;
  background: var(--fg1);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  z-index: 50;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.payment-toast--show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Sticky footer & buttons */
.sticky-footer {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, #fff 85%, rgba(255, 255, 255, 0));
  border-top: 1px solid #f0f0f0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.date-summary-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
  text-align: center;
  cursor: pointer;
}
.date-summary-bar:active {
  background: #f0f0f0;
}
.date-summary-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg2);
  line-height: 1.35;
  margin: 0;
}
.date-summary-edit {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

body.booking-app input,
body.booking-app textarea,
body.booking-app button {
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
}
body.booking-app button { cursor: pointer; transition: background 0.15s, transform 0.1s; }

.btn-primary {
  background: var(--brand);
  border: 1px solid transparent;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(39, 126, 125, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}
.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 4px 16px rgba(39, 126, 125, 0.32);
}
.btn-primary:active {
  background: var(--brand-press);
  transform: scale(0.99);
  box-shadow: 0 2px 8px rgba(39, 126, 125, 0.26);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-block { width: 100%; display: block; }

@media (min-width: 481px) {
  body.booking-app { background: #e8ecec; }
}

/* Manager schedule layout */
body.mgr-page { margin: 0; background: var(--bg); font-family: var(--font-sans); color: var(--fg1); }
.mgr { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.mgr-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 52px; flex-shrink: 0;
  background: var(--bg-raised); border-bottom: 1px solid var(--line);
}
.mgr-brand { display: flex; align-items: center; gap: 6px; }
.mgr-brand-mark { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.mgr-brand-sep { color: var(--ink-300); }
.mgr-brand-sub { color: var(--fg3); font-size: 15px; }
.mgr-nav { display: flex; gap: 4px; }
.mgr-nav-link {
  padding: 7px 12px; border-radius: var(--r-2); font-size: 15px;
  font-weight: 500; color: var(--fg2); text-decoration: none; transition: background .15s;
}
.mgr-nav-link:hover { background: var(--ink-100); }
.mgr-nav-link.active { background: var(--brand-soft); color: var(--brand-strong); }
.mgr-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px; flex-shrink: 0; gap: 12px; flex-wrap: wrap;
  background: var(--bg-raised); border-bottom: 1px solid var(--line-soft);
}
.mgr-daterange { display: flex; align-items: center; gap: 6px; }
.mgr-daterange-text { font-size: 16px; font-weight: 600; color: var(--fg1); min-width: 140px; }
.mgr-icon-btn {
  width: 32px; height: 32px; border: 1px solid var(--line-strong); background: var(--bg-raised);
  border-radius: var(--r-2); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.mgr-icon-btn:hover { background: var(--ink-100); }
.mgr-btn-ghost {
  padding: 7px 12px; border: 1px solid var(--line-strong); background: var(--bg-raised);
  border-radius: var(--r-2); cursor: pointer; font-size: 15px; font-weight: 500;
}
.mgr-btn-primary {
  padding: 9px 16px; background: var(--brand); color: #fff; border: none; border-radius: var(--r-2);
  cursor: pointer; font-size: 15px; font-weight: 600; white-space: nowrap;
}
.mgr-btn-primary:hover { background: var(--brand-hover); }
.mgr-toolbar-right { display: flex; align-items: center; gap: 12px; }
.mgr-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.mgr-pill {
  display: flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: var(--bg-raised); font-size: 14px;
  font-weight: 500; cursor: pointer; color: var(--fg2);
}
.mgr-pill.active { background: var(--fg1); color: #fff; border-color: var(--fg1); }
.mgr-pill.status-confirmed { border-color: var(--status-confirmed-fg); color: var(--status-confirmed-fg); }
.mgr-pill.status-pending { border-color: var(--status-pending-fg); color: var(--status-pending-fg); }
.mgr-pill.status-blocked, .mgr-pill.status-cancelled { border-color: var(--ink-300); color: var(--fg3); }
.mgr-pill-count { font-weight: 700; }
.mg-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: currentColor; }
.mgr-body { flex: 1; display: flex; overflow: hidden; min-height: 0; }
.mgr-body.has-detail .mgr-grid-wrap { flex: 1; }
.mgr-rail {
  width: 220px; flex-shrink: 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow-y: auto;
}
.mgr-rail-head {
  padding: 10px 16px 8px; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0;
  background: var(--bg-raised); z-index: 2;
}
.mg-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--fg3); }
.mgr-rail-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft);
  min-height: 64px; box-sizing: border-box;
}
.mg-room-thumb { width: 36px; height: 36px; border-radius: var(--r-2); object-fit: cover; background: var(--ink-100); flex-shrink: 0; }
.mg-room-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.mg-room-meta { font-size: 13px; color: var(--fg3); margin-top: 2px; }
.mgr-grid-wrap { flex: 1; overflow-x: auto; overflow-y: hidden; min-width: 0; }
.mgr-grid { display: flex; flex-direction: column; min-width: max-content; height: 100%; }
.mg-dayheader { display: flex; position: sticky; top: 0; z-index: 3; background: var(--bg-raised); border-bottom: 1px solid var(--line); }
.mg-day {
  width: var(--cell-w, 48px); flex-shrink: 0; text-align: center; padding: 6px 4px; border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.mg-day.wknd { background: #faf9f6; }
.mg-day.today { background: var(--brand-soft); }
.mg-day-dow { font-size: 11px; text-transform: uppercase; color: var(--fg3); font-weight: 600; }
.mg-day-num { font-size: 15px; font-weight: 700; line-height: 1; font-family: var(--font-mono); }
.mg-day.today .mg-day-num { color: var(--brand-strong); }
.mg-day-mo { font-size: 10px; color: var(--fg3); }
.mgr-grid-body { flex: 1; position: relative; overflow-y: auto; }
.mg-today-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--brand); z-index: 2; pointer-events: none; }
.mg-today-line span { position: absolute; top: 4px; left: 4px; font-size: 10px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.mg-row {
  display: flex; position: relative; min-height: 64px; border-bottom: 1px solid var(--line-soft);
  overflow: visible;
}
.mg-cell { width: var(--cell-w, 48px); flex-shrink: 0; border-right: 1px solid var(--line-soft); cursor: pointer; }
.mg-cell:hover { background: var(--bg-tint); }
.mg-cell.wknd { background: #faf9f6; }
.mg-cell.wknd:hover { background: #f0f7f6; }
.mg-bar {
  position: absolute;
  border-radius: var(--r-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  border: none;
  font-family: var(--font-sans);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow .15s, transform .1s;
  box-sizing: border-box;
}
.mg-bar:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.mg-bar.sel { box-shadow: var(--shadow-2), 0 0 0 2px var(--brand); }
.mg-bar.status-confirmed { background: var(--status-confirmed-bg); color: var(--status-confirmed-fg); }
.mg-bar.status-pending { background: var(--status-pending-bg); color: var(--status-pending-fg); }
.mg-bar.status-blocked { background: var(--status-blocked-bg); color: var(--status-blocked-fg); }
.mg-bar.status-cancelled { background: var(--status-cancelled-bg); color: var(--status-cancelled-fg); opacity: .6; }
.mg-bar-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-bar-meta { font-size: 13px; opacity: .7; white-space: nowrap; }
.mg-detail {
  width: 280px; flex-shrink: 0; border-left: 1px solid var(--line); display: flex; flex-direction: column;
  overflow-y: auto; background: var(--bg-raised);
}
.mg-detail-head { padding: 16px; border-bottom: 1px solid var(--line-soft); }
.mg-eyebrow-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mg-icon-btn {
  width: 28px; height: 28px; border: 1px solid var(--line-strong); background: var(--bg-raised);
  border-radius: var(--r-2); cursor: pointer;
}
.mg-detail-name { font-size: 20px; font-weight: 700; margin: 4px 0 8px; }
.mg-status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; }
.mg-status-pill.status-confirmed { background: var(--status-confirmed-bg); color: var(--status-confirmed-fg); }
.mg-status-pill.status-pending { background: var(--status-pending-bg); color: var(--status-pending-fg); }
.mg-status-pill.status-cancelled { background: var(--status-cancelled-bg); color: var(--status-cancelled-fg); }
.mg-detail-section { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); display: grid; gap: 8px; }
.mg-detail-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mg-l { font-size: 14px; color: var(--fg3); flex-shrink: 0; }
.mg-v { font-size: 15px; font-weight: 500; text-align: right; }
.mg-detail-total { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; }
.mg-amount { font-size: 18px; font-weight: 700; color: var(--brand-strong); font-family: var(--font-mono); }
.mg-detail-actions { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
#detailCancel.hidden,
#detailCancel[hidden] {
  display: none !important;
}
.mg-detail-cancelled-notice {
  margin: 0; padding: 10px 14px; border-radius: var(--r-2); font-size: 15px; font-weight: 600;
  text-align: center; color: var(--fg2); background: var(--bg-sunken); border: 1px solid var(--line-soft);
  user-select: none; pointer-events: none;
}
.mg-btn {
  padding: 10px 14px; border-radius: var(--r-2); font-size: 15px; font-weight: 600; cursor: pointer;
  text-align: center; text-decoration: none; border: none; font-family: var(--font-sans);
}
.mg-btn-wa { background: #25d366; color: #fff; }
.mg-btn-confirm { background: var(--positive-bg); color: var(--positive); border: 1px solid var(--positive); }
.mg-btn-cancel { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger); }
.mg-btn-ghost { background: var(--bg-sunken); color: var(--fg2); border: 1px solid var(--line-strong); }
.mgr-auth-overlay { position: fixed; inset: 0; background: rgba(13, 13, 11, .5); display: flex; align-items: center; justify-content: center; z-index: 100; }
.mgr-auth-box { background: var(--bg-raised); border-radius: var(--r-4); padding: 32px; width: 320px; display: grid; gap: 12px; box-shadow: var(--shadow-3); }
.mgr-auth-box h2 { font-size: 20px; font-weight: 700; margin: 0; }
.auth-error { font-size: 14px; color: var(--danger); margin: 0; }

/* Dashboard */
.dash-date-row { font-size: 15px; color: var(--fg3); }
.dash-date-label { font-size: 15px; color: var(--fg3); }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 24px; flex-shrink: 0; }
.dash-metric-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-3); padding: 16px 20px; }
.dash-metric-label { display: block; font-size: 15px; color: var(--fg3); margin-bottom: 6px; }
.dash-metric-value { font-size: 30px; font-weight: 700; font-family: var(--font-mono); }
.dash-columns {
  flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  padding: 0 24px 24px; overflow-y: auto; min-height: 0; align-content: start;
}
.dash-col { display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
.dash-col:first-child { padding-left: 0; }
.dash-col:last-child { padding-right: 0; }
.dash-col-title { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.dash-col-list { display: flex; flex-direction: column; gap: 8px; }
.dash-booking-card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 14px; display: grid; gap: 6px; transition: box-shadow .15s;
}
.dash-booking-card:hover { box-shadow: var(--shadow-2); }
.dash-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.dash-card-name { font-size: 16px; font-weight: 600; }
.dash-card-amount { font-size: 15px; font-weight: 700; font-family: var(--font-mono); color: var(--brand-strong); }
.dash-card-room { font-size: 14px; color: var(--fg3); }
.dash-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dash-card-dates { font-size: 14px; color: var(--fg3); }
.dash-card-actions { display: flex; gap: 6px; margin-top: 4px; }
.dash-card-btn {
  padding: 6px 11px; border-radius: var(--r-2); font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; font-family: var(--font-sans);
}
.dash-card-btn.confirm { background: var(--positive-bg); color: var(--positive); }
.dash-card-btn.cancel { background: var(--danger-bg); color: var(--danger); }
.dash-empty { font-size: 15px; color: var(--ink-300); padding: 12px 0; }

@media (max-width: 1024px) {
  .mgr-body { flex-direction: column; }
  .mgr-rail { width: 100%; max-height: 170px; border-right: none; border-bottom: 1px solid var(--line); }
  .mg-detail { width: 100%; border-left: none; border-top: 1px solid var(--line); }
  .dash-columns { grid-template-columns: 1fr; }
  .dash-metrics { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
