/* HMS-356 — bookings table (Figma 435:449) + detail panel (435:4558). */

.hotel-bookings__header {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--wa-space-m, 1rem); margin-bottom: var(--wa-space-m, 1rem);
}

.hotel-bookings__title {
  margin: 0; font-size: var(--wa-font-size-2xl, 1.5rem);
  font-weight: var(--wa-font-weight-bold, 700);
  color: var(--wa-color-text-normal);
}

.hotel-bookings__filters {
  display: flex; flex-wrap: wrap; gap: var(--wa-space-s, 0.75rem);
  align-items: flex-end; margin-bottom: var(--wa-space-m, 1rem);
}
.hotel-bookings__search { margin-inline-start: auto; }
/* WA native.css forces label/input width:100% — same counter-pattern as
   .hotel-rooming__filter .hotel-rooming__filter-field in hotel_portal.css. */
.hotel-bookings__filters wa-select,
.hotel-bookings__filters wa-input {
  width: auto; min-width: 10rem; margin-block-start: 0;
}
.hotel-bookings__filters wa-button { margin-block-start: 0; }

/* HMS-1286 — Figma 435:449: the table is a white card on the lowered page
   surface; header and body rows share --wa-color-surface-default (#fff). */
.hotel-bookings .hotel-table-wrap {
  background: var(--wa-color-surface-default);
  border: 1px solid var(--wa-color-neutral-border-quiet);
  border-radius: var(--wa-border-radius-m);
}
.hotel-bookings__table { width: 100%; border-collapse: collapse; }
.hotel-bookings__table th, .hotel-bookings__table td {
  padding: var(--wa-space-xs, 0.5rem) var(--wa-space-s, 0.75rem);
  text-align: left; border-bottom: 1px solid var(--wa-color-neutral-border-quiet);
  font-size: var(--wa-font-size-m, 1rem);
  vertical-align: middle;
  white-space: nowrap;
}
.hotel-bookings__table th {
  color: var(--wa-color-text-quiet);
  font-weight: var(--wa-font-weight-semibold, 600);
}
.hotel-bookings__table thead th {
  background: var(--wa-color-surface-default);
}
/* Actions stay pinned while the row scrolls: Edit is the only drill-in. */
.hotel-bookings__table th:last-child,
.hotel-bookings__table td:last-child {
  position: sticky;
  right: 0;
  background: var(--wa-color-surface-default);
  box-shadow: -8px 0 8px -8px var(--wa-color-neutral-border-quiet);
}
.hotel-bookings__sort {
  color: inherit; text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--wa-space-2xs, 4px);
}
.hotel-bookings__chev { opacity: 0.6; font-size: 0.75em; }
.hotel-bookings__ref { font-variant-numeric: tabular-nums; }
/* HMS-1637 — a grouped room's ref cell carries two lines (Room Ref +
   Master Ref); let it wrap like admin's booking-mgmt__ref cell so the pair
   can't widen the table past its wrap. Needs td in the selector to
   out-specify `.hotel-bookings__table td`'s nowrap. */
.hotel-bookings__table td.hotel-bookings__refs {
  white-space: normal;
  overflow-wrap: break-word;
}
.hotel-bookings__group-ref {
  display: block;
  color: var(--wa-color-text-quiet);
}
.hotel-bookings__edit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  min-width: 5rem; min-height: 2rem; box-sizing: border-box;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--wa-color-neutral-border-normal, var(--wa-color-neutral-border-quiet));
  border-radius: var(--wa-border-radius-m);
  background: var(--wa-color-surface-default);
  color: var(--wa-color-text-normal);
  text-decoration: none; font-size: 0.8125rem;
}
.hotel-bookings__empty { padding: var(--wa-space-l, 1.5rem); text-align: center; color: var(--wa-color-text-quiet); }

/* HMS-674 — QA retest: Booking Details opens in a modal over the table, not
   a separate page. The index hosts turbo-frame#booking-detail inside this
   wa-dialog; the drawer chrome below (scrim, right anchor, min-height) and
   the panel's own card frame belong only to the standalone page. Inside the
   dialog the header and footer are flex siblings of .hotel-booking__body, so
   only the body scrolls and both actions stay visible. */
