/**
 * QA-2026-05-18-02 — Listas staff: tabla en desktop, tarjetas en móvil (smoke desde celular).
 */
@media (max-width: 767.98px) {
	.staff-list-mob table thead {
		display: none;
	}

	.staff-list-mob table tbody tr {
		display: block;
		margin-bottom: 0.75rem;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 0.5rem;
		background: #fff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	}

	.staff-list-mob table tbody tr.staff-list-mob-empty {
		box-shadow: none;
		border: none;
		background: transparent;
	}

	.staff-list-mob table tbody tr.staff-list-mob-empty td {
		display: block;
		padding: 0.75rem;
		text-align: center;
	}

	.staff-list-mob table tbody tr.staff-list-mob-empty td::before {
		display: none;
	}

	.staff-list-mob table tbody td {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: space-between;
		gap: 0.35rem 0.75rem;
		border: none;
		padding: 0.4rem 0.75rem;
		text-align: right;
	}

	.staff-list-mob table tbody td::before {
		content: attr(data-label);
		font-weight: 600;
		font-size: 0.72rem;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		color: #6c757d;
		text-align: left;
		flex: 0 0 auto;
		max-width: 42%;
	}

	.staff-list-mob table tbody td.staff-list-mob-title {
		display: block;
		font-size: 1.05rem;
		font-weight: 600;
		padding-top: 0.65rem;
		padding-bottom: 0.5rem;
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
		text-align: left;
	}

	.staff-list-mob table tbody td.staff-list-mob-title::before {
		display: none;
	}

	.staff-list-mob table tbody td.staff-list-mob-actions {
		flex-direction: column;
		align-items: stretch;
		padding-bottom: 0.65rem;
		text-align: left;
	}

	.staff-list-mob table tbody td.staff-list-mob-actions::before {
		display: block;
		width: 100%;
		max-width: none;
		margin-bottom: 0.25rem;
	}

	.staff-list-mob table tbody td.staff-list-mob-actions .btn,
	.staff-list-mob table tbody td.staff-list-mob-actions a.btn {
		width: 100%;
		margin: 0 0 0.35rem 0 !important;
	}

	.staff-list-mob .table-responsive {
		overflow-x: visible;
	}

	/* Agenda: semana en columna única; mes más compacto */
	#viewRoot .agenda-week-grid {
		grid-template-columns: 1fr;
	}

	#viewRoot .agenda-week-col {
		min-height: auto;
	}

	#viewRoot .agenda-month-grid {
		gap: 1px;
	}

	#viewRoot .agenda-month-cell {
		min-height: 3.5rem;
		font-size: 0.68rem;
		padding: 2px;
	}

	#viewRoot .cita-pill,
	#viewRoot .bloqueo-pill {
		font-size: 0.65rem;
		padding: 0.2rem 0.3rem;
	}
}
