/* Planning de la semaine et tableau des tâches. */
.plan-nav { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.plan-nav b { min-width: 13rem; text-align: center; }
.plan-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.plan { border-collapse: collapse; min-width: 900px; width: 100%; table-layout: fixed; }
.plan th, .plan td { border-bottom: 1px solid var(--line); border-inline-start: 1px solid var(--line); padding: .35rem; vertical-align: top; }
.plan th:first-child, .plan td:first-child { position: sticky; inset-inline-start: 0; background: var(--surface); width: 170px; border-inline-start: 0; z-index: 1; }
.plan thead th { font-size: .82rem; font-weight: 600; text-align: center; }
.plan th.off, .plan td.off { background: color-mix(in srgb, var(--warn-soft) 55%, var(--surface)); }
.plan td.cell { min-height: 64px; cursor: pointer; }
.plan td.cell:hover { background: color-mix(in srgb, var(--brand) 6%, var(--surface)); }
.plan td.cell:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.shift { display: block; width: 100%; margin: 0 0 .25rem; padding: .2rem .35rem; border-radius: 6px; border: 0; background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 600; text-align: start; min-height: 0; }
.shift small { display: block; font-weight: 400; color: var(--muted); }
.leave-chip { display: block; padding: .2rem .35rem; border-radius: 6px; background: var(--warn-soft); color: var(--warn); font-size: .76rem; font-weight: 600; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; align-items: start; }
.board-col { background: color-mix(in srgb, var(--line) 35%, var(--paper)); border-radius: 12px; padding: .6rem; min-height: 120px; }
.board-col h2 { font-size: .95rem; display: flex; justify-content: space-between; margin: 0 0 .5rem; }
.task { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .7rem; margin-bottom: .5rem; }
.task.late { border-inline-start: 4px solid var(--bad); }
.task.haute b::before { content: "● "; color: var(--bad); }
.task .row { margin-top: .4rem; gap: .3rem; }
.warning-note { border-inline-start: 4px solid var(--warn); }
@media (max-width: 820px) { .board { grid-template-columns: minmax(0, 1fr); } }
