
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f8fafc;
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  background: #010c1f;
}

#top-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #4f46e5;
  box-shadow: 0 0 0 1px rgba(15,23,42,.8);
  transition: width 0.2s ease, opacity 0.2s ease;
  z-index: 9999;
  opacity: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,.5), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(236,72,153,.35), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Crect width='160' height='160' fill='none'/%3E%3Cpath d='M0 159.5h160M.5 0v160' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover, cover, 160px 160px;
  opacity: 0.9;
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  backdrop-filter: blur(60px);
  background: rgba(2,6,23,.55);
  z-index: -1;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2vw, 2rem);
}

.app-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  border-radius: 1.5rem;
  background: rgba(15,23,42,.55);
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: 0 35px 80px -30px rgba(3,7,18,.8);
}
.brand h1 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: .65rem;
  color: #fff;
}
.eyebrow {
  margin: 0 0 .35rem;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #94a3b8;
}
.badge {
  background: rgba(16,185,129,.18);
  color: #34d399;
  font-size: .7rem;
  font-weight: 500;
  padding: .2rem .55rem;
  border-radius: .5rem;
  border: 1px solid rgba(16,185,129,.5);
}
.brand .sub {
  margin-top: .35rem;
  font-size: .9rem;
  color: #cbd5e1;
  max-width: 36rem;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.language-switch {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .75rem;
  color: #94a3b8;
}
.language-switch select {
  min-width: 140px;
}

.workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-bottom: 3rem;
}

.hero {
  position: relative;
  min-height: 340px;
  border-radius: 2rem;
  overflow: visible;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 40px 80px -32px rgba(0,0,0,.85);
}
.hero__bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  clip-path: inset(0 round 2rem);
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 36s infinite;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: filter .3s ease, transform .3s ease;
}
.hero__bg--1 {
  background-image:
    linear-gradient(to top, rgba(15,23,42,.86), rgba(15,23,42,.2)),
    url("./images/pexels-donaldtong94-189296.jpg");
  animation-delay: 0s;
}
.hero__bg--2 {
  background-image:
    linear-gradient(to top, rgba(15,23,42,.86), rgba(15,23,42,.2)),
    url("./images/pexels-jimbear-1458457.jpg");
  animation-delay: 6s;
}
.hero__bg--3 {
  background-image:
    linear-gradient(to top, rgba(15,23,42,.86), rgba(15,23,42,.2)),
    url("./images/pexels-apasaric-1285625.jpg");
  animation-delay: 12s;
}
.hero__bg--4 {
  background-image:
    linear-gradient(to top, rgba(15,23,42,.86), rgba(15,23,42,.2)),
    url("./images/pexels-minan1398-774042.jpg");
  animation-delay: 18s;
}
.hero__bg--5 {
  background-image:
    linear-gradient(to top, rgba(15,23,42,.86), rgba(15,23,42,.2)),
    url("./images/pexels-recalmedia-60217.jpg");
  animation-delay: 24s;
}
.hero__bg--6 {
  background-image:
    linear-gradient(to top, rgba(15,23,42,.86), rgba(15,23,42,.2)),
    url("./images/pexels-thorsten-technoman-109353-338504.jpg");
  animation-delay: 30s;
}
.hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.hero__eyebrow {
  margin: 0 0 .5rem;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #e5e7eb;
}
.hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: #f9fafb;
}
.hero__subtitle {
  margin-top: .75rem;
  font-size: .9rem;
  color: #e5e7eb;
}
.hero__search-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero--active .hero__bg {
  filter: blur(6px) brightness(.74);
  transform: scale(1.06);
}

@keyframes heroSlide {
  0% { opacity: 0; }
  3% { opacity: 1; }
  17% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}

.search-shell {
  margin-top: 2rem;
  width: 100%;
  max-width: 960px;
}
.search-shell.full {
  background: rgba(13,17,28,.35);
  border-radius: 2rem;
  border: 1px solid rgba(148,163,184,.2);
  box-shadow: 0 35px 80px -30px rgba(3,7,18,.8);
  position: relative;
  z-index: 5;
}

