/* Certificate template – Aquaheat styling, GES section structure. A4 landscape. */
#cert{display:none}
@media print{
 @page{size:A4 landscape;margin:6mm 8mm}
 body{background:#fff!important;padding:0!important}.band,.prog,main,.bar{display:none!important}
 #cert{display:block}
 .ges{font-family:"Segoe UI","DejaVu Sans",Arial,sans-serif;font-size:6.4pt;color:#1a1d21;line-height:1.22}
 .ges *{-webkit-print-color-adjust:exact;print-color-adjust:exact;box-sizing:border-box}
 .top{display:flex;align-items:center;background:#000;color:#fff;border-radius:2.5mm;padding:2mm 3.5mm;margin-bottom:1.6mm;border-bottom:1.2mm solid #0a7cc2}
 .tl{width:27%}.tl img{height:9mm;display:block}.tl b{display:block;font-size:7pt;margin-top:.8mm;letter-spacing:.2px}
 .tc{flex:1;text-align:center}.ttl{font-size:14pt;font-weight:700;letter-spacing:.3px}
 .reg{font-size:5.6pt;color:#c9d3dd;margin:.8mm 6mm 0}
 .tr{width:20%;text-align:right;font-size:7pt}.tr span{display:block}.box{display:inline-block!important;background:#fff;color:#000;border-radius:1mm;min-width:24mm;padding:.6mm 2mm;margin-top:.6mm;font-weight:700;font-size:8.5pt;text-align:center}
 .pnl{background:#f4f8fb;border:1px solid #d5dee8;border-radius:2mm;padding:0 1.4mm 1.2mm;overflow:hidden}
 .gbar{margin:0 -1.4mm 1mm;background:#0a7cc2;color:#fff;font-size:7.6pt;font-weight:700;padding:.7mm 2mm;letter-spacing:.2px}
 .three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1.4mm;margin-bottom:1.4mm}
 .kv{width:100%;border-collapse:collapse}.kv td{padding:.45mm 1mm;height:2.9mm}.kk{width:28%;color:#0a5cad;font-weight:600}.vv{background:#fff;border-bottom:1px solid #e1e8ef}
 .wide{padding-bottom:0;margin-bottom:1.4mm}.bars2{display:flex;margin:0 -1.4mm}.bars2 .gbar{margin:0 0 0}
 .grid{border-collapse:collapse;table-layout:fixed;background:#fff;margin:0 -1.4mm;width:calc(100% + 2.8mm)}
 .grid th,.grid td{border:1px solid #d5dee8;text-align:center;vertical-align:middle;padding:.3mm}
 .grid th{font-weight:600;font-size:4.7pt;background:#e3f0fa;color:#0a5cad}.grid .ar td{height:3.9mm;font-size:6.4pt}.grid .ar:nth-child(even) td{background:#fafcfe}.grid .num{font-weight:700;color:#0a5cad}.bad{color:#b00020;font-weight:700}
 .row2{display:grid;grid-template-columns:1fr 17%;gap:1.4mm;margin-bottom:1.4mm}
 .lwn{float:right;margin-top:-4.8mm;font-size:6.4pt;width:28%;color:#fff;font-weight:600;text-align:center}
 .dt{width:100%;border-collapse:collapse;background:#fff}.dt td{border-bottom:1px solid #e1e8ef;height:3.1mm;padding:0 1mm}.dn{width:5%;text-align:center;font-weight:700;color:#0a5cad}.dw{width:28%;text-align:center;border-left:1px solid #e1e8ef}
 .cot{width:100%}.cot td{padding:1.2mm 0}.cot td+td{text-align:right;width:20%;font-weight:700}
 .row3{display:grid;grid-template-columns:36% 1fr;gap:1.4mm;margin-bottom:1.4mm}
 .ichk{padding-top:1.6mm}.cl{margin-bottom:1.3mm}.cl span{margin-right:4mm}.cl b{background:#fff;border:1px solid #d5dee8;border-radius:.8mm;padding:0 .8mm}
 .opt{border-top:1px dashed #b9c9da;padding-top:1.2mm}.k2{display:block;color:#0a5cad;font-weight:700;margin-bottom:1mm}
 .cbox{background:#fff;border:1px solid #d5dee8;border-radius:1mm;min-height:12mm;height:calc(100% - 6mm);padding:1mm}
 .sgr{display:grid;grid-template-columns:32% 32% 1fr;padding:0 0 .6mm}
 .sc .l1{display:flex;align-items:center;gap:5mm;height:10.5mm}.lb{min-width:12mm;display:inline-block;color:#0a5cad;font-weight:600}
 .simg{background:#fff;border:1px solid #d5dee8;border-radius:1mm;width:30mm;height:10mm;display:inline-flex;align-items:center;justify-content:center}.simg img{max-height:9.5mm;max-width:29mm}
 .l2{display:flex;gap:5mm;align-items:center;margin-top:1mm}.fld{display:inline-block;background:#fff;border:1px solid #d5dee8;border-radius:.8mm;min-width:32mm;padding:.3mm 1mm}
 .dt2>div{display:flex;gap:6mm;margin-top:2mm;align-items:center}.dt2 .lb{min-width:26mm}.dt2 .fld{min-width:28mm;font-weight:700}
}
@media print{
 .sch .sx{margin-bottom:1.4mm}
 .sch .half{display:grid;grid-template-columns:1fr 1fr;gap:1.4mm}
 .sk{width:100%;border-collapse:collapse;background:#fff}.sk td{border-bottom:1px solid #e1e8ef;padding:.6mm 1mm;vertical-align:top}
 .sk .sl{color:#0a5cad;font-weight:600;width:24%}.sk .sv{font-weight:700;width:9%}
 .sch .half .sk .sl{width:22%}
 .cbox.sm{height:auto;min-height:8mm;margin-bottom:1mm}
 .chkl{background:#fff;padding:.8mm 1mm;margin-bottom:.6mm;border-radius:.8mm}
 .banner{background:#b00020;color:#fff;font-weight:800;font-size:13pt;text-align:center;letter-spacing:2px;padding:1.2mm;border-radius:2mm;margin-bottom:1.4mm}
 .foot{text-align:center;font-weight:700;color:#b00020;margin-top:1.2mm;font-size:7.5pt}
 .small{font-size:6pt;color:#555;margin-top:1mm}
 .ges .sg{break-inside:avoid}
}
@media print{
 .sch .sk td{padding:.35mm 1mm}.sch .sk .sl{width:auto}.sch .sk .sv{width:11%;text-align:left}
 .sch .sx{margin-bottom:1.1mm}.sch .gbar{padding:.45mm 2mm;margin-bottom:.6mm}
 .sch .three{margin-bottom:1.1mm}.sch .kv td{padding:.25mm 1mm}
 .sch .cbox.sm{min-height:6mm}
 .sch .sc .l1{height:9mm}.sch .simg{height:8.5mm}
}
@media print{
 .sch .sk .lv{font-weight:600;width:auto;white-space:normal}
 .sch .st{margin:0;width:100%}.sch .tb{padding-bottom:1mm}
 .sch .st th{font-size:5pt}.sch .st .ar td{height:3.8mm;font-size:6pt}
 .sch .mx td{padding:.3mm 1mm}
 .letter .lbody{background:#fff;border:1px solid #d5dee8;border-radius:2mm;padding:5mm 9mm;line-height:1.35;font-family:Georgia,"DejaVu Serif",serif}
 .letter .three{grid-template-columns:1fr 1fr 1fr}
}
