/* Phase 1: institutional navigation. Scoped to .sb1; workspace styling is unchanged. */
html body #app aside.sidebar.sb1{width:264px!important;background:var(--shell-navy,#102d40)!important;background-image:none!important;border-right:1px solid #244455!important;display:flex!important;flex-direction:column;height:100dvh!important;overflow:visible!important;box-shadow:none!important;font-family:var(--shell-font,'DM Sans',system-ui,sans-serif)}
html body #app .sb1::before,html body #app .sb1::after{display:none!important}
html body #app .sb1 .nmsb-head{min-height:72px;padding:20px 18px 8px;border:0;gap:12px}
html body #app .sb1 .nmsb-logo-full{display:flex;align-items:center;gap:8px}
html body #app .sb1 .nmsb-collapse,html body #app .sb1-close{width:32px;height:32px;min-height:32px;background:transparent;border:1px solid #486170;color:#c9dce5;border-radius:6px;box-shadow:none;cursor:pointer}
html body #app .sb1-close{display:none;font-size:24px}
html body #app .sb1-institution{padding:4px 24px 20px;color:#e5edf2;font-size:13px;font-weight:500;line-height:1.6}
html body #app .sb1-institution span{display:block;color:#b0c4cf;font-size:11px;font-weight:400;letter-spacing:.02em}
html body #app .sb1-search-wrap{padding:0 16px 16px;flex-shrink:0}
html body #app .sb1 .nmsb-search{height:42px;min-height:42px;padding:0 10px;border:1px solid #496170;border-radius:7px;background:var(--shell-navy-raised,#19384b);color:#d5e3ea;font-size:12px;gap:8px;box-shadow:none}
html body #app .sb1 .nmsb-search svg{flex-shrink:0}
html body #app .sb1 .nmsb-search kbd{padding:2px 4px;font:10px/1.4 'DM Sans',system-ui;background:transparent;color:#bdcfd9;border:1px solid #496170;white-space:nowrap}
html body #app .sb1 .nmsb-nav{padding:0 12px 20px;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#526a78 transparent}
html body #app .sb1 .nmsb-nav::-webkit-scrollbar{display:block;width:4px}
html body #app .sb1 .nmsb-nav::-webkit-scrollbar-thumb{background:#526a78;border-radius:4px}
html body #app .sb1 .nmsb-section{margin:0 0 18px}
html body #app .sb1 .nmsb-section-lbl{padding:4px 12px 9px;color:#a9c0cd!important;font:600 10px/1.5 'DM Sans',system-ui!important;letter-spacing:.12em;text-transform:uppercase}
html body #app .sb1 .nmsb-item{min-height:44px;height:auto;margin:3px 0;padding:0 10px;gap:10px;border:0;border-radius:7px!important;color:var(--shell-text-on-dark,#dce7ed)!important;box-shadow:none!important;transform:none!important;text-decoration:none;transition:background .12s ease!important}
html body #app .sb1 .nmsb-item:hover{background:var(--shell-navy-hover,#203f52)!important;color:#fff!important}
html body #app .sb1 .nmsb-item.active{background:var(--shell-navy-selected,#294d60)!important;color:#fff!important;box-shadow:inset 3px 0 #6cc8cb!important}
html body #app .sb1 .nmsb-item::before,html body #app .sb1 .nmsb-item::after{display:none!important}
html body #app .sb1 .nmsb-icon{width:22px;height:28px;color:#bdd1dc!important;background:none!important;opacity:1!important;border:0;padding:0;border-radius:0}
html body #app .sb1 .nmsb-icon svg{width:18px;height:18px;stroke-width:1.6}
html body #app .sb1 .nmsb-item.active .nmsb-icon{color:#a4e0e0!important}
html body #app .sb1 .nmsb-label{display:block;font:500 14px/1.4 'DM Sans',system-ui!important;padding:0;letter-spacing:0}
html body #app .sb1 .nmsb-item.active .nmsb-label{font-weight:600!important}
html body #app .sb1 .nmsb-badge{margin:0 0 0 auto;padding:2px 6px;font:600 11px/1.4 'DM Sans',system-ui;background:#375163;color:#e7f0f5;border-radius:5px}
html body #app .sb1 .nmsb-badge--alert{background:#584b37;color:#ffe1a6}
html body #app .sb1 .nmsb-footer{position:relative;padding:12px;background:var(--shell-navy,#102d40);border-top:1px solid #365263;flex-shrink:0}
html body #app .sb1-account{position:relative;width:100%}
html body #app .sb1 .nmsb-user{list-style:none;display:flex;align-items:center;gap:10px;width:100%;padding:8px 6px;min-height:52px;border-radius:7px;cursor:pointer}
html body #app .sb1 .nmsb-user::-webkit-details-marker{display:none}
html body #app .sb1 .nmsb-user-av{width:34px;height:34px;border-radius:9px;background:#2c5365;border:1px solid #507282;color:#e8f5f7;font-size:12px;font-weight:600}
html body #app .sb1 .nmsb-user-name{display:block;font:600 13px/1.5 'DM Sans',system-ui;color:#f1f6f8;max-width:166px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #app .sb1 .nmsb-user-role{display:block;font:400 11px/1.6 'DM Sans',system-ui;color:var(--shell-muted-on-dark,#b2c7d2);text-transform:none;letter-spacing:0}
html body #app .sb1-account-more{color:#c1d5df;font-size:22px}
html body #app .sb1-account-options{position:absolute;bottom:calc(100% + 10px);left:0;width:238px;max-width:calc(100vw - 36px);padding:8px;border:1px solid #cedbe4;border-radius:10px;background:#fff;color:#163449;box-shadow:0 12px 32px #071c3233;z-index:1100}
html body #app .sb1-account-options p{font:600 13px/1.5 'DM Sans',system-ui;overflow-wrap:anywhere;margin:4px 8px 8px;padding-bottom:10px;border-bottom:1px solid #e0e7ed}
html body #app .sb1-account-options small{display:block;font-weight:400;color:#556e7e}
html body #app .sb1-account-options button,html body #app .sb1-account-options a{display:block;width:100%;min-height:40px;padding:10px;border:0;background:transparent;border-radius:5px;color:#17394e;text-align:left;text-decoration:none;font:500 13px/1.4 'DM Sans',system-ui;cursor:pointer}
html body #app .sb1-account-options button:hover,html body #app .sb1-account-options a:hover{background:#edf4f7}
html body #app .sb1 :focus-visible{outline:2px solid var(--shell-accent-light,#97e1e2)!important;outline-offset:3px}
html body #app .sb1-account-options :focus-visible{outline-color:#087f8c!important}
html body #app aside.sidebar.sb1.nmsb--collapsed{width:72px!important}
html body #app .sb1.nmsb--collapsed .nmsb-head{padding:20px 0 14px;min-height:108px;gap:12px}
html body #app .sb1.nmsb--collapsed .sb1-search-wrap{padding:0 12px 14px}
html body #app .sb1.nmsb--collapsed .nmsb-search{width:48px;padding:0;justify-content:center}
html body #app .sb1.nmsb--collapsed .nmsb-nav{padding:0 12px 12px}
html body #app .sb1.nmsb--collapsed .nmsb-item{width:48px;height:44px;margin:4px 0;padding:0;justify-content:center}
html body #app .sb1.nmsb--collapsed .nmsb-section{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #365263}
html body #app .sb1.nmsb--collapsed .nmsb-badge{position:absolute;right:0;top:0;font-size:9px;padding:0 3px}
html body #app .sb1.nmsb--collapsed .nmsb-footer{padding:10px}
@media(max-width:768px){html body #app aside.sidebar.sb1{position:fixed!important;top:0!important;bottom:0!important;left:0!important;width:min(292px,calc(100vw - 44px))!important;height:100dvh!important;transform:translateX(-105%)!important;visibility:hidden;z-index:1100!important;transition:transform .2s ease,visibility .2s!important}html body #app aside.sidebar.sb1.mobile-open{transform:translateX(0)!important;visibility:visible;box-shadow:12px 0 44px #051b3344!important}html body #app .sb1 .nmsb-collapse{display:none}html body #app .sb1-close{display:block}html body #app .sb1 .nmsb-head{padding-top:18px}html body #app .sb1 .nmsb-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){html body #app aside.sidebar.sb1,html body #app .sb1 *{transition:none!important}}
/* Override older global navigation sizing and tablet icon-only rules. */
html body #app .sb1 .nmsb-item{height:44px!important;min-height:44px!important;padding:0 10px!important}
html body #app .sb1 .nmsb-section-lbl{display:block!important;padding:4px 12px 9px!important}
html body #app .sb1 .nmsb-label{display:block!important}
html body #app .sb1 .nmsb-head{border-bottom:0!important}
html body #app .sb1 .nmsb-search{color:#d5e3ea!important;background:var(--shell-navy-raised,#19384b)!important}
html body #app .sb1 .nmsb-search kbd{color:#bdcfd9!important}
html body #app .sb1 .nmsb-user-av{border-radius:9px!important;background:#2c5365!important;color:#e8f5f7!important}
html body #app .sb1 .nmsb-user-role{color:var(--shell-muted-on-dark,#b2c7d2)!important}
html body #app .sb1.nmsb--collapsed .nmsb-item{padding:0!important}
