/* Shared controls across sign-in, registration, billing and workspace routes. */
html,body{min-width:0}
button,input,select,textarea,summary{max-width:100%;box-sizing:border-box}
button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{min-width:0;font-size:1rem}
button:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid #1f7668;outline-offset:3px}
.sgp-public-login-card form>button{height:auto;min-height:48px;line-height:1.4;padding-block:12px}
.sgp-public-login-card button{min-height:44px;line-height:1.4}
.sgp-public-login-card h1,.sgp-public-login-card h2,.sgp-public-login-card p,.sgp-public-login-card label{overflow-wrap:anywhere}
.sgp-public-login-workspaces>*{min-width:0;overflow-wrap:anywhere}
.sgp-billing-actions>*{max-width:100%;overflow-wrap:anywhere}
.sgp-billing-card,.sgp-setup-card{overflow-wrap:anywhere}
.ri-topbar-inner,.fc-topbar-inner,.coach-topbar-inner{flex-wrap:wrap}
.ri-top-actions,.fc-actions,.coach-top-actions{min-width:0;max-width:100%;flex-wrap:wrap}
.ri-brand,.fc-brand{min-width:0;max-width:100%}
.ri-brand img,.fc-brand img{max-width:100%}
.ri-body :is(.ri-button,.ri-link-button,.fc-button,.fc-link),.coach-button{min-height:44px;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.ri-chip,.coach-chip,.ri-stat,.fc-stat{min-width:0;max-width:100%;overflow-wrap:anywhere}
.ri-modal,.coach-modal{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overscroll-behavior:contain}
.ri-modal-head,.coach-modal-head{align-items:flex-start}
.ri-modal-head h2,.coach-modal-head h2{min-width:0;overflow-wrap:anywhere}
.ri-icon-button{flex:none;min-width:44px;min-height:44px}
@media(max-width:480px){
  .sgp-billing-actions>*{flex-basis:100%}
  .ri-top-actions .ri-select{width:100%;flex:1 1 120px;min-width:0}
  .fc-topbar-inner>.fc-actions{width:100%;justify-content:flex-start}
}
@media(max-height:480px){.ri-topbar,.fc-topbar,.coach-topbar{position:relative}}
