/* Страница Jivo */
.jivo-view-switch{margin:0;align-self:end;flex:none}
.jivo-table-scroll{overflow:auto;max-height:min(70vh,760px)}
.jivo-small-scroll{max-height:min(48vh,480px)}
#jivo-statuses,#jivo-tags{border-collapse:separate;border-spacing:0;min-width:0;overflow:visible}
#jivo-metrics .daily-metric-label > span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.45}
.jivo-report-scroll{container-type:inline-size}
#jivo-metrics .daily-group-controls{position:sticky;left:0;min-width:0;width:calc(100cqw - 2px);max-width:100%}
#jivo-metrics .daily-group-toggle{gap:8px;padding:8px 12px}
#jivo-metrics .daily-group-toggle small{font-size:10px}
#jivo-metrics .daily-performance-heat-1,#jivo-metrics .daily-performance-heat-2{background:#fbebed!important;color:#974b53!important}
#jivo-metrics .daily-performance-heat-3,#jivo-metrics .daily-performance-heat-4{background:#fcf3e1!important;color:#876834!important}
#jivo-metrics .daily-performance-heat-5,#jivo-metrics .daily-performance-heat-6{background:#f5f7e8!important;color:#60764d!important}
#jivo-metrics .daily-performance-heat-7,#jivo-metrics .daily-performance-heat-8,#jivo-metrics .daily-performance-heat-9{background:#e5f4e9!important;color:#356c50!important}
#jivo-metrics tbody td{font-weight:600}
.jivo-kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:10px;padding:4px 2px 14px}
.jivo-kpi{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dce7f4;border-radius:12px;background:#fbfdff;padding:10px 14px;font-size:11.5px;font-weight:700;color:#6b7f96}
.jivo-kpi b{color:#2b4c6e;font-size:14px;font-weight:850}
/* Условное форматирование: зелёный / жёлтый / красный как в отчёте первой линии */
.jivo-heat-good{background:#dff7e5!important;color:#13793a!important;font-weight:800}
.jivo-heat-warning{background:#fff5d9!important;color:#805c14!important;font-weight:800}
.jivo-heat-low{background:#ffe7e7!important;color:#a23b3b!important;font-weight:800}
#jivo-statuses th,#jivo-statuses td,#jivo-tags th,#jivo-tags td{padding:7px 10px;font-size:12px;text-align:center;vertical-align:middle;border-bottom:1px solid #e3edf8}
#jivo-statuses thead th,#jivo-tags thead th{position:sticky;top:0;z-index:2;background:#276ee8;color:#fff;font-weight:800;box-shadow:inset 0 -1px 0 #1e56b4}
#jivo-statuses tbody th,#jivo-tags tbody th{text-align:left;font-weight:700;color:#2b4c6e;background:#fbfdff}
.jivo-sort-button{display:inline-flex;align-items:center;gap:4px;background:none;border:0;color:inherit;font:inherit;font-weight:800;cursor:pointer;padding:0}
.jivo-sort-button b{opacity:.65;font-weight:800}
.jivo-sort-button.active b{opacity:1}
@media(max-width:900px){.jivo-kpis{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}