.hotel-bookings__detail-dialog {
  --width: min(36rem, 94vw);
}
.hotel-bookings__detail-dialog::part(body) {
  display: flex;
  overflow: hidden;
  padding: 0;
}
.hotel-bookings__detail-dialog turbo-frame#booking-detail {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
.hotel-bookings__detail-dialog .hotel-booking {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: none;
  border-radius: 0;
  padding: 0;
}
.hotel-bookings__detail-dialog .hotel-booking__panel {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  background: none;
}
.hotel-bookings__detail-dialog .hotel-booking__header {
  flex: 0 0 auto;
  padding: var(--wa-space-l, 1.5rem) var(--wa-space-l, 1.5rem) var(--wa-space-s, 0.75rem);
  background: var(--wa-color-surface-raised, var(--wa-color-surface-default));
}
.hotel-bookings__detail-dialog .hotel-booking__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 var(--wa-space-l, 1.5rem);
}
.hotel-bookings__detail-dialog .hotel-booking__footer-actions {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  padding: var(--wa-space-m, 1rem) var(--wa-space-l, 1.5rem);
  border-radius: 0;
}

/* Detail panel — right-anchored card on desktop, full-width on mobile. */
/* The detail panel is a right-anchored drawer (Figma 435:4558); the soft
   scrim behind it is what reads "overlay" instead of "empty half-page".
   Deliberately lighter than --ek-color-scrim (0.6 black), which is tuned
   for modal dialogs. */
.hotel-booking {
  display: flex;
  justify-content: flex-end;
  min-height: 70vh;
  background: rgb(15 23 42 / 0.28);
  border-radius: var(--wa-border-radius-m);
  padding: var(--wa-space-m, 16px);
}
.hotel-booking__panel {
  width: min(34rem, 100%);
  background: var(--wa-color-surface-raised, var(--wa-color-surface-default));
  border: 1px solid var(--wa-color-neutral-border-quiet);
  border-radius: var(--wa-border-radius-m);
  padding: var(--wa-space-l, 1.5rem);
  display: flex; flex-direction: column; gap: var(--wa-space-m, 1rem);
}
.hotel-booking__header {
  display: flex;
  flex-direction: column;
  gap: var(--wa-space-xs, 0.5rem);
}
.hotel-booking__panel-head {
  display: flex; align-items: center; justify-content: space-between;
}
.hotel-booking__body {
  display: flex;
  flex-direction: column;
  gap: var(--wa-space-m, 1rem);
}
.hotel-booking__title { margin: 0; font-size: var(--wa-font-size-xl, 1.25rem); }
.hotel-booking__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; flex-shrink: 0;
  border: 1px solid var(--wa-color-neutral-border-normal, var(--wa-color-neutral-border-quiet));
  border-radius: var(--wa-border-radius-m);
  text-decoration: none; color: var(--wa-color-text-normal); font-size: 1.125rem; line-height: 1;
}
.hotel-booking__close:hover { background: var(--wa-color-neutral-fill-quiet); }
.hotel-booking__subtitle { margin: 0; font-size: var(--wa-font-size-s,0.9375rem); color: var(--wa-color-text-quiet); }
/* HMS-1782 — the merged-booking banner at the top of the panel: same
   quiet info strip as the PMS note, with the merge glyph leading. */
