/* Hausy — the LiveHaus chat widget. Tokens and shapes are the page's own (index.html :root and the #cdlg / #tdlg dialogs): pink #e07be0 / #c85cc8, dark #1f1d1a, cream #faf7f0,
   white cards, 24px dialog radius, 14px button radius, Oswald headings, Bricolage Grotesque text. Only .hz-* classes are styled; nothing else on the page changes.
   Loaded as <link media="print"> and switched on by chat.js after the page has loaded, so it never blocks the first paint. Everything is position:fixed: no layout shift. */
.hz-root { --hz-pink: #e07be0; --hz-pinkd: #c85cc8; --hz-dark: #1f1d1a; --hz-bg: #faf7f0; --hz-line: #e6e0d3; --hz-muted: #5f5a52; --hz-ink: #1a1a1a; --hz-lift: 0px;
  font-family: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.45; color: var(--hz-ink); }
.hz-root, .hz-root * { box-sizing: border-box; }
.hz-root button, .hz-root input { font: inherit; letter-spacing: normal; text-transform: none; margin: 0; }
.hz-root p, .hz-root b, .hz-root small, .hz-root form, .hz-root div { letter-spacing: normal; }
.hz-root p, .hz-root form { margin: 0; }
.hz-root[hidden], .hz-root.hz-away { visibility: hidden; pointer-events: none; }   /* a page dialog (contact form, tickets) is open: the widget steps aside */

/* ---- launcher (bottom right; lifts itself above the footer so it never covers the footer text) */
.hz-btn { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--hz-lift)); z-index: 2147483000; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; min-width: 56px; padding: 0; border: 0; border-radius: 999px; background: var(--hz-pink); color: var(--hz-dark); cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1;
  box-shadow: 0 10px 30px rgba(224, 123, 224, .45), 0 2px 8px rgba(31, 29, 26, .18); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .25s ease, transform .25s ease, background .15s; }
.hz-btn.hz-in { opacity: 1; transform: none; }
.hz-btn:hover { background: var(--hz-pinkd); }
.hz-btn svg { width: 26px; height: 26px; flex: none; }
.hz-btn .hz-lbl { display: none; }
.hz-btn:focus-visible, .hz-x:focus-visible, .hz-send:focus-visible, .hz-chip:focus-visible, .hz-lnk:focus-visible, .hz-msg a:focus-visible { outline: 3px solid var(--hz-dark); outline-offset: 2px; }
.hz-root input:focus-visible { outline: 0; border-color: var(--hz-pinkd); box-shadow: 0 0 0 3px rgba(224, 123, 224, .3); }
@media (min-width: 600px) {
  .hz-btn { right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--hz-lift)); padding: 0 22px 0 18px; }
  .hz-btn .hz-lbl { display: inline; }
}
@media (max-width: 599px) { .hz-root.hz-open .hz-btn { visibility: hidden; } }   /* on phones the open sheet covers the launcher */

