/* First-paint display rules below affect marked navigation entries only. */
html[data-theme] body .workspace-nav nav[hidden]{display:none!important}
html[data-theme] body .home-menu-settings{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 8px;font-size:12px;color:var(--theme-muted)}
.home-menu-settings>a{font-size:12px;line-height:1.6;text-decoration:none}
html[data-theme] body .menu-settings-entry{font-size:12px}
html[data-theme] body main.container.menu-customization{max-width:1060px;color:var(--theme-ink);padding-top:30px;padding-bottom:65px}
html[data-theme] body .menu-customization [hidden]{display:none!important}
html[data-theme] body .menu-customization .menu-custom-heading{display:block;position:relative;margin-bottom:27px;padding:0;min-height:0;background:transparent;color:var(--theme-ink);border:0}
html[data-theme] body .menu-customization .menu-custom-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.2px;color:var(--theme-accent);margin:0 0 8px}
html[data-theme] body .menu-customization h1{font-size:29px;line-height:1.3;letter-spacing:-1px;margin:0 0 12px;color:var(--theme-ink)}
html[data-theme] body .menu-customization p{font-size:13px;color:var(--theme-muted);line-height:1.75}
.menu-custom-heading>a{font-size:12px}.menu-custom-heading>p:not(.menu-custom-eyebrow){margin:0 0 10px}
html[data-theme] body .menu-customization .menu-custom-note{padding:16px 18px;border-left:3px solid var(--theme-accent);background:var(--theme-soft);border-radius:0 12px 12px 0;color:var(--theme-ink);font-size:12px;margin-bottom:25px}
.menu-custom-note strong{display:block;margin-bottom:4px}
html[data-theme] body .menu-customization .menu-custom-tabs{display:flex;gap:6px;border-bottom:1px solid var(--theme-line);margin:0 0 24px}
html[data-theme] body .menu-customization button{width:auto!important;min-height:43px;padding:10px 14px!important;border:1px solid var(--theme-line)!important;border-radius:9px!important;background:var(--theme-surface)!important;color:var(--theme-ink)!important;box-shadow:none!important;font-size:12px;line-height:1.5;margin:0}
html[data-theme] body .menu-customization button.primary{border-color:var(--theme-accent)!important;background:var(--theme-accent)!important;color:var(--theme-on-accent)!important}
html[data-theme] body .menu-customization button:disabled{opacity:.55;cursor:default}
html[data-theme] body .menu-customization .menu-custom-tabs button{padding:13px 17px!important;min-height:48px;border:0!important;border-radius:0!important;background:transparent!important;color:var(--theme-muted)!important}
html[data-theme] body .menu-customization .menu-custom-tabs button[aria-pressed=true]{box-shadow:inset 0 -3px var(--theme-accent)!important;color:var(--theme-accent)!important;font-weight:650}
.menu-custom-description h2{font-size:18px;margin:0 0 7px}.menu-custom-description p{margin:0 0 22px}.menu-custom-description #menuCompanyState{font-size:12px;margin-top:-10px}
html[data-theme] body .menu-customization .menu-custom-filters{display:flex;align-items:end;gap:12px;padding:20px;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:14px}
html[data-theme] body .menu-customization label{font-size:12px;color:var(--theme-muted);margin:0}.menu-custom-filters>label:first-child{flex:1.5}.menu-custom-filters>label:nth-child(2){flex:1}.menu-custom-filters>button{flex:none}
html[data-theme] body .menu-customization :is(input[type=search],select){display:block;width:100%;box-sizing:border-box;min-height:43px;padding:10px 12px!important;margin:7px 0 0;border:1px solid var(--theme-line)!important;border-radius:9px!important;color:var(--theme-ink)!important;background:var(--theme-bg)!important;font-size:14px!important;box-shadow:none!important}
html[data-theme] body .menu-customization input::placeholder{color:var(--theme-muted);opacity:1}
html[data-theme] body .menu-customization :is(a,button,input,select):focus-visible{outline:2px solid var(--theme-accent)!important;outline-offset:3px}
html[data-theme] body .menu-customization #menuCustomCount{font-size:11px;margin:18px 0 5px}
html[data-theme] body .menu-customization #menuCustomStatus{font-size:12px;margin:0 0 15px;min-height:1.7em;overflow-wrap:anywhere}
html[data-theme] body .menu-customization .menu-custom-group{font-size:13px;letter-spacing:-.2px;color:var(--theme-muted);margin:27px 0 12px}
html[data-theme] body .menu-customization .menu-custom-row{display:flex;align-items:center;gap:17px;padding:18px 20px;border:1px solid var(--theme-line);border-radius:12px;background:var(--theme-surface);margin-bottom:8px;min-width:0}
.menu-custom-copy{min-width:0;flex:1}.menu-custom-copy strong{font-size:14px;margin-right:9px;overflow-wrap:anywhere}.menu-custom-copy small{display:block;font-size:11px;margin-top:7px;color:var(--theme-muted);line-height:1.5}
html[data-theme] body .menu-customization .menu-custom-state{font-size:10px;white-space:nowrap;background:var(--theme-bg);color:var(--theme-muted);border:1px solid var(--theme-line);border-radius:5px;padding:3px 7px}
html[data-theme] body .menu-customization .menu-custom-state[data-visible=true]{color:var(--theme-accent);background:var(--theme-soft);border-color:var(--theme-soft)}
html[data-theme] body .menu-customization .menu-custom-row>select{width:180px;flex:0 0 180px;margin:0}
.menu-custom-row>a{font-size:12px;white-space:nowrap;padding:9px 0}.menu-custom-row>label{display:flex;gap:9px;align-items:center;flex:none;min-height:44px}
html[data-theme] body .menu-customization input[type=checkbox]{appearance:auto!important;accent-color:var(--theme-accent);width:19px!important;height:19px!important;min-height:19px!important;margin:0!important}
html[data-theme] body .menu-customization .menu-custom-save{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;margin-top:25px;border-top:1px solid var(--theme-line)}
.menu-custom-save>span{font-size:12px;line-height:1.7;color:var(--theme-muted)}.menu-custom-save>div{display:flex;gap:9px;flex:none}.menu-custom-empty{padding:40px 15px;text-align:center}.menu-custom-empty strong{font-size:14px}html[data-theme] body .menu-customization .menu-custom-footer{font-size:11px}
@media(max-width:760px){
 html[data-theme] body main.container.menu-customization{padding-top:23px;padding-bottom:95px}
 html[data-theme] body .menu-customization h1{font-size:26px}
 html[data-theme] body .menu-customization .menu-custom-filters{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px}.menu-custom-filters>label:first-child{grid-column:1/-1}
 html[data-theme] body .menu-customization :is(input[type=search],select){font-size:16px!important;min-height:44px}
 html[data-theme] body .menu-customization .menu-custom-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px}
 .menu-custom-copy{grid-column:1/-1}.menu-customization .menu-custom-row>select{width:100%!important;min-width:0;grid-column:1}
 .menu-customization .menu-custom-row>a{grid-column:2;justify-self:end;min-height:44px;display:flex;align-items:center}.menu-customization .menu-custom-row>label{grid-column:1/-1}
 html[data-theme] body .menu-customization .menu-custom-save{display:block;padding:18px 0}.menu-custom-save>div{display:flex;margin-top:12px}.menu-custom-save button{flex:1;min-height:44px!important}
 .home-menu-settings{align-items:flex-start!important}.home-menu-settings>span{display:none}
}
@media(max-width:360px){.menu-custom-save>div{flex-direction:column}.menu-customization .menu-custom-row>select{max-width:100%}.menu-customization .menu-custom-filters{grid-template-columns:1fr!important}.menu-custom-filters>*{grid-column:1!important}}

