/* Native mobile swipe row; desktop retains its existing stacked layout. */
@media (max-width: 760px) {
  html body.cohesive-direction #documented-work .proof-grid { min-width: 0; }
  html body.cohesive-direction #documented-work .proof-links {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: auto;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 14px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    align-items: stretch;
    padding: 2px 2px 14px;
    scrollbar-width: thin;
    scrollbar-color: #719b83 transparent;
  }
  html body.cohesive-direction #documented-work .proof-link {
    box-sizing: border-box;
    min-width: 0;
    scroll-snap-align: start;
    padding: 22px;
  }
  html body.cohesive-direction #documented-work .proof-link::before {
    position: static;
    display: block;
    margin-bottom: 12px;
  }
  html body.cohesive-direction #documented-work .proof-link h3 {
    font-size: clamp(22px, 5.5vw, 26px);
    overflow-wrap: break-word;
  }
  html body.cohesive-direction #documented-work .proof-links:focus-visible {
    outline: 2px solid #276445;
    outline-offset: 4px;
  }
}
