:root {
  --font-body: Inter, "Noto Sans Bengali", ui-sans-serif, system-ui, sans-serif;
  --type-accent: #0369a1;
  --type-accent-light: #e0f2fe;
  --type-accent-mid: #7dd3fc;
}

html, body { font-family: var(--font-body); }
button, a, summary, [role="button"], input[type="submit"], label { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid #0369a1; outline-offset: 2px; }

.field {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgb(224 242 254 / 0.9);
  background: rgb(255 255 255 / 0.9);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #0f172a;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
  outline: none;
}
.field:focus {
  border-color: #38bdf8;
  background: #fff;
  box-shadow: 0 0 0 4px rgb(224 242 254);
}

@keyframes home-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #153828;
  background-image: var(--home-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center center;
  animation: home-bg-drift 85s ease-in-out infinite alternate;
}

.home-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(245, 251, 248, 0.62) 38%,
    rgba(220, 240, 232, 0.45) 72%,
    rgba(18, 58, 42, 0.28) 100%
  );
}

.home-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: min(38vh, 420px);
  pointer-events: none;
  overflow: hidden;
}

.home-shell { isolation: isolate; }
.home-page-main {
  position: relative;
  z-index: 1;
}

.home-water__ripple {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -18%;
  height: 55%;
  border-radius: 52% 48% 0 0 / 100% 100% 0 0;
  background: radial-gradient(
    ellipse 95% 85% at 50% 0%,
    color-mix(in srgb, #3d8f7a 55%, transparent),
    color-mix(in srgb, #1e5c48 35%, transparent) 45%,
    transparent 72%
  );
  opacity: 0.55;
  animation: home-water-ripple 10s ease-in-out infinite;
}

.home-water__ripple--2 {
  left: -8%;
  right: -8%;
  bottom: -22%;
  height: 48%;
  opacity: 0.35;
  border-radius: 48% 52% 0 0 / 90% 90% 0 0;
  animation-duration: 14s;
  animation-delay: -3s;
  animation-direction: alternate-reverse;
}

.home-water__caustic {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background: repeating-linear-gradient(
    118deg,
    transparent 0 14px,
    rgba(255, 255, 255, 0.07) 14px 16px,
    transparent 16px 36px
  );
  mask-image: linear-gradient(to top, black 0%, transparent 78%);
  animation: home-water-caustic 22s linear infinite;
}

.home-water__shine {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background: linear-gradient(
    100deg,
    transparent 36%,
    rgba(255, 255, 255, 0.14) 49%,
    transparent 62%
  );
  background-size: 220% 100%;
  mask-image: linear-gradient(to top, black 15%, transparent 85%);
  animation: home-water-shine 28s ease-in-out infinite;
}

@keyframes home-bg-drift {
  0% { transform: scale(1.03) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.2%, -0.6%); }
}

@keyframes home-water-ripple {
  0%, 100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-10px) scaleX(1.015); }
}

@keyframes home-water-caustic {
  0% { transform: translateX(0); }
  100% { transform: translateX(-48px); }
}

@keyframes home-water-shine {
  0%, 100% { background-position: 130% 0; }
  50% { background-position: -30% 0; }
}

