.card-library{max-width:1200px;margin:auto;padding:clamp(12px,3vw,32px)}.card-sets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.card-set{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0}.card-set h2{font-size:1.2rem;margin:0;line-height:1.35}.card-set p{margin:0}.card-set .button{margin-top:auto;max-width:100%;white-space:normal}.card-set small{display:block}.card-set [aria-disabled=true]{opacity:.6;cursor:default}.patient-photo{margin:16px 0}.patient-photo img{display:block;width:100%;max-width:760px;max-height:440px;object-fit:contain;object-position:left center;border-radius:12px;background:#edf1f4}.patient-photo figcaption{font-size:.8rem;color:#536575;line-height:1.45;margin-top:8px}.photo-card .card-photo{display:block;width:100%;height:54mm;object-fit:cover;border-radius:2mm}.photo-card .patient-qr{width:22mm;height:22mm}.photo-card h2{margin:2mm 0}.photo-card .rw-card-logo{max-height:15mm}.photo-card .card-help{font-size:8pt}.photo-card .card-photo-caption{font-size:6pt}.photo-card .card-bottom{display:flex;align-items:center;gap:3mm;text-align:left;margin-top:2mm}.photo-card .card-bottom strong{display:block;font-size:9pt}.patient-photo-status{margin:12px 0}@media print{.patient-photo{break-inside:avoid}.photo-card{padding:4mm!important}.photo-card .rw-card-logo{margin-bottom:1mm}}
