/* Measures — tool-specific styles. Shared styles live in assets/css/. */

.suite-chrome-activity h1 { color: var(--mod-razonamiento); }
.btn:not(.btn-secondary):not(.btn-audio) { background: var(--mod-razonamiento); }
.instruction { font-size: var(--texto-base); }
.center-row { justify-content: center; }

.difficulty {
  font-size: var(--texto-pequeno);
  color: var(--color-texto-suave, #666);
}




#screenLevels h2 { text-align: center; color: var(--mod-razonamiento); }
#btnBackToMenu { align-self: center; }

/* Color-coded legend text (parts painted / parts total) */
.digit-u { color: var(--mod-coordinacion); }
.digit-d { color: var(--mod-secuencia); }

.card { border-color: var(--mod-razonamiento-suave); }
.prompt { font-weight: 700 }
.visual { display: flex; flex-direction: column; align-items: center; gap: var(--espacio); }
.legend { font-size: var(--texto-pequeno); font-weight: 700; }
.hint { color: var(--color-texto-suave); font-size: var(--texto-base); }

/* Measurements */
.measure-picto { font-size: 64px; }
.measure-text { font-size: var(--texto-grande); font-weight: 800; }

/* Answer options */
.options .option-btn { text-align: center; font-size: 26px; }

.emoji-large { font-size: 96px; }
#screenEnd { padding-top: 48px; }
#screenEnd .btn { align-self: center; min-width: 280px; }
#screenEnd .transfer {
  margin: 8px auto 24px;
  font-size: 1.1rem;
  color: var(--color-texto-suave, #555);
  max-width: 480px;
}

/* ---- The ladder of units ----
   Drawn as real steps, each one indented a little more than the one above,
   with the ×10 written in the gap between rungs. The ten is what makes
   "how many steps" and "times what" countable instead of remembered. */
.ladder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  min-height: 150px;
  justify-content: center;
}
.rung {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.2rem 0.5rem;
  border: 2px solid var(--color-borde);
  border-radius: 8px;
  background: var(--color-superficie);
}
/* The rungs in the question carry an arrow as well as a heavier outline,
   so they are never picked out by colour alone (WCAG 1.4.1). */
.rung.is-marked {
  border-color: var(--color-texto);
  border-width: 3px;
  font-weight: 700;
}
.rung-mark { font-size: 0.9rem; }
.rung-symbol {
  min-width: 2.2rem;
  font-size: 1rem;
  font-weight: 700;
}
.rung-name { font-size: 0.85rem; }
.rung-gap {
  margin-left: 1.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}
