:root {
  --stage20-ink: #071b2c;
  --stage20-mint: #54e0b5;
  --stage20-blue: #4ca8ff;
  --stage20-gold: #f2bd62;
  --stage20-red: #f17d7d;
  --stage20-line: #d8e4e8;
}

.stage20-accountability {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(84,224,181,.12), transparent 34%),
    radial-gradient(circle at 88% 7%, rgba(76,168,255,.11), transparent 30%),
    var(--stage20-ink);
}

.stage20-accountability::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.stage20-accountability > .container { position: relative; z-index: 1; }

.stage20-accountability__header {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 24px;
}

.stage20-accountability__header h2 {
  max-width: 820px;
  margin: 12px 0 0;
  font-size: clamp(2rem,4vw,4rem);
  line-height: 1.04;
  color: #fff;
}

.stage20-accountability__header > p,
.stage20-release-status p,
.stage20-panel-heading p {
  color: #bfd0d8;
  line-height: 1.65;
}

.stage20-release-status {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 20px;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(12px);
}

.stage20-release-status strong { display: block; color: #fff; margin-bottom: 3px; }
.stage20-release-status p { margin: 0; }

.stage20-status-dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--stage20-gold);
  box-shadow: 0 0 0 5px rgba(242,189,98,.13);
}

.stage20-release-status.is-pass .stage20-status-dot {
  background: var(--stage20-mint);
  box-shadow: 0 0 0 5px rgba(84,224,181,.13);
}

.stage20-release-status.is-fail .stage20-status-dot { background: var(--stage20-red); }

.stage20-kpis {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stage20-kpi {
  min-height: 118px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.07);
}

.stage20-kpi strong {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-family: Manrope,sans-serif;
  font-size: clamp(1.6rem,3vw,2.6rem);
  line-height: 1;
}

.stage20-kpi span { display: block; color: #bfd0d8; line-height: 1.35; font-size: .9rem; }

.stage20-headlines,
.stage20-explorer,
.stage20-coverage,
.stage20-method {
  margin-top: 24px;
  border-radius: 18px;
}

.stage20-headlines,
.stage20-coverage {
  padding: 22px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.12);
}

.stage20-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
  margin-bottom: 18px;
}

.stage20-panel-heading span,
.stage20-toolbar-label,
.stage20-ranking-card__head span,
.stage20-map-card__top span,
.stage20-method__kicker {
  color: var(--stage20-mint);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.stage20-panel-heading strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-family: Manrope,sans-serif;
  font-size: 1.32rem;
}

.stage20-panel-heading p { max-width: 580px; margin: 0; }

.stage20-headline-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.stage20-headline-card {
  min-height: 215px;
  padding: 18px;
  border-radius: 14px;
  border-top: 4px solid var(--stage20-mint);
  color: var(--stage20-ink);
  background: #fff;
}

.stage20-headline-card--network { border-top-color: var(--stage20-blue); }

.stage20-headline-card__type {
  display: block;
  min-height: 34px;
  color: #607680;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.stage20-headline-card h3 {
  margin: 10px 0 12px;
  color: #0b3d4e;
  font-family: Manrope,sans-serif;
  font-size: 1.32rem;
}

