.portal-shell>aside .account{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:5px 10px;align-items:center;padding:20px 10px 0}
.login-mfa-recovery-help{margin:2px 0 0;padding:11px 12px;border:1px solid #cfe4e1;border-radius:10px;background:#f0f8f7;color:#496878;font-size:12px;line-height:1.55;text-align:left}
.portal-shell .account #accountName{grid-column:1;grid-row:1;min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:700;line-height:1.5}
.portal-shell .account #clientName{grid-column:1;grid-row:2;min-width:0;overflow-wrap:anywhere;line-height:1.5}
.portal-shell .account #portalSecurityButton{grid-column:2;grid-row:1 / 3;display:grid;place-items:center;align-self:start;width:40px;height:40px;min-width:0;margin:0;padding:9px;background:transparent;border:1px solid transparent;border-radius:10px;color:#b8c9d8}
.portal-shell .account #portalSecurityButton svg{width:21px;height:21px}
.portal-shell .account #logoutBtn{grid-column:1 / -1;display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:fit-content;min-height:36px;margin:8px 0 0;padding:6px 8px;background:transparent;border:1px solid transparent;border-radius:8px;color:#b8c9d8;font:inherit;font-size:12px;font-weight:500;line-height:1.5}
.portal-shell .account #logoutBtn svg{width:17px;height:17px;flex-shrink:0}.portal-shell .account #logoutBtn span{color:inherit;font:inherit}
.portal-shell .account #portalSecurityButton:hover,.portal-shell .account #logoutBtn:hover{background:#ffffff0c;color:white}
.portal-shell .account button:focus-visible{outline:2px solid #7bd3cf;outline-offset:3px}
@media(max-width:820px){.portal-shell>aside .account{grid-template-columns:minmax(0,1fr) 40px auto;margin-top:16px;padding:12px 8px 0}.portal-shell .account #logoutBtn{grid-column:3;grid-row:1 / 3;margin:0;align-self:center}}
.portal-security-dialog{padding:0;border:1px solid #cbdde7;border-radius:20px;width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 40px);color:#12354a;background:#fff;font:inherit;box-shadow:0 24px 70px #102b3e30}
.portal-security-dialog::backdrop{background:#112e4366;backdrop-filter:blur(3px)}
.security-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px;background:#10364b;color:white;position:sticky;top:0;z-index:2}
.security-heading h2{margin:4px 0 0;font-size:23px}.security-heading .eyebrow{color:#7bd3cf;margin:0}.security-heading button{min-width:38px;min-height:38px;padding:4px;border:1px solid #ffffff40;background:#ffffff10;color:white;font:inherit;font-size:24px;border-radius:10px}
.security-content{padding:24px 28px;display:grid;gap:20px}.security-content p{margin:0;line-height:1.65}.security-section{display:grid;gap:14px;padding-top:20px;border-top:1px solid #d4e1eb}.security-section h3{margin:0}.security-section label{display:grid;gap:7px;font-size:14px;font-weight:600}.security-section input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #bbcedc;border-radius:10px;padding:12px 14px;font:inherit;color:inherit;background:#fbfcfd}.security-section input:focus{outline:2px solid #0b968b;outline-offset:2px}.security-section button{padding:12px 18px;border:0;border-radius:10px;background:#078c82;color:white;font:inherit;font-weight:700;cursor:pointer}.security-section button:disabled{opacity:.6;cursor:wait}.security-section small{color:#627b8c;line-height:1.6}.security-notice{padding:14px 16px;background:#edf7f6;border:1px solid #cce6e2;border-radius:12px}.security-secret{display:block;padding:16px;border-radius:10px;background:#f0f5f8;border:1px solid #d4e1eb;overflow-wrap:anywhere;white-space:pre-wrap;user-select:all;font-size:14px;line-height:1.8}.security-content #securityMessage:empty{display:none}.security-content #securityMessage{color:#a3343b}.security-content #securityMessage[data-success="true"]{color:#08776c}#securityMfaSetup{display:grid;gap:14px}#loginModeButton{justify-self:center;margin-top:2px;padding:2px 6px;color:#687b8e;font-size:12px;font-weight:600;line-height:1.45;text-decoration:underline;text-decoration-color:#c7d3dc;text-underline-offset:3px}#loginModeButton:hover,#loginModeButton:focus-visible{color:#078c82;text-decoration-color:currentColor}#emailForm input{font:inherit}#passwordLoginButton:disabled{opacity:.6}
@media(max-width:600px){.security-heading{padding:20px}.security-content{padding:20px}.security-heading h2{font-size:20px}.portal-security-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 24px)}}
.security-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}.security-steps li{display:grid;justify-items:center;gap:7px;text-align:center;font-size:12px;color:#617888}.security-steps li>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #cfdee6;border-radius:50%;font-weight:700;background:#f3f7f9}.security-steps li[data-state="current"]{color:#08776c;font-weight:700}.security-steps li[data-state="current"]>span{color:white;border-color:#078c82;background:#078c82}.security-steps li[data-state="complete"]>span{background:#e1f4ef;border-color:#b7dfd5;color:#08776c}
.security-section button.security-choice{display:grid;gap:5px;text-align:left;border:1px solid #cbdde7;background:#f8fbfc;color:#12354a}.security-section button.security-choice:hover{border-color:#078c82;background:#edf7f6}.security-section button.security-choice strong{font-weight:700}.security-section button.security-choice small{font-weight:400}.security-section button.security-secondary{background:transparent;border:1px solid #cbdde7;color:#365767;font-weight:600}.security-section button.security-secondary:hover{background:#f1f7f8}.security-section button:focus-visible,.security-section summary:focus-visible{outline:2px solid #078c82;outline-offset:3px}
.security-success-icon{width:54px;height:54px}.security-qr-panel{display:grid;justify-items:center;gap:8px;padding:12px;background:white;border:1px solid #d4e1eb;border-radius:14px}.security-qr-panel img{display:block;width:min(256px,100%);height:auto;aspect-ratio:1;background:white}.security-qr-panel p{font-size:12px;color:#627b8c;overflow-wrap:anywhere;text-align:center}#securityManualSetup{font-size:13px;line-height:1.6}#securityManualSetup summary{color:#08776c;cursor:pointer;font-weight:600}#securityManualSetup p{margin-top:12px}#securityAuthenticatorLink{display:inline-block;margin-top:10px;color:#08776c}#securityMfaCode{text-align:center;font-size:22px;letter-spacing:.28em}#securityMfaForm .security-section{border:0}#securityRecoveryCodes{columns:2;white-space:pre;line-height:1.9;font-size:13px;overflow:auto}
@media(max-width:420px){#securityRecoveryCodes{columns:1}.security-steps li{font-size:11px}}
