/* ═══════════════════════════════════════════════════════════════
   NORA HOUSE — Lia chat widget
   Every color rides the design tokens in css/main.css (html[data-theme]),
   so light and dark both hold without a single theme-bound literal.
   Status hues: the ready/error DOTS keep fixed hues (non-text indicators);
   error TEXT rides --lia-error, defined per theme for AA on both grounds.
   z-order: header 100 < launcher 260 / card 270 < toast 300.
   ═══════════════════════════════════════════════════════════════ */

:root { --lia-error: #ff8a70; }
:root[data-theme="light"] { --lia-error: #a83a1e; }
/* thin chat type washes out on paper — see the light-mode block in main.css */
:root[data-theme="light"] .lia-bubble,
:root[data-theme="light"] .lia-input { font-weight: 400; }

#chat-root {
  --lia-gap: calc(20px + env(safe-area-inset-bottom, 0px));
  --lia-edge: calc(20px + env(safe-area-inset-right, 0px));
  /* Text size for a big screen (Gabriel, 2026-09-08): the "Aa" button in the header cycles
     normal → large → largest, remembered per browser, or ?text=xl in the URL. --lia-zoom
     scales everything the conversation is made of; --lia-w lets the floating card grow so
     the bigger lines still wrap comfortably. The docked card keeps the app column's width. */
  --lia-zoom: 1; --lia-w: 1;
}
#chat-root[data-text="lg"] { --lia-zoom: 1.25; --lia-w: 1.15; }
#chat-root[data-text="xl"] { --lia-zoom: 1.5; --lia-w: 1.3; }
.lia-name, .lia-body, .lia-quick, .lia-composer, .lia-drawer-head, .lia-drawer-foot { zoom: var(--lia-zoom); }
/* On the map, sit just clear of the CARTO/OpenStreetMap attribution strip rather than
   floating high above it — the old 96px berth was for the framed map's own controls, which
   step aside once Lia stages it full-bleed. */
body[data-view="neighborhood"] #chat-root {
  --lia-gap: calc(38px + env(safe-area-inset-bottom, 0px));
}

/* ── launcher ── */
.lia-launcher {
  position: fixed; right: var(--lia-edge); bottom: var(--lia-gap); z-index: 260;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--amber); color: var(--ink);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 12px 40px -12px var(--amber-soft);
  transition: transform .5s var(--spring), background .25s;
}
.lia-launcher:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--amber) 82%, white); }
.lia-launcher:active { transform: translateY(0) scale(.97); }
.lia-launcher-x { display: none; font-size: 16px; line-height: 1; }
#chat-root.lia-open .lia-launcher-icon { display: none; }
#chat-root.lia-open .lia-launcher-x { display: block; }

/* ── card ── */
.lia-card {
  position: fixed; right: var(--lia-edge); bottom: calc(var(--lia-gap) + 68px); z-index: 270;
  display: flex; flex-direction: column; overflow: clip;
  width: min(calc(440px * var(--lia-w)), calc(100vw - 32px));
  height: min(84vh, 860px);
  background: var(--ink-2); color: var(--cream);
  border: 1px solid var(--hair);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .55);
  transition: opacity .3s, transform .45s var(--spring), display .45s allow-discrete;
}
.lia-card[hidden] { display: none; opacity: 0; transform: translateY(26px) scale(.98); }
@starting-style {
  .lia-card:not([hidden]) { opacity: 0; transform: translateY(26px) scale(.98); }
}

