/* Compact mobile workspaces; desktop layout and permission-based hiding stay intact. */
#dashboard-error:empty,#dashboard-error:empty+#retry-dashboard{display:none}
.account-more{position:relative}.account-more>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;padding:8px 12px;border:1px solid #cbd7df;border-radius:8px;font-weight:650;color:#183553;list-style:none}
.account-more>summary::-webkit-details-marker{display:none}.account-more>summary::after{content:'⌄';margin-left:8px}.account-more[open]>summary::after{content:'⌃'}
.account-more-items{position:absolute;right:0;top:calc(100% + 8px);z-index:45;width:min(300px,calc(100vw - 32px));padding:8px;background:#fff;border:1px solid #dce4ee;border-radius:12px;box-shadow:0 12px 32px #172b4d24}
.topbar .account-more-items>a,.topbar .account-more-items>button{display:flex;width:100%;justify-content:flex-start;white-space:normal;text-align:left;min-height:44px}.account-more-items>#account-email{overflow-wrap:anywhere;font-size:12px;padding:8px}
@media(max-width:760px){
 .topbar{padding:10px 16px!important;row-gap:4px!important;min-height:0}
 .topbar .account{justify-content:flex-end!important;gap:6px!important;padding:0!important}
 .topbar .account>.text-button{font-size:13px;padding:8px!important}.topbar .account-more{font-size:13px}
 .manager-shell .heading{margin-bottom:12px}.manager-shell .heading h1,.collaborator-shell .heading h1{font-size:21px;margin:4px 0 6px;overflow-wrap:anywhere}.manager-shell .heading p,.collaborator-shell .heading p{font-size:13px;margin:4px 0}
 .manager-context-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;margin:10px 0!important;padding:12px!important}
 .manager-context-bar .company-switch,.manager-context-bar #workspace-branch-label{min-width:0;width:100%;font-size:12px}
 .manager-context-bar select{width:100%;min-width:0;padding:9px 7px!important;font-size:13px}
 .manager-context-bar .manager-top-tools{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .manager-context-bar .manager-top-tools[hidden]{display:none!important}
 .manager-top-tools button{min-width:0;min-height:44px;font-size:12px;line-height:1.3;padding:8px!important;white-space:normal}
 .manager-shell #daily-overview{margin-top:12px;padding:12px}.manager-shell #daily-overview .section-heading{margin:0 0 10px;align-items:center}.manager-shell #daily-overview h2{font-size:19px}
 .collaborator-shell .heading{gap:8px!important;margin-bottom:10px}.collaborator-shell .company-switch{margin:0}
 .collaborator-nav{position:sticky;top:0;z-index:15;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0;padding:8px;background:#fff;border:1px solid #dce4ee;border-radius:12px;box-shadow:0 4px 12px #172b4d0a;scroll-margin-top:12px}
 .collaborator-nav button{min-height:44px;padding:10px 6px;font-size:13px}.collaborator-shell #daily-overview{margin-top:10px}.collaborator-shell #daily-overview .section-heading{margin:0 0 10px}.collaborator-shell .next-work{padding:12px}.collaborator-shell .next-work h3{font-size:18px;margin:8px 0}.collaborator-shell .next-work p{margin:8px 0}
}
@media(max-width:340px){.manager-context-bar{padding:9px!important;gap:7px!important}.manager-context-bar select{font-size:12px}.topbar .brand-name{font-size:21px}.topbar .brand-descriptor{font-size:8px}}
