/* «Позиции в поиске». Таблицы и шапка — из ads/ads.css. */
.pos-note { font-size: 13px; color: var(--muted); max-width: 980px; line-height: 1.45; }
.pos-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.pos-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px; min-width: 140px;
}
.pos-card .muted { font-size: 12px; }
.pos-card b { display: block; font-size: 18px; }
.pos-delta { font-size: 11px; margin-left: 4px; }
.pos-delta.good { color: var(--ads-good); }
.pos-delta.bad { color: var(--ads-bad); }
.pos-far td.pos-cell { color: var(--muted); }
.pos-not-ours td { color: var(--muted); }
.pos-table tr.pos-day td { background: var(--surface-2); font-size: 13px; }
.pos-table td.pos-query { min-width: 240px; max-width: 420px; white-space: normal; }
.pos-journal { font-size: 13px; display: grid; gap: 4px; margin: 0; padding-left: 18px; }
.pos-section h3 { margin: 8px 0; font-size: 15px; }

/* Реклама по запросу, остаток 0, подсказки рейтинга (решение владельца 11.11.2026). */
.pos-table td.pos-ad { color: var(--muted); }
.pos-table td.pos-zero { color: var(--ads-bad); font-weight: 600; }
.pos-gaps { margin: 10px 0; }
details.pos-section > summary { cursor: pointer; margin: 10px 0 6px; font-size: 14px; }

/* Подсказки: наведите мышь — что это и как читать (решение владельца 11.11.2026). */
.pos-table th.has-hint, .ads-table th.has-hint { cursor: help; text-decoration: underline dotted;
  text-underline-offset: 3px; }
.pos-card.has-hint { cursor: help; }
.pos-card.has-hint .muted { text-decoration: underline dotted; text-underline-offset: 3px; }


/* Кнопка «Проверка группы» — ведёт в «Группы товаров» (просьба владельца 19.11.2026). */
.pos-group-btn { margin-left: 12px; }

/* Sellium в «Запросах товара» (01.12.2026): ядро запросов и дорогая оценка ДРР. */
.pos-core { display: inline-block; padding: 0 6px; border-radius: 6px; font-size: 11px;
  background: color-mix(in srgb, var(--accent, #2f6fed) 14%, transparent); color: var(--text); }
td.pos-bad { color: var(--bad); font-weight: 600; }
/* Свои запросы без показов за период — красная плашка, список — в окне (01.12.2026). */
.pos-missing { border: 0; border-radius: 4px; padding: 2px 8px; font: inherit; font-size: 12px; font-weight: 600;
  cursor: pointer; color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.pos-missing:hover { background: color-mix(in srgb, var(--bad) 20%, transparent); }
.pos-missing-list { margin: 0 0 12px; padding-left: 22px; max-height: 50vh; overflow: auto; line-height: 1.6; }
