/* A quiet global map and an explicit local navigation layer. */
.shell.authenticated .sidebar{background:#f9fbfd;border-right:1px solid #d9e3ed;padding:20px 12px 16px}
.shell.authenticated .sidebar .brand{padding:0 8px;margin-bottom:24px;gap:10px}
.shell.authenticated .sidebar .brand-logo{width:38px;height:38px;border-radius:10px;padding:3px}
.shell.authenticated .sidebar .brand b{font-size:21px;letter-spacing:.02em;color:#213f59}
.shell.authenticated .sidebar .brand small{font-size:11px;color:#6c7d8d}
.shell.authenticated .sidebar #nav{gap:5px;padding-bottom:18px;scrollbar-width:thin}
.shell.authenticated .sidebar .nav-group-overview{padding-bottom:12px;margin-bottom:10px;border-bottom:1px solid #dfe7ef}
.shell.authenticated .sidebar details.nav-disclosure{padding:3px 0;margin:0;border:0}
.shell.authenticated .sidebar details.nav-disclosure>summary{min-height:38px;padding:8px 9px;color:#65788b;font-size:13px;font-weight:650;letter-spacing:.03em;border-radius:6px}
.shell.authenticated .sidebar details.nav-disclosure>summary:hover{background:#eef3f8;color:#294c69}
.shell.authenticated .sidebar details.nav-disclosure>summary::after{width:6px;height:6px;border-color:#7e93a5}
.shell.authenticated .sidebar .nav-core{padding-bottom:10px!important;margin-bottom:7px;border-bottom:1px solid #dfe7ef!important}
.shell.authenticated .sidebar .nav-core>summary{color:#304f68!important}
.shell.authenticated .sidebar .nav-documents{margin-bottom:8px}
.shell.authenticated .sidebar .nav-item{min-height:41px;border:1px solid transparent;border-radius:6px;padding:8px 9px;gap:9px;font-size:16px;font-weight:550;line-height:1.4;color:#38546c;background:transparent;box-shadow:none;white-space:nowrap}
.shell.authenticated .sidebar details.nav-disclosure>.nav-item{width:calc(100% - 8px);margin:2px 0 2px 8px}
.shell.authenticated .sidebar .nav-item i{flex:0 0 19px;width:19px;height:19px;color:#7890a4;border-radius:0;background:none}
.shell.authenticated .sidebar .nav-item i svg{width:18px;height:18px}
.shell.authenticated .sidebar .nav-item:hover{background:#eaf1f7;color:#1d5179}
.shell.authenticated .sidebar .nav-item.active{background:#205e8a;border-color:#205e8a;color:#fff;font-weight:650;box-shadow:none}
.shell.authenticated .sidebar .nav-item.active i{color:#e4f2ff;background:none}
.shell.authenticated .sidebar .nav-item.active::before{display:none}
.shell.authenticated .sidebar .nav-disclosure:has(.nav-item.active)>summary{color:#285577}
.shell.authenticated .sidebar .nav-item:focus-visible{outline:2px solid #428ac0;outline-offset:2px}
.shell.authenticated .page-title{margin-bottom:22px;padding-bottom:0}
.shell.authenticated .page-title h1{font-size:clamp(24px,2vw,30px);line-height:1.3}
.shell.authenticated .page-title .eyebrow{font-size:10px;letter-spacing:.1em;color:#74889b;margin-bottom:6px}
.shell.authenticated .page-title p{font-size:13px;max-width:80ch;margin-top:7px;color:#687d90}
.shell.authenticated .workspace-pages{min-width:0;margin:0 0 22px}
.shell.authenticated .workspace-tabs{display:flex;align-items:stretch;gap:4px;overflow-x:auto;max-width:100%;margin:0 0 20px;padding:0 4px;background:#fff;border-bottom:1px solid #d5e1ed;scrollbar-width:thin;overscroll-behavior-inline:contain}
.shell.authenticated .workspace-tab{position:relative;flex:0 0 auto;min-height:46px;border:0;border-radius:0;padding:10px 18px;background:transparent;color:#60778c;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;white-space:nowrap}
.shell.authenticated .workspace-tab::after{content:"";position:absolute;bottom:0;left:16px;right:16px;height:3px;background:transparent;border-radius:3px 3px 0 0}
.shell.authenticated .workspace-tab:hover{color:#1d5c89;background:#f6f9fc}
.shell.authenticated .workspace-tab[aria-selected="true"]{color:#155b90;background:#f6faff;font-weight:700}
.shell.authenticated .workspace-tab[aria-selected="true"]::after{background:#246eaa}
.shell.authenticated .workspace-tab:focus-visible{outline:2px solid #397eb4;outline-offset:-4px;border-radius:4px}
.shell.authenticated .workspace-page{min-width:0;outline:none;scroll-margin-top:20px}
.shell.authenticated .workspace-page[hidden]{display:none!important}
.shell.authenticated .workspace-page:focus-visible{outline:2px solid #72a3c9;outline-offset:4px}
.shell.authenticated .workspace-page>.panel,.shell.authenticated .workspace-page>.supply-card{margin-top:0;margin-bottom:18px}
.shell.authenticated .workspace-page>.panel:last-child,.shell.authenticated .workspace-page>.supply-card:last-child{margin-bottom:0}
.shell.authenticated .workspace-page>.inventory-actions,.shell.authenticated .workspace-page>.production-tools{display:block}
.shell.authenticated .workspace-page>.marketplace-kpis{margin:16px 0}
.shell.authenticated .workspace-page>.doc-form-section:first-child{margin-top:0}
.shell.authenticated #view-documents .workspace-tabs{margin-top:20px;background:#f6f9fc}
.shell.authenticated #view-documents .workspace-page>.doc-form-section{margin-bottom:18px}
.shell.authenticated #view-documents .workspace-page>.panel-header.line-top{border-top:0;padding-top:0}
.shell.authenticated #view-documents .workspace-page>.doc-bottom{margin-top:18px}
.shell.authenticated #orderDetail .workspace-tabs{margin-top:20px}
.shell.authenticated #orderDetail .workspace-page>.followup-section,.shell.authenticated #orderDetail .workspace-page>.order-docs,.shell.authenticated #orderDetail .workspace-page>.order-server-timeline{margin-top:0;padding-top:0;border-top:0}
.shell.authenticated #orderDetail .workspace-page>.sub-disclosure{margin-top:0}
.shell.authenticated #view-supply .order-role-note{margin:0 0 15px;font-size:12px;line-height:1.6}
@media(min-width:741px){
  .shell.authenticated:not(.nav-collapsed){grid-template-columns:190px minmax(0,1fr)}
  .shell.authenticated.nav-collapsed{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:740px){
  .shell.authenticated .sidebar{padding:20px 14px 18px}
  .shell.authenticated .sidebar .nav-item{min-height:44px;font-size:15px}
  .shell.authenticated .sidebar details.nav-disclosure>summary{min-height:42px;font-size:13px}
  .shell.authenticated .workspace-tabs{margin-bottom:16px;padding:0;gap:0}
  .shell.authenticated .workspace-tab{min-height:46px;padding:10px 14px;font-size:14px}
  .shell.authenticated .workspace-tab::after{left:12px;right:12px}
  .shell.authenticated .page-title p{font-size:12px;line-height:1.65}
  .shell.authenticated .workspace-page>.panel,.shell.authenticated .workspace-page>.supply-card{padding:16px 12px}
  .shell.authenticated #view-documents .workspace-tabs{margin-top:16px}
}
@media print{
  .workspace-tabs{display:none!important}
}

.sidebar-collapse-toggle{display:none}
/* Fit the longest menu labels without reducing the readable type size. */
@media(min-width:741px){
  .shell.authenticated .sidebar{padding:16px 8px 64px}
  .shell.authenticated .sidebar .brand{padding:0 4px;margin-bottom:16px;gap:8px}
  .shell.authenticated .sidebar .nav-item{padding:8px 6px;gap:7px}
  .shell.authenticated .sidebar details.nav-disclosure>summary{padding:8px 8px;letter-spacing:0}
  .shell.authenticated>.sidebar-collapse-toggle{position:fixed;left:8px;bottom:12px;z-index:40;display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;width:174px;min-height:40px;margin:0;border:1px solid #d9e3ed;border-radius:6px;background:#fff;color:#38546c;font:inherit;font-size:13px;cursor:pointer}
  .sidebar-collapse-toggle svg{width:18px;height:18px}
  .sidebar-collapse-toggle:hover{background:#eaf1f7;color:#1d5179}
  .sidebar-collapse-toggle:focus-visible{outline:2px solid #428ac0;outline-offset:2px}
  .shell.authenticated.nav-collapsed>.sidebar-collapse-toggle{width:112px;box-shadow:0 2px 8px rgba(30,76,116,.1)}
  .nav-collapsed>.sidebar-collapse-toggle svg{transform:rotate(180deg)}
}
@media(max-width:740px){.sidebar-collapse-toggle{display:none}}
@media print{.sidebar-collapse-toggle{display:none}}
