.tpl-filters { margin: 0 0 20px; }
.tpl-filters legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.tpl-filters { padding: 0; border: 0; }
.tpl-example { scroll-margin-top: 96px; }
.tpl-example h2 { margin: 4px 0 8px; font-size: clamp(22px, 3vw, 29px); line-height: 1.15; }
.tpl-example p { margin: 0 0 12px; line-height: 1.55; }
.tpl-example .tpl-attribution { color: var(--mut); font-size: 14px; }
.tpl-example .tpl-source { display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--bd); background: var(--alt); align-self: start; }
.tpl-source img { display: block; width: 100%; height: 156px; object-fit: cover; object-position: top; }
.tpl-source span { display: block; padding: 7px 12px; font-size: 13px; color: var(--ink); }
.tpl-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 220px); gap: 20px; align-items: center; }
.tpl-example details { margin-top: 14px; }
.tpl-example summary { width: fit-content; }
.tpl-example details[open] summary { margin-bottom: 14px; }
.tpl-example textarea { min-height: 168px; }
@media (max-width: 600px) {
  .tpl-intro { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tpl-source img { height: 112px; }
}
