.account-menu{position:relative;flex:none;color:var(--text,#263126);text-align:left}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu .account-menu-trigger{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;border:1px solid transparent;border-radius:24px;padding:4px 8px 4px 4px;background:transparent;user-select:none}
.account-menu[open] .account-menu-trigger,.account-menu .account-menu-trigger:hover{background:var(--surface-2,#edf0e8);border-color:var(--border,#dce0d6)}
.account-menu .account-avatar{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:var(--brand-tint);color:var(--brand-green);font-size:16px;font-weight:600;overflow:hidden}
.account-avatar img{width:100%;height:100%;object-fit:cover}
.account-trigger-copy{display:flex;flex-direction:column;gap:2px;max-width:150px;line-height:1.25}.account-trigger-copy strong{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-trigger-copy small{font-size:10px;color:var(--text-muted,#6c7467)}.account-chevron{font-size:15px;color:var(--text-muted,#6c7467)}
.account-menu .account-popover{position:absolute;right:0;top:calc(100% + 12px);width:338px;max-width:calc(100vw - 24px);z-index:1000;background:var(--card,#fffefa);border:1px solid var(--border,#dce0d6);border-radius:14px;box-shadow:var(--brand-shadow-raised);overflow:hidden;line-height:1.4}
body:has(.account-menu[open]) .topbar,body:has(.account-menu[open]) .entry-header{z-index:1001;overflow:visible}
.account-menu-title{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--border,#dce0d6);font-size:16px;font-weight:600}
.account-menu .account-menu-title button{border:0;background:transparent;color:inherit;cursor:pointer;font-size:24px;line-height:1;padding:0 4px;min-height:24px;width:auto}
.account-identity{padding:17px 18px 13px;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}.account-identity strong{font-size:13px;font-weight:600}.account-identity span{font-size:12px;color:var(--text-muted,#6c7467)}
.account-menu-scroll{max-height:min(390px,calc(100dvh - 340px));overflow-y:auto;overscroll-behavior:contain}.account-menu-label{padding:7px 18px;font-size:11px;font-weight:600;color:var(--text-muted,#6c7467)}.account-team-label{border-top:1px solid var(--border,#dce0d6);margin-top:8px;padding-top:15px}
.account-menu form{margin:0;padding:0;display:block;width:100%}
body .account-menu .account-option{display:flex;align-items:center;gap:12px;width:100%;min-height:72px;padding:12px 18px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;white-space:normal}
body .account-menu .account-option:hover,body .account-menu .account-option.is-current{background:var(--surface-2,#edf0e8)}
.account-role-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;font-size:18px;font-weight:500}.account-role-icon.owner{background:var(--brand-tint);color:var(--brand-green)}.account-role-icon.tenant{background:var(--brand-tint);color:var(--brand-green)}.account-role-icon.team{background:var(--brand-info-bg);color:var(--brand-info)}.account-role-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.account-option-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.account-option-copy strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.account-option-copy small{font-size:11px;color:var(--text-muted,#6c7467);line-height:1.4}.account-check{font-size:22px;margin-left:2px}.account-menu-empty{padding:12px 18px;font-size:12px}
.account-menu-footer{border-top:1px solid var(--border,#dce0d6);padding:8px 0 0}.account-menu .account-menu-footer a,.account-menu .account-menu-footer button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 20px!important;margin:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;text-decoration:none;font:inherit;font-size:12px!important;cursor:pointer;min-height:38px}
.account-menu .account-menu-footer a:hover,.account-menu .account-menu-footer button:hover{background:var(--surface-2,#edf0e8)!important}.account-menu-footer a span,.account-menu-footer button span{width:22px;font-size:19px;text-align:center}.account-menu-footer>small{display:block;padding:9px 20px 12px;font-size:10px;color:var(--text-muted,#6c7467)}.account-menu :focus-visible{outline:2px solid var(--brand-focus);outline-offset:-3px}
@media(max-width:600px){.account-trigger-copy,.account-chevron{display:none}.account-menu .account-menu-trigger{padding:3px}.account-menu .account-popover{position:fixed;right:12px;top:76px;width:338px}.account-menu-scroll{max-height:calc(100dvh - 355px)}.account-menu .account-avatar{width:32px;height:32px}}
