.topbar.portal-topbar{position:relative;display:block;padding:0;min-height:0;background:#fff;border-bottom:1px solid #dce5ed;backdrop-filter:none;box-shadow:0 2px 10px #17384f05}
.portal-header-main{display:grid;grid-template-columns:minmax(260px,1fr) minmax(260px,440px) auto;align-items:center;gap:28px;max-width:1600px;margin:0 auto;padding:20px 32px}
.portal-topbar .brand{gap:12px;min-width:0;max-width:none;text-decoration:none;flex:none}
.portal-topbar .brand-mark{width:38px;height:42px}.portal-topbar .brand-mark img{width:36px;height:42px}
.portal-topbar .brand strong{max-width:none;white-space:normal;text-overflow:clip;overflow:visible;font-size:16px;font-weight:650;line-height:1.35;color:#183c53}
.portal-topbar .brand small{margin-top:4px;font-size:12px;line-height:1.3;color:#758695}
.portal-topbar .nav-search{order:initial;width:100%;min-width:0;max-width:none;height:46px;flex:none;margin:0;border:1px solid #dce5ed;background:#f6f9fb;border-radius:10px}
.portal-topbar .nav-search:focus-within{border-color:#6e9bb5;box-shadow:0 0 0 3px #2f779b12;background:#fff}
.portal-topbar .nav-search input{font-size:14px;padding:0 14px}
.portal-topbar .nav-search>button{flex:0 0 38px;width:38px;min-width:38px;height:36px;margin:4px;border:0;border-radius:7px;color:#275c77;background:#e9f1f6}
.portal-topbar .nav-search>button:hover{background:#dcebf4}.portal-topbar .nav-search>button svg{width:19px;height:19px}
.portal-section-bar{border-top:1px solid #edf1f5;background:#fff}
.portal-sections{display:flex;gap:6px;align-items:center;max-width:1600px;margin:0 auto;padding:0 32px;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}
.portal-sections>a{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:50px;padding:0 18px;color:#526676;text-decoration:none;font-size:14px;font-weight:550;white-space:nowrap;border-bottom:3px solid transparent}
.portal-sections>a:hover{background:#f6f9fb;color:#204f6b}.portal-sections>a[aria-current=page]{color:#214f6b;background:#f2f7fa;border-bottom-color:#2b718f;font-weight:650}
.portal-account{position:relative;justify-self:end;min-width:0}
.portal-account>summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 10px;border:1px solid #e0e7ee;border-radius:10px;font-size:14px;font-weight:550;color:#415e71;cursor:pointer;user-select:none;white-space:nowrap}
.portal-account>summary::-webkit-details-marker{display:none}.portal-account>summary:hover,.portal-account[open]>summary{background:#f1f6fa;border-color:#c9dbe6}
.portal-account-avatar{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e9f1f6}.portal-account-avatar svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
.portal-account-chevron{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8}.portal-account[open] .portal-account-chevron{transform:rotate(180deg)}
.portal-account-panel{position:absolute;z-index:5000;right:0;top:calc(100% + 10px);display:grid;gap:4px;width:270px;max-width:calc(100vw - 32px);padding:10px;border:1px solid #dbe5ed;border-radius:12px;background:#fff;box-shadow:0 12px 40px #183c5326}
.portal-account:not([open])>.portal-account-panel{display:none}
.portal-account-name{padding:9px 12px 12px;color:#758695;font-size:12px;overflow-wrap:anywhere;border-bottom:1px solid #edf1f5;margin-bottom:4px}
.portal-account-panel>a,.portal-account-panel .logout-form>button{display:flex;align-items:center;min-height:42px;width:100%;max-width:none;padding:9px 12px;border:0;border-radius:7px;background:none;font:inherit;font-size:14px;color:#324f62;text-decoration:none;text-align:left;white-space:normal;cursor:pointer}
.portal-account-panel>a:hover,.portal-account-panel .logout-form>button:hover{background:#edf4f8}.portal-account-panel .logout-form{border-top:1px solid #edf1f5;margin-top:4px;padding-top:6px}.portal-account-panel .logout-form>button{color:#8e4c4c}
.portal-topbar :is(a,summary,button,select):focus-visible{outline:2px solid #3c829f;outline-offset:3px}
.portal-guest-links{display:flex;gap:12px;justify-self:end;font-size:14px}
@media(max-width:1000px){.portal-header-main{grid-template-columns:minmax(0,1fr) auto;gap:16px 22px;padding:18px 24px}.portal-topbar .nav-search{grid-row:2;grid-column:1/-1}.portal-account{grid-column:2;grid-row:1}.portal-sections{padding:0 24px}.portal-topbar .brand strong{max-width:none}.portal-guest-links{grid-column:2;grid-row:1}}
@media(max-width:600px){.portal-header-main{padding:16px;gap:14px}.portal-topbar .brand strong{font-size:15px}.portal-topbar .brand-mark{width:32px}.portal-topbar .brand-mark img{width:30px;height:38px}.portal-topbar .brand{gap:10px}.portal-sections{padding:0 12px;gap:0}.portal-sections>a{padding:0 15px;min-height:47px}.portal-topbar .nav-search{height:44px}.portal-topbar .nav-search>button{height:34px}.portal-account-label{display:none}.portal-account>summary{padding:8px;gap:6px}.portal-topbar .brand small{font-size:11px}.portal-guest-links{gap:8px;font-size:12px}}
