/* Administration uses the horizontal ribbon; app navigation stays unchanged. */
/* Published shifts pass the API's required-role validation, including deferred drivers. */
body:not(.vehicle-shell) #root:not(.mobile) .calendar .shift.shift-published{border-left:5px solid var(--good);background:var(--goodbg)}
body:not(.vehicle-shell) #root:not(.mobile) .calendar .shift.shift-published>small{color:var(--good);font-weight:650}
body:not(.vehicle-shell) #root:not(.mobile) .calendar .shift.shift-draft{border-left:5px solid var(--warn);background:var(--warnbg)}
body:not(.vehicle-shell) #root:not(.mobile)>.workspace-navigation{display:none!important}
body:not(.vehicle-shell) #root:not(.mobile)>.tabs{display:flex!important;position:static;width:auto;flex-direction:row;flex-wrap:wrap;align-items:center;gap:0;padding:0 20px;margin:0;border:0;border-bottom:1px solid var(--line);background:var(--panel)}
body:not(.vehicle-shell) #root:not(.mobile)>.tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--ink);padding:15px 18px;min-height:48px;font-size:14px;text-align:center}
body:not(.vehicle-shell) #root:not(.mobile)>.tabs button.selected{border-bottom-color:var(--accent);color:var(--accent);font-weight:650}
body:not(.vehicle-shell) #root:not(.mobile)>.ribbon{display:flex!important;position:static;flex-wrap:wrap;gap:20px;margin:0;padding:12px 24px;background:var(--panel);border-bottom:1px solid var(--line)}
body:not(.vehicle-shell) #root:not(.mobile) .ribbon-group{display:flex;flex-direction:column;align-items:center;padding-right:20px;border-right:1px solid var(--line)}
body:not(.vehicle-shell) #root:not(.mobile) .ribbon-group>small{font-size:10px;color:var(--muted);margin-top:5px}
body:not(.vehicle-shell) #root:not(.mobile) .commands{display:flex;flex-wrap:wrap;gap:5px}
body:not(.vehicle-shell) #root:not(.mobile) .commands button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:92px;min-height:76px;padding:12px;border:1px solid transparent;background:transparent;color:var(--ink);font-size:12px;border-radius:5px}
body:not(.vehicle-shell) #root:not(.mobile) .commands button b{font-size:22px;font-weight:400;line-height:1}
body:not(.vehicle-shell) #root:not(.mobile) .commands button.selected{background:var(--soft);color:var(--accent)}
body:not(.vehicle-shell) #root:not(.mobile) .commands button:hover{border-color:var(--line);background:var(--soft)}
body:not(.vehicle-shell) #root:not(.mobile)>.context,body:not(.vehicle-shell) #root:not(.mobile)>.statusbar,body:not(.vehicle-shell) #root:not(.mobile)>main:not(.login){margin-left:0!important}
body:has(#root:not(.mobile)>.workspace-navigation)>.site-credit{margin-left:0!important}
@media(max-width:600px){body:not(.vehicle-shell) #root:not(.mobile)>.tabs{padding:0 6px}body:not(.vehicle-shell) #root:not(.mobile)>.tabs button{padding:12px 10px;font-size:12px}body:not(.vehicle-shell) #root:not(.mobile)>.ribbon{padding:10px;gap:10px}body:not(.vehicle-shell) #root:not(.mobile) .commands button{min-width:78px;font-size:11px}}
@media print{body:not(.vehicle-shell) #root:not(.mobile)>.tabs,body:not(.vehicle-shell) #root:not(.mobile)>.ribbon{display:none!important}}

/* Login centering must not inherit the administration workspace margin. */
body:not(.vehicle-shell) #root:not(.mobile)>main.login{margin-left:auto!important;margin-right:auto!important;width:min(100%,450px)}
