/* StayMaster guest check-in. One column, phone first. No inline styles anywhere (CSP). */
/* Metric-matched fallbacks (local fonts only, nothing fetched): no reflow when the web fonts arrive. */
@font-face { font-family: 'SS4 Fallback'; src: local('Georgia'); size-adjust: 104.2%; ascent-override: 99.5%; descent-override: 32.2%; line-gap-override: 0%; }
@font-face { font-family: 'Schibsted Fallback'; src: local('Arial'); size-adjust: 105.5%; ascent-override: 92.6%; descent-override: 24.4%; line-gap-override: 0%; }
:root {
  --ground: #fbf7f3;
  --paper: #ffffff;
  --ink: #1d2b29;
  --ink-2: #584139;
  --muted: #6b6259;
  --teal: #008281;
  --teal-deep: #00504f;
  --teal-wash: #e6f1ef;
  --teal-tint: #f4faf9;
  --teal-muted: #4d7b78;     /* the not-ready primary: 4.75:1 with white */
  --gold: #c4b385;
  --gold-wash: #f3eddc;
  --gold-ink: #6f5e2c;       /* the one gold text colour: 5.42:1 on gold-wash */
  --sand: #e9e2d2;           /* inset surfaces behind photos */
  --line: #e4dccb;
  --line-strong: #8f8577;   /* borders that are the control itself: 3:1 on paper and ground */
  --bad: #a8402d;
  --bad-wash: #f8e9e4;
  --bad-ink: #7c2c1d;
  --ok: #1f7a55;
  --r: 12px;
  --r-s: 8px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font-serif: 'Source Serif 4', 'SS4 Fallback', Georgia, serif;
  --font-sans: 'Schibsted Grotesk', 'Schibsted Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: var(--font-serif);
  --sans: var(--font-sans);
  /* type scale: the only font sizes allowed in this file (icons excepted) */
  --t-display: 30px;  /* h1 / screen title (28px under 360px) */
  --t-title: 22px;    /* stay name */
  --t-dialog: 20px;   /* dialog + sheet titles */
  --t-h2: 18px;       /* section h2, figures */
  --t-body: 16px;     /* body, buttons, inputs, links */
  --t-small: 14px;    /* meta, hints, labels */
  --t-caption: 13px;  /* floor: nothing smaller */
  --t-otp: 26px;
  --gut: 16px;
  --bar: 84px;
  /* the landing hub and its chrome (5 Dec 2026, Figma Precheck-in>booker/guest) */
  --wa: #1a7a43;             /* WhatsApp green, 5.4:1 with white */
  --wa-ink: #ffffff;
  --mint: #e6f6f4;           /* Figma info bands (#E6FAFA family) */
  --mint-ink: #0b4f4b;
  --ink-btn: #1d2b29;        /* Figma's solid dark primary inside cards */
  --card-line: #e6e1d8;
  --ring-off: #c9c6c0;
  --dot-off: #cfd8d6;
  --tab-ground: #f3f1ec;
  --map-ground: #eef3ee;
  --map-water: #dbe9f0;
  --star: #c9962b;
  --on-teal: #e3f1ef;        /* text on teal-deep: 9.4:1 */
  --on-teal-2: #bfe3df;
  --on-teal-3: #cfe6e3;
  --scene-ground: #f6efe0;
  --ic-xs: 11px; --ic-s: 15px; --ic-m: 17px; --ic-xl: 28px; --ic-xxl: 30px;   /* icon glyph sizes */
  accent-color: var(--teal); color-scheme: light;
}
::selection { background: var(--teal-wash); color: var(--ink); }
.in, .otp, textarea { caret-color: var(--teal); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); scroll-padding-bottom: calc(var(--bar) + 24px); }
body {
  margin: 0; min-height: 100dvh; background: var(--ground); color: var(--ink);
  font: 400 var(--t-body)/1.5 var(--sans);
  -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none;
}
h1, h2, h3, p { margin: 0; }
h1 { font: 600 var(--t-display)/1.15 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
h2 { font: 600 var(--t-h2)/1.3 var(--sans); letter-spacing: -0.005em; }
p, .terms, dialog.dlg p, .stop p { text-wrap: pretty; }
/* Tabular figures only where a box holds figures alone: Schibsted's tabular set also widens commas and colons in running text. */
.num, .otp, .dob .in, .phone .in, .key-d b { font-variant-numeric: tabular-nums lining-nums; }
.key-d, .stay-d, .kv dd, .row-s, .top-meta { font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a.btn, a.cap-btn, a.txt-btn, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button, summary, a.btn, a.cap-btn, a.help-row, .opt, .chip, .tick-l { -webkit-user-select: none; user-select: none; }
button, summary { cursor: pointer; }
:where(a, button, input, select, textarea, summary, [tabindex]) { scroll-margin-bottom: calc(var(--bar) + 24px); }
a { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
/* main and h1 take focus from script on each screen change; the UA shows no ring for that unless the keyboard moved it (:focus-visible above) */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-150%); background: var(--paper); padding: 10px 14px; border-radius: var(--r-s); z-index: 50; }
.skip:focus { transform: none; }
.noscript { padding: 24px; }

/* ---------- shell ---------- */
#app { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.boot { margin: auto; text-align: center; color: var(--muted); padding: 24px; }
.boot-mark { margin: 0 auto 14px; width: 56px; height: 56px; }
.boot p { font-size: var(--t-body); }

.top {
  position: sticky; top: 0; z-index: 10; background: var(--ground);
  padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gut) 10px;
}
.top-row { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.top-back {
  width: 44px; height: 44px; margin-left: -12px; border: 0; background: none; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
}
.top-mark { height: 22px; width: auto; }
.top-meta { margin-left: auto; text-align: right; font-size: var(--t-caption); line-height: 1.25; color: var(--muted); }
.top-meta b { display: block; color: var(--ink); font-weight: 600; font-size: var(--t-small); }
.prog { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 8px; }
.prog i { display: block; height: 100%; width: 100%; background: var(--teal); border-radius: 4px; transform-origin: left center; }

.screen { flex: 1; padding: 20px var(--gut) calc(var(--bar) + 32px + env(safe-area-inset-bottom, 0px)); }
.screen.flush { padding-top: 0; }
.screen.nobar { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 32px); }
.screen > * + * { margin-top: 16px; }
.blk > * + * { margin-top: 16px; }           /* a hub block: the same rhythm as the screen it sits in */
.lede { color: var(--ink-2); font-size: var(--t-body); margin-top: 8px !important; }
.small { font-size: var(--t-small); color: var(--muted); }
.enter { animation: enter 140ms linear both; }
@keyframes enter { from { opacity: 0; } to { opacity: 1; } }

/* ---------- hero + stay key card (the one signature element) ---------- */
.hero { position: relative; margin: 0 calc(var(--gut) * -1); height: 44svh; min-height: 250px; max-height: 420px; background: var(--sand); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 30, 28, 0.55) 0%, rgba(20, 30, 28, 0) 28%); pointer-events: none; }
.hero img.hero-mark { position: absolute; object-fit: contain; z-index: 1; left: var(--gut); top: calc(env(safe-area-inset-top, 0px) + 16px); height: 24px; width: auto; }
.key {
  position: relative; z-index: 2; margin-top: -56px !important; background: var(--paper); border-radius: var(--r);
  border: 1px solid var(--line);
}
.key-head { padding: 16px 16px 12px; }
.key-head .key-t { font: 600 var(--t-title)/1.2 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
/* the same card as a pass on the last screen: it sits in the page, stamped */
.key.pass { margin-top: 20px !important; }
.key.pass .key-head { padding-top: 16px; }
.key-stamp { display: inline-flex; align-items: center; gap: 6px; margin: 16px 16px 0; padding: 0; border-radius: 0; background: none; color: var(--teal-deep); font-size: var(--t-small); font-weight: 500; }
.key-stamp .ic { font-size: 11px; }
.key-where { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: var(--t-small); margin-top: 6px; }
.key-where .ic { margin-top: 3px; flex: none; }
.key-dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); position: relative; }
.key-d span { display: block; font-size: var(--t-caption); color: var(--muted); }
.key-d b { display: block; font: 600 var(--t-h2)/1.25 var(--sans); }
.key-d small { display: block; font-size: var(--t-caption); color: var(--ink-2); }
.key-d.out { text-align: right; }
.key-n { font-size: var(--t-small); color: var(--muted); white-space: nowrap; font-weight: 500; }
.key-foot { display: flex; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--ink-2); }
.key-foot span { display: inline-flex; align-items: center; gap: 6px; }

.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-s); background: var(--gold-wash); color: var(--ink-2); font-size: var(--t-body); }
.note .ic { flex: none; margin-top: 4px; color: var(--gold-ink); }
.note.bad { background: var(--bad-wash); color: var(--bad-ink); }
.note.bad .ic { color: var(--bad); }
.note.ok { background: var(--teal-wash); color: var(--teal-deep); }
.note.ok .ic { color: var(--teal); }

