html[data-theme] body.modern-workspace #dashboardOverview>.workspaceAccountCenter{display:none}
html[data-theme] body.modern-workspace #dashboardOverview[data-workspace-section=account]>.workspaceAccountCenter{display:grid;gap:18px;order:4;width:100%;max-width:1200px;margin:0 auto;min-width:0}
html[data-theme] body.modern-workspace #profile-panel[data-journal-only=true] .workspaceAccountCenter{display:none!important}
html[data-theme] body.modern-workspace #dashboardOverview .accountIdentity{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:26px;background:linear-gradient(115deg,var(--desk-soft),var(--desk-panel) 70%);border:1px solid var(--desk-line);border-radius:15px}
.accountAvatar{display:grid;place-items:center;flex:none;width:68px;height:68px;border:1px solid var(--desk-line);border-radius:19px;background:var(--desk-panel);color:var(--desk-accent);font-size:23px;font-weight:700;letter-spacing:-.04em}
.accountIdentityCopy{flex:1;min-width:0}.accountEyebrow{font-size:10px;font-weight:600;letter-spacing:.13em;color:var(--desk-muted)}
html[data-theme] body #dashboardOverview .accountIdentity h2{font-size:27px;margin:7px 0 4px;letter-spacing:-.04em;color:var(--desk-ink);overflow-wrap:anywhere}
.accountEmail{margin:0 0 10px;color:var(--desk-muted);font-size:13px;overflow-wrap:anywhere}
.accountVerification{display:inline-flex;border-radius:6px;padding:4px 8px;background:var(--desk-control);color:var(--desk-muted);font-size:11px}
.accountVerification.is-confirmed{background:#dff2e9;color:#176449}
html[data-theme=dark] .accountVerification.is-confirmed{background:var(--state-success-bg);color:var(--state-success-ink)}
.accountMeta{display:grid;gap:5px;padding-left:22px;border-left:1px solid var(--desk-line);color:var(--desk-ink);font-size:13px}.accountMeta>span{color:var(--desk-muted);font-size:11px}
.accountSettingsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
html[data-theme] body.modern-workspace #dashboardOverview .accountSettingsCard{padding:22px;border-radius:13px;min-width:0;margin:0;width:100%;height:auto;max-height:none}
html[data-theme] body.modern-workspace #dashboardOverview .accountSettingsCard h3{font-size:18px;letter-spacing:-.025em;margin:8px 0 14px;color:var(--desk-ink)}
.accountDescription{font-size:13px;line-height:1.7;color:var(--desk-muted);margin:0 0 17px}
.accountActions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
html[data-theme] body #dashboardOverview .accountActions button{min-height:39px;padding:9px 12px;border-radius:8px;font-size:12px}
html[data-theme] body #dashboardOverview .accountActionLink{display:inline-flex;align-items:center;min-height:36px;padding:8px 0;color:var(--desk-accent);font-size:12px;font-weight:600;text-decoration:none}
.accountActionStatus{font-size:12px;line-height:1.6;color:var(--desk-accent);margin:10px 0 0}.accountActionStatus:empty{display:none}.accountActionStatus.is-error{color:#a3384d}html[data-theme=dark] .accountActionStatus.is-error{color:var(--state-error-ink)}
.accountIdDetails,.accountHelpDetails{margin-top:16px;padding-top:12px;border-top:1px solid var(--desk-line);font-size:12px;color:var(--desk-muted)}
.accountIdDetails>summary,.accountHelpDetails>summary{padding:5px 0;cursor:pointer;line-height:1.6}
html[data-theme] body #dashboardOverview .accountIdDetails input{width:100%;margin:9px 0;font-size:12px;box-sizing:border-box;overflow-wrap:anywhere}
html[data-theme] body #dashboardOverview .accountIdDetails button{padding:7px 10px;font-size:11px;min-height:34px}
.accountPreferenceRow{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:15px 0;border-top:1px solid var(--desk-line)}
.accountPreferenceRow>div>strong{font-size:13px;color:var(--desk-ink)}.accountPreferenceHint{display:block;font-size:12px;color:var(--desk-muted);margin-top:4px}
html[data-theme] body #dashboardOverview .accountPreferenceRow button{font-size:12px;padding:8px 11px;min-height:38px;border-radius:8px}
.accountLanguages{display:flex;gap:7px}.accountLanguages a{padding:7px 9px;border-radius:7px;border:1px solid var(--desk-line);font-size:12px;color:var(--desk-muted);text-decoration:none}.accountLanguages a[aria-current]{background:var(--desk-soft);color:var(--desk-accent);border-color:var(--desk-accent)}
.accountHelpDetails p{font-size:12px;line-height:1.7;color:var(--desk-muted);margin:9px 0}
html[data-theme] body.modern-workspace #dashboardOverview .accountSettingsGrid .uid-card #uid-form{display:grid;grid-template-columns:1fr;gap:9px}
html[data-theme] body.modern-workspace #dashboardOverview .accountSettingsGrid .uid-card :is(.fine,label){font-size:12px;line-height:1.6;color:var(--desk-muted)}
html[data-theme] body.modern-workspace #dashboardOverview .accountSettingsGrid .uid-card input{width:100%;box-sizing:border-box;min-height:40px;font-size:14px}
html[data-theme] body.modern-workspace #dashboardOverview .accountSettingsGrid .uid-card button.primary{justify-self:start;min-height:38px;padding:9px 13px;border-radius:8px;font-size:12px}
html[data-theme] body.modern-workspace #dashboardOverview .workspaceAccountCenter .accountMarketSummary{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:16px;margin:0}
@media(max-width:700px){.accountSettingsGrid{grid-template-columns:1fr;gap:12px}html[data-theme] body.modern-workspace #dashboardOverview .accountIdentity{padding:18px;gap:14px}.accountAvatar{width:53px;height:53px;border-radius:15px;font-size:19px}.accountMeta{width:100%;padding:12px 0 0;border-left:0;border-top:1px solid var(--desk-line);display:flex;justify-content:space-between;gap:10px}html[data-theme] body #dashboardOverview .accountIdentity h2{font-size:23px}html[data-theme] body.modern-workspace #dashboardOverview .accountSettingsCard{padding:18px}html[data-theme] body.modern-workspace #dashboardOverview .workspaceAccountCenter .accountMarketSummary{grid-template-columns:1fr}html[data-theme] body #dashboardOverview .accountActions button{min-height:44px}.accountActions .accountActionLink{min-height:44px}}
html[data-theme] body #dashboardOverview .accountActionStatus{color:var(--desk-accent)}
html[data-theme] body #dashboardOverview .accountActionStatus.is-error{color:#a3384d}
html[data-theme=dark] body #dashboardOverview .accountActionStatus.is-error{color:var(--state-error-ink)}
/* A compact account page: profile, membership, then a single settings list. */
html[data-theme] body.modern-workspace #dashboardOverview[data-workspace-section=account]>.workspaceAccountCenter{max-width:880px;gap:16px}
html[data-theme] body.modern-workspace #dashboardOverview .accountIdentity{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:4px 15px;padding:19px 22px;border-radius:12px;background:var(--desk-panel)}
html[data-theme] body.modern-workspace #dashboardOverview .accountAvatar{width:48px;height:48px;border-radius:13px;font-size:20px;grid-row:1/3;align-self:start;margin-top:4px}
html[data-theme] body #dashboardOverview .accountIdentity h2{font-size:22px;margin:4px 0;line-height:1.3}
html[data-theme] body #dashboardOverview .accountEmail{font-size:12px;margin:0 0 7px}
html[data-theme] body #dashboardOverview .accountVerification{font-size:10px;padding:3px 7px}
html[data-theme] body #dashboardOverview .accountMeta{grid-column:2;display:flex;align-items:baseline;gap:6px;padding:2px 0 0;border:0;width:auto;font-size:11px}
html[data-theme] body #dashboardOverview .accountMeta>span{font-size:11px}
.accountSettingsStack{display:flex;flex-direction:column;gap:18px;min-width:0}
html[data-theme] body.modern-workspace #dashboardOverview .accountSubscription{padding:19px 22px;border-radius:12px;background:linear-gradient(110deg,var(--desk-soft),var(--desk-panel) 70%)}
html[data-theme] body.modern-workspace #dashboardOverview .accountSubscription>h3{font-size:17px;margin:6px 0 13px}
html[data-theme] body #dashboardOverview .accountSubscription .access-item{padding:0;border:0;background:transparent;box-shadow:none}
html[data-theme] body #dashboardOverview .accountSubscription .access-item-heading{align-items:center;gap:12px}
html[data-theme] body #dashboardOverview .accountSubscription .access-item-heading strong{font-size:14px;line-height:1.5}
html[data-theme] body #dashboardOverview .accountSubscription .access-item .fine{font-size:12px;line-height:1.7;margin:6px 0}
html[data-theme] body #dashboardOverview .accountSubscription .accountActionLink{font-size:12px;padding:6px 0 0;min-height:30px}
.accountSettingsList{border:1px solid var(--desk-line);border-radius:12px;background:var(--desk-panel);overflow:hidden}
html[data-theme] body.modern-workspace #dashboardOverview .accountSettingsList>.accountSettingsFold{display:block;margin:0;padding:0;border:0;border-bottom:1px solid var(--desk-line);border-radius:0;background:transparent;box-shadow:none;width:100%;height:auto}
html[data-theme] body.modern-workspace #dashboardOverview .accountSettingsList>.accountSettingsFold:last-child{border-bottom:0}
html[data-theme] body #dashboardOverview .accountSettingsFold>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none;padding:17px 21px;min-height:72px;cursor:pointer;margin:0}
.accountSettingsFold>summary::-webkit-details-marker{display:none}
html[data-theme] body #dashboardOverview .accountSettingsFold>summary:after{content:'+';font-size:22px;font-weight:400;color:var(--desk-muted);flex:none;line-height:1}
html[data-theme] body #dashboardOverview .accountSettingsFold[open]>summary:after{content:'−';color:var(--desk-accent)}
html[data-theme] body #dashboardOverview .accountSettingsFold[open]>summary{background:var(--desk-soft)}
html[data-theme] body #dashboardOverview .accountSettingLabel :is(strong,h3){display:block;font-size:14px;line-height:1.5;letter-spacing:0;color:var(--desk-ink);margin:0;font-weight:600}
html[data-theme] body #dashboardOverview .accountSettingLabel>span{display:block;font-size:12px;color:var(--desk-muted);margin-top:3px;line-height:1.5}
html[data-theme] body #dashboardOverview .accountFoldBody{padding:16px 21px 20px;min-width:0}
html[data-theme] body.modern-workspace #dashboardOverview .accountFoldSource{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;width:100%;height:auto;max-height:none}
html[data-theme] body #dashboardOverview .accountFoldBody .accountDescription{font-size:13px;line-height:1.65;max-width:650px;margin:0 0 14px}
html[data-theme] body #dashboardOverview .accountFoldBody .accountPreferenceRow:first-child{border-top:0;padding-top:0}
html[data-theme] body #dashboardOverview .accountFoldBody .accountPreferenceRow:last-child{padding-bottom:0}
html[data-theme] body #dashboardOverview .accountFoldBody .quick-links{margin-top:10px}
html[data-theme] body #dashboardOverview .accountFoldBody .quick-links a{font-size:12px;background:transparent;border:0;padding:9px 0}
html[data-theme] body #dashboardOverview .accountMarketExtras{margin:0;border-top:1px solid var(--desk-line);padding-top:5px;font-size:12px;color:var(--desk-muted)}
html[data-theme] body #dashboardOverview .accountMarketExtras>summary{cursor:pointer;padding:10px 0;min-height:36px}
html[data-theme] body.modern-workspace #dashboardOverview .workspaceAccountCenter .accountMarketSummary{grid-template-columns:minmax(0,1fr);margin-top:8px}
html[data-theme] body #dashboardOverview .accountMarketSummary .community-dashboard{padding:14px 18px;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
html[data-theme] body #dashboardOverview .accountMarketSummary .community-count{margin:0}
html[data-theme] body #dashboardOverview .accountMarketSummary .community-count strong{font-size:23px}
@media(max-width:700px){html[data-theme] body.modern-workspace #dashboardOverview .accountIdentity{padding:16px;gap:4px 12px;grid-template-columns:42px minmax(0,1fr)}html[data-theme] body.modern-workspace #dashboardOverview .accountAvatar{width:42px;height:42px;font-size:18px}html[data-theme] body.modern-workspace #dashboardOverview .accountSubscription{padding:16px}html[data-theme] body #dashboardOverview .accountSettingsFold>summary{padding:15px 16px;min-height:72px}html[data-theme] body #dashboardOverview .accountFoldBody{padding:15px 16px 18px}html[data-theme] body #dashboardOverview .accountIdentity h2{font-size:20px}html[data-theme] body #dashboardOverview .accountSubscription .access-item-heading{flex-wrap:wrap}}
/* UID entry remains a touch-friendly single column after moving into settings. */
html[data-theme] body.modern-workspace #dashboardOverview .workspaceAccountCenter #uid-form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;min-width:0}
html[data-theme] body.modern-workspace #dashboardOverview .workspaceAccountCenter #uid-form label{display:grid;gap:6px;min-width:0;font-size:12px}
html[data-theme] body.modern-workspace #dashboardOverview .workspaceAccountCenter #uid-form input{width:100%;min-width:0;min-height:44px;font-size:16px;box-sizing:border-box;touch-action:manipulation}
html[data-theme] body.modern-workspace #dashboardOverview .workspaceAccountCenter #uid-form button{justify-self:start;min-height:44px;padding:10px 14px;font-size:12px}
html[data-theme] body #dashboardOverview .workspaceAccountCenter .accountFoldBody [hidden]{display:none!important}
