/* Scoped final cascade: three desktop tools per row, native full-tile links. */
.tools-view .module-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  max-width:none;
  gap:18px;
  align-items:stretch;
  grid-auto-rows:1fr;
}
.tools-view .module-card {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:286px;
  padding:22px;
  aspect-ratio:auto;
  border:1px solid var(--suite-line);
  border-radius:20px;
  color:var(--suite-text);
  background:var(--suite-surface);
  box-shadow:var(--suite-shadow);
  transition:border-color .16s ease,background-color .16s ease,transform .16s ease;
}
.tools-view .module-card[hidden] { display:none!important; }
.tools-view .module-card::after { display:none; }
.tools-view .module-symbol {
  width:44px;height:44px;min-height:44px;
  margin-bottom:18px;border-radius:13px;
  color:var(--suite-text);background:var(--suite-soft);
  border:1px solid var(--suite-line);
}
.tools-view .supply-tool-card .module-symbol {
  color:var(--suite-accent);background:var(--suite-accent-soft);border-color:var(--suite-accent-line);
}
.tools-view .badge { top:22px;right:22px;max-width:calc(100% - 104px);white-space:normal;text-align:right; }
.tools-view .module-card h3 { margin:0 0 8px;font-size:17px;line-height:1.3;overflow-wrap:anywhere; }
.tools-view .module-card p { min-height:0;margin:0 0 16px;font-size:13px;line-height:1.55;color:var(--suite-muted); }
.tools-view .module-meta { flex-wrap:wrap;margin:0 0 16px;gap:6px; }
.tools-view .module-meta span { white-space:normal; }
.tools-view .module-card > a.tool-open {
  position:static;display:flex;align-self:stretch;align-items:center;justify-content:space-between;
  gap:12px;min-height:48px;margin-top:auto;padding:12px 14px;
  border:1px solid var(--suite-line);border-radius:13px;
  color:var(--suite-text);background:var(--suite-soft);
  font-size:13px;font-weight:800;line-height:1.3;text-decoration:none;
  -webkit-tap-highlight-color:transparent;
}
.tools-view .module-card > a.tool-open span { margin:0;font-size:19px;line-height:1; }
.tools-view .module-card > a.tool-open::after {
  content:'';position:absolute;inset:0;z-index:1;border-radius:20px;cursor:pointer;
}
.tools-view .module-card > a.tool-open:focus-visible { outline:none; }
.tools-view .module-card > a.tool-open:focus-visible::after {
  outline:3px solid var(--suite-accent);outline-offset:4px;
}
.tools-view .module-card > a.tool-open:active { background:var(--suite-accent-soft); }
.tools-view #dynoToolCard > label {
  position:relative;z-index:2;display:grid;gap:6px;margin:0 0 16px;
  font-size:12px;font-weight:700;color:var(--suite-muted);
}
.tools-view #dynoTenantChoice {
  min-width:0;min-height:46px;margin:0;font-size:16px;padding:8px 12px;
  color:var(--suite-text);background:var(--suite-control);border-color:var(--suite-line);border-radius:12px;
}
@media(hover:hover) {
  .tools-view .module-card:hover { transform:translateY(-2px);border-color:var(--suite-accent-line);background:var(--suite-surface); }
  .tools-view .module-card:hover > a.tool-open { color:var(--suite-accent);border-color:var(--suite-accent-line);background:var(--suite-accent-soft); }
}
@media(max-width:1000px) {
  .tools-view .module-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
}
@media(max-width:620px) {
  .tools-view .module-grid { grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:14px; }
  .tools-view .module-card { min-height:230px;padding:20px;border-radius:18px; }
  .tools-view .badge { top:20px;right:20px; }
  .tools-view .module-card > a.tool-open::after { border-radius:18px; }
}
@media(prefers-reduced-motion:reduce) {
  .tools-view .module-card { transition:none; }
  .tools-view .module-card:hover { transform:none; }
}
