/* Certificates and wallet cards (chosen 27 Nov 2026: certificate T8, wallet card A, board T13). Printed pieces with their own fixed
   colours, charcoal #1F2326 and yellow #F5B800, on the CPA security background. A4 landscape is 297 x 210 mm; a wallet card 85.6 x 54 mm. */
.cr-cert { position: relative; width: 297mm; height: 210mm; overflow: hidden; background: #fff url(/img/cpa-security-landscape.jpg) center / cover; color: #1F2A2E; font-family: Inter, sans-serif; box-sizing: border-box; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cr-cert * { box-sizing: border-box; }
.cr-cert-logos { position: absolute; left: 15mm; top: 16mm; display: flex; flex-direction: column; gap: 4mm; align-items: flex-start; }
.cr-cert-logos .cr-logo { max-width: 44mm; max-height: 16mm; object-fit: contain; display: block; }
.cr-mys { width: 34mm; display: block; }
.cr-plate { position: absolute; right: 40mm; top: 18.5mm; width: 143mm; height: 31mm; background: #1F2326; border-radius: 3.7mm 0 0 3.7mm; color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 26mm 0 10.5mm; }
.cr-plate b { font: 600 12.2mm/13mm Oswald, Inter, sans-serif; letter-spacing: .1em; white-space: nowrap; }
.cr-plate span { font: 500 4mm/5mm Inter, sans-serif; letter-spacing: .42em; color: #F5B800; margin-top: 1.6mm; }
.cr-sealwrap { position: absolute; right: 11.6mm; top: 9mm; width: 50mm; height: 50mm; border-radius: 50%; background: #fff; padding: 2.6mm; box-shadow: 0 1.6mm 5mm rgba(15, 40, 45, .25); }
.cr-seal, .cr-seal svg { display: block; width: 100%; height: 100%; }
.cr-body { position: absolute; left: 0; right: 0; top: 71mm; text-align: center; }
.cr-small { margin: 0; font: 400 4mm/6mm Inter, sans-serif; color: #5E6B70; }
.cr-name { margin: 1.6mm auto 0; font: 400 22mm/25mm "Great Vibes", cursive; color: #1F2A2E; width: 164mm; padding-bottom: 1mm; border-bottom: .3mm solid rgba(31, 35, 38, .5); }
.cr-what { margin: 4.8mm auto 0; max-width: 170mm; font: 400 4mm/6.4mm Inter, sans-serif; color: #5E6B70; }
.cr-what b { color: #1F2326; }
.cr-date { position: absolute; left: 50%; transform: translateX(-50%); bottom: 31.7mm; background: #1F2326; color: #fff; padding: 2.6mm 6.9mm; font: 600 5.8mm/7.4mm Oswald, Inter, sans-serif; letter-spacing: .2em; white-space: nowrap; }
.cr-num { position: absolute; left: 0; right: 0; bottom: 24.3mm; margin: 0; text-align: center; font: 400 2.9mm/3.7mm Inter, sans-serif; color: #5E6B70; }
.cr-signs { position: absolute; left: 18.5mm; right: 52mm; bottom: 13.2mm; display: flex; justify-content: space-between; }
.cr-sign { width: 58mm; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cr-sign img { height: 12mm; max-width: 52mm; object-fit: contain; }
.cr-nosig { height: 12mm; }
.cr-sign b { width: 100%; border-top: .26mm solid #B7C0C3; margin-top: .6mm; padding-top: 1.6mm; font: 600 3.2mm/4.2mm Inter, sans-serif; }
.cr-sign small { font: 400 2.9mm/4mm Inter, sans-serif; color: #5E6B70; }
.cr-plain { display: block; }
.cr-noname { display: inline-flex; align-items: center; min-height: 12mm; font: 600 5mm/6mm Inter, sans-serif; color: #1F2A2E; }
.cr-noname.dark { color: #fff; font-size: 3.4mm; min-height: 0; }

.cr-card { position: relative; width: 85.6mm; height: 54mm; border-radius: 3.2mm; overflow: hidden; background: #fff url(/img/cpa-security-card.jpg) center / cover; color: #1F2A2E; font-family: Inter, sans-serif; box-shadow: 0 2mm 6mm rgba(15, 40, 45, .22); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cr-band { position: absolute; left: 0; right: 0; top: 0; height: 12.8mm; background: #1F2326; display: flex; align-items: center; justify-content: space-between; padding: 0 3.6mm; }
.cr-tile { background: #fff; border-radius: 1.4mm; padding: 1mm 1.4mm; display: inline-flex; }
.cr-band .cr-logo { max-height: 6.4mm; max-width: 24mm; object-fit: contain; display: block; }
.cr-band > .cr-logo { max-height: 8mm; }
.cr-who { position: absolute; left: 3.6mm; right: 3.2mm; top: 16mm; display: flex; gap: 3.6mm; }
.cr-photo { width: 15.6mm; height: 19mm; border-radius: 2mm; background: linear-gradient(160deg, #C9D3D5, #9FAEB2); overflow: hidden; flex: none; }
.cr-photo img { width: 100%; height: 100%; object-fit: cover; }
.cr-who div { display: flex; flex-direction: column; min-width: 0; }
.cr-who small { font: 400 2.2mm/3mm Inter, sans-serif; color: #5E6B70; }
.cr-who .cr-q { font: 600 2mm/2.6mm Inter, sans-serif; letter-spacing: .16em; color: #C99700; }
.cr-cname { font: 600 4mm/4.8mm Outfit, Inter, sans-serif; margin-top: .6mm; }
.cr-ctitle { font: 600 2.8mm/3.6mm Inter, sans-serif; color: #1F2326; margin-top: 2mm; }
.cr-cfoot { position: absolute; left: 3.6mm; right: 3.6mm; bottom: 2.8mm; display: flex; justify-content: space-between; font: 600 2.2mm/2.8mm Inter, sans-serif; }
.cr-muted { color: #5E6B70; font-weight: 400; }
.cr-rows { position: absolute; left: 3.6mm; right: 3.6mm; top: 5mm; }
.cr-row { display: flex; justify-content: space-between; gap: 3mm; padding: 1mm 0; border-bottom: .2mm solid rgba(0, 0, 0, .08); font: 400 2.2mm/3mm Inter, sans-serif; }
.cr-row span { color: #5E6B70; } .cr-row b { text-align: right; }
.cr-rows p { margin: 2mm 0 0; font-size: 2mm; line-height: 2.8mm; }
.cr-qr { display: block; background: #fff; } .cr-qr svg { display: block; width: 100%; height: 100%; }
.cr-check { position: absolute; right: 14.3mm; bottom: 12.7mm; width: 21mm; text-align: center; } .cr-check .cr-qr { width: 21mm; height: 21mm; }
.cr-check small, .cr-backqr small { display: block; margin-top: 1mm; font: 400 2.2mm/3mm Inter, sans-serif; color: #5E6B70; }
.cr-rows { right: 31mm; }
.cr-backqr { position: absolute; right: 3.8mm; top: 6mm; width: 24mm; text-align: center; } .cr-backqr .cr-qr { width: 24mm; height: 24mm; }
