:root {
  color-scheme: light;
  font: 100%/1.55 system-ui, sans-serif;
  color: #192936;
  background: #eef3f6;
  --accent: #194b67;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 58rem); margin: 2.5rem auto 4rem; }
header {
  background: #12354b;
  color: white;
  padding: clamp(1.5rem, 5vw, 3.25rem);
  border-radius: 1rem;
  margin-bottom: 1rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; margin-bottom: 0; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.course { color: #cce2f0; margin-bottom: .5rem; }
.panel, .question { background: white; border: 1px solid #d5e0e7; border-radius: .85rem; padding: clamp(1rem, 4vw, 2rem); }
#ingreso { max-width: 32rem; }
form { display: grid; gap: .55rem; }
form[hidden] { display: none; }
#consulta { margin-top: 1rem; }
label { font-weight: 650; }
input, button { font: inherit; border-radius: .45rem; }
input { padding: .65rem .8rem; border: 1px solid #778d9c; width: 100%; margin-bottom: .45rem; }
button { background: var(--accent); color: white; padding: .65rem 1rem; border: 1px solid var(--accent); font-weight: 650; cursor: pointer; }
button:disabled { opacity: .7; cursor: wait; }
.secondary { background: white; color: var(--accent); }
:focus-visible { outline: 3px solid #347ab1; outline-offset: 3px; }
#mensaje { color: #9b252d; margin: .65rem 0 0; }
#mensaje:empty { display: none; }
.result-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.result-heading h2 { margin: 0; }
.metrics { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 1rem; }
.metrics span, .metrics strong { display: block; }
.metrics strong { font-size: 1.65rem; font-variant-numeric: tabular-nums; }
#aviso { margin: .8rem 0 0; }
.question { margin-top: 1rem; }
.item {
  margin-top: .75rem;
  border-radius: .5rem;
  background: var(--tint, #f1f3f4);
  border-inline-start: .3rem solid var(--status, #546571);
  padding: .85rem 1rem;
}
.full { --tint: #e8f5ed; --status: #20643b; }
.review { --tint: #fff0f0; --status: #922f35; }
.item-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; color: var(--status, #435664); font-weight: 700; }
.prompt { margin: .45rem 0; white-space: pre-line; }
summary { cursor: pointer; color: var(--accent); font-weight: 650; }
.rubric { margin-top: .6rem; }
.rubric p { margin: .4rem 0 0; overflow-wrap: anywhere; }
@media (max-width: 35rem) { main { margin-top: 1rem; } }
