html:has(body.sme-auth-page),body.sme-auth-page{width:100%;min-width:0;height:100%;min-height:100%;margin:0;overflow:hidden}
body.sme-auth-page{background:var(--sme-color-surface-soft);color:var(--sme-color-text);font-family:var(--sme-font-family-sans);font-size:14px;line-height:1.45}
body.sme-auth-page *,body.sme-auth-page *::before,body.sme-auth-page *::after{box-sizing:border-box}
body.sme-auth-page a{color:var(--sme-color-primary-hover);text-decoration:none}
body.sme-auth-page a:hover,body.sme-auth-page a:focus-visible{color:var(--sme-color-heading);text-decoration:underline}
.sme-auth-shell{position:relative;width:100%;height:100dvh;min-height:0;padding:16px clamp(16px,3vw,46px);overflow:hidden}
.sme-auth-back{position:relative;z-index:2;display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:7px 16px;border:1px solid var(--sme-color-border-strong);border-radius:var(--sme-radius-pill);background:var(--sme-color-surface);color:var(--sme-color-heading) !important;font-size:12px;font-weight:var(--sme-font-weight-semibold);text-decoration:none !important}
.sme-auth-back:hover,.sme-auth-back:focus-visible{border-color:var(--sme-color-primary)}
.sme-auth-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,432px);gap:clamp(48px,9vw,122px);align-items:center;width:min(1024px,100%);height:calc(100dvh - 68px);min-height:0;margin:0 auto}
.sme-auth-brand{align-self:center;max-width:520px;color:var(--sme-color-heading)}
.sme-auth-brand img{display:block;width:64px;height:64px;margin-bottom:12px;object-fit:contain}
.sme-auth-brand h1{margin:0;color:var(--sme-color-heading);font-size:clamp(28px,3vw,34px);line-height:1.15;font-weight:var(--sme-font-weight-bold);letter-spacing:-0.025em}
.sme-auth-brand>p{max-width:500px;margin:10px 0 14px;color:var(--sme-color-text-secondary);font-size:14px;line-height:1.7}
.sme-auth-brand ul{display:grid;gap:12px;max-width:520px;margin:0;padding:0;list-style:none}
.sme-auth-brand li{position:relative;padding-left:18px;color:var(--sme-color-text-secondary);font-size:13px;line-height:1.65}
.sme-auth-brand li::before{position:absolute;top:0.68em;left:0;width:8px;height:8px;border-radius:50%;background:var(--sme-color-primary);content:'';transform:translateY(-50%)}
.sme-auth-card{width:100%;max-height:calc(100dvh - 90px);padding:20px;transform-origin:top center;border:1px solid var(--sme-color-border);border-radius:var(--sme-radius-xl);background:var(--sme-color-surface);overflow:hidden}
.sme-auth-card h2{margin:0;color:var(--sme-color-heading);font-family:var(--sme-font-family-sans);font-size:24px;line-height:1.2;font-weight:var(--sme-font-weight-bold);letter-spacing:-0.02em}
.sme-auth-card__intro{margin:5px 0 14px;color:var(--sme-color-text-tertiary);font-size:12px}
.sme-auth-mobile-brand{display:none;align-items:center;justify-content:center;gap:8px;margin-bottom:12px;color:var(--sme-color-heading)}
.sme-auth-mobile-brand img{width:34px;height:34px;object-fit:contain}
.sme-auth-mobile-brand strong{font-size:14px;font-weight:var(--sme-font-weight-bold)}
.sme-auth-form{display:grid;gap:10px}
.sme-auth-form label{display:grid;gap:5px;min-width:0;color:var(--sme-color-heading);font-size:12px;font-weight:var(--sme-font-weight-medium)}
.sme-auth-form input:not([type='checkbox']),.sme-auth-form select{width:100%;min-width:0;height:44px;margin:0;padding:0 12px;border:1px solid var(--sme-color-border-strong);border-radius:var(--sme-radius-md);background:var(--sme-color-surface);color:var(--sme-color-text);font:inherit;box-shadow:none !important;outline:0}
.sme-auth-form input:not([type='checkbox']):focus,.sme-auth-form select:focus{border-color:var(--sme-color-primary);box-shadow:var(--sme-focus-ring) !important}
.sme-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sme-auth-password{position:relative;display:block}
.sme-auth-password input{padding-right:62px !important}
.sme-auth-password button{position:absolute;top:50%;right:8px;min-width:48px;height:28px;padding:0 9px;border:1px solid var(--sme-color-primary-soft);border-radius:var(--sme-radius-md);background:var(--sme-account-token-orange-pale);color:var(--sme-color-primary-hover);font:inherit;font-size:11px;font-weight:var(--sme-font-weight-semibold);line-height:1;transform:translateY(-50%);box-shadow:none !important}
.sme-auth-password button:hover,.sme-auth-password button:focus-visible{border-color:var(--sme-color-primary);background:var(--sme-color-primary-soft)}
.sme-auth-form__split{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:22px;color:var(--sme-color-text-secondary);font-size:11px}
.sme-auth-check{display:inline-flex !important;grid-template-columns:none !important;flex-direction:row;align-items:flex-start;gap:7px !important;min-width:0;color:var(--sme-color-text-secondary) !important;font-size:11px !important;font-weight:var(--sme-font-weight-regular) !important;line-height:1.35}
.sme-auth-check input{flex:0 0 auto;width:14px;height:14px;margin:1px 0 0;accent-color:var(--sme-color-primary)}
.sme-auth-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin:0;padding:9px 16px;border:1px solid var(--sme-color-primary);border-radius:var(--sme-radius-md);background:var(--sme-color-primary);color:var(--sme-color-white);font-family:var(--sme-font-family-sans);font-size:13px;font-weight:var(--sme-font-weight-bold);box-shadow:none !important;text-shadow:none !important}
.sme-auth-submit:hover,.sme-auth-submit:focus-visible{border-color:var(--sme-color-primary-hover);background:var(--sme-color-primary-hover);color:var(--sme-color-white)}
.sme-auth-switch{margin:14px 0 0;color:var(--sme-color-text-tertiary);font-size:11px;text-align:center}
.sme-auth-switch a{font-weight:var(--sme-font-weight-semibold)}
.sme-auth-notice{margin:0 0 10px;padding:8px 10px;border:1px solid var(--sme-color-border);border-radius:var(--sme-radius-md);font-size:11px;line-height:1.4}
.sme-auth-notice--error{border-color:var(--sme-qv-danger-border);background:var(--sme-qv-danger-soft);color:var(--sme-color-danger-dark)}
.sme-auth-notice--success{border-color:var(--sme-qv-success-border);background:var(--sme-qv-success-soft);color:var(--sme-color-success)}
.sme-auth-honeypot{position:fixed !important;left:-10000px !important;width:1px !important;height:1px !important;opacity:0 !important;pointer-events:none !important}