.workspace__content {
  width: 100%;
  padding: clamp(0rem, 0vw, 2.5rem) clamp(0rem, 0vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 0;
  padding-left: 1.8rem;
  padding-right: 1.8rem;
}

    .panel {
      background-color: rgba(30,41,59,.6);
      border: 1px solid rgba(148,163,184,.2);
      border-radius: 1rem;
      padding: 1rem 1.25rem;
      box-shadow: 0 20px 60px -10px rgba(0,0,0,.8);
    }
    .panel h2 {
      font-size: .9rem;
      font-weight: 600;
      margin: 0 0 .75rem 0;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .panel h2 small {
      color: #64748b;
      font-weight: 400;
      font-size: .7rem;
    }

label {
  font-size: .75rem;
  font-weight: 500;
  color: #cbd5e1;
  display: block;
  margin-bottom: .4rem;
}
input, select, button {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(148,163,184,.25);
  background-color: rgba(15,23,42,.55);
  color: #f8fafc;
  padding: .6rem .75rem;
  font-size: .85rem;
  line-height: 1.2rem;
  outline: none;
}
input:focus, select:focus {
  border-color: rgba(59,130,246,.8);
  box-shadow: 0 0 0 3px rgba(59,130,246,.25);
}
input[type="checkbox"], input[type="radio"] {
  width: auto;
  accent-color: #3b82f6;
}
.field {
  display: flex;
  flex-direction: column;
  position: relative;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.filter-group {
  background: rgba(15,20,33,.6);
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 1rem;
  padding: .75rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.filter-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
  color: #94a3b8;
}
.filter-options {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.filter-options label,
.checkbox-inline {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: #e2e8f0;
  margin: 0;
}

.meal-chip {
  padding: .35rem .7rem;
  border-radius: .5rem;
  border: 1px solid rgba(30,64,175,.5);
  background: rgba(15,23,42,.85);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.meal-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.meal-chip__code {
  font-weight: 600;
  letter-spacing: .06em;
}
.meal-chip__underline {
  flex: 1;
  max-width: 2rem;
  height: .25rem;
  border-radius: 999px;
  background: rgba(30,64,175,.4);
  position: relative;
  overflow: hidden;
}
.meal-chip__underline::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(59,130,246,.6), rgba(56,189,248,.7));
  opacity: 0;
  transition: opacity .15s ease;
}
.meal-chip input[type="checkbox"]:checked ~ .meal-chip__code {
  color: #bfdbfe;
}

/* Active look when meal is selected (whole button lit) */
.meal-chip--active {
  border-width: 2px;
  border-color: rgba(96,165,250,1);
  box-shadow:
    rgba(37, 99, 235, 0.46) 0px 10px 26px 0px,
    rgba(37, 99, 235, 0.55) 0px 0px 0px 1px;
  background: radial-gradient(circle at 20% 0%, rgba(59,130,246,.35), transparent 55%),
              rgba(15,23,42,.95);
}
.meal-chip--active .meal-chip__code {
  color: #e0f2fe;
}
.meal-chip--active .meal-chip__underline::after {
  opacity: 1;
}
.meal-chip--active .info-icon {
  border-color: rgba(96,165,250,.8);
  color: #bfdbfe;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.8);
  font-size: .6rem;
  line-height: 1;
  cursor: help;
  color: #e2e8f0;
}
.date-range-wrapper {
  position: relative;
}
.date-range-wrapper input[type="text"] {
  position: relative;
  z-index: 1;
}

.date-calendar {
  width: 100%;
  background: rgba(15,23,42,.8);
  border-radius: .75rem;
  border: 1px solid rgba(148,163,184,.4);
  padding: .75rem;
  font-size: .8rem;
}
.date-calendar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  color: #e2e8f0;
}
.date-calendar__nav {
  display: flex;
  gap: .25rem;
}
.date-calendar__nav button {
  background: transparent;
  border: 1px solid rgba(148,163,184,.5);
  color: #e2e8f0;
  border-radius: 999px;
  width: 1.5rem;
  height: 1.5rem;
  font-size: .7rem;
  cursor: pointer;
}
.date-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .15rem;
}
.date-calendar__dow {
  text-align: center;
  font-size: .65rem;
  text-transform: uppercase;
  color: #64748b;
  padding-bottom: .15rem;
}
.date-calendar__day {
  border-radius: .45rem;
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-size: .75rem;
  padding: .25rem 0;
  cursor: pointer;
}
.date-calendar__day--outside {
  opacity: .25;
  cursor: default;
}
.date-calendar__day--start,
.date-calendar__day--end {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}
.date-calendar__day--inrange {
  background: rgba(37,99,235,.25);
}
.date-calendar__day--disabled {
  opacity: .25;
  cursor: default;
}

    button.primary {
      background: radial-gradient(circle at 20% 20%, rgba(59,130,246,.4) 0%, rgba(15,23,42,0) 70%);
      background-color: rgba(37,99,235,.2);
      border: 1px solid rgba(96,165,250,.6);
      color: #fff;
      font-weight: 600;
      cursor: pointer;
      transition: all .15s;
    }
    button.primary:hover {
      background-color: rgba(37,99,235,.35);
      box-shadow: 0 20px 40px -8px rgba(37,99,235,.6);
    }

    button.secondary {
      background-color: rgba(15,23,42,.6);
      border: 1px solid rgba(148,163,184,.4);
      color: #fff;
      cursor: pointer;
      transition: .15s;
      font-size: .75rem;
    }
    button.secondary:hover {
      background-color: rgba(30,41,59,.7);
    }
    .mini {
      font-size: .7rem;
      padding: .4rem .5rem;
      line-height: 1rem;
    }

    fieldset.radio-group {
      border: 1px solid rgba(148,163,184,.3);
      border-radius: .6rem;
      padding: .75rem .75rem 1rem;
      background-color: rgba(15,23,42,.4);
    }
    fieldset.radio-group legend {
      font-size: .7rem;
      color: #94a3b8;
      padding: 0 .4rem;
    }
    .radio-row {
      display: flex;
      align-items: center;
      gap: .75rem;
      flex-wrap: wrap;
      font-size: .75rem;
      color: #cbd5e1;
    }
    .radio-row label {
      display: flex;
      align-items: center;
      gap: .4rem;
      font-weight: 400;
      margin: 0;
      color: #cbd5e1;
    }
    .radio-row input[type="radio"] {
      width: auto;
      accent-color: #3b82f6;
    }

    .geo-block,
    .region-block {
      margin-top: .75rem;
    }

    /* Horizontal search bar */
.searchbar { padding-top: 1rem; padding-bottom: 1rem; }
.search-grid {
  display: grid;
  grid-template-columns: minmax(280px, 3fr) minmax(135px, 1fr) minmax(135px, 1fr) minmax(160px, 1.1fr);
  gap: .75rem;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}
.field--suggestions { position: relative; grid-column: span 1; z-index: 10; }
.search-grid .field.compact { grid-column: span 1; }
.field.action { grid-column: span 1; display: flex; align-items: center; justify-content: center; }
.search-shell .search-grid button.secondary { height: 48px; }
.search-shell #btnSearch { min-height: 48px; min-width: 110px; width: 100%; }
    .field.compact select, .field.compact input { padding: .5rem .6rem; }
.field.action button { min-height: 48px; width: 100%; }
    .extras { margin-top: .75rem; color: #94a3b8; }
    .extras summary { cursor: pointer; color: #cbd5e1; }
    .extras-grid { display: grid; gap: .75rem; margin-top: .5rem; }
    .geo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }

    /* Results grid: results list + details side by side */
.results-grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 1rem;
  min-height: 0;
}
.results-card,
.details-card { min-height: 0; }

.log-card { min-height: 0; }

    /* inline children ages control */
    .children-field { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; }
    .muted { color: #94a3b8; font-size: .7rem; }

.suggestions-dropdown {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  right: 0;
  background: rgba(11,15,28,.95);
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 1rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
  padding: .6rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  z-index: 400;
  max-height: 340px;
  overflow-y: auto;
}
.suggestions-dropdown.hidden {
  display: none;
}
.suggestions-section {
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(148,163,184,.2);
  border-radius: .75rem;
  padding: .5rem .6rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.suggestions-title {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94a3b8;
}
.suggestion-option {
  border: 1px solid rgba(148,163,184,.25);
  border-radius: .65rem;
  padding: .45rem .55rem;
  background: rgba(5,9,20,.7);
  color: #e2e8f0;
  text-align: left;
  cursor: pointer;
  font-size: .78rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  transition: border-color .15s, transform .15s, background .15s;
}
.suggestion-option:hover {
  border-color: rgba(59,130,246,.7);
  background: rgba(15,23,42,.85);
  transform: translateX(2px);
}
.suggestion-option__name { font-weight: 600; }
.suggestion-option__meta { font-size: .65rem; color: #a5b4fc; }

    /* Guest popover */
    .popover.hidden { display: none; }
    .popover { position: absolute; top: calc(100% + .4rem); left: 0; z-index: 40; }
    .guest-picker {
      width: min(380px, 92vw);
      background: rgba(30,41,59,.95);
      border: 1px solid rgba(148,163,184,.25);
      border-radius: .8rem;
      padding: .9rem;
      box-shadow: 0 25px 60px -15px rgba(0,0,0,.85);
    }
    .guest-rooms { display: grid; gap: .9rem; }
    .guest-room { border: 1px solid rgba(148,163,184,.2); border-radius: .6rem; padding: .6rem; background: rgba(15,23,42,.6); }
    .guest-room h4 { margin: 0 0 .5rem 0; font-size: .85rem; color: #fff; display:flex; justify-content: space-between; align-items:center; }
    .counter { display: inline-grid; grid-template-columns: auto 2.5rem auto; align-items: center; gap: .25rem; border: 1px solid rgba(148,163,184,.35); border-radius: .6rem; padding: .25rem; }
    .counter button { width: 28px; height: 28px; border-radius: .5rem; background: rgba(15,23,42,.6); color:#fff; border: 1px solid rgba(148,163,184,.3); }
    .counter .value { min-width: 1.5rem; text-align: center; font-weight: 600; }
    .guest-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; align-items: center; }
    .chips { display: flex; gap: .4rem; flex-wrap: wrap; }
    .chip { background: rgba(148,163,184,.15); border: 1px solid rgba(148,163,184,.35); color:#e2e8f0; padding: .25rem .4rem; border-radius: .6rem; font-size: .75rem; display: inline-flex; align-items: center; gap: .35rem; }
    .chip .x { cursor: pointer; border: 0; background: transparent; color:#94a3b8; }
    .chip__icon {
      width: 12px;
      height: 12px;
      fill: currentColor;
      display: block;
    }
    .chip--meal {
      border-color: rgba(249,115,22,.4);
      color: #fdba74;
      background: rgba(251,146,60,.15);
    }
    .chip--free {
      border-color: #22c55e;
      color: #bbf7d0;
      background: rgba(16,185,129,.18);
    }
    .chip--danger {
      border-color: rgba(248,113,113,.6);
      color: #fecaca;
      background: rgba(239,68,68,.18);
    }
    .agesel { width: 100%; }
    .guest-actions { display: flex; align-items: center; margin-top: .5rem; }
    .link { background: transparent; border: 0; color: #60a5fa; cursor: pointer; }

    /* modal */
    .modal.hidden { display: none; }
    .modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; }
    .modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(2px); }
    .modal__dialog {
      position: relative; width: min(520px, 92vw);
      background: rgba(30,41,59,.95);
      border: 1px solid rgba(148,163,184,.25);
      border-radius: .8rem; padding: 1rem;
      box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
    }
    .modal__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
    .modal__title { font-weight: 600; color: #fff; font-size: .9rem; }
    .modal__body { display: grid; gap: .75rem; }
    .modal__footer { margin-top: 1rem; display: flex; gap: .5rem; justify-content: flex-end; }
    .ages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
    .ages-grid .age-item { display: grid; gap: .25rem; }
    .ages-grid label { font-size: .7rem; color: #cbd5e1; }
    .counter { display: inline-grid; grid-template-columns: auto 2.5rem auto; align-items: center; gap: .25rem; border: 1px solid rgba(148,163,184,.35); border-radius: .6rem; padding: .25rem; }
    .counter button { width: 28px; height: 28px; border-radius: .5rem; background: rgba(15,23,42,.6); color:#fff; border: 1px solid rgba(148,163,184,.3); }
    .counter .value { min-width: 1.5rem; text-align: center; font-weight: 600; }

@media (max-width: 980px) {
  .app-header { flex-direction: column; }
  .header-actions { width: 100%; justify-content: flex-start; }
  .results-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--suggestions { grid-column: span 2; }
  .results-grid { grid-template-columns: 1fr; }
  .ages-grid { grid-template-columns: repeat(2, 1fr); }
}
.card {
  border-radius: 1rem;
  background: rgba(17,24,39,.55);
  border: 1px solid rgba(148,163,184,.25);
  padding: 1.1rem 1.3rem;
  min-height: 0;
  overflow: visible;
  box-shadow: 0 25px 70px -25px rgba(0,0,0,.85);
  backdrop-filter: blur(16px);
}
.card.booking-panel {
  margin-top: 2rem;
}

.filters-card {
  margin-top: 1rem;
}
.filters-card .filters {
  margin-top: .25rem;
}
    .card h3 {
      margin: 0 0 .75rem 0;
      font-size: .8rem;
      font-weight: 600;
      color: #fff;
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: .5rem;
    }

    /* Skeleton loaders for results */
    .skeleton {
      position: relative;
      overflow: hidden;
      background: rgba(148,163,184,.2);
    }
    .skeleton::after {
      content: "";
      position: absolute;
      inset: 0;
      transform: translateX(-100%);
      background: linear-gradient(90deg, transparent, rgba(148,163,184,.6), transparent);
      animation: skeleton-shimmer 1.4s infinite;
    }
    @keyframes skeleton-shimmer {
      100% {
        transform: translateX(100%);
      }
    }
    .skeleton-text {
      height: .6rem;
      border-radius: 999px;
      margin-bottom: .35rem;
    }
    .skeleton-text-lg {
      height: .8rem;
      width: 70%;
    }
    .skeleton-badge-row {
      display: flex;
      gap: .35rem;
      margin-top: .25rem;
    }
    .skeleton-badge {
      height: .9rem;
      width: 3.5rem;
      border-radius: 999px;
    }
    .skeleton-thumb {
      width: 100%;
      height: 100%;
      border-radius: .6rem;
    }
    .hotel-skeleton .hotel-thumb {
      min-height: 140px;
    }
    .hotel-skeleton .hotel-summary {
      gap: .4rem;
    }

    .hotel-list { display: grid; gap: .75rem; }
    .hotel-item {
      border: 1px solid rgba(148,163,184,.25);
      background-color: rgba(15,23,42,.4);
      border-radius: .75rem;
      padding: .75rem .9rem;
      display: flex;
      flex-direction: column;
      gap: .6rem;
    }
    .pagination {
      margin-top: .75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .75rem;
    }
    .pagination button {
      min-width: 90px;
    }
    .pagination span {
      font-size: .75rem;
      color: #cbd5e1;
    }
    .hotel-item__top {
      display: grid;
      grid-template-columns: minmax(140px, .9fr) 1.1fr;
      gap: .75rem;
      align-items: stretch;
    }
    .hotel-summary {
      display: flex;
      flex-direction: column;
      gap: .5rem;
    }
    .hotel-actions {
      margin-top: auto;
      display: flex;
      justify-content: flex-end;
    }
    .hotel-thumb {
      width: 100%;
      aspect-ratio: 4 / 3;
      border-radius: .6rem;
      overflow: hidden;
      border: 1px solid rgba(148,163,184,.2);
      background: linear-gradient(135deg, rgba(59,130,246,.25), rgba(15,23,42,.6));
      position: relative;
      min-height: 140px;
    }
    .hotel-thumb__viewport {
      width: 100%;
      height: 100%;
    }
    .hotel-thumb__viewport img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .hotel-thumb__placeholder {
      font-size: .7rem;
      color: #cbd5e1;
      text-align: center;
      padding: .5rem;
      opacity: .8;
      display: grid;
      place-items: center;
      height: 100%;
    }
    .hotel-thumb__nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 32px;
      height: 32px;
      border-radius: 999px;
      border: 1px solid rgba(248,250,252,.7);
      background: rgba(15,23,42,.55);
      color: #f8fafc;
      cursor: pointer;
      display: grid;
      place-items: center;
      font-size: 1rem;
      font-weight: 600;
      transition: background .15s, opacity .15s;
    }
    .hotel-thumb__nav:hover {
      background: rgba(15,23,42,.75);
    }
    .hotel-thumb__nav--prev { left: .4rem; }
    .hotel-thumb__nav--next { right: .4rem; }
    .hotel-thumb__counter {
      position: absolute;
      bottom: .35rem;
      left: 50%;
      transform: translateX(-50%);
      padding: .15rem .5rem;
      border-radius: 999px;
      font-size: .7rem;
      font-weight: 600;
      color: #e2e8f0;
      background: rgba(15,23,42,.7);
      border: 1px solid rgba(248,250,252,.4);
    }
    .hotel-thumb__nav.is-hidden,
    .hotel-thumb__counter.is-hidden {
      opacity: 0;
      pointer-events: none;
    }
    .hotel-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: .5rem;
    }
    .hotel-name {
      font-size: .8rem;
      font-weight: 600;
      color: #fff;
    }
    .hotel-id {
      font-size: .7rem;
      font-weight: 400;
      color: #64748b;
    }
    .hotel-meta {
      font-size: .7rem;
      color: #94a3b8;
      display: flex;
      flex-wrap: wrap;
      gap: .35rem .75rem;
      align-items: center;
    }
    .hotel-distance {
      font-size: .7rem;
      color: #cbd5e1;
    }
    .star-rating {
      display: inline-flex;
      gap: .15rem;
      color: #facc15;
      font-size: .85rem;
      align-items: center;
    }
    .star-rating span {
      line-height: 1;
    }
    .hotel-gallery {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(140px, 1fr);
      gap: .5rem;
      overflow-x: auto;
      padding-bottom: .25rem;
      margin-bottom: .75rem;
    }
    .hotel-gallery__item {
      border: 1px solid rgba(148,163,184,.25);
      border-radius: .6rem;
      overflow: hidden;
      min-height: 140px;
      background: linear-gradient(135deg, rgba(59,130,246,.25), rgba(15,23,42,.6));
    }
    .hotel-gallery__item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .hotel-detail {
      display: grid;
      gap: 1rem;
    }
    .hotel-detail__summary {
      border: 1px solid rgba(148,163,184,.25);
      border-radius: .8rem;
      padding: .9rem 1rem;
      background: rgba(15,23,42,.55);
      display: grid;
      gap: .6rem;
    }
    .hotel-detail__header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: .5rem;
      align-items: baseline;
    }
    .hotel-detail__title {
      font-size: .95rem;
      font-weight: 600;
      color: #fff;
    }
    .hotel-detail__meta {
      font-size: .75rem;
      color: #94a3b8;
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .hotel-detail__chips {
      display: flex;
      flex-wrap: wrap;
      gap: .4rem;
    }
    .hotel-detail__chips .chip {
      background: rgba(125,211,252,.12);
      border-color: rgba(56,189,248,.4);
      color: #bae6fd;
    }
    .hotel-detail__info-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: .75rem;
    }
    .hotel-detail__info-box {
      border: 1px solid rgba(148,163,184,.2);
      border-radius: .75rem;
      padding: .75rem .9rem;
      background: rgba(15,23,42,.45);
    }
    .hotel-detail__info-box h4 {
      margin: 0 0 .5rem 0;
      font-size: .8rem;
      font-weight: 600;
      color: #e2e8f0;
    }
    .hotel-detail__info-box ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: .35rem;
      font-size: .75rem;
      color: #cbd5e1;
    }
    .hotel-detail__rooms {
      display: grid;
      gap: .75rem;
    }
    .hotel-detail__rooms h4 {
      margin: 0;
      font-size: .85rem;
      font-weight: 600;
      color: #e2e8f0;
    }
    .room-card {
      border: 1px solid rgba(148,163,184,.25);
      border-radius: .8rem;
      padding: .85rem;
      background: rgba(15,23,42,.55);
      display: grid;
      gap: .55rem;
    }
    .room-card__header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: .35rem;
      align-items: baseline;
    }
    .room-card__title {
      font-size: .85rem;
      font-weight: 600;
      color: #fff;
    }
    .room-card__price {
      font-size: .95rem;
      font-weight: 700;
      color: #f8fafc;
      text-align: right;
    }
    .room-card__details {
      font-size: .75rem;
      color: #cbd5e1;
      display: grid;
      gap: .35rem;
    }
    .room-card__chips {
      display: flex;
      flex-wrap: wrap;
      gap: .4rem;
    }
    .room-card__chips .chip {
      background: rgba(148,163,184,.15);
      border-color: rgba(148,163,184,.35);
      color: #e2e8f0;
    }
    .room-card__footer {
      font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
      font-size: .7rem;
      color: #94a3b8;
      word-break: break-all;
    }

    .rates-list { display: grid; gap: .5rem; }
    .rate-item {
      border: 1px solid rgba(148,163,184,.25);
      background-color: rgba(15,23,42,.5);
      border-radius: .6rem;
      padding: .6rem .75rem;
      display: grid;
      gap: .4rem;
    }
    .rate-head {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: .5rem;
      align-items: baseline;
    }
    .rate-left {
      font-size: .75rem;
      font-weight: 500;
      color: #fff;
    }
    .rate-right {
      font-size: .8rem;
      font-weight: 600;
      color: #fff;
    }
    .hash {
      font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
      font-size: .7rem;
      color: #94a3b8;
      word-break: break-all;
    }

    pre#logOutput {
      background-color: rgba(0,0,0,.4);
      border-radius: .5rem;
      padding: .75rem;
      font-size: .7rem;
      line-height: 1.2rem;
      color: #94a3b8;
      max-height: 200px;
      overflow: auto;
      border: 1px solid rgba(148,163,184,.25);
      white-space: pre-wrap;
      word-break: break-word;
    }

    @media (max-width: 800px) {
      main {
        grid-template-columns: 1fr;
      }
      .hotel-item__top {
        grid-template-columns: 1fr;
      }
      .hotel-gallery {
        grid-auto-columns: 60%;
      }
      .hotel-detail__info-grid {
        grid-template-columns: 1fr;
      }
      .hotel-thumb__nav {
        width: 28px;
        height: 28px;
      }
    }

.booking-token {
  display: inline-block;
  background: rgba(15,23,42,.8);
  border-radius: .5rem;
  border: 1px solid rgba(148,163,184,.3);
  padding: .35rem .6rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .8rem;
  color: #cbd5e1;
}

.workspace--booking {
  gap: 1.5rem;
}

.booking-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.booking-status {
  min-height: 1.2rem;
}
.booking-status.error { color: #fda4af; }

.booking-summary.hidden { display: none; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem;
  margin-top: .75rem;
}
.summary-card {
  border: 1px solid rgba(148,163,184,.25);
  border-radius: .75rem;
  padding: .75rem;
  background: rgba(15,23,42,.45);
}

.booking-form .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
}
.booking-form label {
  font-size: .75rem;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.booking-raw pre {
  max-height: 320px;
  overflow: auto;
  background: rgba(2,6,23,.6);
  padding: .75rem;
  border-radius: .75rem;
  border: 1px solid rgba(148,163,184,.25);
}

.glow {
  box-shadow: 0 0 0 3px rgba(16,185,129,.5), 0 0 20px rgba(16,185,129,.4);
  border-color: rgba(16,185,129,.8) !important;
  transition: box-shadow .2s;
}
