  #t47quicklinks {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 0.88rem;
    color: #222;
  }

  /* =========================================================
     CLASS 1: WIDE LAYOUT PILL STYLE (t47q_citeQL1)
     ========================================================= */
  .t47q_citeQL1 {
    display: block;
    padding: 2px 7px;
    background: #f0f4f8;
    color: #0056b3;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.82rem;
    white-space: nowrap;
    text-align: center;
    transition: background-color 0.15s ease;
  }

  .t47q_citeQL1:hover {
    background: #e0e8f0;
    text-decoration: none;
  }

  .t47q_desktop-top-bar .t47q_citeQL1 {
    display: inline-block;
  }

  /* =========================================================
     CLASS 2: MOBILE POP-UP PLAIN TEXT STYLE (t47q_citeQL2)
     ========================================================= */
  .t47q_citeQL2 {
    color: #0056b3;
    text-decoration: none;
    font-size: 0.82rem;
    padding: 2px 0;
  }

  .t47q_citeQL2:hover {
    text-decoration: underline;
  }

  /* =========================================================
     1. DESKTOP BASELINE (> 639px) — HTML TABLES
     ========================================================= */
  .t47q_desktop-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .t47q_mobile-nav {
    display: none;
  }

  .t47q_desktop-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
  }

  /* OUTER TABLE STYLES */
  table.t47q_outer-nav-table { 
    max-width: 667px;
    table-layout: fixed;
  }
  table.t47q_outer-nav-table td { 
    padding: 0;
    margin: 0;
    padding-bottom: 1px;
    vertical-align: middle;
  }

  .t47q_nav-title, .t47q_nav-title-link {
    font-weight: bold;
    font-size: 0.85rem;
    color: #333;
  }

  .t47q_nav-title-link {
    color: #0056b3;
    text-decoration: none;
  }

  .t47q_nav-title-link:hover {
    text-decoration: underline;
  }

  /* =========================================================
     2. PHONE / POP-UP MENU (< 640px)
     ========================================================= */
  @media (max-width: 639px) {
    .t47q_desktop-nav {
      display: none;
    }

    .t47q_mobile-nav {
      display: block;
      border: none;
      background: transparent;
    }

    .t47q_mobile-menu-drawer {
      border: none;
    }

    .t47q_mobile-menu-drawer > summary {
      padding: 3px 0;
      background: transparent;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }

    .t47q_mobile-menu-drawer > summary::-webkit-details-marker {
      display: none;
    }

    .t47q_always-visible-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .t47q_mobile-menu-drawer > summary::after {
      content: "\2630  More";
      font-weight: bold;
      font-size: 0.82rem;
      color: #004085;
      background: #e0e8f0;
      padding: 3px 9px;
      border-radius: 4px;
      margin-left: 10px;
      white-space: nowrap;
    }

    .t47q_mobile-menu-drawer[open] > summary::after {
      content: "X Close";
    }

    .t47q_menu-content {
      padding: 8px 0 6px 0;
      background: transparent;
      border-top: 1px solid #eee;
      margin-top: 6px;
    }

    .t47q_nav-group {
      border-bottom: 1px solid #eee;
      padding: 6px 0;
    }

    .t47q_nav-group:last-child {
      border-bottom: none;
    }

    .t47q_group-header {
      display: block;
      font-weight: 600;
      font-size: 0.90rem;
      color: #333;
      padding: 2px 0 3px 0;
    }

    a.t47q_group-header {
      color: #0056b3;
      text-decoration: none;
    }

    a.t47q_group-header:hover {
      text-decoration: underline;
    }

    .t47q_nested-links {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px 8px;
      padding-left: 1.5rem;
      margin-top: 3px;
    }
  }
