html[data-private-account="locked"] .workspace-ui .view:not(#home),html[data-private-account="locked"] .workspace-ui #voice-studio,html[data-private-account="locked"] .workspace-ui #voice-advanced{display:none!important}
html body.workspace-ui .account-entry-button{background:#f4f4f4!important;color:#111!important;white-space:nowrap;border:1px solid #aaa;border-radius:7px;padding:10px 14px;min-height:42px;font:600 12px system-ui;cursor:pointer;flex-shrink:0}
html body.workspace-ui #account-panel{padding:22px 0;margin:0 0 32px;border-block:1px solid #333;color:#eee;text-align:left}
html body.workspace-ui #account-panel h2{font:400 25px/1.3 Georgia,serif;color:#f2f2f2;margin:0 0 12px}
html body.workspace-ui #account-panel p{color:#bdbdbd;font:13px/1.7 system-ui;margin:8px 0 14px;max-width:740px}
html body.workspace-ui #account-panel button{background:#151515;color:#f5f5f5;border:1px solid #555;border-radius:7px;min-height:42px;padding:10px 15px;margin:5px 8px 5px 0;cursor:pointer;font:13px/1.4 system-ui}
html body.workspace-ui #account-panel button:disabled{opacity:.45;cursor:default}
html body.workspace-ui dialog#account-dialog{background:#111!important;color:#f4f4f4!important;border:1px solid #555!important;border-radius:14px!important;width:min(460px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:32px;box-sizing:border-box;font:14px/1.6 system-ui;text-align:left}
#account-dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}
html body.workspace-ui #account-dialog h2{font:400 28px/1.2 Georgia,serif;color:#fff;margin:8px 30px 16px 0}
html body.workspace-ui #account-dialog p{color:#bdbdbd;line-height:1.7}
html body.workspace-ui #account-dialog label{display:block;margin:18px 0;color:#ddd}
html body.workspace-ui #account-dialog input{display:block;box-sizing:border-box;width:100%;margin-top:7px;min-height:46px;padding:10px;background:#090909!important;color:#fff!important;border:1px solid #777!important;font:16px/1.4 system-ui;border-radius:6px}
html body.workspace-ui #account-dialog button{cursor:pointer;min-height:42px;padding:10px 14px;border-radius:6px;background:#191919;color:#fff;border:1px solid #555;font:14px/1.4 system-ui}
html body.workspace-ui #account-dialog button.account-primary{width:100%;background:#f3f3f3;color:#111;border:0;margin-top:8px;font-weight:600}
#account-dialog .account-close{position:absolute;top:12px;right:12px;font-size:24px}
#account-dialog [data-account-error]{color:#ffb7a6!important;min-height:22px;overflow-wrap:anywhere}
#account-dialog [hidden]{display:none!important}
#account-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;user-select:all;background:#222;padding:14px;border:1px solid #666;color:#fff}
#account-dialog .account-switches{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:760px){html body.workspace-ui .app-header{flex-wrap:wrap;height:auto!important;min-height:88px!important;padding-block:14px!important;gap:10px!important}html body.workspace-ui .account-entry-button{margin-left:auto;font-size:11px;padding-inline:10px}html body.workspace-ui #account-panel h2{font-size:23px}html body.workspace-ui dialog#account-dialog{padding:24px}}

/* Account management stays out of the homepage, opened only by My account. */
html body.workspace-ui dialog#account-panel{width:min(560px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;margin:auto;padding:28px;border:1px solid #444;border-radius:14px;background:#111;color:#eee}
html body.workspace-ui dialog#account-panel:not([open]){display:none!important}
#account-panel::backdrop{background:#000b;backdrop-filter:blur(8px)}
html body.workspace-ui #account-panel .account-panel-close{display:block;margin:0 0 16px auto;min-height:38px}

/* Minimal account menu: actions only; errors appear when needed. */
html body.workspace-ui dialog#account-panel{position:relative;width:min(400px,calc(100vw - 32px));padding:28px}
html body.workspace-ui #account-panel [hidden]{display:none!important}
html body.workspace-ui #account-panel .account-panel-close{position:absolute;right:14px;top:12px;display:grid;place-items:center;width:38px;min-height:38px;padding:0;border:0;background:transparent;font-size:25px;margin:0}
html body.workspace-ui #account-panel h2{font:500 23px/1.3 system-ui;margin:4px 44px 24px 0}
html body.workspace-ui #account-panel>button:not(.account-panel-close){display:block;width:100%;margin:0;padding:15px 0;min-height:50px;text-align:left;border:0;border-top:1px solid #333;border-radius:0;background:transparent}
html body.workspace-ui #account-panel p:empty,html body.workspace-ui #account-dialog [data-account-error]:empty{display:none}
html body.workspace-ui #account-dialog .account-switches button{border:0;background:transparent;padding:8px 0;font-size:13px}
html body.workspace-ui #account-dialog .account-switches{justify-content:space-between;margin-top:12px}

/* White account card with a private, local initial avatar. */
html body.workspace-ui dialog#account-panel{background:#fff!important;color:#202521!important;border:1px solid #e8ebe6!important;border-radius:24px!important;width:min(420px,calc(100vw - 32px));padding:30px!important;box-shadow:0 24px 90px #0005}
html body.workspace-ui #account-panel h2{color:#202521!important;font:500 15px/1.4 system-ui;margin:0 44px 28px 0}
html body.workspace-ui #account-panel .account-panel-close{color:#697267!important;background:#f3f5f1!important;border:0!important;border-radius:50%;width:34px;min-height:34px;top:18px;right:18px;font-size:23px}
html body.workspace-ui #account-panel .account-panel-close:focus-visible{outline:2px solid #64765e;outline-offset:3px}
html body.workspace-ui #account-panel .account-profile{display:flex;align-items:center;gap:16px;margin:0 0 28px}
html body.workspace-ui #account-panel .account-avatar{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;border-radius:50%;background:#edf1e8;color:#465642;font:400 29px/1 Georgia,serif;border:1px solid #e2e8db}
html body.workspace-ui #account-panel .account-identity{min-width:0;display:grid;gap:6px}
html body.workspace-ui #account-panel .account-display-name{font:600 21px/1.4 system-ui;color:#202521;overflow-wrap:anywhere}
html body.workspace-ui #account-panel .account-identity>span{font:12px/1.4 system-ui;color:#7c847a}
html body.workspace-ui #account-panel>button:not(.account-panel-close){color:#30392e!important;background:transparent!important;border-top:1px solid #e8ece4!important;min-height:54px;padding:17px 2px;font-size:14px}
html body.workspace-ui #account-panel>button:not(.account-panel-close):hover{background:#f6f8f3!important}
html body.workspace-ui #account-panel p{color:#66705f!important}

/* Finished illustration avatars replace letter placeholders. */
html body.workspace-ui #account-panel .account-avatar{flex:0 0 84px!important;width:84px!important;height:84px!important;overflow:hidden!important;border:2px solid #fff!important;box-shadow:0 3px 14px #293d2421!important;background:#e6ecdf!important;box-sizing:border-box!important}
html body.workspace-ui #account-panel .account-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:50%!important}
