.hero-dot-grid {
    background-image: radial-gradient(circle, #ffffff38 0 1.4px, #0000 1.5px);
    background-size: 22px 22px;
    /* -webkit-mask-image: radial-gradient(72% 72% at 50% 44%, #000 0%, #000000d9 45%, #00000040 78%, #0000 100%); */
    /* mask-image: radial-gradient(72% 72% at 50% 44%, #000, #000000d9 45%, #00000040 78%, #0000); */
}
body {
  min-height: 100vh;
  margin: 0;
  background: #f4f7fb;
  color: #1f2937;
  font-family: "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
.centered {
  width: min(1440px, calc(100% - 2rem));
  margin: auto;
}
.site-main {
  width: min(1440px, calc(100% - 2rem));
  min-height: 80vh;
  margin: 0 auto;
}
.site-footer {
  padding: 2rem 1rem 3rem;
  color: #fff;
  text-align: center;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
}

.site-footer a:hover {
  color: #bae6fd;
}
.hero-gradient {

      background: radial-gradient(64% 50% at 50% 38%, #0369a16b, #07598529 48%, #0000 76%), radial-gradient(140% 130% at 72% 24%, #7dd3fc, #38bdf8 20%, #0ea5e9 42%, #0284c7 66%, #075985);
}

.site-header {
  margin-bottom: 2rem;
  padding: 4rem 1rem 3.5rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #0369a1);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  text-align: left;
}

.hero-copy {
  flex: 1 1 auto;
}

.hero-kicker {
  margin: 0 0 1rem !important;
  color: #bae6fd !important;
  font-size: 0.8rem !important;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-copy h1 {
  margin: 0 0 0.75rem;
}

.hero-copy p:not(.hero-kicker) {
  margin: 0;
}

.taxfree-mark {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fee2e2;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 0 0.5rem;
  filter: drop-shadow(0 6px 10px #0003);
}

.site-header h1 {
  max-width: 800px;
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.site-header p {
  max-width: 680px;
  margin: 0 auto;
  color: #dbeafe;
  font-size: 1.1rem;
}

.oidc-catalog {
  padding-bottom: 2rem;
}

.catalog-count {
  margin: 0 0 0.5rem;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
}

.oidc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  color: #e2e8f0;
  font-size: 0.85rem;
}

.oidc-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Traffic-light dots. One shared rule so the OIDC-support and repo-health
   indicators render identically everywhere (same size, white bezel, ring). */
.oidc-status,
.repo-health {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #0f172a33, 0 1px 3px #0f172a55;
  vertical-align: middle;
}

.oidc-status--built-in,
.repo-health--green {
  background: #22c55e;
}

.oidc-status--extension {
  background: #facc15;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 0.4rem;
  box-shadow: 0 4px 16px #0f172a0d;
}

.filter-label {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-filter {
  padding: 0.45rem 0.8rem;
  color: #475569;
  font: inherit;
  font-size: 0.85rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}

.category-filter:hover,
.category-filter:focus-visible {
  color: #075985;
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.category-filter[aria-pressed="true"] {
  color: #fff;
  background: #0369a1;
  border-color: #0369a1;
}

.category-filter span {
  opacity: 0.75;
}

.catalog-notes {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  color: #334155;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 0.4rem;
}

.catalog-notes h2,
.catalog-notes ul {
  margin-top: 0;
}

.catalog-notes h2 {
  margin-bottom: 0.5rem;
  color: #0c4a6e;
  font-size: 1.1rem;
}

.catalog-notes ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.rejected-section {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.4rem;
}

.rejected-section h2 {
  margin: 0 0 0.5rem;
  color: #991b1b;
  font-size: 1.1rem;
}

.rejected-intro {
  margin: 0 0 0.75rem;
  color: #7f1d1d;
  font-size: 0.9rem;
}

.rejected-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.rejected-item {
  display: grid;
  gap: 0.15rem 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid #fca5a5;
}

.rejected-item dt {
  color: #991b1b;
  font-weight: 700;
}

.rejected-item dt a {
  color: inherit;
  text-decoration: none;
}

.rejected-item dt a:hover,
.rejected-item dt a:focus-visible {
  text-decoration: underline;
}

.rejected-item dd {
  margin: 0;
  color: #7f1d1d;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .rejected-item {
    grid-template-columns: 13rem minmax(0, 1fr);
    align-items: baseline;
  }
}

.category-section {
  margin: 0 0 2rem;
}

.category-section > h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  text-shadow: 0 1px 3px #0f172a66;
  font-size: 1.5rem;
}

.table-wrapper {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 0.4rem;
  box-shadow: 0 4px 16px #0f172a0d;
}

.application-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

/* Wide-screen column layout, scoped to desktop. These nth-child rules set
   widths, centered text, and extra side padding; keeping them behind a
   min-width query means they can never leak into the mobile card layout
   below, which previously needed !important overrides to defeat them. */
@media (min-width: 640px) {
  .application-table {
    min-width: 850px;
    table-layout: fixed;
  }

  .application-table th:nth-child(1),
  .application-table td:nth-child(1) {
    width: 17%;
  }

  .application-table th:nth-child(2),
  .application-table td:nth-child(2) {
    width: 9%;
    text-align: center;
  }

  .application-table th:nth-child(3),
  .application-table td:nth-child(3) {
    width: 7%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    text-align: center;
  }

  .application-table th:nth-child(4),
  .application-table td:nth-child(4) {
    width: 15%;
  }

  .application-table th:nth-child(5),
  .application-table td:nth-child(5) {
    width: 40%;
  }

  .application-table th:nth-child(6),
  .application-table td:nth-child(6) {
    width: 12%;
  }

  .application-table td:nth-child(2),
  .application-table td:nth-child(4) {
    color: #475569;
    font-size: 0.9rem;
  }

  .application-table td:nth-child(6) {
    white-space: nowrap;
  }
}

.application-table th,
.application-table td {
  box-sizing: border-box;
  padding: 1rem;
  vertical-align: top;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #e5e7eb;
}

.application-table thead th {
  color: #475569;
  background: #f8fafc;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.application-table tbody tr:last-child th,
.application-table tbody tr:last-child td {
  border-bottom: 0;
}

.application-table tbody tr:hover {
  background: #f8fbff;
}

.application-name {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 170px;
  color: #0369a1;
  font-weight: 700;
  text-decoration: none;
}

.application-name:hover,
.application-table a:not(.application-name):hover {
  text-decoration: underline;
}

.application-logo {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.license-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #b91c1c;
  font-weight: 700;
}

.license-alert-icon {
  color: #dc2626;
  font-size: 1.1rem;
  line-height: 1;
}

.repo-health--red {
  background: #dc2626;
}

.repo-health--gray {
  background: #94a3b8;
}

.application-table a:not(.application-name) {
  color: #0369a1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 639.98px) {
  .site-header {
    padding: 3rem 1rem 2.5rem;
  }

  .hero-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .taxfree-mark {
    flex-basis: auto;
  }

  .site-logo {
    width: 100px;
  }

  .centered,
  .site-main {
    width: calc(100% - 1rem);
    min-height: 0;
  }

  .category-filters {
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .filter-label,
  .filter-buttons {
    flex-basis: 100%;
  }

  .filter-buttons {
    gap: 0.4rem;
  }

  .category-filter {
    max-width: 100%;
    padding: 0.45rem 0.65rem;
  }

  /* Turn each table row into a readable card instead of forcing a wide
     horizontal table on small screens. The data-label attributes are added
     by the build script so every value keeps its column heading. Desktop
     column rules live behind min-width: 640px, so no !important overrides
     are needed here. */
  .table-wrapper {
    overflow: visible;
  }

  .application-table,
  .application-table thead,
  .application-table tbody,
  .application-table tr,
  .application-table th,
  .application-table td {
    display: block;
  }

  .application-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .application-table tbody {
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .application-table tbody tr {
    height: auto;
    padding: 0.8rem;
    border: 1px solid #dbe3ee;
    border-radius: 0.35rem;
    background: #fff;
  }

  .application-table tbody tr:last-child th,
  .application-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .application-table th,
  .application-table td {
    min-width: 0;
    padding: 0.45rem 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .application-table th {
    margin-bottom: 0.25rem;
    padding-top: 0;
    padding-bottom: 0.75rem;
  }

  .application-table td {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0.75rem;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .application-table td::before {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .application-name {
    min-width: 0;
  }
}