/* ── header ── */
.lia-head {
  display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
  padding: 14px 16px; border-bottom: 1px solid var(--hair-soft);
  background: color-mix(in srgb, var(--ink) 45%, transparent);
}
.lia-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto;
  background: var(--cream-38); transition: background .3s;
}
.lia-card[data-phase="connecting"] .lia-dot { background: var(--amber); }
.lia-card[data-phase="ready"] .lia-dot { background: #3fae6a; }
.lia-card[data-phase="error"] .lia-dot { background: #e0694f; }
.lia-name {
  margin: 0; display: flex; align-items: baseline; gap: 8px; min-width: 0;
  font-family: var(--brand); font-weight: 600; font-size: 17px;
  letter-spacing: .06em; line-height: 1.15;
}
.lia-name strong { font-weight: 400; }
.lia-name span {
  font-family: var(--brand); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cream-60);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lia-close {
  margin-left: auto; width: 34px; height: 34px; flex: 0 0 auto;
  border: 1px solid var(--hair); border-radius: 50%; background: transparent;
  color: var(--cream); cursor: pointer; font-size: 13px; line-height: 1;
  display: grid; place-items: center; transition: all .25s;
}
.lia-close:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* ── message list ── */
.lia-body {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: thin;
}
.lia-note { text-align: center; color: var(--cream-38); font-size: 13.5px; margin: 6px 0; text-wrap: balance; }
.lia-note-error { color: var(--lia-error); }

.lia-row { display: flex; flex-direction: column; align-items: flex-start; }
.lia-from-user { align-items: flex-end; }
.lia-bubble {
  max-width: 86%; padding: 11px 15px;
  font-size: 15.5px; font-weight: 400; line-height: 1.55; /* readable at arm's length, both themes */
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.lia-from-agent .lia-bubble {
  background: var(--ink-3); border: 1px solid var(--hair-soft);
  border-radius: 14px 14px 14px 4px;
}
.lia-from-user .lia-bubble {
  background: var(--amber); color: var(--ink); font-weight: 400;
  border-radius: 14px 14px 4px 14px;
}
.lia-from-system .lia-bubble {
  background: color-mix(in srgb, var(--lia-error) 14%, transparent);
  color: var(--lia-error); font-size: 13.5px; border-radius: 12px;
}
.lia-from-agent .lia-bubble a { color: var(--amber); text-underline-offset: 3px; }
/* the reply's response time, a quiet figure under the bubble */
.lia-latency { margin: 3px 4px 0; font-size: 10.5px; letter-spacing: .06em; color: var(--cream-38); font-variant-numeric: tabular-nums; }
.lia-from-agent .lia-bubble strong { font-weight: 500; }

/* ── booking: a "Pick a time" chip under the agent's sentence, the calendar in a drawer ── */
.lia-booking { margin-top: 8px; max-width: 84%; }
.lia-booking-open {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid color-mix(in srgb, var(--amber) 55%, transparent); border-radius: 999px;
  background: transparent; color: var(--cream); cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 16px; transition: all .3s var(--ease-out);
}
.lia-booking-open svg { color: var(--amber); flex: 0 0 auto; }
.lia-booking-open:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.lia-booking-open:hover svg { color: var(--ink); }

/* the drawer: the BookingEngine widget beside the thread, MSH's BookingFrame wing in vanilla.
   Its chrome uses the site tokens, so it flips with the theme; the frame inside is asked for
   the same theme by URL. */
.lia-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 290;
  width: min(480px, 100vw);
  display: flex; flex-direction: column;
  background: var(--ink-2); color: var(--cream);
  border-left: 1px solid var(--hair);
  box-shadow: -40px 0 120px -30px rgba(0, 0, 0, .6);
  transition: opacity .3s, transform .45s var(--spring), display .45s allow-discrete;
}
.lia-drawer[hidden] { display: none; opacity: 0; transform: translateX(48px); }
@starting-style {
  .lia-drawer:not([hidden]) { opacity: 0; transform: translateX(48px); }
}
.lia-drawer-head {
  display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
  padding: 16px 18px; border-bottom: 1px solid var(--hair-soft);
  background: color-mix(in srgb, var(--ink) 45%, transparent);
}
.lia-drawer-title {
  margin: 0; display: flex; align-items: baseline; gap: 8px; min-width: 0;
  font-family: var(--brand); font-weight: 600; font-size: 17px; letter-spacing: .06em; line-height: 1.15;
}
.lia-drawer-title strong { font-weight: 400; }
.lia-drawer-title span {
  font-family: var(--brand); font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream-60); white-space: nowrap;
}
.lia-drawer-close {
  margin-left: auto; width: 34px; height: 34px; flex: 0 0 auto;
  border: 1px solid var(--hair); border-radius: 50%; background: transparent;
  color: var(--cream); cursor: pointer; font-size: 13px; line-height: 1;
  display: grid; place-items: center; transition: all .25s;
}
.lia-drawer-close:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.lia-drawer-body { position: relative; flex: 1; min-height: 0; background: var(--ink); }
/* BookingEngine is another origin's page, so its type cannot be set from here: the frame is laid
   out smaller and scaled up by the same factor, which magnifies the calendar and its text. */
.lia-drawer-frame {
  position: absolute; inset: 0; border: 0; display: block; background: transparent;
  width: calc(100% / var(--lia-zoom)); height: calc(100% / var(--lia-zoom));
  transform: scale(var(--lia-zoom)); transform-origin: 0 0;
}
.lia-drawer-loading {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: var(--cream-60); font-size: 13px; letter-spacing: .04em;
}
.lia-drawer-loading[hidden] { display: none; }
.lia-drawer-foot {
  flex: 0 0 auto; padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--hair-soft); font-size: 12.5px;
}
.lia-drawer-newtab { color: var(--amber); text-decoration: none; text-underline-offset: 3px; }
.lia-drawer-newtab:hover { text-decoration: underline; }
/* Where there is room, the drawer stands flush against the card's LEFT side and shares its
   height; the card itself never moves (Gabriel, 2026-09-08). It sits under the card in the
   stack, so it slides out from beneath it. Narrower than 1024px it still covers the card. */
