/* Public audit WEB-01/02: allow translated text to reflow, never shrink it to fit. */
html body #mosimPage #aicheck .ai-card p {
  font-size:14px!important; line-height:1.65!important; letter-spacing:normal!important;
  white-space:normal!important; word-break:normal!important; overflow-wrap:anywhere!important;
  height:auto!important; max-height:none!important; overflow:visible!important;
}
html body #mosimPage #aicheck .ai-card h3,
html body #mosimPage #aicheck .section-head h2,
html body #mosimPage #membership .section-head h2,
html body #mosimPage #tier-benefits .section-head h2,
html body #mosimPage .hero h2,
html body #mosimPage #membership-apply .apply-copy-keep {
  white-space:normal!important; overflow-wrap:anywhere!important;
}
html body #mosimPage #aicheck .ai-start {
  white-space:normal!important; overflow-wrap:anywhere!important; line-height:1.5!important;
  height:auto!important; min-height:44px!important;
}
@media(min-width:761px) {
  html body #mosimPage nav .nav-inner {
    grid-template-columns:auto minmax(0,1fr)!important; width:calc(100% - 32px)!important;
    max-width:1440px!important; gap:12px!important;
  }
  html body #mosimPage nav .nav-actions {
    width:auto!important; min-width:0!important; max-width:100%!important;
    grid-template-columns:repeat(4,minmax(0,auto))!important; gap:8px!important;
    grid-column:2!important; grid-row:1!important;
  }
  html body #mosimPage nav .nav-links {
    grid-column:1/-1!important; grid-row:2!important; flex-wrap:wrap!important;
    justify-content:center!important; min-width:0!important;
  }
  html body #mosimPage nav #desktopLoginBtn,
  html body #mosimPage nav .desktop-apply-btn,
  html body #mosimPage nav .desktop-ai-btn {
    width:auto!important; height:auto!important; min-height:46px!important;
    padding:8px 12px!important; font-size:12px!important; line-height:1.4!important;
    white-space:normal!important; overflow:visible!important; overflow-wrap:anywhere!important;
  }
}
@media(min-width:761px) and (max-width:1000px) {
  html body #mosimPage #aicheck .ai-grid {grid-template-columns:1fr!important}
}

/* Auth text follows the active locale without shrinking long mobile labels. */
html body #loginModal .login-actions button,
html body #passwordResetModal button:not(.login-close) {
 white-space:normal!important; overflow-wrap:anywhere!important; height:auto!important;
 min-height:44px!important; line-height:1.5!important; padding:12px!important;
}
html body #loginModal .login-box,html body #passwordResetModal .login-box {max-width:calc(100vw - 24px)!important;box-sizing:border-box!important}
#loginModal [dir],#passwordResetModal [dir]{text-align:start}
#loginEmail,#passwordResetRequestForm input[type=email]{direction:ltr;text-align:left}

#loginModal .login-head>div,#passwordResetModal .login-head>div {min-width:0;flex:1}
#loginModal .login-head h3,#passwordResetModal .login-head h3 {overflow-wrap:anywhere;text-align:start}
#loginModal .login-close,#passwordResetModal .login-close {flex-shrink:0}
