/* «Продвижение → ПФ» (30.11.2026). */
.pf-sync { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 4px 0 16px; }
.pf-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.pf-bar h2 { margin: 0; }
.pf-legend { font-size: 12px; max-width: 980px; }
.grid.pf-products td, .grid.pf-daygrid td { text-align: right; }
.grid.pf-products td.name, .grid.pf-daygrid td.name, .grid td.left { text-align: left; }
.pf-status { display: inline-block; padding: 0 6px; border-radius: 6px; font-size: 11px; white-space: nowrap; }
.pf-status.ok { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.pf-status.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.pf-status.manual { color: var(--accent); background: var(--accent-soft); }
.pf-pair small { display: block; color: var(--muted); font-size: 11px; }
.pf-tasks { margin-top: 24px; }
.pf-tasks summary { cursor: pointer; }
.pf-tasks summary h2 { display: inline; }
.table-wrap { overflow-x: auto; }
/* Шапка без строки групп — прилипает к самому верху (30.11.2026: шапка закрывала первую строку, A6). */
.grid.pf-products thead tr.cols th, .grid.pf-daygrid thead tr.cols th, #tasks thead tr.cols th { top: 0; }
/* График ПФ по дням (30.11.2026). */
.pf-chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px; margin: 8px 0 12px; }
.pf-chart svg { width: 100%; height: auto; display: block; }
.pf-chart .grid-line { stroke: var(--line); }
.pf-chart text { fill: var(--muted); font-size: 10px; }
.pf-chart rect.cut { fill: #9c36b5; fill-opacity: .45; }
.pf-chart rect.cut.bad { fill: var(--bad); }
.pf-chart circle.tok { fill: var(--text); }
.pf-chart rect.hit { fill: transparent; cursor: default; }
.pf-chart rect.hit:hover { fill: color-mix(in srgb, var(--accent) 8%, transparent); }
.pf-chart-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 4px; flex-wrap: wrap; }
.pf-chart-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 4px; vertical-align: -1px; }
