/* TangoEra prototype-track radar card (R4).
 * Companion to /assets/prototype-radar.js — see that file for usage.
 * Scoped to .prototype-radar so it can never restyle existing article markup.
 */

.prototype-radar {
  margin: 40px 0 10px;
  padding: 26px 24px 22px;
  background: #16171A;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
}

.prototype-radar__eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9AA3AE;
}

.prototype-radar__title {
  margin: 8px 0 6px;
  font-size: 20px;
  line-height: 1.35;
  color: #E8E9EB;
}

.prototype-radar__lede {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #B9BEC6;
}

.prototype-radar__figure {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.prototype-radar__canvas-wrap {
  position: relative;
  flex: 0 0 280px;
  width: 280px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  /* R6-4 CLS guard: reserve the square even before aspect-ratio is honoured; the
     script hides this wrap entirely below 160px and falls back to the axis list. */
  min-height: 200px;
}

.prototype-radar__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.prototype-radar__key {
  flex: 1 1 240px;
  min-width: 220px;
}

.prototype-radar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 10px;
  font-size: 13px;
  color: #B9BEC6;
}

.prototype-radar__legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: middle;
}

.prototype-radar__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.prototype-radar__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.prototype-radar__list li:last-child {
  border-bottom: 0;
}

.prototype-radar__axis {
  color: #E8E9EB;
}

.prototype-radar__pole {
  font-size: 13px;
  color: #8E959E;
  text-align: right;
}

.prototype-radar__list li.is-key .prototype-radar__axis {
  color: #7FA8E0;
  font-weight: 600;
}

.prototype-radar__list li.is-key .prototype-radar__pole {
  color: #C9CDD3;
}

.prototype-radar__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #8E959E;
}

.prototype-radar__cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #5C85C0;
  color: #0F1012;
  font-weight: 600;
  text-decoration: none;
}

.prototype-radar__cta:hover,
.prototype-radar__cta:focus {
  background: #7FA8E0;
}

@media (max-width: 640px) {
  .prototype-radar {
    padding: 20px 16px 18px;
  }

  .prototype-radar__canvas-wrap {
    flex: 1 1 100%;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
