/* EnvMart Smart Login v1.2: scoped, no framework or external fonts */
.emsl-panel,.emsl-panel *{box-sizing:border-box}.emsl-panel{--emsl-orange:#ef5200;--emsl-blue:#115ac3;font-family:inherit;color:#222;background:#fff;width:100%;max-width:410px;border:1px solid #e7e7e7;border-radius:15px;box-shadow:0 18px 50px rgba(13,24,42,.15);padding:24px;line-height:1.45;z-index:10020;text-align:left}.emsl-panel[hidden],.emsl-step[hidden]{display:none!important}.emsl-popup{position:fixed;right:18px;top:78px;max-height:calc(100dvh - 95px);overflow-y:auto}.emsl-panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.emsl-brand{font-size:24px;letter-spacing:-1px}.emsl-brand-env{color:#00bf77}.emsl-brand-mart{color:#1659c7}.emsl-x{font-size:25px;line-height:1;border:0;background:none;color:#677282;cursor:pointer;padding:4px}.emsl-panel h2{font-size:22px;font-weight:700;color:#242424;margin:0 0 21px}.emsl-providers{display:grid;gap:10px}.emsl-social{display:flex;align-items:center;justify-content:center;gap:11px;min-height:48px;padding:8px 13px;border:1px solid #c6cbd1;border-radius:9px;text-decoration:none!important;color:#222!important;font-size:14px;font-weight:600;background:#fff}.emsl-social:hover{border-color:#777;background:#fafafa}.emsl-facebook,.emsl-linkedin{display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:750;color:#fff;background:#0866ff;width:24px;height:24px;border-radius:50%}.emsl-linkedin{font-size:12px;background:#0a66c2}.emsl-divider{display:flex;align-items:center;gap:10px;color:#85909a;text-align:center;margin:17px 0}.emsl-divider:before,.emsl-divider:after{content:"";height:1px;flex:1;background:#e1e1e1}.emsl-form{display:grid;gap:9px}.emsl-form label{font-size:13px;font-weight:600;margin:0}.emsl-form input{width:100%;border:1px solid #d5d9de;border-radius:9px;min-height:48px;padding:12px 13px;font-size:15px;background:#fff;color:#202020;box-shadow:none}.emsl-form input:focus{outline:2px solid #b7d7ff;outline-offset:1px;border-color:#1269df}.emsl-primary{background:var(--emsl-orange);color:#fff!important;border:0;border-radius:24px;width:100%;min-height:49px;margin-top:5px;padding:12px 16px;font-weight:700;font-size:15px;cursor:pointer}.emsl-primary:hover{background:#d84700}.emsl-primary:disabled{opacity:.55;cursor:wait}.emsl-bottom-links{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:16px 0 2px}.emsl-bottom-links a,.emsl-bottom-links button,.emsl-text-button,.emsl-back{font-size:12px;border:0;background:none;padding:5px 0;color:#135db3;text-decoration:underline;cursor:pointer}.emsl-back{text-decoration:none;margin:-5px 0 14px}.emsl-subtext{font-size:13px;color:#66717c;margin:0 0 16px}.emsl-subtext strong{overflow-wrap:anywhere}.emsl-status{font-size:13px;color:#28597c;margin:12px 0 0}.emsl-status:empty{display:none}.emsl-error{font-size:12px;color:#b42318}.emsl-footer{text-align:center;border-top:1px solid #eee;margin-top:17px;padding-top:13px;font-size:11px;color:#818b94}.emsl-role{display:flex;align-items:center;gap:12px;border:1px solid #d6d8da;border-radius:10px;padding:15px 12px;margin:12px 0;cursor:pointer}.emsl-role:has(input:checked){border-color:#ef5200;background:#fffaf7}.emsl-role input{accent-color:#ef5200}.emsl-role span:nth-child(2){flex:1;display:grid;gap:3px}.emsl-role strong{font-size:14px}.emsl-role small{font-size:12px;color:#69727d}.emsl-role-hint{font-size:12px;color:#66717c}.emsl-google-render{min-height:44px;display:flex;justify-content:center}.emsl-login-page-trigger{padding:12px;border:1px solid #ddd;background:#fff;color:#1757b0;cursor:pointer;border-radius:9px;margin:16px 0}.emsl-panel[data-mode="inline"]{margin:20px auto}.emsl-open-login{cursor:pointer}@media(max-width:600px){.emsl-popup{left:0;right:0;top:auto;bottom:0;max-width:none;width:100%;border-radius:20px 20px 0 0;max-height:92dvh;padding:22px 22px max(22px,env(safe-area-inset-bottom));box-shadow:0 -16px 48px rgba(15,25,42,.2)}.emsl-panel h2{font-size:21px}}

.emsl-logo{display:block;max-height:40px;max-width:170px;width:auto;object-fit:contain}.emsl-providers-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.emsl-providers-compact .emsl-social{font-size:11px;flex-direction:column;padding:8px 4px;gap:5px}.emsl-providers-compact .emsl-google-render{grid-column:span 3}.emsl-panel .emsl-primary{background:var(--emsl-orange,#e94e00)}

/* v1.4: compact top-right fallback and full-screen modal on explicit click */
.emsl-popup.emsl-full-modal{position:fixed!important;top:50%!important;left:50%!important;right:auto!important;transform:translate(-50%,-50%);width:min(440px,calc(100vw - 24px));max-height:calc(100vh - 32px);overflow-y:auto;z-index:100100}
.emsl-modal-shade{position:fixed;inset:0;background:rgba(14,24,39,.55);z-index:100099}
.emsl-popup[hidden],.emsl-modal-shade[hidden]{display:none!important}
.emsl-popup.emsl-top-prompt{position:fixed!important;top:70px!important;right:20px!important;left:auto!important;transform:none!important;width:min(370px,calc(100vw - 24px));max-height:calc(100vh - 90px);overflow-y:auto;z-index:100100}
@media(max-width:767px){.emsl-popup.emsl-full-modal{top:auto!important;bottom:0!important;left:0!important;right:0!important;transform:none!important;width:100%!important;max-height:90vh;border-radius:20px 20px 0 0}.emsl-popup.emsl-top-prompt{top:12px!important;right:12px!important}}

/* v1.5.2: automatic top-right card displays one action, never the full login form. */
.emsl-popup.emsl-top-prompt{top:72px!important;right:18px!important;left:auto!important;bottom:auto!important;width:min(365px,calc(100vw - 24px));padding:17px 19px!important;transform:none!important;border-radius:14px!important}
.emsl-top-prompt .emsl-step,.emsl-top-prompt .emsl-status,.emsl-top-prompt .emsl-footer,.emsl-top-prompt .emsl-error{display:none!important}
.emsl-auto-summary[hidden]{display:none!important}
.emsl-auto-summary strong{font-size:16px}
.emsl-auto-summary p{font-size:13px;color:#65717d;margin:6px 0 14px}
.emsl-compact-action{display:block;text-align:center;background:#1769e7;color:#fff!important;text-decoration:none!important;border:0;border-radius:24px;font-weight:650;padding:12px 15px;width:100%;cursor:pointer;font-size:14px}
.emsl-auto-other{display:block;width:100%;border:0;background:transparent;color:#1558a7;text-decoration:underline;font-size:12px;padding:12px 0 0;cursor:pointer}
.emsl-top-prompt .emsl-panel-heading{margin-bottom:12px}
@media(max-width:767px){.emsl-popup.emsl-top-prompt{top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;max-height:calc(100dvh - 24px)!important;width:min(365px,calc(100vw - 24px))!important;border-radius:14px!important}}

/* v1.5.4: isolated social icon row, no theme or layout overrides. */
.emsl-panel .emsl-icon-row{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;margin:10px 0 16px}
.emsl-panel .emsl-icon-option,.emsl-panel .emsl-google-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#fff;color:#222;text-decoration:none!important}
.emsl-panel .emsl-icon-option{border:1px solid #e2e6ea;padding:5px;cursor:pointer}
.emsl-panel .emsl-icon-option:hover{border-color:#9baabc;background:#f6f8fb}
.emsl-panel .emsl-icon-option:focus-visible{outline:2px solid #1769e7;outline-offset:3px}
.emsl-panel .emsl-icon-option svg{width:29px;height:29px;display:block}
.emsl-panel .emsl-icon-option .emsl-facebook,.emsl-panel .emsl-icon-option .emsl-linkedin{width:32px;height:32px;font-size:25px}
.emsl-panel .emsl-icon-option .emsl-linkedin{font-size:17px}
.emsl-panel .emsl-social-caption{text-align:center;font-size:13px;color:#424b55;margin:12px 0 0}
.emsl-panel .emsl-google-icon{border:0;padding:0}
@media(max-width:360px){.emsl-panel .emsl-icon-row{gap:8px}}

@media(min-width:768px){.emsl-panel.emsl-popup.emsl-header-prompt{top:var(--emsl-anchor-top,72px)!important;right:clamp(12px,var(--emsl-anchor-right,18px),calc(100vw - 380px))!important;max-height:calc(100dvh - var(--emsl-anchor-top,72px) - 12px)!important}}

.emsl-panel .emsl-account-menu{display:grid;border-top:1px solid #e5e7eb;margin-top:14px;padding-top:7px}.emsl-panel .emsl-account-menu a{display:block;padding:9px 0;color:inherit;text-decoration:none;font-size:13px}.emsl-panel .emsl-account-menu a:hover{text-decoration:underline}

/* v1.5.8: only the module's login-page provider row. */
.emsl-panel.emsl-page-icons{padding:0;margin:12px 0 0;border:0;border-radius:0;box-shadow:none;background:transparent;max-width:none;width:100%}
.emsl-page-icons .emsl-login-page-trigger{display:block;margin:6px auto 0;padding:5px;border:0;background:transparent;text-decoration:underline;font-size:13px;width:auto}
.emsl-page-icons .emsl-icon-row{margin:10px 0;gap:12px}

/* v1.5.9: public fallback and cart CTA additions remain local to Smart Login. */
.emsl-panel .emsl-google-primary{display:flex;justify-content:center;width:100%;min-height:40px}.emsl-panel [data-emsl-google-primary][hidden],.emsl-panel [data-emsl-preferred][hidden]{display:none!important}
.emsl-panel.emsl-cart-icons{margin:8px 0 0;padding:0;border:0;box-shadow:none;background:transparent;max-width:none;width:100%}.emsl-cart-icons .emsl-icon-row{gap:6px;margin:8px 0}.emsl-cart-icons .emsl-icon-option,.emsl-cart-icons .emsl-google-icon{width:40px;height:40px;flex-basis:40px}.emsl-cart-icons .emsl-login-page-trigger{margin:4px auto 0}
.emsl-panel .emsl-google-icon>div{max-width:100%;min-width:0}

/* v1.6.3: compact, logo-free guest prompt; scoped to this module. */
.emsl-panel.emsl-popup{box-sizing:border-box;border:1px solid #dce4ed;background:#fff;color:#17243a;box-shadow:0 12px 36px rgba(15,35,65,.14);}
.emsl-popup .emsl-panel-heading{position:absolute;top:10px;right:10px;margin:0;z-index:2}
.emsl-popup .emsl-x{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;font-size:23px;color:#64748b}
.emsl-popup .emsl-x:hover{background:#eef3f8;color:#14233a}
.emsl-popup.emsl-top-prompt{padding:20px!important;width:min(350px,calc(100vw - 24px));border-radius:16px!important}
.emsl-auto-summary h2,.emsl-popup .emsl-step h2{font-size:19px;line-height:1.35;letter-spacing:-.35px;margin:0 32px 16px 0;font-weight:700;color:#14233a}
.emsl-auto-summary .emsl-compact-action{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;border:1px solid #cbd5e1;background:#fff;color:#17243a!important;border-radius:10px;font-size:14px;box-shadow:0 2px 4px #17243a08}
.emsl-auto-summary .emsl-compact-action:hover{background:#f4f8ff;border-color:#1769e7}
.emsl-compact-action svg{width:20px;height:20px;flex:none}
.emsl-auto-summary .emsl-primary-choice,.emsl-auto-summary [hidden]{display:none!important}
.emsl-auto-summary .emsl-social-caption{display:flex;align-items:center;gap:10px;font-size:11px;color:#64748b;margin:16px 0 8px}
.emsl-auto-summary .emsl-social-caption:before,.emsl-auto-summary .emsl-social-caption:after{content:'';height:1px;background:#e2e8f0;flex:1}
.emsl-panel .emsl-icon-row{gap:10px;margin:8px 0 12px}
.emsl-panel .emsl-icon-option{width:44px;height:44px;flex-basis:44px;border-radius:12px}
.emsl-panel .emsl-icon-option svg{width:24px;height:24px}
.emsl-auto-summary .emsl-auto-other{padding:10px 0;font-size:13px;text-decoration:none;font-weight:600;color:#1558a7}
.emsl-auto-summary .emsl-account-menu{margin-top:4px;padding-top:8px;display:flex;flex-wrap:wrap;gap:4px 14px}
.emsl-auto-summary .emsl-account-menu a{font-size:12px;padding:5px 0;color:#475569}
.emsl-popup.emsl-full-modal{padding-top:26px}
.emsl-panel .emsl-primary{border-radius:10px}
.emsl-panel button:focus-visible,.emsl-panel a:focus-visible{outline:2px solid #1769e7;outline-offset:3px}
@media(max-width:767px){.emsl-popup.emsl-top-prompt{width:min(350px,calc(100vw - 24px))!important}}

.emsl-auto-summary .emsl-auto-other{display:block;text-align:center;border:1px solid #dce4ed;border-radius:9px;margin:12px 0 8px;padding:10px;text-decoration:none;background:#f8fafc;color:#1558a7}
.emsl-auto-summary .emsl-auto-other:hover{background:#eef5ff}
.emsl-social svg{flex:none;width:20px;height:20px}

.emsl-panel .emsl-auto-summary .emsl-auto-other,.emsl-panel .emsl-auto-summary .emsl-auto-other:hover{background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;padding:7px 0;margin:8px 0;color:#475569;font-weight:500;font-size:12px}
.emsl-panel .emsl-auto-summary .emsl-auto-other:hover{text-decoration:underline;color:#1558a7}
.emsl-panel .emsl-auto-summary .emsl-account-menu{display:grid;gap:0;padding-top:0;margin-top:8px}
.emsl-panel .emsl-auto-summary .emsl-account-menu a{display:block;padding:9px 0;border-bottom:1px solid #e8edf3;color:#475569}

/* 1.6.8: shared account menu visual language; no layout changes to header. */
.emsl-auth-menu{box-sizing:border-box!important;min-width:220px;background:#fff!important;border:1px solid #dce4ed!important;border-radius:14px!important;box-shadow:0 12px 36px rgba(15,35,65,.14)!important;padding:8px 12px!important;color:#17243a!important;}
.emsl-auth-menu .emsl-auth-menu-link{display:flex!important;align-items:center;gap:10px;padding:11px 8px!important;border-bottom:1px solid #e8edf3!important;color:#475569!important;font-size:13px!important;text-decoration:none!important;white-space:nowrap;}
.emsl-auth-menu .emsl-auth-menu-link:hover{background:#f5f8fc!important;color:#1558a7!important;border-radius:6px;}
.emsl-auth-menu .emsl-auth-menu-link[href*="logout"]{color:#b42318!important;border-bottom:0!important;}
.emsl-auto-summary h2,.emsl-popup .emsl-step h2{font-size:16px;letter-spacing:0;margin-bottom:14px;}
.em-cart-login-cta{border-radius:12px!important;background:#fff!important;border:1px solid #dce4ed!important;}
.em-cart-login-cta .em-cart-account-link{background:transparent!important;border:0!important;color:#475569!important;font-size:12px!important;}
/* Shared modal: loaded even when cart CTA styling is disabled. */
.emsl-popup.emsl-full-modal{--emsl-orange:#095ac4!important;width:min(820px,calc(100vw - 32px))!important;max-width:none!important;padding:32px 32px 32px 43%!important;min-height:420px;border-radius:20px!important;box-sizing:border-box;}
.emsl-full-modal .emsl-welcome-side{display:flex;position:absolute;inset:0 auto 0 0;width:39%;padding:30px;flex-direction:column;justify-content:space-between;background:#eaf7fa;color:#18374c;}
.emsl-full-modal .emsl-panel-heading{position:absolute;right:14px;top:12px;margin:0}.emsl-full-modal .emsl-step h2{font-size:25px;margin:0 0 6px;color:#18374c}.emsl-modal-intro{font-size:13px;color:#64748b;margin:0 0 15px}.emsl-modal-tabs{display:flex;gap:4px;background:#edf2f6;border-radius:9px;padding:4px;margin:0 0 14px}.emsl-modal-tabs button{flex:1;border:0;background:transparent;padding:10px;border-radius:7px;color:#52667d;cursor:pointer}.emsl-modal-tabs button[aria-pressed=true]{background:white;color:#095ac4;box-shadow:0 1px 5px #0001}.emsl-full-modal [data-emsl-step=login]>.emsl-bottom-links,.emsl-full-modal [data-emsl-step=login]>[data-emsl-request]{display:none!important}.emsl-full-modal .emsl-cart-google-primary{display:flex;justify-content:center;width:100%;margin:8px auto}.emsl-full-modal .emsl-icon-row{justify-content:center;flex-wrap:wrap}.emsl-modal-native-form{width:100%;margin:0}.emsl-modal-native-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.emsl-modal-native-form button[type=submit]{width:100%;max-width:100%;border-radius:7px}.emsl-modal-native-form button[type=submit]{background:#095ac4;color:white;border:0;padding:12px}.emsl-native-fallback{display:block;text-align:center;font-size:12px;margin-top:10px}.emsl-full-modal .emsl-footer{margin-top:12px}.emsl-panel:not(.emsl-full-modal) .emsl-modal-tabs,.emsl-panel:not(.emsl-full-modal) .emsl-modal-native,.emsl-panel:not(.emsl-full-modal) .emsl-modal-intro{display:none!important}
@media(max-width:767px){.emsl-popup.emsl-full-modal{width:100%!important;padding:28px 20px!important;min-height:0;border-radius:20px 20px 0 0!important}.emsl-full-modal .emsl-welcome-side{display:none!important}}

/* Modal-only sizing: percentage padding previously resolved against viewport. */
.emsl-panel.emsl-popup.emsl-full-modal{display:grid!important;grid-template-columns:minmax(0, 38fr) minmax(0, 62fr)!important;gap:0!important;padding:0!important;width:min(860px,calc(100vw - 32px))!important;max-width:860px!important;min-width:0!important;min-height:0!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overflow-x:hidden!important;align-items:start!important;}
.emsl-panel.emsl-popup.emsl-full-modal[hidden]{display:none!important}
.emsl-panel.emsl-full-modal>.emsl-welcome-side{position:static!important;grid-column:1;grid-row:1 / span 4;width:auto!important;min-width:0!important;max-width:none!important;align-self:stretch;min-height:440px;padding:28px!important;}
.emsl-panel.emsl-full-modal>.emsl-step{grid-column:2;grid-row:1;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:30px 28px 12px!important;}
.emsl-panel.emsl-full-modal>.emsl-status,.emsl-panel.emsl-full-modal>.emsl-error,.emsl-panel.emsl-full-modal>.emsl-footer{grid-column:2;min-width:0;margin:0 28px 16px!important;}
.emsl-panel.emsl-full-modal>.emsl-panel-heading{position:absolute!important;top:8px!important;right:10px!important;z-index:2;}
.emsl-full-modal .emsl-modal-native,.emsl-full-modal .emsl-modal-native-form,.emsl-full-modal .emsl-modal-native-form .form-group,.emsl-full-modal .emsl-modal-native-form .form-control,.emsl-full-modal .emsl-modal-native-form [class*="col-"]{min-width:0!important;max-width:100%!important;width:100%!important;flex-basis:auto!important;}
.emsl-full-modal .emsl-modal-native-form .row{margin-left:0!important;margin-right:0!important;}
.emsl-full-modal .emsl-modal-native-form label{white-space:normal!important;}
.emsl-full-modal .emsl-providers{display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px;}
.emsl-full-modal .emsl-providers .emsl-social{flex:1 1 110px;min-width:0;}
.emsl-full-modal .emsl-cart-google-primary{width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important;}
@media(max-width:767px){.emsl-panel.emsl-popup.emsl-full-modal{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-height:90dvh!important;}.emsl-panel.emsl-full-modal>.emsl-welcome-side{display:none!important;}.emsl-panel.emsl-full-modal>.emsl-step,.emsl-panel.emsl-full-modal>.emsl-status,.emsl-panel.emsl-full-modal>.emsl-error,.emsl-panel.emsl-full-modal>.emsl-footer{grid-column:1;}.emsl-panel.emsl-full-modal>.emsl-step{padding:28px 20px 12px!important;}}

/* Modal polish: isolated typography and native form spacing. */
.emsl-panel.emsl-full-modal{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#172b43;line-height:1.4;font-size:13px;box-shadow:0 24px 80px #10253d38!important;grid-template-columns:minmax(0,34fr) minmax(0,66fr)!important;scrollbar-width:thin;}
.emsl-panel.emsl-full-modal>.emsl-welcome-side{background:linear-gradient(155deg,#e5f5f5,#f1f7fc)!important;padding:30px!important;min-height:0!important;}
.emsl-full-modal .emsl-side-kicker{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#45677a;}
.emsl-full-modal .emsl-welcome-side h3{font-size:25px;line-height:1.22;letter-spacing:-.8px;font-weight:650;margin:10px 0 14px;color:#17394c;}
.emsl-full-modal .emsl-welcome-side p{font-size:12px;line-height:1.8;color:#456477;margin:0 0 14px;}
.emsl-full-modal .emsl-welcome-side small{font-size:10px;letter-spacing:.5px;color:#47717c;}
.emsl-panel.emsl-full-modal>.emsl-step{padding:28px 30px 8px!important;}
.emsl-full-modal .emsl-step h2{font-size:25px!important;font-weight:680;letter-spacing:-.7px;line-height:1.2;margin:0 25px 5px!important; margin-left:0!important;}
.emsl-full-modal .emsl-modal-intro{font-size:12px;margin-bottom:12px;}
.emsl-full-modal .emsl-modal-tabs{margin-bottom:10px;padding:3px;}
.emsl-full-modal .emsl-modal-tabs button{font:600 12px/1.4 inherit;font-family:inherit;font-size:12px;font-weight:600;padding:8px;}
.emsl-full-modal .emsl-social{min-height:40px;font-size:12px;gap:7px;padding:7px 9px;border-color:#d7e0e9;}
.emsl-full-modal .emsl-divider{font-size:11px;margin:12px 0;color:#66788a;}
.emsl-full-modal .emsl-modal-native-form{font-size:12px!important;line-height:1.35!important;}
.emsl-full-modal .emsl-modal-native-form .form-group{margin:0 0 9px!important;padding:0!important;}
.emsl-full-modal .emsl-modal-native-form label{font-family:inherit!important;font-size:12px!important;font-weight:500;line-height:1.35!important;margin:0 0 4px!important;color:#253b50;}
.emsl-full-modal .emsl-modal-native-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]){height:39px!important;min-height:39px!important;padding:8px 11px!important;background:#fff!important;border:1px solid #cbd6e1!important;font-family:inherit!important;font-size:13px!important;box-shadow:none!important;}
.emsl-full-modal .emsl-modal-native-form input:focus-visible{outline:2px solid #8dbbff;outline-offset:1px;}
.emsl-full-modal .emsl-modal-native-form input[type=checkbox],.emsl-full-modal .emsl-modal-native-form input[type=radio]{margin:0 6px 0 0!important;accent-color:#095ac4;vertical-align:middle;}
.emsl-full-modal .emsl-modal-native-form input[type=radio]+span{margin-right:10px;}
.emsl-full-modal .emsl-modal-native-form :is(em,small,.form-control-comment,.form-text,.help-block){font-size:11px!important;line-height:1.4!important;font-style:normal!important;color:#64748b!important;}
.emsl-full-modal .emsl-modal-native-form label:has(input[type=checkbox]){font-size:11px!important;line-height:1.4!important;}
.emsl-full-modal .emsl-modal-native-form button[type=submit]{min-height:40px;padding:9px 14px!important;margin-top:8px!important;font-size:13px!important;font-weight:650;border-radius:8px!important;}
.emsl-full-modal .emsl-native-fallback{font-size:11px;margin-top:8px;}
.emsl-panel.emsl-full-modal>.emsl-footer{font-size:10px;padding-top:8px;margin-bottom:12px!important;}
@media(min-width:768px){.emsl-full-modal .emsl-register-form .form-group:has(input[name=firstname]),.emsl-full-modal .emsl-register-form .form-group:has(input[name=lastname]){display:inline-block!important;width:calc(50% - 5px)!important;vertical-align:top;}.emsl-full-modal .emsl-register-form .form-group:has(input[name=firstname]){margin-right:10px!important;}}
@media(max-width:767px){.emsl-panel.emsl-full-modal{grid-template-columns:minmax(0,1fr)!important;}.emsl-panel.emsl-full-modal>.emsl-step{padding:24px 18px 8px!important;}}

/* Compact shared modal: social providers left, native form right. */
.emsl-panel.emsl-popup.emsl-full-modal{width:min(720px,calc(100vw - 32px))!important;max-width:720px!important;grid-template-columns:minmax(0,1fr)!important;}
.emsl-panel.emsl-full-modal>.emsl-welcome-side{display:none!important;}
.emsl-panel.emsl-full-modal>.emsl-step,.emsl-panel.emsl-full-modal>.emsl-status,.emsl-panel.emsl-full-modal>.emsl-error,.emsl-panel.emsl-full-modal>.emsl-footer{grid-column:1!important;}
.emsl-panel.emsl-full-modal>[data-emsl-step=login]:not([hidden]){display:grid!important;grid-template-columns:minmax(0, 40fr) minmax(0,60fr);column-gap:22px;align-items:start;padding:24px!important;}
.emsl-full-modal [data-emsl-step=login]>:is(h2,.emsl-modal-intro,.emsl-modal-tabs,.emsl-modal-native){grid-column:2;min-width:0;}
.emsl-full-modal [data-emsl-step=login]>.emsl-social-caption,.emsl-full-modal [data-emsl-step=login]>.emsl-divider{display:none!important;}
.emsl-full-modal .emsl-modal-social-side{grid-column:1;grid-row:1 / span 4;align-self:stretch;background:#f2f7fb;border-radius:12px;padding:16px;min-width:0;display:flex;flex-direction:column;gap:10px;justify-content:center;}
.emsl-modal-social-side h3{font-size:15px;line-height:1.35;font-weight:650;margin:0;color:#18374c;}
.emsl-modal-social-side p{font-size:12px;line-height:1.5;color:#52677c;margin:0 0 4px;}
.emsl-full-modal .emsl-modal-social-side :is(.emsl-icon-row,.emsl-providers){display:flex!important;flex-direction:column;gap:8px;width:100%;}
.emsl-full-modal .emsl-modal-social-side .emsl-social{flex:none!important;width:100%!important;min-height:40px;justify-content:center;white-space:normal;}
.emsl-full-modal .emsl-modal-social-side .emsl-cart-google-primary{margin:0!important;overflow:visible!important;}
.emsl-full-modal .emsl-modal-native .emsl-divider{margin:6px 0 10px;}
.emsl-full-modal .emsl-modal-native-form :is(em,small,.form-control-comment,.form-text,.help-block){font-size:11px!important;line-height:1.35!important;}
.emsl-full-modal .emsl-modal-native-form .form-group{margin-bottom:7px!important;}
.emsl-panel.emsl-full-modal>.emsl-footer{margin:0 24px 12px!important;}
@media(max-width:767px){.emsl-panel.emsl-full-modal>[data-emsl-step=login]:not([hidden]){grid-template-columns:minmax(0,1fr);padding:22px 16px!important;gap:8px;}.emsl-full-modal [data-emsl-step=login]>:is(h2,.emsl-modal-intro,.emsl-modal-tabs,.emsl-modal-native,.emsl-modal-social-side){grid-column:1;grid-row:auto;}.emsl-full-modal .emsl-modal-social-side{padding:12px;}.emsl-full-modal .emsl-modal-social-side p{display:none;}}

/* Minimal modal, scoped to the native login/registration view only. */
.emsl-panel.emsl-full-modal:has(>[data-emsl-step=login]:not([hidden]) .emsl-modal-tabs)>.emsl-footer{display:none!important;}
.emsl-panel.emsl-full-modal>[data-emsl-step=login]:not([hidden]){padding:24px!important;column-gap:24px;grid-template-columns:minmax(0,42fr) minmax(0,58fr);}
.emsl-full-modal [data-emsl-step=login]>h2{font-size:24px!important;letter-spacing:-.55px;margin:0 24px 12px 0!important;}
.emsl-full-modal .emsl-modal-social-side{grid-row:1 / span 3;background:#f5f8fb;padding:16px;gap:8px;border:1px solid #edf1f5;}
.emsl-full-modal .emsl-modal-social-side .emsl-social{min-height:42px;border-radius:8px;font-size:12px;font-weight:550;}
.emsl-full-modal .emsl-modal-tabs{margin:0 0 8px;}
.emsl-full-modal .emsl-modal-native .emsl-divider{margin:8px 0 14px;font-size:12px;}
.emsl-full-modal .emsl-modal-native-form .form-group{margin-bottom:10px!important;}
.emsl-full-modal .emsl-modal-native-form label:has(input[type=checkbox]){font-size:11px!important;line-height:1.4!important;}
.emsl-full-modal .emsl-native-fallback[hidden]{display:none!important;}
.emsl-full-modal .emsl-modal-native-form button[type=submit]{min-height:42px;}
@media(max-width:767px){.emsl-panel.emsl-full-modal>[data-emsl-step=login]:not([hidden]){grid-template-columns:minmax(0,1fr);padding:20px 16px!important;gap:10px;}.emsl-full-modal .emsl-modal-social-side{grid-row:auto;grid-column:1;padding:12px;}.emsl-full-modal [data-emsl-step=login]>h2{grid-row:1;}.emsl-full-modal [data-emsl-step=login]>.emsl-modal-tabs{grid-row:2;}.emsl-full-modal [data-emsl-step=login]>.emsl-modal-social-side{grid-row:3;}}

/* Modal-only rendering stability and password controls. */
.emsl-full-modal .emsl-modal-social-side .emsl-cart-google-primary{display:flex!important;align-items:center;justify-content:center!important;min-height:42px;padding:0!important;}
.emsl-full-modal .emsl-modal-social-side .emsl-cart-google-primary>div{flex:none;max-width:none!important;display:flex;justify-content:center;align-items:center;}
.emsl-full-modal .emsl-modal-social-side .emsl-cart-google-primary iframe{max-width:none!important;display:block;margin:0 auto;}
.emsl-full-modal .emsl-modal-native[aria-busy=true]{min-height:200px;}
.emsl-full-modal .emsl-native-loading{display:grid;place-items:center;min-height:160px;color:#64748b;font-size:12px;}
.emsl-full-modal .emsl-password-wrap{position:relative;display:block;width:100%;min-width:0;}
.emsl-full-modal .emsl-password-wrap input{padding-right:42px!important;}
.emsl-full-modal .emsl-password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;color:#475569;padding:5px;cursor:pointer;z-index:2;}
.emsl-full-modal .emsl-password-toggle svg{width:19px;height:19px;}
.emsl-full-modal .emsl-password-toggle[aria-pressed=true]{color:#095ac4;}
/* 1.7.11: scoped native form spacing and consistent provider geometry. */
.emsl-full-modal .emsl-modal-social-side .emsl-social{justify-content:flex-start!important;padding:0 12px!important;gap:10px!important;min-height:40px!important;border-radius:4px!important;font-size:13px!important;}
.emsl-full-modal .emsl-modal-social-side .emsl-social svg{flex-shrink:0;}
.emsl-full-modal .emsl-modal-native-form .emsl-password-wrap{flex:1 1 100%;width:100%;}
.emsl-full-modal .emsl-modal-native-form .emsl-password-toggle{z-index:5!important;pointer-events:auto!important;}
.emsl-full-modal .emsl-modal-native-form .emsl-password-toggle svg{pointer-events:none;}
.emsl-full-modal .emsl-modal-native-form .form-group{margin-bottom:8px!important;}
.emsl-full-modal .emsl-modal-native-form label{font-size:13px!important;}
.emsl-full-modal .emsl-modal-native-form label:has(input[type=checkbox]){font-size:12px!important;}
@media(min-width:768px){.emsl-full-modal .emsl-register-form .form-group:has(input[name=firstname]),.emsl-full-modal .emsl-register-form .form-group:has(input[name=lastname]){width:calc(50% - 6px)!important;display:inline-block!important;}.emsl-full-modal .emsl-register-form .form-group:has(input[name=firstname]){margin-right:8px!important;}}
