/*
 * The Spanish page only (es/index.html loads this sheet last; the English page never does). Spanish runs longer than
 * English, so the few parts drawn to the English words' size get a little less size or a little more room here.
 * Colors, type and every other rule stay those of ../style.css.
 */

/* The one word a sheet writes: the stamp on the signed report. */
.report-card.signed::after { content: 'Firmado'; }

/* The bar. "Trabajando" and "Fuera de turno" are longer than "At work" and "Off shift": on a phone the pill is set a
   little tighter, and under 390 wide its running time gives its place to "Entrar". */
.pill-state { white-space: nowrap; }
@media (max-width: 480px) {
  .bar { gap: 8px; padding-inline: 14px 5px; }
  .pill { gap: 6px; padding-inline: 10px 11px; font-size: 12px; }
  .pill-time { font-size: 12px; }
}
@media (max-width: 389.98px) { .pill-time { display: none; } }
/* Wide: "Control de asistencia" stays on one line, and the row closes up where the bar is at its narrowest. */
@media (min-width: 900px) { .bar-nav a { white-space: nowrap; } }
@media (min-width: 900px) and (max-width: 1099.98px) {
  .bar { gap: 12px; }
  .bar-nav { gap: 16px; font-size: 14px; }
  .bar-cta { padding-inline: 16px; font-size: 14px; }
}

/* The headline. Its Spanish lines are about a quarter longer: on a phone it takes four lines at this size, and on a
   wide screen its three lines stay inside the page's own width. */
@media (max-width: 699.98px) { .hero-claim { font-size: clamp(34px, 10.3vw, 52px); } }
@media (min-width: 700px) { .hero-claim { --claim: clamp(56px, 8.1vw, 110px); } }

/* The drawn Clock screen: "Registrar salida" and "Iniciar pausa" side by side. */
.lineup .console-btns .ui-btn { padding-inline: 6px; font-size: 13px; }

/* "What else is in there": the Spanish names are longer, so on a wide screen the list runs in two columns, not three. */
@media (min-width: 900px) { .say-b > .tags { grid-template-columns: repeat(2, minmax(0, max-content)); } }

/* The signed report on a phone: "Firmado" is stamped one line lower, clear of the longer title. */
@media (max-width: 520px) { .report-card.signed::after { top: 60px; } }

/* The report's list of what was tried: where "sin probar todavía" has no room beside its line, it goes under it whole,
   level with the words and not with the box. */
.report-tasks li.todo { position: relative; flex-wrap: wrap; gap: 0 0.3em; padding-inline-start: 27px; }
.report-tasks li.todo i { position: absolute; inset-inline-start: 0; top: 1px; }
.report-tasks li.todo a { white-space: nowrap; }
