.profile-zone{display:grid!important;grid-template-columns:28px minmax(0,1fr) max-content;align-items:center;gap:6px;padding:14px 0!important}.profile-zone-actions{display:flex;align-items:center;gap:6px}.profile-zone .avatar{width:28px;height:28px;flex-shrink:0}.profile-zone-info{min-width:0}.profile-zone-info strong,.profile-zone-info small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-zone-info strong{font-size:11px}.profile-zone-info small{font-size:9px;color:var(--muted);margin-top:3px}.profile-zone .icon-button{width:26px;height:28px;min-width:26px;padding:5px;border-radius:6px;color:var(--muted)}.profile-zone .icon-button svg{width:16px;height:16px}.profile-zone .icon-button:hover{background:color-mix(in srgb,var(--scheme-accent,var(--green)) 10%,transparent);color:var(--ink)}.account-overlay{justify-content:flex-start}#siteSettingsOverlay .account-panel{width:min(480px,100%);padding:18px;border-left:0;border-right:1px solid var(--scheme-line,var(--brand-line));box-shadow:20px 0 80px #0003}:root.sidebar-collapsed .profile-zone{grid-template-columns:minmax(0,1fr);gap:2px;padding:14px 0!important}:root.sidebar-collapsed .profile-zone-actions{justify-content:center;flex-wrap:wrap;gap:2px}:root.sidebar-collapsed .profile-zone>.avatar,:root.sidebar-collapsed .profile-zone-info{display:none}:root.sidebar-collapsed .profile-zone .icon-button{width:22px;min-width:22px;padding:3px}:root[data-layout-effective="wide"] .profile-zone{display:flex!important;gap:3px;padding:0!important}:root[data-layout-effective="wide"] .profile-zone-actions{flex-wrap:nowrap;gap:3px}:root[data-layout-effective="wide"] .profile-zone>.avatar,:root[data-layout-effective="wide"] .profile-zone-info{display:none}
/* Existing site-settings density; account form is scoped in account.css. */
#siteSettingsOverlay .account-panel>header{margin-bottom:10px}#siteSettingsOverlay .account-panel h2{font-size:19px;margin:3px 0}#siteSettingsOverlay .account-panel h3{font-size:14px;margin:16px 0 10px}#siteSettingsOverlay .account-panel label{margin:10px 0;font-size:11px;gap:5px}#siteSettingsOverlay .account-panel .form-control{min-height:34px;height:34px}#siteSettingsOverlay .account-panel .theme-preset{height:34px}#siteSettingsOverlay .account-panel .account-tabs{margin:8px 0;padding:3px}#siteSettingsOverlay .account-panel .account-tabs button{padding:7px 10px;font-size:11px}#siteSettingsOverlay .account-panel .account-muted{font-size:11px;line-height:1.6}#siteSettingsOverlay .account-panel .account-password{padding:10px 0}#siteSettingsOverlay .account-panel form>footer{margin-top:16px;padding-top:12px;gap:8px}#siteSettingsOverlay .account-panel form>footer .button{min-height:32px;padding:7px 10px;font-size:11px}#siteSettingsOverlay .account-panel .layout-preset{padding:9px;gap:6px}#siteSettingsOverlay .account-panel .layout-mini{height:38px}#siteSettingsOverlay .account-panel .layout-preset strong{font-size:11px}#siteSettingsOverlay .account-panel .layout-preset small{font-size:9px}#siteSettingsOverlay .account-panel .account-user select{min-width:0;max-width:135px}
@media(min-width:561px) and (max-width:800px){.sidebar .profile-zone{grid-template-columns:minmax(0,1fr);gap:2px}.sidebar .profile-zone-actions{justify-content:center;flex-wrap:wrap;gap:2px}.sidebar .profile-zone>.avatar,.sidebar .profile-zone-info{display:none}.sidebar .profile-zone .icon-button{width:22px;min-width:22px;padding:3px}}
@media(max-width:560px){.sidebar .sidebar-bottom{display:block;margin:0;order:3}.sidebar .sidebar-bottom .help-card{display:none}.sidebar .profile-zone{display:flex!important;gap:3px;padding:0!important;border:0}.sidebar .profile-zone>.avatar,.sidebar .profile-zone-info{display:none}#siteSettingsOverlay .account-panel{padding:16px}#siteSettingsOverlay .account-panel .account-user{flex-wrap:wrap}#siteSettingsOverlay .account-panel .account-user>div{flex-basis:100%}}

