/* Dashboard layout only. Main page scrolling and navigation scrolling are separate. */
html { --rp-toolbar-edge: 0px !important; --rp-dashboard-header-height: 64px !important; }
:is(#rp-owner-app,#rp-admin-app,#rp-staff-app,#rp-renter-app,#rp-assoc-app).rp-dashboard-shell {
  overflow: visible !important;
  align-items: start !important;
}
#rp-owner-app.rp-dashboard-shell .ow-main,
#rp-staff-app.rp-dashboard-shell .s4-main,
#rp-admin-app.rp-dashboard-shell .a5-content,
#rp-assoc-app.rp-dashboard-shell > .rp-dash-main {
  overflow: visible !important;
  min-width: 0 !important;
}
#rp-owner-app.rp-dashboard-shell .ow-topbar,
#rp-staff-app.rp-dashboard-shell .s4-topbar,
#rp-admin-app.rp-dashboard-shell .a5-top,
#rp-assoc-app.rp-dashboard-shell .rp-i1-topbar,
html[data-rp-dashboard="renter"] .m1-site-header {
  position: sticky !important;
  top: var(--rp-toolbar-edge) !important;
  z-index: 90 !important;
  align-self: start !important;
  flex-shrink: 0 !important;
}
#rp-owner-app.rp-dashboard-shell .ow-sidebar,
#rp-admin-app.rp-dashboard-shell .a5-sidebar,
#rp-staff-app.rp-dashboard-shell .s4-sidebar,
#rp-renter-app.rp-dashboard-shell .rn-sidebar,
#rp-assoc-app.rp-dashboard-shell > .rp-dash-sidebar {
  min-height: 0 !important;
  overscroll-behavior: contain !important;
}
#rp-owner-app.rp-dashboard-shell .ow-sidebar > nav,
#rp-admin-app.rp-dashboard-shell .a5-sidebar > nav,
#rp-staff-app.rp-dashboard-shell .s4-sidebar > nav,
#rp-renter-app.rp-dashboard-shell .rn-nav,
#rp-assoc-app.rp-dashboard-shell > .rp-dash-sidebar > nav {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: #99adc6 transparent !important;
  scrollbar-gutter: stable !important;
}
.rp-dashboard-shell aside > :not(nav) { flex-shrink: 0 !important; }
.rp-dashboard-shell aside nav::-webkit-scrollbar { width: 8px !important; height: 8px !important; }
.rp-dashboard-shell aside nav::-webkit-scrollbar-thumb { background: #99adc6 !important; border-radius: 8px !important; }
@media(min-width:1051px) {
  #rp-owner-app.rp-dashboard-shell .ow-sidebar { position: sticky !important; top: var(--rp-toolbar-edge) !important; height: calc(100dvh - var(--rp-toolbar-edge)) !important; align-self: start !important; overflow: hidden !important; }
}
@media(max-width:1050px) {
  #rp-owner-app.rp-dashboard-shell.ow-nav-open .ow-sidebar { overflow: hidden !important; }
}
#rp-staff-app.rp-dashboard-shell .s4-sidebar { top: var(--rp-toolbar-edge) !important; bottom: auto !important; height: calc(100dvh - var(--rp-toolbar-edge)) !important; overflow: hidden !important; }
@media(max-width:1100px) {
  #rp-staff-app.rp-dashboard-shell .s4-sidebar { top: calc(var(--rp-toolbar-edge) + var(--rp-dashboard-header-height)) !important; height: calc(100dvh - var(--rp-toolbar-edge) - var(--rp-dashboard-header-height)) !important; }
}
@media(min-width:821px) {
  #rp-admin-app.rp-dashboard-shell .a5-sidebar { position: sticky !important; top: var(--rp-toolbar-edge) !important; height: calc(100dvh - var(--rp-toolbar-edge)) !important; align-self: start !important; display: flex !important; flex-direction: column !important; overflow: hidden !important; }
}
@media(max-width:820px) {
  #rp-admin-app.rp-dashboard-shell[data-menu-open=true] .a5-sidebar { position: sticky !important; top: calc(var(--rp-toolbar-edge) + var(--rp-dashboard-header-height)) !important; z-index: 80 !important; overflow: auto !important; overscroll-behavior: contain !important; }
}
@media(min-width:851px) {
  #rp-renter-app.rp-dashboard-shell .rn-sidebar { position: sticky !important; top: calc(var(--rp-toolbar-edge) + var(--rp-dashboard-header-height)) !important; height: calc(100dvh - var(--rp-toolbar-edge) - var(--rp-dashboard-header-height)) !important; display: flex !important; flex-direction: column !important; align-self: start !important; overflow: hidden !important; }
}
@media(max-width:850px) {
  #rp-renter-app.rp-dashboard-shell .rn-sidebar { position: sticky !important; top: calc(var(--rp-toolbar-edge) + var(--rp-dashboard-header-height)) !important; z-index: 80 !important; align-self: start !important; max-height: calc(100dvh - var(--rp-toolbar-edge) - var(--rp-dashboard-header-height)) !important; overflow-y: auto !important; overscroll-behavior: contain !important; }
}
@media(min-width:951px) {
  #rp-assoc-app.rp-dashboard-shell > .rp-dash-sidebar { position: sticky !important; top: var(--rp-toolbar-edge) !important; height: calc(100dvh - var(--rp-toolbar-edge)) !important; display: flex !important; flex-direction: column !important; align-self: start !important; overflow: hidden !important; }
  #rp-assoc-app.rp-dashboard-shell .rp-i1-menu { display: none !important; }
}
#rp-assoc-app.rp-dashboard-shell .rp-shell-backdrop { position: fixed !important; inset: calc(var(--rp-toolbar-edge) + var(--rp-dashboard-header-height)) 0 0 !important; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #0b213760 !important; z-index: 70 !important; }
#rp-assoc-app.rp-dashboard-shell .rp-shell-nav-close { display: none !important; }
#rp-assoc-app.rp-dashboard-shell .rp-shell-backdrop[hidden] { display: none !important; }
@media(max-width:950px) {
  #rp-assoc-app.rp-i1-app.rp-dashboard-shell > .rp-dash-sidebar { position: fixed !important; left: 0 !important; top: calc(var(--rp-toolbar-edge) + var(--rp-dashboard-header-height)) !important; width: min(296px,calc(100vw - 48px)) !important; height: calc(100dvh - var(--rp-toolbar-edge) - var(--rp-dashboard-header-height)) !important; display: flex !important; flex-flow: column nowrap !important; align-items: stretch !important; overflow: hidden !important; padding: 10px 12px !important; z-index: 80 !important; }
  #rp-assoc-app.rp-i1-app.rp-dashboard-shell.rp-i1-sidebar-collapsed > .rp-dash-sidebar { display: none !important; }
  #rp-assoc-app.rp-i1-app.rp-dashboard-shell > .rp-dash-sidebar > nav { max-height: none !important; max-width: 100% !important; overflow: auto !important; overscroll-behavior: contain !important; }
  #rp-assoc-app.rp-i1-app.rp-dashboard-shell .rp-dash-sidebar .rp-dash-nav { flex-flow: column nowrap !important; width: 100% !important; }
  #rp-assoc-app.rp-i1-app.rp-dashboard-shell .rp-shell-nav-close { display: inline-flex !important; position: absolute !important; right: 4px !important; top: 4px !important; width: 44px !important; height: 44px !important; align-items: center !important; justify-content: center !important; border: 1px solid #c9d9ea !important; border-radius: 7px !important; background: white !important; color: #122941 !important; font-size: 24px !important; }
  #rp-assoc-app.rp-i1-app.rp-dashboard-shell .rp-dash-brand { padding-right: 34px !important; }
}
