/* Chartria contact form (loaded only where [chartria_contact] is used; ui.css supplies .ct-btn and .ct-warn). */
.ct-cf { max-width: 40rem; margin: 1.25rem 0 2rem; }
.ct-cf-form[hidden] { display: none; }
.ct-cf-field { display: flex; flex-direction: column; gap: .3rem; margin: 0 0 1rem; }
.ct-cf-field label { font-weight: 600; font-size: .95rem; color: #1F2A44; }
.ct-cf-field input, .ct-cf-field select, .ct-cf-field textarea { box-sizing: border-box; width: 100%; min-height: 44px; padding: .55rem .65rem; font: inherit; font-size: 1rem; color: #0B1224; background: #fff; border: 1px solid #7A86A8; border-radius: 10px; }
.ct-cf-field textarea { resize: vertical; }
.ct-cf-field input:focus-visible, .ct-cf-field select:focus-visible, .ct-cf-field textarea:focus-visible, .ct-cf-status:focus-visible { outline: 3px solid #6D4AFF; outline-offset: 1px; }
.ct-cf-field [aria-invalid="true"] { border: 2px solid #B91C1C; }
.ct-cf-error { margin: 0; color: #991B1B; font-size: .9rem; font-weight: 600; }
.ct-cf-extra { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-cf-intro, .ct-cf-note { color: #55627F; font-size: .9rem; }
.ct-cf-form .ct-btn[aria-disabled="true"] { opacity: .65; cursor: progress; }
.ct-cf-status { margin: .9rem 0 0; }
.ct-cf-status:empty { margin: 0; }
.ct-cf-status.ct-cf-ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #064E3B; padding: .7rem .9rem; border-radius: 10px; }
.ct-cf-status.ct-cf-bad { background: #FEF2F2; border: 1px solid #FCA5A5; color: #7F1D1D; padding: .7rem .9rem; border-radius: 10px; }
@media (max-width: 600px) { .ct-cf-form .ct-btn { width: 100%; } }