/* ---------- icons ---------- */
.ic { width: 1em; height: 1em; fill: currentColor; display: inline-block; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: var(--t-body); text-decoration: none;
  transition: transform 140ms var(--ease), opacity 140ms linear; width: 100%;
}
.btn:active { transform: scale(0.97); }
.btn.pri { background: var(--teal); color: #fff; -webkit-font-smoothing: antialiased; }
.btn.sec { background: var(--paper); color: var(--teal-deep); border-color: var(--teal); }
.btn.ghost { background: none; color: var(--teal-deep); min-height: 48px; }
.btn.danger { background: var(--paper); color: var(--bad); border-color: var(--bad); }
.btn.slim { min-height: 44px; font-size: var(--t-body); padding: 0 16px; width: auto; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
/* Not ready yet, but still pressable: the press says what is missing. Quieter fill, full contrast text. */
.btn[aria-disabled="true"] { opacity: 1; background: var(--teal-muted); }
.btn.busy { pointer-events: none; }
.btn.busy .ic { display: none; }
.btn.busy::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 620ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (hover: hover) and (pointer: fine) {
  .btn.pri:not([aria-disabled="true"]):hover { background: var(--teal-deep); }
  .btn.sec:hover, .btn.ghost:hover { background: var(--teal-wash); }
  .opt:hover, .row-btn:hover { border-color: var(--teal); }
}
.row-btn:active, a.help-row:active { background: var(--teal-wash); }
.top-back:active, .icon-btn:active { background: rgba(29, 43, 41, 0.07); }
.link:active, .txt-btn:active, .foot-a:active { opacity: 0.6; }
.link { background: none; border: 0; padding: 12px 4px; min-height: 44px; color: var(--teal-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.link[disabled] { color: var(--muted); text-decoration: none; font-weight: 500; cursor: default; font-variant-numeric: tabular-nums; }
.txt-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--teal-deep); font-weight: 500; font-size: var(--t-body); text-decoration: underline; text-underline-offset: 3px; }
.txt-btn.bad { color: var(--bad); }
.txt-btn.busy { opacity: 0.6; pointer-events: none; }

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(251, 247, 243, 0) 0, var(--ground) 18px);
  padding: 18px var(--gut) calc(env(safe-area-inset-bottom, 0px) + 14px);
}
.bar-in { max-width: 448px; margin: 0 auto; display: grid; gap: 4px; }

/* ---------- forms ---------- */
.f { display: block; }
.f > label, .f > .lab, fieldset.f > legend { display: block; font-size: var(--t-small); line-height: 1.3; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.f .opt-tag { font-weight: 400; color: var(--muted); }
.in, .sel {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-s); border: 1.5px solid var(--line-strong);
  background: var(--paper); font-size: var(--t-body); line-height: 1.3; appearance: none; -webkit-appearance: none;
}
.sel { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231d2b29' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.in:focus, .sel:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); box-shadow: none; }
.in[type=date] { display: flex; align-items: center; }
.in[type=date]::-webkit-date-and-time-value { text-align: left; }
.in[aria-invalid="true"], .sel[aria-invalid="true"] { border-color: var(--bad); }
.in::placeholder { color: var(--muted); opacity: 1; }
.err { display: flex; gap: 6px; align-items: flex-start; color: var(--bad); font-size: var(--t-small); margin-top: 6px; }
.err .ic { margin-top: 3px; }
.hint { font-size: var(--t-small); color: var(--muted); margin-top: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dob { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; max-width: 300px; }
.dob .in { text-align: center; padding-left: 8px; padding-right: 8px; }
.phone { display: grid; grid-template-columns: 128px 1fr; gap: 8px; }
.otp { font: 600 var(--t-otp)/1.2 var(--sans); letter-spacing: 0.35em; text-align: center; padding-left: 0.35em; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-size: var(--t-small); line-height: 1.3; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
fieldset.f > legend { margin-bottom: 6px; }
.stack > * + * { margin-top: 14px; }
.group-h { font: 600 var(--t-h2)/1.3 var(--font-sans); color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 24px !important; }

/* option cards (radio) */
.opts { display: grid; gap: 10px; }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border-radius: var(--r);
  border: 1.5px solid var(--line); background: var(--paper); text-align: left; width: 100%;
  transition: transform 140ms var(--ease);
}
.opt:active { transform: scale(0.98); }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt-ic { width: auto; height: auto; background: none; color: var(--teal-deep); display: grid; place-items: center; font-size: 20px; flex: none; }
.opt-t { font-weight: 600; display: block; }
.opt-s { font-size: var(--t-small); color: var(--muted); display: block; }
.opt-dot { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; color: #fff; font-size: 11px; }
.opt-dot .ic { opacity: 0; }
.opt:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.opt:has(input:checked) .opt-dot { background: var(--teal); border-color: var(--teal); }
.opt:has(input:checked) .opt-dot .ic { opacity: 1; }
.opt:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.opts.bad .opt { border-color: var(--bad); }
.opts + .err { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); display: inline-flex; align-items: center; font-size: var(--t-small); font-weight: 500; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--teal); background: var(--teal); color: #fff; -webkit-font-smoothing: antialiased; }
.chip { transition: transform 140ms var(--ease); }
.chip:active { transform: scale(0.97); }
.chip:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ticks (declaration): the card is a plain box; only the tick and its title are the label */
.tick { position: relative; cursor: pointer; padding: 6px 14px 10px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); }
.tick-l { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 10px 0 6px; min-height: 48px; cursor: pointer; }
.tick-l input { position: absolute; opacity: 0; width: 28px; height: 28px; left: 0; top: 10px; margin: 0; cursor: pointer; }
.tick-box { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: #fff; font-size: 14px; background: var(--paper); }
.tick-box .ic { opacity: 0; transform: scale(0.8); transition: transform 140ms var(--ease), opacity 100ms linear; }
.tick:has(input:checked) { border-color: var(--teal); }
.tick-l:has(input:checked) .tick-box { background: var(--teal); border-color: var(--teal); }
.tick-l:has(input:checked) .tick-box .ic { opacity: 1; transform: none; }
.tick-l:has(input:focus-visible) .tick-box { outline: 3px solid var(--teal); outline-offset: 2px; }
.tick-t { font-weight: 600; line-height: 1.35; padding-top: 2px; }
.tick-t small { font-weight: 400; color: var(--muted); font-size: var(--t-small); display: block; }
.tick-t .opt-tag { font-weight: 400; color: var(--muted); }
.tick.bad { border-color: var(--bad); }
.tick.bad .tick-box { border-color: var(--bad); }
.tick-req { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; color: var(--bad); font-size: var(--t-small); font-weight: 600; pointer-events: none; }
.tick-req[hidden] { display: none; }
.tick .terms { cursor: auto; }
.tick:has(details[open]) .tick-req { position: static; margin-left: 40px; }
.tick:not(:has(details)) .tick-l:has(input[aria-required]) { padding-bottom: 26px; }
.tick { transition: border-color 140ms var(--ease); }
.tick details { margin-left: 40px; }
.tick summary { color: var(--teal-deep); font-weight: 500; font-size: var(--t-body); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.tick summary::-webkit-details-marker { display: none; }
.tick summary .ic { font-size: 11px; transition: transform 140ms var(--ease); }
.tick details[open] summary .ic { transform: rotate(90deg); }
/* the full text reads in the page: no box that scrolls inside the page */
.terms { font-size: var(--t-body); line-height: 1.55; color: var(--ink-2); padding: 2px 0 8px; overflow-wrap: anywhere; max-width: 62ch; }
.md > * + * { margin-top: 10px; }
.md h3 { font: 600 var(--t-body)/1.35 var(--sans); color: var(--ink); margin-top: 16px; }
.md ul { margin: 10px 0 0; padding-left: 20px; }
.md li + li { margin-top: 6px; }

/* ---------- ID capture ---------- */
.cap { border: 0; border-radius: 0; background: none; padding: 0; }
.cap.has { border-style: solid; border-color: var(--line); }
.cap-h { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 10px; }
.cap-h .done { margin-left: auto; color: var(--ok); display: inline-flex; gap: 6px; align-items: center; font-size: var(--t-small); font-weight: 600; }
.cap-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cap-btn {
  text-decoration: none; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px;
  border-radius: var(--r-s); border: 1.5px solid var(--teal); background: var(--paper); color: var(--teal-deep); font-weight: 600; font-size: var(--t-body);
  transition: transform 140ms var(--ease); overflow: hidden;
}
.cap-btn.pri { background: var(--teal); color: #fff; }
.cap-btn .ic { font-size: 24px; }
.cap-btn:active { transform: scale(0.97); }
.cap-btn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.cap-btn:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.cap-prev { border-radius: var(--r-s); overflow: hidden; background: var(--sand); aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--muted); }
.cap-prev img { width: 100%; height: 100%; object-fit: contain; }
.cap-prev .pdf { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: var(--t-small); }
.cap-prev .pdf .ic { font-size: 30px; color: var(--ink-2); }
.cap-act { display: flex; gap: 8px; margin-top: 10px; }
.cap-act .btn { flex: 1; }
.cap-busy { min-height: 92px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink-2); font-size: var(--t-body); }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--teal); border-right-color: transparent; animation: spin 620ms linear infinite; }
.lockline { display: flex; align-items: flex-start; gap: 8px; }
.lockline .ic { margin-top: 4px; }
/* WP-B: the scan guide (a frame the shape of the document), the checking screen, the ID choice */
.cap.guide:not(.has)::before { content: ''; display: block; width: min(100%, 250px); aspect-ratio: 1.586; margin: 2px auto 14px; border: 2px dashed var(--teal); border-radius: var(--r); background: var(--teal-wash); }
.cap.guide.page:not(.has)::before { aspect-ratio: 1.42; border-radius: 8px; }
.check-w { min-height: 46vh; display: grid; justify-items: center; align-content: center; gap: 14px; text-align: center; }
.spin.big { width: 44px; height: 44px; border-width: 3.5px; }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 1.6s; } }
button.opt { cursor: pointer; font: inherit; color: inherit; }
button.opt[aria-current='true'] { border-color: var(--teal); background: var(--teal-tint); }
button.opt:focus-visible, button.chip:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
button.chip { cursor: pointer; font-family: inherit; color: inherit; }
.opt-go { margin-left: auto; color: var(--muted); font-size: 12px; flex: none; }
.id-flag { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--t-small); color: var(--ink-2); }
.tips li { display: flex; gap: 10px; align-items: flex-start; }
.tips .ic { margin-top: 4px; color: var(--teal); font-size: 12px; }
.note b + .note-s { display: block; }

