/* SHiNOVA v1.6.2 R20
   Desktop-only fixed application frame. The 961px boundary deliberately
   matches the existing tablet/mobile drawer breakpoint in styles.css. */
@media screen and (min-width: 961px) {
  .rf-shell {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 0 0 var(--rf-sidebar-w) !important;
    overflow: hidden !important;
    background: var(--rf-bg);
  }

  .rf-sidebar {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: var(--rf-sidebar-w) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
  }

  .rf-sidebar .nav {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .rf-sidebar .sidebar-user {
    flex: 0 0 auto !important;
    margin-top: auto !important;
  }

  .rf-main {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: none;
    scrollbar-gutter: stable;
  }

  .rf-main > .topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
  }
}
