/* layout.css
 * Extracted from the original inline <style> block.
 * Load order matters: see the <link> order in index.html.
 */
  /* ================= GLOBAL OFF-CANVAS NAVIGATION (hidden on ALL screens) ================= */
    #appShell { display: block !important; min-height: 100dvh; }
    #appSidebar {
      position: fixed; top: 0; left: 0; height: 100dvh;
      width: min(88vw, 21rem); max-width: 21rem;
      z-index: 90; transform: translateX(-100%);
      transition: transform 0.28s ease;
      border-right: 1px solid rgba(255, 255, 255, 0.1);
      border-bottom: 0;
      overflow-y: auto;
    }
    body.nav-open #appSidebar { transform: translateX(0); }
    #navOverlay {
      position: fixed; inset: 0; z-index: 80; display: none;
      background: rgba(3, 5, 12, 0.65);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }
    body.nav-open #navOverlay { display: block; }
    #sidebarNav { display: flex; flex: 1 1 auto; flex-direction: column; gap: 0.25rem; }
    [dir="rtl"] #appSidebar { left: auto; right: 0; transform: translateX(100%); }
    [dir="rtl"] body.nav-open #appSidebar { transform: translateX(0); }

