/* Smart tools grid (block 31) — "unified matrix": equal-weight feature cells in one bordered
 * surface, hairline-divided into a 5x2 grid. Custom visuals here; layout via tw: utilities on
 * the block. Brand colour via brand hex (resource-CSS convention, like logo-strip.css /
 * report-banner.css). Every cell is identical — no size hierarchy, no grouping.
 */
.st-chip {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
}
.st-chip img { width: 26px; height: 26px; object-fit: contain; }

.st-matrix {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: #E6E8EF;                       /* divider colour shows through the 1px gaps */
  border: 1px solid #E6E8EF; border-radius: 24px; overflow: hidden;
  box-shadow: 0 14px 40px -24px rgba(15, 26, 79, 0.18);
}
@media (max-width: 991px) { .st-matrix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .st-matrix { grid-template-columns: 1fr; } }

.st-matrix-cell {
  background: #fff; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .18s ease;
}
.st-matrix-cell:hover { background: #F3F4F7; } /* line-muted */

/* one soft brand tint per column (consistent vertical bands at 5-wide) */
.st-matrix > .st-matrix-cell:nth-child(5n+1) .st-chip { background: #FFE7DD; }
.st-matrix > .st-matrix-cell:nth-child(5n+2) .st-chip { background: #DFEAFB; }
.st-matrix > .st-matrix-cell:nth-child(5n+3) .st-chip { background: #DFF1E5; }
.st-matrix > .st-matrix-cell:nth-child(5n+4) .st-chip { background: #FEF7E7; }
.st-matrix > .st-matrix-cell:nth-child(5n+5) .st-chip { background: #E9F1FE; }
