/* Compact navigation: sections, pages, settings, then the signed-in account. */
.sidebar{--nav-text:#e3cdd1;--nav-muted:#ba959f}
.sidebar .workspace-switcher{display:grid;grid-template-columns:.8fr 1.2fr;gap:3px;padding:4px;border:1px solid #ffffff20;border-radius:9px;background:#ffffff07}
.sidebar .workspace-choice{display:flex;justify-content:center;min-width:0;min-height:40px;padding:8px 5px;border:0;border-radius:6px;font-size:11px;text-align:center;line-height:1.4;color:var(--nav-text)}
.sidebar .workspace-choice>.icon,.sidebar .workspace-choice-indicator{display:none}
.sidebar .workspace-choice.selected{background:#fcf7f3;color:var(--wine);box-shadow:0 1px 3px #240c1120}
.sidebar .workspace-choice:hover:not(.selected){background:#ffffff0c}
.sidebar .nav-label{font-size:9px;font-weight:600;letter-spacing:1.3px;color:var(--nav-muted);padding:0 12px;margin-bottom:10px}
.sidebar .nav-item{font-size:13px;line-height:1.4;gap:11px;padding:10px 12px;min-height:42px;margin:0 0 3px;border-radius:6px;color:var(--nav-text)}
.sidebar .nav-item>.icon{width:17px;height:17px;opacity:.8}
.sidebar .nav-item>span:first-of-type{min-width:0}
.sidebar .nav-item.active{background:#ffffff12;color:#fff7f4;box-shadow:inset 2px 0 0 #d3a2a9;font-weight:600}
.sidebar .nav-item:hover:not(.active){background:#ffffff09}
.sidebar .nav-count{font-size:10px;letter-spacing:0;padding:2px 6px;border-radius:4px;background:#ffffff0b;color:#dcbec7}
.sidebar-navigation,.sidebar{scrollbar-width:thin;scrollbar-color:#95616c transparent}
.sidebar-navigation::-webkit-scrollbar,.sidebar::-webkit-scrollbar{width:5px}
.sidebar-navigation::-webkit-scrollbar-track,.sidebar::-webkit-scrollbar-track{background:transparent}
.sidebar-navigation::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background:#95616c;border:1px solid var(--wine);border-radius:9px}
.sidebar .shared-navigation{flex-shrink:0;border-top:1px solid #ffffff16}
.sidebar .shared-navigation nav{overflow:visible}
.sidebar .profile{gap:10px;padding:14px 4px 0;border-top:1px solid #ffffff16;min-height:54px}
.sidebar .profile-avatar{width:30px;height:30px;font-size:17px}
.sidebar .profile strong{font-size:12px;max-width:150px;line-height:1.4}
.sidebar .profile small{font-size:11px;margin-top:3px;color:var(--nav-muted)}
.sidebar .profile .icon{width:16px}
@media(min-width:901px){
  .shell{grid-template-columns:248px minmax(0,1fr)}
  .sidebar{width:248px;padding:27px 16px 17px}
  .sidebar>.brand{flex-shrink:0;font-size:38px;letter-spacing:-2.8px;padding:0 12px;line-height:1;margin-bottom:27px}
  .sidebar .brand-caption{font:11px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;letter-spacing:.2px;margin-top:9px;color:#c5a1ab}
  .sidebar .workspace-switcher{margin:0 0 24px;flex-shrink:0}
  .sidebar-navigation{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0 -6px 0 0;padding:0 6px 4px 0;overscroll-behavior-y:contain}
  .sidebar .shared-navigation{margin:12px 0 0;padding:17px 0 8px}
  .sidebar .shared-navigation .nav-item{min-height:39px;padding-block:9px;font-size:12px}
  .sidebar .sidebar-bottom{margin-top:0;padding-top:0;flex-shrink:0}
}
@media(min-width:901px) and (max-height:720px){
  .sidebar{padding-top:20px;padding-bottom:13px}
  .sidebar>.brand{font-size:34px;margin-bottom:16px}
  .sidebar .brand-caption{display:none}
  .sidebar .workspace-switcher{margin-bottom:16px}
  .sidebar .nav-item{min-height:38px;padding-block:9px;margin-bottom:2px}
  .sidebar .shared-navigation{margin-top:9px;padding-top:13px;padding-bottom:4px}
  .sidebar .shared-navigation .nav-label{display:none}
  .sidebar .shared-navigation .nav-item{min-height:36px;padding-block:8px}
  .sidebar .profile{padding-top:11px;min-height:49px}
}
@media(max-width:900px){
  .sidebar .workspace-switcher{margin:0 0 22px;grid-template-columns:1fr 1fr}
  .sidebar .workspace-choice{min-height:44px;font-size:13px}
  .sidebar .nav-item{min-height:48px;font-size:14px;padding:12px;margin:0}
  .sidebar .shared-navigation{padding-top:18px;margin-top:20px}
  .sidebar .shared-navigation nav{display:grid;grid-template-columns:1fr;gap:4px;margin:0;overflow:visible}
}
