.micro-nav-container {
      position: sticky;
      top: 0;
      z-index: 100;
      background-color: var(--paper);
      border-bottom: 1px solid var(--line);
      height: 64px; 
    }

    /* Dashboard Layout */
    .dashboard-layout {
      display: flex;
      align-items: stretch;
      min-height: calc(100vh - 64px);
      background-color: var(--paper);
    }
    
    /* Sidebar matching the design tokens */
    .sidebar-container {
      width: 200px;
      flex-shrink: 0;
      padding: 2rem 1rem;
      background-color: var(--surface);

      position: sticky;
      top: 64px; 
      height: calc(100vh - 64px);
      overflow: hidden;
    }

    .sidebar-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .sidebar-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 1rem;
      text-decoration: none;
      color: var(--muted);
      border-radius: var(--radius-md);
      transition: background-color 0.2s, color 0.2s;
      font-family: var(--font-sans);
      font-weight: 500;
      font-size: 0.875rem;
    }

    .hamburger-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--ink);
      padding: 0.25rem;
      margin-right: 0.75rem;
    }
    @media (max-width: 680px) {
      .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute; /* Pulls the icon out of the flow */
        left: 1.5rem;
      }

      .sidebar-container {
        position: fixed;
        left: -100%;
        z-index: 90;
        transition: left 0.3s ease-in-out;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
      }
      .sidebar-container.open {
        left: 0;
      }
      .micro-nav {
        position: relative;
        justify-content: center; /* Centers the child elements */
        width: 100%;
      }

      /* Center the logo container */
      .nav-left {
        width: 100%;
        display: flex;
        justify-content: center;
      }

      /* Ensure the logo itself doesn't have stray margins */
      .nav-brand {
        margin: 0 auto;
      }

    }

    .sidebar-link:hover {
      background-color: var(--signal-soft);
      color: var(--ink);
    }

    .sidebar-link.active {
      background-color: var(--line);
      font-weight: 600;
      color: var(--ink);
    }

    .app-main {
      flex: 1;
      min-width: 0;
      padding: 3rem 4rem;
      background-color: var(--paper);
    }

    .app-main h1 {
      font-family: var(--font-display);
      font-size: 2.25rem;
      color: var(--ink);
    }

    @media (max-width: 680px) {
      .app-main { padding: 2rem 1.5rem; }
    }
