.account-locked body>*{visibility:hidden;pointer-events:none}
.account-locked #accountGate,.account-locked #accountGate *{visibility:visible;pointer-events:auto}
#accountGate{position:fixed;inset:0;z-index:10000;overflow:auto;background:#eaf6ff;display:grid;place-items:center;padding:24px;color:#10253f}
#accountGate[hidden]{display:none}
.account-card{width:min(100%,460px);background:#fff;border:1px solid #cedde9;border-radius:20px;padding:26px;box-shadow:0 12px 36px #10253f12}
.account-card h1{font-size:26px;margin:0 0 12px}.account-card p{line-height:1.5}.account-card input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #a7bccf;border-radius:9px;font:inherit;margin:6px 0 12px}
.account-card button{margin:5px 4px 5px 0}.account-status{font-size:13px;line-height:1.5;color:#425b70;margin-top:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.account-header-status{display:flex;justify-content:flex-end;align-items:center;padding:5px clamp(16px,4vw,42px);min-height:38px;background:rgba(234,246,255,.55)}
#accountButton{margin:0;max-width:100%;white-space:nowrap;font-size:11px;font-weight:600;min-height:28px;padding:4px 10px;border-radius:999px;border-color:rgba(68,100,128,.18);background:rgba(255,255,255,.72);color:#425b70}
#accountButton:hover{background:#fff;border-color:#a7bccf}
.account-actions{display:flex;gap:8px;flex-wrap:wrap}.account-conflicts{overflow-wrap:anywhere;max-height:150px;overflow:auto}

/* The same v0.30 front door for email entry and one-time code verification. */
.account-locked{overflow:hidden}
.account-locked body{height:100dvh;overflow:hidden;padding-bottom:0!important}
.v030-active #accountGate{padding:max(16px,var(--v30-safe-top)) max(16px,var(--v30-safe-right)) max(16px,var(--v30-safe-bottom)) max(16px,var(--v30-safe-left));background:#f5fafe;overscroll-behavior:contain;color:#172231}
.v030-active .account-card{font-family:inherit;border-color:#e5edf3;border-radius:16px;padding:22px;box-shadow:0 8px 28px #183c5b12;min-width:0}
.v030-active .account-card h1{font-size:26px;line-height:1.15;letter-spacing:-.6px;font-weight:750;margin:0 0 12px}
.v030-active .account-card p{font-size:14px;line-height:1.45;color:#69798b;margin:0 0 16px}
.v030-active .account-card form{display:grid;gap:10px}
.v030-active .account-card label{font-size:13px;font-weight:600;color:#44576c}
.v030-active .account-card input{font-size:16px;line-height:1.3;border:1px solid #dce7ef;border-radius:10px;padding:12px;min-height:44px;margin:0 0 4px;background:#fff}
.v030-active .account-card .btn{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:11px 14px;border-radius:10px;font-size:14px;font-weight:650;border:1px solid #e5edf3;background:#fff;color:#172231;margin:0;text-decoration:none}
.v030-active .account-card .btn.primary{background:linear-gradient(0deg,#00428638,transparent 85%),linear-gradient(100deg,#0761c5,#1186f7);color:#fff;border-color:transparent}
.v030-active .account-card .btn.danger{color:#f12535;border-color:#f6ccd1;background:#fff0f2}
.v030-active .account-card .account-demo{display:flex;margin-top:12px;width:100%;color:#096cc5}
.v030-active .account-card .account-status{font-size:13px;margin:14px 0 0;color:#28618b}
.v030-active .account-card .account-status:empty{display:none}
.v030-active .account-card details{padding:12px;background:#f5fafe;border:1px solid #e5edf3;border-radius:12px;margin-top:12px}
.v030-active .account-card details>summary{font-size:14px;color:#096cc5;font-weight:650}
.v030-active #accountGate.account-welcome{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 0 max(20px,var(--v30-safe-bottom));background:#f5fafe}
.account-welcome-banner{position:relative;flex:none;width:min(100%,var(--preview-width));height:calc(var(--preview-u)*350 + var(--v30-safe-top));background-color:#49b1fd;background-image:url('/canadian-header.webp');background-size:cover;background-position:center top;background-repeat:no-repeat}
.account-welcome-banner:after{content:"";position:absolute;left:0;right:0;bottom:0;height:55px;background:linear-gradient(transparent,#f5fafe)}
.account-welcome-banner img{position:absolute;width:calc(var(--preview-u)*222);height:auto;top:calc(var(--preview-u)*132 + var(--v30-safe-top));left:max(calc(var(--preview-u)*29),var(--v30-safe-left));object-fit:contain}
.v030-active .account-welcome .account-card{flex:none;position:relative;z-index:1;width:min(calc(100% - 32px - var(--v30-safe-left) - var(--v30-safe-right)),calc(var(--preview-width) - 32px));margin-top:-20px}
@media(max-width:360px){.v030-active .account-card{padding:18px}.v030-active .account-card h1{font-size:24px}}

@media(min-width:960px){.v030-active .account-welcome-banner{width:100%;height:300px;background-size:cover;background-position:center 64%}.v030-active .account-welcome-banner img{width:240px;top:48px;left:max(32px,calc((100% - 1000px)/2))}.v030-active .account-welcome .account-card{width:min(calc(100% - 64px),640px);max-width:640px}.account-actions .btn.danger{background:#bd2339;color:white;border-color:#bd2339}}
