/* Shared navigation is scoped so page-specific forms and content keep their styles. */
header.portal-header{display:block!important;position:sticky;top:0;z-index:100;width:100%;margin:0;padding:0!important;background:#fff;border:0;border-bottom:1px solid #dfe6ef;box-shadow:0 2px 8px #18325303;backdrop-filter:none;font:400 1rem/1.5 Inter,"Segoe UI",Arial,sans-serif;color:#243b56}
.portal-header .portal-header-inner{position:relative;display:flex;flex-direction:row;align-items:center;gap:22px;min-height:72px;max-width:1198px;margin:0 auto;padding:11px 24px;width:100%;box-sizing:border-box}
.portal-header .portal-brand{display:block;flex:none;padding:0;margin:0;line-height:1;letter-spacing:normal;overflow-wrap:normal}.portal-header .portal-brand img{display:block;width:138px;height:auto;margin:0}.portal-header .portal-brand-caption{display:block;max-width:200px;border-left:1px solid #dce4ef;padding-left:22px;color:#5b6c81;font-size:.875rem;font-weight:550;line-height:1.4}
.portal-header .portal-actions{display:flex!important;position:static!important;inset:auto;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:22px;width:auto;margin:0 0 0 auto;padding:0;border:0;background:none;box-shadow:none;overflow:visible;font-size:.875rem;letter-spacing:normal}
.portal-header a,.portal-header button{font-family:inherit;letter-spacing:normal;text-transform:none;text-decoration:none;overflow-wrap:normal;box-sizing:border-box;transition:background .15s,color .15s}
.portal-header .portal-home{display:block;color:#52657c;white-space:nowrap;font-size:.875rem;font-weight:550;padding:10px 0}.portal-header .portal-home:hover{color:#245894;text-decoration:none}
.portal-header .portal-languages{display:flex;align-items:center;gap:3px;border:1px solid #e0e7ef;border-radius:10px;padding:3px;margin:0;background:#f4f7fb;width:auto;flex:none;min-height:38px}
.portal-header .portal-languages a,.portal-header .portal-languages button{display:block;position:static;min-width:38px;border:0;border-radius:7px;margin:0;padding:6px 10px;background:transparent;color:#62738a;font-size:.875rem;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer}
.portal-header .portal-languages .selected{background:white;color:#214f84;box-shadow:0 1px 4px #18325314}.portal-header .portal-languages a:hover,.portal-header .portal-languages button:hover{background:#fff;color:#214f84;text-decoration:none}
.portal-header .portal-account-slot{display:flex;align-items:center;min-width:0}.portal-header .portal-account{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;max-width:255px;white-space:nowrap;border:1px solid #24578c;border-radius:10px;background:#24578c;color:white;font-size:.875rem;font-weight:600;line-height:1.4;margin:0;padding:10px 15px;cursor:pointer;box-shadow:0 2px 4px #214f840c}
.portal-header .portal-account:hover{background:#1a4678;color:white;text-decoration:none}.portal-header .portal-account svg{display:block;width:18px;height:18px;flex:none}.portal-header .portal-account-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.portal-header .portal-profile{padding:6px 11px 6px 7px;background:#f0f5fc;color:#214f84;border-color:#d9e5f4;box-shadow:none}.portal-header .portal-profile:hover,.portal-header .portal-profile[aria-expanded=true]{background:#e5eefb;color:#214f84}.portal-header .portal-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#d8e6f8;color:#214f84;font-size:.8125rem;font-weight:700;flex:none}.portal-header .portal-account .portal-chevron{width:16px;height:16px}
.portal-header .portal-mobile-toggle{display:none;place-items:center;min-width:42px;width:42px;height:42px;margin:0;padding:10px;border:0;border-radius:10px;background:#24578c;color:white;cursor:pointer}.portal-header .portal-mobile-toggle svg{width:22px;height:22px}
.portal-header .portal-dropdown{position:absolute;top:calc(100% + 9px);right:24px;width:310px;max-width:calc(100vw - 32px);margin:0;padding:8px;background:#fff;border:1px solid #e0e7f0;border-radius:14px;box-shadow:0 18px 50px #18325320;color:#243b56;text-align:left;box-sizing:border-box;max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
.portal-header [hidden]{display:none!important}.portal-header .portal-user{display:flex;flex-direction:column;gap:3px;margin:0 5px 6px;padding:11px 8px 14px;border-bottom:1px solid #e8edf4}.portal-header .portal-user strong{display:block;font-size:.9375rem;font-weight:650;overflow-wrap:anywhere}.portal-header .portal-user span{display:block;font-size:.875rem;color:#6c7e93;overflow-wrap:anywhere}
.portal-header .portal-menu-links{display:block!important;position:static!important;inset:auto;width:auto;margin:0;padding:0;border:0;background:none;box-shadow:none;overflow:visible}.portal-header .portal-menu-links a{display:block;padding:10px 12px;margin:1px 0;border:0;border-radius:8px;color:#304b6b;font-size:.875rem;font-weight:500;line-height:1.5;white-space:normal}.portal-header .portal-menu-links a:hover{background:#f0f5fb;color:#214f84;text-decoration:none}.portal-header .portal-menu-heading{margin:8px 5px 4px;padding:13px 8px 3px;border-top:1px solid #e8edf4;font-size:.8125rem;color:#79899e;font-weight:600;line-height:1.4}
.portal-header .portal-switch,.portal-header .portal-logout{display:block;width:calc(100% - 10px);text-align:left;min-height:42px;margin:7px 5px 0;padding:11px 8px;border:0;border-top:1px solid #e8edf4;border-radius:0;background:none;color:#80505b;font-size:.875rem;font-weight:500;line-height:1.4;cursor:pointer}.portal-header .portal-logout:hover{background:#fff4f5;border-radius:8px}
.portal-header a:focus-visible,.portal-header button:focus-visible{outline:3px solid #9bc1ed;outline-offset:3px}
@media(max-width:950px){.portal-header .portal-brand-caption{display:none}.portal-header .portal-actions{gap:17px}}
@media(max-width:600px){.portal-header .portal-header-inner{min-height:68px;padding:12px 18px;gap:12px}.portal-header .portal-brand img{width:116px}.portal-header .portal-actions{gap:10px}.portal-header .portal-home{display:none}.portal-header .portal-languages a,.portal-header .portal-languages button{font-size:.875rem;padding:6px 7px;min-width:32px}.portal-header[data-ready] .portal-account-slot{display:none}.portal-header[data-ready] .portal-mobile-toggle{display:grid}.portal-header .portal-account-slot .portal-account{padding:10px;min-width:42px;width:42px}.portal-header .portal-account-slot .portal-account>span{display:none}.portal-header .portal-dropdown{right:16px;top:calc(100% + 7px);width:310px}.portal-header .portal-menu-links a{padding-block:11px}}
@media print{header.portal-header{display:none!important}}
@media(prefers-reduced-motion:reduce){.portal-header a,.portal-header button{transition:none}}

.portal-header .portal-language-short{display:none}
@media(max-width:380px){.portal-header .portal-language-full{display:none}.portal-header .portal-language-short{display:inline}.portal-header .portal-header-inner{padding-inline:14px;gap:10px}.portal-header .portal-brand img{width:106px}.portal-header .portal-actions{gap:8px}.portal-header .portal-languages a,.portal-header .portal-languages button{padding-inline:7px;min-width:30px}}

.portal-header .portal-switch{color:#304b6b}.portal-header .portal-switch:hover{background:#f0f5fb}.portal-header .portal-logout{border-top:0;margin-top:0}
