/* Vista de impresión: pensada para colgar chuletas en la rebotica. */
@media print {
	@page { margin: 14mm; }

	body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }

	.rebo-cabecera, .rebo-buscador, .rebo-pie, .rebo-ad, .rebo-noprint,
	.rebo-chips, .rebo-comentarios, .rebo-saltar, .rebo-descarga { display: none !important; }

	.rebo-wrap, .rebo-articulo { max-width: none; padding: 0; margin: 0; }

	h1 { font-size: 20pt; }
	h2 { font-size: 14pt; page-break-after: avoid; }
	h3 { page-break-after: avoid; }

	a { color: #000; text-decoration: none; }

	table { display: table; width: 100%; font-size: 10pt; page-break-inside: auto; }
	tr, th, td { page-break-inside: avoid; }
	th, td { border: 1px solid #555 !important; padding: 3pt 5pt; }
	thead th, tbody th { background: #e6e6e6 !important; color: #000 !important; position: static; }
	tbody tr:nth-child(even) { background: none !important; }

	.rebo-revision { border: 1px solid #555; background: none; font-size: 9pt; }

	/* Al pie de lo impreso, dónde volver a mirar. */
	.rebo-contenido::after {
		content: "reboticayconvenio.es — Comprueba siempre la fuente oficial antes de actuar.";
		display: block; margin-top: 12pt; font-size: 8.5pt; color: #444; border-top: 1px solid #999; padding-top: 4pt;
	}
}

/* Registro de horas: al imprimir solo el calendario y los totales */
.rebo-horas__f, .rebo-horas__ajustes label, .rebo-horas__nav .rebo-btn { display: none !important; }
.rebo-horas__rejilla { border-color: #000; background: #000; }
.rebo-horas__dia, .rebo-horas__semana { background: #fff !important; box-shadow: none !important; }
.rebo-horas__dia--festivo { background: #eee !important; }
.rebo-horas__input { border: 0; font-weight: 700; }
