.contact-form .form-grid > * {min-width:0}
.contact-attachments .contact-drop {position:relative}
.contact-file-input {position:absolute;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.contact-attachments .contact-drop-label {display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 14px;min-height:64px;margin:0;
  border:1px dashed #8a9c7e;border-radius:6px;background:#fff;color:var(--ink);font-size:1rem;font-weight:400;text-align:center;cursor:pointer}
.contact-drop-label svg {width:20px;height:20px;flex:none;color:#516c43}
.contact-drop-label strong {text-decoration:underline;text-underline-offset:3px}
.contact-drop:focus-within .contact-drop-label {outline:2px solid #547544;outline-offset:3px}
.contact-drop.is-over .contact-drop-label,.contact-drop-label:hover {background:#e8efdf;border-color:#587348}
.contact-attachments > small {display:block;margin-top:8px;color:var(--muted);font-size:.875rem;line-height:1.45}
.contact-files {display:grid;gap:6px;list-style:none;margin:12px 0 0;padding:0}
.contact-files[hidden] {display:none}
.contact-files li {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 6px 6px 12px;border:1px solid var(--line);border-radius:5px;background:white}
.contact-files li > span {min-width:0}
.contact-files strong {display:block;font-weight:600;overflow-wrap:anywhere;font-size:.925rem}
.contact-files small {font-size:.8rem;color:var(--muted)}
.contact-file-remove {display:grid;place-items:center;flex:none;min-height:44px;min-width:44px;border:0;border-radius:5px;background:transparent;color:var(--ink);cursor:pointer}
.contact-file-remove:hover,.contact-file-remove:focus-visible {background:#edf1e9}
.contact-file-remove svg {width:19px;height:19px}
.contact-file-error:not(:empty),.contact-form .form-feedback.is-error {margin-top:8px;color:#8b251c}
.contact-form .form-feedback {line-height:1.5}
.contact-form .form-feedback .text-link {display:table;margin-top:10px;font-size:.9rem}
.contact-form .button:disabled {opacity:.65;cursor:default}
