/* The account overview uses the same permission-aware actions as the host menu. */
.account-workspace { height:100%;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:auto;background:#f6f7fa;color:#111c35;font-family:inherit; }
.account-workspace,.account-workspace * { box-sizing:border-box; }
.account-workspace[hidden] { display:none!important; }
.account-workspace-layout { width:100%;max-width:920px;margin:0 auto;padding:24px 22px 20px; }
.account-workspace button { font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent; }
.account-workspace button:disabled { cursor:wait;opacity:.65; }
.account-workspace button:focus-visible { outline:2px solid #2563eb;outline-offset:3px;position:relative;z-index:1; }
.account-workspace-card { overflow:hidden;border:1px solid #e5e8ef;border-radius:15px;background:#fff; }
.account-workspace-profile { display:flex;align-items:center;gap:16px;width:100%;padding:22px;text-align:left;color:inherit; }
.account-workspace-avatar { position:relative;display:flex;align-items:center;justify-content:center;width:64px;height:64px;flex-shrink:0;overflow:hidden;border-radius:50%;background:#111c35;color:#fff;font-size:25px;font-weight:600; }
.account-workspace-avatar-image { position:absolute;inset:0;width:100%;height:100%;object-fit:cover; }
.account-workspace-avatar-text[hidden] { display:none; }
.account-workspace-profile-details { display:flex;flex:1;flex-direction:column;gap:5px;min-width:0;line-height:1.5;overflow-wrap:anywhere; }
.account-workspace-name { font-size:20px;font-weight:650; }
.account-workspace-user-id { color:#66758c;font-size:14px; }
.account-workspace-company { color:#768196;font-size:13px; }
.account-workspace-icon { display:block;width:23px;height:23px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round; }
.account-workspace-image-icon { object-fit:contain; }
.account-workspace-profile > .account-workspace-icon,.account-workspace-row > .account-workspace-icon:last-child { width:17px;height:17px;color:#8993a3; }
.account-workspace-groups { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px;align-items:start;margin-top:24px; }
.account-workspace-group { min-width:0; }
.account-workspace-group-title { margin:0 0 8px;padding:0 5px;color:#748094;font-size:13px;font-weight:500;line-height:1.5; }
.account-workspace-row { position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:61px;border:0;padding:15px 18px;background:#fff;color:#34425a;text-align:left; }
.account-workspace-row + .account-workspace-row::before { content:"";position:absolute;left:18px;right:18px;top:0;border-top:1px solid #edf0f5; }
.account-workspace-row-label { flex:1;min-width:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere; }
.account-workspace-profile:hover,.account-workspace-row:hover { background:#fafbfe; }
.account-workspace-logout { display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin-top:24px;padding:12px 20px;border:1px solid #e5e8ef;border-radius:12px;background:#fff;color:#a43737;font-size:15px; }
.account-workspace-logout:hover { background:#fffafa; }
.account-workspace-logout .account-workspace-icon { width:19px;height:19px; }
.account-workspace-status { margin:10px 0 0;text-align:center;color:#8e3c3c;font-size:13px;line-height:1.5; }
.account-workspace-status:empty { display:none; }
.account-workspace-empty { margin:0;padding:32px 15px;text-align:center;color:#748094;font-size:14px; }
@media(max-width:768px) {
 .account-workspace-layout { padding:14px 10px 18px; }
 .account-workspace-profile { padding:20px 16px;gap:13px; }
 .account-workspace-avatar { width:55px;height:55px;font-size:23px; }
 .account-workspace-name { font-size:19px; }
 .account-workspace-user-id { font-size:13px; }
 .account-workspace-groups { grid-template-columns:minmax(0,1fr);gap:18px;margin-top:20px; }
 .account-workspace-row { min-height:58px;padding:14px 16px; }
 .account-workspace-row + .account-workspace-row::before { left:16px;right:16px; }
 .account-workspace-logout { margin-top:20px; }
}