@media (min-width: 1024px) {
  .lia-drawer {
    z-index: 265; top: auto;
    right: calc(var(--lia-edge) + min(calc(440px * var(--lia-w)), calc(100vw - 32px)));
    bottom: calc(var(--lia-gap) + 68px); height: min(84vh, 860px);
    border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  }
  #chat-root.lia-maximized .lia-drawer { top: 76px; right: min(calc(480px * var(--lia-w)), 100vw); bottom: 0; height: auto; border-bottom: 0; }
}
.lia-booking-passive { margin: 0; font-size: 12.5px; color: var(--cream-60); }
.lia-booking-done {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px;
  border: 1px solid color-mix(in srgb, #3fae6a 45%, var(--hair-soft));
  background: color-mix(in srgb, #3fae6a 10%, var(--ink-3)); border-radius: 14px;
  font-size: 13.5px; line-height: 1.45;
}
.lia-booking-done strong { font-weight: 500; }
.lia-booking-check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: #3fae6a; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
  animation: liaCheckPop .35s cubic-bezier(.2,.9,.3,1.4) both;
}
.lia-booking-when { margin-top: 2px; font-weight: 500; }
.lia-booking-meta { margin-top: 2px; font-size: 12.5px; color: var(--cream-60); }
.lia-booking-manage { display: inline-block; margin-top: 6px; font-size: 12.5px; color: var(--amber); }
@keyframes liaCheckPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* header chip once a meeting is booked — the MSH chat's "visit booked" chip, in Nora's colours */
.lia-booked {
  display: inline-flex; align-items: center; gap: 5px; margin-left: auto; margin-right: 8px;
  padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap;
  max-width: 150px; overflow: hidden; text-overflow: ellipsis;
  color: #3fae6a; background: color-mix(in srgb, #3fae6a 14%, transparent);
  border: 1px solid color-mix(in srgb, #3fae6a 40%, transparent);
  animation: liaChipIn .2s ease both;
}
@keyframes liaChipIn { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lia-booked, .lia-booking-check { animation-duration: .01ms; } }
.lia-head:has(.lia-booked) .lia-name span { display: none; }

/* muted status under a bubble when the 3D view refuses a command */
.lia-cmd-note { margin: 6px 2px 0; max-width: 84%; font-size: 12px; color: var(--cream-38); }

/* quick-reply chips — mirror the site's filter chips */
.lia-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; max-width: 92%; }
.lia-chip {
  border: 1px solid var(--hair); border-radius: 999px; background: transparent;
  color: var(--cream-60); padding: 7px 14px; cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; font-weight: 400; letter-spacing: .04em;
  transition: all .3s var(--ease-out);
}
.lia-chip:hover { border-color: var(--amber); color: var(--amber); }

/* thinking indicator */
.lia-typing { display: inline-flex; gap: 5px; align-items: center; min-height: 20px; }
.lia-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cream-38);
  animation: lia-blink 1.2s infinite ease-in-out;
}
.lia-typing span:nth-child(2) { animation-delay: .15s; }
.lia-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes lia-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ── floor plan in the thread (replaces the 3D app's own unit drawer) ── */
.lia-plan {
  margin: 8px 0 0; max-width: 84%; cursor: zoom-in;
  border: 1px solid var(--hair); background: #fff; overflow: clip; border-radius: 6px;
}
.lia-plan img { display: block; width: 100%; height: auto; }
.lia-plan figcaption {
  padding: 7px 10px; background: var(--ink-3); color: var(--cream-60);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
}
.lia-plan:hover { border-color: var(--amber); }

.lia-lightbox {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px); cursor: zoom-out;
  background: color-mix(in srgb, #060606 82%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lia-lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; }
.lia-lightbox img {
  display: block; width: 100%; height: auto; max-height: calc(100vh - 140px);
  object-fit: contain; background: #fff; border-radius: 6px;
}
.lia-lightbox figcaption {
  margin-top: 12px; text-align: center; color: #f2f1ec;
  font-family: var(--brand); font-weight: 500; font-size: 18px; letter-spacing: .06em;
}
.lia-lightbox-x {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px;
  border: 1px solid rgba(242, 241, 236, .3); border-radius: 50%;
  background: transparent; color: #f2f1ec; font-size: 15px; cursor: pointer;
}
.lia-lightbox-x:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* ── standing quick action (above the composer) ── */
.lia-quick {
  flex: 0 0 auto; display: flex; gap: 8px; flex-wrap: wrap;
  padding: 10px 12px 0;
}
.lia-quick-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid color-mix(in srgb, var(--amber) 55%, transparent); border-radius: 999px;
  background: transparent; color: var(--cream); cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: .04em;
  padding: 7px 14px; transition: all .3s var(--ease-out);
}
.lia-quick-btn svg { color: var(--amber); flex: 0 0 auto; }
.lia-quick-btn:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.lia-quick-btn:hover svg { color: var(--ink); }

/* ── composer ── */
.lia-composer {
  display: flex; align-items: flex-end; gap: 8px; flex: 0 0 auto;
  padding: 12px; border-top: 1px solid var(--hair-soft);
  background: color-mix(in srgb, var(--ink) 45%, transparent);
}
.lia-input {
  flex: 1; resize: none; min-height: 44px; max-height: 120px;
  padding: 11px 16px; border: 1px solid var(--hair); border-radius: 22px;
  background: var(--ink); color: var(--cream);
  font: 300 16px/1.4 var(--sans); letter-spacing: .01em; /* 16px — no iOS focus zoom */
  outline: none; transition: border-color .3s; scrollbar-width: none;
}
.lia-input::placeholder { color: var(--cream-38); }
.lia-input:focus { border-color: var(--amber); }
.lia-input:disabled { opacity: .55; }
.lia-send {
  flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--amber); color: var(--ink);
  transition: transform .4s var(--spring), background .25s, opacity .25s;
}
.lia-send:hover:not(:disabled) { transform: translateY(-2px); background: color-mix(in srgb, var(--amber) 82%, white); }
.lia-send:disabled { opacity: .35; cursor: default; }

