/* A docked split view on roomy screens, a sliding drawer on narrow screens. */
.context-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;padding:7px;}
.context-toggle,.context-toggle[aria-expanded=true]{background:transparent;border-color:transparent;box-shadow:none;}
.context-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.context-toggle .panel-icon-fill{fill:currentColor;stroke:none;opacity:.12;}
.context-toggle[aria-expanded=true] .panel-icon-fill{opacity:.35;}
.context-toggle[aria-expanded=true] .panel-icon-arrow{transform:translateX(17px) scaleX(-1);}
/* Clip the offscreen drawer without making the shell a programmatic scroll
   container. Focusing controls during its transition must not shift the rail. */
.app-shell{--work-panel-width:480px;--work-panel-space:0px;overflow:clip;}
@media(min-width:651px){
  .app-shell{--rail-width:64px;grid-template-columns:var(--rail-width) var(--sidebar-width,224px) minmax(0,1fr) var(--work-panel-space);transition:grid-template-columns 320ms cubic-bezier(.4,0,.2,1);}
  .app-shell.work-open:not(.work-overlay){--work-panel-space:var(--work-panel-width);}
}
@media(min-width:1600px){.app-shell{--rail-width:66px;}}
@media(min-width:651px) and (max-width:1000px){.app-shell{--rail-width:60px;}}
.app-shell>.context-panel,.app-shell>.context-panel.has-a2ui{
  display:flex;flex-direction:column;position:relative;grid-column:4;grid-row:1;
  inset:auto;width:var(--work-panel-width);height:100%;min-height:0;min-width:0;
  padding:0;border:0;border-left:1px solid var(--line);background:#fff;
  overflow:visible;z-index:15;box-shadow:none;opacity:0;visibility:hidden;
  transition:opacity 180ms ease,visibility 0s linear 320ms;
}
.app-shell>.context-panel.open{opacity:1;visibility:visible;transition-delay:0s;}
.context-panel .work-panel-heading{position:static;flex:none;padding:18px 22px;border-bottom:1px solid var(--line);min-height:68px;}
.work-panel-scroll{flex:1;min-height:0;overflow:auto;padding:0 22px 24px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(45,80,90,.36) transparent;}
.work-panel-intro{margin-top:17px;}
.work-panel-resizer{position:absolute;left:-4px;top:0;bottom:0;width:8px;z-index:5;cursor:col-resize;touch-action:none;outline:none;}
.work-panel-resizer:hover,.work-panel-resizer:focus-visible,.resizing-work-panel .work-panel-resizer{background:rgba(104,141,150,.18);box-shadow:inset 2px 0 var(--shell-selected);}
.resizing-work-panel,.resizing-work-panel *{cursor:col-resize!important;user-select:none!important;}
.resizing-work-panel .app-shell,.resizing-sidebar .app-shell{transition:none;}
.app-shell.work-overlay>.context-panel{
  position:fixed;top:0;right:0;bottom:0;height:100dvh;max-width:calc(100vw - 56px);
  transform:translate3d(100%,0,0);box-shadow:-8px 0 30px #263a2b15;
  transition:transform 320ms cubic-bezier(.4,0,.2,1),opacity 180ms ease,visibility 0s linear 320ms;
}
.app-shell.work-overlay>.context-panel.open{transform:translate3d(0,0,0);transition-delay:0s;}
@media(prefers-reduced-motion:reduce){.app-shell,.app-shell>.context-panel,.app-shell.work-overlay>.context-panel{transition:none;}}
