/* Yesod WhatsApp chat bubble (bottom-right). The number lives only in the Worker. */
.wa-fab{position:fixed;right:32px;bottom:32px;z-index:95;width:76px;height:76px;border-radius:50%;border:0;cursor:pointer;display:grid;place-items:center;
  background:radial-gradient(120% 120% at 30% 20%,#3be37a,#25d366 55%,#128c4b);color:#fff;
  box-shadow:0 14px 34px -10px rgba(37,211,102,.65),0 4px 12px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.35);
  transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.wa-fab:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 18px 40px -10px rgba(37,211,102,.8),0 6px 14px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.4)}
.wa-fab:focus-visible{outline:3px solid #f5b301;outline-offset:3px}
.wa-fab svg{width:42px;height:42px}
.wa-fab .wa-x{display:none}
.wa-open .wa-fab .wa-logo{display:none}
.wa-open .wa-fab .wa-x{display:block;width:30px;height:30px}

.wa-panel{position:fixed;right:32px;bottom:122px;z-index:96;width:min(360px,calc(100vw - 32px));border-radius:22px;overflow:hidden;
  background:#0d1022;border:1px solid rgba(255,255,255,.12);color:#eef1fb;font-family:Inter,-apple-system,"Segoe UI",sans-serif;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.03);
  opacity:0;visibility:hidden;transform:translateY(12px) scale(.98);transform-origin:bottom right;pointer-events:none;transition:opacity .22s,transform .22s,visibility 0s linear .22s}
.wa-open .wa-panel{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:opacity .22s,transform .22s,visibility 0s}
.wa-head{display:flex;align-items:center;gap:12px;padding:16px 16px 14px;background:linear-gradient(135deg,#123d2b,#0f2a22 55%,#11152e)}
.wa-ava{width:42px;height:42px;border-radius:50%;flex:none;display:grid;place-items:center;background:#0a1a3f;box-shadow:0 0 0 2px rgba(37,211,102,.55)}
.wa-ava svg{width:24px;height:26px}
.wa-head b{display:block;font-family:"Space Grotesk",sans-serif;font-size:16px;color:#fff;line-height:1.2}
.wa-head small{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#b7c4bd}
.wa-head small::before{content:"";width:7px;height:7px;border-radius:50%;background:#25d366;box-shadow:0 0 0 3px rgba(37,211,102,.2)}
.wa-close{margin-left:auto;background:none;border:0;color:#cfd6ea;font-size:22px;line-height:1;cursor:pointer;padding:4px 6px;border-radius:8px}
.wa-close:hover{background:rgba(255,255,255,.08)}
.wa-body{padding:16px;background:
  radial-gradient(circle at 20% 10%,rgba(124,92,255,.10),transparent 40%),
  radial-gradient(circle at 90% 90%,rgba(245,179,1,.08),transparent 45%),#0b0e1d}
.wa-msg{display:inline-block;max-width:88%;background:#1b2140;border:1px solid rgba(255,255,255,.06);border-radius:4px 16px 16px 16px;padding:10px 13px;font-size:14.5px;line-height:1.5;color:#e6eaf7}
.wa-msg .t{display:block;font-size:11px;color:#8e9abb;margin-top:4px;text-align:right}
.wa-foot{padding:12px 14px 14px;border-top:1px solid rgba(255,255,255,.07);background:#0d1022}
.wa-foot textarea{width:100%;min-height:74px;max-height:160px;resize:vertical;font:inherit;font-size:14.5px;color:#fff;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:11px 13px}
.wa-foot textarea:focus{outline:2px solid #25d366;outline-offset:1px;border-color:transparent}
.wa-ts{margin-top:8px}
.wa-send{margin-top:10px;width:100%;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:999px;padding:12px 16px;cursor:pointer;
  font:600 15px Inter,sans-serif;color:#062b16;background:linear-gradient(135deg,#3be37a,#25d366);box-shadow:0 10px 24px -10px rgba(37,211,102,.7);transition:filter .2s,transform .2s}
.wa-send:hover{filter:brightness(1.06);transform:translateY(-1px)}
.wa-send:disabled{opacity:.6;cursor:default;transform:none}
.wa-send svg{width:18px;height:18px}
.wa-note{margin:9px 2px 0;font-size:12px;color:#8e9abb;text-align:center}
.wa-note a{color:#b8c2de;text-decoration:underline}
.wa-err{margin:8px 2px 0;font-size:13px;color:#ffd47a;min-height:0}
@media(max-width:520px){.wa-fab{right:16px;bottom:16px;width:64px;height:64px}.wa-fab svg{width:36px;height:36px}.wa-panel{right:16px;bottom:92px}}
@media(prefers-reduced-motion:reduce){.wa-fab,.wa-panel,.wa-send{transition:none}}
@media print{.wa-fab,.wa-panel{display:none}}
