/* Shared marketplace shell around the existing authentication forms and states. */
html.sm-auth-root {
  height:auto; min-height:100%; max-height:none;
  overflow-x:clip; overflow-y:auto;
  overscroll-behavior-y:auto; scroll-snap-type:none;
  scroll-padding-top:90px; touch-action:pan-y pinch-zoom;
}
body.sm-auth-page { background:#f5f9ff; color:#17324b; overflow-x:clip; overflow-y:visible; overscroll-behavior-y:auto; }
.sm-auth-page .auth-wrapper { display:block; width:100%; min-height:0; height:auto; padding:30px 18px 12px; }
.sm-auth-page .auth-left,.sm-auth-page .mobile-brand-header { display:none; }
.sm-auth-page .auth-right { display:block; min-height:0; height:auto; padding:0; background:none; overflow:visible; }
.sm-auth-page .auth-card { width:100%; max-width:500px; margin:0 auto; padding:28px 30px; border:1px solid #deE8f5; border-radius:20px; background:#fff; box-shadow:0 8px 28px #173b6a08; animation:none; }
.sm-auth-page .auth-title { font-size:26px; line-height:1.4; margin:0 0 6px; color:#123657; letter-spacing:0; }
.sm-auth-page .auth-subtitle { font-size:14px; line-height:1.6; color:#60768d; margin:0 0 22px; }
.sm-auth-page .auth-input-group { margin-bottom:16px; }
.sm-auth-page .auth-grid { gap:12px; }
.sm-auth-page .auth-input-group label,.sm-auth-page .auth-grid label { font-size:14px; line-height:1.5; color:#27465f; }
.sm-auth-page .auth-input-group input,.sm-auth-page .auth-grid input { font-size:16px; min-height:46px; border:1px solid #cfdfef; background:#f9fbff; color:#17324b; border-radius:10px; padding:11px 12px; }
.sm-auth-page :is(.auth-input-group,.auth-grid) input:focus { border-color:#0866e8; outline:none; box-shadow:0 0 0 3px #0866e815; }
.sm-auth-page .auth-btn { min-height:46px; padding:11px 16px; border-radius:11px; font-size:16px; margin-top:8px; margin-bottom:16px; background:linear-gradient(110deg,#0866e8,#0755c1); box-shadow:0 5px 14px #0866e818; }
.sm-auth-page .advisor-bar { background:#eff7ff; border-color:#d9e9fa; margin-bottom:18px; }
.sm-auth-page .advisor-bar-label { color:#2865a6; font-size:12px; }
.sm-auth-page .advisor-bar-avatar { background:#dcecff; color:#0755c1; }
.sm-auth-page .advisor-bar-name { color:#193b5e; font-size:14px; white-space:normal; overflow-wrap:anywhere; line-height:1.4; }
.sm-auth-page .terms-row { font-size:13px; line-height:1.6; }
.sm-auth-page .sm-store-footer { background:transparent; border:0; padding:20px 0 28px; }
.sm-auth-page .sm-footer-content { max-width:500px; justify-content:center; text-align:center; }
.sm-auth-page .sm-store-footer :is(.footer-links,.sm-partner-links) { display:none; }
.sm-auth-page .sm-store-footer p { font-size:12px; margin:4px 0; }
.sm-auth-page .sm-store-footer strong { font-size:14px; }
html[data-sm-theme=dark] body.sm-auth-page { background:#101923; color:#e4edf8; }
html[data-sm-theme=dark] .sm-auth-page .auth-card { background:#192637; border-color:#34465b; }
html[data-sm-theme=dark] .sm-auth-page :is(.auth-title,.advisor-bar-name,.auth-input-group label,.auth-grid label) { color:#e4edf8; }
html[data-sm-theme=dark] .sm-auth-page .auth-subtitle { color:#a9bbcf; }
html[data-sm-theme=dark] .sm-auth-page :is(.auth-input-group,.auth-grid) input { background:#142030; color:#e4edf8; border-color:#49617c; }
html[data-sm-theme=dark] .sm-auth-page .advisor-bar { background:#233c57; border-color:#49617c; }
html[data-sm-theme=dark] .sm-auth-page .advisor-bar-label { color:#a9d1ff; }
html[data-sm-theme=dark] .sm-auth-page .terms-row { color:#bccde0; }
html[data-sm-theme=dark] .sm-auth-page .auth-card a:not(.auth-btn) { color:#92c5ff!important; }
@media(max-width:760px) {
 .sm-auth-page .auth-wrapper { padding:18px 12px 8px; }
 .sm-auth-page .auth-card { padding:23px 20px; border-radius:16px; }
 .sm-auth-page .auth-title { font-size:24px; }
 .sm-auth-page .auth-subtitle { font-size:13px; margin-bottom:18px; }
 .sm-auth-page .sm-store-footer { padding-bottom:100px; }
}
@media(max-width:360px) {
 .sm-auth-page .auth-card { padding:20px 15px; }
 .sm-auth-page .auth-grid { grid-template-columns:1fr; gap:12px; }
 .sm-auth-page .advisor-bar { flex-wrap:wrap; gap:10px; }
}

.sm-auth-page .sm-store-footer .sm-footer-groups { display:none; }
body.sm-auth-page .sm-store-footer .sm-footer-content { display:block; }
