.whb {
  --whb-ink: #193d40;
  --whb-muted: #587174;
  --whb-teal: #126a68;
  --whb-border: #dce8e7;
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 1100;
  color: var(--whb-ink);
  font: 14px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: normal;
  text-align: left;
}
.whb *, .whb *::before, .whb *::after { box-sizing: border-box; }
.whb [hidden] { display: none !important; }
.whb button, .whb input, .whb textarea { font: inherit; letter-spacing: normal; }
.whb button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.whb button:disabled { cursor: default; opacity: .5; }
.whb button:focus-visible, .whb a:focus-visible, .whb input:focus-visible, .whb textarea:focus-visible, .whb-log:focus-visible { outline: 3px solid #258b88; outline-offset: 3px; }
.whb button, .whb a { touch-action: manipulation; }
.whb-launcher {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-left: auto;
  padding: 3px;
  border: 0;
  border-radius: 26px;
  background: transparent;
  color: var(--whb-ink);
  box-shadow: none;
  transition: transform .18s ease;
}
.whb-launcher:hover { transform: translateY(-3px); }
.whb-launcher img { display: block; width: 68px; height: 68px; object-fit: contain; }
.whb-launcher-label { display: none; }
.whb-unread { position: absolute; top: -4px; right: -3px; min-width: 24px; height: 24px; padding: 1px 5px; border: 2px solid white; border-radius: 99px; background: var(--whb-teal); color: white; font-size: 11px; font-weight: 700; text-align: center; }
.whb-panel { display: flex; flex-direction: column; width: 392px; height: min(660px, calc(100dvh - 140px)); min-height: 320px; margin-bottom: 13px; overflow: hidden; border: 1px solid var(--whb-border); border-radius: 22px; background: #fff; box-shadow: 0 16px 64px #173d4030, 0 2px 10px #173d4010; }
.whb-header { flex: 0 0 auto; display: flex; align-items: center; gap: 11px; padding: 17px 18px; border-bottom: 1px solid var(--whb-border); background: linear-gradient(110deg, #f0faf8, #fffdf0); }
.whb-avatar { width: 44px; height: 44px; object-fit: contain; }
.whb-heading { flex: 1; min-width: 0; }
.whb .whb-title { margin: 0; color: var(--whb-ink); font-size: 16px; font-weight: 750; letter-spacing: -.25px; line-height: 1.4; }
.whb .whb-subtitle { margin: 3px 0 0; color: var(--whb-muted); font-size: 10px; line-height: 1.4; }
.whb-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 11px; background: transparent; color: var(--whb-ink); font-size: 24px !important; line-height: 1; }
.whb-icon:hover { background: #193d400a; }
.whb .whb-support-availability { flex: 0 0 auto; margin: 0; padding: 8px 18px; border-bottom: 1px solid var(--whb-border); background: #f8fbfa; color: var(--whb-muted); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.whb .whb-support-availability a { color: var(--whb-teal); text-decoration: underline; text-underline-offset: 2px; }
.whb .whb-handoff-notice { flex: 0 0 auto; margin: 0; padding: 10px 18px; border-bottom: 1px solid #e2eee8; background: #f5faf7; color: #44695d; font-size: 11px; line-height: 1.55; }
.whb-log { flex: 1 1 auto; min-height: 0; padding: 21px 18px 12px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cadcda transparent; }
.whb-welcome { margin-bottom: 22px; }
.whb-eyebrow { display: block; margin-bottom: 7px; color: #4b7571; font-size: 10px; font-weight: 600; }
.whb .whb-welcome h3 { margin: 0 0 9px; font-size: 21px; line-height: 1.3; letter-spacing: -.65px; color: var(--whb-ink); }
.whb .whb-welcome p { margin: 0 0 10px; font-size: 12px; line-height: 1.65; color: #3a5a5d; }
.whb .whb-welcome .whb-ai-note { color: var(--whb-muted); font-size: 10px; }
.whb-suggestions { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 5px; }
.whb-suggestion { max-width: 100%; padding: 9px 12px; border: 1px solid #cce1dc; border-radius: 11px; background: #f9fcfb; color: #245e58; text-align: left; font-size: 11px !important; line-height: 1.5; }
.whb-suggestion:hover { border-color: #8ebdb4; background: #eff8f5; }
.whb-message { max-width: 94%; margin: 0 0 16px; padding: 11px 13px; border-radius: 13px 13px 13px 3px; background: #f2f7f6; }
.whb-message-visitor { margin-left: auto; border-radius: 13px 13px 3px 13px; background: #e5f3ef; }
.whb-message-operator { border: 1px solid #d6e7e2; background: #f5fbf8; }
.whb-message-system { max-width: 100%; padding: 6px 5px; background: transparent; color: var(--whb-muted); text-align: center; }
.whb-message-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 5px; color: #52716b; font-size: 9px; font-weight: 650; line-height: 1.5; }
.whb-message-meta time { font-size: 9px; font-weight: 400; }
.whb-message-system .whb-message-meta { display: none; }
.whb .whb-message-body { margin: 0; color: inherit; font-size: 12px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.whb-message-system .whb-message-body { font-size: 10px; }
.whb-feedback { display: flex; align-items: center; gap: 5px; margin-top: 12px; padding-top: 8px; border-top: 1px solid #dce7e3; color: var(--whb-muted); font-size: 9px; }
.whb-feedback span { margin-right: auto; }
.whb-feedback-button { min-height: 30px; padding: 4px 9px; border: 1px solid #ccded8; border-radius: 7px; background: white; color: #365f58; font-size: 10px !important; }
.whb-feedback-button[aria-pressed="true"] { border-color: var(--whb-teal); background: #d8eee5; }
.whb-message-support { display: block; margin-top: 10px; padding: 3px 0; border: 0; background: transparent; color: var(--whb-teal); font-size: 10px !important; font-weight: 600 !important; text-align: left; }
.whb-progress { flex: 0 0 auto; padding: 4px 18px 8px; color: var(--whb-muted); font-size: 10px; }
.whb-error { flex: 0 0 auto; margin: 0 14px 9px; padding: 10px 12px; border: 1px solid #edddbc; border-radius: 10px; background: #fffaf0; color: #755624; font-size: 11px; }
.whb-error .whb-retry { display: block; margin-top: 5px; color: #755624; font-weight: 700; }
.whb-composer { flex: 0 0 auto; padding: 10px 14px 0; border-top: 1px solid #edf2f0; }
.whb-input-row { display: flex; align-items: flex-end; gap: 6px; padding: 7px; border: 1px solid #cbded8; border-radius: 13px; background: #fcfefd; }
.whb-input-row:focus-within { border-color: #6ba594; box-shadow: 0 0 0 2px #edf6f1; }
.whb textarea { display: block; flex: 1; width: 0; min-height: 46px; max-height: 110px; padding: 3px 3px; border: 0; outline: none !important; resize: vertical; background: transparent; color: var(--whb-ink); font-size: 12px; line-height: 1.6; }
.whb textarea::placeholder { color: #6c827f; opacity: 1; }
.whb-send { flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: var(--whb-teal); color: white; font-size: 22px !important; line-height: 1; }
.whb-send:hover:not(:disabled), .whb-primary:hover:not(:disabled) { background: #0d5553; }
.whb .whb-privacy { margin: 6px 2px 0; font-size: 9px; line-height: 1.5; color: #627773; }
.whb-privacy a { color: #426e64; text-decoration: underline; }
.whb-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex: 0 0 auto; padding: 9px 17px 12px; }
.whb-link { padding: 0; border: 0; background: transparent; color: var(--whb-teal); font-size: 10px !important; line-height: 1.7; text-decoration: underline; text-underline-offset: 3px; }
.whb-link:hover { color: #124e45; }
.whb-end { color: #74847e; }
.whb-panel:has(.whb-handoff:not([hidden])) .whb-log { display: none; }
.whb-handoff { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 13px 18px 16px; border-top: 1px solid var(--whb-border); background: #f8fbfa; }
.whb-handoff-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.whb .whb-handoff p { margin: 3px 0 10px; color: var(--whb-muted); font-size: 11px; line-height: 1.6; }
.whb-handoff label { display: block; margin: 7px 0 4px; font-size: 10px; font-weight: 650; }
.whb-handoff label span { color: var(--whb-muted); font-weight: 400; }
.whb-handoff input { display: block; width: 100%; height: 36px; padding: 5px 10px; border: 1px solid #cbded8; border-radius: 8px; background: white; color: var(--whb-ink); font-size: 12px; }
.whb-primary { display: block; width: 100%; min-height: 38px; margin-top: 13px; padding: 8px 12px; border: 0; border-radius: 10px; background: var(--whb-teal); color: white; font-size: 11px !important; font-weight: 650 !important; }
.whb-closed { padding: 10px 18px 18px; border-top: 1px solid var(--whb-border); }
.whb .whb-closed p { margin: 0; color: var(--whb-muted); font-size: 12px; }
.whb-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
@media (max-width: 520px) {
  .whb { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .whb-launcher { width: 64px; height: 64px; border-radius: 23px; }
  .whb-launcher img { width: 58px; height: 58px; }
  .whb-panel { width: min(392px, calc(100vw - 24px)); height: min(630px, calc(100dvh - 108px)); min-height: 230px; margin-bottom: 10px; border-radius: 18px; }
  .whb-header { padding: 12px 14px; }
  .whb-log { padding: 16px 14px 9px; }
  .whb textarea, .whb-handoff input { font-size: 16px; }
  .whb-handoff { padding-top: 7px; padding-bottom: 10px; }
}
@media (max-height: 560px) {
  .whb-panel { height: calc(100dvh - 30px); min-height: 200px; margin-bottom: 0; }
  .whb-panel:not([hidden]) + .whb-launcher { display: none; }
  .whb-header { padding-top: 8px; padding-bottom: 8px; }
  .whb-avatar { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .whb-launcher { transition: none; } }
