/* Stonebridge Assessment — estilos de landing y página de resultado (usa tokens de core.css). */

/* ---- Landing ------------------------------------------------------------------ */
.exam-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exam-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.exam-card__head h2 { margin: 0; font-family: var(--font-h); }
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green) center/12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.level-radios {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 12px;
}
.level-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1.5px solid var(--line);
  border-radius: var(--r, 12px);
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  min-width: 74px;
}
.level-option:hover { border-color: var(--blue); }
.level-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.level-option:has(input:checked) {
  border-color: var(--red);
  background: color-mix(in srgb, var(--red) 6%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent);
}
.level-option:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.level-option small { color: var(--slate); }

/* Honeypot: fuera de pantalla pero presente para autocompletado de bots */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Resultado ------------------------------------------------------------------ */
.result__head {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.result__level {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 6px;
}
.lvl--big {
  font-size: 30px;
  font-family: var(--font-h);
  min-width: 76px;
  padding: 10px 16px;
  border-radius: 14px;
}
.result__overall { color: var(--slate); }
.result__radar {
  margin: 0;
  flex: 0 1 300px;
  min-width: 250px;
}
.radar-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-axis { stroke: var(--line); stroke-width: 1; }
.radar-poly {
  fill: color-mix(in srgb, var(--blue) 22%, transparent);
  stroke: var(--blue);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.radar-label {
  font-family: var(--font-h);
  font-size: 12px;
  fill: var(--ink);
}
.skill-card { display: grid; gap: 8px; justify-items: start; }
.skill-card__scale {
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-h);
  line-height: 1;
}
.skill-card--pending_teacher { border-left: 4px solid var(--gold, #B7791F); }
.skill-card--to_schedule { border-left: 4px solid var(--navy); }
.skill-card--graded { border-left: 4px solid var(--green); }
.gate { border-top: 4px solid var(--red); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .level-option, .radar-poly { transition: none; }
}
