/* Bank-first sign-in; scoped so existing workspaces are unchanged. */
.auth-bank-first{grid-template-columns:minmax(0,56fr) minmax(0,44fr)}
.auth-bank-first .auth-story{padding:44px clamp(36px,4.7vw,70px) 36px;gap:28px}
.auth-bank-first .auth-brand{min-height:44px;gap:13px}
.auth-bank-first .auth-brand strong{font-size:21px}
.auth-bank-first .auth-brand .brand-descriptor{font-size:10px;letter-spacing:.14em;margin-top:5px;opacity:.7}
.auth-bank-first .auth-brand .brand-mark{width:42px;height:42px}
.auth-bank-first .auth-brand .brand-mark svg{width:38px;height:38px}
.auth-bank-first .auth-message{max-width:590px;margin:10px 0}
.auth-bank-first .auth-accent{display:block;width:38px;height:3px;margin-bottom:26px;border-radius:4px;background:var(--bank-accent,#c8e9de)}
.auth-bank-first .auth-message h2{margin:0;font-size:clamp(34px,3.3vw,48px);line-height:1.17;letter-spacing:-.037em;font-weight:650;overflow-wrap:anywhere}
.auth-bank-first .auth-message h2 em{font-style:normal;color:var(--bank-accent,#c8e9de)}
.auth-bank-first .auth-message p{max-width:430px;margin-top:24px;font-size:15px;line-height:1.65;opacity:.75}
.auth-bank-first .auth-proof{gap:18px;padding-top:24px;border-color:rgba(255,255,255,.16)}
.auth-bank-first .auth-proof strong{font-size:11px;font-weight:500}
.auth-bank-first .auth-proof svg{color:var(--bank-accent,#c8e9de);width:17px;height:17px}
.auth-bank-first .auth-entry{min-width:0;position:relative;display:flex;align-items:center;justify-content:center;padding:56px 56px 106px}
.auth-bank-first .auth-panel{display:flex;flex-direction:column;width:100%;max-width:428px;gap:24px;padding:0;margin:0}
.auth-bank-first .auth-bank-heading{display:flex;align-items:center;gap:16px;min-width:0;padding-bottom:26px;margin-bottom:6px;border-bottom:1px solid var(--line)}
.auth-bank-first .auth-bank-heading>div{min-width:0}
.auth-bank-first #auth-bank-name{display:block;font-size:21px;line-height:1.3;letter-spacing:-.025em;font-weight:650;overflow-wrap:anywhere}
.auth-bank-first .auth-bank-heading small{display:block;margin-top:6px;color:var(--muted);font-size:12px}
.auth-bank-first .auth-bank-logo{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;background:#edf6f2;color:var(--teal);border-radius:12px;overflow:hidden}
.auth-bank-first .auth-bank-logo>svg{width:24px;height:24px}
.auth-bank-first .auth-bank-logo.has-bank-logo>svg{display:none}
.auth-bank-first .auth-bank-logo .bank-custom-logo{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.auth-bank-first .auth-panel h1{margin:0;font-size:32px;line-height:1.2;letter-spacing:-.035em}
.auth-bank-first .auth-panel #auth-intro{margin:12px 0 0;font-size:14px;line-height:1.6}
.auth-bank-first .auth-panel>.button-primary{background:var(--bank-primary,#102c3a);color:var(--bank-on-primary,#fff);border-color:var(--bank-primary,#102c3a);min-height:54px;justify-content:space-between;padding:15px 20px;border-radius:9px;font-size:14px;font-weight:650;text-decoration:none;box-shadow:0 3px 9px rgba(16,44,58,.04)}
.auth-bank-first .auth-panel>.button-primary svg{width:18px;height:18px}
.auth-bank-first .auth-foot{gap:8px;font-size:11px;line-height:1.5;margin-top:-3px}
.auth-bank-first .auth-foot svg{width:14px;height:14px}
.auth-bank-first .auth-entry-footer{position:absolute;bottom:36px;left:56px;right:56px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px}
.auth-bank-first .auth-support{position:relative;min-width:0}
.auth-bank-first .auth-support summary{display:flex;align-items:center;gap:7px;color:var(--muted);cursor:pointer;list-style:none}
.auth-bank-first .auth-support summary::-webkit-details-marker{display:none}
.auth-bank-first .auth-entry-footer svg{width:14px;height:14px;flex-shrink:0}
.auth-bank-first .auth-entry-footer .admin-entry{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:11px;color:var(--ink);white-space:nowrap}
.auth-bank-first .auth-support[open] .bank-login-support{position:absolute;bottom:28px;left:0;width:min(300px,calc(100vw - 64px));margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:9px;background:white;box-shadow:var(--shadow-sm);color:var(--ink);line-height:1.6;overflow-wrap:anywhere;z-index:2}
.auth-bank-first .auth-panel .form-error:not([hidden]){margin:0}
@media(max-height:680px) and (min-width:861px){
.auth-bank-first .auth-story{padding-block:28px;gap:22px}.auth-bank-first .auth-entry{padding-top:30px;padding-bottom:86px}.auth-bank-first .auth-panel{gap:18px}.auth-bank-first .auth-bank-heading{padding-bottom:20px;margin-bottom:4px}.auth-bank-first .auth-message h2{font-size:clamp(32px,3.3vw,45px)}}
@media(max-width:1100px) and (min-width:861px){
.auth-bank-first .auth-story{padding-inline:32px}.auth-bank-first .auth-entry{padding-inline:32px}.auth-bank-first .auth-entry-footer{left:32px;right:32px;gap:10px}.auth-bank-first .auth-proof{gap:13px}.auth-bank-first .auth-proof>div{align-items:flex-start}.auth-bank-first .auth-proof strong{font-size:10px}}
@media(max-width:860px){
.auth-bank-first{grid-template-columns:1fr}.auth-bank-first .auth-story{display:none}.auth-bank-first .auth-entry{min-height:100%;padding:36px 24px 96px}.auth-bank-first .auth-panel{min-height:0;gap:22px}.auth-bank-first .auth-entry-footer{bottom:28px;left:24px;right:24px;gap:12px}}
@media(max-height:500px){
.auth-bank-first .auth-entry{display:block;padding-top:28px}.auth-bank-first .auth-panel{margin-inline:auto}.auth-bank-first .auth-entry-footer{position:static;margin:32px auto 0;max-width:428px}}
