/* FSC v1.7.2 — authoritative locked certificate template */
body.certificate-generator-body{background:#ede8dd!important;color:#111}
body.certificate-generator-body .generator-layout{width:min(1500px,calc(100% - 40px));max-width:1500px}
body.certificate-generator-body .certificate-stage{min-width:0}
body.certificate-generator-body .certificate-sheet.certificate-v172,
body.certificate-generator-body .certificate-sheet{
  --cert-gold:#d99018;--cert-red:#6d2022;--cert-blue:#1c365d;--cert-paper:#fffdf7;
  box-sizing:border-box!important;position:relative!important;width:min(100%,1180px)!important;max-width:1180px!important;aspect-ratio:297/210!important;margin:0 auto!important;padding:9px!important;overflow:hidden!important;background:radial-gradient(circle at 49% 41%,#fff 0,#fffdf8 54%,#fbf6ea 100%)!important;border:3px solid var(--cert-gold)!important;box-shadow:0 26px 65px rgba(42,34,22,.14)!important;font-family:Georgia,"Times New Roman",serif!important;
}
body.certificate-generator-body .certificate-sheet *{box-sizing:border-box!important}
body.certificate-generator-body .certificate-border-inner{position:absolute!important;inset:7px!important;border:1.5px solid var(--cert-gold)!important;pointer-events:none!important}
body.certificate-generator-body .certificate-content{position:relative!important;z-index:2!important;height:100%!important;padding:3.2% 5.2% 2.3%!important;display:flex!important;flex-direction:column!important}
body.certificate-generator-body .cert-top-rule,body.certificate-generator-body .cert-section-rule,body.certificate-generator-body .cert-diamond-rule,body.certificate-generator-body .cert-bottom-rule{display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;color:var(--cert-gold)!important}
body.certificate-generator-body .cert-top-rule span,body.certificate-generator-body .cert-section-rule span,body.certificate-generator-body .cert-diamond-rule span,body.certificate-generator-body .cert-bottom-rule span{height:1.2px!important;background:var(--cert-gold)!important;flex:1!important}
body.certificate-generator-body .cert-top-rule i,body.certificate-generator-body .cert-section-rule i,body.certificate-generator-body .cert-diamond-rule i,body.certificate-generator-body .cert-bottom-rule i{display:block!important;width:14px!important;height:14px!important;border:3px solid var(--cert-gold)!important;transform:rotate(45deg)!important;flex:0 0 auto!important}
body.certificate-generator-body .cert-top-rule{margin:0 1% 1.9%!important}
body.certificate-generator-body .certificate-head{text-align:center!important}
body.certificate-generator-body .cert-programme{font:700 clamp(28px,3.35vw,51px)/1.05 Georgia,"Times New Roman",serif!important;letter-spacing:-.025em!important;text-transform:none!important;color:#080808!important;white-space:nowrap!important}
body.certificate-generator-body .cert-by{font:400 clamp(14px,1.55vw,22px)/1.2 Georgia,"Times New Roman",serif!important;letter-spacing:.23em!important;color:var(--cert-red)!important;margin-top:.9%!important}
body.certificate-generator-body .cert-section-rule-wide{width:72%!important;margin:2.4% auto 1.3%!important}
body.certificate-generator-body .cert-type{font:600 clamp(18px,2vw,28px)/1.15 Georgia,"Times New Roman",serif!important;text-transform:uppercase!important;letter-spacing:.16em!important;color:var(--cert-red)!important;text-align:center!important}
body.certificate-generator-body .cert-section-rule-short{width:43%!important;margin:1.6% auto 0!important}
body.certificate-generator-body .cert-section-rule-short i{width:12px!important;height:12px!important;border-width:2px!important}
body.certificate-generator-body .certificate-main{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;min-height:0!important;margin-top:-.3%!important}
body.certificate-generator-body .certificate-copy{position:relative!important;z-index:3!important;width:88%!important;text-align:center!important;padding:0 13% 0 1%!important}
body.certificate-generator-body .cert-small{font:400 clamp(14px,1.55vw,22px)/1.25 Georgia,"Times New Roman",serif!important;color:var(--cert-blue)!important;margin:1.1% 0!important}
body.certificate-generator-body .certificate-copy h2{font:700 clamp(38px,4.6vw,68px)/1.02 Georgia,"Times New Roman",serif!important;color:#080808!important;margin:.5% 0!important;letter-spacing:-.025em!important}
body.certificate-generator-body .certificate-copy h3{font:700 clamp(24px,3.05vw,45px)/1.08 Georgia,"Times New Roman",serif!important;color:#090909!important;margin:.8% auto!important;max-width:980px!important;letter-spacing:-.02em!important}
body.certificate-generator-body .cert-diamond-rule{width:34%!important;margin:1.5% auto 1.9%!important}
body.certificate-generator-body .cert-diamond-rule i{width:11px!important;height:11px!important;border-width:2px!important}
body.certificate-generator-body .cert-diamond-rule-course{width:29%!important;margin-top:1.8%!important}
body.certificate-generator-body .certificate-art{position:absolute!important;z-index:1!important;right:-1%!important;top:7%!important;width:31%!important;height:82%!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;opacity:.16!important;filter:grayscale(1) sepia(1) saturate(.7) brightness(2.4) contrast(.72)!important;mix-blend-mode:multiply!important;mask-image:radial-gradient(ellipse at center,#000 38%,rgba(0,0,0,.88) 58%,transparent 86%)!important;-webkit-mask-image:radial-gradient(ellipse at center,#000 38%,rgba(0,0,0,.88) 58%,transparent 86%)!important}
body.certificate-generator-body .certificate-art img{width:100%!important;height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important}
body.certificate-generator-body .certificate-meta-row{display:grid!important;grid-template-columns:1.08fr .82fr 1.08fr!important;gap:0!important;align-items:center!important;border-top:0!important;padding:0!important;margin:.2% 1% 0!important;min-height:104px!important}
body.certificate-generator-body .cert-meta{min-height:96px!important;padding:0 4%!important;display:flex!important;justify-content:center!important;align-items:center!important}
body.certificate-generator-body .cert-date-block,body.certificate-generator-body .cert-sign-block{border-left:1.4px solid #d3a14d!important}
body.certificate-generator-body .cert-meta span{display:block!important;text-transform:uppercase!important;letter-spacing:.14em!important;font:400 clamp(7px,.75vw,11px)/1.2 Georgia,"Times New Roman",serif!important;color:#c07918!important;margin-bottom:6px!important}
body.certificate-generator-body .cert-meta strong{display:block!important;font:600 clamp(12px,1.27vw,19px)/1.25 Georgia,"Times New Roman",serif!important;color:#172844!important}
body.certificate-generator-body .cert-qr-block{justify-content:flex-start!important;gap:16px!important}
body.certificate-generator-body .cert-qr-block img{width:clamp(74px,7.5vw,108px)!important;height:clamp(74px,7.5vw,108px)!important;padding:5px!important;background:#fff!important;border:1.6px solid #d99018!important;object-fit:contain!important}
body.certificate-generator-body .cert-qr-block img.qr-empty{visibility:hidden!important}
body.certificate-generator-body .cert-date-block{flex-direction:column!important;text-align:center!important}
body.certificate-generator-body .cert-sign-block{flex-direction:column!important;text-align:center!important}
body.certificate-generator-body .programme-director-signature{display:block!important;width:min(240px,88%)!important;height:62px!important;object-fit:cover!important;object-position:top center!important;margin:0 auto -2px!important;filter:none!important;opacity:1!important;background:transparent!important}
body.certificate-generator-body .signature-line{width:82%!important;height:1.4px!important;background:#d99018!important;margin:0 auto 5px!important}
body.certificate-generator-body .cert-sign-block strong{font:400 clamp(12px,1.2vw,17px)/1.15 Georgia,"Times New Roman",serif!important;color:#172844!important}
body.certificate-generator-body .cert-sign-block span{font:400 clamp(8px,.78vw,11px)/1.15 Georgia,"Times New Roman",serif!important;color:#172844!important;letter-spacing:.13em!important;margin-top:3px!important}
body.certificate-generator-body .cert-bottom-rule{width:92%!important;margin:.8% auto .7%!important}
body.certificate-generator-body .cert-bottom-rule i{width:12px!important;height:12px!important;border-width:2px!important}
body.certificate-generator-body .certificate-footer-text{text-align:center!important;border:0!important;margin:0!important;padding:0!important;color:#24395e!important}
body.certificate-generator-body .certificate-footer-text p{margin:1px 0!important;font:400 clamp(7px,.74vw,10.5px)/1.3 Georgia,"Times New Roman",serif!important}
body.certificate-generator-body .generator-note{display:none!important}
body.certificate-generator-body .generator-layout.certificate-only{grid-template-columns:1fr!important;width:min(1400px,calc(100% - 40px))!important;max-width:1400px!important}
body.certificate-generator-body .generator-layout.certificate-only .certificate-stage{display:flex!important;justify-content:center!important;width:100%!important}
@media(max-width:1080px){body.certificate-generator-body .certificate-stage{overflow:auto!important}body.certificate-generator-body .certificate-sheet{min-width:920px!important}body.certificate-generator-body .cert-programme{white-space:normal!important}}
@media print{
  @page{size:A4 landscape;margin:0}
  html,body{width:297mm!important;height:210mm!important;margin:0!important;padding:0!important;overflow:hidden!important}
  body.certificate-generator-body{background:#fff!important}
  body.certificate-generator-body .no-print{display:none!important}
  body.certificate-generator-body .generator-layout,body.certificate-generator-body .generator-layout.certificate-only{display:block!important;width:297mm!important;height:210mm!important;max-width:none!important;margin:0!important;padding:0!important}
  body.certificate-generator-body .certificate-stage{display:block!important;width:297mm!important;height:210mm!important;overflow:hidden!important}
  body.certificate-generator-body .certificate-sheet.certificate-v172,body.certificate-generator-body .certificate-sheet{width:297mm!important;height:210mm!important;min-width:0!important;max-width:none!important;aspect-ratio:auto!important;margin:0!important;padding:2.4mm!important;border-width:1mm!important;box-shadow:none!important}
  body.certificate-generator-body .certificate-border-inner{inset:2mm!important;border-width:.32mm!important}
  body.certificate-generator-body .certificate-content{padding:8.6mm 14mm 5.5mm!important}
  body.certificate-generator-body .cert-programme{font-size:33pt!important;white-space:nowrap!important}
  body.certificate-generator-body .cert-by{font-size:14pt!important}
  body.certificate-generator-body .cert-type{font-size:18pt!important}
  body.certificate-generator-body .cert-small{font-size:14.5pt!important}
  body.certificate-generator-body .certificate-copy h2{font-size:38pt!important}
  body.certificate-generator-body .certificate-copy h3{font-size:25pt!important}
  body.certificate-generator-body .cert-meta span{font-size:7.2pt!important}
  body.certificate-generator-body .cert-meta strong{font-size:11pt!important}
  body.certificate-generator-body .cert-qr-block img{width:22mm!important;height:22mm!important}
  body.certificate-generator-body .programme-director-signature{width:52mm!important;height:15mm!important}
  body.certificate-generator-body .cert-sign-block strong{font-size:10.5pt!important}
  body.certificate-generator-body .cert-sign-block span{font-size:7.4pt!important}
  body.certificate-generator-body .certificate-footer-text p{font-size:7pt!important}
  body.certificate-generator-body .certificate-art{opacity:.13!important}
}