/* ---- panel: a white card like the page's dialogs (24px radius, soft deep shadow); a bottom sheet on phones */
.hz-panel { position: fixed; z-index: 2147483001; display: none; flex-direction: column; overflow: hidden; background: #fff; color: var(--hz-ink); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  right: 24px; bottom: calc(24px + 56px + 14px + env(safe-area-inset-bottom, 0px) + var(--hz-lift)); width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 130px - var(--hz-lift)); max-height: calc(100dvh - 130px - var(--hz-lift)); }
.hz-panel.hz-open { display: flex; animation: hz-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes hz-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.hz-h { display: flex; align-items: center; gap: 12px; padding: 16px 14px 14px 18px; border-bottom: 1px solid var(--hz-line); flex: none; }
.hz-av { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--hz-pink); color: var(--hz-dark); display: flex; align-items: center; justify-content: center; font: 600 20px/1 Oswald, Impact, sans-serif; }
.hz-av svg { width: 28px; height: 28px; display: block; }
.hz-ht { flex: 1; min-width: 0; }
.hz-eb { display: block; font: 600 11px/1 'Bricolage Grotesque', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9a3a9a; margin-bottom: 4px; }
.hz-title { display: block; font: 600 22px/1.05 Oswald, Impact, sans-serif; letter-spacing: .01em; text-transform: uppercase; color: var(--hz-dark); }
.hz-x { width: 40px; height: 40px; flex: none; border: 0; border-radius: 12px; background: transparent; color: var(--hz-dark); font-size: 28px; line-height: 1; cursor: pointer; }
.hz-x:hover { background: var(--hz-bg); }

.hz-m { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: #fff; }
.hz-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.hz-msg.me { align-self: flex-end; background: var(--hz-pink); color: var(--hz-dark); border-bottom-right-radius: 6px; }
.hz-msg.bot { align-self: flex-start; background: var(--hz-bg); border: 1px solid var(--hz-line); color: var(--hz-ink); border-bottom-left-radius: 6px; }
.hz-msg a { color: #7d2a7d; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.hz-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 2px; }
.hz-chip { padding: 9px 14px; border: 1.5px solid var(--hz-dark); border-radius: 14px; background: transparent; color: var(--hz-dark); font-size: 14px; line-height: 1.3; cursor: pointer; text-align: left; }
.hz-chip:hover { background: var(--hz-dark); color: #fff; }
.hz-lnk { align-self: flex-start; display: inline-block; padding: 9px 16px; border-radius: 14px; background: var(--hz-pink); color: var(--hz-dark); text-decoration: none; font-weight: 600; font-size: 14px; border: 0; cursor: pointer; }
.hz-lnk:hover { background: var(--hz-pinkd); }
.hz-dots { display: inline-flex; gap: 4px; padding: 5px 0; }
.hz-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--hz-muted); animation: hz-dot 1s infinite ease-in-out; }
.hz-dots i:nth-child(2) { animation-delay: .15s; } .hz-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hz-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.hz-f { flex: none; padding: 10px 18px 14px; background: #fff; }
.hz-row { display: flex; gap: 8px; align-items: center; }
.hz-root input.hz-in-q { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--hz-line); border-radius: 14px; background: #fff; color: var(--hz-ink); font-size: 16px; /* 16 px: no zoom on iOS */ }
.hz-root input.hz-in-q::placeholder { color: var(--hz-muted); opacity: 1; }
.hz-root input.hz-in-q:disabled { background: var(--hz-bg); }
.hz-send { width: 46px; height: 46px; flex: none; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; background: var(--hz-pink); color: var(--hz-dark); cursor: pointer; }
.hz-send:hover:not(:disabled) { background: var(--hz-pinkd); }
.hz-send:disabled { opacity: .45; cursor: default; }
.hz-left { min-height: 1.4em; margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--hz-muted); text-align: center; }

/* ---- phones: a full-width bottom sheet (16 px gutter inside, no horizontal scroll) */
@media (max-width: 599px) {
  .hz-panel { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; height: min(640px, calc(100vh - 56px)); height: min(640px, calc(100dvh - 56px)); max-height: none; border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .hz-h { padding-left: 16px; } .hz-m, .hz-f { padding-left: 16px; padding-right: 16px; }
  .hz-msg { max-width: 92%; }
}
@media (max-height: 460px) and (min-width: 600px) { .hz-panel { height: calc(100vh - 100px - var(--hz-lift)); height: calc(100dvh - 100px - var(--hz-lift)); max-height: none; } }
@media (max-height: 560px) {   /* short screens (landscape phones, small laptop windows): a compact header and tighter rows so the messages keep room */
  .hz-h { padding: 8px 10px 8px 14px; gap: 10px; } .hz-av { width: 32px; height: 32px; font-size: 17px; } .hz-av svg { width: 23px; height: 23px; } .hz-eb { display: none; } .hz-title { font-size: 19px; } .hz-x { width: 36px; height: 36px; }
  .hz-f { padding-top: 8px; padding-bottom: 10px; } .hz-root input.hz-in-q, .hz-send { height: 40px; } .hz-send { width: 40px; } .hz-left { margin-top: 4px; min-height: 1.2em; }
}
@media (prefers-reduced-motion: reduce) {
  .hz-btn { transition: none; transform: none; }
  .hz-panel.hz-open { animation: none; }
  .hz-dots i { animation: none; opacity: .6; }
}
