/* Approved industrial palette, 2026-10-09. Canonical source.
 * staff_ui/industrial_palette.css is an exact deployment mirror; tests enforce equality.
 * Only stage/action colors. Never reuse these rules for statuses or direction charts.
 */
:root {
  --stage-mechatronics-bg:#D1D8DE; --stage-mechatronics-fg:#34424D;
  --stage-mechanics-bg:#B9C0BA; --stage-mechanics-fg:#303E34;
  --stage-electronics-bg:#D8E89A; --stage-electronics-fg:#3D4C13;
  --stage-plastic-bg:#ABD69E; --stage-plastic-fg:#284A21;
  --stage-control-bg:#BFC58D; --stage-control-fg:#41461C;
  --action-preparation-bg:#EBDCC5; --action-preparation-fg:#59452B;
  --action-assembly-bg:#E6B38F; --action-assembly-fg:#653919;
  --action-installation-bg:#CBAF9C; --action-installation-fg:#4D3527;
  --action-wiring-bg:#F1C6B5; --action-wiring-fg:#6C3523;
  --action-check-bg:#F39E95; --action-check-fg:#6B241D;
  --action-adjustment-bg:#D79B7D; --action-adjustment-fg:#592F1A;
  --action-module-bg:#CFA39E; --action-module-fg:#542D29;
}
[data-operation-chip], [data-person-chip="stages"] {
  background:var(--chip-bg,#edf0f5); color:var(--chip-fg,#485367);
}
[data-operation-chip="stage"][data-chip-value="Мехатроника"], [data-person-chip="stages"][data-chip-value="Мехатроника"], .stagePill.stageМехатроника, #stageChoices button[data-chip-value="Мехатроника"]:not(:disabled) { background:var(--stage-mechatronics-bg); color:var(--stage-mechatronics-fg); }
[data-operation-chip="stage"][data-chip-value="Механика"], [data-person-chip="stages"][data-chip-value="Механика"], .stagePill.stageМеханика, #stageChoices button[data-chip-value="Механика"]:not(:disabled) { background:var(--stage-mechanics-bg); color:var(--stage-mechanics-fg); }
[data-operation-chip="stage"][data-chip-value="Электроника"], [data-person-chip="stages"][data-chip-value="Электроника"], .stagePill.stageЭлектроника, #stageChoices button[data-chip-value="Электроника"]:not(:disabled) { background:var(--stage-electronics-bg); color:var(--stage-electronics-fg); }
[data-operation-chip="stage"][data-chip-value="Пластик"], [data-person-chip="stages"][data-chip-value="Пластик"], .stagePill.stageПластик, #stageChoices button[data-chip-value="Пластик"]:not(:disabled) { background:var(--stage-plastic-bg); color:var(--stage-plastic-fg); }
[data-operation-chip="stage"][data-chip-value="Контроль"], [data-person-chip="stages"][data-chip-value="Контроль"], .stagePill.stageКонтроль, #stageChoices button[data-chip-value="Контроль"]:not(:disabled) { background:var(--stage-control-bg); color:var(--stage-control-fg); }
[data-operation-chip="action"][data-chip-value="Подготовка"] { background:var(--action-preparation-bg); color:var(--action-preparation-fg); }
[data-operation-chip="action"][data-chip-value="Сборка"] { background:var(--action-assembly-bg); color:var(--action-assembly-fg); }
[data-operation-chip="action"][data-chip-value="Установка"] { background:var(--action-installation-bg); color:var(--action-installation-fg); }
[data-operation-chip="action"][data-chip-value="Проводка"] { background:var(--action-wiring-bg); color:var(--action-wiring-fg); }
[data-operation-chip="action"][data-chip-value="Проверка"] { background:var(--action-check-bg); color:var(--action-check-fg); }
[data-operation-chip="action"][data-chip-value="Регулировка"] { background:var(--action-adjustment-bg); color:var(--action-adjustment-fg); }
[data-operation-chip="action"][data-chip-value="Модуль"] { background:var(--action-module-bg); color:var(--action-module-fg); }
#stageChoices button[data-chip-value][aria-pressed="true"]:not(:disabled) { border-color:#245ddc; box-shadow:inset 0 0 0 1px #245ddc; }
