.service-request-intro { max-width: 58rem; }
.service-request-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.service-request-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .5rem 1rem; }
.service-request-choices .form-check { padding-top: .4rem; padding-bottom: .4rem; }
.service-request-review dd { white-space: normal; overflow-wrap: anywhere; margin-bottom: 1.25rem; }
.service-request-reference, .service-request-email { overflow-wrap: anywhere; }
[data-service-form] .form-control, [data-service-form] .form-select { min-height: 2.9rem; }
[data-service-form] [aria-invalid="true"] { border-color: var(--bs-danger); }
[data-service-status], [data-service-form] [id] { scroll-margin-top: 7rem; }

.service-request-inline { max-width: 56rem; }
#quoteModal .modal-body { overscroll-behavior: contain; }
#quoteModal fieldset { min-width: 0; }
.mobile-inquiry-actions { display: none; }
@media (max-width: 767.98px) {
    body:has(.mobile-inquiry-actions) { padding-bottom: calc(4.3rem + env(safe-area-inset-bottom)); }
    .mobile-inquiry-actions {
        position: fixed; inset: auto 0 0; z-index: 1021; display: flex; gap: .35rem;
        align-items: stretch; justify-content: space-evenly; padding: .4rem .6rem;
        padding-bottom: calc(.4rem + env(safe-area-inset-bottom));
        background: #fff; border-top: 1px solid #c8ced3;
    }
    .mobile-inquiry-actions > * {
        flex: 1 1 0; min-width: 0; min-height: 44px; display: grid; place-items: center;
        font-weight: 650; text-align: center; text-decoration: none;
    }
    body.modal-open .mobile-inquiry-actions, body:has(dialog[open]) .mobile-inquiry-actions,
    body:has(#cookieConsentBanner:not(.d-none)) .mobile-inquiry-actions,
    body:has(main :is(input, textarea, select):focus) .mobile-inquiry-actions { display: none; }
    #quoteModal .modal-body { padding: .8rem; }
    #quoteModal .modal-header { padding: .7rem 1rem; }
    #quoteModal .modal-header .eyebrow { display: none; }
}
