/* YapThing send control: a distinct forest-green "launch" action.
   The button's accessible Send / Stop label is still managed by chat.js.
   Visual lettering is suppressed without touching submission behavior. */
body .workspace #form.composer .compose-row button#send {
  box-sizing: border-box;
  display: inline-grid !important;
  place-items: center !important;
  justify-self: end;
  align-self: center;
  position: relative;
  flex: 0 0 auto;
  width: 44px !important;
  min-width: 44px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  margin: 0 2px 0 0 !important;
  border: 1px solid #186747 !important;
  border-radius: 15px 15px 8px 15px !important;
  background: linear-gradient(145deg, #168960, #07543d) !important;
  box-shadow: 0 2px 5px #07452a1c, inset 0 1px #ffffff22 !important;
  color: #dfff99 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  overflow: hidden !important;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
/* Diagonal send path with a quiet forward-motion trail (not a brand logo). */
body .workspace #form.composer .compose-row button#send::after {
  content: "" !important;
  display: block !important;
  width: 24px;
  height: 24px;
  background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M5 17c5-1 9-5 13-11M11 6h7v7'/%3E%3Cpath d='M5 21h4' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M5 17c5-1 9-5 13-11M11 6h7v7'/%3E%3Cpath d='M5 21h4' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
body .workspace #form.composer .compose-row button#send::before { content: none !important; }
body .workspace #form.composer .compose-row button#send:not(:disabled):hover {
  transform: translateY(-1px);
  background: linear-gradient(145deg, #1a9b6a, #096143) !important;
  box-shadow: 0 5px 13px #07543d30, inset 0 1px #ffffff25 !important;
}
body .workspace #form.composer .compose-row button#send:focus-visible {
  outline: 2px solid #2ea66f !important;
  outline-offset: 3px !important;
}
body .workspace #form.composer .compose-row button#send:disabled {
  opacity: .67 !important;
  filter: none !important;
  cursor: not-allowed !important;
  animation: none !important;
}
/* Reply is running: keep Stop readable as a symbol, not a text label. */
body .workspace #form.composer .compose-row button#send[data-action="stop"] {
  background: #184f3c !important;
  background-image: linear-gradient(#184f3c, #184f3c) !important;
  background-color: #184f3c !important;
  border-color: #184f3c !important;
  border-radius: 13px !important;
  color: #f2fff0 !important;
}
body .workspace #form.composer .compose-row button#send[data-action="stop"]::after {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: currentColor !important;
  -webkit-mask: none;
  mask: none;
}
@media(max-width:700px) {
  body .workspace #form.composer .compose-row button#send {
    width: 42px !important;
    min-width: 42px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body .workspace #form.composer .compose-row button#send { transition: none !important; }
  body .workspace #form.composer .compose-row button#send:not(:disabled):hover { transform: none; }
}
