/* Shared neutral navigation language; the content retains its light palette. */
.user-shell{--nav-base:#101115;--nav-text:#f4f4f6;--nav-muted:#b8bac4;--nav-line:rgba(255,255,255,.1)}
.user-shell .sidebar{background:var(--nav-base);color:var(--nav-text);border-color:var(--nav-line);padding:28px 18px 20px}
.user-shell .sidebar .brand{font-size:19px;font-weight:600;letter-spacing:.01em;padding:0 10px}
.user-shell .sidebar .workspace{border:0;border-radius:0;margin:30px 0 18px;padding:0 12px;color:var(--nav-muted);font-size:12px;gap:0}
.user-shell .sidebar .workspace .avatar,.user-shell .sidebar .workspace small,.user-shell .sidebar .workspace br,.user-shell .sidebar .nav-label{display:none}
.user-shell .sidebar .nav{gap:6px}
.user-shell .sidebar .nav button{min-height:46px;padding:12px;border:0;border-radius:13px;font-size:15px;font-weight:400;gap:13px;color:var(--nav-muted);background:transparent;transition:background .18s ease-out,color .18s ease-out}
.user-shell .sidebar .nav button:hover{background:#202127;color:var(--nav-text)}
.user-shell .sidebar .nav button.active{background:#27282e;color:var(--nav-text);font-weight:500;box-shadow:none}
.user-shell .sidebar .nav button.active::before,.user-shell .sidebar .nav button.active::after{display:none}
.user-shell .sidebar .nav .icon,.user-shell .sidebar .nav .icon svg{width:22px;height:22px;color:inherit;flex-shrink:0}
.user-shell .sidebar .nav .icon svg{stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.user-shell .sidebar :is(button,a):focus-visible{outline:2px solid #f4f4f6;outline-offset:2px}
.user-shell .sidebar-foot{gap:6px;padding-top:24px}
.user-shell .sidebar-foot .notice{padding:12px;font-size:11px;line-height:1.65;color:#a8aab4;border:0}
.user-shell .sidebar-foot a,.user-shell .sidebar-foot button{display:flex;align-items:center;min-height:44px;padding:10px 12px;color:var(--nav-muted);font-size:13px;font-weight:400;text-align:left;border:0;border-radius:12px;background:transparent}
.user-shell .sidebar-foot :is(a,button):hover{background:#202127;color:#fff}
@media(min-width:701px){.user-shell{grid-template-columns:232px minmax(0,1fr)}.user-shell .sidebar{width:232px}}
@media(max-width:700px){
  .user-shell{--nav-height:calc(3rem + 24px);--nav-bottom:calc(12px + env(safe-area-inset-bottom,0px));--nav-clearance:calc(var(--nav-height) + var(--nav-bottom) + 20px)}
  .user-shell .sidebar{inset:auto 12px var(--nav-bottom);width:auto;height:var(--nav-height);padding:5px;border:1px solid var(--nav-line);border-radius:999px;background:linear-gradient(160deg,#1b1c22,#111217);box-shadow:0 8px 24px #0003,inset 0 1px 0 #ffffff05;overflow:visible;z-index:5}
  .user-shell .sidebar .workspace{display:none}
  .user-shell .sidebar .nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;min-width:0;width:100%;height:100%;align-items:stretch}
  .user-shell .sidebar .nav button{min-width:0;min-height:44px;padding:5px 2px;border-radius:999px;font-size:.75rem;line-height:1.4;gap:4px;justify-content:center;white-space:nowrap}
  .user-shell .sidebar .nav button.active{background:linear-gradient(145deg,#3d3f47,#292b32);box-shadow:inset 0 1px 0 #ffffff09}
  .user-shell .sidebar .nav .icon,.user-shell .sidebar .nav .icon svg{width:24px;height:24px}
  .user-shell .content,.user-shell .content.industry-content{padding-bottom:var(--nav-clearance)}
  .user-shell .industry-closing button{scroll-margin-bottom:var(--nav-clearance)}
  body:has(.user-shell) #toast{bottom:calc(3rem + 60px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){.user-shell .sidebar .nav button{transition:none}}

/* Desktop navigation selected from the Mercor reference; mobile keeps its dock. */
.desktop-workspace-brand,.desktop-workspace-nav{display:none}
@media(min-width:701px){
 .user-shell{display:block;grid-template-columns:none}
 .user-shell>.sidebar{display:none}
 .user-shell>.main{margin-left:0;min-width:0}
 .user-shell .topbar{height:80px;padding:0 clamp(24px,5vw,88px);background:#fff;border-bottom:1px solid #e4e7ed;display:flex;gap:36px;position:sticky;top:0;z-index:6}
 .user-shell .desktop-workspace-brand{display:block;flex-shrink:0}
 .user-shell .desktop-workspace-brand .brand{font-size:20px;gap:10px;color:#161a25;white-space:nowrap}
 .user-shell .desktop-workspace-nav{display:flex;align-items:center;gap:10px}
 .user-shell .desktop-workspace-nav button{position:relative;display:flex;align-items:center;gap:8px;background:transparent;border:0;border-radius:8px;color:#535c6f;font-size:15px;font-weight:400;min-height:44px;padding:10px 16px;white-space:nowrap}
 .user-shell .desktop-workspace-nav .icon{display:none}
 .user-shell .desktop-workspace-nav button:hover{background:#f3f5f9;color:#17213b}
 .user-shell .desktop-workspace-nav button.active{color:#243bf5;background:#f0f3ff;font-weight:500}
 .user-shell .desktop-workspace-nav button:focus-visible{outline:2px solid #243bf5;outline-offset:3px}
 .user-shell .topbar>.right{margin-left:auto;flex-shrink:0}
 .user-shell .content{max-width:1440px;margin:0 auto}
 .user-shell .content.industry-content{max-width:none}
}
@media(min-width:701px) and (max-width:1000px){.user-shell .topbar{gap:16px;padding-inline:20px}.user-shell .desktop-workspace-nav{gap:2px}.user-shell .desktop-workspace-nav button{padding-inline:10px;font-size:14px}.user-shell .desktop-workspace-brand .brand{font-size:17px}.user-shell .topbar>.right{gap:8px}}
@media(min-width:701px){
 .user-shell .topbar .desktop-workspace-nav button{background:transparent!important;color:#4d586d!important;border:0!important;border-radius:6px!important}
 .user-shell .topbar .desktop-workspace-nav button.active{color:#243bf5!important}
 .user-shell .topbar .desktop-workspace-nav button:hover{background:#f3f5f9!important}
}
