/* Approved September 23 side-navigation direction. One shell across the CRM. */
.command-shell.app{display:grid;grid-template-columns:184px minmax(0,1fr);width:100%;max-width:none;margin:0;min-height:100dvh;border:0;border-radius:0;background:var(--card)}
.command-shell>.side{display:flex;flex-direction:column;align-items:stretch;position:sticky;top:0;left:0;width:184px;height:100dvh;min-height:0;padding:22px 12px 20px;gap:0;border:0;border-right:1px solid var(--line);border-radius:0;background:var(--surf2);overflow-y:auto;overflow-x:hidden;z-index:7}
.command-shell .side .brand{width:160px;min-width:0;min-height:58px;margin:0 0 22px;padding:0 4px 20px;border-bottom:1px solid var(--line)}
.command-shell .side .s7lockup{width:152px;max-width:100%}
.command-nav-label{padding:0 12px 9px;color:var(--mute);font:700 10px/1.4 var(--ui);text-transform:uppercase}
.command-shell .side nav.sw-primary-nav{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;overflow:visible}
.command-shell .side nav.sw-primary-nav a{display:flex;justify-content:flex-start;gap:10px;position:relative;min-height:43px;height:auto;padding:10px 13px;border:0;border-radius:0 5px 5px 0;color:var(--ink2);font:500 13px/1.3 var(--ui);white-space:normal;text-decoration:none}
.command-shell .side nav.sw-primary-nav a svg{display:block;width:17px;height:17px;flex:none;color:var(--mute)}
.command-shell .side nav.sw-primary-nav a.on{background:var(--bluetint);font-weight:700;color:var(--blue)}
.command-shell .side nav.sw-primary-nav a.on:after{display:block;position:absolute;left:0;top:0;bottom:0;right:auto;width:4px;height:auto;background:var(--blue)}
.command-shell .side nav.sw-primary-nav a.on svg{color:var(--blue)}
.command-shell .side nav.sw-primary-nav a:hover{background:var(--bluetint)}
.command-shell .side nav.sw-primary-nav a .c{margin-left:auto;font-size:10px}
.command-nav-foot{margin-top:auto;padding:20px 12px 4px;border-top:1px solid var(--line);color:var(--mute);display:grid;gap:8px;font-size:10px}
.command-nav-foot b{font-size:9px;text-transform:uppercase;color:var(--ink)}
.command-shell>.main{min-width:0;margin:0;display:flex;flex-direction:column}
.app.command-shell>.main>header.top{display:flex;position:sticky;top:0;z-index:6;height:70px;min-height:70px;flex-wrap:nowrap;align-items:center;gap:22px;padding:10px 24px;border-bottom:1px solid var(--line);background:var(--card)}
.app.command-shell .top .tophd{display:block;flex:none;max-width:190px}.app.command-shell .top .tophd h1{font:700 17px/1.25 var(--ui);margin:0;color:var(--ink)}
.app.command-shell .top .tophd .sub,.app.command-shell .top .dtwrap{display:none}
.app.command-shell .top .srch{display:flex;align-items:center;justify-content:flex-start;flex:0 1 560px;min-width:100px;width:auto;max-width:560px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:4px;background:var(--surf2);color:var(--mute)}
.app.command-shell .top .srch .srchtxt{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.app.command-shell .top .srch kbd{margin-left:auto}
.app.command-shell .top .acctbtn{display:flex;align-items:center;gap:10px;flex:none;width:auto;min-width:0;height:44px;padding:0;background:transparent;border:0;color:var(--ink);font:650 12px var(--ui)}
.app.command-shell .top .acctbtn .av{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--bluetint)!important;color:var(--blue)!important}
.app.command-shell .top .sw-today-view{display:none;position:static;margin:0;flex:none;min-width:0}
body[data-signal-route=today] .app.command-shell .top .sw-today-view{display:flex;align-items:center;gap:6px;position:static;min-width:0}
.app.command-shell .top .sw-today-view>span{display:none}.app.command-shell .top .sw-today-view select{height:34px;min-height:34px;width:166px;max-width:166px;padding:0 8px;border:1px solid var(--line);border-radius:4px;background:var(--card);color:var(--ink2);font-size:11px}
.command-shell .wrap{max-width:none;width:100%;padding:22px 24px 32px}
body[data-signal-route=today] .command-shell .wrap{padding:17px 20px 16px}
@media(min-width:821px){.msheet .mbox{left:auto;right:20px;top:76px;bottom:auto;width:340px;max-height:calc(100dvh - 90px);border:1px solid var(--line);border-radius:8px;overflow-y:auto}.msheet .mbg{background:rgba(20,40,60,.12)}.msheet .mgrab{display:none}}
@media(max-width:1100px) and (min-width:821px){.command-shell.app{grid-template-columns:166px minmax(0,1fr)}.command-shell>.side{width:166px;padding:18px 9px}.command-shell .side .brand{width:148px}.command-shell .side .s7lockup{width:140px}.app.command-shell>.main>header.top{padding:10px 18px;gap:14px}.app.command-shell .top .srch{flex:1}.app.command-shell .top .srch kbd{display:none}.app.command-shell .top .sw-today-view select{width:142px}.command-shell .wrap{padding:18px}}
@media(max-width:820px){.command-shell.app{display:block;min-height:100dvh}.command-shell>.side{display:none}.app.command-shell>.main>header.top{height:58px;min-height:58px;padding:8px 16px;gap:12px}.app.command-shell .top .srch{flex:none;min-width:32px;width:32px;height:36px;min-height:36px;padding:6px;border:0;background:transparent}.app.command-shell .top .srch .srchtxt,.app.command-shell .top .srch kbd,.app.command-shell .top .acctbtn>span:not(.av){display:none}.app.command-shell .top .tophd{flex:1;max-width:none}.app.command-shell .top .acctbtn{min-width:36px}.app.command-shell .top .grow{display:none}.command-shell .wrap{padding:18px 15px 88px}body[data-signal-route=today] .app.command-shell>.main>header.top{height:100px;min-height:100px;align-items:flex-start;padding-top:10px}body[data-signal-route=today] .app.command-shell .top .sw-today-view{position:absolute;left:16px;right:16px;bottom:8px;justify-content:flex-end}body[data-signal-route=today] .app.command-shell .top .sw-today-view>span{display:block;margin-right:auto;font-size:11px}body[data-signal-route=today] .app.command-shell .top .sw-today-view select{width:210px;max-width:65vw}body[data-signal-route=today] .command-shell .wrap{padding:15px 15px 88px}}
