.attachment-field .optional-label{font-weight:normal;font-size:12px;color:#626c61}
.attachment-field .attachment-help{font-size:12px;line-height:1.6;color:#626c61;margin:8px 0 12px}
.attachment-field input[type=file]{display:block;width:100%;max-width:100%;background:#fff;border:1px dashed #80968e;padding:14px;font-size:12px;line-height:1.5;color:var(--ink)}
.attachment-field input[type=file]::file-selector-button{border:0;background:var(--teal);color:var(--cream);padding:10px 12px;margin-right:12px;cursor:pointer;font-family:inherit}
.attachment-field .attachment-status{font-size:12px;line-height:1.5;margin:9px 0;color:var(--ink)}
.attachment-field .attachment-status.is-error{color:#913c32}
.attachment-field .attachment-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0}
.attachment-field .attachment-previews:empty{display:none}
.attachment-previews li{display:flex;align-items:center;gap:9px;min-width:0;padding:9px;border:1px solid #d8d6cb;background:#fff;font-size:11px;line-height:1.4}
.attachment-previews img,.attachment-previews .attachment-placeholder{display:block;flex:none;width:48px;height:55px;object-fit:contain;background:var(--cream)}
.attachment-previews .attachment-placeholder{display:flex;align-items:center;justify-content:center;color:var(--teal);font-size:9px}
.attachment-previews .attachment-details{min-width:0;flex:1}
.attachment-previews .attachment-name{display:block;overflow-wrap:anywhere}
.attachment-previews small{display:block;color:#626c61;margin-top:3px}
.attachment-previews .attachment-remove{flex:none;min-width:32px;min-height:40px;border:0;background:transparent;color:var(--teal);font-size:22px;padding:4px;cursor:pointer}
.enquiry-form button[disabled]{opacity:.6;cursor:wait}
@media(max-width:420px){.attachment-field .attachment-previews{grid-template-columns:1fr}.attachment-previews img,.attachment-previews .attachment-placeholder{height:42px}}
