/* Audit round 3 (Nov 12 2026), F12: errors next to the field instead of a browser
   pop-up; picker entries are real buttons; dialogs announce themselves. Loaded on
   checklist, CRM and the Proposal Generator. */
.ic-invalid { border-color: #b42318 !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12) !important; }
.ic-field-error { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: #b42318; }
.ic-field-error::before { content: "!"; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: #b42318; color: #fff; display: grid; place-items: center; font-size: 11px; }
.ic-field-error[hidden] { display: none; }
.ic-error-summary { border-left: 3px solid #b42318; background: #fdecea; color: #7a1c14; border-radius: 0 8px 8px 0; padding: 10px 12px; margin: 0 0 14px; font-size: 13.5px; }
.ic-error-summary[hidden] { display: none; }
.ic-error-summary a { color: #b42318; text-decoration: underline; font-weight: 650; margin-right: 8px; }
/* Picker entries that were plain boxes: keep their look as buttons. */
button.cl-template-opt, button.cat-item { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
button.cl-template-opt:focus-visible, button.cat-item:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
button.cl-template-opt[aria-pressed="true"] { border-color: #2563eb; }
