/* Tee Time Social: signed-in admin sidebar only. */
#root .dashboard-shell.app-layout > .sidebar.app-sidebar{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  height:100vh!important;height:100dvh!important;max-height:100vh!important;max-height:100dvh!important;
  min-height:0!important;overflow:hidden!important;gap:0!important;
  padding-bottom:max(12px,env(safe-area-inset-bottom))!important;
}
#root .dashboard-shell.app-layout > .sidebar.app-sidebar > .app-logo,
#root .dashboard-shell.app-layout > .sidebar.app-sidebar > .admin-brand{flex-shrink:0!important}
#root .dashboard-shell.app-layout > .sidebar.app-sidebar > .sidebar-nav.app-nav{
  box-sizing:border-box!important;display:grid!important;grid-template-columns:1fr!important;
  flex:1 1 auto!important;min-height:0!important;min-width:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;
  scrollbar-width:thin;scrollbar-color:#8ba99d transparent;
  padding-bottom:8px!important;align-content:start!important;
}
#root .dashboard-shell.app-layout > .sidebar.app-sidebar > .sidebar-nav.app-nav > button{
  box-sizing:border-box!important;width:100%!important;min-height:44px!important;
  flex-shrink:0!important;white-space:normal!important;text-align:left!important;
}
#root .dashboard-shell.app-layout > .sidebar.app-sidebar > .sidebar-footer.app-sidebar-footer{
  box-sizing:border-box!important;display:grid!important;grid-template-columns:1fr!important;
  flex:0 0 auto!important;min-width:0!important;gap:6px!important;
  margin-top:8px!important;padding:10px 4px 0!important;
}
#root .dashboard-shell.app-layout > .sidebar.app-sidebar > .sidebar-footer.app-sidebar-footer small{overflow-wrap:anywhere;line-height:1.4}
#root .dashboard-shell.app-layout > .sidebar.app-sidebar > .sidebar-footer.app-sidebar-footer button{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  width:100%!important;min-height:44px!important;padding:10px 12px!important;
  margin:0!important;white-space:normal!important;line-height:1.4!important;text-align:left!important;
}
@media(min-width:1025px){
  /* Clip horizontal overflow without creating the Events scroll container
     that prevents the desktop sticky sidebar from following the viewport. */
  html.tts-events-route,body.tts-events-route{overflow-x:clip!important}
  #root .dashboard-shell.app-layout{
    display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;
    align-items:start!important;overflow:visible!important;
  }
  #root .dashboard-shell.app-layout > .sidebar.app-sidebar{
    position:sticky!important;top:0!important;align-self:start!important;
    width:240px!important;max-width:240px!important;margin:0!important;
  }
  #root .dashboard-shell.app-layout > .sidebar.app-sidebar > .sidebar-nav.app-nav{margin:0!important}
  #root .dashboard-shell.app-layout > .dashboard-main.app-main{min-width:0!important;grid-column:2!important}
}