.hotel-booking__merged {
  margin: 0; padding: var(--wa-space-s, 0.75rem) var(--wa-space-m, 1rem);
  border-radius: var(--wa-border-radius-m);
  background: var(--wa-color-neutral-fill-quiet, var(--wa-color-surface-default));
  border: 1px solid var(--wa-color-neutral-border-normal, var(--wa-color-neutral-border-quiet));
  border-left: 4px solid var(--wa-color-brand, var(--wa-color-brand-40));
  font-size: var(--wa-font-size-s, 0.9375rem);
  display: flex; gap: var(--wa-space-xs, 0.5rem); align-items: baseline;
}
.hotel-booking__merged > i { color: var(--wa-color-brand-on-quiet, var(--wa-color-text-quiet)); }
.hotel-booking__merged a { color: inherit; font-weight: var(--wa-font-weight-semibold, 600); }
.hotel-booking .status-chip--merged {
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
}
@media (max-width: 40rem) {
  .hotel-booking .hotel-booking__facts > div:has(.status-chip--merged) {
    flex-wrap: wrap;
    row-gap: var(--wa-space-2xs, 0.25rem);
  }
  .hotel-booking .hotel-booking__facts > div:has(.status-chip--merged) dd {
    flex: 0 0 100%;
  }
}
.hotel-booking__card {
  background: var(--wa-color-surface-default);
  border: 1px solid var(--wa-color-neutral-border-quiet);
  border-radius: var(--wa-border-radius-m);
  padding: var(--wa-space-m, 1rem);
}
.hotel-booking__card-head { display: flex; justify-content: space-between; align-items: baseline; }
.hotel-booking__card-hint { font-size: var(--wa-font-size-xs, 0.8rem); color: var(--wa-color-text-quiet); }
/* HMS-1756 QA retest — the editable block wears the accent: a saturated
   brand border (the old border-normal stop read thin and dark), and the
   heading + "Editable by hotel" hint in the brand colour itself, not the
   near-black on-quiet ramp stop. */
.hotel-booking__card--editable { border: 2px solid var(--wa-color-brand, var(--wa-color-brand-50)); }
.hotel-booking__card--editable .hotel-booking__section,
.hotel-booking__card--editable .hotel-booking__card-hint { color: var(--wa-color-brand, var(--wa-color-brand-50)); }
.hotel-booking__card--editable .hotel-booking__card-hint { font-weight: var(--wa-font-weight-semibold, 600); }
/* The design's text styles: semibold section headings, quiet regular
   labels, semibold values — all on the 14px body step except the heading. */
.hotel-booking__section {
  margin: 0 0 var(--wa-space-s, 0.75rem);
  font-size: var(--wa-font-size-m, 1rem); font-weight: var(--wa-font-weight-heading, 600);
  color: var(--wa-color-text-normal);
}
.hotel-booking__facts { margin: 0; display: flex; flex-direction: column; }
.hotel-booking__facts > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--wa-space-m, 1rem);
  padding: var(--wa-space-xs, 0.5rem) 0;
  border-bottom: 1px solid var(--wa-color-surface-border);
}
.hotel-booking__facts > div:first-child { padding-top: 0; }
.hotel-booking__facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hotel-booking__facts dt {
  color: var(--wa-color-text-quiet);
  font-size: var(--wa-font-size-s, 0.9375rem);
  min-width: 0;
  overflow-wrap: break-word;
}
/* min-width: 0 on both cells lets the flex row shrink; break-word (not
   anywhere) keeps each cell's min-content at its longest word, so a long
   add-on name wraps at word boundaries while .hotel-booking__money cells
   stay on one line (HMS-1756 QA retest — `anywhere` collapsed the amount
   column to one character wide and the price wrapped per-character). */
.hotel-booking__facts dd {
  margin: 0;
  text-align: right;
  font-size: var(--wa-font-size-s, 0.9375rem);
  font-weight: var(--wa-font-weight-bold, 700);
  min-width: 0;
  overflow-wrap: break-word;
}
.hotel-booking__facts dd.hotel-booking__money { white-space: nowrap; flex-shrink: 0; }
/* The PMS banner reports the booking's sync state: green synced, neutral
   pending/unsynced, red failed (HMS-1756 QA retest). */
