/* Keep application dialogs above the floating Help control. */
body .ri-modal-backdrop{z-index:140}
/* Versioned mobile presentation shared by independently packaged Softball targets. */
@media(max-width:640px){
  .signup-flow aside{padding:20px;border-radius:20px}
  .signup-flow aside h1{font-size:26px;line-height:1.12;margin-top:12px}
  .signup-flow aside>p{margin-top:12px;font-size:14px;line-height:1.5}
  /* Plan cards repeat these promotional benefits; keep account/trial conditions visible. */
  .signup-flow aside>.mt-8{display:none}
  .signup-flow aside>.mt-9{margin-top:16px;padding-top:14px}
  .signup-flow section>div{padding:20px;border-radius:20px}
  .signup-flow section h2{font-size:24px;line-height:1.2}
  .sgp-demo-banner nav a,.sgp-demo-banner nav button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box}
}
@media(max-width:900px){
  .ri-school-compare-scroll{overscroll-behavior-x:contain;scrollbar-width:thin}
  .ri-school-compare-scroll::before{content:"Swipe horizontally to compare all schools";display:block;padding:10px 12px;color:#52617b;font-size:12px;line-height:1.5}
}

/* Runtime notification styles otherwise reduce these phone controls to 14px. */
@media(max-width:900px){.ri-shell select.sgp-email-frequency{font-size:16px!important}}

/* A row's width basis becomes reserved height when headings stack on phones. */
@media(max-width:700px){
 :root body :is(.ri-section-heading,.coach-section-head)>div{flex:0 1 auto}
}
