*{box-sizing:border-box}body{font:15px system-ui;color:#14243c;background:#ffffff;margin:24px auto;max-width:900px;padding:0 16px}a{color:inherit}h1,h2{font-family:Arial,sans-serif}label{display:inline-block;margin:8px}select,button{font:inherit;padding:10px;border:1px solid #c6d3e5;border-radius:6px;background:white;color:inherit}button{cursor:pointer}.sheet{background:white;padding:24px;margin:24px 0}.collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}article{break-inside:avoid}article h2{font-size:18px}article p{font-size:9px;overflow-wrap:anywhere}.grid{display:grid;grid-template-columns:repeat(9,1fr);aspect-ratio:1;border:2px solid #222;max-width:320px}.grid span{display:grid;place-content:center;border-right:1px solid #aaa;border-bottom:1px solid #aaa;font-size:22px;color:#111}.grid span:nth-child(3n){border-right:2px solid #222}.grid span:nth-child(9n){border-right:0}.grid span:nth-child(n+19):nth-child(-n+27),.grid span:nth-child(n+46):nth-child(-n+54){border-bottom:2px solid #222}.grid span:nth-child(n+73){border-bottom:0}@media(max-width:500px){.collection{grid-template-columns:1fr}}@media print{@page{size:A4;margin:12mm}body{margin:0;padding:0;max-width:none;background:white;color:black}header{display:none}.sheet{margin:0;padding:0;break-before:page}.collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:8mm}article h2{margin:3mm 0}.grid{width:76mm}.grid span{font-size:18px}.sheet>h1{font-size:20px}article p{font-size:8px}}
.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #c6d3e5;padding-bottom:12px;margin-bottom:18px}.sheet-heading img{max-width:48%;height:auto}.sheet-heading h1{font-size:19px;text-align:right;margin:0}.sheet-footer{text-align:center;font-size:11px;margin-top:20px}.print-format{display:inline-block;font-size:14px;margin:8px}
@media print{
 @page{size:A4 portrait;margin:10mm}
 .sheet{width:190mm;height:276mm;padding:0;display:flex;flex-direction:column;break-before:auto;break-inside:avoid;page-break-inside:avoid}
 .sheet+.sheet{break-before:page;page-break-before:always}
 .sheet-heading{height:14mm;min-height:14mm;margin:0 0 4mm;padding:0 0 2mm;gap:8mm}
 .sheet-heading img{width:48mm;height:8mm}.sheet-heading h1{font-size:15px}
 .collection{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,78mm);gap:4mm 12mm;justify-items:center}
 article{width:76mm;height:78mm;break-inside:avoid}
 article h2{font:700 11px Arial,sans-serif;margin:0 0 1.5mm;line-height:4mm}
 .grid{width:66mm;height:66mm;max-width:none;aspect-ratio:1;margin:0 auto}
 .grid span{font-size:17px}
 article p{font:9px/3mm Arial,sans-serif;margin:1mm 0 0;text-align:center;white-space:nowrap}
 .sheet-footer{font:9px Arial,sans-serif;margin:auto 0 0;padding-top:2mm}
}
