/* V5.1.213 — Écran atelier : retard visible toutes entités + lignes clôturées compactes. */
@keyframes workshopLatePulse51213{0%,100%{box-shadow:inset 0 0 0 2px rgba(205,28,20,.20)}50%{box-shadow:inset 0 0 0 4px rgba(239,48,35,.82)}}
@keyframes workshopLateText51213{0%,100%{opacity:1}50%{opacity:.25}}
#content .production-tv-row-5194.production-tv-overdue-51213{border-color:#df2c22!important;animation:workshopLatePulse51213 1.05s ease-in-out infinite}
#content .production-tv-late-badge-51213{display:inline-flex!important;align-items:center;justify-content:center;width:max-content;max-width:100%;margin-top:4px;padding:4px 9px;border-radius:999px;background:#c92219;color:#fff!important;font-size:10px!important;line-height:1.15;font-weight:950!important;letter-spacing:.02em;white-space:nowrap;animation:workshopLateText51213 .8s ease-in-out infinite}
#content .production-tv-project-5194:has(.production-tv-late-badge-51213){display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
#content .workshop-closed-state-51213{display:inline-flex;width:max-content;margin-top:3px;padding:3px 7px;border-radius:999px;background:#173020;color:#fff;font-size:9px;line-height:1.1;font-weight:950;letter-spacing:.03em}
#content .production-tv-row-5194.workshop-closed-compact-51213{position:relative}
#content .production-tv-row-5194.workshop-closed-compact-51213 .production-tv-head-5194{padding-right:94px}
#content .workshop-closed-toggle-51213{position:absolute;right:10px;top:10px;z-index:8;height:30px;padding:0 9px;border:1px solid var(--entity-line,#cfd9cf);border-radius:8px;background:#fff;color:var(--entity-dark,#173020);font:inherit;font-size:10px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;gap:5px;box-shadow:0 2px 7px rgba(25,50,29,.08)}
#content .workshop-closed-toggle-51213:hover{background:var(--entity-soft,#f7faf5)}
#content .production-tv-row-5194.workshop-closed-compact-51213.collapsed-workshop-51213{grid-template-rows:48px!important;min-height:62px!important;height:62px!important;align-self:start}
#content .production-tv-row-5194.workshop-closed-compact-51213.collapsed-workshop-51213>.operator-progress-track,
#content .production-tv-row-5194.workshop-closed-compact-51213.collapsed-workshop-51213>.operator-stage-strip{display:none!important}
#content .production-tv-row-5194.workshop-closed-compact-51213:not(.collapsed-workshop-51213){grid-template-rows:48px 8px minmax(34px,1fr)!important;min-height:108px!important;height:auto!important}
@media(max-width:1500px){#content .production-tv-late-badge-51213{font-size:9px!important;padding:3px 7px}#content .production-tv-row-5194.workshop-closed-compact-51213 .production-tv-head-5194{padding-right:84px}.workshop-closed-toggle-51213{right:7px;top:7px;padding:0 7px}}