/* Account choices are rendered on the body before navigation is painted. */
html body[data-menu-hidden~="projects"] [data-menu-key="projects"]{display:none!important}
html body[data-menu-hidden~="chats"] [data-menu-key="chats"]{display:none!important}
html body[data-menu-hidden~="collaboration"] [data-menu-key="collaboration"]{display:none!important}
html body[data-menu-hidden~="notifications"] [data-menu-key="notifications"]{display:none!important}
html body[data-menu-hidden~="employee-bot"] [data-menu-key="employee-bot"]{display:none!important}
html body[data-menu-hidden~="partner"] [data-menu-key="partner"]{display:none!important}
html body[data-menu-hidden~="mobile"] [data-menu-key="mobile"]{display:none!important}
html body[data-menu-hidden~="service"] [data-menu-key="service"]{display:none!important}
html body[data-menu-hidden~="schools"] [data-menu-key="schools"]{display:none!important}
html body[data-menu-hidden~="school-business"] [data-menu-key="school-business"]{display:none!important}
html body[data-menu-hidden~="customers"] [data-menu-key="customers"]{display:none!important}
html body[data-menu-hidden~="daily-journal"] [data-menu-key="daily-journal"]{display:none!important}
html body[data-menu-hidden~="reports"] [data-menu-key="reports"]{display:none!important}
html body[data-menu-hidden~="erp-workflow"] [data-menu-key="erp-workflow"]{display:none!important}
html body[data-menu-hidden~="estimates"] [data-menu-key="estimates"]{display:none!important}
html body[data-menu-hidden~="quote-workbooks"] [data-menu-key="quote-workbooks"]{display:none!important}
html body[data-menu-hidden~="estimate-reviews"] [data-menu-key="estimate-reviews"]{display:none!important}
html body[data-menu-hidden~="billing"] [data-menu-key="billing"]{display:none!important}
html body[data-menu-hidden~="finance"] [data-menu-key="finance"]{display:none!important}
html body[data-menu-hidden~="estimate-mail"] [data-menu-key="estimate-mail"]{display:none!important}
html body[data-menu-hidden~="consumable-quotes"] [data-menu-key="consumable-quotes"]{display:none!important}
html body[data-menu-hidden~="admin-mail"] [data-menu-key="admin-mail"]{display:none!important}
html body[data-menu-hidden~="payroll"] [data-menu-key="payroll"]{display:none!important}
html body[data-menu-hidden~="bids"] [data-menu-key="bids"]{display:none!important}
html body[data-menu-hidden~="leave"] [data-menu-key="leave"]{display:none!important}
html body[data-menu-hidden~="feedback"] [data-menu-key="feedback"]{display:none!important}
html body[data-menu-hidden~="spaces"] [data-menu-key="spaces"]{display:none!important}
html body[data-menu-hidden~="ai"] [data-menu-key="ai"]{display:none!important}
html body[data-menu-hidden~="overview"] [data-menu-key="overview"]{display:none!important}
html body[data-menu-hidden~="migration"] [data-menu-key="migration"]{display:none!important}
html body[data-menu-hidden~="appearance"] [data-menu-key="appearance"]{display:none!important}
html body[data-menu-hidden~="notification-settings"] [data-menu-key="notification-settings"]{display:none!important}
html body[data-menu-hidden~="help"] [data-menu-key="help"]{display:none!important}
html body[data-menu-hidden~="backups"] [data-menu-key="backups"]{display:none!important}
