/* ==========================================================================
   HOTELS HOME + CHOOSE (2026-10-30, Builder B). Only what hotel-flow.css
   does not have: the home hero, the search card, the saved/watch lists, the
   full-screen map view, the filter sheet's chip-checkboxes, the hub's
   guests field. Prefix .hx-. Phone first, two columns from 900px.
   ========================================================================== */
.hx-page { background: var(--fx-soft); }
.hx-page .pg-wrap.hx { padding-top: 0; }
.hx-head { top: var(--nav-h, 0px); }
.hx-head__open { background: none; border: 0; padding: 4px 6px; font: inherit; cursor: pointer; border-radius: 10px; min-height: 44px; }
.hx-head__open:hover { background: var(--fx-soft); }
.hx-head__open small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-hero { position: relative; margin: 0 calc(-1 * var(--hx-pad)); padding: 0 var(--hx-pad); }
.hx-hero__img { display: block; width: calc(100% + 2 * var(--hx-pad)); margin: 0 calc(-1 * var(--hx-pad)); height: 150px; object-fit: cover; background: #cfd9e8; }
.hx-hero__h1 { margin: 12px 0 2px; font-weight: 800; line-height: 1.2; }
.hx-hero__sub, .hx-hero__lead { margin: 0; }
.hx-hero__sub b { color: var(--fx-ink); }
.hx-searchcard { margin-top: 12px; display: grid; gap: 8px; }
.hx-field input[type=text], .hx-field input[type=tel], .hx-field input[type=email] { border: 0; padding: 0; font: inherit; font-weight: 700; background: transparent; width: 100%; min-height: 24px; color: var(--fx-ink); }
.hx-field input:focus { outline: none; }
.hx-field:focus-within { border-color: var(--fx-blue); }
.hx-credit { border-color: var(--fx-warn); background: var(--fx-warn-soft); color: var(--fx-warn); min-height: 32px; padding: 0 9px; }
.hx-bell { border: 0; background: transparent; }
.hx-empty { margin: 0; padding: 12px 0 20px; }
.hx-saved { list-style: none; margin: 0; padding: 0 0 16px; display: grid; gap: 8px; }
.hx-saved a { display: flex; gap: 10px; align-items: center; color: var(--fx-ink); text-decoration: none; }
.hx-saved img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--fx-soft); flex: none; }
.hx-sec > .hx-row > h2, .hx-sec > h2 { margin: 0; }
.hx-sec > .hx-row { margin-bottom: 8px; }
.hx-vibe { margin-top: 8px; }
.hx-vibe--small a div { padding: 6px 10px; }
.hx-vibe img { background: #cfd9e8; }
.hx-ask { margin-top: 14px; }
.hx-ask__text { flex: 1; color: inherit; text-decoration: none; min-width: 0; }
.hx-ask__note { flex: none; max-width: 90px; text-align: right; }
.hx-ask__mic { border: 0; cursor: pointer; }
.hx-ask__mic.is-on { background: var(--fx-ok); }
.hx-host { margin-top: 12px; display: flex; overflow: hidden; color: inherit; text-decoration: none; }
.hx-host img { width: 120px; flex: none; object-fit: cover; }
.hx-host__copy { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.hx-host__go { color: var(--fx-blue); font-weight: 700; }
.hx-trust { margin-top: 14px; }
.hx-faqs details { margin-top: 8px; }
.hx-faqs summary { font-weight: 700; cursor: pointer; }
.hx-faqs p { margin: 8px 0 0; color: var(--fx-muted); }
.hx-calm { text-align: center; padding: 16px 0 0; }
.hx-chips--wrap { flex-wrap: wrap; overflow: visible; }
.hx-chips__sorts { display: contents; }
.hx-chip-check { position: relative; cursor: pointer; }
.hx-chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hx-chip-check:has(input:checked) { background: var(--fx-blue); border-color: var(--fx-blue); color: #fff; }
.hx-chip-check:has(input:checked) .hx-n { color: #e8effd; }
.hx-chip-check:has(input:focus-visible) { outline: 2px solid var(--fx-blue); outline-offset: 2px; }
.hx-chip-check .hx-n { color: var(--fx-muted); }
.hx-count-line { margin: 10px 0 0; }
.hx-active { margin: 8px 0 0; }
.hx-active summary { cursor: pointer; font-weight: 600; }
.hx-active .hx-chips { margin-top: 6px; }
.hx-tags__real:empty, .hx-tags__elite:empty { display: none; }
.hx-tags__real, .hx-tags__elite { display: contents; }
.hx-hotel__head { min-width: 0; }
.hx-hotel__score { flex: none; text-align: right; }
.hx-hotel__score .hx-scoreline { flex-direction: column; align-items: flex-end; gap: 2px; }
.hx-top { align-items: flex-start; }
.hx-near-line .hx-i { width: 12px; height: 12px; vertical-align: -2px; }
.hx-hotel__notes { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.hx-hotel__notes small { display: block; }
.hx-skel-card { pointer-events: none; }
.hx-skel-photo { aspect-ratio: var(--hx-photo); height: auto; border-radius: 12px 12px 0 0; }
.hx-skel-note { margin: 8px 0 0; }
.hx-watch { margin-top: 12px; display: grid; gap: 8px; }
.hx-watch .hx-btn--sm { justify-self: end; }
.hx-errs { margin: 0; padding-left: 18px; }
.hx-empty-state { margin-top: 12px; }
.hx-empty-state p { margin: 6px 0 0; }
.hx-passport { margin-top: 12px; }
.hx-passport .rt-passport { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hx-passport .rt-passport__note { margin: 8px 0 0; }
.hx-choose .hx-list { margin-top: 10px; }
.hx-choose .hx-ask--float { bottom: calc(20px + env(safe-area-inset-bottom)); border: 1px solid var(--fx-blue); display: inline-flex; align-items: center; gap: 8px; }
.hx-choose .hx-ask--float .hx-ask__mic { width: 28px; height: 28px; }

/* --- The map view (B1): full screen, our tiles, price pins --- */
.hx-mapview { display: flex; flex-direction: column; background: #eef2f6; }
.hx-mapview[hidden] { display: none; }
.hx-mapview__head { position: relative; top: 0; margin: 0; flex: none; }
.hx-mapview__chips { position: absolute; top: 56px; left: 0; right: 0; z-index: 3; padding: 8px 16px; margin: 0; }
.hx-mapview__canvas { position: relative; flex: 1; overflow: hidden; touch-action: none; cursor: grab; }
.hx-mapview__canvas.is-drag { cursor: grabbing; }
.hx-mapview__layer, .hx-mapview__pins { position: absolute; inset: 0; will-change: transform; }
.hx-mapview__layer img { position: absolute; width: 256px; height: 256px; display: block; user-select: none; -webkit-user-drag: none; }
.hx-mapview__pins .hx-pin { cursor: pointer; }
.hx-mapview__zoom { position: absolute; right: 12px; top: 110px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.hx-mapview__attr { position: absolute; left: 8px; bottom: 4px; z-index: 3; color: var(--fx-muted); background: rgba(255, 255, 255, .7); padding: 1px 6px; border-radius: 6px; }
.hx-mapview__attr a { color: inherit; }
.hx-map__card { z-index: 4; }
.hx-map__card-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.hx-map__price { color: var(--fx-blue); }
body.hx-map-on { overflow: hidden; }

/* --- The hub's hotels tab: the kit's field inside the search card --- */
.tsc__form--hx .tsc__full { flex: 1 1 100%; padding: 8px 10px 0; }
.tsc__form--hx .hx-seg { gap: 6px; }
.tsc__form--hx .hx-seg span { min-height: 34px; }
.tsc__form--hx .hx-chips { padding: 6px 10px 10px; margin: 0; }
.tsc__nights { font-weight: 500; color: var(--fx-muted); }
.tsc__field--hx .hx-field { border: 0; padding: 0; background: transparent; }
.tsc__field--hx .hx-field > small { display: none; }
.tsc__field--hx .hx-field b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsc__field--hx .hx-sheet__body { text-align: left; }

/* --- Desktop --- */
@media (min-width: 900px) {
    .hx-hero__img { height: 240px; border-radius: 0 0 var(--fx-r) var(--fx-r); }
    .hx-searchcard { grid-template-columns: 1.6fr 1fr 1fr 1.2fr auto; align-items: end; }
    .hx-searchcard > .hx-seg, .hx-searchcard > .hx-chips { grid-column: 1 / -1; }
    .hx-searchcard .hx-search__dates { display: contents; }
    .hx-searchcard .hx-btn { min-height: 48px; }
    .hx-vibe--small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hx-choose .hx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-mapview__zoom { top: 120px; }
}

/* --- Dark --- */