.stage20-headline-card__metric { display: flex; align-items: baseline; gap: 7px; margin-bottom: 9px; }
.stage20-headline-card__metric strong { color: #0b3d4e; font-family: Manrope,sans-serif; font-size: 2rem; }
.stage20-headline-card__metric span { color: #607680; font-size: .82rem; }
.stage20-headline-card p { margin: 0; color: #50656f; line-height: 1.5; font-size: .9rem; }

.stage20-explorer {
  overflow: hidden;
  color: var(--stage20-ink);
  background: #f7fafb;
  border: 1px solid rgba(255,255,255,.2);
}

.stage20-explorer__toolbar {
  display: grid;
  grid-template-columns: minmax(330px,1fr) minmax(330px,1fr) minmax(210px,.55fr);
  gap: 16px;
  align-items: end;
  padding: 18px 20px;
  border-bottom: 1px solid var(--stage20-line);
  background: #fff;
}

.stage20-toolbar-label { display: block; margin-bottom: 8px; color: #54707d; }

.stage20-tabs { display: flex; gap: 6px; flex-wrap: wrap; }

.stage20-tabs button {
  border: 1px solid #cbd9de;
  border-radius: 999px;
  padding: 9px 13px;
  background: #f5f8f9;
  color: #254553;
  font: inherit;
  font-size: .83rem;
  font-weight: 750;
  cursor: pointer;
}

.stage20-tabs button:hover,
.stage20-tabs button:focus-visible { border-color: #5b8797; outline: none; }

.stage20-tabs button[aria-selected="true"] {
  border-color: var(--stage20-ink);
  background: var(--stage20-ink);
  color: #fff;
}

.stage20-tabs button:disabled {
  cursor: not-allowed;
  color: #899aa2;
  background: #edf2f4;
  border-style: dashed;
}

.stage20-search span {
  display: block;
  margin-bottom: 8px;
  color: #54707d;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.stage20-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd9de;
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--stage20-ink);
  background: #fff;
  font: inherit;
}

.stage20-search input:focus { border-color: #4f8599; outline: 3px solid rgba(76,168,255,.15); }

.stage20-explorer__layout {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr);
  min-height: 670px;
}

.stage20-map-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--stage20-line);
  background: #e9f0f2;
}

.stage20-map-card__top,
.stage20-ranking-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--stage20-line);
  background: #fff;
}

.stage20-map-card__top strong,
.stage20-ranking-card__head strong {
  display: block;
  margin-top: 4px;
  color: #143b4a;
  font-family: Manrope,sans-serif;
  font-size: 1.05rem;
}