/* ---------- signature ---------- */
.sig { position: relative; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.sig canvas { display: block; width: 100%; height: clamp(190px, 38svh, 320px); touch-action: none; cursor: crosshair; }
.sig-line { position: absolute; left: 18px; right: 18px; bottom: 46px; border-bottom: 1.5px solid var(--gold); pointer-events: none; }
.sig-x { position: absolute; left: 18px; bottom: 52px; color: var(--gold); font: 500 var(--t-dialog)/1 var(--sans); pointer-events: none; }
.sig-ph { position: absolute; left: 0; right: 0; top: 34%; text-align: center; color: var(--muted); pointer-events: none; font-size: var(--t-body); }
.sig-clear { position: absolute; right: 6px; bottom: 0; }
.sig.bad { border-color: var(--bad); }

/* ---------- lists ---------- */
.rows { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 60px; }
.row + .row { border-top: 1px solid var(--line); }
.row-av { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; font-weight: 600; font-size: var(--t-small); flex: none; }
.row-av.wait { background: var(--gold-wash); color: var(--gold-ink); }
.row-m { min-width: 0; flex: 1; }
.row-t { font-weight: 600; overflow-wrap: anywhere; }
.row-s { font-size: var(--t-small); color: var(--muted); }
.row-end { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: none; }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-small); line-height: 1.3; font-weight: 500; padding: 0; border-radius: 0; background: none; color: var(--gold-ink); white-space: nowrap; }
.state::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state:empty::before { content: none; }
.state.ok { color: var(--teal-deep); }
.state.bad { color: var(--bad-ink); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--ink-2); display: grid; place-items: center; font-size: 16px; }
.icon-btn:active { transform: scale(0.94); }
.row.inv { flex-wrap: wrap; }
.row-acts { flex-basis: 100%; display: flex; gap: 12px 20px; flex-wrap: wrap; padding-left: 50px; margin-top: -6px; }
.stay-d { display: flex; align-items: center; gap: 10px; padding: 14px; font: 600 var(--t-h2)/1.25 var(--sans); border-bottom: 1px solid var(--line); }
.stay-d .ic { color: var(--teal-deep); font-size: 15px; }
.stay-h { padding: 12px 14px 6px; }
.stay-h + .stay-h { border-top: 1px solid var(--line); }
.stay-h .row-s { margin-top: 2px; }
.tail { margin-top: 28px !important; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 28px !important; }
.sec-h span { font-size: var(--t-small); color: var(--muted); }
.gprog { display: flex; align-items: center; gap: 10px; }
/* ---------- booking hub: shorter photo, group progress bar, this guest's steps ---------- */
.hub .hero { height: 26svh; min-height: 190px; max-height: 300px; }
.hub-g { padding: 16px; margin-top: 12px !important; }
.gbar { display: flex; gap: 2px; height: 6px; margin-top: 8px; }
.gbar i { flex: 1; background: var(--line); }
.gbar i.done { background: var(--teal); }
.gbar i.part { background: var(--gold); }
.gprog .gbar { flex: 1; margin-top: 0; }
.steps { list-style: none; margin: 12px 0 0 !important; padding: 0; }
.steps, .upds { background: none; border: 0; border-radius: 0; }
.steps .row + .row, .upds .row + .row { border-top: 1px solid var(--line); }
.step { min-height: 56px; }
.step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: var(--t-small); font-weight: 600; border: 1.5px solid var(--line-strong); color: var(--muted); }
.step-n .ic { font-size: 12px; }
.step.done .step-n { background: var(--teal); border-color: var(--teal); color: #fff; }
.step.current { background: var(--teal-wash); }
.step.current .step-n { border-color: var(--teal); color: var(--teal-deep); background: var(--paper); }
.step.todo .row-t { color: var(--ink-2); font-weight: 500; }
.state.idle { color: var(--muted); }
.step.current .state { color: var(--teal-deep); }

.share { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.share:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.share .cap-btn { min-height: 80px; font-size: var(--t-small); padding: 0 4px; }
.share .cap-btn span { white-space: nowrap; }
.share .cap-btn .ic { font-size: 22px; }
.wa { border-color: #1c8a4d; color: #146c3b; }
.wa.fill { background: #146c3b; border-color: #146c3b; color: #fff; }
dialog.dlg .share { margin-top: 16px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.panel > * + * { margin-top: 12px; }

/* ---------- upsell ---------- */
.offers { display: grid; gap: 12px; }
.offer { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.offer-img { aspect-ratio: 16 / 9; background: var(--sand); }
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-b { padding: 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.offer-ic { grid-row: span 2; display: grid; place-items: start center; padding-top: 2px; font-size: 20px; color: var(--gold-ink); }
.offer-t { font-weight: 600; font-size: var(--t-body); line-height: 1.35; }
.offer-s { font-size: var(--t-small); color: var(--muted); grid-column: 2; }
.offer-f { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.offer-p { font-size: var(--t-small); color: var(--ink-2); min-width: 0; white-space: nowrap; }
.offer-f .btn { flex: none; white-space: nowrap; }
.offer-p b { font-size: var(--t-body); color: var(--ink); }
.offer .btn { transition: transform 140ms var(--ease), background-color 140ms linear, color 140ms linear; }
.offer .btn.on { background: var(--teal); color: #fff; }

/* ---------- state screens ---------- */
.stop { margin: auto 0; padding: 40px var(--gut); }
.stop-ic { display: block; color: var(--gold-ink); font-size: 28px; margin-bottom: 16px; }
.stop-ic.bad { color: var(--bad); }
.stop-ic.ok { color: var(--teal-deep); }
.stop p { margin-top: 10px; color: var(--ink-2); }
.stop .stop-next { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.stop-next .ic { margin-top: 6px; font-size: 11px; color: var(--teal-deep); }
.stop .btn { margin-top: 24px; }
.foot { text-align: left; font-size: var(--t-caption); color: var(--muted); padding-top: 20px; }
.foot img { height: 18px; width: auto; margin-bottom: 8px; opacity: 0.9; }

/* ---------- dialog + toast ---------- */
dialog.dlg { border: 0; border-radius: var(--r); padding: 22px 20px 16px; width: min(92vw, 400px); background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(29, 43, 41, 0.5); overscroll-behavior: contain;
  transition: opacity 180ms linear, transform 180ms var(--ease); }
@starting-style { dialog.dlg[open] { opacity: 0; transform: translateY(8px) scale(0.98); } }
dialog.dlg::backdrop { background: rgba(29, 43, 41, 0.45); }
dialog.dlg h2 { font: 600 var(--t-dialog)/1.25 var(--font-serif); letter-spacing: -0.01em; }
dialog.dlg p { margin-top: 8px; color: var(--ink-2); }
.dlg-b { display: grid; gap: 8px; margin-top: 18px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px) + 16px); transform: translate(-50%, 12px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); font-size: var(--t-small); opacity: 0; pointer-events: none; transition: opacity 180ms linear, transform 220ms var(--ease); z-index: 40; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 720px) {
  body { background: #e9eeed; }
  #app { background: var(--ground); box-shadow: 0 0 0 1px var(--line); }
  .top { border-radius: 0; }
}
@media (max-width: 399px) { .two { grid-template-columns: 1fr; } }
@media (max-width: 359px) { h1 { font-size: 28px; } }
/* 768px and wider: web.css (loaded only at that width) lays the page out for a computer. */
@media (prefers-reduced-motion: reduce) {
  .enter { animation: none; }
  .btn, .offer .btn, .opt, .cap-btn, .chip, .toast, .tick, .tick-box .ic, .tick summary .ic { transition: none; }
  .btn:active, .opt:active, .cap-btn:active, .icon-btn:active, .chip:active { transform: none; }
  html { scroll-behavior: auto; }
  dialog.dlg { transition: opacity 180ms linear; }
  .btn.busy::before, .spin { animation-duration: 1.4s; }
}

/* ---------- WP-J: booking reference on the stay card, the hub's thank-you state, drafts ---------- */
.key-ref { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 16px 12px; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--muted); }
.key-ref b { color: var(--ink); font-weight: 600; font-size: var(--t-small); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: right; }
.thanks { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px !important; color: var(--ink); }
.thanks-i { flex: none; display: block; font-size: 18px; color: var(--teal); margin-top: 2px; }
.thanks b { display: block; font: 600 var(--t-body)/1.4 var(--font-sans); }
.thanks span { display: block; font-size: var(--t-body); color: var(--ink-2); }
.thanks-i span, .thanks-i .ic { margin: 0; }
.state.draft { color: var(--ink-2); }
.note.draft { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.note.draft b { margin-right: 8px; color: var(--ink); }
.note.draft p { margin: 6px 0 0; }
.note.draft .txt-btn { margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) { .thanks { animation: thanks-in 320ms var(--ease) both; } }
@keyframes thanks-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- WP-A: "Always here". The help pill, its bottom sheet, the manager and group cards ---------- */
.face { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--teal-wash); color: var(--teal-deep); font-weight: 600; font-size: var(--t-small); }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face.lg { width: 52px; height: 52px; font: 600 var(--t-h2)/1 var(--font-sans); }
.face.ic-only { background: var(--teal); color: #fff; font-size: 18px; }
.help-pill {
  --over: 0px;
  position: fixed; z-index: 30; right: max(var(--gut), calc(50vw - 240px + var(--gut)));
  bottom: calc(var(--over) + env(safe-area-inset-bottom, 0px) + 12px);
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; max-width: min(240px, calc(100vw - 2 * var(--gut)));
  padding: 5px 16px 5px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  box-shadow: 0 2px 8px -2px rgba(29, 43, 41, 0.25); text-align: left;
  transition: transform 140ms var(--ease);
}
.help-pill:active { transform: scale(0.97); }
.help-pill-t { display: grid; min-width: 0; line-height: 1.2; }
.help-pill-t b { font-weight: 600; font-size: var(--t-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.help-pill-t small { font-size: var(--t-caption); color: var(--muted); white-space: nowrap; }
/* Room under the last thing on the page, so the pill never sits on it. */
.has-help .screen { padding-bottom: calc(var(--bar) + 96px + env(safe-area-inset-bottom, 0px)); }
.has-help .screen.nobar { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); }
.has-help .toast { bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px) + 76px); }

dialog.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 480px; max-height: min(88dvh, 720px);
  border-radius: var(--r) var(--r) 0 0; background: var(--ground); color: var(--ink); overflow: hidden; overscroll-behavior: contain;
  box-shadow: 0 -18px 50px -22px rgba(29, 43, 41, 0.5);
  transition: transform 260ms var(--ease), opacity 180ms linear;
}
dialog.sheet[open] { display: flex; flex-direction: column; }
@starting-style { dialog.sheet[open] { transform: translateY(28px); opacity: 0; } }
dialog.sheet::backdrop { background: rgba(29, 43, 41, 0.45); }
.sheet-in { overflow-y: auto; padding: 10px var(--gut) calc(env(safe-area-inset-bottom, 0px) + 22px); }
.sheet-in::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-strong); opacity: 0.5; margin: 0 auto 6px; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-top h2 { font: 600 var(--t-dialog)/1.25 var(--font-serif); letter-spacing: -0.01em; }
.sheet-top .icon-btn { margin-right: -10px; }
.sheet-home { font: 500 var(--t-small)/1.3 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); margin: 24px 0 0; }
.sheet-in .mgr-h { padding: 14px 0 0; }
.sheet-in .rows { margin-top: 14px; background: none; border: 0; border-radius: 0; }
.sheet-foot { margin-top: 12px; font-size: var(--t-caption); color: var(--muted); text-align: center; }
.sheet-foot + .sheet-foot { margin-top: 2px; }
a.help-row { color: inherit; text-decoration: none; }
a.help-row .row-t, a.help-row .row-s { display: block; }
a.help-row .row-end { color: var(--muted); font-size: var(--t-caption); }
.row-av.tile { background: none; color: var(--ink-2); border-radius: 0; font-size: 18px; }
.row-av.tile.wa { background: none; color: var(--teal-deep); }
@media (hover: hover) and (pointer: fine) { a.help-row:hover { background: var(--teal-wash); } .help-pill:hover { border-color: var(--teal); } }
a.help-row:focus-visible { outline-offset: -3px; border-radius: var(--r-s); }

.mgr-h { display: flex; align-items: center; gap: 12px; padding: 14px 14px 0; }
.mgr-n { font: 600 var(--t-body)/1.35 var(--font-sans); overflow-wrap: anywhere; }
.mgr-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.mgr-acts:has(> :only-child), .mgr-acts.one { grid-template-columns: 1fr; }
.mgr-acts .btn { width: 100%; }
.mgr-hours { display: flex; align-items: center; gap: 8px; margin: -4px 14px 14px; font-size: var(--t-small); color: var(--muted); }
.mgr-hours .ic { font-size: 12px; }
.mgr-home { margin-bottom: -8px; font-weight: 600; color: var(--ink-2); }

@media (min-width: 720px) { dialog.sheet { margin: auto; border-radius: var(--r); } .sheet-in::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .help-pill { transition: none; }
  .help-pill:active { transform: none; }
  dialog.sheet { transition: opacity 180ms linear; }
  @starting-style { dialog.sheet[open] { transform: none; } }
}

/* ---------- WP-H: the guest's own record (updates, details, footer links) ---------- */
.row-btn { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; }
.row-btn .row-m > span { display: block; }
.row-btn .row-end > .ic { color: var(--muted); font-size: 12px; }
.row-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.rows.upds { list-style: none; margin-bottom: 0; padding: 0; }
.upd { align-items: flex-start; }
.upd .row-av.ok { background: var(--teal); color: #fff; }
.upd .row-av.bad { background: var(--bad-wash); color: var(--bad); }
.upd .row-av.warn { background: var(--gold-wash); color: var(--gold-ink); }
.upd.new .row-t::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--teal); vertical-align: 1px; }
.sec-h .state { font-size: var(--t-caption); color: var(--teal-deep); }
.sec-h .txt-btn { min-height: 44px; }

.rows.kv { margin: 0; }
.kv { font-size: var(--t-small); }
.kv .row { min-height: 0; align-items: baseline; padding: 12px 14px; }
.kv dt { flex: none; width: 38%; max-width: 150px; font-size: var(--t-small); color: var(--muted); }
.kv dd { margin: 0; min-width: 0; flex: 1; font-weight: 500; overflow-wrap: anywhere; }
.tick details .txt-btn { margin-top: 4px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0 -2px; }
.foot-a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border: 0; background: none; font: inherit; font-size: var(--t-small); font-weight: 500; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot-a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.foot .foot-wa { margin-top: 8px; width: auto; }

/* ---------- WP-G: drawn scenes (a home with no photographs), in the four brand colours ---------- */
.hero.scene, .gal-main.scene, .d-hero { background: #f6efe0; }
.scene-svg { display: block; width: 100%; height: 100%; }
.sc-sky { fill: #f6efe0; }
.sc-soft { fill: #e6dcc3; }
.sc-paper { fill: #fffdf8; }
.sc-teal { fill: #008281; }
.sc-gold { fill: #c4b385; }
.sc-mauve { fill: #a18180; }
.sc-brick { fill: #584139; }

/* ---------- WP-G: stay card links, countdown, what happens next, add-ons, nearby ---------- */
.key-links { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 2px 18px 4px; border-top: 1px solid var(--line); }
.cd { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--teal); color: #fff; }
.cd-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: rgba(255, 255, 255, 0.16); }
.cd-m { display: grid; min-width: 0; }
.cd-l { font-size: var(--t-caption); opacity: 0.86; }
.cd-d { font: 600 var(--t-h2)/1.25 var(--font-sans); }
.cd-t { font-size: var(--t-small); opacity: 0.92; margin-top: 2px; }
.cd.stay { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.cd.stay .cd-ic { background: var(--teal-wash); color: var(--teal-deep); }
.tl, .places, .doors { margin-top: 12px !important; }
.places { list-style: none; padding: 0; }
.tl { list-style: none; padding: 0; }
.tl-i.done .row-av { background: var(--teal); color: #fff; }
.tl-i.now .row-av { box-shadow: 0 0 0 2px var(--teal); }
.tl-i.next .row-av { background: var(--ground); color: var(--muted); }
.tl-i.next .row-t { color: var(--ink-2); font-weight: 500; }
.row-av.tile.gold { color: var(--gold-ink); }
.arr { display: flex; gap: 12px; overflow-x: auto; margin: 12px calc(var(--gut) * -1) 0 !important; padding: 2px var(--gut) 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.arr::-webkit-scrollbar, .gal-ts::-webkit-scrollbar, .fchips::-webkit-scrollbar { display: none; }
.arr-c { flex: 0 0 168px; scroll-snap-align: start; display: grid; gap: 6px; justify-items: start; align-content: start; text-align: left; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.arr-c:focus-visible, .fchip:focus-visible, .gal-t:focus-visible, .d-nav-a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.arr-c .state { font-size: var(--t-caption); }
.arr-c .state .ic { font-size: 10px; }
.sec-h + .small { margin-top: 4px !important; }
.place { align-items: flex-start; }
.place .pick, .offer-badge { margin-left: 8px; font-size: var(--t-caption); padding: 2px 8px; vertical-align: 2px; }
.place .why { color: var(--ink-2); }
.place-go { flex: none; color: var(--teal-deep); background: var(--teal-wash); text-decoration: none; }

/* ---------- WP-G: about the home, house rules, cancellation request ---------- */
.gal { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); }
.gal-main { aspect-ratio: 3 / 2; background: var(--sand); overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-ts { display: flex; gap: 8px; overflow-x: auto; padding: 8px var(--gut) 2px; scrollbar-width: none; }
.gal-t { flex: 0 0 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: var(--r-s); overflow: hidden; background: var(--sand); cursor: pointer; }
.gal-t[aria-pressed="true"] { border-color: var(--teal); }
.gal-t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-n { font-weight: 600; color: var(--ink); }
.rating { display: flex; align-items: center; gap: 6px; font-size: var(--t-small); color: var(--ink-2); }
.rating .ic { color: var(--gold-ink); }
.rating b { color: var(--ink); }
.where-go { margin: -12px 0 -12px auto; flex: none; white-space: nowrap; }
.facts { list-style: none; margin-bottom: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-s); background: var(--paper); border: 1px solid var(--line); font-size: var(--t-small); color: var(--ink-2); }
.facts .ic { color: var(--teal-deep); font-size: 13px; }
.offer-facts { grid-column: 1 / -1; margin: 8px 0 0; gap: 6px; }
.offer-facts li { font-size: var(--t-caption); padding: 4px 10px; background: var(--ground); }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.time { padding: 14px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.time span { display: block; font-size: var(--t-caption); color: var(--muted); }
.time b { display: block; font: 600 var(--t-h2)/1.25 var(--font-sans); }
.time small { display: block; font-size: var(--t-caption); color: var(--ink-2); margin-top: 4px; }
.amen { list-style: none; margin-bottom: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px !important; }
.amen li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--t-small); min-width: 0; overflow-wrap: anywhere; }
.amen .ic { color: var(--teal-deep); margin-top: 4px; }
.rule > * + * { margin-top: 8px; }
.cancel-why { align-items: flex-start; }
.cancel-q { margin-top: 2px; color: var(--ink); overflow-wrap: anywhere; white-space: pre-wrap; }
.in.area { min-height: 112px; resize: vertical; font-family: inherit; display: block; }
dialog.dlg .f { margin-top: 14px; }
dialog.dlg .note { margin-top: 12px; }

/* ---------- WP-G: catalogue filters ---------- */
.fchips { display: flex; gap: 8px; overflow-x: auto; margin: 16px calc(var(--gut) * -1) 0 !important; padding: 2px var(--gut); scrollbar-width: none; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); font-size: var(--t-small); font-weight: 500; cursor: pointer; }
.fchip small { font-size: var(--t-caption); color: var(--muted); }
.fchip[aria-pressed="true"] { border-color: var(--teal); background: var(--teal); color: #fff; }
.fchip[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.82); }
.offer[hidden] { display: none; }
@media (max-width: 359px) { .times, .amen { grid-template-columns: 1fr; } }

/* ---------- WP-G: the web header, stay rail and photo panel. Hidden on a phone; web.css draws them ---------- */
.d-head, .d-rail, .d-art { display: none; }   /* web.css draws them from 768px */
.cx-pic { display: none; }                    /* the photo beside "Let's connect": web only */
@media (prefers-reduced-motion: reduce) { .arr { scroll-snap-type: none; } }

/* ---------------------------------------------------------------- My trips (WP-F): find my stay, tabs, stay cards */
.phone.wide { grid-template-columns: minmax(150px, 44%) 1fr; }
.phone.wide select { text-overflow: ellipsis; }
.find-tip { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px !important; }
.find-tip .ic { flex: none; margin-top: 3px; color: var(--teal-deep); }
.tabs { display: flex; gap: 4px; margin-top: 16px !important; padding: 4px; background: var(--gold-wash); border-radius: var(--r-s); }
.tab { flex: 1; min-width: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); font: 500 var(--t-small)/1.2 var(--sans); cursor: pointer; transition: background-color 140ms linear, color 140ms linear; }
.tab[aria-selected="true"] { background: var(--paper); color: var(--teal-deep); font-weight: 600; box-shadow: 0 1px 2px rgba(29, 43, 41, 0.12); }
.tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.tab-n { font-size: var(--t-caption); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tab[aria-selected="true"] .tab-n { color: var(--teal-deep); }
#trips-panel { margin-top: 14px !important; }
#trips-panel:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: var(--r); }
.trips { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trip { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.trip-pic { position: relative; aspect-ratio: 16 / 9; background: var(--sand); overflow: hidden; }
.trip-pic > img, .trip-pic > svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.trip.off .trip-pic > img, .trip.off .trip-pic > svg { filter: grayscale(0.7); opacity: 0.85; }
.trip-src, .trip-now { position: absolute; top: 10px; padding: 4px 10px; border-radius: var(--r-s); font-size: var(--t-caption); font-weight: 600; line-height: 1.3; }
.trip-src { left: 10px; background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.trip-src:empty { display: none; }
.trip-now { right: 10px; background: var(--teal-deep); color: #fff; }
.trip-b { padding: 14px 16px 16px; }
.trip-t { font: 600 var(--t-dialog)/1.25 var(--serif); color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.trip-where { display: flex; gap: 6px; align-items: center; margin: 4px 0 0; font-size: var(--t-small); color: var(--muted); }
.trip-facts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--t-small); color: var(--ink-2); }
.trip-facts li { display: inline-flex; gap: 6px; align-items: center; }
.trip-facts .ic, .trip-where .ic { flex: none; color: var(--teal-deep); }
.trip-ref { display: flex; gap: 8px; align-items: baseline; margin: 10px 0 0; font-size: var(--t-small); color: var(--muted); }
.trip-ref b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.trip-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.trip-foot .state { white-space: normal; }
.trip-foot .state:empty { display: none; }
.trip-foot .btn { width: auto; min-width: 112px; margin-left: auto; }
.trips-none { padding: 28px 16px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--r); }
.trips-end { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px !important; }
@media (min-width: 720px) {
  .trip { display: grid; grid-template-columns: 200px 1fr; }
  .trip-pic { aspect-ratio: auto; min-height: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tab { transition: none; } }

/* ---- WP-C: About your stay, the GST bill, Verify online ---- */
.gst-pill { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.gst .chips + .stack { margin-top: 14px; }
.in.gstin { text-transform: uppercase; font-variant-numeric: tabular-nums; }
.in[readonly] { background: var(--ground); color: var(--ink-2); }

/* WP-D guest: roster states, the lead's Nudge, the stop-screen actions */
.state.warn { color: var(--gold-ink); }
.state.mute { color: var(--muted); }
.row.open .row-av { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); }
.row.open .row-t { color: var(--muted); font-weight: 500; }
.row-acts .nudged { display: inline-flex; align-items: center; min-height: 44px; }
.stop-acts { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.stop .stop-acts .btn { margin-top: 0; }
.stop-help:empty { display: none; }
.stop-help .btn { width: 100%; }
.stop .stop-said { margin-top: 0; padding: 14px; border-radius: var(--r-s); background: var(--teal-wash); color: var(--teal-deep); font-weight: 600; }

/* ID first (5 Dec 2026): the lead's done screen, the group donut. Guest tokens only. */
.done-group { display: grid; gap: 14px; }
.dn-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dn-fig { position: relative; width: 132px; height: 132px; flex: none; }
.dn { width: 100%; height: 100%; display: block; }
.dn circle { fill: none; stroke-width: 12; }
.dn-track { stroke: var(--sand); }
.dn-seg { stroke-linecap: butt; }
.dn-verified { stroke: var(--teal-deep); background: var(--teal-deep); }
.dn-signed { stroke: var(--teal); background: var(--teal); }
.dn-started { stroke: var(--gold); background: var(--gold); }
.dn-open { background: var(--sand); }
.dn-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dn-mid b { font: 600 var(--t-h2)/1.1 var(--serif); color: var(--ink); }
.dn-mid span { font-size: var(--t-caption); color: var(--muted); }
.dn-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--t-small); color: var(--ink-2); }
.dn-key li { display: flex; align-items: center; gap: 8px; }
.dn-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.done-note { margin: 0; color: var(--ink-2); }

/* ======================================================================================================
   The landing hub (5 Dec 2026, owner rule 9; Figma Precheck-in>booker/guest + Android Compact) and the shared chrome
   (teal footer, "WhatsApp Us" pill). Phone first; web.css lays the same nodes out from 768px. Guest tokens only. */
.btn.ink { background: var(--ink-btn); color: var(--paper); -webkit-font-smoothing: antialiased; }
.note.info { background: var(--mint); color: var(--mint-ink); }
.note.info .ic { color: var(--teal); }

.lhub { padding-top: 0; }
.lhub > * + * { margin-top: 0; }
.lh-phead { display: flex; align-items: center; gap: 8px; padding: calc(env(safe-area-inset-top, 0px) + 14px) 0 12px; border-bottom: 1px solid var(--gold); margin: 0 0 16px; }
.lh-phead img:first-child { width: 26px; height: 26px; }
.lh-phead img:last-child { height: 18px; width: auto; }
.lh-top { display: flex; flex-direction: column; gap: 16px; }
.lh-side { display: contents; }               /* phone: the stay first, then Pre Check-In, then location + host */
.lh-prop-top { order: -1; }
.lh-prop-info { order: 1; }
.lh-card { background: var(--paper); border: 1px solid var(--card-line); border-radius: var(--r); padding: 16px; min-width: 0; }
.lh-card > * + * { margin-top: 14px; }
.lh-t { font: 600 var(--t-dialog)/1.25 var(--serif); letter-spacing: -0.01em; }
.lh-greet { font-weight: 600; color: var(--ink); margin-top: 6px !important; }
.lh-p { color: var(--muted); font-size: var(--t-small); line-height: 1.55; margin-top: 4px !important; }
.lh-h { font: 600 var(--t-body)/1.3 var(--sans); color: var(--ink); margin-top: 20px !important; }
.lh-card .note { font-size: var(--t-small); }

/* the donut */
.lh-dn { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lh-dn-fig { position: relative; width: 136px; height: 136px; flex: none; }
.lh-ring { width: 100%; height: 100%; display: block; }
.lh-ring circle { fill: none; stroke-width: 13; }
.lh-ring-bg { stroke: var(--ring-off); }
.lh-ring-on { stroke: var(--teal); }
.lh-ring-mid { stroke: var(--gold); }
.lh-dn-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.15; }
.lh-dn-mid b { font: 600 var(--t-h2)/1.1 var(--serif); color: var(--ink); }
.lh-dn-mid span { font-size: var(--t-caption); color: var(--muted); }
.lh-dn-side { display: grid; gap: 4px; min-width: 0; }
.lh-dn-on { color: var(--teal-deep); font-weight: 600; font-size: var(--t-small); }
.lh-dn-rest { color: var(--muted); font-size: var(--t-small); }
.lh-dn-key { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: var(--t-small); color: var(--ink-2); }
.lh-dn-key li { display: flex; align-items: center; gap: 8px; }
.lh-dn-key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.k-on { background: var(--teal); } .k-mid { background: var(--gold); } .k-off { background: var(--ring-off); }

/* who is completing */
.lh-who { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.lh-who legend { display: flex; align-items: center; gap: 4px; padding: 0; font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.lh-radios { display: grid; gap: 2px; margin-top: 6px; }
.lh-radio { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: var(--t-small); color: var(--ink-2); cursor: pointer; }
.lh-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); flex: none; }
.lh-radio:has(input:disabled) { cursor: default; opacity: 0.75; }
.lh-fine { font-size: var(--t-caption); color: var(--muted); }
.lh-tip { position: relative; display: inline-flex; }
.lh-tip-b { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--teal); display: grid; place-items: center; font-size: var(--ic-s); }
.lh-tip-t { position: absolute; z-index: 5; right: -60px; bottom: calc(100% + 6px); width: 240px;
  padding: 8px 10px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: var(--t-caption); font-weight: 400; line-height: 1.4; display: none; pointer-events: none; }
.lh-tip:hover .lh-tip-t, .lh-tip-b:focus-visible + .lh-tip-t, .lh-tip-b:focus + .lh-tip-t { display: block; }

/* the guest list */
.lh-gl { list-style: none; margin: 8px 0 0; padding: 0; }
.lh-g { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--card-line); min-height: 56px; }
.lh-g:last-child { border-bottom: 0; }
.lh-g-box { width: 20px; height: 20px; flex: none; border-radius: 4px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--paper); font-size: var(--ic-xs); }
.lh-g-box.on { background: var(--teal); border-color: var(--teal); }
.lh-g-m { flex: 1; min-width: 0; display: grid; }
.lh-g-n { font-size: var(--t-small); font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.lh-g-s { font-size: var(--t-caption); color: var(--muted); }
.lh-g.open .lh-g-n { color: var(--muted); font-weight: 500; }
.lh-g-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: var(--t-caption); font-weight: 600; white-space: nowrap; }
.lh-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--ink-btn);
  background: var(--paper); color: var(--ink); font-size: var(--t-caption); font-weight: 600; text-decoration: none; white-space: nowrap; flex: none; cursor: pointer; }
.lh-b.teal { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.lh-b.wa { border-color: var(--wa); color: var(--wa); }
.lh-b .ic { font-size: var(--t-caption); }
.lh-acts { display: grid; gap: 10px; margin-top: 20px !important; }
.lh-share { min-height: 48px; border-radius: var(--r-s); border-color: var(--line-strong); color: var(--ink); }
.lh-go-in { display: none; }                  /* the phone uses the sticky bar; web.css shows this one inside the card */
.lh-go-in .btn { border-radius: var(--r-s); min-height: 48px; }

/* the property card */
.lh-prop { padding: 0; overflow: hidden; }
.lh-prop > * + * { margin-top: 0; }
.lh-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; }
.lh-pager-t { font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.lh-pager-b { display: flex; align-items: center; gap: 6px; }
.lh-dots { display: inline-flex; gap: 4px; }
.lh-dots i, .lh-ph-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--dot-off); transition: width 160ms var(--ease); }
.lh-dots i.on, .lh-ph-dots i.on { width: 22px; background: var(--teal); }
.lh-round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--card-line); background: var(--paper); color: var(--teal-deep); display: inline-grid; place-items: center; flex: none; font-size: var(--t-body); cursor: pointer; text-decoration: none; }
.lh-round.sm { width: 36px; height: 36px; font-size: var(--t-caption); }
.lh-round.wa { background: var(--wa); border-color: var(--wa); color: var(--paper); font-size: var(--t-dialog); }
.lh-ph { position: relative; aspect-ratio: 16 / 8; background: var(--scene-ground); overflow: hidden; }
.lh-ph > img, .lh-ph > svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-ph-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.lh-ph-nav.prev { left: 10px; } .lh-ph-nav.next { right: 10px; }
.lh-ph-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.lh-ph-dots i { background: rgba(255, 255, 255, 0.7); } .lh-ph-dots i.on { background: var(--paper); }
.lh-prop-b { padding: 16px; }
.lh-prop-b > * + * { margin-top: 12px; }
.lh-name { font: 600 var(--t-title)/1.2 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.lh-area { display: flex; align-items: center; gap: 6px; font-size: var(--t-small); color: var(--muted); margin-top: 4px !important; }
.lh-area .ic { color: var(--teal); }
.lh-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lh-rows li { display: flex; align-items: center; gap: 10px; font-size: var(--t-small); color: var(--ink-2); font-variant-numeric: lining-nums; }
.lh-rows .ic { color: var(--muted); width: 16px; flex: none; }
.lh-cd { display: none; gap: 2px; padding: 10px 12px; border-radius: var(--r-s); background: var(--mint); color: var(--mint-ink); font-size: var(--t-small); }
.lh-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.lh-links .txt-btn { font-size: var(--t-small); }
.lh-prop-info .lh-prop-b > .lh-h:first-child { margin-top: 0 !important; }
.lh-addr { display: flex; align-items: flex-start; gap: 8px; font-size: var(--t-small); color: var(--ink-2); }
.lh-addr > .ic { color: var(--teal); margin-top: 3px; flex: none; }
.lh-addr > span { flex: 1; min-width: 0; }
.lh-addr .icon-btn { margin: -10px -10px 0 0; color: var(--teal-deep); }
.lh-map { position: relative; display: block; height: 168px; border-radius: var(--r-s); overflow: hidden; border: 1px solid var(--card-line); text-decoration: none; color: var(--ink);
  background: var(--map-ground); }
.lh-map-art i { position: absolute; background: var(--paper); box-shadow: 0 0 0 1px rgba(0, 80, 79, 0.08); }
.lh-map-art .r1 { left: -10%; right: -10%; top: 44%; height: 10px; transform: rotate(-8deg); }
.lh-map-art .r2 { top: -10%; bottom: -10%; left: 58%; width: 8px; transform: rotate(14deg); }
.lh-map-art .r3 { left: 10%; right: 40%; top: 74%; height: 6px; transform: rotate(4deg); background: var(--map-water); }
.lh-map-art .r4 { left: 18%; top: -10%; bottom: 30%; width: 5px; transform: rotate(-20deg); }
.lh-map-pin { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -100%); color: var(--bad); font-size: var(--ic-xxl); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25)); }
.lh-map-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.95); font-size: var(--t-caption); }
.lh-map-cap b { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lh-map-cap small { color: var(--muted); font-size: var(--t-caption); font-variant-numeric: tabular-nums; }
.lh-pin-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lh-pin-acts .btn.slim { width: 100%; gap: 6px; padding: 0 8px; font-size: var(--t-small); white-space: nowrap; border-radius: var(--r-s); }
.lh-host { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px !important; padding: 10px 10px 10px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--card-line); box-shadow: 0 4px 16px -6px rgba(29, 43, 41, 0.25); }
.lh-host-m { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.lh-host-m b { font-size: var(--t-small); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lh-host-m span, .lh-host-m small { font-size: var(--t-caption); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lh-host .face.lg { width: 44px; height: 44px; font-size: var(--t-body); }

/* sections below the fold */
.lh-sec { padding: 32px 0 0; }
.lh-sec-h { margin-bottom: 14px; }
.lh-sec-t { font: 600 var(--t-title)/1.2 var(--serif); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.lh-sec-p { margin-top: 4px; font-size: var(--t-small); color: var(--muted); }
.lh-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lh-f { display: flex; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--card-line); min-width: 0; }
.lh-f-i { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--mint); color: var(--teal-deep); display: grid; place-items: center; font-size: var(--ic-m); }
.lh-f-m { min-width: 0; flex: 1; }
.lh-f-k { font: 500 var(--t-caption)/1.3 var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.lh-f-v { font-size: var(--t-body); font-weight: 600; color: var(--ink); margin-top: 2px; overflow-wrap: anywhere; }
.lh-f-l { margin: 4px 0 0; padding-left: 18px; font-size: var(--t-small); color: var(--ink-2); display: grid; gap: 2px; }
.lh-f-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.lh-band { margin: 32px calc(var(--gut) * -1) 0 !important; padding: 28px var(--gut); background: var(--teal-deep); color: var(--paper); }
.lh-eyebrow { font-size: var(--t-caption); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-teal-2); font-weight: 600; }
.lh-band .lh-sec-t { color: var(--paper); margin-top: 6px; }
.lh-band-p { margin-top: 8px; color: var(--on-teal); font-size: var(--t-small); }
.lh-band-pts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: var(--t-small); color: var(--on-teal); }
.lh-band-pts li { display: flex; gap: 8px; align-items: flex-start; } .lh-band-pts .ic { color: var(--gold); margin-top: 4px; flex: none; }
.lh-svc { margin-top: 18px; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 12px; }
.lh-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 10px; background: var(--tab-ground); }
.lh-tab { display: grid; justify-items: center; gap: 4px; min-height: 60px; padding: 8px 2px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font-size: var(--t-caption); font-weight: 600; }
.lh-tab-i { font-size: var(--t-h2); color: var(--teal-deep); }
.lh-tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(29, 43, 41, 0.15); }
.lh-chips { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lh-chip { width: 100%; height: 100%; display: grid; gap: 6px; text-align: left; padding: 12px; min-height: 72px; border-radius: 10px; border: 1px solid var(--card-line); background: var(--paper); color: var(--ink); cursor: pointer; }
.lh-chip-t { font-size: var(--t-small); font-weight: 600; line-height: 1.3; }
.lh-chip-s { display: inline-flex; align-items: center; gap: 4px; font-size: var(--t-caption); color: var(--teal-deep); font-weight: 600; }
.lh-chip.on { border-color: var(--teal); background: var(--mint); }
.lh-chip.busy { opacity: 0.6; pointer-events: none; }
.lh-svc-all { margin-top: 6px; font-size: var(--t-small); }

.lh-pls { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lh-pl { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--card-line); }
.lh-pl-ph { width: 100%; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--sand); }
.lh-pl-ph img { width: 100%; height: 100%; object-fit: cover; }
.lh-pl-ph.ic { display: grid; place-items: center; font-size: var(--ic-xl); color: var(--teal-deep); background: var(--mint); }
.lh-pl-b { min-width: 0; display: grid; gap: 4px; align-content: start; }
.lh-pl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lh-badge { display: inline-block; padding: 2px 8px; border-radius: 99px; background: var(--mint); color: var(--mint-ink); font-size: var(--t-caption); font-weight: 600; }
.lh-badge.pick { background: var(--gold-wash); color: var(--gold-ink); }
.lh-rate { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; font-size: var(--t-caption); font-weight: 600; color: var(--ink); }
.lh-rate .ic { color: var(--star); }
.lh-pl-n { font: 600 var(--t-body)/1.3 var(--sans); }
.lh-pl-w { font-size: var(--t-small); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lh-pl-m { display: flex; align-items: center; gap: 6px; font-size: var(--t-caption); color: var(--ink-2); }
.lh-tags { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.lh-tags li { padding: 2px 8px; border-radius: 99px; border: 1px solid var(--card-line); font-size: var(--t-caption); color: var(--ink-2); }
.lh-dir { justify-self: start; margin-top: 6px; }
.lh-more { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; padding: 14px; border-radius: var(--r); background: var(--mint); color: var(--mint-ink); font-size: var(--t-small); }
.lh-more-a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--teal-deep); font-weight: 600; }

.lh-gb { display: grid; gap: 12px; }
.lh-gb-s { padding: 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--card-line); min-width: 0; }
.lh-gb-h { display: flex; align-items: center; gap: 10px; font: 600 var(--t-body)/1.3 var(--sans); }
.lh-gb-i { width: 32px; height: 32px; border-radius: 8px; background: var(--gold-wash); color: var(--gold-ink); display: grid; place-items: center; font-size: var(--t-small); flex: none; }
.lh-gb-l { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.lh-gb-l b { font-size: var(--t-small); color: var(--ink); }
.lh-gb-l p { font-size: var(--t-small); color: var(--muted); margin-top: 2px; }
.lh-gb-x { display: flex; align-items: center; gap: 10px; }
.lh-gb-a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-weight: 600; color: var(--teal-deep); }

