/* Scoped copy/layout follow-up; legal and forms retain their original markup. */
.review-footer .footer-main > :not(.footer-brand){border-top:1px solid #b4cfff30;padding-top:20px}
.review-footer .footer-services .footer-label:not(:first-child){margin-top:22px}
#quest-detail .quest-detail-request{margin-top:24px;max-width:100%}
#birthday .service-calc-entry,#dating .service-calc-entry,
[data-service="birthday"] .service-calculator>summary,[data-service="dating"] .service-calculator>summary{white-space:nowrap}
@media(max-width:760px){
 #locations .locations-grid > .location-map-panel{margin-top:0;min-width:0;width:100%;box-sizing:border-box}
 #birthday .service-calc-entry,#dating .service-calc-entry{font-size:clamp(13px,3.7vw,16px);max-width:100%;box-sizing:border-box;letter-spacing:0}
 [data-service="birthday"] .service-calculator>summary,[data-service="dating"] .service-calculator>summary{font-size:clamp(14px,4.2vw,20px);gap:10px}
 .review-footer .footer-main{row-gap:24px}
}

/* Inner birthday hero uses data-service, rather than the home section id. */
[data-service="birthday"] .birthday-offer .service-calc-entry{white-space:nowrap;flex:0 0 auto;max-width:100%;box-sizing:border-box}
@media(max-width:760px){[data-service="birthday"] .birthday-offer{flex-wrap:wrap}[data-service="birthday"] .birthday-offer .service-calc-entry{font-size:14px;width:max-content;min-width:0;letter-spacing:0}}

.review-footer .footer-services .footer-label:not(:first-child){display:block;border-top:1px solid #b4cfff30;padding-top:20px}

@media(max-width:760px){
 [data-service="birthday"] .detail-hero .birthday-offer{grid-template-columns:minmax(0,1fr);gap:6px}
 [data-service="birthday"] .detail-hero .birthday-offer>*{grid-column:1!important;grid-row:auto!important;min-width:0}
 [data-service="birthday"] .detail-hero .birthday-offer>.button{width:100%;box-sizing:border-box;white-space:nowrap;font-size:13px;padding:16px;word-break:normal;overflow-wrap:normal}
}

/* Calculator action contract: static and post-load inserted links share it. */
html body .service-calc-entry,
html body a[data-open-calculator],html body button[data-open-calculator]{
 display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap!important;
 width:fit-content!important;min-width:max-content!important;max-width:100%;flex-shrink:0!important;
 word-break:normal!important;overflow-wrap:normal!important;box-sizing:border-box;
}
@media(max-width:760px){html body .service-calc-entry,html body a[data-open-calculator],html body button[data-open-calculator]{font-size:14px!important;letter-spacing:0!important;padding-left:0;padding-right:0}}
