/* Consortium Vault v0.56 – Admin System Readiness Monitor */

.cv-system-readiness {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 80px;
}

.cv-system-panel {
  border: 1px solid rgba(89, 211, 140, 0.22);
  background:
    radial-gradient(circle at 12% 12%, rgba(89,211,140,0.12), transparent 30%),
    rgba(255,255,255,0.045);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(0,0,0,0.36);
  backdrop-filter: blur(16px);
  padding: 24px;
}

.cv-system-kicker {
  color: #8ff0b4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 950;
  margin-bottom: 9px;
}

.cv-system-title {
  color: #f5f1e8;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.cv-system-text {
  color: rgba(245,241,232,0.70);
  line-height: 1.6;
  max-width: 950px;
  margin-bottom: 18px;
}

.cv-system-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.cv-system-button,
.cv-system-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 38px !important;
  border-radius: 999px !important;
  padding: 9px 13px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(255,255,255,0.055) !important;
  color: rgba(245,241,232,0.86) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.cv-system-button.gold,
.cv-system-link.gold {
  background: linear-gradient(135deg, #d4af37, #8f6f16) !important;
  color: #080808 !important;
}

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

.cv-system-check {
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(0,0,0,0.22);
  border-radius: 18px;
  padding: 15px;
}

.cv-system-check-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.cv-system-check-name {
  color: #f5f1e8;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.cv-system-badge {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.cv-system-badge.ok {
  background: linear-gradient(135deg, #59d38c, #2c8a55);
  color: #06100a;
}

.cv-system-badge.warn {
  background: linear-gradient(135deg, #d4af37, #8f6f16);
  color: #080808;
}

.cv-system-badge.fail {
  background: linear-gradient(135deg, #ff8a8a, #8f2d2d);
  color: #080808;
}

.cv-system-detail {
  color: rgba(245,241,232,0.62);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cv-system-summary {
  margin-top: 16px;
  border: 1px solid rgba(212,175,55,0.20);
  background: rgba(212,175,55,0.055);
  border-radius: 16px;
  padding: 13px 14px;
  color: rgba(245,241,232,0.76);
  font-size: 13px;
  line-height: 1.5;
}

.cv-system-summary strong {
  color: #f2d675;
}

@media (max-width: 1050px) {
  .cv-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cv-system-readiness {
    width: calc(100% - 18px);
    margin: 18px auto 70px;
  }

  .cv-system-panel {
    padding: 16px;
    border-radius: 18px;
  }

  .cv-system-grid {
    grid-template-columns: 1fr;
  }

  .cv-system-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cv-system-button,
  .cv-system-link {
    width: 100% !important;
  }
}