.hotel-booking__pms {
  margin: 0; padding: var(--wa-space-s, 0.75rem) var(--wa-space-m, 1rem);
  border-radius: var(--wa-border-radius-m);
  border: 1px solid var(--wa-color-neutral-border-normal);
  background: var(--wa-color-neutral-fill-quiet);
  font-size: var(--wa-font-size-s, 0.9375rem);
  display: flex; gap: var(--wa-space-xs, 0.5rem); align-items: baseline;
}
.hotel-booking__pms--synced {
  background: var(--wa-color-success-fill-quiet);
  border-color: var(--wa-color-success-border-quiet);
  color: var(--wa-color-success-on-quiet);
}
.hotel-booking__pms--failed {
  background: var(--wa-color-danger-fill-quiet);
  border-color: var(--wa-color-danger-border-quiet);
  color: var(--wa-color-danger-on-quiet);
}
.hotel-booking__stay-mark { margin: 0; font-size: var(--wa-font-size-s, 0.9375rem); color: var(--wa-color-text-quiet); }
.hotel-booking__pms-text { display: flex; flex-direction: column; gap: var(--wa-space-3xs, 2px); min-width: 0; }
.hotel-booking__pms-line { overflow-wrap: anywhere; }
.hotel-booking__form { display: flex; flex-direction: column; gap: var(--wa-space-s, 0.75rem); }
.hotel-booking__requests { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--wa-space-2xs, 4px); }
.hotel-booking__requests-legend { font-size: var(--wa-font-size-s, 0.9375rem); color: var(--wa-color-text-quiet); padding: 0; margin-bottom: var(--wa-space-2xs, 4px); }
.hotel-booking__requests-note { margin: 0 0 var(--wa-space-2xs, 4px); font-style: italic; color: var(--wa-color-text-quiet); font-size: var(--wa-font-size-s, 0.9375rem); }
/* HMS-1640 — the guest's request kinds each print under their own quiet
   label inside the Requests card; the checklist fieldset keeps its own
   legend below them. */
.hotel-booking__request-group { margin-top: var(--wa-space-s, 0.75rem); }
.hotel-booking__request-group:first-of-type { margin-top: 0; }
.hotel-booking__subsection {
  margin: 0 0 var(--wa-space-2xs, 4px);
  font-size: var(--wa-font-size-xs, 0.8rem); font-weight: var(--wa-font-weight-semibold, 600);
  color: var(--wa-color-text-quiet);
}
.hotel-booking__roommate-block {
  margin-top: var(--wa-space-m, 1rem);
  padding-top: var(--wa-space-s, 0.75rem);
  border-top: 1px solid var(--wa-color-surface-border);
}
.hotel-booking__roommate-block .hotel-booking__subsection,
.hotel-booking__guest-heading {
  margin-bottom: var(--wa-space-xs, 0.5rem);
  font-size: var(--wa-font-size-s, 0.9375rem);
  font-weight: var(--wa-font-weight-heading, 600);
  color: var(--wa-color-text-normal);
}
.hotel-booking__guest-group + .hotel-booking__guest-group {
  margin-top: var(--wa-space-m, 1rem);
  padding-top: var(--wa-space-s, 0.75rem);
  border-top: 1px solid var(--wa-color-surface-border);
}
.hotel-booking__request-items { margin: 0; font-size: var(--wa-font-size-s, 0.9375rem); }
/* HMS-1673 — View mode's one-line reason under the read-only assignment
   facts ("This booking is Cancelled. Assignment can't be changed."). */
.hotel-booking__readonly-note {
  margin: var(--wa-space-xs, 0.5rem) 0 0;
  font-size: var(--wa-font-size-xs, 0.8rem);
  color: var(--wa-color-text-quiet);
}
.hotel-booking__fields-2col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wa-space-s, 0.75rem); }
.hotel-booking__fields-2col wa-input { width: 100%; min-width: 0; }
.hotel-booking__fields-2col > * { min-width: 0; }
.hotel-booking__checkin-status { margin-top: var(--wa-space-s, 0.75rem); }
/* HMS-1702 — sits under the Check-in Status select while Checked in is
   withheld: the quiet hint sentence, the Request date change trigger on
   its own line below it (QA retest — a button mid-sentence split the
   hint), and the filed requests' organizer-side status lines. */
