/* next.css — the shared "make next" row (R48, T-PANEXT.2), drawn by next.js inside a page's "More printables" strip
   or (T-PANEXT.8) inside #revealActions under a giver's private card (.ss-actions, which centres its text).
   Built from /assets/polyatic.css tokens only, so light and dark follow the site. On a phone the cards are one row
   that scrolls sideways (the next card peeks in); from 720 px they sit side by side with no scrolling.
   The strip's own .related ul / .related a rules are reset here for the cards. */
:is(.related,.ss-actions) .next-row{margin:0 0 1rem;padding:0 .375rem}
:is(.related,.ss-actions) .next-row[hidden]{display:none}
:is(.related,.ss-actions) .next-lead{margin:0 0 .5rem;font-weight:650;font-size:1rem;letter-spacing:-.01em;color:var(--ink)}
:is(.related,.ss-actions) .next-cards{list-style:none;margin:0;padding:0 0 .375rem;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(9.75rem,44%);gap:.625rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
:is(.related,.ss-actions) .next-item{scroll-snap-align:start;min-width:0}
:is(.related,.ss-actions) a.next-card{display:flex;flex-direction:column;align-items:stretch;gap:.1875rem;height:100%;padding:0 0 .5rem;border:1px solid var(--line);border-radius:var(--r);background:var(--bg);color:var(--ink);text-decoration:none;overflow:hidden;font-size:.875rem;line-height:1.3}
:is(.related,.ss-actions) a.next-card::before{content:none;display:none}
:is(.related,.ss-actions) a.next-card:hover{background:var(--surface-2);border-color:var(--line-2)}
:is(.related,.ss-actions) a.next-card:hover .next-name{color:var(--accent)}
:is(.related,.ss-actions) a.next-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
:is(.related,.ss-actions) .next-img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:var(--surface-2);border-bottom:1px solid var(--line);margin:0 0 .25rem}
:is(.related,.ss-actions) .next-name{display:block;padding:0 .5rem;font-weight:650}
:is(.related,.ss-actions) .next-job{display:block;padding:0 .5rem;font-weight:450;font-size:.8125rem;color:var(--muted)}
@media(min-width:720px){
  :is(.related,.ss-actions) .next-cards{grid-auto-flow:row;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));grid-auto-columns:auto;overflow:visible;scroll-snap-type:none;padding-bottom:0}
}
/* T-PANEXT.8: under the private card the row follows the card's own buttons, left-aligned like the strip */
.ss-actions .next-row{margin:1.5rem 0 0;padding:0;text-align:left}
.ss-actions .next-lead{color:var(--mat-ink,var(--ink))}
/* a page whose strip is a long wall of links folds it under the row: <details class="next-all"><summary>…</summary><ul>…</ul></details> */
.related .next-all{margin:0;padding:0}
.related .next-all>summary{list-style:none;cursor:pointer;position:relative;display:flex;align-items:center;min-height:2.75rem;padding:0 2rem 0 .375rem;font-weight:600;font-size:.90625rem;color:var(--ink);border-top:1px solid var(--line)}
.related .next-all>summary::-webkit-details-marker{display:none}
.related .next-all>summary::after{content:"";position:absolute;right:.75rem;top:50%;width:.5rem;height:.5rem;border-right:2px solid var(--ink-2);border-bottom:2px solid var(--ink-2);transform:translateY(-75%) rotate(45deg);transition:transform .15s}
.related .next-all[open]>summary::after{transform:translateY(-25%) rotate(-135deg)}
.related .next-all>summary:hover{color:var(--accent)}
.related .next-all>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:.25rem}
.related .next-all[open]>summary{margin-bottom:.25rem}
@media(prefers-reduced-motion:reduce){.related .next-all>summary::after{transition:none}}
