.tool-group { display: grid; gap: 8px; }
.tool-list { display: grid; gap: 6px; }
.tool-list.compact { gap: 8px; }
.tool-row { display: grid; grid-template-columns: 32px 44px minmax(0, 1fr) auto 22px; gap: 10px; align-items: center; min-height: 56px; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 253, 248, 0.72); transition: border-color .14s ease, background .14s ease; }
.tool-row:hover, .tool-row:focus-within, .tool-row.is-selected { border-color: #aebba6; background: var(--surface); outline: none; }
.tool-row.is-compact { background: #f7f4ee; }
.row-link { display: contents; color: inherit; text-decoration: none; }
.favorite-star { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid transparent; border-radius: 4px; color: #8a6f45; background: transparent; font-size: 1rem; line-height: 1; }
.favorite-star:hover, .favorite-star[aria-pressed="true"], .favorite-toggle[aria-pressed="true"] { border-color: #d3ba8e; color: #202522; background: #f6e7c8; }
.row-icon { display: grid; place-items: center; width: 38px; height: 28px; border-radius: 4px; color: #fff; background: var(--accent, var(--brand)); font-size: 0.72rem; font-weight: 900; }
.row-main { min-width: 0; }
.row-title { display: block; font-weight: 850; line-height: 1.3; }
.row-desc { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-meta { justify-self: end; padding: 2px 6px; border: 1px solid #d2c8ba; border-radius: 3px; color: var(--muted); background: #f2eee7; font-size: 0.74rem; white-space: nowrap; }
.row-arrow { color: var(--accent); font-weight: 900; }
@media (max-width: 680px) {
  .tool-row { grid-template-columns: 30px 42px minmax(0, 1fr) 18px; min-height: 58px; }
  .row-meta { display: none; }
  .row-desc { white-space: normal; }
}
