/* Use the same content width and gutters on every main page. */
body[data-pf-department] .page-content,
body[data-pf-department] .page-content.cockpit-page,
body[data-pf-department] .pf-tier-wrap{box-sizing:border-box;width:100%;max-width:1680px!important;margin-left:auto!important;margin-right:auto!important}
body[data-pf-department] .page-content.cockpit-page,
body[data-pf-department] .pf-tier-wrap{padding:22px clamp(14px,2.4vw,34px) 36px!important}
body[data-pf-department] .page-content>section,
body[data-pf-department] .pf-tier-wrap>section{min-width:0}
/* Page toolbars and department tabs stay within their content area as labels grow. */
body[data-pf-department] .page-content :is(.planning-toolbar,.dle-toolbar,.service-intro,.calendar-intro,.management-intro,.team-intro,.absence-intro){flex-wrap:wrap;gap:12px 16px}
body[data-pf-department] .page-content :is(.toolbar-right,.calendar-controls,.management-actions){max-width:100%;flex-wrap:wrap}
body[data-pf-department] .page-content .team-tabs{max-width:100%;overflow-x:auto}

/* The TSD production table uses the same readable data scale as planning. */
body[data-pf-department="TSD"] .pf-production-card>header{flex-wrap:wrap;gap:8px 16px}
body[data-pf-department="TSD"] .pf-production-card header small{font-size:12px!important}
body[data-pf-department="TSD"] .pf-production-card header>span,
body[data-pf-department="TSD"] .pf-production-legend span{font-size:12px!important}
body[data-pf-department="TSD"] .pf-production-legend{flex-wrap:wrap}
body[data-pf-department="TSD"] .pf-production-card table{min-width:2100px;font-size:13px!important}
body[data-pf-department="TSD"] .pf-production-card th,
body[data-pf-department="TSD"] .pf-production-card td{height:38px;font-size:13px!important}
body[data-pf-department="TSD"] .pf-production-card tbody th{min-width:145px}

/* The general absence highlight used to overwrite both the full red block
   and the proportionally split work/absence block. */
body[data-pf-department] .printable-planning .assignment.absence-agreement.full-absence{background:#ff5757!important;outline-color:#c54137;color:#571f1d}
body[data-pf-department] .printable-planning .assignment.absence-agreement.partial-absence{background:var(--pf-absence-split)!important;outline-color:#c96b59}
body[data-pf-department] .printable-planning .assignment.full-absence .assignment-time-lines{display:flex!important;align-items:center;justify-content:center;min-height:41px}
body[data-pf-department] .printable-planning .assignment.full-absence .assignment-time-line{display:flex!important;align-items:center;justify-content:center;width:100%;min-width:0}
body[data-pf-department] .printable-planning .assignment.full-absence .assignment-time-line time{display:none!important}
body[data-pf-department] .printable-planning .assignment.full-absence .assignment-time-line b{color:#501e19!important;font-size:14px!important;font-weight:800!important;white-space:normal;text-align:center}
@media(max-width:760px){body[data-pf-department] .page-content.cockpit-page,body[data-pf-department] .pf-tier-wrap{padding:18px 14px 28px!important}}
