.paystub-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5rem;margin-top:2.5rem;display:grid}.paystub-gallery-card{min-width:0}.paystub-gallery figure,.template-detail-figure{min-width:0;margin:0}.paystub-gallery-sheet,.template-detail-sheet{background:var(--warm-white);border:var(--warm-border);box-shadow:var(--warm-shadow);border-radius:1rem;justify-content:center;align-items:flex-start;padding:1rem;display:flex}.paystub-gallery-sheet{aspect-ratio:4/5}.paystub-gallery-sheet img{object-fit:contain;object-position:top;width:100%;height:100%}.paystub-gallery h2{margin:1rem 0 .5rem;font-size:1.4rem}.paystub-gallery p{max-width:62ch;margin:0 0 1rem}.paystub-gallery figcaption,.template-detail-figure figcaption{color:var(--warm-muted);padding-top:.75rem;font-size:.85rem}.template-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.template-actions a,.template-detail-copy .primary-action{justify-content:center;align-items:center;min-height:44px;display:inline-flex}.template-preview-link{color:inherit;text-decoration:none;display:block}.template-breadcrumb{flex-wrap:wrap;gap:.5rem;margin:0 0 2rem;font-size:.95rem;display:flex}.template-detail{grid-template-columns:minmax(0,1.7fr) minmax(16rem,1fr);align-items:start;gap:3rem;display:grid}.template-detail-sheet img{width:100%;height:auto;display:block}.template-detail-copy{padding-top:.25rem}.template-detail-copy>p{margin-top:0}.template-detail-copy h2{margin-top:1.75rem;font-size:1.25rem}.template-detail-copy ul{margin-bottom:2rem;padding-left:1.25rem}.template-detail-copy li{margin-bottom:.65rem}.template-pagination{margin-top:3rem}.template-prev-next{justify-content:space-between;gap:1rem;display:flex}.template-prev-next a{align-items:center;min-height:44px;font-weight:700;display:inline-flex}.template-pagination ol{flex-wrap:wrap;gap:.6rem;margin:1rem 0 0;padding:0;list-style:none;display:flex}.template-pagination ol a{border:var(--warm-border);background:var(--warm-white);border-radius:.65rem;justify-content:center;align-items:center;min-width:44px;min-height:44px;font-weight:700;text-decoration:none;display:flex}.template-pagination [aria-current=page]{background:var(--warm-orange);box-shadow:var(--warm-shadow-small)}.template-visually-hidden{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (max-width:800px){.template-detail{grid-template-columns:1fr;gap:1.5rem}}@media (max-width:640px){.paystub-gallery{grid-template-columns:1fr}.template-actions .primary-action{flex:1}}.template-preview-label{text-underline-offset:.2em;align-items:center;min-height:44px;font-weight:700;text-decoration:underline;display:inline-flex}.template-actions{justify-content:flex-end;margin-top:.5rem}
