/* Passive area/provider alerts are retired. Manual CQ active notice remains. */
.p2-cq.threshold,
.p2-cq.exhausted {
  display: none !important;
}

/* Old provider-cycle presentation is retired. */
.cq-overview-head,
.traffic-cycle-card {
  display: none !important;
}

/* "Provider state" table column is no longer relevant. */
.traffic-router-table th:nth-child(7),
.traffic-router-table td:nth-child(7) {
  display: none !important;
}

.astra-usage-r1 {
  margin: 16px 0;
}

.astra-usage-r1-head {
  margin-bottom: 12px;
}

.astra-usage-r1-head h3 {
  margin: 0;
}

.astra-usage-r1-head p {
  margin: 4px 0 0;
}

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

.astra-usage-r1-card {
  border: 1px solid var(--border, #d7e0e8);
  border-radius: 14px;
  background: var(--card, #fff);
  padding: 16px;
}

.astra-usage-r1-router {
  font-size: 15px;
  font-weight: 800;
}

.astra-usage-r1-site {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted, #64748b);
}

.astra-usage-r1-total {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.astra-usage-r1-label {
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted, #64748b);
}

.astra-usage-r1-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.astra-usage-r1-split div {
  border-top: 1px solid var(--border, #e2e8f0);
  padding-top: 8px;
}

.astra-usage-r1-split span {
  display: block;
  font-size: 10px;
  color: var(--muted, #64748b);
}

.astra-usage-r1-split strong {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .astra-usage-r1-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .astra-usage-r1-grid {
    grid-template-columns: 1fr;
  }
}


/*
 * R1F2 — RouterBoard selector is operational navigation, not provider-limit UI.
 * Keep the clickable selector cards, while retiring provider cycle gauges,
 * percentage meters, thresholds and provider-state badges.
 */
.cq-router-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.cq-router-grid::before {
  content: "Select RouterBoard";
  grid-column: 1 / -1;
  display: block;
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text, #17263b);
}

.cq-router-card {
  min-height: 0 !important;
  padding: 12px 14px !important;
  text-align: left;
}

.cq-router-card .cq-gauge-wrap,
.cq-router-card .cq-progress,
.cq-router-card .cq-cycle-dates,
.cq-router-card .cq-no-cycle {
  display: none !important;
}

/* Last item in the card header is the retired provider-state badge. */
.cq-router-card .cq-router-head > :last-child {
  display: none !important;
}

.cq-router-card .cq-router-head {
  margin-bottom: 10px !important;
}

.cq-router-card .cq-router-foot {
  margin-top: 0 !important;
  padding-top: 8px !important;
}

.cq-router-card.selected {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

@media (max-width: 1100px) {
  .cq-router-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cq-router-grid {
    grid-template-columns: 1fr;
  }
}