@media (max-width:900px){.sme-auth-shell{padding:12px}
.sme-auth-main{grid-template-columns:1fr;gap:0;width:min(620px,100%);height:calc(100dvh - 58px)}
.sme-auth-brand{display:none}
.sme-auth-card{align-self:start;max-height:calc(100dvh - 66px);margin-top:8px;padding:16px}
.sme-auth-mobile-brand{display:flex}
}

@media (max-width:520px){.sme-auth-shell{padding:6px 8px}
.sme-auth-back{min-height:28px;padding:4px 10px;font-size:9px}
.sme-auth-main{height:calc(100dvh - 38px)}
.sme-auth-card{max-height:calc(100dvh - 46px);margin-top:5px;padding:11px;border-radius:var(--sme-radius-lg)}
.sme-auth-card h2{font-size:18px}
.sme-auth-card__intro{margin:3px 0 8px;font-size:9px}
.sme-auth-mobile-brand{margin-bottom:7px}
.sme-auth-mobile-brand img{width:27px;height:27px}
.sme-auth-mobile-brand strong{font-size:12px}
.sme-auth-form,.sme-auth-form--register{gap:6px}
.sme-auth-form label{gap:3px;font-size:9px}
.sme-auth-form input:not([type='checkbox']),.sme-auth-form select{height:34px;padding:0 8px;font-size:10px}
.sme-auth-grid{gap:6px}
.sme-auth-password input{padding-right:48px !important}
.sme-auth-password button{right:4px;min-width:39px;height:22px;padding:0 5px;font-size:8px}
.sme-auth-form__split,.sme-auth-check{font-size:8px !important}
.sme-auth-check input{width:11px;height:11px}
.sme-auth-submit{min-height:32px;padding:5px 10px;font-size:9px}
.sme-auth-switch{margin-top:7px;font-size:8px}
.sme-auth-notice{margin-bottom:6px;padding:5px 7px;font-size:8px}
}

@media (max-height:620px) and (min-width:521px){.sme-auth-shell{padding-top:8px;padding-bottom:8px}
.sme-auth-main{height:calc(100dvh - 48px)}
.sme-auth-card{max-height:calc(100dvh - 56px);padding:14px 18px}
.sme-auth-card__intro{margin-bottom:8px}
.sme-auth-form{gap:7px}
.sme-auth-form input:not([type='checkbox']),.sme-auth-form select{height:37px}
.sme-auth-submit{min-height:36px}
.sme-auth-switch{margin-top:8px}
}