.lh-more-g { display: grid; gap: 24px; }
.lh-blk > * + * { margin-top: 14px; }
.lhub .lh-mine .sec-h { margin-top: 0; }

/* the teal footer (every screen that ends with footLinks) */
.sfoot { margin: 40px calc(var(--gut) * -1) 0 !important; padding: 32px var(--gut) calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--teal-deep); color: var(--on-teal); }
.sf-in > * + * { margin-top: 24px; }
.sf-top { display: grid; gap: 24px; }
.sf-brand img { height: 22px; width: auto; }
.sf-tag { margin-top: 14px; font: 600 var(--t-h2)/1.3 var(--serif); color: var(--paper); }
.sf-sub { margin-top: 4px; font-size: var(--t-small); color: var(--on-teal-3); max-width: 34ch; }
.sf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sf-col h2 { font-size: var(--t-small); color: var(--paper); letter-spacing: 0.04em; }
.sf-col ul { list-style: none; margin: 6px 0 0; padding: 0; }
.sf-a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0; border: 0; background: none; color: var(--on-teal); font-size: var(--t-small); text-decoration: none; text-align: left; cursor: pointer; }
.sf-a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-a:focus-visible, .sf-l:focus-visible { outline-color: var(--paper); }
.sf-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: var(--t-caption); color: var(--on-teal-3); }
.sf-legal { display: flex; flex-wrap: wrap; gap: 0 14px; }
.sf-l { display: inline-flex; align-items: center; min-height: 32px; color: var(--paper); font-size: var(--t-caption); }
.screen > .sfoot:last-child { margin-bottom: calc((var(--bar) + 32px + env(safe-area-inset-bottom, 0px)) * -1) !important; padding-bottom: calc(var(--bar) + 40px + env(safe-area-inset-bottom, 0px)); }
.screen.nobar > .sfoot:last-child { margin-bottom: calc((32px + env(safe-area-inset-bottom, 0px)) * -1) !important; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }

