/* Whats Agent chat assistant — loaded on every public page. No inline styles. */
.wa-help{position:fixed;right:22px;bottom:22px;z-index:95;font-family:Inter,"Noto Sans Telugu","Noto Sans Devanagari","Noto Sans Tamil","Noto Sans Kannada",system-ui,sans-serif}
.wa-help-launcher{display:flex;align-items:center;gap:10px;height:58px;min-width:58px;padding:0 16px 0 14px;border:0;border-radius:999px;background:#0B6B4F;color:#fff;box-shadow:0 12px 30px -8px rgba(11,107,79,.55),0 2px 6px rgba(0,0,0,.15);cursor:pointer;font:700 14.5px "Plus Jakarta Sans",system-ui,sans-serif;transition:transform .2s,box-shadow .2s}
.wa-help-launcher:hover,.wa-help-launcher:focus-visible{transform:translateY(-2px);box-shadow:0 16px 34px -8px rgba(11,107,79,.65),0 2px 6px rgba(0,0,0,.15);outline:none}
.wa-help-launcher:focus-visible{outline:3px solid #0B1220;outline-offset:3px}
.wa-help-launcher-icon{display:flex;width:30px;height:30px;align-items:center;justify-content:center;flex-shrink:0}
.wa-help-launcher-icon svg{width:26px;height:26px}
.wa-help-launcher[aria-expanded=true] .wa-help-launcher-icon-chat{display:none}
.wa-help-launcher[aria-expanded=true] .wa-help-launcher-icon-close{display:block}
.wa-help-launcher-icon-close{display:none}
.wa-help-launcher-label{padding-right:2px}
.wa-help-menu{position:absolute;right:0;bottom:70px;display:none;flex-direction:column;gap:6px;min-width:220px;padding:8px;background:#fff;border:1px solid #e2ebe6;border-radius:16px;box-shadow:0 18px 40px -12px rgba(15,40,30,.28)}
.wa-help-menu.open{display:flex}
.wa-help-menu button,.wa-help-menu a{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;border:0;border-radius:12px;background:transparent;color:#0B1220;font:600 14px Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer;text-align:left}
.wa-help-menu button:hover,.wa-help-menu a:hover,.wa-help-menu button:focus-visible,.wa-help-menu a:focus-visible{background:#eaf7f0;outline:none}
.wa-help-menu .ico{display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:10px;background:#eaf7f0;color:#0B6B4F;flex-shrink:0}
.wa-help-menu .ico.wa{background:#e8f8ef;color:#128C7E}
.wa-help-menu small{display:block;font:500 11.5px Inter,system-ui,sans-serif;color:#5b6b63;margin-top:1px}

/* Panel */
.wa-chat{position:absolute;right:0;bottom:70px;display:none;flex-direction:column;width:min(380px,calc(100vw - 24px));height:min(560px,calc(100vh - 100px));background:#fff;border:1px solid #dfe7e3;border-radius:18px;box-shadow:0 22px 50px -14px rgba(15,40,30,.35);overflow:hidden}
.wa-chat.open{display:flex}
.wa-chat-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;background:linear-gradient(135deg,#0B6B4F,#128C7E);color:#fff}
.wa-chat-head .avatar{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:#fff;padding:1px;flex-shrink:0;box-shadow:0 0 0 2px rgba(255,255,255,.35)}
.wa-chat-head .avatar picture,.wa-chat-head .avatar img{display:block;width:36px;height:36px;border-radius:50%}
.wa-chat-head .meta{flex:1;min-width:0}
.wa-chat-head .meta b{display:block;font:700 14px "Plus Jakarta Sans",system-ui,sans-serif}
.wa-chat-head .meta span{display:block;font:500 11.5px Inter,system-ui,sans-serif;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-chat-head .tools{display:flex;gap:4px;align-items:center}
.wa-chat-head select{appearance:none;-webkit-appearance:none;border:0;border-radius:8px;background:rgba(255,255,255,.18);color:#fff;font:600 12px Inter,system-ui,sans-serif;padding:6px 22px 6px 8px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 7px center}
.wa-chat-head select option{color:#0B1220}
.wa-chat-iconbtn{display:flex;width:32px;height:32px;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer}
.wa-chat-iconbtn:hover,.wa-chat-iconbtn:focus-visible{background:rgba(255,255,255,.18);outline:none}

.wa-chat-body{flex:1;overflow-y:auto;padding:14px 12px;background:#f4f7f5;display:flex;flex-direction:column;gap:10px}
.wa-chat-msg{display:flex;flex-direction:column;gap:4px;max-width:92%}
.wa-chat-msg.user{align-self:flex-end}
.wa-chat-msg.bot{align-self:flex-start}
.wa-chat-bubble{padding:10px 12px;border-radius:14px;font:400 13.5px/1.45 Inter,"Noto Sans Telugu","Noto Sans Devanagari","Noto Sans Tamil","Noto Sans Kannada",system-ui,sans-serif;color:#0B1220;word-wrap:break-word;overflow-wrap:anywhere}
.wa-chat-msg.user .wa-chat-bubble{background:#0B6B4F;color:#fff;border-bottom-right-radius:4px}
.wa-chat-msg.bot .wa-chat-bubble{background:#fff;border:1px solid #e2ebe6;border-bottom-left-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.wa-chat-bubble p{margin:0 0 .55em} .wa-chat-bubble p:last-child{margin:0}
.wa-chat-bubble ul{margin:.3em 0 .55em;padding-left:1.15em} .wa-chat-bubble li{margin:.15em 0}
.wa-chat-bubble a{color:#0B6B4F;font-weight:600;text-decoration:underline}
.wa-chat-msg.user .wa-chat-bubble a{color:#fff}
.wa-chat-bubble strong{font-weight:700}
.wa-chat-who{font:500 10.5px Inter,system-ui,sans-serif;color:#7a8a82;padding:0 4px}
.wa-chat-msg.user .wa-chat-who{text-align:right}
.wa-chat-typing{display:inline-flex;gap:4px;padding:4px 2px}
.wa-chat-typing i{width:6px;height:6px;border-radius:50%;background:#9aaba2;animation:wa-dot 1s infinite ease-in-out}
.wa-chat-typing i:nth-child(2){animation-delay:.15s} .wa-chat-typing i:nth-child(3){animation-delay:.3s}
@keyframes wa-dot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}

.wa-chat-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 2px}
.wa-chat-chip{border:1px solid #cfe0d6;background:#fff;color:#0B6B4F;border-radius:999px;padding:7px 12px;font:600 12.5px Inter,system-ui,sans-serif;cursor:pointer}
.wa-chat-chip:hover,.wa-chat-chip:focus-visible{background:#eaf7f0;outline:none}
.wa-chat-choices{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.wa-chat-choice{border:1px solid #0B6B4F;background:#fff;color:#0B6B4F;border-radius:10px;padding:8px 12px;font:600 13px Inter,system-ui,sans-serif;cursor:pointer}
.wa-chat-choice:hover,.wa-chat-choice:focus-visible{background:#0B6B4F;color:#fff;outline:none}
.wa-chat-choice.ghost{border-color:#cfd8d3;color:#5b6b63}
.wa-chat-choice.ghost:hover{background:#f0f3f1;color:#0B1220}

.wa-chat-card{background:#fff;border:1px solid #cfe0d6;border-radius:14px;padding:12px;margin-top:4px}
.wa-chat-card h4{margin:0 0 8px;font:700 13.5px "Plus Jakarta Sans",system-ui,sans-serif;color:#0B6B4F}
.wa-chat-card dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:4px 10px;font:400 12.5px/1.4 Inter,system-ui,sans-serif}
.wa-chat-card dt{color:#5b6b63} .wa-chat-card dd{margin:0;font-weight:600;color:#0B1220}
.wa-chat-card .note{margin:8px 0 0;font:400 11.5px Inter,system-ui,sans-serif;color:#5b6b63}
.wa-chat-card .acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.wa-chat-card .acts button{border:0;border-radius:10px;padding:8px 12px;font:700 12.5px Inter,system-ui,sans-serif;cursor:pointer}
.wa-chat-card .acts .ok{background:#0B6B4F;color:#fff}
.wa-chat-card .acts .edit{background:#eaf7f0;color:#0B6B4F}
.wa-chat-card .acts .cancel{background:#f0f3f1;color:#5b6b63}

.wa-chat-foot{border-top:1px solid #e2ebe6;background:#fff;padding:8px 10px 10px}
.wa-chat-form{display:flex;gap:8px;align-items:flex-end}
.wa-chat-form textarea{flex:1;resize:none;min-height:42px;max-height:110px;border:1px solid #cfe0d6;border-radius:12px;padding:10px 12px;font:400 13.5px/1.4 Inter,"Noto Sans Telugu","Noto Sans Devanagari","Noto Sans Tamil","Noto Sans Kannada",system-ui,sans-serif;color:#0B1220;background:#fafcfb}
.wa-chat-form textarea:focus{outline:2px solid #0B6B4F;outline-offset:1px;border-color:#0B6B4F}
.wa-chat-form button[type=submit]{width:42px;height:42px;border:0;border-radius:12px;background:#0B6B4F;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.wa-chat-form button[type=submit]:disabled{opacity:.5;cursor:not-allowed}
.wa-chat-form button[type=submit]:hover:not(:disabled),.wa-chat-form button[type=submit]:focus-visible:not(:disabled){background:#095a42;outline:none}
.wa-chat-disc{margin:6px 2px 0;font:400 10.5px/1.35 Inter,system-ui,sans-serif;color:#8a9a92}

.wa-help-teaser{position:absolute;right:0;bottom:70px;display:none;max-width:260px;padding:10px 12px;background:#fff;border:1px solid #e2ebe6;border-radius:14px;box-shadow:0 12px 28px -10px rgba(15,40,30,.25);font:500 12.5px/1.4 Inter,system-ui,sans-serif;color:#0B1220}
.wa-help-teaser.open{display:block}
.wa-help-teaser button{position:absolute;top:4px;right:6px;border:0;background:transparent;color:#8a9a92;cursor:pointer;font-size:16px;line-height:1}

@media (max-width:760px){
  .wa-help{right:16px;bottom:16px}
  .wa-help-launcher{height:54px;min-width:54px;padding:0;justify-content:center}
  .wa-help-launcher-label{display:none}
  .wa-chat{width:calc(100vw - 20px);height:min(78vh,calc(100vh - 80px));bottom:64px;right:-4px;border-radius:16px}
  .wa-help-menu{bottom:64px}
  .wa-help-teaser{bottom:64px;max-width:220px}
}
@media print{.wa-help{display:none!important}}

/* Hide the old standalone WhatsApp float when the unified launcher is present */
body:has(.wa-help) .wa-float{display:none!important}
