.yap-voice-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;min-height:38px;border:1px solid var(--border);border-radius:12px;background:transparent;color:var(--fg);cursor:pointer}.yap-voice-button:hover,.yap-voice-button:focus-visible{outline:2px solid var(--accent,#dfff68);outline-offset:2px}.yap-voice-button.is-listening{background:#dcfa66;color:#193026;box-shadow:0 0 0 4px #dcfa6638}.yap-voice-button:disabled{opacity:.35;cursor:not-allowed}@media(max-width:600px){.yap-voice-button{width:36px;height:36px}}
/* Put the mic beside Send rather than the grid auto-placement at upper left. */
.composer .compose-row.yap-compose-modes{grid-template-columns:44px minmax(0,1fr) 38px auto!important}
.composer .compose-row #yap-voice-input{grid-column:3!important;grid-row:3!important;justify-self:end;align-self:center;margin:0!important;padding:0!important}
.composer .compose-row #send{grid-column:4!important;grid-row:3!important}
@media(max-width:420px){.composer .compose-row.yap-compose-modes{grid-template-columns:40px minmax(0,1fr) 36px auto!important;gap:5px!important}}

/* YapVoice: an accessible, deliberate speech composer, not an auto-submit prompt. */
#yap-voice-sheet.yap-voice-sheet{
  border:1px solid color-mix(in srgb,var(--border,#b5c3b9),transparent 18%);
  border-radius:25px;padding:0;overflow:hidden;width:min(450px,calc(100vw - 24px));
  max-height:min(86dvh,760px);background:var(--panel,#fff);color:var(--fg,#1c2723);
  box-shadow:0 28px 90px #0003;
}
#yap-voice-sheet::backdrop{background:rgba(7,20,18,.54);backdrop-filter:blur(5px)}
#yap-voice-sheet .yap-voice-shell{display:flex;flex-direction:column;gap:16px;padding:20px;overflow-y:auto;max-height:86dvh}
#yap-voice-sheet .yap-voice-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
#yap-voice-sheet .yap-voice-head h2{font:700 24px system-ui;margin:4px 0}
#yap-voice-sheet .yap-voice-eyebrow{font:600 10px system-ui;letter-spacing:.16em;color:var(--accent,#238a63)}
#yap-voice-sheet .yap-voice-head p{font-size:13px;opacity:.72;margin:0}
#yap-voice-sheet button{font:600 13px system-ui;min-height:40px;padding:8px 13px;border-radius:12px;border:1px solid var(--border,#b3c5b9);background:transparent;color:inherit;cursor:pointer}
#yap-voice-sheet [data-yv=close]{min-width:42px;line-height:1}
#yap-voice-sheet button:focus-visible{outline:2px solid #48bd6f;outline-offset:2px}
#yap-voice-sheet .yap-voice-center{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:3px 5px 0}
#yap-voice-sheet .yap-voice-center strong{font:700 20px system-ui}
#yap-voice-sheet .yap-voice-center p{font:13px/1.5 system-ui;min-height:20px;margin:0;opacity:.72}
#yap-voice-sheet .yap-voice-orb{width:118px;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle at 31% 28%,#d8fa79,#6cd153 36%,#178a5b 68%,#14684f);
  box-shadow:inset -12px -16px 23px #00382348,0 10px 40px #13845a29;transition:transform .3s,box-shadow .3s}
#yap-voice-sheet.is-listening .yap-voice-orb{animation:yap-voice-breathe 1.65s ease-in-out infinite alternate;box-shadow:0 0 0 9px #35bb6426,0 12px 40px #1d94664f}
@keyframes yap-voice-breathe{from{transform:scale(.96)}to{transform:scale(1.07)}}
#yap-voice-sheet label[for=yap-voice-transcript]{font:600 12px system-ui;margin-bottom:-8px}
#yap-voice-sheet textarea{width:100%;min-height:95px;max-height:200px;resize:vertical;border:1px solid var(--border,#b3c5b9);border-radius:14px;padding:12px;color:inherit;background:var(--bg,#f8faf6);font:14px/1.5 system-ui}
#yap-voice-sheet .yap-voice-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#yap-voice-sheet [data-yv=listen]{grid-column:1 / 3}
#yap-voice-sheet .yap-voice-primary{background:#216344!important;color:white!important;border-color:#216344!important}
#yap-voice-sheet .yap-voice-replay{border:none;padding:7px;background:transparent;text-decoration:underline}
#yap-voice-sheet [data-yv=privacy]{font:11px/1.5 system-ui;opacity:.65}
@media(max-width:420px){#yap-voice-sheet .yap-voice-shell{padding:15px}#yap-voice-sheet.yap-voice-sheet{max-height:92dvh}}
@media(prefers-reduced-motion:reduce){#yap-voice-sheet .yap-voice-orb{animation:none!important;transition:none!important}}\n