/* "WhatsApp Us" (Figma: green pill, bottom right) */
.help-pill.wa-pill { gap: 8px; padding: 6px 18px 6px 6px; border: 0; background: var(--wa); color: var(--wa-ink); font-weight: 600; font-size: var(--t-small); text-decoration: none; box-shadow: 0 6px 18px -6px rgba(26, 122, 67, 0.6); }
.wa-pill-i { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); display: grid; place-items: center; font-size: var(--t-h2); }
@media (hover: hover) and (pointer: fine) { .lh-b:hover { background: var(--teal-tint); } .lh-b.teal:hover { background: var(--teal-deep); } .lh-chip:hover { border-color: var(--teal); } .lh-tab:hover { color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .lh-dots i, .lh-ph-dots i { transition: none; } }

/* ======================================================================================================
   Figma fidelity, verify fixes (5 Dec 2026). Shared chrome first (the header now draws on phones too), then the
   phone hub. web.css lays the same nodes out from 768px. Guest tokens only. */
/* the header: logo left, menu right, a thin gold rule lined up with the content edges */
.d-head-in { position: relative; max-width: var(--wrap, 1240px); height: 100%; margin: 0 auto; padding: 0 var(--edge, 16px); display: flex; align-items: center; gap: 28px; }
.d-head-in::after { content: ''; position: absolute; left: var(--edge, 16px); right: var(--edge, 16px); bottom: 0; height: 1px; background: var(--gold); }
.d-brand { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.d-brand img { height: 22px; width: auto; }
.d-brand img.d-emb { height: 32px; }
.d-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--t-small); font-weight: 600; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-chip .face { width: 30px; height: 30px; font-size: var(--t-caption); }
.sh-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.sh-wrap { position: relative; }
.sh-burger { width: 44px; height: 44px; border: 0; border-radius: var(--r-s); background: none; display: grid; place-items: center; cursor: pointer; }
.sh-bars { display: grid; gap: 7px; width: 26px; }
.sh-bars i { display: block; height: 2px; border-radius: 2px; background: var(--teal); }
.sh-bars i + i { width: 70%; justify-self: end; }
.sh-burger[aria-expanded="true"] { background: var(--teal-wash); }
.sh-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 240px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px -12px rgba(29, 43, 41, 0.35); }
.sh-list { list-style: none; margin: 0; padding: 0; }
.sh-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: var(--t-small); text-align: left; cursor: pointer; }
.sh-item .ic { color: var(--teal-deep); width: 16px; }
.sh-item.on { font-weight: 600; color: var(--teal-deep); }
@media (hover: hover) and (pointer: fine) { .sh-item:hover { background: var(--teal-wash); } }
/* a heading focused by script on a screen change shows no ring (it is not a control); keyboard rings stay on controls */
h1[tabindex="-1"]:focus { outline: none; }

