#signed-in-account {
  position:relative; display:flex; align-items:stretch; min-width:0;
  border:1px solid #cbd7e6; border-radius:24px; color:#173b65; background:#fff;
}
#self-open {
  display:flex; align-items:center; min-width:0; min-height:44px; gap:8px;
  padding:4px 8px 4px 4px; border-radius:24px 0 0 24px; color:inherit; text-decoration:none;
}
#account-options { flex:none; }
#account-options summary {
  display:grid; place-items:center; min-width:44px; height:100%; min-height:44px; padding:0;
  border-left:1px solid #dce5ed; border-radius:0 24px 24px 0; cursor:pointer; list-style:none;
}
#account-options summary::-webkit-details-marker { display:none; }
#self-open[href]:hover,#account-options summary:hover,#account-options[open] summary,#account-identity[href]:hover { background:#eff4f8; }
#signed-in-account :is(a[href],summary,button):focus-visible { outline:3px solid #2876e4; outline-offset:-3px; }
#account-options[open] .account-chevron { transform:rotate(180deg); }
.account-avatar {
  display: grid; place-items: center; min-width: 34px; height: 34px;
  background: #e5eef8; border-radius: 50%; font-size: .88rem; font-weight: 700;
}
.account-short { max-width: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.account-panel {
  position: absolute; z-index: 81; right: 0; top: calc(100% + 8px);
  width: max-content; max-width: min(20rem, calc(100vw - 32px)); padding: 12px 16px;
  border: 1px solid #cfdae7; border-radius: 12px; box-shadow: 0 8px 24px #10254120;
  background: white; color: #102541; font-size: .88rem; overflow-wrap: anywhere;
}
.account-panel span { display: block; color: #566a82; font-size: .78rem; margin-bottom: 3px; }
#signed-in-account .account-panel { width: 18rem; box-sizing: border-box; padding: 16px; }
.self-person { display:flex; align-items:center; gap:12px; min-width:0; }
#account-identity { color:inherit; text-decoration:none; border-radius:8px; }
.self-person > div { min-width:0; }
.self-person strong,.self-person h2 { display:block; line-height:1.3; overflow-wrap:anywhere; }
.self-person small { display:block; margin-top:3px; color:#556980; }
#signed-in-account .self-avatar,.self-avatar { display:grid; place-items:center; flex:none; width:46px; height:46px; border-radius:50%; background:#e0edf0; color:#135661; font-size:1rem; font-weight:750; margin:0; }
.account-avatar { width:34px; flex:none; }
.self-avatar,.account-avatar { overflow:hidden; }
.self-avatar img,.account-avatar img { width:100%; height:100%; object-fit:cover; object-position:50% 30%; }
.self-account-info { margin:12px 0 6px; padding-bottom:12px; border-bottom:1px solid #dbe4ec; }
#signed-in-account .self-account-info span { color:#20354c; font-size:.9rem; }
.self-account-info small { color:#52677d; }
#signed-in-account .account-panel button { display:block; text-align:left; box-sizing:border-box; width:100%; background:transparent; border:0; padding:10px 8px; border-radius:8px; color:#173956; font:inherit; font-weight:600; text-decoration:none; cursor:pointer; }
#signed-in-account .account-panel button { color:#a13d3b; }
#signed-in-account .account-panel button:hover { background:#eff4f8; }
#signed-in-account [hidden],#my-profile [hidden] { display:none!important; }
#my-profile { max-width:760px; margin:0 0 24px; background:#fff; color:#152b42; border:1px solid #d5e1eb; border-radius:16px; overflow:hidden; }
#my-profile .self-head { padding:22px 24px 16px; }
.self-head .self-avatar { width:56px; height:56px; }
#my-profile h2 { font-size:1.25rem; color:#142e47; margin:0; }
.self-readonly { white-space:nowrap; margin-left:auto; border-radius:20px; padding:5px 10px; font-size:.78rem; font-weight:650; background:#ebf5f3; color:#28635e; }
.self-tabs { display:flex; flex-wrap:wrap; gap:2px; border-bottom:1px solid #dce5ec; padding:0 20px; }
#my-profile .self-tabs button { color:#52647a; background:transparent; border:0; border-bottom:3px solid transparent; border-radius:0; padding:12px 8px 10px; font:inherit; font-size:.85rem; }
#my-profile .self-tabs button[aria-pressed=true] { color:#143e66; border-bottom-color:#246391; font-weight:700; }
#my-profile dl,.self-docs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 25px; margin:0; }
#self-content:not(:empty) { padding:20px 24px; }
#my-profile dt,.self-docs figcaption { color:#50657a; font-size:.8rem; margin:0 0 4px; }
#my-profile dd { margin:0; font-weight:650; overflow-wrap:anywhere; }
#my-profile dd.self-empty { color:#667789; font-weight:400; }
#self-status:not(:empty),#self-retry { margin:12px 24px; }
#self-status:empty { margin:0; }
.self-docs { margin-top:22px; }
.self-docs figure { margin:0; }
.self-docs figure div { display:grid; place-items:center; aspect-ratio:1.6; border-radius:9px; background:#eff3f6; color:#667789; font-size:.8rem; }
.self-docs img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
#my-profile footer { padding:14px 24px; border-top:1px solid #dce5ec; background:#f7f9fb; color:#50657a; font-size:.84rem; }
@media(max-width:540px) {
  #my-profile .self-head,#self-content:not(:empty),#my-profile footer { padding:16px; }
  .self-tabs { padding:0 8px; }
  #my-profile .self-tabs button { padding-inline:6px; }
  #my-profile dl,.self-docs { gap:13px; }
  .self-head .self-avatar { width:42px; height:42px; }
}

#account-bar {
  position:sticky; top:0; z-index:65; display:flex; justify-content:flex-end; align-items:center;
  gap:8px; padding:8px 0; margin-bottom:10px; background:#09111e;
}
body.employee-mode #account-bar { background:#fff; }
#account-bar[hidden],#account-bar [hidden] { display:none!important; }
#account-bar #notifications-host { position:static; }
#account-bar #workspace-switch { min-width:0; text-align:center; text-decoration:none; }
#account-bar #signed-in-account { min-width:0; }
#signed-in-account .account-short { display:block; font-weight:650; min-width:0; }
.account-chevron { width:14px; height:14px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; }
#account-bar .notification-panel[data-origin="header"] { top:100%; right:0; }
#account-bar :is(.account-panel,.notification-panel) { max-height:calc(100dvh - 90px); overflow-y:auto; }
@media(max-width:740px) {
  body:has(#account-bar:not([hidden])) .side { position:relative; }
  #account-bar { gap:6px; }
  #account-bar #workspace-switch { font-size:.82rem; padding:8px 9px; }
  #signed-in-account .account-short { max-width:clamp(3rem,20vw,8rem); }
}
