body[data-workspace-portal] { margin: 0; display: grid; grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr); min-height: 100dvh; }
body[data-workspace-portal] > #root { min-width: 0; }
workspace-switcher { display: block; min-width: 0; background: #f5f5f7; color: #1d1d1f; border-right: 1px solid #dcdde3; font: 1rem/1.45 system-ui, sans-serif; }
workspace-switcher nav { padding: 1rem; position: sticky; top: 0; max-height: 100dvh; overflow: auto; box-sizing: border-box; }
workspace-switcher a { color: inherit; text-decoration: none; display: block; overflow-wrap: anywhere; }
workspace-switcher .ws-home { font-weight: 650; padding: .5rem; }
workspace-switcher ul { list-style: none; padding: 0; margin: .75rem 0 0; }
workspace-switcher li a { padding: .6rem .75rem; border-radius: .5rem; }
workspace-switcher li a:hover, workspace-switcher li a[aria-current] { background: #e1eafa; color: #143f80; }
workspace-switcher small { display: block; color: #535660; }
workspace-switcher :focus-visible, #portal-main :focus-visible { outline: 2px solid #0759ed; outline-offset: 2px; }
workspace-switcher .ws-toggle { display: none; }
#portal-main { align-self: center; justify-self: center; padding: 2rem; font: 1rem/1.5 system-ui, sans-serif; color: #1d1d1f; }
#portal-main button, workspace-switcher .ws-toggle { font: inherit; padding: .45rem .8rem; color: inherit; background: white; border: 1px solid #909098; border-radius: .4rem; cursor: pointer; }
@media (max-width: 46rem) {
  body[data-workspace-portal] { display: flex; flex-direction: column; }
  body[data-workspace-portal] > #root { flex: 1; height: 0; min-height: 0; overflow: hidden; }
  body[data-workspace-portal]:has(> #root) { height: 100dvh; }
  workspace-switcher { border: 0; border-bottom: 1px solid #dcdde3; }
  workspace-switcher nav { padding: .4rem; max-height: 45dvh; }
  workspace-switcher .ws-home { display: none; }
  workspace-switcher nav:has(.ws-toggle[aria-expanded=true]) .ws-home { display: block; }
  workspace-switcher .ws-toggle { display: inline-block; }
  workspace-switcher .ws-toggle[aria-expanded=false] + ul { display: none; }
}
