/* Scoped to the shared navigation. These rules never style Race Control fields or buttons. */
.workspace-shell{--ws-border:#253043;--ws-muted:#9caac0;--ws-width:252px;display:grid;grid-template-columns:var(--ws-width) minmax(0,1fr);min-height:calc(100vh - 35px);align-items:start;font-family:Inter,sans-serif;line-height:1.5}
.workspace-shell.ws-collapsed{--ws-width:76px}
.workspace-shell .ws-sidebar{position:sticky;top:0;height:calc(100vh - 35px);overflow:hidden;display:flex;flex-direction:column;min-width:0;padding:20px 20px 18px;background:#0c111c;border-right:1px solid var(--ws-border);color:#f0f3f9}
.workspace-shell .ws-navigation{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#304059 transparent}
.workspace-shell .ws-brand{display:flex;justify-content:center;align-items:center;min-height:58px;margin:0 0 20px;width:100%;flex-shrink:0}
.workspace-shell .ws-brand img{display:block;width:210px;max-width:100%;height:auto;object-fit:contain}
.workspace-shell .ws-brand .ws-brand-compact{display:none;width:36px;height:36px}
.workspace-shell .ws-organization{display:flex;gap:11px;align-items:center;padding:13px 10px;margin:0 0 20px;border:1px solid var(--ws-border);border-radius:10px}
.workspace-shell .ws-organization-icon{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:8px;background:#23334c;color:#b6cdf7;font-size:11px;font-weight:700}
.workspace-shell .ws-organization strong{font-size:11px;display:block;font-weight:600}
.workspace-shell .ws-organization div>span{font-size:10px;color:var(--ws-muted);display:block;margin-top:2px}
.workspace-shell .ws-nav-label{display:block;font-size:10px;letter-spacing:1.5px;color:#77869f;padding-left:13px;margin:0 0 12px}
.workspace-shell .ws-nav{display:grid;gap:5px}
.workspace-shell .ws-nav a{display:flex;align-items:center;gap:11px;padding:10px 12px;color:var(--ws-muted);border:1px solid transparent;border-radius:8px;font-size:13px;line-height:1.5;text-decoration:none;white-space:nowrap}
.workspace-shell .ws-nav a:hover{background:#172234;color:#f0f3f9}
.workspace-shell .ws-nav a.active{color:#b2cdff;background:#162744;border-color:#263d63}
.workspace-shell .ws-sidebar svg,.workspace-shell .ws-workspace-bar svg{width:18px;height:18px;vertical-align:middle;flex-shrink:0}
.workspace-shell .ws-event-nav{margin-top:16px;padding-top:12px;border-top:1px solid var(--ws-border)}
.workspace-shell.ws-has-event .ws-organization{display:none}
.workspace-shell .ws-event-name{display:block;color:#c9d8ef;font-size:12px;font-weight:600;margin:0 12px 12px;overflow-wrap:anywhere}
.workspace-shell .ws-sidebar-bottom{margin-top:auto;padding-top:16px;flex-shrink:0}
.workspace-shell .ws-collapse,.workspace-shell .ws-toggle{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:36px;padding:8px;border:1px solid var(--ws-border);border-radius:7px;color:#b8c8df;background:transparent;font:inherit;font-size:12px;cursor:pointer}
.workspace-shell .ws-collapse{width:100%;justify-content:flex-start;margin-bottom:18px}
.workspace-shell .ws-toggle:hover,.workspace-shell .ws-collapse:hover{background:#172234;color:white;border-color:#48658e}
.workspace-shell .ws-profile{border-top:1px solid var(--ws-border);padding:16px 4px 4px;display:flex;gap:11px;align-items:center;color:#f0f3f9;text-decoration:none;border-radius:0 0 8px 8px}
.workspace-shell .ws-profile:hover,.workspace-shell .ws-profile.active{background:#162744}
.workspace-shell .ws-profile:focus-visible{outline:3px solid #8cb2ff;outline-offset:3px}
.workspace-shell .ws-profile>div{min-width:0}
.workspace-shell .ws-avatar{position:relative;width:36px;height:36px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#5865f2;color:white;font-size:12px;font-weight:700}
.workspace-shell .ws-online{position:absolute;width:10px;height:10px;bottom:0;right:0;border:2px solid #0c111c;border-radius:50%;background:#6de0b1}
.workspace-shell .ws-profile strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.workspace-shell .ws-profile div>span{display:block;color:var(--ws-muted);font-size:10px;margin-top:2px}
.workspace-shell .ws-workspace{min-width:0;display:flex;flex-direction:column;min-height:calc(100vh - 35px)}
.workspace-shell .ws-workspace-bar{height:73px;flex-shrink:0;border-bottom:1px solid #1b2535;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 42px;color:var(--ws-muted);font-size:12px}
.workspace-shell .ws-workspace-bar>div{display:flex;align-items:center;gap:14px;min-width:0}
.workspace-shell #breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-shell .ws-help{font-size:11px;color:var(--ws-muted);text-decoration:none;white-space:nowrap}
.workspace-shell .ws-footer{display:flex;justify-content:space-between;gap:16px;margin:0 42px;padding:18px 0;border-top:1px solid #1b2535;color:#77859a;font-size:10px}
.workspace-shell .ws-nav a:focus-visible,.workspace-shell .ws-brand:focus-visible,.workspace-shell .ws-toggle:focus-visible,.workspace-shell .ws-collapse:focus-visible,.workspace-shell .ws-help:focus-visible{outline:3px solid #8cb2ff;outline-offset:3px}
.workspace-shell [hidden]{display:none!important}
.workspace-shell.ws-collapsed .ws-sidebar{padding:26px 12px 18px}
.workspace-shell.ws-collapsed .ws-brand img:not(.ws-brand-compact),.workspace-shell.ws-collapsed .ws-organization,.workspace-shell.ws-collapsed .ws-nav-label,.workspace-shell.ws-collapsed .ws-nav-text,.workspace-shell.ws-collapsed .ws-event-name,.workspace-shell.ws-collapsed .ws-profile>div{display:none}
.workspace-shell.ws-collapsed .ws-brand .ws-brand-compact{display:block}
.workspace-shell.ws-collapsed .ws-nav a{justify-content:center;padding:14px}
.workspace-shell.ws-collapsed .ws-collapse,.workspace-shell.ws-collapsed .ws-profile{justify-content:center}
.workspace-shell.ws-collapsed .ws-collapse svg{transform:rotate(180deg)}
@media(min-width:1600px){.workspace-shell .ws-workspace-bar{height:79px}}
@media(max-width:1100px){.workspace-shell .ws-workspace-bar{padding:0 26px}.workspace-shell .ws-footer{margin:0 26px}}
@media(max-width:700px){.workspace-shell{--ws-width:220px}.workspace-shell .ws-sidebar{padding:20px 14px 16px}.workspace-shell .ws-workspace-bar{padding:0 18px;height:58px}.workspace-shell .ws-help{display:none}.workspace-shell .ws-footer{margin:0 18px;flex-wrap:wrap}.workspace-shell .ws-organization{margin-bottom:24px}.workspace-shell .ws-nav a{font-size:12px;padding:10px;gap:8px}}
@media(prefers-reduced-motion:no-preference){.workspace-shell{transition:grid-template-columns .18s ease}.workspace-shell .ws-toggle,.workspace-shell .ws-collapse{transition:background .15s,border-color .15s}}
