/* Mobile layout quality pass — v10.1.166.52 */
@media (min-width:1100px){
  html body .pcs-products-panel{
    box-sizing:border-box!important;
    width:var(--pcs-panel-width)!important;
    max-width:calc(100vw - 40px)!important;
  }
}
@media (max-width:1099px){
  html body .clean-header-row.container{
    width:calc(100% - 28px)!important;
    max-width:none!important;
  }
  html body header.site-header.clean-header nav.clean-main-nav{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
  }
  html body .pcs-products-panel{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin:8px 0 0!important;
    overflow-x:hidden!important;
  }
  html body .pcs-menu-columns,
  html body .pcs-menu-copy,
  html body .pcs-menu-columns>a{min-width:0!important;max-width:100%!important}
  html body .pcs-menu-columns strong,
  html body .pcs-menu-columns small{overflow-wrap:anywhere}
}

@media (max-width:760px){
  :root{--pcs-mobile-gutter:14px}
  html,body{max-width:100%;overflow-x:clip}
  html body .container,
  html body .clean-header-row.container{
    width:calc(100% - (var(--pcs-mobile-gutter) * 2))!important;
    max-width:none!important;
    margin-inline:auto!important;
  }
  html body .resource-page-wide,
  html body .contacts-modern-page.resource-page-wide,
  html body .product-final-unified{
    width:calc(100% - (var(--pcs-mobile-gutter) * 2))!important;
    margin-inline:auto!important;
  }

  /* Mobile navigation and product panel use the same inner gutter. */
  html body header.site-header.clean-header nav.clean-main-nav{
    left:0!important;
    right:0!important;
    padding:12px var(--pcs-mobile-gutter) 18px!important;
    overflow-y:auto!important;
    max-height:calc(100dvh - 72px)!important;
  }
  html body .pcs-products-panel{padding:12px!important;border-radius:16px!important}
  html body .pcs-menu-columns{grid-template-columns:1fr!important;gap:6px!important}
  html body header.site-header.clean-header nav.clean-main-nav .pcs-menu-columns>a,
  html body header.site-header.clean-header nav.clean-main-nav .pcs-menu-columns>a:first-child,
  html body header.site-header.clean-header nav.clean-main-nav .pcs-menu-columns>a[aria-current="page"]{
    grid-template-columns:42px minmax(0,1fr)!important;
    width:100%!important;
    min-height:56px!important;
    height:auto!important;
    padding:7px 8px!important;
  }

  /* Every contact/request modal remains scrollable on short phone screens. */
  .order-modal,.question-modal,.signature-modal,.home-contact-modal-v136{
    box-sizing:border-box!important;
    align-items:flex-start!important;
    place-items:start center!important;
    padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;
    overflow:hidden!important;
  }
  .order-modal-dialog,.question-modal-dialog,.signature-modal-dialog,
  .signature-modal .signature-modal-dialog-v248,
  .px62-order-modal .order-modal-dialog,
  .order-modal-premium .order-modal-dialog,
  .home-contact-dialog-v136{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-height:calc(100dvh - 16px)!important;
    margin:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .order-modal-premium .order-modal-dialog{padding:0!important}
  .order-premium-layout{min-height:0!important;max-height:none!important}
  .order-premium-content{min-width:0!important;overflow:visible!important}
  .order-premium-content .order-fields,
  .question-contact-grid,
  .signature-contact-grid-v248,
  .signature-purpose-grid-v248,
  .signature-services-grid-v248{grid-template-columns:minmax(0,1fr)!important}

  form,form label,form input,form select,form textarea,form button{box-sizing:border-box;min-width:0;max-width:100%}
  form input:not([type="checkbox"]):not([type="radio"]),
  form select,form textarea{width:100%;font-size:16px!important}
  .consent,.px61-consent,.home-contact-consent-v136{min-width:0;align-items:flex-start!important}
  .consent input,.px61-consent input,.home-contact-consent-v136 input{flex:0 0 16px!important;width:16px!important;height:16px!important;min-height:16px!important}
  .consent span,.px61-consent span,.home-contact-consent-v136 span{min-width:0;overflow-wrap:anywhere}

  /* Compact home contact card and its operator form. */
  .home-contact-v136{min-height:290px}
  .home-contact-copy-v136{box-sizing:border-box;width:100%;padding:24px}
  .home-contact-copy-v136 p{max-width:68%}
  .home-contact-form-wrap-v136{padding:28px 22px 20px}
  .home-contact-form-wrap-v136 h2{padding-right:34px;font-size:26px}
  .home-contact-field-v136{grid-template-columns:24px minmax(0,1fr)!important;width:100%!important}
  .home-contact-response-v136{display:block;margin:10px 0 0}
  .home-contact-footer-v136{box-sizing:border-box;display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;padding:15px 22px}
  .home-contact-footer-v136 p{min-width:0;overflow-wrap:anywhere}
}

@media (max-width:420px){
  html body .clean-header-row.container{width:calc(100% - 20px)!important}
  html body header.site-header.clean-header nav.clean-main-nav{padding-inline:10px!important}
  .home-contact-copy-v136{padding:22px 18px}
  .home-contact-copy-v136 p{max-width:82%}
  .home-contact-form-wrap-v136{padding:25px 16px 18px}
  .home-contact-footer-v136{grid-template-columns:1fr;gap:9px;padding:14px 16px}
  .home-contact-people-v136,.home-contact-people-v136 img{width:96px!important;height:44px!important}
  .question-modal-dialog{padding:22px 14px!important}
  .question-start{padding:17px 2px 22px}
  .question-start h2{font-size:28px}
  .question-topic-grid button{padding:15px 14px;font-size:15px}
  .order-premium-content{padding:19px 14px 18px!important}
  .order-premium-content h2{font-size:27px!important}
}

@media (max-width:760px) and (max-height:720px){
  .order-premium-brand{display:none!important}
  .order-premium-success{min-height:0!important;padding-block:24px}
  .home-contact-form-wrap-v136{padding-top:22px;padding-bottom:16px}
  .home-contact-footer-v136{padding-top:12px;padding-bottom:12px}
  .signature-modal-art-v248,.px62-order-visual{display:none!important}
}
