/* Scoped applicant form; keep terminal fonts, theme, buttons and spacing tokens. */
.fm-service-request .modal { width: min(560px, calc(100vw - 32px)); min-height: 0; max-height: 88vh; max-height: min(88vh, calc(100dvh - var(--sp-4) - var(--sp-4))); }
.fm-service-request .modal-head, .fm-service-request .modal-foot { flex: 0 0 auto; }
.fm-service-request .modal-head > .icon-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; color: var(--text); border-radius: var(--r-full); }
.fm-service-request .modal-head > .icon-btn svg { width: 20px; height: 20px; }
.fm-service-request .modal-body { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; }
.fm-service-request .field { margin-top: var(--sp-4); }
.fm-service-request .modal-foot { flex-wrap: wrap; }
.fm-request-status { margin-top: var(--sp-4); overflow-wrap: anywhere; }