/* the footer: emblem over the wordmark (Figma); the social row stays empty until verified links exist */
.sf-emb { display: block; width: 48px !important; height: 48px !important; margin-bottom: 10px; }
.sf-brand img.sf-word { height: 22px; width: auto; }
.sf-social { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 10px; }
.sf-social:empty { display: none; }

/* the property card: one display face for every guest heading (serif, final review 5 Dec 2026); the services strip
   is the hub's only services block, on a phone too */
.lh-name { font: 600 var(--t-title)/1.25 var(--serif); letter-spacing: -0.01em; }
.lh-svm { display: block; padding: 0 16px 16px; }
/* the arrival line heads Quick facts at every width */
.lh-qf .lh-cd { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; padding: 12px 14px; }
.lh-qf .lh-cd > .ic { margin-top: 3px; color: var(--teal); flex: none; }
.lh-qf .lh-cd > div { display: grid; gap: 2px; }
/* host chip: the role and number may wrap to a second line instead of being cut */
.lh-host-m span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lh-host .lh-round { width: 40px; height: 40px; }
/* Quick facts actions: one secondary style (teal outline); two equal columns, a third action across */
.lh-f-a .lh-b { border-color: var(--teal); color: var(--teal-deep); min-height: 40px; }
.lh-f-a.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lh-f-a .lh-b.span { grid-column: 1 / -1; }
.lh-b[aria-disabled="true"] { opacity: 0.55; cursor: default; }
/* "Who is completing": each option is a full-width row, the whole row is the target */
.lh-radios { gap: 8px; margin-top: 10px; }
.lh-radio { min-height: 48px; padding: 10px 14px; border: 1px solid var(--card-line); border-radius: 10px; background: var(--paper); }
.lh-radio:has(input:checked) { border-color: var(--teal); background: var(--mint); color: var(--ink); }
.lh-radio:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
/* the lower hub: one heading face (serif section titles), the 48px rhythm, a plain current-step marker */
.lhub .lh-mine { padding-top: 48px; }
.lhub .lh-mine .sec-h { margin: 0; }
.lhub .lh-mine .rows { margin-bottom: 0; }
.lhub .lh-mine .sec-h h2 { font: 600 var(--t-title)/1.2 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.lh-more-g { gap: 40px; }
.lh-sub { font: 500 var(--t-caption)/1.3 var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.lhub .tl-i.now .row-av { box-shadow: none; background: var(--teal); color: var(--paper); border-radius: 50%; }

@media (max-width: 767px) {
  /* the phone header on the hub: logo left, menu right (44px target), the same menu as a full-width sheet */
  body[data-layout="hub"] .d-head { display: block; position: sticky; top: 0; z-index: 25; height: calc(56px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); background: var(--paper); }
  body[data-layout="hub"] .lh-phead { display: none; }
  .d-head .d-chip { display: none; }
  .d-brand img.d-emb { height: 28px; } .d-brand img { height: 18px; }
  .sh-wrap { position: static; }
  .sh-menu { position: fixed; left: 0; right: 0; top: calc(56px + env(safe-area-inset-top, 0px)); min-width: 0; padding: 8px 12px 16px; border-radius: 0 0 16px 16px; border-width: 0 0 1px; }
  .lhub .lh-top { padding-top: 16px; }
  /* the hub already offers WhatsApp in the host chip, Quick facts and the footer: no floating pill over the page */
  body[data-layout="hub"] .help-pill.wa-pill { display: none; }
  body[data-layout="hub"].has-help .screen.lhub { padding-bottom: 0; }
  .lhub > .sfoot:last-child { margin-bottom: 0 !important; padding-bottom: calc(var(--bar) + 20px + env(safe-area-inset-bottom, 0px)); }
  /* the sticky bar: a solid surface with a soft edge (no fade that washes out teal sections under it) */
  .bar { background: var(--ground); box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.18); padding-top: 12px; }
  /* places nearby: a square icon tile or a 96px photo beside the text */
  .lh-pl { grid-template-columns: 96px minmax(0, 1fr); }
  .lh-pl:not(:has(img)) { grid-template-columns: 56px minmax(0, 1fr); }
  .lh-pl-ph { aspect-ratio: auto; height: 96px; align-self: start; }
  .lh-pl-ph.ic { width: 56px; height: 56px; }
}

/* the footer app.js places after the screen (rail / page layouts): on phones only a screen's own footer shows,
   full width under the content, with room for the sticky bar */
@media (max-width: 767px) {
  body > .sfoot.gen { display: none; }
  body > .sfoot { margin: 0 !important; padding: 32px var(--gut) calc(32px + env(safe-area-inset-bottom, 0px)); }
  body:has(#app > .bar) > .sfoot { padding-bottom: calc(var(--bar) + 24px + env(safe-area-inset-bottom, 0px)); }
  body:has(> .sfoot.moved) #app .screen { padding-bottom: 32px; }
}

/* ================================================================ final review fixes (5 Dec 2026), entry + hub */
.nowrap { white-space: nowrap; }
.lh-who-set { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; padding: 10px 12px; border-radius: var(--r-s); background: var(--teal-wash); color: var(--teal-deep); font-size: var(--t-small); }
.lh-who-set .ic { flex: none; }
.lh-notmine { margin: -4px 16px 16px !important; text-align: center; }
.lh-notmine .txt-btn { font-size: var(--t-small); color: var(--ink-2); }
.trip-src.st { background: var(--teal-deep); color: var(--paper); }
.trip-src.st.idle { background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.trip-src.st.bad { background: var(--bad); color: var(--paper); }
.trips-help { margin-top: 20px; }
.trips-help:empty { display: none; }
.sh-inline { display: none; }
/* the code screen's two links: one under the other, never run together */
#code-form > .link, #trips-code-form > .link { display: block; text-align: left; }
/* "Let's connect" on a phone: a bottom sheet, like Help (web.css puts it back in the middle from 768px) */
dialog.dlg:has(.cx) { margin: auto auto 0; width: 100%; max-width: 480px; border-radius: var(--r) var(--r) 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

/* Declaration (final review, 5 Dec 2026): the texts on the page, the house rules inline in a scroll box, one tick. */
.decl-docs { gap: 10px; }
.decl-doc { border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); padding: 12px 14px; display: grid; gap: 6px; }
.decl-doc .group-h { margin: 0 !important; padding: 0; border: 0; font-size: var(--t-body); }
.decl-doc summary { color: var(--teal-deep); font-weight: 500; font-size: var(--t-body); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.decl-doc summary::-webkit-details-marker { display: none; }
.decl-doc details[open] summary .ic { transform: rotate(90deg); }
.decl-doc > a.txt-btn { justify-self: start; }
.decl-box { max-height: 220px; overflow: auto; padding: 10px 12px; border-radius: 10px; background: var(--ground); font-size: var(--t-small); overscroll-behavior: contain; }
.decl-box:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.kid-acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.kid-acts .txt-btn { min-height: 40px; padding: 0 8px; }
.lh-g-ok.warn { color: var(--gold-ink); }
/* Step screens: the help docks into the header (final review, 5 Dec 2026), never floating over the form. */
.top-help { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--wa); background: var(--paper); border: 1px solid var(--line); margin-left: 8px; }
.top-help .ic { width: 18px; height: 18px; }
.top-row .top-meta + .top-help { margin-left: 8px; }
.top-row > .top-mark + .top-help { margin-left: auto; }
/* Add-ons: the button keeps one place on every card (right of the price) */
.offer-f { flex-wrap: nowrap; }
.offer-p { white-space: normal; flex: 1 1 auto; }
