.research-toc.has-parametric { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.deform-home-entry { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; margin-top: 30px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.deform-home-entry h3 { font-family: var(--serif); font-size: 25px; line-height: 1.4; }
.deform-home-entry p { margin-top: 7px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.deform-home-entry .text-link { font-size: 16px; color: var(--accent); }
.deform-section { scroll-margin-top: 110px; }
.deform-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin: 8px 0 28px; padding-block: 18px; border-block: 1px solid var(--line); }
.deform-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.deform-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.deform-filter:hover { border-color: var(--accent); color: var(--deep); }
.deform-filter[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: white; }
.deform-count { color: var(--muted); font-size: 15px; }
.deform-grid.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.deform-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.deform-stage { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.deform-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.deform-zoom-label { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 4px; background: #ffffffed; color: var(--deep); font-size: 15px; }
.deform-copy { display: flex; flex: 1; flex-direction: column; gap: 11px; padding: 22px; }
.deform-category { color: var(--accent); font-size: 15px; }
.deform-copy h3 { font-family: var(--serif); font-size: 22px; line-height: 1.5; overflow-wrap: anywhere; }
.deform-description { flex: 1; color: var(--muted); font-size: 15px; line-height: 1.85; }
.deform-controls { margin-top: 4px; }
.deform-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 15px; border: 1px solid var(--deep); border-radius: 4px; color: var(--deep); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.deform-toggle:hover, .deform-toggle[aria-pressed="true"] { background: var(--deep); color: white; }
.deform-status { font-size: 15px; line-height: 1.6; color: var(--muted); }
.deform-status:empty { display: none; }
@media (max-width: 1100px) {
  .deform-grid.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-toc.has-parametric { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .research-toc.has-parametric { grid-template-columns: 1fr; }
  .deform-grid.gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .deform-copy { padding: 20px; }
  .deform-copy h3 { font-size: 21px; }
  .deform-home-entry { padding: 22px; }
  .deform-home-entry h3 { font-size: 23px; }
}
@media print {
  .deform-tools, .deform-controls, .deform-zoom-label { display: none; }
  .deform-card { break-inside: avoid; }
}
