.tool-photo {
 display: block;
 width: 100%;
 max-width: 520px;
 height: auto;
 aspect-ratio: 1;
 object-fit: cover;
 border-radius: 12px;
 margin: 1rem auto 1.25rem;
}
.shape-card .tool-photo, .idea .tool-photo {
 max-width: none;
 margin-block: 0.75rem 1rem;
}
.shapes-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
 gap: 1.75rem 1.25rem;
}
.shape-card { min-width: 0; }
.idea-results:not([style*="none"]) {
 display: grid !important;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.tool-photo-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
 gap: 1rem;
 margin-block: 1.25rem 1.75rem;
}
.tool-photo-grid--regrowth {
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.tool-photo-figure { margin: 0; min-width: 0; }
.tool-photo-figure .tool-photo { margin: 0 0 0.65rem; max-width: none; }
.tool-photo-figure figcaption { font-size: 0.875rem; line-height: 1.5; color: #57474e; }
.tool-card-preview {
 display: block;
 width: 100%;
 height: auto;
 aspect-ratio: 16 / 9;
 object-fit: cover;
 border-radius: 10px;
 margin-bottom: 1rem;
}
