/* Account/settings footer styled as one compact bottom card. */
#yap-tool-menu .yap-sidebar-footer{
 position:relative!important;display:flex!important;flex-direction:row!important;align-items:center!important;
 gap:0!important;padding:4px!important;margin-top:auto!important;
 min-height:62px;max-width:100%;box-sizing:border-box;
 border:1px solid var(--border)!important;border-radius:17px;
 background:color-mix(in srgb,var(--fg) 3%,var(--side));
}
#yap-tool-menu .yap-sidebar-footer #account-toggle{
 flex:1 1 auto!important;min-width:0!important;width:calc(100% - 54px)!important;
 max-width:calc(100% - 54px)!important;min-height:52px!important;
 padding:7px 5px 7px 7px!important;margin:0!important;
 border:0!important;background:transparent!important;text-align:left!important;
 display:flex!important;gap:9px!important;align-items:center;
}
#yap-tool-menu .yap-sidebar-footer .yap-account-identity{min-width:0;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}
#yap-tool-menu .yap-sidebar-footer .yap-account-name,#yap-tool-menu .yap-sidebar-footer .yap-account-meta{
 display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
#yap-tool-menu .yap-sidebar-footer .yap-account-chevron{display:none!important}
#yap-tool-menu .yap-sidebar-footer .yap-bottom-settings{
 order:2!important;position:static!important;flex:0 0 46px!important;width:46px!important;
 margin:0!important;padding:0!important;border:0!important;
}
#yap-tool-menu .yap-sidebar-footer .yap-bottom-settings>summary{
 display:grid!important;place-items:center!important;padding:0!important;
 width:42px!important;min-height:42px!important;max-width:42px!important;
 margin:0!important;border:0!important;border-radius:12px!important;
 font-size:0!important;cursor:pointer;background:transparent;
}
#yap-tool-menu .yap-sidebar-footer .yap-bottom-settings>summary::before{
 content:'⚙';font-size:20px;line-height:1;color:var(--fg);
}
#yap-tool-menu .yap-sidebar-footer .yap-bottom-settings>summary:hover,
#yap-tool-menu .yap-sidebar-footer .yap-bottom-settings[open]>summary{
 background:color-mix(in srgb,var(--fg) 9%,transparent)!important;
}
#yap-tool-menu .yap-sidebar-footer .yap-bottom-settings>.top-actions{
 position:absolute;bottom:calc(100% + 10px);left:0;right:0;z-index:99;
 max-height:min(55dvh,420px);overflow:auto;
 padding:10px!important;border:1px solid var(--border);border-radius:14px;
 background:var(--side);box-shadow:0 12px 28px #0005;
}
#yap-tool-menu .yap-sidebar-footer #account-panel{
 position:absolute;bottom:calc(100% + 10px);left:0;right:0;max-width:100%;z-index:100;
}
@media(max-width:700px){#yap-tool-menu .yap-sidebar-footer{margin-bottom:env(safe-area-inset-bottom)}}
