/* Multistack portal login: styles isolated from all other site components. */
.actions .btn.header-login-open{
 display:inline-flex;align-items:center;justify-content:center;
 cursor:pointer;font:inherit;font-size:13px;font-weight:800;
 text-transform:uppercase;letter-spacing:.045em;white-space:nowrap;
 padding:13px 24px;min-height:45px;background:#1378bc;color:#fff;
 border:0;border-radius:0;
}
.actions .btn.header-login-open:hover{background:#0b5d9a;transform:translateY(-1px)}
.actions .btn.header-login-open:focus-visible{outline:3px solid #3cbbe9;outline-offset:3px}
.portal-login-dialog{
 position:fixed;inset:0;width:min(720px,calc(100vw - 28px));
 max-width:calc(100vw - 28px);max-height:92vh;max-height:92dvh;
 margin:auto;padding:0;overflow-y:auto;border:1px solid #d5e3ec;
 border-radius:0;background:#fff;color:#18364d;
 box-shadow:0 28px 90px rgba(0,14,33,.4);
}
.portal-login-dialog::backdrop{background:rgba(4,22,39,.67)}
.portal-login-top{
 display:flex;align-items:flex-start;justify-content:space-between;
 gap:22px;padding:26px 30px 22px;border-bottom:1px solid #dce8ee;
}
.portal-login-eyebrow{
 display:block;color:#128bcb;letter-spacing:.15em;
 font-size:11px;font-weight:800;margin:0 0 8px;
}
.portal-login-top h2{margin:0 0 7px;font-size:30px;line-height:1.15;font-weight:800;color:#17374b}
.portal-login-top p{font-size:14px;color:#5b7586;line-height:1.5;margin:0}
.portal-login-close{
 display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;
 border:1px solid #d1e0e9;border-radius:0;background:#fff;color:#244e68;
 font-size:25px;cursor:pointer;line-height:1;
}
.portal-login-close:hover{background:#eaf5fa}
.portal-login-close:focus-visible,.portal-login-choice:focus-visible{
 outline:3px solid #1b91c7;outline-offset:3px;
}
.portal-login-options{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:16px;padding:25px 30px 30px;background:#f7fafc;
}
.portal-login-choice{
 min-width:0;display:flex;flex-direction:column;align-items:flex-start;
 gap:17px;min-height:180px;padding:22px;border:1px solid #d6e4ed;
 border-radius:0;text-decoration:none;color:#193d56;background:#fff;
 box-shadow:0 5px 18px rgba(11,46,71,.05);
 transition:background .18s,border-color .18s,transform .18s,box-shadow .18s;
}
.portal-login-choice:hover{
 color:#143954;background:#eef8ff;border-color:#48a3d7;
 transform:translateY(-2px);box-shadow:0 12px 23px rgba(18,83,125,.12);
}
.portal-login-symbol{
 display:grid;place-items:center;width:49px;height:49px;
 border-radius:0;background:#0b3655;color:#fff;font-size:22px;font-weight:800;
}
.portal-login-choice--multistack .portal-login-symbol{
 background:linear-gradient(135deg,#138cd1,#14b7c1)
}
.portal-login-choice-text{display:flex;flex-direction:column;gap:5px}
.portal-login-choice-text strong{font-size:22px;font-weight:800;color:#16374d}
.portal-login-choice-text small{font-size:13px;line-height:1.45;color:#647d90}
.portal-login-arrow{align-self:flex-end;margin-top:auto;font-size:24px;color:#1483bf;line-height:1}
@media(max-width:850px){
 .actions .btn.header-login-open{
  display:inline-flex;padding:10px 15px;min-height:40px;font-size:12px;
 }
}
@media(max-width:580px){
 .portal-login-dialog{
  width:calc(100vw - 18px);max-width:calc(100vw - 18px);border-radius:0;
 }
 .portal-login-top{padding:22px 20px 18px}
 .portal-login-top h2{font-size:25px}
 .portal-login-options{grid-template-columns:1fr;gap:12px;padding:18px}
 .portal-login-choice{
  min-height:100px;padding:16px;display:grid;
  grid-template-columns:46px 1fr 24px;align-items:center;gap:12px;
 }
 .portal-login-symbol{width:44px;height:44px;font-size:20px}
 .portal-login-choice-text strong{font-size:19px}
 .portal-login-arrow{align-self:center;font-size:22px}
}
@media(max-width:380px){
 .actions .btn.header-login-open{font-size:11px;padding:9px 12px}
 .head-inner .brand-logo{width:135px}
}
