
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

    :root {
      --navy: #1e3a5f;
      --brand-blue: #4A7A9D;
      --brand-blue-dark: #3b627e;
      --gold: #c5a35a;
      --gold-dark: #a2864a;
      --ink: #0f172a;
      --muted: #64748b;
      --line: #e2e8f0;
      --bg: #f1f5f9;
      --green: #16a34a;
      --green-bg: #dcfce7;
    }

    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg);
      color: var(--ink);
      -webkit-font-smoothing: antialiased;
    }

    header.page {
      background: linear-gradient(135deg, var(--navy), var(--brand-blue-dark));
      color: #fff;
      padding: 22px 28px;
    }
    header.page h1 {
      margin: 0;
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.4px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    header.page h1 .badge-gold {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      background: var(--gold);
      color: #1a1a1a;
      padding: 3px 8px;
      border-radius: 999px;
    }
    header.page p {
      margin: 6px 0 0;
      font-size: 13px;
      color: rgba(255,255,255,0.8);
      max-width: 880px;
    }

    .wrap { padding: 20px 28px 60px; }

    .toolbar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }
    .seg {
      display: inline-flex;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      overflow: hidden;
    }
    .seg button {
      border: 0;
      background: transparent;
      padding: 8px 14px;
      font: inherit;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      cursor: pointer;
    }
    .seg button.active { background: var(--brand-blue); color: #fff; }
    .seg button + button { border-left: 1px solid var(--line); }

    .search {
      flex: 1 1 240px;
      min-width: 200px;
      padding: 9px 12px;
      border: 1px solid var(--line);
      border-radius: 10px;
      font: inherit;
      font-size: 13px;
      background: #fff;
    }

    .btn {
      border: 0;
      border-radius: 10px;
      padding: 9px 14px;
      font: inherit;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      color: #fff;
    }
    .btn-gold { background: var(--gold-dark); }
    .btn-gold:hover { background: #8f7740; }
    .btn-blue { background: var(--brand-blue); }
    .btn-blue:hover { background: var(--brand-blue-dark); }

    .legend {
      font-size: 12px;
      color: var(--muted);
      margin: 0 0 14px;
    }
    .legend b { color: var(--ink); }

    .count-pill {
      font-size: 12px;
      font-weight: 600;
      color: var(--brand-blue-dark);
      background: #e6eef4;
      border-radius: 999px;
      padding: 4px 10px;
    }

    .table-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 14px;
      overflow: auto;
      box-shadow: 0 1px 2px rgba(15,23,42,0.04);
    }
    table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
    #matrix { table-layout: fixed; min-width: 1100px; }
    #matrix th, #matrix td { overflow-wrap: anywhere; }
    #matrix thead th { white-space: normal; padding: 10px 8px; }
    #matrix td { padding: 10px 8px; }
    #matrix .num, #matrix .tag, #matrix .source-btn { white-space: normal; }
    header.page h1 { flex-wrap: wrap; }
    .company-row th { background: #e6eef4; color: var(--navy); padding: 12px; text-align: left; font-size: 1rem; }
    .matrix-nav { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: .875rem; }
    .matrix-nav a { color: #fff; text-underline-offset: 4px; }
    .matrix-nav [aria-current="page"] { font-weight: 700; }
    .program-notes { white-space: normal; min-width: 240px; max-width: 360px; margin-top: 8px; font-size: 11px; color: var(--muted); }
    .notes-section { margin-top: 2rem; }
    .notes-section h2 { font-size: 1.5rem; }
    .notes-section h3 { font-size: 1rem; margin-bottom: .4rem; }
    .notes-section article { padding: .75rem 0; border-bottom: 1px solid var(--line); }
    .notes-section p { font-size: .875rem; line-height: 1.5; margin-top: 0; }
    thead th {
      position: sticky;
      top: 0;
      background: var(--navy);
      color: #fff;
      text-align: left;
      font-weight: 600;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      padding: 11px 12px;
      white-space: nowrap;
      z-index: 2;
    }
    thead th.center, tbody td.center { text-align: center; }
    tbody td {
      padding: 11px 12px;
      border-top: 1px solid var(--line);
      vertical-align: top;
    }
    tbody tr:nth-child(even) { background: #f8fafc; }
    tbody tr:hover { background: #eef5fb; }

    .lender-name { font-weight: 700; color: var(--ink); }
    .lender-co { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 1px; }
    .source-links { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
    .source-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      border: 1px solid #b8cad8;
      border-radius: 7px;
      background: #fff;
      color: var(--brand-blue-dark);
      padding: 3px 7px;
      font-size: 10.5px;
      font-weight: 700;
      line-height: 1.25;
      text-decoration: none;
      white-space: nowrap;
    }
    .source-btn:hover { background: #e6eef4; border-color: var(--brand-blue); }
    .source-btn::after { content: "↗"; font-size: 10px; }

    .yes {
      display: inline-block;
      min-width: 22px;
      font-weight: 800;
      color: var(--green);
      background: var(--green-bg);
      border-radius: 6px;
      padding: 2px 7px;
    }
    .no { color: #cbd5e1; font-weight: 700; }

    .tag {
      display: inline-block;
      background: #eef2f7;
      color: #334155;
      border-radius: 6px;
      padding: 1px 6px;
      margin: 1px 2px 1px 0;
      font-size: 11px;
      white-space: nowrap;
    }
    .wl {
      display: inline-block;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      color: var(--gold-dark);
      border: 1px solid var(--gold);
      border-radius: 999px;
      padding: 1px 6px;
      margin-left: 6px;
      vertical-align: middle;
    }
    .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
    .muted { color: var(--muted); }
    .states { max-width: 180px; }

    footer.page {
      margin-top: 22px;
      font-size: 11px;
      color: var(--muted);
    }

    @media print {
      header.page { background: #fff !important; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
      header.page h1, header.page p { color: #000; }
      .toolbar { display: none !important; }
      .table-card { border: 0; box-shadow: none; overflow: visible; }
      #matrix { min-width: 0; }
      thead th { background: #1e3a5f !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
      .yes { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
      body { background: #fff; }
      tbody tr:hover { background: transparent; }
      @page { size: landscape; margin: 12mm; }
    }
  
