/* Herramientas de Muévela: complementa styles.css (calc-grid, calc-form, colilla, field, row2, choices, aviso).
   Solo usa los tokens de color de :root, así que respeta el modo oscuro del sitio. */

.hz-check label { font-weight: 400; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.hz-check input { accent-color: var(--verde); width: auto; }

.hz-range { width: 100%; accent-color: var(--verde); padding: 0; border: 0; background: transparent; }
.field label output { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums;
  background: var(--marker); color: var(--marker-ink); padding: 0 6px; margin-left: 6px; border-radius: 2px; }

/* Documento generado (carta de renuncia, cuenta de cobro) */
.hz-doc { background: var(--sheet); border: 1px solid var(--line); border-radius: 2px; padding: 18px 16px; margin-top: 8px;
  max-height: 70vh; overflow: auto; }
.hz-doc-text { margin: 0; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif; font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.hz-letras { font-size: var(--step--1); color: var(--muted); margin-top: 10px; }
.hz-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.hz-actions .btn { font-size: var(--step--1); padding: 10px 14px; cursor: pointer; }
.hz-msg { font-size: var(--step--1); color: var(--verde); font-weight: 700; }

/* Tracker del salario mínimo 2027 */
.hz-oficial { border: 2px dashed var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--sheet); display: grid; gap: 6px; margin-block: 8px 24px; }
.hz-oficial .hz-k { font-size: var(--step--1); color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.hz-oficial .hz-big { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1.1; }
.hz-oficial[data-estado="pendiente"] .hz-big { color: var(--muted); }

/* Impresión: solo el documento generado (herramientas.js lo copia en #hz-print) */
#hz-print { display: none; }
@media print {
  body.hz-printing > *:not(#hz-print) { display: none !important; }
  body.hz-printing #hz-print { display: block; }
  body.hz-printing { background: #fff; }
  #hz-print .hz-doc-text { color: #000; font-size: 12pt; line-height: 1.5; white-space: pre-wrap; }
  @page { margin: 2.5cm; }
}
