/* Refine both paid-service detail sheets without removing fields, copy, examples, terms or actions. */
@media(min-width:761px){
 html body #web-service-modal .web-service-modal-card.web-service-modal-fullscreen,
 html body #google-seo-modal .google-service-modal-card.web-service-modal-fullscreen{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;width:min(100%,1000px)!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 40px)!important;margin:auto!important;overflow:hidden!important;border-radius:20px!important}
 html body #web-service-modal .web-modal-app-scroll,
 html body #google-seo-modal .google-service-modal-scroll{flex:0 1 auto!important;max-height:calc(100dvh - 196px)!important;min-height:0!important;overflow-y:auto!important;gap:6px!important;padding:8px 22px 10px!important}
 html body #web-service-modal .web-modal-app-header,
 html body #google-seo-modal .web-modal-app-header{flex:0 0 40px!important;min-height:40px!important;padding:4px 16px!important}
 html body #web-service-modal .web-modal-app-footer,
 html body #google-seo-modal .web-modal-app-footer{flex:0 0 auto!important;min-height:68px!important;padding:8px 20px!important}
 html body #google-seo-modal .google-real-profile{box-sizing:border-box!important;flex-basis:min(76vw,300px)!important;width:min(76vw,300px)!important;height:190px!important;min-height:190px!important;max-height:190px!important}
 html body #web-service-modal .web-case-track{gap:8px!important;padding-block:3px 8px!important}
 html body #web-service-modal .web-case-card{flex-basis:min(70vw,260px)!important}
}
@media(max-width:760px){
 html body #web-service-modal .web-modal-app-scroll,
 html body #google-seo-modal .google-service-modal-scroll{gap:5px!important;padding-top:5px!important;padding-bottom:7px!important;min-height:0!important;overflow-y:auto!important}
 html body #google-seo-modal .google-real-profile{height:clamp(112px,18vh,145px)!important;min-height:clamp(112px,18vh,145px)!important;max-height:clamp(112px,18vh,145px)!important}
 html body #web-service-modal .web-case-track{gap:8px!important;padding-bottom:7px!important}
}
@media(prefers-reduced-motion:reduce){html body #web-service-modal .web-modal-app-scroll,html body #google-seo-modal .google-service-modal-scroll{scroll-behavior:auto!important}}
/* Limit desktop dialog height to ~80% of viewport, with content retained in an internal scroll area. */
@media(min-width:761px){
 html body #web-service-modal .web-service-modal-card.web-service-modal-fullscreen,html body #google-seo-modal .google-service-modal-card.web-service-modal-fullscreen{height:min(72dvh,720px)!important;max-height:calc(100dvh - 40px)!important;overflow:hidden!important}
 html body #web-service-modal .web-modal-app-scroll,html body #google-seo-modal .google-service-modal-scroll{flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}
}
