/* Asistente de Aromandes — widget flotante */
#arw{position:fixed;right:18px;bottom:18px;z-index:9999;font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
#arw *{box-sizing:border-box}
#arw-btn{display:flex;align-items:center;gap:9px;background:var(--verde,#294624);color:#fff;border:none;border-radius:999px;
  padding:13px 20px 13px 16px;font-size:.95rem;font-weight:600;cursor:pointer;box-shadow:0 10px 26px rgba(41,70,36,.32);
  transition:transform .18s ease, box-shadow .18s ease}
#arw-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(41,70,36,.4)}
#arw-btn svg{width:19px;height:19px;flex:none}
#arw-panel{position:fixed;right:18px;bottom:18px;width:min(370px,calc(100vw - 24px));height:min(540px,calc(100vh - 40px));
  background:#fff;border-radius:16px;box-shadow:0 22px 60px rgba(25,40,22,.28);display:none;flex-direction:column;overflow:hidden;border:1px solid rgba(41,70,36,.12)}
#arw-panel.open{display:flex}
#arw-head{background:var(--verde,#294624);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:11px}
#arw-head .dot{width:34px;height:34px;border-radius:50%;background:var(--salvia,#CBD7A2);color:var(--verde,#294624);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.95rem;flex:none}
#arw-head b{display:block;font-size:.98rem;line-height:1.2}
#arw-head small{opacity:.82;font-size:.78rem}
#arw-x{margin-left:auto;background:transparent;border:none;color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;opacity:.85;padding:0 2px}
#arw-body{flex:1;overflow-y:auto;padding:16px;background:var(--crema,#FAF8F2);display:flex;flex-direction:column;gap:10px}
.arw-m{max-width:86%;padding:10px 13px;border-radius:14px;font-size:.96rem;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.arw-m.bot{background:#fff;border:1px solid rgba(41,70,36,.13);color:var(--texto,#2C3328);border-bottom-left-radius:5px;align-self:flex-start}
.arw-m.me{background:var(--verde,#294624);color:#fff;border-bottom-right-radius:5px;align-self:flex-end}
.arw-m a{color:var(--verde-medio,#618857);font-weight:600}
.arw-m.me a{color:#DCEBC8}
.arw-m.bot a{text-decoration:underline}
#arw-form{display:flex;gap:8px;padding:11px;border-top:1px solid rgba(41,70,36,.1);background:#fff}
#arw-in::placeholder{color:#7D8A75}
#arw-in{flex:1;border:1px solid rgba(41,70,36,.2);border-radius:999px;padding:11px 15px;font-size:.9rem;font-family:inherit;color:var(--texto,#2C3328);outline:none}
#arw-in:focus{border-color:var(--verde-medio,#618857)}
#arw-send{border:none;background:var(--wa,#1FA855);color:#fff;width:42px;height:42px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
#arw-send:disabled{opacity:.45;cursor:default}
#arw-send svg{width:18px;height:18px}
#arw-foot{font-size:.72rem;color:#6C7568;text-align:center;padding:0 12px 9px;background:#fff}
.arw-typing span{display:inline-block;width:6px;height:6px;margin-right:3px;border-radius:50%;background:#9BA893;animation:arw-b 1.1s infinite}
.arw-typing span:nth-child(2){animation-delay:.15s}
.arw-typing span:nth-child(3){animation-delay:.3s}
@keyframes arw-b{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(max-width:520px){
  #arw-btn{padding:12px 16px;font-size:.9rem}
  #arw-panel{right:10px;left:10px;bottom:10px;width:auto;height:calc(100vh - 20px);border-radius:14px}
}
