.inspection-gallery { margin-top: 2rem; }
.inspection-gallery .gallery-slide { margin: 0; }
.inspection-gallery .gallery-slide[hidden], .gallery-controls[hidden] { display: none; }
.inspection-gallery .gallery-slide + .gallery-slide { margin-top: 2rem; }
.inspection-gallery.is-ready .gallery-slide { margin-top: 0; }
.inspection-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1122 / 1402; object-fit: contain; filter: url('#handbook-ink'); }
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: .5rem; padding-block: .6rem; }
.gallery-controls button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 10px; color: var(--ink); background: transparent; border: 0; cursor: pointer; border-radius: 50%; }
.gallery-controls button:hover { color: var(--blue); }
.gallery-controls button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.gallery-controls svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery-controls .play-icon { fill: currentColor; stroke: none; }
.gallery-controls [data-playing="true"] .play-icon, .gallery-controls [data-playing="false"] .pause-icon { display: none; }
.ink-filter-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.connections-section { background: url('/assets/ink-rule.svg') top center / 100% 10px no-repeat; }
