/* ==========================================================================
   Design system
   Built on the conventions travellers already know from the big booking sites:
   a coloured header with product tabs, one amber-framed search box, white
   pages, list results with a photo, a score badge and the price on the right.
   Deep teal is the brand; amber is kept for the main action on each screen.
   Our own touch: Sean, the booking assistant, on every page.
   ========================================================================== */

:root {
  --brand: #0f766e;        /* deep teal: header and hero band */
  --brand-2: #0b5a54;      /* darker teal: hover, score badge */
  --brand-soft: #e2f4f1;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f8f7;
  --surface-3: #e6eeec;
  --line: #e1e7e6;
  --line-strong: #8a9a97;  /* input borders */
  --ink: #16211f;
  --ink-2: #4c5b58;
  --ink-3: #5c6b68;
  --action: #0f766e;       /* buttons and links */
  --action-hover: #0b5a54;
  --action-soft: #e2f4f1;
  --amber: #ffb23f;        /* search bar frame, "available now", deals */
  --amber-soft: #fff4e0;
  --amber-ink: #6b4200;
  --good: #00803b;
  --good-soft: #e6f4ec;
  --good-ink: #00632d;
  --warn: #8a5300;
  --warn-soft: #fff1dc;
  --bad: #c0262e;
  --bad-soft: #fdeceb;
  --focus: #0f766e;
  --cta: #ffb23f;          /* amber: the main action on a screen */
  --cta-hover: #ffc35f;
  --cta-ink: #2a1a00;
  --teal-l: #c7e6e1;
  --wall: #f0f8f6;
  --night: var(--brand);   /* older names still used by scripts */
  --night-2: var(--brand-2);
  --radius-s: 4px;
  --radius: 8px;
  --radius-l: 8px;
  --shadow-1: 0 1px 3px rgba(26, 26, 26, .08);
  --shadow-2: 0 2px 8px rgba(26, 26, 26, .16);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1140px;
  --accent: var(--action);
  color-scheme: light;
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--action); text-underline-offset: 2px; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, .h3 { margin: 0; line-height: 1.2; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(24px, 3.2vw, 32px); }
h2 { font-size: 22px; }
h3, .h3 { font-size: 17px; }
p { margin: 0 0 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
main { padding-block: 24px 120px; min-height: calc(100vh - 160px); min-height: calc(100dvh - 160px); }
.lead { font-size: 16px; color: var(--ink-2); max-width: 64ch; margin: 6px 0 20px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.section { margin-top: 32px; }
.stack { display: grid; gap: 12px; align-content: start; }
.grid { display: grid; gap: 14px; align-content: start; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 180px; min-width: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.grow { flex: 1; min-width: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.sec-sub { color: var(--ink-2); margin: 0 0 14px; }

/* ---- Header: blue band, brand + tools, product tabs ------------------------ */
.top { background: var(--brand); color: #fff; position: relative; z-index: 30; }
.top-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand-logo { display: block; height: 44px; width: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: #fff; position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); right: 5px; top: 5px; }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tool { color: #fff; text-decoration: none; font-weight: 600; padding: 9px 10px; border-radius: 4px; font-size: 14.5px; }
.tool:hover { background: rgba(255,255,255,.12); color: #fff; }
.tool-btn { background: #fff; color: var(--action); text-decoration: none; font-weight: 600; padding: 7px 12px; border-radius: 4px; font-size: 14px; border: 1px solid #fff; }
.tool-btn:hover { background: var(--brand-soft); color: var(--action-hover); }
.tool-icon { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; color: #fff; }
.tool-icon:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav { display: flex; gap: 4px; padding: 4px 0 14px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; }
.nav a svg { flex: none; }
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav a[aria-current="page"] { border-color: #fff; background: rgba(255,255,255,.12); font-weight: 600; }
.nav a.nav-ai { margin-left: auto; background: var(--amber); color: #1a1a1a; font-weight: 700; }
.nav a.nav-ai:hover { background: #ffc35f; color: #1a1a1a; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .top-row { height: 56px; }
  .brand { font-size: 20px; }
  .brand-logo { height: 34px; }
  .top-tools .tool, .top-tools .tool-btn { display: none; }
  .tool-icon { display: inline-grid; }
  .nav { padding-bottom: 10px; }
  .nav a { padding: 8px 13px; font-size: 14px; }
  .nav a.nav-ai { margin-left: 0; }
}

/* Page band under the header: title on blue, the form overlaps its bottom edge */
.band { background: var(--brand); color: #fff; padding: 22px 0 60px; }
.band h1 { color: #fff; font-size: clamp(26px, 4vw, 44px); font-weight: 800; }
.band .lead { color: #fff; opacity: .92; margin: 6px 0 0; font-size: clamp(16px, 2vw, 22px); }
.band.slim { padding: 0 0 34px; }
.band + main { padding-top: 0; }
.band + main > .bk-search:first-child, .band + main > .searchbar:first-child, .band + main > .overlap:first-child { margin-top: -36px; position: relative; z-index: 5; }
.crumbs { font-size: 14px; margin-bottom: 6px; }
.crumbs a { color: #fff; opacity: .9; }

/* ---- Buttons ------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 4px; border: 1px solid transparent;
  background: var(--action); color: #fff; font: 600 15px/1 var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .12s; }
.btn:hover { background: var(--action-hover); color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: var(--surface); color: var(--action); border-color: var(--action); }
.btn.ghost:hover { background: var(--action-soft); color: var(--action-hover); }
.btn.dark { background: var(--brand); color: #fff; }
.btn.dark:hover { background: var(--brand-2); }
.btn.danger { background: var(--surface); color: var(--bad); border-color: var(--bad); }
.btn.danger:hover { background: var(--bad-soft); color: var(--bad); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.big { min-height: 50px; font-size: 18px; padding: 0 24px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: inline-grid; place-items: center; }
.icon-btn:hover { background: var(--surface-2); }
.link-btn, .linklike { background: none; border: 0; padding: 0; color: var(--action); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font: inherit; }

/* ---- Forms ------------------------------------------------------------------------ */
label, .label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 4px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: 400 16px/1.3 var(--font); }
textarea { min-height: 90px; resize: vertical; line-height: 1.45; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 2px var(--action); }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--action); flex: none; margin: 1px 0 0; }
input[type="checkbox"]:focus, input[type="radio"]:focus { box-shadow: none; }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 400; color: var(--ink); margin: 0; cursor: pointer; }
.check span { line-height: 1.4; }
.check.inline { display: inline-flex; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
details.more > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--action); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "+"; font-weight: 800; }
details.more[open] > summary::before { content: "–"; }

.seg { display: inline-flex; gap: 4px; padding: 0; border: 0; max-width: 100%; overflow-x: auto; }
.seg label { margin: 0; flex: 0 0 auto; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.seg span { display: block; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; border: 1px solid var(--line-strong); background: var(--surface); }
.seg input:checked + span { background: var(--action-soft); color: var(--action); border-color: var(--action); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }

.chips-input { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-toggle { margin: 0; }
.chip-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-toggle span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; background: var(--surface); }
.chip-toggle input:checked + span { background: var(--action-soft); border-color: var(--action); color: var(--action); font-weight: 600; }
.chip-toggle input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---- The search bar: amber frame, fields side by side ------------------------------ */
.bk-search, .searchbar { background: var(--amber); border-radius: 8px; padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.bk-search .fields, .searchbar .fields { display: flex; gap: 4px; align-items: stretch; flex-wrap: wrap; }
.bk-search .fields > *, .searchbar .fields > * { flex: 1 1 150px; min-width: 0; }
.bk-search .fields > .wide, .searchbar .fields > .wide { flex: 2 1 240px; }
.bk-search .fields > [data-for="dates"] { flex: 1.7 1 310px; }
.bk-search .fields > .narrow, .searchbar .fields > .narrow { flex: 0.6 1 100px; }
.bk-search .fields > .party-cell, .searchbar .fields > .party-cell { flex: 1.3 1 190px; }
.bk-search .fields > .go-cell, .searchbar .fields > .go-cell { flex: 0 0 auto; }
.bk-search .fields > [hidden], .searchbar .fields > [hidden] { display: none; }
/* each field: white tile with an icon, a small label and the value */
.fld { position: relative; background: var(--surface); border-radius: 4px; display: flex; align-items: center; gap: 10px; padding: 0 12px; min-height: 56px; }
.fld > svg { flex: none; color: var(--ink-2); }
.fld .fld-in { flex: 1; min-width: 0; display: grid; }
.fld label, .searchbar .fields > div > label { font-size: 12px; font-weight: 500; color: var(--ink-2); margin: 6px 0 0; line-height: 1.2; }
.fld input, .fld select, .fld .party-btn { border: 0; box-shadow: none; padding: 2px 0 6px; min-height: 0; font-size: 15px; font-weight: 600; background: transparent; }
.fld input:focus, .fld select:focus { box-shadow: none; }
.fld:focus-within { box-shadow: inset 0 0 0 2px var(--action); }
.fld .dates { display: flex; align-items: center; gap: 6px; }
.fld .dates input { width: auto; flex: 1; min-width: 0; }
.fld .dash { color: var(--ink-3); }
/* plain fields inside an amber bar (flights, cabs): white tiles too */
.searchbar .fields > div:not(.go-cell):not(.fld) { background: var(--surface); border-radius: 4px; padding: 0 12px 4px; }
.searchbar .fields > div:not(.go-cell):not(.fld) input, .searchbar .fields > div:not(.go-cell):not(.fld) select { border: 0; padding: 2px 0 4px; min-height: 30px; font-weight: 600; box-shadow: none; }
.searchbar .fields > div:not(.go-cell):not(.fld):focus-within { box-shadow: inset 0 0 0 2px var(--action); }
.go-cell .btn { height: 100%; min-height: 56px; font-size: 18px; padding: 0 26px; }
.bk-under, .searchbar .go { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 12px; font-size: 14.5px; }
.searchbar .go { margin: 0; padding: 10px 8px 6px; background: var(--amber); }
.searchbar .seg { padding: 6px 4px 8px; }
.searchbar .seg span { border-color: rgba(0,0,0,.12); }
.searchbar > div[aria-live]:not(:empty), .bk-search + div[aria-live]:not(:empty) { margin: 6px 4px 2px; }
.searchbar .go .more { flex: 1 1 100%; background: var(--surface); padding: 10px 12px; border-radius: 4px; }
.inline-select { width: auto; min-height: 34px; padding: 4px 30px 4px 10px; font-size: 14px; }
@media (max-width: 760px) {
  .bk-search .fields, .searchbar .fields { flex-direction: column; }
  .bk-search .fields > *, .searchbar .fields > * { flex: none !important; }
  .go-cell .btn { width: 100%; min-height: 50px; }
}

/* Guests and rooms picker */
.party { position: relative; }
.party-btn { width: 100%; text-align: left; padding: 2px 24px 6px 0; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234b5260' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center; color: var(--ink); font: 600 15px var(--font); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.party-btn:focus-visible { outline: none; }
.party-panel { position: absolute; z-index: 40; top: calc(100% + 12px); right: -12px; width: min(340px, calc(100vw - 32px)); background: var(--surface); border-radius: 8px; box-shadow: 0 4px 18px rgba(0,0,0,.22); padding: 16px; display: grid; gap: 14px; }
.party-panel[hidden] { display: none; }
.party-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.party-steps { display: flex; align-items: center; gap: 0; border: 1px solid var(--line-strong); border-radius: 4px; }
.party-steps output { min-width: 3ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.step { width: 40px; height: 38px; border: 0; background: transparent; color: var(--action); font-size: 22px; line-height: 1; cursor: pointer; }
.step:hover:not([disabled]) { background: var(--action-soft); }
.step[disabled] { color: var(--ink-3); opacity: .4; cursor: default; }
.party-note { margin: 0; }
@media (max-width: 760px) { .party-panel { left: -12px; right: auto; } }

/* ---- Surfaces ----------------------------------------------------------------------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 10px; }
.card.featured { border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }
.card-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.card-head h3 { font-size: 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.meta b { color: var(--ink); font-weight: 700; }
.price { text-align: right; font-size: 22px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-2); white-space: normal; line-height: 1.3; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.fact { font-size: 13px; padding: 2px 8px; border-radius: 4px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.nearby { font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 2px 16px; }
.nearby > span:not(.label) { white-space: nowrap; }
.nearby > .label { color: var(--ink-3); margin: 0; display: inline; font-size: 13.5px; font-weight: 400; }
.nearby b { color: var(--ink); font-weight: 600; }
.card-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.thumbs { display: flex; gap: 6px; overflow-x: auto; }
.thumbs img { width: 112px; height: 76px; object-fit: cover; border-radius: 4px; flex: none; background: var(--surface-2); }
.status-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.alt-label { font-size: 14px; font-weight: 700; color: var(--ink-2); margin: 6px 0; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill.good { background: var(--good-soft); color: var(--good-ink); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.accent { background: var(--amber-soft); color: var(--amber-ink); }
.pill.accent::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.pill.brand { background: var(--brand); color: #fff; }

.err, .ok, .notice { padding: 10px 14px; border-radius: 4px; font-size: 14.5px; }
.err { background: var(--bad-soft); color: var(--bad); }
.ok { background: var(--good-soft); color: var(--good-ink); }
.notice { background: var(--amber-soft); color: var(--amber-ink); border: 1px solid #ffd48a; }

/* ---- Results: filters on the left, list on the right ------------------------------------ */
.results { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 18px; }
.results > .side { order: -1; }
@media (max-width: 900px) { .results { grid-template-columns: minmax(0, 1fr); } .results > .side { order: 1; } }
.filters { border: 1px solid var(--line); border-radius: 8px; }
.filters > h2 { font-size: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line); margin: 0; }
.filters .fgroup { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.filters .fgroup:last-child { border-bottom: 0; }
.filters .fgroup h3 { font-size: 15px; margin-bottom: 2px; }
.filters .check { font-size: 14px; }
.side .card { gap: 8px; }
.side h2 { font-size: 16px; margin-bottom: 8px; }
.ask-box { background: var(--brand-soft); border: 1px solid #c9d8f6; border-radius: 8px; padding: 14px; display: grid; gap: 8px; }
.ask-box b { font-size: 15px; }
.res-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.res-head h1 { font-size: 22px; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.sort select { width: auto; min-height: 36px; padding: 4px 30px 4px 12px; border-radius: 999px; font-size: 14px; }
.bc { font-size: 13px; color: var(--ink-2); margin: 14px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bc a { text-decoration: none; }
.bc a:hover { text-decoration: underline; }

/* A result: photo | details | score and price */
.prop { display: grid; grid-template-columns: 200px minmax(0, 1fr) 210px; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.prop.featured { border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }
.prop .p-photo { width: 200px; height: 200px; border-radius: 8px; overflow: hidden; background: var(--brand-soft); display: grid; place-items: center; color: var(--action); position: relative; }
.prop .p-photo img { width: 100%; height: 100%; object-fit: cover; }
.prop .p-photo .count { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; padding: 2px 7px; border-radius: 4px; }
.prop .p-main { display: grid; gap: 6px; align-content: start; min-width: 0; }
.prop .p-name { font-size: 20px; font-weight: 700; color: var(--action); line-height: 1.25; }
.prop .p-stars { color: #f0a500; font-size: 14px; letter-spacing: 1px; margin-left: 4px; }
.prop .p-loc { font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 2px 12px; }
.prop .p-loc span { color: var(--ink-2); }
.prop .p-room { border-left: 2px solid var(--line); padding-left: 10px; margin-top: 4px; font-size: 14px; display: grid; gap: 2px; }
.prop .p-room b { font-size: 14px; }
.prop .p-good { color: var(--good); font-size: 13.5px; font-weight: 600; }
.prop .p-scarce { color: var(--bad); font-size: 13.5px; font-weight: 600; }
.prop .p-side { display: grid; align-content: space-between; justify-items: end; text-align: right; gap: 10px; }
.score { display: flex; gap: 8px; align-items: center; justify-content: flex-end; text-align: right; }
.score .s-word { font-weight: 600; font-size: 15px; line-height: 1.2; }
.score .s-count { font-size: 12.5px; color: var(--ink-2); }
.score .s-badge { background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; min-width: 34px; height: 34px; border-radius: 6px 6px 6px 0; display: grid; place-items: center; padding: 0 6px; }
.prop .p-price { display: grid; gap: 2px; justify-items: end; }
.prop .p-price .for { font-size: 13px; color: var(--ink-2); }
.prop .p-price .amt { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.prop .p-price .inc { font-size: 12.5px; color: var(--ink-2); }
.prop .p-side .btn { min-width: 160px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: var(--surface-3); color: var(--ink-2); justify-self: start; }
.tag.deal { background: var(--good); color: #fff; }
.tag.partner { background: var(--amber-soft); color: var(--amber-ink); }
@media (max-width: 760px) {
  .prop { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .prop .p-photo { width: 112px; height: 150px; }
  .prop .p-name { font-size: 17px; }
  .prop .p-side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: end; justify-items: stretch; text-align: left; }
  .prop .p-side .score { justify-content: flex-start; flex-direction: row-reverse; }
  .prop .p-price { justify-items: end; text-align: right; }
  .prop .p-side .btn { grid-column: 1 / -1; width: 100%; }
}

/* ---- Tables --------------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th { text-align: left; font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--surface-2); }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Admin & portal pieces ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: grid; gap: 2px; }
.stat .label { margin: 0; color: var(--ink-2); font-weight: 500; }
.stat b { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; min-width: 80px; }
.bar > i { display: block; height: 100%; background: var(--action); }
/* Enough tabs now that a single scrolling row hides the last few, and the scrollbar is
   hidden too, so nothing hints they are there. Wrap on anything desktop-sized; keep the
   familiar swipe-along row on phones. */
.tabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 16px 0 20px; scrollbar-width: none; }
@media (max-width: 700px) { .tabs { flex-wrap: nowrap; overflow-x: auto; } }
.tabs [role="tab"] { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: 600 14.5px var(--font); color: var(--ink-2); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tabs [role="tab"][aria-selected="true"] { color: var(--action); border-bottom-color: var(--action); }
.qr svg { width: 220px; height: 220px; background: #fff; padding: 8px; border-radius: 8px; }
.sign { border: 2px solid var(--ink); border-radius: 8px; padding: 24px; text-align: center; display: grid; gap: 12px; justify-items: center; background: var(--surface); }
.sign h2 { font-size: 28px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.photo-item { margin: 0; display: grid; gap: 6px; }
.photo-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
#ph-up { position: absolute; width: 1px; height: 1px; opacity: 0; }
.card.lead.overdue { border-left: 4px solid var(--amber); }
.card.lead .row > select, .card.lead .row > input[type="date"] { flex: 0 1 200px; }

/* ---- Dialog (booking sheet) --------------------------------------------------------------- */
dialog { border: none; border-radius: 8px; padding: 0; width: min(540px, calc(100% - 24px)); background: var(--surface); color: var(--ink); box-shadow: 0 8px 32px rgba(0,0,0,.3); max-height: calc(100dvh - 24px); }
dialog::backdrop { background: rgba(0, 0, 0, .5); }
.sheet { padding: 20px; display: grid; gap: 14px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* ---- Footer ---------------------------------------------------------------------------------- */
footer { background: var(--brand); color: #fff; font-size: 14px; margin-top: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-block: 26px 30px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer span { opacity: .85; }
.foot-strip { background: var(--surface-2); border-top: 1px solid var(--line); }
.foot-strip .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }

/* ---- Home --------------------------------------------------------------------------------- */
.hero-band { padding: 40px 0 92px; }
.hero-band h1 { font-size: clamp(30px, 5vw, 48px); }
.trust { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--ink-2); }
.trust li { display: flex; gap: 8px; align-items: center; }
.trust svg { flex: none; color: var(--good); }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why > div { background: var(--surface-2); border-radius: 8px; padding: 18px; display: grid; gap: 6px; align-content: start; }
.why .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--action); display: grid; place-items: center; margin-bottom: 6px; }
.why b { font-size: 16px; }
.why p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer-card { border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; box-shadow: var(--shadow-1); }
.offer-card .o-k { font-size: 13px; color: var(--ink-2); }
.offer-card b { font-size: 18px; display: block; margin: 2px 0 4px; }
.offer-card p { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.offer-card .o-art { width: 104px; height: 104px; border-radius: 8px; display: grid; place-items: center; }
.offer-card .o-art.night { background: var(--brand); color: var(--amber); }
.offer-card .o-art.deal { background: var(--amber-soft); color: var(--amber-ink); }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } .offer-card .o-art { width: 72px; height: 72px; } }
.dest { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.dest a { position: relative; border-radius: 8px; overflow: hidden; height: 240px; grid-column: span 2; color: #fff; text-decoration: none; background: var(--brand); }
.dest a.big { grid-column: span 3; height: 270px; }
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dest a:hover img { transform: scale(1.03); }
.dest a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 45%); }
.dest .d-name { position: absolute; z-index: 1; left: 16px; top: 14px; font-size: 22px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.dest .d-sub { position: absolute; z-index: 1; left: 16px; top: 46px; font-size: 14px; opacity: .95; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.dest .d-credit { position: absolute; z-index: 1; right: 8px; bottom: 6px; font-size: 10.5px; opacity: .85; text-shadow: 0 1px 2px rgba(0,0,0,.7); }
@media (prefers-reduced-motion: reduce) { .dest img { transition: none; } }
@media (max-width: 760px) { .dest { grid-template-columns: 1fr 1fr; gap: 10px; } .dest a, .dest a.big { grid-column: span 1; height: 160px; } .dest a.big:first-child { grid-column: span 2; height: 190px; } .dest .d-name { font-size: 18px; } .dest .d-sub { top: 40px; font-size: 13px; } }
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.types a { border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); display: grid; gap: 8px; }
.types .t-art { height: 150px; border-radius: 8px; display: grid; place-items: center; }
.types .t-art.a { background: linear-gradient(135deg, #0b5a54, #0f766e); color: var(--amber); }
.types .t-art.b { background: linear-gradient(135deg, #fff1d6, #ffd58c); color: #7a4b00; }
.types .t-art.c { background: linear-gradient(135deg, #e2f4f1, #b6e0d9); color: #0b5a54; }
.types .t-art.d { background: linear-gradient(135deg, #e6f4ec, #b5e0c6); color: #00632d; }
.types b { font-size: 16px; }
.types span { font-size: 14px; color: var(--ink-2); margin-top: -6px; }
.types a:hover b { color: var(--action); }
@media (max-width: 900px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } .types .t-art { height: 110px; } }
.popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; }
.popular a { text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface); }
.popular a:hover { border-color: var(--action); color: var(--action); }
.live-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; padding: 10px 14px; border-radius: 8px; background: var(--amber-soft); color: var(--amber-ink); border: 1px solid #ffd48a; }
.live-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 4px rgba(192,38,46,.15); flex: none; }
.loc-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.loc-line .pin { display: inline-flex; color: var(--action); }
.groups-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: var(--surface-2); border-radius: 8px; padding: 16px; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; margin-bottom: 8px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tile { border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 4px; text-decoration: none; color: var(--ink); background: var(--surface); }
.tile:hover { border-color: var(--action); }
.tile span { color: var(--ink-2); font-size: 14px; }

/* ---- Flights results ---------------------------------------------------------------------------- */
.offer { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; }
.offer .leg { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.offer .leg b { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.offer .price { font-size: 24px; }
@media (max-width: 560px) { .offer { grid-template-columns: 1fr; } .offer .price { text-align: left; } }

/* ==========================================================================
   The booking assistant: on every page. A bar at the bottom of the screen opens
   the conversation in a panel on the right (full screen on phones).
   ========================================================================== */
.ai-bar { position: fixed; z-index: 45; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(640px, calc(100% - 24px));
  display: flex; align-items: center; gap: 8px; background: var(--surface); border: 2px solid var(--amber); border-radius: 999px; padding: 5px 5px 5px 14px; box-shadow: 0 6px 24px rgba(0,0,0,.22); }
.ai-bar svg { flex: none; color: var(--action); }
.ai-bar input { border: 0; box-shadow: none; min-height: 40px; padding: 6px 4px; font-size: 15.5px; background: transparent; }
.ai-bar input:focus { box-shadow: none; }
.ai-bar .btn { border-radius: 999px; min-height: 40px; padding: 0 18px; }
.ai-bar:focus-within { box-shadow: 0 0 0 3px var(--action-soft), 0 6px 24px rgba(0,0,0,.22); }
body.ai-open .ai-bar, body[data-ai="inline"] .ai-bar { display: none; }
.ai { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.ai[hidden] { display: none; }
.ai-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.28); pointer-events: auto; }
.ai-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--surface); box-shadow: -8px 0 32px rgba(0,0,0,.25); display: grid; grid-template-rows: auto auto 1fr auto; pointer-events: auto; animation: ai-in .18s ease-out; }
@keyframes ai-in { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ai-panel { animation: none; } }
.ai-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; background: var(--brand); color: #fff; }
.ai-head .av { width: 32px; height: 32px; border-radius: 8px; background: #fff; position: relative; flex: none; }
.ai-head .av::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); right: 6px; top: 6px; }
.ai-head b { display: block; font-size: 15.5px; }
.ai-head small { display: block; font-size: 12.5px; opacity: .85; }
.ai-head .icon-btn { color: #fff; margin-left: 4px; }
.ai-head .icon-btn:hover { background: rgba(255,255,255,.14); }
.ai-head .new-chat { margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; border-radius: 4px; padding: 5px 10px; font: 600 13px var(--font); cursor: pointer; }
.ai-head .new-chat:hover { background: rgba(255,255,255,.12); }
.checklist { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.checklist:empty { display: none; }
.checklist .ck { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3); }
.checklist .ck.done { background: var(--good-soft); border-color: #bfe3cd; color: var(--good-ink); }
.ai-body { overflow-y: auto; padding: 16px; overscroll-behavior: contain; }
.msgs { display: grid; gap: 16px; }
.ai-hello { display: grid; gap: 12px; }
.ai-hello p { margin: 0; color: var(--ink-2); }
.ai-hello .examples { display: grid; gap: 8px; }
.ai-hello .examples button { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 10px 12px; font: 500 14.5px var(--font); color: var(--ink); cursor: pointer; }
.ai-hello .examples button:hover { border-color: var(--action); color: var(--action); }
.m-user { justify-self: end; max-width: 85%; background: var(--action); color: #fff; padding: 9px 13px; border-radius: 16px 16px 4px 16px; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; scroll-margin-top: 12px; }
.m-bot { display: grid; gap: 10px; min-width: 0; }
.m-bot .av { display: none; }
.m-bot .body { display: grid; gap: 10px; min-width: 0; }
.m-text { font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface-2); padding: 10px 13px; border-radius: 16px 16px 16px 4px; justify-self: start; max-width: 100%; }
.typing-dots { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--surface-2); border-radius: 16px; justify-self: start; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite ease-in-out; }
.typing-dots i:nth-child(2) { animation-delay: .15s; } .typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .typing-dots i { animation: none; opacity: .6; } }
.suggest, .m-bot .links { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest button { border: 1px solid var(--action); background: var(--surface); color: var(--action); padding: 6px 12px; border-radius: 999px; font: 600 13.5px var(--font); cursor: pointer; min-height: 34px; }
.suggest button:hover { background: var(--action-soft); }
.ai-compose { border-top: 1px solid var(--line); padding: 10px 12px max(10px, env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: flex-end; background: var(--surface); }
.ai-compose textarea { min-height: 44px; max-height: 140px; border-radius: 22px; padding: 11px 16px; resize: none; font-size: 15.5px; }
.ai-compose .btn { border-radius: 999px; min-height: 44px; }
.mic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-grid; place-items: center; flex: none; }
.mic[aria-pressed="true"] { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.loc-chip { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); padding: 6px 16px 0; }
.loc-chip .linklike { font-size: 12.5px; }
@media (max-width: 760px) { .ai-panel { width: 100%; } .ai-scrim { display: none; } }

/* Results inside the conversation */
.list-panel { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.list-panel > header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.list-panel > header b { font-size: 14.5px; }
.lp-row { display: grid; grid-template-columns: 64px 1fr; gap: 10px 12px; padding: 12px; border-bottom: 1px solid var(--line); align-items: start; }
.lp-row:last-child { border-bottom: 0; }
.lp-row .ph { width: 64px; height: 64px; border-radius: 6px; background: var(--brand-soft); object-fit: cover; display: grid; place-items: center; color: var(--action); font-size: 13px; font-weight: 700; }
.lp-row .nm { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--action); }
.lp-row .sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; display: flex; flex-wrap: wrap; gap: 2px 12px; }
.lp-row .near { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.lp-row .near b { font-weight: 600; color: var(--ink-2); }
.lp-row .rt { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lp-row .pr { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.lp-row .pr small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-2); }
.lp-tag { font-size: 12px; font-weight: 700; color: #fff; background: var(--good); padding: 1px 6px; border-radius: 4px; justify-self: start; margin-top: 4px; display: inline-block; }
.journey { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 4px 12px; }
.journey > header, details.journey > summary { padding: 10px 0 4px; font-weight: 700; font-size: 14.5px; }
details.journey > summary { cursor: pointer; padding-bottom: 10px; }
.journey + .journey { margin-top: 8px; }
.jstep { display: grid; grid-template-columns: 66px 16px 1fr; gap: 0 10px; align-items: start; padding: 8px 0; position: relative; }
.jstep .t { font-weight: 700; font-size: 13px; text-align: right; padding-top: 1px; font-variant-numeric: tabular-nums; }
.jstep .node { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--brand); background: var(--surface); margin-top: 3px; position: relative; z-index: 1; }
.jstep.room .node { border-color: var(--amber); background: var(--amber); }
.jstep::before { content: ""; position: absolute; left: calc(66px + 10px + 5px); top: 0; bottom: 0; width: 2px; background: var(--line); }
.jstep:first-of-type::before { top: 16px; }
.jstep:last-of-type::before { bottom: calc(100% - 16px); }
.jstep .what b { display: block; font-size: 14.5px; }
.jstep .what span { font-size: 13px; color: var(--ink-2); }
.jstep .act { grid-column: 3; padding-top: 6px; }
.jstep .act:empty { display: none; }
.inline-form { border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: grid; gap: 12px; background: var(--surface); }
.inline-form .sum { font-size: 14px; color: var(--ink-2); }
.done-card { border: 1px solid #9fd3b3; background: var(--good-soft); color: var(--ink); border-radius: 8px; padding: 14px; display: grid; gap: 10px; }
.done-card b { color: var(--good-ink); }

/* ---- Groups ---------------------------------------------------------------------------------- */
.groups-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 28px; align-items: start; margin-top: -36px; position: relative; }
.groups-info { padding-top: 60px; }
.groups-form { position: sticky; top: 16px; }
.groups-form .panel { box-shadow: var(--shadow-2); border: 3px solid var(--amber); }
.ticks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; color: var(--good); margin-top: 2px; }
fieldset.bare .chips-input { margin-top: 2px; }
@media (max-width: 900px) { .groups-layout { grid-template-columns: 1fr; } .groups-form { position: static; order: -1; } .groups-info { padding-top: 0; } }
.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; margin: 0; }
.facts-list dt { font-size: 13px; color: var(--ink-2); }
.facts-list dd { margin: 2px 0 0; font-weight: 600; }

/* ---- Two-column pages (hotels sign-up, account) ---------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 28px; align-items: start; }
.split > .overlap { margin-top: -36px; position: relative; z-index: 5; box-shadow: var(--shadow-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > .overlap { order: -1; } }
.narrow-page { max-width: 480px; }
.narrow-page.overlap { margin-top: -36px; position: relative; z-index: 5; box-shadow: var(--shadow-2); }

/* ---- Page switching ------------------------------------------------------------------ */
html.leaving main, html.leaving footer { opacity: 0; transition: opacity .1s ease-out; pointer-events: none; }
html.leaving body::before { content: ""; position: fixed; z-index: 1000; top: 0; left: 0; height: 3px; width: 100%; background: var(--amber); transform-origin: left; animation: leave-bar 1.2s ease-out forwards; }
@keyframes leave-bar { from { transform: scaleX(.05); } to { transform: scaleX(.9); } }
@media (prefers-reduced-motion: reduce) { html.leaving body::before { animation: none; transform: scaleX(.6); } }
#status:empty { min-height: 200px; }
#results, #fres, #cres { scroll-margin-top: 16px; }
#stations a[aria-current="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.chat-fab, .chat { display: none !important; }
.widget .searchbar { box-shadow: none; }

@media print { .top, footer, .ai-bar, .ai, .no-print { display: none !important; } body { background: #fff; color: #000; } .panel, .card { box-shadow: none; border: 1px solid #ccc; } }

/* The night desk prints the arrivals list and ticks it off. While a sheet is open,
   everything else on the page gets out of the way and only the sheet is printed. */
#sheet { display: none; }
body.sheet-open #sheet { display: block; position: fixed; inset: 0; z-index: 60; overflow: auto; background: #fff; padding: 22px 26px; }
body.sheet-open > *:not(#sheet) { display: none !important; }
#sheet table { width: 100%; border-collapse: collapse; font-size: 13px; }
#sheet th, #sheet td { border: 1px solid #bbb; padding: 6px 7px; text-align: left; vertical-align: top; }
#sheet th { background: #eee; }
#sheet .tickbox { display: inline-block; width: 13px; height: 13px; border: 1.5px solid #555; }
#sheet .hd { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #000; padding-bottom: 9px; margin-bottom: 14px; }
#sheet .note { background: #fff4e0; }
#sheet .foot { border-top: 1px solid #bbb; margin-top: 12px; padding-top: 9px; font-size: 11px; color: #555; display: flex; justify-content: space-between; }
@media print { body.sheet-open #sheet { position: static; padding: 0; } #sheet .no-print { display: none !important; } }
.ai-bar.resume input::placeholder { color: var(--action); font-weight: 600; }
.searchbar > h2, .searchbar > .h3 { padding: 6px 8px 8px; font-size: 16px; }

/* ==========================================================================
   Book Trip Deals: deep teal and amber, one search box everywhere, and Sean's chat
   ========================================================================== */

/* Amber is the one main action on a screen */
.btn.cta, .go-cell .btn, .ai-bar .btn { background: var(--cta); color: var(--cta-ink); font-weight: 700; }
.btn.cta:hover, .go-cell .btn:hover, .ai-bar .btn:hover { background: var(--cta-hover); color: var(--cta-ink); }
.nav a.nav-ai { color: var(--cta-ink); }
.nav a.nav-ai:hover { color: var(--cta-ink); }

/* The search box: white, framed in amber, the same on every search page */
.bk-search, .searchbar { background: var(--surface); border: 4px solid var(--cta); border-radius: 14px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.16); display: grid; gap: 12px; }
.fld { border: 1px solid #c9d4d2; border-radius: 8px; }
.searchbar .fields > div:not(.go-cell):not(.fld) { border: 1px solid #c9d4d2; border-radius: 8px; }
.go-cell .btn { border-radius: 10px; }
.searchbar .go { background: transparent; padding: 0; }
.searchbar .seg { padding: 0; }
.searchbar .seg span { border-color: var(--line-strong); }

.finder-top { display: grid; gap: 12px; }
.intents { display: flex; gap: 6px; flex-wrap: wrap; }
.intents a { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--surface); }
.intents a svg { width: 17px; height: 17px; color: var(--action); }
.intents a:hover { border-color: var(--action); color: var(--action-hover); }
.intents a[aria-current="page"] { background: var(--brand-soft); border-color: var(--action); color: var(--brand-2); }
.ask { display: flex; align-items: center; gap: 10px; border: 2px solid var(--action); border-radius: 12px; padding: 4px 6px 4px 14px; background: var(--surface); }
.ask > svg { color: var(--action); flex: none; }
.ask:focus-within { box-shadow: 0 0 0 3px var(--brand-soft); }
.ask .ask-in { flex: 1; min-width: 0; display: grid; }
.ask .ask-in label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin: 6px 0 0; }
.ask .ask-in input { border: 0; box-shadow: none; padding: 1px 0 7px; min-height: 0; font-size: 17px; background: transparent; }
.ask .ask-in input:focus { box-shadow: none; }
.mic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--action); display: grid; place-items: center; cursor: pointer; flex: none; }
.mic:hover { background: var(--brand-soft); }
.mic[aria-pressed="true"] { background: var(--bad); border-color: var(--bad); color: #fff; animation: mic-pulse 1.2s ease-in-out infinite; }
@keyframes mic-pulse { 50% { box-shadow: 0 0 0 6px rgba(192,38,46,.18); } }
@media (prefers-reduced-motion: reduce) { .mic[aria-pressed="true"] { animation: none; } }
.ask-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ask-chips button { font: 600 13px var(--font); padding: 5px 11px; border-radius: 999px; background: var(--surface-2); color: var(--brand-2); border: 1px solid var(--teal-l); cursor: pointer; }
.ask-chips button:hover { background: var(--brand-soft); }
.or { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .bk-search, .searchbar { padding: 10px; border-width: 3px; }
  .ask-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ask-chips button { white-space: nowrap; }
  .intents { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .intents a { white-space: nowrap; }
}

/* Home: the hero with the search box and a live chat beside it */
.hero-band { padding: 26px 0 30px; background: linear-gradient(180deg, var(--brand) 0, var(--brand) 72%, var(--bg) 72%); }
.hero-band + main { padding-top: 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 34px; align-items: start; }
.hero-band h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
.hero-band .lead { color: #e6f6f3; opacity: 1; margin: 10px 0 20px; font-size: clamp(16px, 2vw, 19px); }
.hero-main .bk-under { color: var(--ink); }
.hero-main #search-msg:not(:empty) { margin-top: 8px; }
.hero-chat { margin-top: 6px; }
.hc-label { color: #fff; font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.hc-label .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 4px rgba(255,178,63,.25); }
.hc { background: var(--wall); border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.4); }
.hc-head { background: var(--brand-2); color: #fff; display: flex; gap: 10px; align-items: center; padding: 10px 12px; }
.hc-head b { display: block; font-size: 15px; }
.hc-head small { font-size: 12px; opacity: .85; }
.av { width: 34px; height: 34px; border-radius: 50%; background: #fff; position: relative; flex: none; display: inline-block; }
.av::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cta); right: 7px; top: 7px; }
.hc-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.bub { background: #fff; border-radius: 10px; border-top-left-radius: 2px; padding: 8px 10px; max-width: 94%; box-shadow: 0 1px .5px rgba(0,0,0,.12); }
.bub.me { align-self: flex-end; background: #d8f1ed; border-radius: 10px; border-top-right-radius: 2px; }
.bub .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.bub .tiles button, .bub .opts button { font: 600 12.5px var(--font); border: 1px solid var(--teal-l); background: #fff; color: var(--brand-2); border-radius: 8px; padding: 7px 4px; cursor: pointer; }
.bub .tiles button:hover, .bub .opts button:hover { border-color: var(--action); background: var(--brand-soft); }
.bub .opts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.bub .opts button { border-radius: 999px; padding: 5px 11px; border-color: var(--action); color: var(--action); }
.hc-comp { width: 100%; display: flex; align-items: center; gap: 8px; background: #f0f2f5; border: 0; padding: 8px 10px; cursor: text; font: 400 14px var(--font); color: #6b7a78; }
.hc-comp > span:first-child { flex: 1; text-align: left; background: #fff; border-radius: 20px; padding: 9px 14px; }
.hc-comp .m { width: 36px; height: 36px; border-radius: 50%; background: var(--action); color: #fff; display: grid; place-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-chat { display: none; } .hero-band { background: linear-gradient(180deg, var(--brand) 0, var(--brand) 60%, var(--bg) 60%); } }

/* Your trip: hotel, flight and cab together */
.tripbar { background: var(--brand-soft); border-bottom: 1px solid var(--teal-l); font-size: 14px; }
.tripbar .wrap { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.tripbar .tb-t { white-space: nowrap; color: var(--brand-2); }
.tb-item, .tb-add { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border-radius: 999px; padding: 5px 11px; text-decoration: none; font-weight: 600; }
.tb-item { background: var(--good-soft); color: var(--good-ink); border: 1px solid #bfe3cd; }
.tb-item small { font-weight: 400; margin-left: 6px; }
.tb-add { background: #fff; color: var(--action); border: 1px dashed var(--action); }
.tb-add:hover { background: var(--surface-2); }
.tb-clear { margin-left: auto; font-size: 13px; white-space: nowrap; }

/* Complete your trip: one-tap add-ons, already filled in */
.add-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.add-tile { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; text-decoration: none; color: var(--ink); background: var(--surface); }
.add-tile:hover { border-color: var(--action); background: var(--surface-2); color: var(--ink); }
.add-tile .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; font-size: 20px; }
.add-tile b { display: block; font-size: 15px; }
.add-tile small { display: block; color: var(--ink-2); font-size: 13px; }
.add-on { margin-top: 6px; }

/* Multi-city flights */
.multi { display: grid; gap: 10px; }
.legs { display: grid; gap: 8px; }
.leg-row { display: grid; grid-template-columns: 30px 1fr 1fr 170px 36px; gap: 8px; align-items: end; }
.leg-row > div { border: 1px solid #c9d4d2; border-radius: 8px; padding: 0 12px 4px; }
.leg-row label { font-size: 12px; font-weight: 500; color: var(--ink-2); margin: 6px 0 0; }
.leg-row input { border: 0; padding: 2px 0 4px; min-height: 30px; font-weight: 600; box-shadow: none; }
.leg-row > div:focus-within { box-shadow: inset 0 0 0 2px var(--action); }
.leg-n { width: 28px; height: 28px; border-radius: 50%; background: var(--action); color: #fff; font-weight: 700; display: inline-grid; place-items: center; font-size: 14px; align-self: center; flex: none; }
.multi-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.multi-foot .narrow { border: 1px solid #c9d4d2; border-radius: 8px; padding: 0 12px 4px; width: 110px; }
.multi-foot .narrow label { font-size: 12px; font-weight: 500; color: var(--ink-2); margin: 6px 0 0; }
.multi-foot .narrow select { border: 0; min-height: 30px; padding: 2px 0 4px; font-weight: 600; }
.multi-foot .btn.big { margin-left: auto; }
.multi-opts { display: flex; gap: 16px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: 14px; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; border-radius: 999px; background: #b8c4c2; position: relative; cursor: pointer; margin: 0; transition: background .15s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.switch input:checked { background: var(--action); }
.switch input:checked::after { left: 19px; }
.leg-result { border-top: 1px solid var(--line); padding-top: 14px; }
.leg-result h3 { display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) {
  .leg-row { grid-template-columns: 28px 1fr 36px; }
  .leg-row > div { grid-column: 2 / 3; }
  .leg-row .leg-x { grid-column: 3; grid-row: 1; }
  .multi-foot .btn.big { width: 100%; margin: 0; }
}

/* ---- Sean's chat: WhatsApp-style ------------------------------------------------- */
.ai-bar { padding: 6px 6px 6px 8px; }
.ai-bar .av { width: 30px; height: 30px; background: var(--action); }
.ai-bar .av::after { width: 9px; height: 9px; right: 6px; top: 6px; }
.ai-panel { grid-template-rows: auto auto 1fr auto; background: var(--wall); overflow: hidden; }
.ai-head { background: var(--brand); padding: 10px 10px 10px 6px; gap: 8px; }
.ai-head .av { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.ai-head .av::after { width: 11px; height: 11px; right: 8px; top: 8px; }
.ai-head .back { font-size: 30px; color: #fff; width: 32px; }
.ai-head .back:hover { background: rgba(255,255,255,.14); }
@media (min-width: 761px) { .ai-head .back { display: none; } .ai-head { padding-left: 14px; } }
@media (max-width: 760px) { .ai-head .x { display: none; } }
.checklist { background: #fff; border-bottom: 1px solid #dde3ea; padding: 7px 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.ai-body { padding: 10px 10px 8px; background-color: var(--wall);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23d3ebe7' stroke-width='1.2'%3E%3Cpath d='M10 20h14v8H10zM12 20v-4h4v4M50 12l6 6-6 6M60 55a6 6 0 1 0 0 .1M18 60l6-6 6 6'/%3E%3C/g%3E%3C/svg%3E"); }
.msgs { display: flex; flex-direction: column; gap: 6px; }
.day { align-self: center; font-size: 12px; background: #fff; color: #54656f; padding: 3px 10px; border-radius: 8px; box-shadow: 0 1px .5px rgba(0,0,0,.1); margin: 2px 0 4px; }
.ai-hello { display: flex; flex-direction: column; gap: 6px; }
.m-user { align-self: flex-end; justify-self: auto; max-width: 84%; background: #d8f1ed; color: var(--ink); padding: 7px 9px 5px 10px; border-radius: 10px; border-top-right-radius: 2px; box-shadow: 0 1px .5px rgba(0,0,0,.13); font-size: 15px; }
.m-bot { align-self: stretch; display: block; }
.m-bot .body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.m-bot .m-text { background: #fff; max-width: 88%; padding: 7px 9px 5px 10px; border-radius: 10px; border-top-left-radius: 2px; box-shadow: 0 1px .5px rgba(0,0,0,.13); font-size: 15px; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; }
.m-bot .m-text.soft { border-radius: 10px; font-size: 13.5px; color: var(--ink-2); }
.m-time { float: right; font-size: 11px; color: #667781; margin: 7px 0 -3px 10px; display: inline-flex; gap: 3px; align-items: center; white-space: nowrap; }
.m-time .ticks { color: #0f9488; letter-spacing: -3px; margin-left: 2px; }
.ai-hello .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; max-width: 360px; }
.ai-hello .tiles button { background: #fff; border: 1px solid var(--teal-l); border-radius: 10px; padding: 9px 10px; display: grid; gap: 1px; text-align: left; cursor: pointer; font: inherit; color: var(--ink); box-shadow: 0 1px .5px rgba(0,0,0,.08); }
.ai-hello .tiles button svg { color: var(--action); margin-bottom: 2px; }
.ai-hello .tiles button b { font-size: 14px; color: var(--brand-2); }
.ai-hello .tiles button span { font-size: 12px; color: var(--ink-2); }
.ai-hello .tiles button:hover { border: 1px solid var(--action); background: var(--brand-soft); }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest button { background: #fff; border-color: var(--action); color: var(--action); }
.suggest button:hover { background: var(--action); color: #fff; }
.typing-dots { background: #fff; padding: 10px 12px; border-radius: 10px; border-top-left-radius: 2px; box-shadow: 0 1px .5px rgba(0,0,0,.13); }

/* Rooms as swipeable cards */
.rooms { width: 100%; display: grid; gap: 6px; background: #fff; border-radius: 10px; padding: 8px 0 8px 8px; box-shadow: 0 1px .5px rgba(0,0,0,.13); }
.rooms > header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-right: 10px; font-size: 14px; }
.carousel { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 10px 4px 0; scrollbar-width: thin; }
.hc-card { width: 220px; flex: none; scroll-snap-align: start; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e3e8ee; display: grid; grid-template-rows: 112px 1fr; }
.hc-card img, .hc-card .ph-none { width: 100%; height: 112px; object-fit: cover; display: grid; place-items: center; background: var(--brand-soft); color: var(--action); }
.hc-card .in { padding: 8px 9px 9px; display: grid; gap: 4px; align-content: start; }
.hc-card .nm { font-weight: 700; font-size: 14px; color: var(--action); line-height: 1.25; }
.st { color: #e09a00; font-size: 11px; letter-spacing: 1px; margin-left: 4px; }
.row1 { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.row1 .sc { background: var(--brand-2); color: #fff; font-weight: 700; font-size: 12px; padding: 2px 5px; border-radius: 5px 5px 5px 0; }
.hc-card .mut, .sheet-card .mut { font-size: 12.5px; color: var(--ink-2); }
.hc-card .pr, .sheet-bar .pr { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.hc-card .pr small, .sheet-bar .pr small { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-2); }
.hc-card .btns { display: flex; gap: 6px; margin-top: 2px; }
.hc-card .btns .btn { flex: 1; padding: 0 8px; }
.swipe-hint { font-size: 12px; color: var(--ink-3); padding-left: 2px; }

/* Hotel details sheet, inside the chat */
.ai-panel { position: absolute; }
.sheet-host { position: absolute; inset: 0; z-index: 5; }
.sheet-dim { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.sheet-card { position: absolute; left: 0; right: 0; bottom: 0; top: 64px; background: #fff; border-radius: 16px 16px 0 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; animation: sheet-up .2s ease-out; }
@keyframes sheet-up { from { transform: translateY(30px); opacity: .7; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet-card { animation: none; } }
.grab { width: 40px; height: 5px; border-radius: 9px; background: #cfd6de; margin: 8px auto 4px; }
.sheet-x { position: absolute; right: 8px; top: 6px; z-index: 2; background: rgba(255,255,255,.9); }
.sheet-scroll { overflow-y: auto; }
.gal { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 100px; gap: 3px; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal img:first-child { grid-row: span 2; }
.gal.one { grid-template-columns: 1fr; grid-auto-rows: 200px; }
.sb { padding: 12px 14px 16px; display: grid; gap: 12px; }
.sb h3 { font-size: 19px; }
.sb .sec { font-size: 13.5px; font-weight: 700; margin-bottom: 5px; }
.near-grid { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; font-size: 13px; }
.near-grid span { color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 5px; }
.sb .facts span { font-size: 12px; border: 1px solid #e3e8ee; background: var(--surface-2); border-radius: 4px; padding: 2px 7px; color: #3b4a54; }
.room-pick { border: 2px solid var(--action); background: #e6f5f2; border-radius: 8px; padding: 9px 11px; }
.room-pick small { display: block; font-size: 12.5px; color: var(--ink-2); }
.room-pick small.ok { color: var(--good-ink); font-weight: 600; }
.sheet-bar { border-top: 1px solid #e3e8ee; padding: 10px 14px max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; }
.sheet-bar .btn { min-height: 46px; padding: 0 22px; font-size: 16px; }

/* Flights, cabs and next steps as cards */
.link-cards { display: grid; gap: 6px; width: 100%; max-width: 380px; }
.link-card { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid #e3e8ee; border-radius: 10px; padding: 8px 10px; text-decoration: none; color: var(--ink); box-shadow: 0 1px .5px rgba(0,0,0,.08); }
.link-card:hover { border-color: var(--action); color: var(--ink); }
.link-card .ci { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--action); display: grid; place-items: center; }
.link-card b { display: block; font-size: 14px; color: var(--brand-2); }
.link-card small { display: block; font-size: 12px; color: var(--ink-2); }
.link-card .go { font-size: 22px; color: var(--action); }
.journey, .done-card, .inline-form { background: #fff; width: 100%; box-shadow: 0 1px .5px rgba(0,0,0,.13); border-radius: 10px; }
.done-card { border: 1px solid #9fd3b3; background: #e6f4ec; }

/* Composer */
.ai-foot { background: #f0f2f5; }
.ai-compose { background: #f0f2f5; border-top: 0; padding: 7px 8px max(8px, env(safe-area-inset-bottom)); gap: 7px; align-items: flex-end; }
.ai-compose textarea { border: 0; background: #fff; border-radius: 22px; }
.ai-compose textarea:focus { box-shadow: 0 0 0 2px var(--action); }
.ai-compose .mic, .ai-compose .send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--action); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.ai-compose .mic:hover, .ai-compose .send:hover { background: var(--action-hover); }
.ai-compose .mic[aria-pressed="true"] { background: var(--bad); }
.loc-chip { background: #f0f2f5; }
/* Sean's bar is on every page; only the desktop home hides it, as the chat sits beside the search there */
body[data-ai="inline"] .ai-bar { display: flex; }
@media (min-width: 961px) { body.home .ai-bar { display: none; } }
body.ai-open .ai-bar { display: none; }
.hero-chat .hc-body, .hero-band .bk-search { color: var(--ink); }
.hero-band .bk-search label, .hero-band .bk-search .label { color: var(--ink-2); }
.bk-search .fields > .fld.wide { flex: 2 1 220px; }
.bk-search .fields > [data-for="dates"] { flex: 1.6 1 280px; }
.bk-search .fields > .party-cell { flex: 1 1 170px; }
.ai-panel { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.ai-head { grid-row: 1; } .checklist { grid-row: 2; } .ai-body { grid-row: 3; } .ai-foot { grid-row: 4; }
.checklist .ck { white-space: nowrap; }

.why-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.why-list li { display: flex; gap: 10px; align-items: flex-start; }
.why-list li::before { content: "✓"; color: var(--action); font-weight: 900; }
.popular a .muted { font-weight: 400; margin-left: 4px; }
.ai-head .wa-link { margin-left: auto; color: #fff; font: 600 13px var(--font); text-decoration: none; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; padding: 5px 9px; }
.ai-head .wa-link + .new-chat { margin-left: 6px; }

/* Grid and flex children may shrink below their content (stops the search box overflowing phones) */
.bk-search > *, .searchbar > *, .finder-top > *, .hero-grid > *, .hero-main > * { min-width: 0; }
.dest img { height: 100%; object-fit: cover; }
/* Phones: every field fills the box exactly, never past it */
@media (max-width: 760px) {
  .bk-search .fields > *, .searchbar .fields > * { width: 100%; min-width: 0; }
  .fld .dates input { min-width: 0; width: 100%; }
  .fld .fld-in { min-width: 0; }
}
@media (max-width: 760px) {
  .fld .dates { min-width: 0; }
  .fld .dates input { flex: 1 1 0; min-width: 0; font-size: 14px; }
}

/* One clear search bar: icon, grey hint, microphone, Search */
.ask { min-height: 64px; padding: 6px 6px 6px 16px; }
.ask > svg.mag { color: var(--ink-2); flex: none; }
.ask .ask-in input { font-size: 17px; padding: 10px 0; }
.ask .ask-in input::placeholder { color: #7d8b89; opacity: 1; }
.ask .ask-in input::-webkit-search-cancel-button { cursor: pointer; }
.ask-go { background: var(--cta); color: var(--cta-ink); font: 800 17px var(--font); border: 0; border-radius: 10px; height: 50px; padding: 0 26px; flex: none; cursor: pointer; }
.ask-go:hover { background: var(--cta-hover); }
.ai-bar input::placeholder { color: #7d8b89; }
/* Desktop: the bar's Search button is the one button; phones keep a big one under the fields too */
@media (min-width: 761px) { .bk-search .go-cell, .searchbar #simple-fields .go-cell, #cf .go-cell { display: none; } }
@media (max-width: 760px) {
  .ask { padding-left: 12px; min-height: 58px; }
  .ask .ask-in input { font-size: 16px; }
  .ask .mic { width: 40px; height: 40px; }
  .ask-go { width: 46px; height: 46px; padding: 0; border-radius: 50%; }
  .ask-go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ask-go::after { content: "→"; font-size: 22px; font-weight: 800; }
}

.ai-head .ai-lang { margin-left: auto; width: auto; min-height: 32px; padding: 3px 26px 3px 8px; font: 600 13px var(--font); color: #fff; background-color: transparent; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; }
.ai-head .ai-lang option { color: var(--ink); }
.ai-head .ai-lang + .new-chat { margin-left: 6px; }
.ai-head .wa-link + .ai-lang { margin-left: 6px; }
#ai-msgs[dir="auto"] .m-text, #ai-msgs[dir="auto"] .m-user { unicode-bidi: plaintext; }
@media (max-width: 760px) { .ai-head small { display: none; } }

.ai-head .ai-lang { flex: 0 0 auto; width: auto; max-width: 112px; }
.ai-head .new-chat { white-space: nowrap; flex: none; }
.ai-head > div { min-width: 0; }

.lang-offer { align-self: stretch; background: #fff; border: 1px solid var(--teal-l); border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; font-size: 14.5px; box-shadow: 0 1px .5px rgba(0,0,0,.08); }

/* ---- Top pick, Hot deal, all options, notes, quotes (Nov 2026) ---- */
.hc-card .ph { position: relative; }
.ph-tags { position: absolute; inset: 7px 7px auto 7px; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.ph-tags > span:empty { display: none; }
.ph-tags .tg-r { display: contents; }
.tg { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 6px; border-radius: 4px; white-space: nowrap; }
.tg.tp { background: var(--amber); color: var(--cta-ink); }
.tg.hot { background: var(--bad); color: #fff; }
.tg.partner { background: var(--brand); color: #fff; }
.tg.partner-s { background: var(--brand-soft); color: var(--brand-2); }
.tg.plain { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.hc-card.is-hot { border-color: var(--bad); }
.hc-card .pr .was, .all-row s { font-size: 12px; font-weight: 500; color: var(--ink-2); margin-left: 6px; }
.smp { display: inline-block; margin-left: 0; font-size: 10.5px; font-weight: 600; color: var(--ink-2); border: 1px dashed var(--line-strong); border-radius: 3px; padding: 0 4px; vertical-align: 1px; }
.all-btn { display: block; width: 100%; max-width: 460px; margin-top: 8px; text-align: center; background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: 11px 12px; font: 700 14px var(--font); cursor: pointer; text-decoration: none; }
.all-btn:hover { background: var(--brand-2); color: #fff; }
.link-cards .all-btn { margin-top: 0; }
.all-sheet { top: 0; border-radius: 0; grid-template-rows: auto auto auto 1fr; }
.all-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--brand); color: #fff; }
.all-head b { display: block; font-size: 15.5px; }
.all-head small { display: block; font-size: 12.5px; opacity: .85; }
.all-head .sheet-x { position: static; background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.all-bar { padding: 10px 12px 6px; display: grid; gap: 8px; border-bottom: 1px solid var(--line); }
.all-bar select { width: auto; justify-self: start; min-height: 36px; font-weight: 600; font-size: 13.5px; }
.all-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 5px 11px; font: 500 12.5px var(--font); color: var(--ink); cursor: pointer; }
.fchip[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-2); font-weight: 700; }
.all-count { font-size: 12.5px; color: var(--ink-2); padding: 6px 14px; }
.all-list { display: grid; }
.all-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; align-items: center; text-align: left; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.all-row:hover { background: var(--surface-2); }
.all-row .th { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; background: var(--brand-soft); color: var(--action); display: grid; place-items: center; }
.all-row .th img { width: 100%; height: 100%; object-fit: cover; }
.all-row .mid { display: grid; gap: 2px; min-width: 0; }
.all-row .nm { font-weight: 700; color: var(--brand-2); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.all-row .mt, .all-row .mt2 { font-size: 12.5px; color: var(--ink-2); }
.all-row .rt { text-align: right; display: grid; justify-items: end; }
.all-row .rt b { font-size: 16px; font-variant-numeric: tabular-nums; }
.all-row .rt small { font-size: 11.5px; color: var(--ink-2); }
.all-list .empty { padding: 20px 14px; color: var(--ink-2); }
.tg-line { display: flex; gap: 5px; flex-wrap: wrap; }
.nb ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.nb li { position: relative; padding-left: 22px; line-height: 1.4; }
.nb li::before { position: absolute; left: 2px; top: 0; font-weight: 800; }
.nb.good li::before { content: "✓"; color: var(--good); }
.nb.know li::before { content: "!"; color: var(--warn); left: 6px; }
.nb.area li::before { content: "•"; color: var(--action); left: 5px; }
.nb .src { font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
.qcards { display: grid; gap: 6px; width: 100%; max-width: 420px; }
.qcard { background: #fff; border: 1px solid #e3e8ee; border-radius: 10px; padding: 9px 11px; display: grid; gap: 6px; }
.qtop { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.qtop b { display: block; font-size: 14px; }
.qtop small { display: block; font-size: 12px; color: var(--ink-2); }
.qp { font-weight: 800; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qn { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 12.5px; }
.qn li { position: relative; padding-left: 17px; }
.qn li.y::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.qn li.n::before { content: "!"; position: absolute; left: 4px; color: var(--warn); font-weight: 800; }
.qact { display: flex; justify-content: space-between; align-items: center; }
.hc-card .ph { height: 112px; overflow: hidden; }
.tag.hot { background: var(--bad); color: #fff; border-color: var(--bad); }
.tag.partner-s { background: var(--brand-soft); color: var(--brand-2); }
.p-notes { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; font-size: 13px; }
.p-notes li { position: relative; padding-left: 18px; }
.p-notes li.y::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.p-notes li.n::before { content: "!"; position: absolute; left: 5px; color: var(--warn); font-weight: 800; }

/* ---- More to book (things to do, holidays, cruises, car hire, extras, insurance, eSIM) ---- */
.nav-more { position: relative; flex: none; }
.nav-more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary:hover, .nav-more[open] summary { background: rgba(255,255,255,.12); }
.nav-more[data-current] summary { border-color: #fff; background: rgba(255,255,255,.12); font-weight: 600; }
.nav-menu { position: fixed; z-index: 60; background: #fff; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.18); padding: 6px; display: grid; min-width: 230px; }
.nav .nav-menu a { color: var(--ink); border-radius: 6px; padding: 9px 12px; font-size: 14.5px; }
.nav .nav-menu a:hover { background: var(--brand-soft); color: var(--brand-2); }
.nav .nav-menu a[aria-current="page"] { border-color: transparent; background: var(--brand-soft); color: var(--brand-2); }
@media (max-width: 760px) { .nav-more summary { padding: 8px 13px; font-size: 14px; } }
.pbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.pbar select { width: auto; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; align-content: start; }
.pcard.is-top { border: 2px solid var(--amber); }
.pc-tags { display: flex; gap: 6px; min-height: 0; }
.pc-tags:empty { display: none; }
.pc-t { font-size: 17px; line-height: 1.3; color: var(--brand-2); margin: 0; }
.pc-t .st { color: #d99100; font-size: 13px; margin-left: 4px; }
.pc-sub { font-size: 13.5px; color: var(--ink-2); }
.pc-foot { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-top: 4px; }
.pc-price b { display: block; font-size: 21px; font-variant-numeric: tabular-nums; }
.pc-price small { display: block; font-size: 12px; color: var(--ink-2); }
.go-page { background: var(--brand-soft); min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.go-card { background: #fff; border-radius: 16px; padding: 28px 24px; max-width: 460px; width: 100%; box-shadow: 0 8px 30px rgba(0,0,0,.1); display: grid; gap: 10px; }
.go-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--brand-2); }
.go-brand .brand-mark { background: var(--brand); }
.go-card h1 { font-size: 21px; line-height: 1.3; margin: 6px 0 0; }
.go-what { margin: 0; font-size: 15px; }
.go-note { margin: 0; font-size: 13px; color: var(--ink-2); }
.go-card .btn { margin-top: 8px; }
.go-back { font-size: 14px; }
.go-card p { margin: 0; }
.go-card { align-content: start; min-height: 0; gap: 12px; }

/* ---- Guides ---- */
.g-updated { font-size: 13px; opacity: .85; margin: 6px 0 0; }
.guide { max-width: 860px; }
.guide .g-answer { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 12px 14px; border-radius: 6px; font-size: 16px; line-height: 1.5; margin: 22px 0; }
.g-sec { margin: 22px 0; }
.g-sec h2 { font-size: 20px; margin: 0 0 8px; }
.g-sec p, .g-sec li { font-size: 16px; line-height: 1.6; }
.g-sec ul { padding-left: 20px; }
.g-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.g-src ul { padding-left: 20px; font-size: 14px; }
.g-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.g-pick { display: grid; gap: 6px; align-content: start; }
.g-pick h3 { margin: 0; font-size: 17px; color: var(--brand-2); }
.g-pick .st { color: #d99100; font-size: 13px; }
.g-pick p { margin: 0; }
.g-pick .btn { justify-self: start; }
.g-label { font-size: 12px; font-weight: 700; color: var(--cta-ink); background: var(--amber); justify-self: start; padding: 3px 8px; border-radius: 4px; }
.g-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.g-table th, .g-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.g-table th { font-size: 13px; color: var(--ink-2); }

/* ---- Hotel portal: What you offer, and the rates and rooms calendar ---- */
.of-sec .of-head { align-items: flex-start; }
.of-sec .of-head span { display: block; }
.rt-row .grow { flex: 2; }
.lens { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.len { display: flex; gap: 8px; align-items: center; }
.cal-nav { align-items: center; margin-bottom: 8px; }
.cal-scroll { max-width: 100%; overflow-x: auto; }
table.cal { border-collapse: separate; border-spacing: 0; min-width: 100%; }
table.cal th, table.cal td { padding: 3px; vertical-align: top; }
table.cal thead th { font-size: 12.5px; font-weight: 600; white-space: nowrap; text-align: center; color: var(--ink-2); }
table.cal thead th.we { color: var(--brand); }
table.cal .cal-lab { position: sticky; left: 0; background: var(--surface); z-index: 1; text-align: left; font-size: 13px; font-weight: 500; min-width: 190px; max-width: 230px; white-space: normal; }
.cal-cell { display: grid; gap: 1px; width: 100%; min-width: 74px; min-height: 58px; padding: 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.cal-cell b { font-size: 14px; }
.cal-cell small { font-size: 11.5px; color: var(--ink-3); }
.cal-cell small.mem { color: var(--good-ink); font-weight: 600; }
.cal-cell:hover { border-color: var(--action); }
.cal-cell:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.cal-cell.empty { place-items: center; color: var(--ink-3); background: var(--surface-2); border-style: dashed; }
.cal-cell.closed { background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, var(--surface-3) 6px 12px); color: var(--ink-3); }
.cal-cell.full { background: var(--amber-soft); }
.cal-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.cal-days .chip { flex: none; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 13px; cursor: pointer; }
.cal-days .chip[aria-selected="true"] { background: var(--action); border-color: var(--action); color: #fff; }
.cal-line { display: grid; grid-template-columns: 1fr 110px; gap: 10px; align-items: center; }
dialog.cal-dlg { border: 0; border-radius: 16px; padding: 20px; width: min(420px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
dialog.cal-dlg::backdrop { background: rgba(10, 30, 28, .45); }

/* ---- Results: list or map ---- */
.view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.view-toggle button { border: 0; background: var(--surface); padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--action); color: #fff; }
.view-toggle button:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
.map-wrap { margin-bottom: 14px; }
.map-box { height: min(62vh, 520px); min-height: 320px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: var(--surface-2); }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; color: var(--ink-2); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pin-dot { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; font-style: normal; font-size: 10px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.pin-dot.partner { background: var(--brand); }
.pin-dot.hot { background: var(--bad); }
.pin-dot.other { background: #8a9a97; }
.pin-dot.top { background: var(--amber); color: var(--cta-ink); width: 16px; height: 16px; }
.pin-dot.here { background: #2563eb; }
.mpin { position: relative; display: inline-block; transform: translate(-50%, -100%); white-space: nowrap; padding: 3px 8px; border-radius: 999px; font: 700 12.5px/1.3 inherit; font-family: inherit; color: #fff; background: #6b7b78; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.mpin.partner { background: var(--brand); }
.mpin.hot { background: var(--bad); }
.mpin.top { background: var(--amber); color: var(--cta-ink); }
.mpin::after { content: ''; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #fff; }
.pin-here { display: block; width: 16px; height: 16px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(37,99,235,.35); }
.map-pop { display: grid; gap: 4px; font-family: inherit; }
.map-pop .btn { justify-self: start; margin-top: 4px; }
article.prop.flash { outline: 3px solid var(--amber); outline-offset: 2px; transition: outline-color .3s; }

/* ---- Cards: what's nearby, member deals, partner sites ---- */
.p-near { list-style: none; margin: 6px 0 2px; padding: 0; display: grid; gap: 3px; font-size: 13.5px; color: var(--ink-2); }
.p-near li { display: flex; gap: 6px; align-items: baseline; }
.p-near .ni { flex: none; width: 1.3em; text-align: center; }
.p-via { font-size: 12px; color: var(--ink-3); text-align: right; }
.p-unlock { font-size: 12.5px; font-weight: 600; color: var(--good-ink); }
.p-price .was { font-size: 13px; color: var(--ink-3); }
.tag.member { background: var(--good-soft); color: var(--good-ink); }
/* chat cards */
.hc-card .p-near { font-size: 12.5px; margin: 2px 0; }
.hc-card .via { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.mem-line { font-size: 12.5px; color: var(--good-ink); display: flex; gap: 6px; align-items: center; margin: 2px 0; }
.mem-line.unlock { font-weight: 600; }
.tg.member { background: var(--good-soft); color: var(--good-ink); }
.all-map .map-box { height: 56vh; min-height: 300px; }
.all-bar .view-toggle { flex: none; }
.p-near.full { font-size: 14px; gap: 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.btn-row > * { flex: none; }
.cal-wrap { max-width: 100%; min-width: 0; overflow-x: auto; }
article.card > *, .stack > *, section[role="tabpanel"] > * { min-width: 0; }
section[role="tabpanel"], #tab { min-width: 0; max-width: 100%; }
.grid > * { min-width: 0; }
.all-bar .view-toggle { justify-self: start; width: max-content; align-self: start; }
.near-full .src { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.p-levy { font-size: 12px; color: var(--ink-3); text-align: right; } .p-levy a { color: inherit; } .hc-card .p-levy { display: block; text-align: left; margin: 2px 0; }
.preview-bar { background: #fff6e5; color: #5a3a00; border-bottom: 1px solid #ffd58c; padding: 8px 16px; font-size: 13.5px; text-align: center; } .preview-bar a { color: inherit; font-weight: 600; }
.lta { font-size: 12.5px; color: var(--ink-2); } .lta summary { cursor: pointer; font-weight: 600; } .lta p { margin: 6px 0; }
.policies .pol { border-top: 1px solid var(--line); padding: 12px 0; }
.policies .pol h3 { margin: 0 0 4px; font-size: 17px; }
.policies .pol p { margin: 0; color: var(--ink-2); }
.policies .laws { padding-left: 20px; display: grid; gap: 6px; }
.refs { padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }

/* Floating "Ask Sean" bar: phones only, never over a form; leave room so it never hides the end of a page. */
.ai-bar { transition: transform .2s ease, opacity .2s ease; }
.ai-bar.tucked { opacity: 0; pointer-events: none; transform: translate(-50%, 140%); }
@media (min-width: 961px) { .ai-bar, body[data-ai="inline"] .ai-bar { display: none !important; } }
@media (max-width: 960px) { body { padding-bottom: 84px; } html { scroll-padding-bottom: 110px; } }
@media (prefers-reduced-motion: reduce) { .ai-bar { transition: none; } }

/* Phone results: the search folds into one line. */
.search-sum { display: none; }
@media (max-width: 720px) {
  .search-sum { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--surface, #fff); border: 2px solid var(--action); border-radius: 14px; padding: 10px 14px; margin: 12px 0 8px; font: inherit; color: var(--ink); cursor: pointer; }
  .search-sum .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
  .search-sum .txt b { font-size: 16px; }
  .search-sum .txt span { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .search-sum .chg { flex: none; background: var(--action); color: #fff; font-weight: 700; border-radius: 999px; padding: 8px 14px; font-size: 14px; }
  .bk-search.folded, .bk-under.folded { display: none; }
}

/* Easy to read, easy to tap: chips and small buttons. */
.fchip { font-size: 14px; padding: 7px 14px; min-height: 36px; }
.bub .tiles button, .bub .opts button { font-size: 14px; min-height: 38px; }
.ask-chips button { font-size: 14px; min-height: 34px; }
.hc-comp { color: #55615f; }
@media (max-width: 720px) {
  .ask-chips button { min-height: 40px; padding-left: 14px; padding-right: 14px; }
  .fchip { min-height: 40px; }
  .bk-under .link-btn { display: inline-flex; align-items: center; min-height: 40px; }
  .fld .party-btn { min-height: 34px; }
}
body[data-ai-bar="off"] .ai-bar { display: none !important; }
@media (max-width: 960px) { body[data-ai-bar="off"] { padding-bottom: 0; } }

@media (max-width: 720px) { .btn.small { min-height: 40px; } }

/* Admin: Audience */
.aud-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
.aud-grid > * { min-width: 0; }
.aud h3 { margin: 0 0 8px; font-size: 16px; }
.aud-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.aud-list li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 14px; }
.aud-k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aud-bar { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.aud-bar > span { display: block; height: 100%; background: var(--action); border-radius: 4px; }
.aud-n { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.aud-x { grid-column: 1 / -1; margin-top: -4px; }

/* Contact details card in the chat */
.contact-card { display: grid; gap: 4px; }
.contact-card label:not(.check) { font-size: 13px; font-weight: 600; margin-top: 4px; }
.contact-card input:not([type=checkbox]), .contact-card select { width: 100%; min-height: 42px; }
.cc-phone { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 6px; }
.contact-card .btn { margin-top: 6px; min-height: 44px; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; }
label.btn input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
label.btn { position: relative; cursor: pointer; }
.p-photo .area-tag { position: absolute; left: 8px; top: 8px; background: rgba(22,33,31,.78); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.p-photo .area-credit { position: absolute; right: 6px; bottom: 4px; color: #fff; font-size: 10px; text-shadow: 0 1px 2px rgba(0,0,0,.7); text-decoration: none; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; }
.promo-row .btn { flex: 0 0 auto; }
.waitlist { background: var(--brand-soft, #e2f4f1); border-radius: 12px; padding: 18px; display: grid; gap: 12px; }
.wl-form { display: grid; gap: 8px; }
.wl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wl-row input { flex: 1 1 200px; min-width: 0; }
.wl-row .btn { flex: 0 0 auto; }

/* ---- Rate tools: savings, alerts, events, calculator ---- */
.rt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.rt-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: grid; gap: 2px; }
.rt-stat.good { background: var(--brand-soft); border-color: var(--teal-l); }
.rt-num { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.rt-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; }
.rt-alert .grow { flex: 1 1 280px; }
.rt-alert.rt-event { background: var(--amber-soft); border-color: #f0c06a; }
.rt-alert.rt-busy { background: #eef4ff; border-color: #9dbcf0; }
.rt-alert.rt-low, .rt-alert.rt-missing { background: var(--warn-soft); border-color: #f0c06a; }
.rt-alert.rt-good { background: var(--good-soft); border-color: #a6d8bb; }
.rt-ask { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-color: var(--teal-l); }
.rt-ask .grow { flex: 1 1 320px; }
.cal-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rt-seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; gap: 2px; }
.rt-seg button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.rt-seg button[aria-selected="true"] { background: var(--brand); color: #fff; }
table.cal thead th.ev { background: var(--amber-soft); border-radius: 6px 6px 0 0; }
table.cal thead th.busy { background: #eef4ff; border-radius: 6px 6px 0 0; }
table.cal thead th .tag { display: block; font-size: 10.5px; font-weight: 700; color: var(--amber-ink); }
table.cal thead th.busy .tag { color: #2556a8; }
.cal-cell.locked { border-color: #f0c06a; }
.cal-cell small.lk { color: var(--amber-ink); font-weight: 700; }
.chip.ev { border-color: #f0c06a; background: var(--amber-soft); }
.chip.busy { border-color: #9dbcf0; background: #eef4ff; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.cal-legend .lg::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--line-strong); }
.cal-legend .lg.ev::before { background: var(--amber-soft); border-color: #f0c06a; }
.cal-legend .lg.busy::before { background: #eef4ff; border-color: #9dbcf0; }
.cal-legend .lg.locked::before { background: var(--surface); border-color: #f0c06a; }
.rt-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.rt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rt-keep { background: var(--surface-2); border-radius: 8px; padding: 10px; }
.rt-keep b { font-size: 20px; }
.rt-keep.good { background: var(--brand-soft); color: var(--brand-2); }
.rt-sugg { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rt-sugg .grow { flex: 1; }
.rt-venues { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rt-venues li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.rt-venues .grow { flex: 1; }
.slot-row { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.slot-rooms .row { gap: 10px 16px; flex-wrap: wrap; }
.slot-room { display: flex; align-items: center; gap: 8px; }
.slot-per summary { cursor: pointer; color: var(--action); }
.chip[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
button.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; }
button.chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* ---- Partner agreement signing ---- */
.sign-key { display: grid; gap: 4px; padding: 12px 14px; border-radius: 8px; background: var(--brand-soft); font-size: 14.5px; }
.sign-doc { max-height: 52vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: var(--surface-2); font-size: 14px; line-height: 1.55; }
.sign-doc h3 { font-size: 15px; margin: 14px 0 4px; }
.sign-doc p { margin: 0 0 8px; }
.sign-doc:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sig-preview { min-height: 44px; padding: 6px 12px; border-bottom: 2px solid var(--ink); font: italic 26px/1.4 "Brush Script MT", "Segoe Script", cursive; color: #1b3a8a; }
/* Home page deals */
.deal-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.deal-card { padding: 0; overflow: hidden; gap: 0; }
.deal-img { width: 100%; height: 140px; object-fit: cover; display: block; }
.deal-body { padding: 12px 14px; display: grid; gap: 6px; }
.deal-tag { font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-2); justify-self: start; }
.deal-tag.deal-drop { background: var(--amber-soft); color: var(--amber-ink); }
.deal-price b { font-size: 20px; }
/* Rule 0: bookable alternatives on a full search */
.alt-pick{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left}
.alt-pick span{opacity:.85}

/* Phones: every link or button that stands on its own is at least 24px tall to tap (WCAG 2.5.8),
   and footer and breadcrumb links get room for a thumb. Links inside sentences are left as they are. */
@media (max-width: 760px) {
  footer a, .crumbs a, .bc a, .prop .p-loc a, .live-strip a { display: inline-block; padding-block: 10px; }
  .crumbs, .bc { row-gap: 0; }
  details.panel > summary, .slot-per > summary { min-height: 44px; padding-block: 10px; }
}

/* Sold out for the dates asked: the hotel itself, with its next free dates. */
.alt-hotel { display: flex; gap: 12px; align-items: flex-start; padding: 12px; }
.alt-photo { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
@media (max-width: 480px) { .alt-hotel { flex-direction: column; } .alt-photo { width: 100%; height: 160px; } }
tr.clickable { cursor: pointer; }
tr.clickable:hover td, tr.clickable:focus-visible td { background: var(--surface-2); }

/* Day rooms calendar */
.du { display: grid; gap: 12px; }
.du-nav { align-items: center; }
.du-nav .grow { flex: 1; }
.du-scroll { overflow-x: auto; }
.du-table { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.du-table th, .du-table td { padding: 4px; border-bottom: 1px solid var(--line); text-align: center; font-size: 13px; }
.du-table thead th { font-weight: 600; white-space: nowrap; color: var(--ink-2); }
.du-table thead th.we { color: var(--ink); background: var(--surface-2); }
.du-table .du-lab { position: sticky; left: 0; background: var(--surface); text-align: left; min-width: 220px; z-index: 1; }
.du-ghead th { text-align: left; background: var(--surface-2); padding: 8px; }
.du-group { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.du-slot { display: flex; gap: 8px; justify-content: space-between; align-items: center; }
.du-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.du-cell { width: 100%; min-width: 58px; min-height: 52px; display: grid; place-items: center; gap: 0; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; }
.du-cell b { font-size: 16px; line-height: 1.1; }
.du-cell small { font-size: 11.5px; color: var(--ink-2); }
.du-cell .du-bk { color: var(--action); }
.du-cell.off { background: #fde2e1; border-color: #f5b5b2; }
.du-cell.empty { border-style: dashed; color: var(--ink-2); font-size: 18px; }
.du-cell:hover, .du-cell:focus-visible { border-color: var(--action); outline: none; box-shadow: 0 0 0 2px rgba(15, 118, 110, .2); }
.du-legend { display: flex; flex-wrap: wrap; gap: 14px; }
.du-key { display: inline-flex; align-items: center; gap: 6px; }
.du-sw { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); display: inline-block; }
.du-sw.off { background: #fde2e1; border-color: #f5b5b2; }
.du-sw.empty { border-style: dashed; }
.du-card { display: grid; gap: 10px; }
.du-line { display: grid; grid-template-columns: 1fr 88px; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 8px; }
.du-line .du-slot { flex-wrap: wrap; }
.du-ghead .du-group { position: sticky; left: 8px; width: max-content; max-width: calc(100vw - 80px); justify-content: flex-start; gap: 16px; }
.du-table .du-lab { min-width: 290px; }
.du-table .du-slot .du-acts { flex-wrap: nowrap; }

/* Member price: a clear gold tag, as easy to spot as the Book button. */
.p-unlock, .mem-line.unlock { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 6px 0; padding: 8px 10px; border-radius: 8px; background: #fff4d6; border: 1px solid #f2c14e;
  color: #5c3d00; font-size: 14px; font-weight: 500; text-decoration: none; }
.p-unlock b, .mem-line.unlock b { font-size: 15px; color: #3d2900; }
.p-unlock span, .mem-line.unlock span { text-decoration: underline; }
.p-unlock:hover, .mem-line.unlock:hover, .p-unlock:focus-visible, .mem-line.unlock:focus-visible { background: #ffe9ad; }

.mem-unlock { display: grid; gap: 8px; padding: 10px 12px; border-radius: 8px; background: #fff4d6; border: 1px solid #f2c14e; color: #3d2900; font-size: 14px; }
.mem-unlock.ok { background: var(--good-bg, #e6f4ea); border-color: #9fd3b0; color: var(--good-ink, #14532d); }
.mem-unlock .btn { justify-self: start; }

/* Side-panel links: a full-size tap target on phones. */
.panel.small > a[href]{display:inline-block;padding:10px 0;min-height:44px;box-sizing:border-box}

/* Accounts tables: the total row, and rows adjusted to zero (cancelled, no-show,
   or a night a guest did not take). Muted, never alarming: they cost nobody anything. */
table tr.tot > td { background: var(--surface-2); font-weight: 700; border-bottom: none; }
table tr.adj > td { background: var(--surface-2); color: var(--ink-2); }

/* Month calendar: pick a run of dates, change them together. */
.mcal-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 10px 0 4px; }
.mcal-head div { font-size: 12px; font-weight: 700; color: var(--ink-2); text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.mcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; touch-action: pan-y; }
.mcal-day { display: grid; align-content: start; gap: 1px; min-width: 0; min-height: 76px; padding: 6px 7px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.mcal-day:hover:not([disabled]) { border-color: var(--action); }
.mcal-day:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.mcal-n { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.mcal-p { font-size: 14px; font-weight: 600; }
.mcal-p.muted { font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.mcal-s, .mcal-b { font-size: 11.5px; color: var(--ink-3); }
.mcal-b { color: var(--good-ink); font-weight: 600; }
.mcal-lk { font-size: 11px; color: var(--warn); font-weight: 600; }
.mcal-dot { width: 6px; height: 6px; border-radius: 50%; background: #d08700; display: inline-block; }
.mcal-day.out { background: var(--surface-2); opacity: .72; }
.mcal-day.none { background: var(--surface-2); border-style: dashed; }
.mcal-day.shut { background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, var(--surface-3) 6px 12px); color: var(--ink-3); }
.mcal-day.full { background: var(--amber-soft); }
.mcal-day.ev { border-color: #f0c06a; }
.mcal-day.busy { border-color: var(--good); }
.mcal-day.past { opacity: .45; cursor: default; }
.mcal-day.on { background: var(--brand-soft); border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.mcal-day.on .mcal-s, .mcal-day.on .mcal-p.muted { color: var(--brand-2); }
.mcal-act { margin-top: 12px; border-color: var(--brand); }
.mcal-hint { margin-top: 12px; }
@media (max-width: 560px) {
  .mcal-day { min-height: 56px; padding: 3px 4px; }
  .mcal-n { font-size: 11.5px; }
  .mcal-p { font-size: 11.5px; }
  .mcal-s, .mcal-b, .mcal-lk { font-size: 9.5px; }
  .mcal-head div { font-size: 10px; letter-spacing: 0; }
  .mcal, .mcal-head { gap: 3px; }
  /* Rooms left is the least useful number on a small screen; the price is the point. */
  .mcal-day .mcal-b { display: none; }
  /* "Closed" is wider than a price, so it gets its own size rather than spilling. */
  .mcal-day.shut .mcal-p { font-size: 10px; }
  .mcal-p, .mcal-s { overflow-wrap: anywhere; }
}

/* Place suggestions under the search box */
.sug-wrap{position:relative}
.sug{position:absolute;z-index:60;left:0;right:0;top:calc(100% + 6px);margin:0;padding:6px;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-2);max-height:min(60vh,420px);overflow:auto}
.sug li{display:flex;align-items:center;gap:12px;padding:10px;border-radius:var(--radius-s);cursor:pointer;color:var(--ink)}
.sug li[aria-selected=true],.sug li:hover{background:var(--surface-2)}
.sug .sug-ic{flex:none;width:34px;height:34px;border-radius:10px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}
.sug .sug-tx{flex:1;min-width:0}
.sug .sug-tx b{display:block;font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sug .sug-tx small{display:block;color:var(--ink-2);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sug .sug-k{flex:none;font-size:12px;color:var(--ink-3)}
.sug .sug-foot{display:block;padding:6px 10px 2px;font-size:11px;color:var(--ink-3);cursor:default}
.sug .sug-foot:hover{background:none}
@media (max-width:600px){.sug{max-height:46vh}.sug li{padding:12px 10px}}
