/* Compact EC sign-in; the original mark and real controls retain their behavior. */
.entry-page { min-height:100svh; padding:40px 24px; display:grid; place-items:center; position:relative; isolation:isolate; overflow:hidden; background:var(--ec-canvas); }
.entry-decoration { position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:-1; }
.entry-shape { position:absolute; inset:0; width:100%; height:100%; opacity:1; }
.entry-shape stop { stop-color:var(--ec-line); }
#ec-login-left stop:first-child { stop-opacity:.4; }
#ec-login-left stop:last-child { stop-opacity:.85; }
#ec-login-right stop:first-child { stop-opacity:.8; }
#ec-login-right stop:last-child { stop-opacity:.25; }
.entry-orb { position:absolute; right:2.6%; top:38%; width:104px; height:104px; border-radius:50%; background:var(--ec-accent); opacity:.17; }
.ec-logo { width:56px; height:37.5px; display:inline-block; position:relative; overflow:hidden; flex-shrink:0; isolation:isolate; }
.ec-logo img { position:absolute; width:160%; max-width:none; height:auto; left:-30%; top:-70.5%; pointer-events:none; }
.entry-page .login { width:min(450px,100%); max-width:450px; min-height:0; margin:0; display:block; padding:32px 40px; border:1px solid var(--ec-surface); border-radius:var(--ec-radius-login); background:var(--ec-surface); box-shadow:0 16px 48px rgb(21 43 52 / .08); overflow:visible; }
.login-intro { padding:0; background:transparent; text-align:center; }
.login-identity { display:flex; flex-direction:column; align-items:center; }
.login-identity .ec-logo { width:96px; height:64.5px; }
.entry-page .login #login-form { margin:20px 0 0; padding:0; border:0; border-radius:0; box-shadow:none; }
.login #login-form h1 { text-align:center; font-size:24px; line-height:34px; font-weight:650; letter-spacing:-.015em; margin:0; color:var(--ec-ink); }
.login-brand-caption { text-align:center; color:var(--ec-muted); font-size:12px; font-weight:400; line-height:18px; letter-spacing:.03em; margin:4px 0 0; }
.login-subtitle { text-align:center; color:var(--ec-muted); font-size:14px; line-height:22px; margin:8px 0 24px; }
.login-field { position:relative; display:flex; align-items:center; height:48px; margin-bottom:12px; }
.login-password { margin-bottom:0; }
.login-field > svg { position:absolute; width:20px; height:20px; left:16px; color:var(--ec-ink); pointer-events:none; }
.login-field input { height:100%; min-height:0; border-radius:var(--ec-radius-control); padding:12px 48px; border:1px solid var(--ec-control-line); background:var(--ec-surface-soft); color:var(--ec-ink); font-size:15px; }
.login-field input::placeholder { color:var(--ec-muted); }
.login #password-toggle { position:absolute; right:4px; top:4px; width:40px; height:40px; min-height:40px; margin:0; padding:0; display:grid; place-items:center; background:transparent; border:0; border-radius:var(--ec-radius-control); color:var(--ec-muted); }
.login #password-toggle:hover { background:var(--ec-success-soft); color:var(--ec-primary); }
.login #password-toggle svg { width:20px; height:20px; }
.login-options { margin-top:16px; }
.login-options label { display:inline-flex; align-items:center; gap:10px; margin:0; font-size:13px; font-weight:500; min-height:28px; cursor:pointer; }
.login-options input { width:18px; height:18px; min-height:0; padding:0; margin:0; accent-color:var(--ec-primary); border-radius:4px; }
.login #login { margin-top:20px; width:100%; min-height:48px; border-radius:var(--ec-radius-control); padding:12px 20px; display:flex; align-items:center; justify-content:center; position:relative; font-size:16px; font-weight:600; box-shadow:0 4px 12px rgb(8 127 104 / .12),inset 0 1px 1px rgb(255 255 255 / .2); }
.login #login svg { position:absolute; right:16px; width:20px; height:20px; }
.login #login-error:empty { display:none; }
.login #login-error:not(:empty) { padding:12px 16px; border-radius:var(--ec-radius-control); background:var(--ec-danger-soft); font-size:14px; margin:16px 0 0; line-height:1.6; }
.login-support { display:flex; align-items:center; gap:12px; margin:24px 0 0; color:var(--ec-muted); font-size:12px; line-height:20px; white-space:nowrap; }
.login-support::before,.login-support::after { content:''; flex:1; height:1px; background:var(--ec-line); }
@media(max-width:760px) {
 .entry-page { padding:24px 20px; }
 .entry-page .login { padding:28px 24px; border-radius:24px; }
 .login-identity .ec-logo { width:88px; height:59px; }
 .entry-page .login #login-form { margin-top:16px; }
 .login #login-form h1 { font-size:22px; line-height:32px; }
 .login-subtitle { margin-bottom:20px; }
 .login-field input { font-size:16px; }
 .login #password-toggle { top:2px; right:2px; width:44px; height:44px; min-height:44px; }
 .login-options label { font-size:14px; min-height:44px; }
 .login-support { white-space:normal; text-align:center; }
 .login-support span { flex:0 1 auto; }
 .entry-shape { opacity:.25; }
}
@media(prefers-reduced-motion:reduce) { .entry-page * { animation:none!important; transition:none!important; } }
