/* Header account controls; loaded after the shared interface stylesheet. */
.topbar{min-height:72px;height:auto;position:relative;z-index:30;overflow:visible}
.account.account-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:14px;width:auto;min-width:0;flex:0 1 auto}
.account-toolbar svg{display:block;width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.account-toolbar button.header-entrypoint-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 12px;font-size:12px;font-weight:500;white-space:nowrap;background:#fff;border-color:#dce5ed;box-shadow:none}
.account-toolbar button.header-entrypoint-button:hover:not(:disabled){background:#f4f8fc;border-color:#b8cde0}
.account-menu{position:relative;flex:none;margin:0;padding:0;border:0;background:transparent}
.account-trigger{list-style:none;display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 0 8px 10px;border-radius:8px;cursor:pointer;user-select:none}
.account-trigger::-webkit-details-marker{display:none}
.account-trigger::marker{content:""}
.account-trigger:hover{background:#f5f8fb}
.account-trigger:focus-visible{outline:3px solid #86c1f1;outline-offset:3px}
.account-avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border:1px solid #dce8f6;border-radius:10px;background:#edf4fd;color:#2163a7;font-size:13px;font-weight:700}
.account-identity{display:flex;flex-direction:column;gap:4px;min-width:44px;max-width:140px}
#account-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;line-height:1.25;color:#29465c}
#account-role{display:block;font-size:11px;line-height:1.2;color:#8a9ba9;font-weight:400;white-space:nowrap}
.account-toolbar .account-chevron{width:14px;height:14px;margin:0 1px 0 3px;color:#8396a5;transition:transform .15s}
.account-menu[open] .account-chevron{transform:rotate(180deg)}
.account-panel{position:absolute;right:0;top:calc(100% + 5px);z-index:80;width:218px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;padding:8px;border:1px solid #dde6ee;border-radius:11px;background:#fff;box-shadow:0 12px 38px #1838511c,0 2px 6px #1838510a}
.account-menu:not([open])>.account-panel{display:none}
.account-panel-caption{margin:3px 9px 7px;color:#91a1ae;font-size:10px;font-weight:500;letter-spacing:.3px;line-height:1.5}
button.account-panel-action{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:39px;border:0;border-radius:6px;padding:9px 10px;text-align:left;background:transparent;color:#476378;font-size:12px;font-weight:450;line-height:1.45;box-shadow:none}
button.account-panel-action:hover:not(:disabled){background:#f1f6fb;color:#235c91}
.account-panel-action svg{width:16px;height:16px;color:#8197a9;stroke-width:1.45}
.account-panel-divider{height:1px;margin:7px 3px;background:#edf1f5}
button.account-signout{color:#b34a59}
button.account-signout:hover:not(:disabled){background:#fff3f4;color:#a93245}
.account-signout svg{color:#b66d78}
@media(max-width:850px){.topbar{min-height:66px;gap:12px;padding-top:0;padding-bottom:0}.account.account-toolbar{width:auto;justify-content:flex-end;margin-left:auto;gap:10px}.account-trigger{min-height:56px;padding-left:5px}}
@media(max-width:550px){.topbar{min-height:64px;flex-wrap:wrap;padding:8px 16px;row-gap:4px}.topbar>div:first-child{font-size:12px;color:#647e92}.account.account-toolbar{width:auto;max-width:100%;gap:8px}.account-trigger{min-height:44px;padding:4px 0 4px 4px;gap:7px}.account-avatar{width:30px;height:30px;border-radius:9px;font-size:12px}.account-identity{max-width:83px;min-width:0;gap:3px}#account-name{font-size:12px}#account-role{font-size:10px}.account-toolbar .account-chevron{margin-left:0}.account-toolbar button.header-entrypoint-button{min-height:34px;padding:7px 9px;font-size:11px;gap:6px}.header-entrypoint-button svg{width:15px;height:15px}.account-panel{top:calc(100% + 9px);width:214px}}