.home-animate-in {
  opacity: 1;
  animation: home-fade-up 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-animate-in--1 { animation-delay: 0.04s; }
.home-animate-in--2 { animation-delay: 0.1s; }
.home-animate-in--3 { animation-delay: 0.18s; }
.home-animate-in--4 { animation-delay: 0.24s; }
.home-animate-in--5 { animation-delay: 0.3s; }
.home-animate-in--6 { animation-delay: 0.36s; }

.home-cal-day {
  height: 2.35rem;
  width: 2.35rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
}
.home-cal-day:hover { background: #e0f2fe; }
.home-cal-day.is-muted { color: #94a3b8; }
.home-cal-day.is-in { background: #e0f2fe; }
.home-cal-day.is-edge { background: #0369a1; color: #fff; }
.home-cal-day.is-today { box-shadow: inset 0 0 0 2px #7dd3fc; }

@media (prefers-reduced-motion: reduce) {
  .home-hero-bg, .home-water__ripple, .home-water__ripple--2, .home-water__caustic, .home-water__shine {
    animation: none;
  }
  .home-hero-bg { transform: none; }
  .home-animate-in { opacity: 1; animation: none; }
}

.admin-aside {
  background: linear-gradient(180deg, #082f49 0%, #083344 48%, #0c4a6e 100%);
  box-shadow: 6px 0 32px -12px rgba(8, 47, 73, 0.45);
}

.admin-aside-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  background:
    radial-gradient(ellipse 80% 60% at 20% -20%, rgba(56, 189, 248, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(6, 182, 212, 0.2), transparent 50%);
}

.avail-shell {
  --type-accent: #1e40af;
  --type-accent-light: #eff6ff;
  --type-accent-mid: #93c5fd;
}

.avail-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border-width: 1px;
  padding: 0.9rem 1rem;
  backdrop-filter: blur(8px);
}
.avail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent 55%);
}
.avail-card.is-available {
  border-color: rgb(148 163 184 / 0.55);
  background: rgb(255 255 255 / 0.55);
  box-shadow: 0 10px 28px -16px rgb(30 64 175 / 0.25);
}
.avail-card.is-booked {
  border-color: rgb(248 113 113 / 0.55);
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
}
.avail-card.is-hold {
  border-color: rgb(250 204 21 / 0.55);
  background: linear-gradient(135deg, #fefce8, #fef3c7);
}
.avail-card.is-blocked {
  opacity: 0.55;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.rounded-4xl { border-radius: 2rem; }

html.avail-html, html.avail-html body {
  height: 100%;
  overflow: hidden;
}

@keyframes spacebook-sidebar-row-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.spacebook-sidebar-row {
  animation: spacebook-sidebar-row-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
@media (prefers-reduced-motion: no-preference) {
  .spacebook-sidebar-card-hover {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, filter 0.35s ease;
  }
  .spacebook-sidebar-card-hover:hover { transform: translateY(-3px); }
}

/* react-day-picker 9.14.0 style.css */
/* Variables declaration */
.rdp-root {
  --rdp-accent-color: blue; /* The accent color used for selected days and UI elements. */
  --rdp-accent-background-color: #f0f0ff; /* The accent background color used for selected days and UI elements. */

  --rdp-day-height: 44px; /* The height of the day cells. */
  --rdp-day-width: 44px; /* The width of the day cells. */

  --rdp-day_button-border-radius: 100%; /* The border radius of the day cells. */
  --rdp-day_button-border: 2px solid transparent; /* The border of the day cells. */
  --rdp-day_button-height: 42px; /* The height of the day cells. */
  --rdp-day_button-width: 42px; /* The width of the day cells. */

  --rdp-selected-border: 2px solid var(--rdp-accent-color); /* The border of the selected days. */
  --rdp-disabled-opacity: 0.5; /* The opacity of the disabled days. */
  --rdp-outside-opacity: 0.75; /* The opacity of the days outside the current month. */
  --rdp-today-color: var(--rdp-accent-color); /* The color of the today's date. */

  --rdp-dropdown-gap: 0.5rem; /* The gap between the dropdowns used in the month captons. */

  --rdp-months-gap: 2rem; /* The gap between the months in the multi-month view. */

  --rdp-nav_button-disabled-opacity: 0.5; /* The opacity of the disabled navigation buttons. */
  --rdp-nav_button-height: 2.25rem; /* The height of the navigation buttons. */
  --rdp-nav_button-width: 2.25rem; /* The width of the navigation buttons. */
  --rdp-nav-height: 2.75rem; /* The height of the navigation bar. */

  --rdp-range_middle-background-color: var(--rdp-accent-background-color); /* The color of the background for days in the middle of a range. */
  --rdp-range_middle-color: inherit; /* The color of the range text. */

  --rdp-range_start-color: white; /* The color of the range text. */
  --rdp-range_start-background: linear-gradient(
    var(--rdp-gradient-direction),
    transparent 50%,
    var(--rdp-range_middle-background-color) 50%
  ); /* Used for the background of the start of the selected range. */
  --rdp-range_start-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the start of the selected range. */

  --rdp-range_end-background: linear-gradient(
    var(--rdp-gradient-direction),
    var(--rdp-range_middle-background-color) 50%,
    transparent 50%
  ); /* Used for the background of the end of the selected range. */
  --rdp-range_end-color: white; /* The color of the range text. */
  --rdp-range_end-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the end of the selected range. */

  --rdp-week_number-border-radius: 100%; /* The border radius of the week number. */
  --rdp-week_number-border: 2px solid transparent; /* The border of the week number. */

  --rdp-week_number-height: var(--rdp-day-height); /* The height of the week number cells. */
  --rdp-week_number-opacity: 0.75; /* The opacity of the week number. */
  --rdp-week_number-width: var(--rdp-day-width); /* The width of the week number cells. */
  --rdp-weeknumber-text-align: center; /* The text alignment of the weekday cells. */

  --rdp-weekday-opacity: 0.75; /* The opacity of the weekday. */
  --rdp-weekday-padding: 0.5rem 0rem; /* The padding of the weekday. */
  --rdp-weekday-text-align: center; /* The text alignment of the weekday cells. */

  --rdp-gradient-direction: 90deg;

  --rdp-animation_duration: 0.3s;
  --rdp-animation_timing: cubic-bezier(0.4, 0, 0.2, 1);
}

.rdp-root[dir="rtl"] {
  --rdp-gradient-direction: -90deg;
}

.rdp-root[data-broadcast-calendar="true"] {
  --rdp-outside-opacity: unset;
}

/* Root of the component. */
.rdp-root {
  position: relative; /* Required to position the navigation toolbar. */
  box-sizing: border-box;
}

.rdp-root * {
  box-sizing: border-box;
}

.rdp-day {
  width: var(--rdp-day-width);
  height: var(--rdp-day-height);
  text-align: center;
}

.rdp-day_button {
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  justify-content: center;
  align-items: center;
  display: flex;

  width: var(--rdp-day_button-width);
  height: var(--rdp-day_button-height);
  border: var(--rdp-day_button-border);
  border-radius: var(--rdp-day_button-border-radius);
}

.rdp-day_button:disabled {
  cursor: revert;
}

.rdp-caption_label {
  z-index: 1;

  position: relative;
  display: inline-flex;
  align-items: center;

  white-space: nowrap;
  border: 0;
}

.rdp-dropdown:focus-visible ~ .rdp-caption_label {
  outline: 5px auto Highlight;
  /* biome-ignore lint/suspicious/noDuplicateProperties: backward compatibility */
  outline: 5px auto -webkit-focus-ring-color;
}

.rdp-button_next,
.rdp-button_previous {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -moz-appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  appearance: none;

  width: var(--rdp-nav_button-width);
  height: var(--rdp-nav_button-height);
}

.rdp-button_next:disabled,
.rdp-button_next[aria-disabled="true"],
.rdp-button_previous:disabled,
.rdp-button_previous[aria-disabled="true"] {
  cursor: revert;

  opacity: var(--rdp-nav_button-disabled-opacity);
}

.rdp-chevron {
  display: inline-block;
  fill: var(--rdp-accent-color);
}

.rdp-root[dir="rtl"] .rdp-nav .rdp-chevron {
  transform: rotate(180deg);
  transform-origin: 50%;
}

.rdp-dropdowns {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--rdp-dropdown-gap);
}
.rdp-dropdown {
  z-index: 2;

  /* Reset */
  opacity: 0;
  appearance: none;
  position: absolute;
  inset-block-start: 0;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  cursor: inherit;
  border: none;
  line-height: inherit;
}

.rdp-dropdown_root {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.rdp-dropdown_root[data-disabled="true"] .rdp-chevron {
  opacity: var(--rdp-disabled-opacity);
}

.rdp-month_caption {
  display: flex;
  align-content: center;
  height: var(--rdp-nav-height);
  font-weight: bold;
  font-size: large;
}

.rdp-root[data-nav-layout="around"] .rdp-month,
.rdp-root[data-nav-layout="after"] .rdp-month {
  position: relative;
}

.rdp-root[data-nav-layout="around"] .rdp-month_caption {
  justify-content: center;
  margin-inline-start: var(--rdp-nav_button-width);
  margin-inline-end: var(--rdp-nav_button-width);
  position: relative;
}

.rdp-root[data-nav-layout="around"] .rdp-button_previous {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  height: var(--rdp-nav-height);
  display: inline-flex;
}

.rdp-root[data-nav-layout="around"] .rdp-button_next {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  height: var(--rdp-nav-height);
  display: inline-flex;
  justify-content: center;
}

.rdp-months {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--rdp-months-gap);
  max-width: fit-content;
}

.rdp-month_grid {
  border-collapse: collapse;
}

.rdp-nav {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;

  display: flex;
  align-items: center;

  height: var(--rdp-nav-height);
}

.rdp-weekday {
  opacity: var(--rdp-weekday-opacity);
  padding: var(--rdp-weekday-padding);
  font-weight: 500;
  font-size: smaller;
  text-align: var(--rdp-weekday-text-align);
  text-transform: var(--rdp-weekday-text-transform);
}

.rdp-week_number {
  opacity: var(--rdp-week_number-opacity);
  font-weight: 400;
  font-size: small;
  height: var(--rdp-week_number-height);
  width: var(--rdp-week_number-width);
  border: var(--rdp-week_number-border);
  border-radius: var(--rdp-week_number-border-radius);
  text-align: var(--rdp-weeknumber-text-align);
}

/* DAY MODIFIERS */
.rdp-today:not(.rdp-outside) {
  color: var(--rdp-today-color);
}

.rdp-selected {
  font-weight: bold;
  font-size: large;
}

.rdp-selected .rdp-day_button {
  border: var(--rdp-selected-border);
}

.rdp-outside {
  opacity: var(--rdp-outside-opacity);
}

.rdp-disabled:not(.rdp-selected) {
  opacity: var(--rdp-disabled-opacity);
}

.rdp-hidden {
  visibility: hidden;
  color: var(--rdp-range_start-color);
}

.rdp-range_start {
  background: var(--rdp-range_start-background);
}

.rdp-range_start .rdp-day_button {
  background-color: var(--rdp-range_start-date-background-color);
  color: var(--rdp-range_start-color);
}

.rdp-range_middle {
  background-color: var(--rdp-range_middle-background-color);
}

.rdp-range_middle .rdp-day_button {
  border: unset;
  border-radius: unset;
  color: var(--rdp-range_middle-color);
}

.rdp-range_end {
  background: var(--rdp-range_end-background);
  color: var(--rdp-range_end-color);
}

.rdp-range_end .rdp-day_button {
  color: var(--rdp-range_start-color);
  background-color: var(--rdp-range_end-date-background-color);
}

.rdp-range_start.rdp-range_end {
  background: revert;
}

.rdp-focusable {
  cursor: pointer;
}

@keyframes rdp-slide_in_left {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes rdp-slide_in_right {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes rdp-slide_out_left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes rdp-slide_out_right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.rdp-weeks_before_enter {
  animation: rdp-slide_in_left var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-weeks_before_exit {
  animation: rdp-slide_out_left var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-weeks_after_enter {
  animation: rdp-slide_in_right var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-weeks_after_exit {
  animation: rdp-slide_out_right var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-root[dir="rtl"] .rdp-weeks_after_enter {
  animation: rdp-slide_in_left var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-root[dir="rtl"] .rdp-weeks_before_exit {
  animation: rdp-slide_out_right var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-root[dir="rtl"] .rdp-weeks_before_enter {
  animation: rdp-slide_in_right var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-root[dir="rtl"] .rdp-weeks_after_exit {
  animation: rdp-slide_out_left var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

@keyframes rdp-fade_in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rdp-fade_out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.rdp-caption_after_enter {
  animation: rdp-fade_in var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-caption_after_exit {
  animation: rdp-fade_out var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-caption_before_enter {
  animation: rdp-fade_in var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-caption_before_exit {
  animation: rdp-fade_out var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}


/* Past / disabled days: ash, not selectable — same as Next.js globals.css */
.stay-single-date-picker .rdp-day.rdp-disabled .rdp-day_button {
  color: #94a3b8;
  opacity: 0.55;
  cursor: not-allowed;
}

.stay-single-date-picker .rdp-caption_label {
  font-size: 0.8rem;
  font-weight: 900;
}

@media (min-width: 640px) {
  .stay-single-date-picker .rdp-caption_label {
    font-size: 0.875rem;
  }
}

.stay-single-date-picker .rdp-weekday {
  font-size: 0.65rem;
  font-weight: 800;
}

.stay-single-date-picker .rdp-root {
  width: 100%;
  contain: layout style;
  --rdp-animation_duration: 0s;
  --rdp-nav-height: 1.85rem;
  --rdp-weekday-padding: 0.1rem 0 0.22rem;
  --rdp-months-gap: clamp(0.35rem, 1.2vw, 0.65rem);
  --rdp-day-btn-max: 1.9rem;
  --rdp-day-row: calc(var(--rdp-day-btn-max) + 5px);
  --rdp-day-width: var(--rdp-day-btn-max);
  --rdp-day-height: var(--rdp-day-row);
  --rdp-day_button-width: var(--rdp-day-btn-max);
  --rdp-day_button-height: var(--rdp-day-btn-max);
}

.stay-single-date-picker .rdp-day_button {
  width: var(--rdp-day-btn-max);
  height: var(--rdp-day-btn-max);
  min-width: var(--rdp-day-btn-max);
  min-height: var(--rdp-day-btn-max);
  max-width: var(--rdp-day-btn-max);
  max-height: var(--rdp-day-btn-max);
  margin-inline: auto;
  border-radius: 9999px;
  box-sizing: border-box;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.stay-single-date-picker .rdp-months,
.stay-single-date-picker .rdp-month {
  max-width: none;
  width: 100%;
}

.stay-single-date-picker .rdp-month_grid {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

.stay-single-date-picker .rdp-month_grid tbody tr {
  height: var(--rdp-day-row);
}

.stay-single-date-picker .rdp-day {
  height: var(--rdp-day-row);
  padding: 0 1px;
  line-height: 0;
  vertical-align: middle;
  text-align: center;
}

.stay-single-date-picker .rdp-selected .rdp-day_button {
  background-color: var(--rdp-accent-color);
  color: #fff;
  border-color: transparent;
}

@media (min-width: 640px) {
  .stay-single-date-picker .rdp-root {
    --rdp-day-btn-max: 2.05rem;
    --rdp-day-row: calc(var(--rdp-day-btn-max) + 5px);
    --rdp-nav-height: 2rem;
  }

  .stay-single-date-picker .rdp-day_button {
    font-size: 0.875rem;
  }
}

.sb-popover {
  position: absolute;
  z-index: 200;
  width: min(calc(100vw - 1.25rem), 304px);
  overflow: hidden;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgb(167 243 208 / 0.55);
  background: linear-gradient(135deg, rgb(236 253 245 / 0.95), rgb(255 255 255 / 0.9), rgb(240 253 244 / 0.8));
  box-shadow: 0 24px 64px -16px rgba(22,101,52,0.18), inset 0 1px 0 rgba(255,255,255,0.95);
}
.sb-popover[hidden] { display: none; }

.book-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.book-overlay.hidden { display: none; }
.book-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
}
.book-overlay-slot .book-overlay-backdrop {
  background: rgb(15 23 42 / 0.35);
  backdrop-filter: blur(4px);
}
.book-overlay-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1001;
  display: flex;
  max-height: 94dvh;
  width: calc(100% - 2rem);
  transform: translate(-50%, -50%);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  padding: 0;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.book-dialog-lg {
  max-width: 64rem;
  border-radius: 1rem;
}
.book-dialog-slot {
  max-width: 56rem;
  max-height: 90dvh;
  overflow-y: auto;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(15,23,42,0.18), 0 0 0 1px rgba(15,23,42,0.04);
}
.book-overlay-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.book-overlay-slot.hidden { display: none; }
.book-overlay-slot .book-overlay-panel {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
}
.book-dialog-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: inline-flex;
  cursor: pointer;
  border-radius: 0.125rem;
  opacity: 0.7;
  color: #0f172a;
  background: transparent;
  border: 0;
  padding: 0;
}
.book-dialog-close:hover { opacity: 1; }
.book-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  border: 1px solid #e2e8f0;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: #0f172a;
}
.book-badge-outline { background: transparent; }
.book-badge-secondary {
  border-color: transparent;
  background: #f1f5f9;
  color: #1e293b;
}
.book-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: #0f172a;
}
.book-input {
  display: flex;
  height: 2.25rem;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #e2e8f0;
  background: transparent;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
  color: #0f172a;
}
.book-input::placeholder { color: #64748b; }
.book-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3525cd;
}
.book-input:disabled,
.book-input:read-only {
  cursor: not-allowed;
  opacity: 0.5;
}
textarea.book-input {
  height: auto;
  min-height: 60px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
select.book-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-right: 2.25rem;
  cursor: pointer;
}
.book-check {
  appearance: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 0.125rem;
  border: 1px solid #3525cd;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
  display: inline-grid;
  place-content: center;
}
.book-check:checked {
  background: #3525cd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.875rem;
  color: #fff;
}
.book-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
  cursor: pointer;
  color: #0f172a;
}
.book-btn-outline:hover { background: #f1f5f9; }
.book-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 0.375rem;
  font-weight: 500;
  color: #0f172a;
}
.book-btn-ghost:hover { background: #f1f5f9; }
.book-submit {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 0;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: #3525cd;
  box-shadow: 0 1px 3px rgb(15 23 42 / 0.12);
  cursor: pointer;
}
.book-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.slot-input {
  width: 100%;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.625rem 0.875rem;
  font-size: 13px;
  color: #1e293b;
  outline: none;
  box-sizing: border-box;
}
.slot-input::placeholder { color: #94a3b8; }
.slot-input:focus {
  border-color: var(--modal-accent, var(--type-accent));
  background: #fff;
}
textarea.slot-input { min-height: 4.5rem; }

html.avail-hydrated .spacebook-sidebar-row {
  animation: none;
}
.avail-html svg {
  flex-shrink: 0;
}
.avail-html svg.h-3 { width: 0.75rem; height: 0.75rem; }
.avail-html svg.h-3\.5, .avail-html svg.w-3\.5 { width: 0.875rem; height: 0.875rem; }
.avail-html svg.h-4 { width: 1rem; height: 1rem; }
.avail-html svg.h-5 { width: 1.25rem; height: 1.25rem; }
.avail-html svg.h-7 { width: 1.75rem; height: 1.75rem; }
.avail-html .h-8 { height: 2rem; }
.avail-html .w-8 { width: 2rem; }
.avail-html .h-9 { height: 2.25rem; }
.avail-html .w-9 { width: 2.25rem; }
.avail-html .h-10 { height: 2.5rem; }
.avail-html .w-10 { width: 2.5rem; }
.avail-html .h-11 { height: 2.75rem; }
.avail-html .w-11 { width: 2.75rem; }
.avail-html .h-14 { height: 3.5rem; }
.avail-html .w-14 { width: 3.5rem; }
.spacebook-sidebar-row svg {
  width: 1.25rem;
  height: 1.25rem;
}
.spacebook-sidebar-row.avail-sub-hot {
  border-color: color-mix(in srgb, var(--type-accent) 42%, white);
  background: color-mix(in srgb, var(--type-accent-light) 32%, rgba(255, 255, 255, 0.5));
  box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--type-accent) 26%, rgba(15, 23, 42, 0.16));
}
#room-grid [data-room-card] {
  content-visibility: auto;
  contain-intrinsic-size: auto 148px;
}
#avail-live {
  transition: opacity 80ms linear;
}
html.avail-busy #avail-live {
  opacity: 0.92;
}
#avail-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}
#avail-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--type-accent, #1e40af);
  box-shadow: 0 0 10px color-mix(in srgb, var(--type-accent, #1e40af) 70%, transparent);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
#avail-progress.is-on {
  opacity: 1;
}
#avail-progress.is-on i { transform: scaleX(0.16); }
#avail-progress.is-mid i {
  transform: scaleX(0.78);
  transition-duration: 420ms;
}
#avail-progress.is-done i {
  transform: scaleX(1);
  transition-duration: 120ms;
}
