/* Intervention workflow v2 — compact summary and explicit light-mode actions. */
:root[data-tetra-theme="light"] body[data-interventions="v2"] .sx-hero-actions .k-btn[href="/tetrahedron/analytics/risk-dashboard/"]{
  border-color:#9ed7fb!important;
  background:#e8f6ff!important;
  color:#176b9d!important;
  box-shadow:0 6px 16px rgba(42,147,211,.10)!important;
}
:root[data-tetra-theme="light"] body[data-interventions="v2"] .sx-hero-actions .k-btn[href="/tetrahedron/analytics/risk-dashboard/"]:hover{
  border-color:#42b5f5!important;
  background:#d9f1ff!important;
  color:#0e5a87!important;
}

body[data-interventions="v2"] .sx-summary{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
body[data-interventions="v2"] .sx-summary-card{
  min-height:68px;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  column-gap:11px;
  row-gap:1px;
  padding:10px 12px;
  border-radius:14px;
}
body[data-interventions="v2"] .sx-summary-v{
  grid-column:1;
  grid-row:1 / 3;
  min-width:28px;
  font-size:22px;
}
body[data-interventions="v2"] .sx-summary-k{
  grid-column:2;
  grid-row:1;
  align-self:end;
  font-size:9.5px;
  line-height:1.2;
}
body[data-interventions="v2"] .sx-summary-meta{
  grid-column:2;
  grid-row:2;
  align-self:start;
  overflow:hidden;
  font-size:9px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

@media(max-width:980px){
  body[data-interventions="v2"] .sx-summary-meta{display:none}
  body[data-interventions="v2"] .sx-summary-card{
    min-height:60px;
    grid-template-rows:1fr;
  }
  body[data-interventions="v2"] .sx-summary-v,
  body[data-interventions="v2"] .sx-summary-k{
    grid-row:1;
    align-self:center;
  }
}
@media(max-width:620px){
  body[data-interventions="v2"] .sx-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
