/* sirh_tps_colpla.css — Planning prévisionnel : vue Année */

/* Neutralise les règles responsive globales (tr en flex-column, max-content...) */
#table-calendar-annee {
	display: table !important;
	table-layout: auto !important;
	width: 100% !important;
	max-width: none !important;
	border-collapse: collapse !important;
	margin: 0 !important;
}

#table-calendar-annee thead { display: table-header-group !important; }
#table-calendar-annee tbody { display: table-row-group !important; }

#table-calendar-annee tr {
	display: table-row !important;
	flex-direction: unset !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
}

#table-calendar-annee th,
#table-calendar-annee td {
	display: table-cell !important;
	vertical-align: middle !important;
	text-align: center;
	min-width: 0 !important;
	max-width: none !important;
	border: none;
	border-bottom: 1px solid #B3C7E3;
}

/* Répartition : colonne "jour" 4%, les 12 mois 8% chacun */
#table-calendar-annee thead tr:nth-child(2) th:first-child,
#table-calendar-annee tbody tr > td:first-child {
	width: 4%;
}

#table-calendar-annee thead tr:nth-child(2) th:not(:first-child),
#table-calendar-annee td.case-jour-td {
	width: 8%;
}

/* Ligne titre : ‹ 2026 › */
#table-calendar-annee thead tr:first-child th {
	height: 40px;
	padding: 0;
	border-bottom: 1px solid #B3C7E3;
}

#table-calendar-annee .year-nav-arrow span {
	display: inline-block;
	cursor: pointer;
	font-size: 18px;
}

#table-calendar-annee .year-nav-title span {
	font-weight: bold;
	font-size: 15px;
}

/* Séparateurs verticaux entre les mois */
#table-calendar-annee thead tr:nth-child(2) th:not(:first-child),
#table-calendar-annee td.case-jour-td {
	border-left: 1px solid #B3C7E3;
	border-right: 1px solid #B3C7E3;
}

#table-calendar-annee thead tr:nth-child(2) th:last-child,
#table-calendar-annee td.case-jour-td:last-child {
	border-right: none;
}

/* Cases jour */
#table-calendar-annee td.case-jour-td {
	padding: 0;
	height: 32px;
}

#table-calendar-annee td.case-jour-td > span {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 32px;
	line-height: 1.3;
	font-size: 10px;
	color: #1e294e;
	padding: 3px 2px;
	text-align: center;
	white-space: pre-line;
	word-break: break-word;
	box-sizing: border-box;
}