/* Account controls use the same cream panels and olive actions as Save/Open. */
#topStatusBar.account-menu { display:block; box-sizing:border-box; width:100%; min-width:0; padding:0; margin:0 0 9px; border:1px solid #bdc7a5; border-radius:13px; background:#fbfaf4; color:#293024; cursor:default; overflow:hidden; }
#topStatusBar.account-menu[hidden], #accountMenuPanel[hidden], #mapStatusMetadata[hidden], #accountInvoices[hidden], #openRecoveryButton[hidden] { display:none!important; }
#topStatusBar #loggedInAs { margin:0; padding:0; border:0; border-radius:0; background:transparent; text-align:left; }
#topStatusBar #accountMenuToggle { display:flex; align-items:center; gap:9px; box-sizing:border-box; width:100%; min-width:0; min-height:46px; margin:0; padding:10px 11px; border:0; border-radius:0; background:#edf0df; color:#303928; font:14px/1.4 Arial,sans-serif; text-align:left; cursor:pointer; }
#topStatusBar #accountMenuToggle:hover, #topStatusBar #accountMenuToggle[aria-expanded="true"] { background:#e3e9d3; }
#topStatusBar #accountMenuToggle[aria-expanded="true"] { font-weight:bold; }
#topStatusBar .account-menu-icon { flex:0 0 21px; width:21px; height:25px; }
#accountEmailPreview { flex:1 1 auto; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
#topStatusBar .account-menu-chevron { flex:0 0 7px; width:7px; height:7px; margin:-3px 2px 0 0; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); }
#topStatusBar [aria-expanded="true"] .account-menu-chevron { margin-top:3px; transform:rotate(225deg); }
#accountMenuPanel { padding:13px; border-top:1px solid #ced7bb; font:13px/1.4 Arial,sans-serif; }
#topStatusBar .account-menu-label { margin-bottom:3px; color:#6b705f; font-size:12px; }
#topStatusBar #loggedInEmail, #topStatusBar #invoiceLinks { width:auto; overflow:visible; overflow-wrap:anywhere; font-size:13px; }
#topStatusBar #loggedInEmail { margin-bottom:12px; font-weight:bold; }
#topStatusBar #loggedInEmail.has-team-label { margin-bottom:2px; }
#topStatusBar #accountTeamLabel { margin-bottom:12px; color:#606b56; font-size:12px; overflow-wrap:anywhere; }
#accountAccessActions { display:grid; gap:7px; margin-bottom:14px; }
#accountAccessActions:empty { display:none; }
#topStatusBar #accountAccessActions > :is(a,button) { position:relative; display:block; box-sizing:border-box; width:100%; min-height:44px; margin:0; padding:10px 30px 10px 13px; border:1px solid #a3b77c; border-radius:10px; background:#edf0df; color:#435b1e; font:700 14px/1.4 Arial,sans-serif; text-align:left; text-decoration:none; cursor:pointer; }
#topStatusBar #accountAccessActions > :is(a,button)::after { content:''; position:absolute; right:14px; top:calc(50% - 4px); width:7px; height:7px; border-top:2px solid currentColor; border-right:2px solid currentColor; transform:rotate(45deg); }
#topStatusBar #accountAccessActions > :is(a,button):hover { background:#dfe8ca; border-color:#607c25; }
#topStatusBar #accountAccessActions > #accountRenewAccess { background:#607c25; border-color:#607c25; color:#fff; }
#topStatusBar #accountAccessActions > #accountRenewAccess:hover { background:#4f681d; }
#topStatusBar #accountAccessActions > button:disabled { opacity:.65; cursor:wait; }
#accountInvoices { border-top:1px solid #dce1ce; padding-top:12px; margin-bottom:13px; }
#accountInvoices h3 { margin:0 0 8px; color:#4c583a; font:700 13px/1.4 Arial,sans-serif; }
#topStatusBar .account-invoice-list a { position:relative; display:block; box-sizing:border-box; margin:0 0 6px; padding:9px 38px 9px 10px; border:1px solid #d3dac5; border-radius:9px; background:#fff; color:#334a23; text-decoration:none; line-height:1.4; }
#topStatusBar .account-invoice-list a:hover { border-color:#829d55; background:#f5f8ef; }
#topStatusBar .account-invoice-list a::after { content:'PDF'; position:absolute; right:7px; top:10px; padding:2px 4px; border-radius:4px; background:#f8eae5; color:#98492f; font:700 9px/1.3 Arial,sans-serif; }
#topStatusBar .account-invoice-list strong { display:block; font-size:13px; }
#topStatusBar .account-invoice-list span { display:block; margin-top:2px; font-size:11px; color:#68705e; }
#topStatusBar .account-invoice-list summary { padding:5px 0; color:#536b30; cursor:pointer; font-size:12px; }
#topStatusBar #submitLogout { display:inline-flex; align-items:center; box-sizing:border-box; width:auto; min-height:36px; margin:0; padding:7px 12px 7px 31px; border:1px solid #c4cbb7; border-radius:8px; background-color:#f4f3ec; background-position:8px center; background-size:18px; color:#49513f; font:13px/1.4 Arial,sans-serif; cursor:pointer; }
#topStatusBar #submitLogout:hover { background-color:#e9eddf; border-color:#91a474; }
#topStatusBar .account-recovery-footer { margin-top:13px; padding-top:10px; border-top:1px solid #dce1ce; }
#topStatusBar .account-recovery-footer:has(#openRecoveryButton[hidden]) { display:none; }
#topStatusBar :is(#openRecoveryButton,.account-text-link) { display:inline; width:auto; min-height:0; margin:0; padding:0; border:0; border-radius:0; background:none; color:#586b3e; font:12px/1.5 Arial,sans-serif; text-decoration:underline; text-underline-offset:3px; cursor:pointer; box-shadow:none; }
#topStatusBar #openRecoveryButton[aria-disabled="true"] { opacity:.6; cursor:wait; }
#topStatusBar #openRecoveryStatus { margin:6px 0 0; font:12px/1.4 Arial,sans-serif; color:#94412b; }
#topStatusBar #openRecoveryStatus:empty { display:none; }
#topStatusBar :is(button,a,summary):focus-visible { outline:3px solid #d4b246; outline-offset:-3px; }
@media print { #topStatusBar.account-menu { display:none; } }
