/* Worker portal tabs (workers only). Owner/manager views are untouched. */
.worker-tabbar[hidden]{display:none!important}
.worker-tabbar [role=tablist]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.worker-tabbar button{appearance:none;margin:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--appearance-muted,#4b5563);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:64px;padding:8px 2px;font:600 12.5px/1.1 inherit;cursor:pointer}
.worker-tabbar svg{width:24px;height:24px;fill:currentColor}
.worker-tabbar button.active{color:var(--appearance-text,#111);box-shadow:inset 0 3px 0 var(--company-accent,var(--appearance-accent,#4b5563))}
.worker-tabbar button:focus-visible{outline:3px solid var(--company-accent,#2563eb);outline-offset:-3px}
.worker-tab-panel[hidden]{display:none!important}
.worker-tab-panel:focus{outline:none}
.wt-card h3{margin-top:0}
.wt-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 12px}
.wt-stats>div{display:flex;flex-direction:column}
.wt-big{font-size:28px;font-weight:700;line-height:1.1;color:var(--appearance-text,inherit)}
.wt-notice{margin:0;padding:10px 12px;border-radius:10px;background:var(--appearance-soft,#f3f4f6);color:var(--appearance-text,inherit)}
.wt-shift-row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.wt-week-total{margin:0 0 8px}
/* Phone: fixed bottom bar replaces the generic phone tab bar for workers */
body.worker-tabs-on .phone-tabbar{display:none!important}
@media (max-width:900px){
 .worker-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:1260;padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:var(--appearance-panel,#fff);border-top:1px solid var(--appearance-line,#d0d7de);box-shadow:0 -4px 18px #0000001a}
 body.worker-tabs-on .app-shell{padding-bottom:calc(64px + env(safe-area-inset-bottom) + 84px)!important}
 body.worker-tabs-on .assistant-launcher{bottom:calc(64px + env(safe-area-inset-bottom) + 12px)!important}
 body.worker-tabs-on .shift-footer{position:static}
}
/* Desktop: the same five tabs as a strip at the top of the worker page */
.worker-tabbar.wt-desktop{position:sticky;top:0;z-index:50;margin:0 0 16px;background:var(--appearance-panel,#fff);border:1px solid var(--appearance-line,#d0d7de);border-radius:14px;overflow:hidden}
.worker-tabbar.wt-desktop [role=tablist]{max-width:760px}
.worker-tabbar.wt-desktop button{flex-direction:row;gap:8px;min-height:52px;font-size:15px}
.worker-tabbar.wt-desktop svg{width:20px;height:20px}
.worker-tabbar.wt-away{display:none!important}
@media (max-width:900px){.worker-tabbar.wt-away{display:block!important}}
@media (prefers-reduced-motion:reduce){.worker-tabbar *{transition:none!important}}
