/* ===== Экран «Загрузка» ===== */
.load-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-bottom: 12px; }
.load-legend span { display: inline-flex; align-items: center; gap: 6px; }
.load-legend i.load-cell { display: inline-block; width: 16px; height: 16px; border-radius: 4px; }
.load-card { padding: 0; overflow: hidden; }
.load-scroll { overflow-x: auto; }
.load-table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; }
.load-table th, .load-table td { padding: 0; border-bottom: 1px solid var(--border); }
.load-name {
  position: sticky; left: 0; z-index: 2; background: var(--surface); text-align: left;
  min-width: 230px; max-width: 260px; padding: 6px 12px !important; border-right: 1px solid var(--border);
}
.load-day { width: 38px; min-width: 38px; text-align: center; font-weight: 600; font-size: 12.5px; padding: 6px 0 !important; }
.load-day.weekend { color: var(--muted); }
.load-day.today { background: var(--accent-soft); }
.load-total { padding: 6px 12px !important; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }
.load-toggle { all: unset; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; cursor: pointer; }
.load-toggle[disabled] { cursor: default; }
.load-toggle.open .load-arrow { transform: rotate(90deg); display: inline-block; }
.load-cell { height: 36px; text-align: center; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; border-left: 1px solid var(--surface); cursor: default; }
.load-cell.free { background: var(--ok-soft); color: var(--ok); }
.load-cell.part { background: #cdeed9; color: #12673a; }
.load-cell.full { background: #8fd6aa; color: #0c4a29; }
.load-cell.over { background: var(--danger-soft); color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.load-cell.off { background: var(--grey-soft); color: var(--muted); }
.load-cell.today { outline: 2px solid var(--accent); outline-offset: -2px; }
.load-sub .load-name { padding-left: 46px !important; font-weight: 500; }
.load-tasks { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.load-subcell { text-align: center; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ===== Отчёты ===== */
.report-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.report-filters p { margin: 0; }
.report-filters select { min-width: 220px; }
.report-filters p:first-child .picker-field { width: 260px; }
.report-filters .report-download { margin-left: auto; }
/* Имена в первой колонке — обычным текстом, а не как заголовки таблицы */
.load-table tbody th { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 550; color: var(--text, inherit); }
.load-table .load-sub th { font-weight: 500; font-size: 13px; }
.report-filters .picker-field { width: 170px; }
