/* The same permission-filtered navigation is above the workspace on desktop and below it on phones. */
@media(min-width:1101px){.company-module-header{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}.company-module-header .top{padding:8px 12px;gap:12px}.company-module-header .top .who{display:none}.company-module-header>.company-tabs{padding:0 6px}.company-module-header .top .eh-module span{display:none}}
@media(max-width:700px){
 :root{--eh-nav-height:calc(58px + env(safe-area-inset-bottom,0px))}
 body,.clean-core-body{padding-bottom:var(--eh-nav-height)!important}
 .clean-core-body .clean-appbar{min-height:54px!important;grid-template-columns:minmax(0,1fr) auto!important;padding:3px 10px!important}
 .clean-core-body .clean-appbar>.company-tabs,.company-module-header>.company-tabs{position:fixed!important;inset:auto 0 0!important;width:100%!important;max-width:100%!important;height:var(--eh-nav-height)!important;box-sizing:border-box;z-index:90;padding:3px 5px calc(3px + env(safe-area-inset-bottom,0px))!important;margin:0;background:var(--ui-surface,#161f2c);border-top:1px solid var(--ui-border,#687183);display:flex!important;gap:2px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;justify-content:flex-start;box-shadow:0 -3px 14px #0004}
 .company-tabs::-webkit-scrollbar{display:none}.company-tabs a{min-height:48px!important;padding:7px 12px!important;font-size:12px!important;border-bottom:0;border-top:3px solid transparent;border-radius:7px}
 .company-tabs a.active,.company-tabs a:hover,.company-tabs a:focus-visible{border-bottom:0;border-top-color:var(--ui-warning-line,#f2d243)}
 .clean-appbar .clean-brand small{display:none}.clean-appbar .clean-brand img{height:38px!important;width:105px!important}.clean-user>a{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
 .company-module-header .top{padding:6px 10px;gap:8px}.company-module-header .who{display:none}.company-module-header .eh-module span{display:none}
 .communication-shell{height:calc(100dvh - var(--eh-appbar-height,54px) - var(--eh-nav-height) - var(--eh-install-height,0px))!important;min-height:0!important}
}
@media(max-width:700px){.clean-core-body .clean-appbar,.company-module-header{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important;filter:none!important}}

.company-menu-toggle{display:none}.company-menu{background:var(--ui-surface,#161f2c);color:var(--ui-text,#fff);border:1px solid var(--ui-border,#687183);border-radius:14px;padding:12px;width:min(440px,90vw);max-height:80dvh;overflow:auto}.company-menu::backdrop{background:var(--ui-backdrop,#0009)}.company-menu a,.company-menu-close{display:block;width:100%;box-sizing:border-box;padding:14px;margin:3px 0;border:1px solid var(--ui-border,#445164);border-radius:8px;background:var(--ui-surface,#202b3a);color:var(--ui-text,#fff);text-decoration:none;text-align:left;font:inherit}.company-menu .active{border-color:var(--ui-warning-line,#f2d243);color:var(--ui-warning-text,#f2d243)}.company-menu-close{color:var(--ui-warning-text,#f2d243);text-align:right}@media(max-width:700px){.company-menu-toggle{display:block;position:fixed;right:0;bottom:env(safe-area-inset-bottom,0px);height:55px;width:66px;z-index:91;background:var(--ui-surface,#202b3a);color:var(--ui-warning-text,#f2d243);border:0;border-left:1px solid var(--ui-border,#687183);font-weight:700}.clean-core-body .clean-appbar>.company-tabs,.company-module-header>.company-tabs{width:calc(100% - 66px)!important;max-width:calc(100% - 66px)!important;right:66px!important}}

/* Override the original icon-only nav rules, including their higher specificity. */
.clean-core-body .clean-appbar nav.company-tabs>a{flex:0 0 auto!important;min-width:max-content!important;width:auto!important;overflow:visible!important;white-space:nowrap!important}.clean-core-body .clean-appbar nav.company-tabs>a::after{content:none!important;display:none!important}
@media(min-width:701px) and (max-width:980px){.clean-core-body .clean-appbar nav.company-tabs{position:static!important;height:auto!important;justify-content:flex-start!important;overflow-x:auto!important}.clean-core-body .clean-appbar nav.company-tabs>a{font-size:13px!important}}

@media(max-width:700px){.eh-install-offer{flex-wrap:nowrap;gap:4px;padding:4px;margin:4px 7px}.eh-install-offer span{display:none}.eh-install-offer button{min-width:0;flex:1;min-height:44px;padding:5px;font-size:12px}}
