.pqa-subnav-wrap {
    display: none;
    position: sticky;
    top: 52px;
    z-index: 99;
    background: #fff;
    border-bottom: 2px solid #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0;
    box-sizing: border-box;
  }
  /* App owner only — Overview · Revenue · Pipeline · Tenders · Grants · Panels · Analytics · Operations */
  body.pqa-owner-bar .pqa-subnav-wrap { display: block; }
  /* Never on role desks (organization, supplier, …) even if the owner is signed in */
  body[class*="pqa-on-dash-"] .pqa-subnav-wrap,
  body.pqa-role-desk .pqa-subnav-wrap { display: none !important; }
  .pqa-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px !important;
    gap: 0;
    min-height: 0;
  }
  .pqa-subnav .dash-tab {
    display: inline-flex;
    align-items: center;
    margin: 0;
    background: none;
    border: none;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    padding: 6px 8px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.15;
  }
  .pqa-subnav .dash-tab:hover { color: #0f172a; background: #f8fafc; }
  .pqa-subnav .dash-tab.active { color: #0a66c2; border-bottom-color: #0a66c2; }
  .pqa-subnav .dash-dd { position: relative; display: inline-flex; }
  .pqa-subnav .dash-dd-menu {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 230px;
    max-height: min(70vh, 520px);
    overflow: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15,23,42,.12);
    z-index: 80;
    padding: .35rem 0;
  }
  .pqa-subnav .dash-dd:hover .dash-dd-menu,
  .pqa-subnav .dash-dd:focus-within .dash-dd-menu,
  .pqa-subnav .dash-dd.is-open .dash-dd-menu { display: block; }
  .pqa-subnav .dd-group {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: .5rem .85rem .15rem;
  }
  .pqa-subnav .dash-dd-menu a {
    display: block;
    padding: .4rem .85rem;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
  }
  .pqa-subnav .dash-dd-menu a:hover { background: #f8fafc; color: #0a66c2; }
  .pqa-subnav .dash-dd-menu a.is-here { color: #0a66c2; background: #eff6ff; }
  .pqa-ternav-wrap {
    display: none;
    position: sticky;
    top: 96px;
    z-index: 98;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 44px;
    padding: 6px 0 0 0 !important;
    margin: 0 !important;
  }
  body.pqa-on-tenders .pqa-ternav-tenders,
  body.pqa-on-grants .pqa-ternav-grants,
  body.pqa-on-panels .pqa-ternav-panels,
  body.pqa-on-dash-organization .pqa-ternav-dash-organization,
  body.pqa-on-dash-professional .pqa-ternav-dash-professional,
  body.pqa-on-dash-supplier .pqa-ternav-dash-supplier,
  body.pqa-on-dash-recruiter .pqa-ternav-dash-recruiter,
  body.pqa-on-dash-skilled-migrant .pqa-ternav-dash-skilled-migrant,
  .pqa-ternav-wrap.is-visible { display: block; }
  body.pqa-owner-bar .pqa-ternav-wrap { top: 52px; }
  .pqa-ternav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 0 16px !important;
    gap: 0;
    min-height: 44px;
  }
  .pqa-ternav .dash-tab {
    display: inline-flex;
    align-items: center;
    margin: 0;
    background: none;
    border: none;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    padding: 6px 8px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.15;
  }
  .pqa-ternav .dash-tab:hover { color: #0f172a; background: #fff; }
  .pqa-ternav .dash-tab.active { color: #0a66c2; border-bottom-color: #0a66c2; }
