/* send-pro.css — the send button: one clean, professional design for every state (loaded last so it wins over older rules).
   idle (nothing typed) · ready (can send) · working (stop) · locked (daily limit) */
#send.snd{
  position:relative;align-self:flex-end;flex:none;display:grid;place-items:center;
  width:40px;height:40px;min-width:40px;margin:0 0 0 4px;padding:0;border:0;border-radius:50%;overflow:hidden;cursor:pointer;
  color:#fff;background:linear-gradient(180deg,#a28bff 0%,#7d5cf4 52%,#6a45e8 100%);
  box-shadow:0 0 0 1px rgba(255,255,255,.16) inset,0 1px 0 rgba(255,255,255,.4) inset,0 -1px 0 rgba(0,0,0,.22) inset,0 8px 18px -8px rgba(122,88,242,.95);
  transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .2s,background .2s,color .2s,filter .2s,opacity .22s,width .28s var(--ease),margin .28s var(--ease);
  -webkit-tap-highlight-color:transparent;touch-action:manipulation}
#send.snd:before{content:"";position:absolute;inset:0;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.22),transparent 55%);pointer-events:none}
#send.snd svg{position:relative;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s cubic-bezier(.2,.8,.2,1)}
#send.snd:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 0 0 1px rgba(255,255,255,.2) inset,0 1px 0 rgba(255,255,255,.45) inset,0 12px 22px -8px rgba(122,88,242,1)}
#send.snd:not(:disabled):hover svg{transform:translateY(-1.5px)}
#send.snd:not(:disabled):active{transform:scale(.92);filter:none;transition-duration:.08s}
#send.snd:focus-visible{outline:2px solid #d9d0ff;outline-offset:2px}
/* ready: a small pop the moment there is something to send */
#send.snd:not(:disabled):not(.stop){animation:sndReady .32s cubic-bezier(.2,1.2,.4,1)}
@keyframes sndReady{0%{transform:scale(.82)}100%{transform:scale(1)}}
/* nothing typed: calm, clearly a send button */
#send.snd:disabled{cursor:not-allowed;color:rgba(255,255,255,.42);background:rgba(255,255,255,.07);box-shadow:0 0 0 1px rgba(255,255,255,.12) inset}
#send.snd:disabled:before{display:none}
/* the answer is being written: stop (the member can always cancel) */
#send.snd.stop{color:#0b0c12;background:linear-gradient(160deg,#fff,#dfe2ee);box-shadow:0 0 0 1px rgba(0,0,0,.06) inset,0 8px 18px -10px rgba(255,255,255,.55);animation:sndStop 1.8s ease-in-out infinite}
#send.snd.stop:before{display:none}
#send.snd.stop svg{width:15px;height:15px;fill:currentColor;stroke:currentColor;stroke-width:2}
@keyframes sndStop{50%{box-shadow:0 0 0 1px rgba(0,0,0,.06) inset,0 0 0 6px rgba(255,255,255,.1),0 8px 18px -10px rgba(255,255,255,.55)}}
@media(pointer:coarse){#send.snd{width:44px;height:44px;min-width:44px}}
@media(prefers-reduced-motion:reduce){#send.snd,#send.snd svg{transition:none}#send.snd:not(:disabled):not(.stop),#send.snd.stop{animation:none}}