/* ── narrated tour: one residence at a time ── */
.lia-narration .lia-bubble { border-left: 2px solid var(--amber); }
.lia-narr-tag {
  margin: 0 0 5px 2px; font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber);
}
/* local quick actions (tour steps, starters) read as offers, not as the
   server's muted suggestions */
.lia-body > .lia-chips { margin-top: 2px; }
.lia-chips-local .lia-chip {
  color: var(--cream); border-color: color-mix(in srgb, var(--amber) 55%, transparent);
}
.lia-chips-local .lia-chip:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* ── ≤640px: icon-only launcher, full-bleed sheet ── */
@media (max-width: 640px) {
  .lia-launcher { width: 54px; height: 54px; padding: 0; }
  .lia-launcher-label { display: none; }
  #chat-root.lia-open .lia-launcher { display: none; } /* the sheet covers it; its ✕ closes */
  .lia-card {
    inset: 0; width: 100%; height: 100dvh; border: 0;
  }
  .lia-head { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
  .lia-drawer { width: 100%; border-left: 0; }
  .lia-drawer-head { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .lia-drawer-title span { display: none; } /* the suffix wraps the title at phone widths */
  .lia-composer { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  /* on the 3D Tour the model must stay in view while Lia narrates: the sheet
     takes the lower half, the building keeps the upper half. The map does NOT
     get this treatment — its own filter bar, essentials strip and list need the
     full height, so there the sheet stays full-screen and the visitor closes it
     to see what Lia put on the map (her filter survives the close). */
  body[data-view="tour"] .lia-card {
    inset: auto 0 0 0; height: 50dvh; border-top: 1px solid var(--hair);
    box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, .6);
  }
  body[data-view="tour"] .lia-head { padding-top: 12px; }
}

/* ── pounce nudge: one proactive invitation, above the launcher ── */
.lia-pounce {
  position: fixed; right: var(--lia-edge, 20px); bottom: calc(var(--lia-gap, 20px) + 74px);
  z-index: 265; width: min(320px, calc(100vw - 40px));
  background: var(--ink-2); color: var(--cream);
  border: 1px solid var(--hair); border-radius: 18px;
  padding: 16px 40px 14px 18px;
  box-shadow: 0 24px 70px -18px rgba(0, 0, 0, .5);
}
@starting-style { .lia-pounce { opacity: 0; translate: 0 14px; } }
.lia-pounce { transition: opacity .45s, translate .55s var(--spring, ease); }
.lia-pounce-text { margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; }
.lia-pounce-cta {
  font: 500 11px var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); background: transparent; border: 1px solid var(--amber);
  border-radius: 999px; padding: 8px 14px; cursor: pointer;
  transition: background .25s, color .25s;
}
.lia-pounce-cta:hover { background: var(--amber); color: var(--ink); }
.lia-pounce-x {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px;
  border: 0; background: transparent; color: var(--cream-38);
  font-size: 13px; cursor: pointer; border-radius: 50%;
}
.lia-pounce-x:hover { color: var(--cream); }

/* Shown when Lia is unreachable: the card should still lead somewhere. */
.lia-note-fallback { margin-top: 2px; }
.lia-note-fallback a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* ── maximize: the thread as a full-height column beside the page, like the 3D app's own unit
   list (Gabriel's colleagues, 2026-09-04). Remembered per browser; phones are already full-bleed,
   so the button and the geometry are desktop-only. ── */
.lia-name { margin-right: auto; }
.lia-close, .lia-booked { margin-left: 0; }
.lia-max {
  width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid var(--hair); border-radius: 50%;
  background: transparent; color: var(--cream); cursor: pointer;
  display: grid; place-items: center; transition: all .25s;
}
.lia-max svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lia-max:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.lia-type {
  width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid var(--hair); border-radius: 50%;
  background: transparent; color: var(--cream); cursor: pointer;
  display: grid; place-items: center; transition: all .25s;
  font-family: var(--brand); font-size: 12.5px; font-weight: 600; letter-spacing: 0; line-height: 1;
}
.lia-type:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
#chat-root[data-text] .lia-type { border-color: var(--amber); color: var(--amber); }
.lia-max .lia-ico-restore, #chat-root.lia-maximized .lia-max .lia-ico-expand { display: none; }
#chat-root.lia-maximized .lia-max .lia-ico-restore { display: block; }
@media (min-width: 641px) {
  #chat-root.lia-maximized .lia-card {
    top: 76px; right: 0; bottom: 0; height: auto; width: min(calc(480px * var(--lia-w)), 100vw);
    border-right: 0; border-bottom: 0;
  }
}
@media (max-width: 640px) { .lia-max { display: none; } }

/* ── docked over the 3D app's unit list ──
   From 1280px up the SmartPixel app shows its unit list as a fixed 448px column on
   the right (its xl:w-md), and the app cannot hide it. The open chat takes exactly
   that column — under the 76px header, the column's width, down to the bottom edge —
   so the app's layout and the model's place on screen never change when Lia opens
   or closes (Gabriel, 2026-09-08). The header's ✕ closes it (the launcher would sit
   on the composer), and maximize means nothing here: the card is already the column.
   The booking drawer stands to its left, over the model, while it is up. */
@media (min-width: 1280px) {
  body[data-view="tour"] #chat-root .lia-card {
    top: 76px; right: 0; bottom: 0; height: auto; width: 448px;
    border-top: 0; border-right: 0; border-bottom: 0; box-shadow: none;
  }
  body[data-view="tour"] #chat-root.lia-open .lia-launcher { display: none; }
  body[data-view="tour"] #chat-root .lia-max { display: none; }
  body[data-view="tour"] #chat-root .lia-drawer { top: 76px; right: 448px; bottom: 0; height: auto; border-top: 0; border-bottom: 0; }
}
