.field-dictation-layer{position:fixed;inset:0;z-index:1200;pointer-events:none}
.field-dictation-layer>.field-dictation-button{position:fixed;display:grid;place-items:center;width:24px;height:24px;padding:0;min-height:0;border:1px solid #88bac7;border-radius:6px;background:var(--erp-card,#fff);color:var(--erp-ink,#0c6d82);pointer-events:auto;cursor:pointer}
.field-dictation-layer>.field-dictation-button:hover,.field-dictation-layer>.field-dictation-button[aria-pressed="true"]{background:#0d7188;color:#fff}
.field-dictation-layer>.field-dictation-button:focus-visible{outline:2px solid #157f9e;outline-offset:2px}
.field-dictation-layer>.field-dictation-status:not([hidden]){position:fixed;inset:auto 1rem 1rem auto;max-width:min(27rem,calc(100vw - 2rem));margin:0;padding:.65em .9em;border-radius:8px;background:#184052;color:#fff;font:inherit}
input[data-dictation-control],textarea[data-dictation-control],[contenteditable][data-dictation-control]{padding-inline-end:max(34px,1em)}
.field-dictation-button .mic-off-mark{display:none}
.field-dictation-button[data-phase="off"] .mic-off-mark,.field-dictation-button[data-phase="finishing"] .mic-off-mark{display:inline}
.field-dictation-layer>.field-dictation-button[data-phase="live"]{background:#176648;border-color:#176648;color:#fff}
.field-dictation-layer>.field-dictation-button[data-phase="opening"],.field-dictation-layer>.field-dictation-button[data-phase="finishing"]{background:#f3e9c9;color:#513d14;border-color:#c5a84f}
.field-dictation-button .dictation-wave{display:none}
.field-dictation-button[data-feedback="speech"] .dictation-mic{display:none}
.field-dictation-button[data-feedback="speech"] .dictation-wave{display:block}
.field-dictation-button[data-feedback="speech"] .dictation-wave path{transform-origin:center;transform:scaleY(var(--dictation-wave-level,1));animation:dictation-wave 480ms ease-in-out infinite alternate}
.dictation-wave path:nth-child(2n){animation-delay:-180ms!important}
.dictation-wave path:nth-child(3){animation-delay:-300ms!important}
.field-dictation-button[data-phase="off"][data-engine="loading"]::after,.field-dictation-button[data-phase="live"][data-feedback="processing"]::after{
 content:"";position:absolute;inset:-1px;border:1px solid transparent;border-top-color:currentColor;border-radius:inherit;pointer-events:none;
}
@supports(mask-composite:exclude){
 .field-dictation-button[data-phase="off"][data-engine="loading"]::after,.field-dictation-button[data-phase="live"][data-feedback="processing"]::after{
  border:0;padding:1.5px;
  background:conic-gradient(from var(--dictation-rim-angle),transparent 68%,currentColor 94%,transparent 100%);
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude;
  animation:dictation-progress 850ms linear infinite;
 }
}
@property --dictation-rim-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes dictation-wave{to{transform:scaleY(calc(var(--dictation-wave-level,1)*.45))}}
@keyframes dictation-progress{to{--dictation-rim-angle:360deg}}
@media(prefers-reduced-motion:reduce){.field-dictation-button .dictation-wave path,.field-dictation-button::after{animation:none!important}}
