/* Owner workspace only. Desktop expansion overlays content without moving it. */
.sidebar-brand-mark {display:none;}
@media(min-width:921px) {
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail>.sidebar {width:76px;padding:20px 10px 12px;z-index:80;overflow:hidden;transition:width 180ms ease,box-shadow 180ms ease;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail>.main-shell {margin-left:90px;width:calc(100% - 90px);transition:none;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail.sidebar-rail-expanded>.sidebar {width:248px;box-shadow:var(--shadow-float),12px 0 32px #0002;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail .breadcrumbs #menu-toggle {display:inline-flex;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail .sidebar-heading {min-height:40px;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .sidebar-heading {justify-content:center;margin-bottom:16px;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .sidebar-brand-mark {display:block;width:30px;height:30px;object-fit:contain;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) :is(.sidebar-heading .coagent-wordmark,.sidebar-close,.workspace>div,.workspace-chevron,.nav-label,.nav-item>span,.nav-item>small,.nav-group>summary>span,.nav-group-items,.sidebar-account-user,.sidebar-account-actions button>span) {display:none;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .workspace {display:flex;justify-content:center;min-height:var(--rail-workspace-height,40px);padding:0;background:transparent;margin:0 0 16px;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) #navigation {padding:0;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) :is(.nav-item,.nav-group>summary) {display:flex;align-items:center;justify-content:center;gap:0;width:48px;min-height:44px;padding:10px;margin:0 auto 5px;border:0;border-radius:12px;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) :is(.nav-item,.nav-group>summary)>.icon {width:21px;height:21px;flex-shrink:0;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .nav-group {margin:0;padding:0;border:0;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .nav-group.has-active>summary {background:var(--surface-selected);color:var(--action);}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .nav-primary {padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid var(--border-subtle);}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .sidebar-account {padding-top:10px;gap:6px;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .sidebar-language {display:grid;grid-template-columns:1fr;padding:0;background:transparent;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .sidebar-language button {width:44px;min-height:36px;margin:auto;font-size:11px;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .sidebar-language button[aria-pressed="false"] {display:none;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .sidebar-account-actions {flex-direction:column;gap:4px;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .sidebar-account-actions button {width:44px;min-height:44px;justify-content:center;padding:10px;}
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail:not(.sidebar-rail-expanded) .sidebar-account-actions .icon {width:21px;height:21px;}
}
@media(prefers-reduced-motion:reduce) {
  .coagent-dashboard :is(#app-shell,.member-shell).sidebar-rail>.sidebar {transition:none;}
}
