/* DYNAMONK V8: reliable direct-email fallback — no changes to general theme. */
.enquiry-fallback-tools{margin:20px 0 0;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--surface-alt)}
.enquiry-fallback-tools p{margin:0 0 10px;color:var(--muted);font-size:.87rem}
.enquiry-fallback-tools .small-meta{font-weight:750;color:var(--text)}
.enquiry-fallback-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:13px 0}
.enquiry-fallback-buttons button{min-height:44px;white-space:normal;text-align:center}
.enquiry-recipient-note code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.89rem;overflow-wrap:anywhere;color:var(--text)}
#enquiry-copy-fallback{width:100%;min-height:170px;background:var(--surface);color:var(--text);border:2px solid var(--border);border-radius:10px;padding:13px;margin-top:8px;resize:vertical}
#form-feedback[data-state="error"]{border-inline-start:4px solid #b42318}
#form-feedback[data-state="success"]{border-inline-start:4px solid #067647}
#form-feedback[data-state="info"]{border-inline-start:4px solid var(--accent)}
@media(max-width:550px){.form-actions{align-items:stretch;flex-direction:column}.form-actions .btn{width:100%}.enquiry-fallback-tools{padding:15px}.enquiry-fallback-buttons{flex-direction:column}.enquiry-fallback-buttons button{width:100%}}


/* V13: feedback and draft details, restricted to the Contact form */
#project-form #project-submit{position:relative;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease}
#project-form #project-submit:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 11px 23px rgba(255,123,0,.20)}
#project-form #project-submit:active{transform:translateY(0) scale(.985)}
#project-form #project-submit[data-busy="true"]{cursor:progress;opacity:.86}
#project-form #project-submit[data-busy="true"]::before{content:"";width:17px;height:17px;display:inline-block;vertical-align:middle;margin-right:10px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:enquiry-spinner .75s linear infinite}
#project-form #project-submit.is-preparing{filter:brightness(1.06)}
@keyframes enquiry-spinner{to{transform:rotate(360deg)}}
#project-form #form-feedback{position:relative;padding:16px 18px 16px 48px;border-radius:14px;line-height:1.62;transition:border-color .25s ease,background-color .25s ease,box-shadow .25s ease}
#project-form #form-feedback::before{content:"i";position:absolute;left:17px;top:17px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e9eef4;color:#1e3446;font-weight:800;font-size:.82rem}
#project-form #form-feedback[data-state="success"]{background:#e8f7ee;color:#15452c;border-color:#8acda5;box-shadow:0 9px 28px rgba(24,104,57,.08)}
#project-form #form-feedback[data-state="success"]::before{content:"✓";background:#155d36;color:#fff}
#project-form #form-feedback[data-state="prepared"]{background:#fff7e9;color:#4f2a07;border-color:#d69a54}
#project-form #form-feedback[data-state="prepared"]::before{content:"✓";background:#a65500;color:#fff}
#project-form #form-feedback[data-state="error"]{background:#fff1f0;color:#74221d;border-color:#d99289}
#project-form #form-feedback[data-state="error"]::before{content:"!";background:#9c3127;color:#fff}
#project-form #form-feedback[data-state="info"]{background:var(--surface-alt)}
#project-form .enquiry-subject-note{font-size:.9rem;font-weight:650;color:var(--text);line-height:1.6;margin:15px 0 10px}
#project-form #enquiry-subject-preview{font-weight:500;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){#project-form #project-submit,#project-form #form-feedback{transition:none!important}#project-form #project-submit[data-busy="true"]::before{animation:none!important}}
:root[data-motion="reduce"] #project-form #project-submit,:root[data-motion="reduce"] #project-form #form-feedback{transition:none!important}
:root[data-motion="reduce"] #project-form #project-submit[data-busy="true"]::before{animation:none!important}
