/* Shared SVG certificate presentation, based on the supplied A4 design. */
.certificate{width:1188px;height:840px;max-width:none;margin:0;padding:0;background:#f7f3e9;transform-origin:top left;box-shadow:0 12px 36px #0002}
.certificate>svg{display:block;width:100%;height:100%;overflow:hidden}
body.certificate-ready{min-height:100vh;display:grid;align-items:center}
@page{size:A4 landscape;margin:0}
@media print{
 html{color-scheme:light}body{margin:0!important;background:#fff!important}
 body.certificate-ready{display:block;min-height:0}
 main{width:auto!important;max-width:none!important;margin:0!important;padding:0!important}
 .canvas{height:auto!important;padding:0!important;overflow:visible!important}
 .certificate{width:297mm;height:210mm;transform:none!important;box-shadow:none;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
