/* Business dashboard presentation only; shared by browser and installed app. */
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])){text-size-adjust:100%;-webkit-text-size-adjust:100%}
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) .employee-header-row{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;align-items:center;gap:8px;width:100%;max-width:720px;margin:0 auto 12px!important}
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) .employee-app-mark{width:44px;height:44px;min-width:44px;margin:0;justify-self:center}
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) #biz-header-company{font-size:clamp(16px,4.2vw,20px);line-height:1.25;min-width:0;text-align:center;white-space:normal;word-break:normal;overflow-wrap:break-word;hyphens:none}
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) #biz-notification-bell{margin:0;justify-self:center}
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) .biz-account-controls{width:100%;max-width:720px;margin-inline:auto}
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) #biz-support-call{padding:4px;gap:2px;align-items:center;justify-content:center;overflow-wrap:normal;word-break:normal;hyphens:none;text-align:center}
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) #biz-support-call svg{width:18px;height:18px;flex:none}
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) #biz-support-call strong{font-size:14px;line-height:1.25;font-weight:700;white-space:normal;max-width:100%;hyphens:none}
html body #business-dashboard [data-biz-view="home"]>.biz-tiles :is(button>strong,#biz-account-menu>summary>span){font-size:clamp(10px,2.8vw,13px);line-height:1.25;text-align:center;word-break:normal;overflow-wrap:normal;hyphens:none}
html body #business-dashboard [data-biz-view="home"]>.biz-tiles>button{align-items:center;justify-content:center;text-align:center}
html body #business-dashboard #biz-job-list>p:only-child{text-align:center;width:100%;margin:12px 0;font-size:15px;line-height:1.4}

/* Bound the mobile home to its actual available viewport, including route returns. */
html body:not(.teckrom-desktop):has(#business-dashboard.active [data-biz-view="home"]:not([hidden]))>main{height:var(--hub-dashboard-height,100dvh);max-height:var(--hub-dashboard-height,100dvh);min-height:0;overflow:hidden;scrollbar-gutter:auto;padding:0;flex:1 1 0}
html body:not(.teckrom-desktop)>main>#business-dashboard.active:has([data-biz-view="home"]:not([hidden])){height:100%;max-height:100%;min-height:0;overflow:hidden}
html body:not(.teckrom-desktop) #business-dashboard:has([data-biz-view="home"]:not([hidden])) :is(.biz-shell,.biz-body){height:0;min-height:0;flex:1 1 0;overflow:hidden}
html body:not(.teckrom-desktop) #business-dashboard [data-biz-view="home"]:not([hidden]){height:0;min-height:0;flex:1 1 0;overflow:hidden}
html body:not(.teckrom-desktop) #business-dashboard [data-biz-view="home"]>.biz-tiles{grid-auto-rows:minmax(64px,auto);align-content:start}

/* Search keyboard overlays the lower dashboard instead of lifting its tiles. */
html[data-dashboard-keyboard] body:not(.teckrom-desktop):has(#business-dashboard.active [data-biz-view="home"]:not([hidden]))>main{min-height:var(--hub-dashboard-height)!important;flex-shrink:0!important}
