    body {
      background-color: #0d1117;
      /* Darker, slightly blue-tinted background */
      color: #c9d1d9;
      /* Softer text color */
      font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      line-height: 1.6;
    }

    html {
      scroll-behavior: smooth;
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 10px;
    }

    ::-webkit-scrollbar-track {
      background: #0d1117;
    }

    ::-webkit-scrollbar-thumb {
      background: #30363d;
      border-radius: 5px;
      border: 2px solid #0d1117;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: #484f58;
    }

    /* Layout Wrapper */
    .layout {
      display: flex;
      max-width: 1400px;
      /* Slightly wider for modern screens */
      margin: 0 auto;
      padding: 2rem;
      gap: 3rem;
      align-items: flex-start;
    }

    /* Sidebar Navigation */
    .sidebar-nav {
      flex: 0 0 280px;
      position: sticky;
      top: 2rem;
      max-height: calc(100vh - 4rem);
      overflow-y: auto;
      background-color: #161b22;
      padding: 1.5rem;
      border-radius: 12px;
      border: 1px solid #30363d;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .sidebar-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .sidebar-nav li {
      margin-bottom: 0.25rem;
    }

    /* Main categories */
    .sidebar-nav>ul>li>a {
      font-weight: 600;
      color: #e6edf3;
      display: block;
      margin-top: 1.25rem;
      margin-bottom: 0.5rem;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .sidebar-nav>ul>li:first-child>a {
      margin-top: 0;
    }

    /* Sub-items */
    .sidebar-nav ul ul {
      padding-left: 0.75rem;
      margin-top: 0.25rem;
      border-left: 2px solid #30363d;
      margin-left: 0.5rem;
    }

    .sidebar-nav ul ul li a {
      font-weight: 400;
      font-size: 0.9rem;
      color: #8b949e;
      padding: 4px 12px;
      border-radius: 6px;
      margin-bottom: 2px;
      transition: all 0.2s ease;
    }

    .sidebar-nav a {
      text-decoration: none;
      transition: color 0.2s;
      display: block;
    }

    .sidebar-nav ul ul li a:hover {
      color: #58a6ff;
      background-color: rgba(88, 166, 255, 0.1);
    }

    .sidebar-nav ul ul li a.active {
      color: #58a6ff;
      font-weight: 500;
      background-color: rgba(88, 166, 255, 0.15);
      border-right: none;
    }

    /* Main Content Area */
    .glossary-content {
      flex: 1;
      min-width: 0;
    }

    .glossary-container {
      max-width: 100%;
      margin: 0;
      padding-bottom: 50vh;
    }

    /* Target Highlight */
    .glossary-item:target {
      animation: highlight 2s ease-out;
      border-color: #58a6ff;
      box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.3);
    }

    @keyframes highlight {
      0% {
        background-color: #1f242c;
      }

      100% {
        background-color: #161b22;
      }
    }

    /* Responsive */
    .mobile-menu-btn,
    .menu-overlay {
      display: none;
    }

    @media (max-width: 900px) {
      .menu-overlay {
        display: block;
      }

      .layout {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
      }

      .mobile-menu-btn {
        display: flex;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1000;
        background-color: rgba(22, 27, 34, 0.8);
        backdrop-filter: blur(10px);
        border: 1px solid #30363d;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      }

      .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        background-color: #e6edf3;
        border-radius: 10px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
        margin: 3px 0;
      }

      .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg);
      }

      .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
      }

      .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg);
      }

      .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
      }

      .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
      }

      .sidebar-nav {
        flex: none;
        width: 280px;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        max-height: 100vh;
        background-color: #161b22;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 5rem;
        border-radius: 0;
        border-right: 1px solid #30363d;
      }

      .sidebar-nav.mobile-open {
        transform: translateX(0);
      }

      .glossary-container {
        padding: 0;
      }

      .search-glossary {
        position: sticky;
        top: 1rem;
        margin-bottom: 1.5rem;
      }

      .nav-buttons {
        flex-wrap: wrap;
      }

      .nav-buttons .btn {
        width: 48%;
        flex: 1;
        box-sizing: border-box;
      }
    }


    #glossary-title {
      text-align: center;
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 2rem;
      color: #e6edf3;
      letter-spacing: -0.02em;
    }

    /* Interactive Elements Focus Defaults */
    :focus-visible {
      outline: 2px solid #58a6ff;
      outline-offset: 4px;
      border-radius: 4px;
    }

    /* Nav Buttons */
    .nav-buttons {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-bottom: 2rem;
      padding-bottom: 2rem;
      max-width: 600px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    .nav-buttons .btn {
      width: auto;
      min-width: 180px;
      flex: 1;
      text-align: center;
      text-decoration: none;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      transition: all 0.2s ease;
      border: 1px solid transparent;
      display: inline-block;
      box-sizing: border-box;
      color: #fff;
      font-weight: 600;
      font-size: 1rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-buttons .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .btn-warning {
      background-color: #161b22;
      border: 1px solid #30363d;
      color: #e6edf3 !important;
    }

    .btn-warning:hover {
      background-color: #1f242c;
      border-color: #8b949e;
    }

    .btn-primary {
      background-color: #238636;
      border: 1px solid rgba(240, 246, 252, 0.1);
    }

    .btn-primary:hover {
      background-color: #2ea043;
    }

    /* Search Form - Glassmorphism */
    .search-glossary {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-bottom: 2rem;
      position: sticky;
      top: 2rem;
      z-index: 50;
      background: rgba(22, 27, 34, 0.75);
      /* Semi-transparent */
      backdrop-filter: blur(12px);
      /* Glass effect */
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
      padding: 4px;
      border-radius: 12px;
      gap: 0;
      width: 100%;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      border: 1px solid rgba(240, 246, 252, 0.1);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    }

    .search-glossary.hidden {
      transform: translateY(-200%);
      opacity: 0;
      pointer-events: none;
    }

    .search-glossary label {
      display: none;
    }

    /* SVG Icon */
    .search-glossary svg {
      width: 20px;
      height: 20px;
      fill: #8b949e;
      margin-left: 16px;
      margin-right: 12px;
    }

    .search-glossary input[type="text"] {
      flex: 1;
      background-color: transparent;
      border: none;
      color: #e6edf3;
      padding: 0.75rem 0.5rem 0.75rem 0;
      border-radius: 0;
      font-size: 1rem;
      outline: none;
      box-shadow: none;
      height: 32px;
      min-width: 0;
    }

    .search-glossary:focus-within {
      background: rgba(22, 27, 34, 0.95);
      border-color: #58a6ff;
      box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .search-glossary:focus-within svg {
      fill: #58a6ff;
    }

    /* Search Controls */
    .search-controls {
      display: flex;
      align-items: center;
      padding-right: 8px;
    }

    .search-nav-btn {
      background: none;
      border: none;
      color: #8b949e;
      cursor: pointer;
      padding: 6px 10px;
      font-size: 0.9rem;
      border-radius: 6px;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 2px;
    }

    .search-nav-btn:hover {
      background-color: rgba(255, 255, 255, 0.1);
      color: #e6edf3;
    }

    #search-submit {
      color: #58a6ff;
      font-weight: 600;
      padding: 6px 14px;
      background: rgba(88, 166, 255, 0.1);
    }

    #search-submit:hover {
      background-color: rgba(88, 166, 255, 0.2);
    }

    /* Glossary Items */
    .glossary {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .glossary-item {
      padding: 1.75rem;
      background-color: #161b22;
      border-radius: 12px;
      border: 1px solid #30363d;
      margin-bottom: 0.5rem;
      transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s, border-color 0.2s;
    }

    .glossary-item:not(.section-divider):hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
      border-color: #8b949e;
    }

    /* Section Divider Style */
    .glossary-item.section-divider {
      background-color: transparent;
      padding-left: 0;
      border: none;
      border-bottom: 2px solid #30363d;
      border-radius: 0;
      margin-top: 2rem;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
    }

    .glossary-item.section-divider:hover {
      transform: none;
      box-shadow: none;
      border-color: #30363d;
    }

    .glossary-item.section-divider .headline {
      font-size: 1.75rem;
      color: #e6edf3;
      margin-bottom: 0;
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    /* Headlines and Terms */
    .glossary-item .headline,
    .glossary-item dl {
      font-size: 1.25rem;
      font-weight: 600;
      margin-top: 0;
      margin-bottom: 0.75rem;
      color: #e6edf3;
      display: block;
    }

    /* Descriptions */
    .glossary-item dd {
      margin-left: 0;
      font-size: 1rem;
      line-height: 1.65;
      font-weight: 400;
      color: #8b949e;
    }

    .glossary-item a {
      color: #58a6ff;
      text-decoration: none;
      transition: color 0.2s;
    }

    .glossary-item a:hover {
      text-decoration: underline;
      color: #79c0ff;
    }

    /* Link anchor style */
    .glossary-item>a {
      text-decoration: none;
      margin-right: 0.5rem;
      opacity: 0.5;
      font-size: 1.1rem;
      vertical-align: middle;
      transition: opacity 0.2s;
    }

    .glossary-item:hover>a {
      opacity: 1;
    }

    /* Active Search Result Highlight */
    .active-search-result {
      border: 2px solid #58a6ff !important;
      box-shadow: 0 0 20px rgba(88, 166, 255, 0.4) !important;
    }

    /* Text Highlight for Search Matches */
    mark {
      background-color: rgba(210, 153, 34, 0.4);
      /* Subtler gold/orange highlight */
      color: #e6edf3;
      padding: 0 2px;
      border-radius: 2px;
      font-weight: inherit;
    }