.hotel-booking__checkin-note {
  margin: calc(-1 * var(--wa-space-3xs, 2px)) 0 0;
  font-size: var(--wa-font-size-s, 0.9375rem);
  color: var(--wa-color-text-quiet);
}
.hotel-booking__checkin-actions { margin-top: var(--wa-space-2xs, 4px); }
/* HMS-1702 — a filed date change request: a highlighted block with its badge. */
.hotel-booking__date-change {
  margin: var(--wa-space-xs, 8px) 0;
  padding: var(--wa-space-s, 12px);
  border: 1px solid var(--wa-color-brand-border-quiet, #c7d7fe);
  border-left-width: 4px;
  border-radius: var(--wa-border-radius-m, 6px);
  background: var(--wa-color-brand-fill-quiet, #eef4ff);
  font-size: var(--wa-font-size-s, 0.9375rem);
}
.hotel-booking__date-change--approved {
  border-color: var(--wa-color-success-border-quiet, #a6e3b8);
  background: var(--wa-color-success-fill-quiet, #ecfbf0);
}
.hotel-booking__date-change--denied {
  border-color: var(--wa-color-danger-border-quiet, #f5b5b5);
  background: var(--wa-color-danger-fill-quiet, #fdf0f0);
}
.hotel-booking__date-change-head {
  display: flex;
  align-items: center;
  gap: var(--wa-space-xs, 8px);
  font-weight: 600;
}
.hotel-booking__date-change-badge { margin-left: auto; }
.hotel-booking__date-change-body,
.hotel-booking__date-change-reason {
  margin: var(--wa-space-2xs, 4px) 0 0;
  overflow-wrap: anywhere;
}
.hotel-booking__date-change-error { margin: var(--wa-space-2xs, 4px) 0 0; color: var(--wa-color-danger-on-quiet, #b42318); }
.hotel-booking__date-change-warning { margin: var(--wa-space-2xs, 4px) 0 0; color: var(--wa-color-warning-on-quiet, #93370d); }
/* HMS-1756 — the footer stays in view while the panel scrolls. */
.hotel-booking__footer-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--wa-space-s, 0.75rem);
  position: sticky; bottom: 0; z-index: 1;
  margin: 0 calc(-1 * var(--wa-space-l, 1.5rem)) calc(-1 * var(--wa-space-l, 1.5rem));
  padding: var(--wa-space-m, 1rem) var(--wa-space-l, 1.5rem);
  background: var(--wa-color-surface-raised, var(--wa-color-surface-default));
  border-top: 1px solid var(--wa-color-surface-border);
  border-radius: 0 0 var(--wa-border-radius-m) var(--wa-border-radius-m);
}
.hotel-booking__flag-open { margin-inline-start: auto; }
.hotel-booking__save {
  appearance: none; border: 0; cursor: pointer;
  background: var(--wa-color-brand-fill-loud, var(--wa-color-brand));
  color: var(--wa-color-brand-on-loud);
  padding: var(--wa-space-xs, 0.5rem) var(--wa-space-m, 1rem);
  border-radius: var(--wa-border-radius-m); font: inherit;
}
/* HMS-1288 — wa-native styles open dialogs `align-items: start`, which
   shrink-wraps the head and form; stretch restores full-width children. */
.hotel-booking__flag-dialog { align-items: stretch; width: min(22rem, 92vw); border: 1px solid var(--wa-color-neutral-border-quiet); border-radius: var(--wa-border-radius-m); padding: var(--wa-space-m, 1rem); }
.hotel-booking__flag-form { display: flex; flex-direction: column; gap: var(--wa-space-s, 0.75rem); }
.hotel-booking__flag-error { margin: var(--wa-space-2xs) 0 0; color: var(--wa-color-danger-on-quiet); font-size: var(--wa-font-size-s); }
.hotel-booking__flag-form wa-select,
.hotel-booking__flag-form wa-textarea,
.hotel-booking__flag-form wa-date-input { width: 100%; }
.hotel-booking__flag-hint {
  margin: calc(-1 * var(--wa-space-3xs, 2px)) 0 0;
  font-size: var(--wa-font-size-s, 0.9375rem);
  color: var(--wa-color-text-quiet);
}
.hotel-booking__flag-foot {
  display: flex; justify-content: flex-end;
  border-top: 1px solid var(--wa-color-neutral-border-quiet);
  padding-top: var(--wa-space-s, 0.75rem);
}
.hotel-booking__flag-dialog::backdrop { background: rgb(15 23 42 / 0.6); }
.hotel-booking__flag-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--wa-space-s, 0.75rem); }
.hotel-booking__flag-title { margin: 0; font-size: var(--wa-font-size-l, 1.125rem); }
.hotel-booking__flag-close { background: none; border: 0; cursor: pointer; color: var(--wa-color-text-quiet); font-size: 1rem; }

@media (max-width: 40rem) {
  .hotel-booking__fields-2col { grid-template-columns: 1fr; }
  .hotel-booking__footer-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hotel-booking__footer-actions .hotel-booking__flag-open { grid-column: 1 / -1; margin-inline-start: 0; }
  .hotel-bookings__filters { flex-direction: column; align-items: stretch; }
  .hotel-bookings__filters wa-select,
  .hotel-bookings__filters wa-input { width: 100%; }
  .hotel-bookings__search { margin-inline-start: 0; }
}

/* HMS-1753 — the guest's special requests as one checklist. The box leads
   the row (HMS-1756 QA retest): a checked box means arranged, so the row
   needs no "Arranged" caption. */
.hotel-booking__request-list { list-style: none; margin: 0; padding: 0; padding-inline-start: 0; display: flex; flex-direction: column; }
.hotel-booking__request-row {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--wa-space-s, 0.75rem);
  min-height: 44px;
  padding: var(--wa-space-xs, 0.5rem) 0;
  border-bottom: 1px solid var(--wa-color-surface-border);
}
.hotel-booking__request-row:last-child { border-bottom: 0; }
.hotel-booking__request-row wa-checkbox { flex-shrink: 0; font-size: var(--wa-font-size-m, 1rem); min-height: 44px; display: flex; }
.hotel-booking__request-row wa-checkbox::part(base) { min-height: 44px; flex: 1; display: flex; align-items: center; }
.hotel-booking__request-text { display: flex; flex-direction: column; gap: var(--wa-space-3xs, 2px); flex: 1; min-width: 0; }
.hotel-booking__request-name { font-weight: var(--wa-font-weight-semibold, 600); }
.hotel-booking__request-detail {
  font-size: var(--wa-font-size-s, 0.9375rem);
  color: var(--wa-color-text-quiet);
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.hotel-booking__request-group.hotel-booking__request-legacy {
  margin-top: var(--wa-space-m, 1rem);
  padding-top: var(--wa-space-s, 0.75rem);
  border-top: 1px solid var(--wa-color-surface-border);
}

/* HMS-1757 — on phones each booking stacks as a card instead of a 1,100px
   table in a scroller: Status sits right under the guest name, every other
   value keeps its column label, the sortable headers stay as a row of sort links, and the explicit ARIA roles in the markup
   keep table navigation for screen readers. */
@media (max-width: 40rem) {
  .hotel-bookings__table, .hotel-bookings__table thead, .hotel-bookings__table tbody { display: block; }
  .hotel-bookings .hotel-bookings__table { min-width: 0; }
  .hotel-bookings__table thead tr {
    display: flex; flex-wrap: wrap; gap: var(--wa-space-2xs, 0.25rem) var(--wa-space-m, 1rem);
    padding: var(--wa-space-s, 0.75rem);
    border-bottom: 1px solid var(--wa-color-neutral-border-quiet);
  }
  .hotel-bookings__table thead th {
    position: static; padding: 0; border: 0; background: none; box-shadow: none;
  }
  .hotel-bookings__table thead th:not(:has(a)) {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .hotel-bookings__table tbody tr {
    display: flex; flex-direction: column;
    padding: var(--wa-space-s, 0.75rem);
    border-bottom: 1px solid var(--wa-color-neutral-border-quiet);
  }
  .hotel-bookings__table tbody tr:last-child { border-bottom: 0; }
  .hotel-bookings__table tbody td {
    display: flex; justify-content: space-between; align-items: center; gap: var(--wa-space-s, 0.75rem);
    padding: var(--wa-space-3xs, 2px) 0; border-bottom: 0; white-space: normal; text-align: right;
  }
  .hotel-bookings__table tbody td::before {
    content: attr(data-label); flex-shrink: 0; text-align: left;
    color: var(--wa-color-text-quiet); font-size: var(--wa-font-size-s, 0.9375rem);
  }
  .hotel-bookings__table tbody td:first-child { order: -2; font-weight: var(--wa-font-weight-bold, 700); }
  .hotel-bookings__table tbody td[data-label="Status"] { order: -1; }
  .hotel-bookings__table tbody td:last-child {
    position: static; box-shadow: none; background: none;
    justify-content: flex-end; padding-top: var(--wa-space-xs, 0.5rem);
  }
  .hotel-bookings__table tbody td:last-child::before { content: none; }
}