.stage20-map-card__top .framework-badge { color: #fff; }

.stage20-map-frame {
  width: 100%;
  min-height: 540px;
  flex: 1 1 auto;
  border: 0;
  background: #dae5e9;
}

.stage20-map-note {
  margin: 0;
  padding: 11px 15px;
  border-top: 1px solid var(--stage20-line);
  color: #607680;
  background: #f8fbfc;
  font-size: .79rem;
  line-height: 1.5;
}

.stage20-ranking-card { display: flex; min-width: 0; flex-direction: column; background: #fff; }
.stage20-ranking-card__head > span { color: #607680; letter-spacing: normal; text-transform: none; }

.stage20-table-wrap { flex: 1 1 auto; overflow: auto; max-height: 550px; }

.stage20-table { width: 100%; border-collapse: collapse; font-size: .81rem; }

.stage20-table th,
.stage20-table td {
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2eaed;
}

.stage20-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #425d69;
  background: #edf3f5;
  font-size: .71rem;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.stage20-table tbody tr { cursor: pointer; }
.stage20-table tbody tr:hover,
.stage20-table tbody tr:focus-within,
.stage20-table tbody tr.is-selected { background: #eaf8f3; }
.stage20-table td strong { color: #103d4d; }

.stage20-rank {
  display: inline-grid;
  place-items: center;
  min-width: 29px;
  height: 29px;
  border-radius: 50%;
  color: #153e4d;
  background: #e5f1f4;
  font-weight: 850;
}

.stage20-coverage-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 8px;
  color: #254553;
  background: #e9f0f2;
  font-size: .71rem;
  font-weight: 800;
  line-height: 1.2;
}

.stage20-coverage-chip[data-coverage="STRONG_COMMUNITY_FACING_EVIDENCE"] { color: #0a5c45; background: #d8f4e9; }
.stage20-coverage-chip[data-coverage="SOME_COMMUNITY_FACING_EVIDENCE"] { color: #225d7a; background: #dceef9; }
.stage20-coverage-chip[data-coverage="FREEWAY_DOMINATED_EVIDENCE"] { color: #704f13; background: #f8ebc9; }
.stage20-coverage-chip[data-coverage="INSUFFICIENT_EVIDENCE"],
.stage20-coverage-chip[data-coverage="NO_COMMUNITY_FACING_MONITORING"] { color: #626e73; background: #e8edef; }

.stage20-ranking-foot {
  min-height: 58px;
  padding: 12px 16px;
  border-top: 1px solid var(--stage20-line);
  color: #5e747e;
  background: #f8fbfc;
  font-size: .79rem;
  line-height: 1.55;
}

.stage20-coverage-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}

.stage20-coverage-card {
  padding: 18px;
  border-radius: 14px;
  color: var(--stage20-ink);
  background: #fff;
}

.stage20-coverage-card h3 { margin: 0 0 13px; color: #103d4d; font-family: Manrope,sans-serif; }

.stage20-coverage-card__bar {
  display: flex;
  overflow: hidden;
  height: 13px;
  margin-bottom: 15px;
  border-radius: 999px;
  background: #e7edef;
}

.stage20-coverage-card__bar span { display: block; height: 100%; }
.stage20-segment--strong { background: #36b98b; }
.stage20-segment--some { background: #4ca8ff; }
.stage20-segment--freeway { background: #f2bd62; }
.stage20-segment--insufficient { background: #aab7bd; }

.stage20-coverage-card dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 0;
  font-size: .83rem;
}

.stage20-coverage-card dt { color: #5f747e; }
.stage20-coverage-card dd { margin: 0; color: #173f4e; font-weight: 800; }

.stage20-method {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr);
  gap: 20px;
  padding: 24px;
  color: var(--stage20-ink);
  background: #fff;
}

.stage20-method h3 { margin: 7px 0 17px; color: #103d4d; font-family: Manrope,sans-serif; }

.stage20-method-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}

.stage20-method-card {
  padding: 14px;
  border: 1px solid var(--stage20-line);
  border-radius: 12px;
  background: #f6f9fa;
}

.stage20-method-card strong { display: block; margin-bottom: 5px; color: #174554; }
.stage20-method-card p { margin: 0; color: #607680; font-size: .83rem; line-height: 1.5; }

.stage20-downloads { padding-left: 20px; border-left: 1px solid var(--stage20-line); }

.stage20-downloads a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--stage20-line);
  color: #174554;
  font-weight: 750;
  text-decoration: none;
}

.stage20-downloads a:hover,
.stage20-downloads a:focus-visible { color: #087b60; }
.stage20-downloads a span { color: #778a92; font-size: .72rem; letter-spacing: .07em; }

.stage20-empty { padding: 24px !important; color: #607680; cursor: default; }

@media (max-width: 1180px) {
  .stage20-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .stage20-headline-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stage20-explorer__toolbar { grid-template-columns: 1fr 1fr; }
  .stage20-search { grid-column: 1 / -1; }
  .stage20-explorer__layout { grid-template-columns: 1fr; }
  .stage20-map-card { border-right: 0; border-bottom: 1px solid var(--stage20-line); }
}

@media (max-width: 760px) {
  .stage20-accountability__header,
  .stage20-method { grid-template-columns: 1fr; }
  .stage20-accountability__header { gap: 18px; }
  .stage20-kpis,
  .stage20-headline-grid,
  .stage20-coverage-grid,
  .stage20-method-grid,
  .stage20-explorer__toolbar { grid-template-columns: 1fr; }
  .stage20-panel-heading { display: block; }
  .stage20-panel-heading p { margin-top: 10px; }
  .stage20-downloads { padding-left: 0; padding-top: 18px; border-left: 0; border-top: 1px solid var(--stage20-line); }
  .stage20-map-frame { min-height: 450px; }
  .stage20-table { min-width: 650px; }
}
