.ards-recorder { border: 1px solid #dce3e6; border-radius: 14px; padding: 22px; margin-block: 12px; background: #f8fafb; color: #24343c; }
.ards-recorder .ards-recorder-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ards-recorder .ards-indicator { width: 10px; height: 10px; border-radius: 50%; background: #82919a; flex-shrink: 0; }
.ards-recorder[data-state="recording"] .ards-indicator { background: #cc3547; box-shadow: 0 0 0 5px #cc354715; }
.ards-recorder[data-state="paused"] .ards-indicator { background: #b57714; }
.ards-recorder[data-state="uploaded"] .ards-indicator { background: #21805c; }
.ards-recorder .ards-time { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; }
.ards-recorder p { margin: 0 0 16px; }
.ards-recorder .ards-hint { font-size: 14px; color: #54666f; }
.ards-recorder .ards-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.ards-recorder .ards-controls button { cursor: pointer; padding: 10px 17px; border: 1px solid #c3cfd5; border-radius: 8px; background: white; color: #24343c; font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; }
.ards-recorder .ards-controls [data-record], .ards-recorder .ards-controls [data-retry] { background: #243f4d; border-color: #243f4d; color: white; }
.ards-recorder[data-state="recording"] .ards-controls [data-record] { background: #a92e3e; border-color: #a92e3e; }
.ards-recorder .ards-controls button:focus-visible { outline: 3px solid #4686a6; outline-offset: 3px; }
.ards-recorder .ards-controls button:disabled { cursor: default; opacity: .55; }
.ards-recorder audio { display: block; width: 100%; margin-top: 18px; }
.ards-recorder [hidden] { display: none !important; }
.ards-recorder .ards-status { margin: 14px 0 0; font-size: 14px; }
/* Keep the native uploader mounted for uploads, but show errors if validation fails. */
form.ards-audio-recorder-supported #frm_field_233_container > :not(.frm_error) { display: none !important; }
form.ards-audio-recorder-supported #frm_field_233_container { margin: 0; padding: 0; min-height: 0; }
