/* Линия Р3 (ответы работодателя 98, 104, 112 от 20.10.2026): карточка «Рейтинг продавца», отклонения отгрузки в заказе менеджера
   (seller-rating-ui.js) и окно «Часы работы» по группам ПН–ПТ / СБ / ВС (work-hours-ui.js). Три вида (classic, minimal, crm):
   кликабельное — не меньше 44 × 44 px, промежутки — 8 px; без цветных полос слева; цвета — переменные классического оформления. */

:is(#app, body) .kbtn.srate-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; white-space: normal; text-align: center; }
.srate { margin: 0 0 12px; }
.srate--order { margin: 8px 0; }
.srate__top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 8px 0; }
.srate__big { font-size: 36px; font-weight: 700; line-height: 1; min-width: 72px; text-align: center; padding: 12px 8px; border: 1px solid var(--k-line-soft, #dcdad5); border-radius: 8px; }
.srate__shares { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 0; }
.srate__shares dt { color: var(--k-muted, #6b6b6b); }
.srate__shares dd { margin: 0; font-weight: 600; }
.srate__kinds { max-width: 560px; }
.srate__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.srate__acts > .kmini { flex: 1 1 200px; }
.srate__removed td { color: var(--k-muted, #6b6b6b); }
.srate__devs td { vertical-align: middle; overflow-wrap: anywhere; }

/* окно «Часы работы» */
.wh-groups { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.wh-group { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(110px, 1fr) minmax(110px, 1fr); gap: 8px; align-items: end; margin: 0; padding: 8px; border: 1px solid var(--k-line-soft, #dcdad5); border-radius: 6px; }
.wh-group legend { font-weight: 600; padding: 0 4px; }
.wh-open { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.wh-open input { width: 20px; height: 20px; }
.wh-time { display: flex; flex-direction: column; gap: 4px; }
.wh-time input { min-height: 44px; box-sizing: border-box; width: 100%; }
.wh-note { margin: 4px 0 0; }

@media (max-width: 600px) {
  .srate__top { gap: 8px; }
  .srate__shares { grid-template-columns: 1fr; gap: 2px; }
  .srate__shares dd { margin-bottom: 6px; }
  .wh-group { grid-template-columns: 1fr 1fr; }
  .wh-group .wh-open { grid-column: 1 / -1; }
  .srate__devs th:nth-child(3), .srate__devs td:nth-child(3) { display: none; }
}
