/* The title button stretches across its card; the favorite remains independent. */
.tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tool-card { position: relative; padding: 18px; border-radius: 11px; }
.tool-card:hover { transform: translateY(-2px); border-color: #c7d3f4; }
.tool-card .tool-icon { width: 35px; height: 35px; border-radius: 9px; font-size: 18px; }
.tool-card .favorite { position: relative; z-index: 1; font-size: 20px; padding: 7px; margin: -5px; }
.tool-card .card-label { margin: 12px 0 6px; }
.tool-card h3 { font-size: 16px; margin: 0 0 7px; }
.tool-card p { font-size: 11px; line-height: 1.8; min-height: 40px; }
.tool-launch { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; border: 0; background: transparent; padding: 0; color: inherit; text-align: left; font: inherit; font-weight: inherit; letter-spacing: inherit; }
.tool-launch::after { content: ''; position: absolute; inset: 0; border-radius: 11px; cursor: pointer; }
.tool-launch:focus-visible { outline: none; }
.tool-launch:focus-visible::after { outline: 3px solid #95acf9; outline-offset: 3px; }
.card-arrow { font-size: 14px; color: #a5b1c9; }
.tool-card:hover .card-arrow { color: var(--blue); }
@media (max-width: 1000px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tool-grid { grid-template-columns: 1fr; gap: 12px; } .tool-card { padding: 16px; } .tool-card p { min-height: 0; } }
