/* Floating help widgets (WhatsApp bottom-left, Emma bottom-right). Used by the portal and the public site. */
.wa-fab{position:fixed;left:18px;bottom:18px;z-index:50}
.wa-btn{display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:12px 18px 12px 14px;background:#25d366;color:#fff;font:600 14px Poppins,sans-serif;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.wa-panel{position:absolute;left:0;bottom:62px;width:360px;max-height:min(600px,78vh);background:#fff;border-radius:24px;box-shadow:0 20px 60px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden}
.wa-panel[hidden]{display:none}
.wa-panel header{display:flex;align-items:center;gap:12px;padding:16px 16px 14px 18px;border-bottom:1px solid var(--line)}
.wa-panel header div{flex:1;min-width:0;display:grid;gap:2px}
.wa-panel header b{font-size:15px}
.wa-panel header small{font-size:12.5px;color:#1f9d55;display:flex;align-items:center;gap:6px}
.wa-panel header small i{width:7px;height:7px;border-radius:50%;background:#25d366}
.wa-face{position:relative;width:46px;height:46px;flex:0 0 46px}
.wa-face img{width:46px;height:46px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:2px solid #f3e8ff}
.wa-face i{position:absolute;right:0;bottom:1px;width:12px;height:12px;border-radius:50%;background:#25d366;border:2px solid #fff}
.wa-x{border:0;background:none;color:#9aa0a6;font-size:28px;line-height:1;cursor:pointer;padding:0 4px}
.wa-body{padding:16px 18px 18px;overflow:auto;display:grid;gap:10px}
.wa-hi{font-size:19px;font-weight:600;margin:0}
.wa-lead{margin:-6px 0 4px;color:var(--muted);font-size:14px}
.wa-card{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1.5px solid #e7e7e7;background:#f7f8f9;border-radius:16px;padding:12px 12px 12px 12px;cursor:pointer;font:inherit;color:var(--ink);transition:border-color .15s,background .15s}
.wa-card:hover{border-color:#25d366;background:#f1fbf4}
.wa-opt{background:#fff;padding:14px 14px}
.wa-ic{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#e3f8ea;color:#1f9d55}
.wa-t{flex:1;min-width:0;display:grid;gap:2px}
.wa-t b{font-size:14.5px;font-weight:600}
.wa-t small{font-size:12.5px;color:var(--muted)}
.wa-chev{font-size:22px;color:#b5b9be}
.wa-other,.wa-back,.wa-again{border:0;background:none;font:inherit;font-size:13.5px;cursor:pointer;padding:4px 0;justify-self:start}
.wa-other{color:var(--purple)}
.wa-back{color:#1f9d55}
.wa-q{font-size:17px;font-weight:600;margin:0 0 2px}
.wa-go{text-align:center;display:grid;gap:10px;justify-items:center;padding:8px 4px}
.wa-go-ic{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#25d366;color:#fff}
.wa-go-ic svg{width:34px;height:34px}
.wa-go h3{font-size:18px;margin:4px 0 0}
.wa-go p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.wa-bar{width:100%;height:6px;border-radius:6px;background:#eee;overflow:hidden}
.wa-bar i{display:block;height:100%;width:0;background:#25d366;animation:wabar 3s linear forwards}
@keyframes wabar{to{width:100%}}
.wa-go .wa-count{color:#1f9d55;font-weight:600}
.wa-now{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px;border-radius:14px;background:#25d366;color:#fff;font-weight:600;font-size:15px}
.wa-now svg{width:20px;height:20px}
.wa-again{color:var(--muted);justify-self:center}
@media(max-width:860px){.wa-fab{left:12px;bottom:12px}.wa-btn span{display:none}.wa-btn{padding:12px}
  .wa-panel{position:fixed;left:12px;right:12px;bottom:74px;width:auto}}
.chat{display:grid;gap:10px;margin-top:6px}
.chat-log{display:grid;gap:8px;max-height:280px;overflow:auto;padding:4px}
.chat-a,.chat-q{padding:10px 13px;border-radius:14px;font-size:14px;line-height:1.55;max-width:90%}
.chat-a{background:#f3f3f3;justify-self:start}
.chat-a a{color:var(--purple)}
.chat-q{background:var(--navy);color:#fff;justify-self:end}
.chat-in{display:grid;grid-template-columns:1fr auto;gap:8px}
/* Emma, the floating AI helper (bottom-right) */
.ada-fab{position:fixed;right:18px;bottom:18px;z-index:50}
.ada-btn{display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:8px 18px 8px 8px;background:var(--navy);color:#fff;font:600 14px Poppins,sans-serif;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.ada-av{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#e8672c,#f2994a);color:#fff;font-weight:700;font-size:15px;flex:0 0 32px}
.ada-panel{position:absolute;right:0;bottom:62px;width:360px;height:min(520px,70vh);background:#fff;border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden}
.ada-panel[hidden]{display:none}
.ada-panel header{display:flex;align-items:center;gap:10px;padding:14px 14px 14px 16px;background:var(--navy);color:#fff}
.ada-panel header div{flex:1;min-width:0;display:grid}
.ada-panel header small{font-size:12px;opacity:.75}
.ada-x{border:0;background:none;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:0 4px}
.ada-log{flex:1;max-height:none;padding:14px;align-content:start}
.ada-in{padding:10px 12px;border-top:1px solid var(--line)}
.ada-foot{font-size:11.5px;color:var(--muted);padding:0 14px 10px;margin:0}
.ada-foot a{color:var(--purple)}
.ada-typing{display:flex;gap:4px}
.ada-typing i{width:6px;height:6px;border-radius:50%;background:#999;animation:ada 1s infinite}
.ada-typing i:nth-child(2){animation-delay:.15s}.ada-typing i:nth-child(3){animation-delay:.3s}
@keyframes ada{0%,60%,100%{opacity:.3}30%{opacity:1}}
@media(max-width:860px){.ada-fab{right:12px;bottom:12px}.ada-panel{position:fixed;left:12px;right:12px;bottom:74px;width:auto;height:min(520px,calc(100vh - 100px))}}
@media print{.ada-fab{display:none!important}}
.ada-in .in{font-size:16px}
.ada-in input{width:100%;font:inherit;font-size:16px;color:var(--ink);background:#f6f6f6;border:1px solid #e2e2e2;border-radius:12px;padding:11px 13px;min-height:44px}
.ada-in button{border:0;border-radius:999px;padding:0 18px;min-height:44px;background:var(--grad);color:#fff;font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.wa-fab,.ada-fab{font-family:Poppins,system-ui,sans-serif}
@media(max-width:640px){.wa-fab,.ada-fab{bottom:calc(12px + env(safe-area-inset-bottom))}}
