.sgqm-wrap{max-width:850px;margin:30px auto;font-family:inherit}.sgqm-intro,.sgqm-quiz,.sgqm-result{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:24px;box-shadow:0 8px 28px rgba(16,24,40,.06)}.sgqm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sgqm-form-grid label{font-weight:600}.sgqm-form-grid input,.sgqm-form-grid select{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid #cfd5dd;border-radius:8px}.sgqm-consent{display:block;margin:18px 0}.sgqm-primary,.sgqm-submit,.sgqm-next{background:#1268e3;color:#fff;border:0;border-radius:8px;padding:11px 20px;cursor:pointer}.sgqm-prev{padding:11px 20px;border:1px solid #cfd5dd;border-radius:8px;background:#fff}.sgqm-topbar,.sgqm-nav{display:flex;justify-content:space-between;align-items:center;gap:12px}.sgqm-topbar{padding-bottom:15px;border-bottom:1px solid #eee}.sgqm-question{padding:18px 0}.sgqm-question-image{max-width:100%;height:auto;border-radius:10px}.sgqm-answers label{display:flex;gap:10px;padding:13px;margin:10px 0;border:1px solid #dfe3e8;border-radius:10px;cursor:pointer}.sgqm-hint{color:#667085}.sgqm-percent{font-size:52px;font-weight:800}.sgqm-score.pass{border-left:6px solid #16a34a;padding-left:18px}.sgqm-score.fail{border-left:6px solid #dc2626;padding-left:18px}.sgqm-review details{padding:12px;border:1px solid #ddd;margin:10px 0;border-radius:8px}.sgqm-review details.correct{border-left:5px solid #16a34a}.sgqm-review details.wrong{border-left:5px solid #dc2626}.sgqm-leaderboard table{width:100%;border-collapse:collapse}.sgqm-leaderboard th,.sgqm-leaderboard td{padding:10px;border-bottom:1px solid #eee;text-align:left}.sgqm-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.sgqm-list article{padding:18px;border:1px solid #eee;border-radius:12px}@media(max-width:640px){.sgqm-form-grid{grid-template-columns:1fr}.sgqm-intro,.sgqm-quiz,.sgqm-result{padding:16px}.sgqm-leaderboard{overflow-x:auto}}
.sgqm-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.sgqm-meta span{background:#eef4ff;color:#344054;border-radius:999px;padding:4px 9px;font-size:12px}.sgqm-notice{max-width:850px;margin:30px auto;padding:18px;border:1px solid #f2c94c;background:#fff8db;border-radius:10px}


/* Homepage Practice & Certification — v2.1 */
.sgqm-home-section{padding:72px 20px;background:linear-gradient(135deg,#f5f8ff 0%,#eefbf8 100%);color:#14213d}
.sgqm-home-inner{max-width:1200px;margin:0 auto}.sgqm-home-header{text-align:center;max-width:760px;margin:0 auto 36px}.sgqm-home-kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#335eea;margin-bottom:10px}.sgqm-home-header h2{font-size:clamp(30px,4vw,48px);line-height:1.12;margin:0 0 12px}.sgqm-home-header p{font-size:18px;color:#52627a;margin:0}.sgqm-home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sgqm-home-card{background:#fff;border:1px solid #e4eaf3;border-radius:18px;padding:22px;box-shadow:0 10px 30px rgba(29,55,90,.07);display:grid;grid-template-columns:auto 1fr;gap:14px;position:relative;transition:.2s transform,.2s box-shadow}.sgqm-home-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(29,55,90,.12)}.sgqm-home-icon{width:50px;height:50px;border-radius:14px;background:#edf2ff;display:grid;place-items:center;font-size:26px}.sgqm-home-card h3{font-size:19px;margin:2px 0 6px}.sgqm-home-card p{color:#66758c;margin:0 0 12px;font-size:14px}.sgqm-home-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:22px}.sgqm-home-badges span{font-size:11px;font-weight:700;background:#effaf6;color:#147a57;padding:5px 8px;border-radius:999px}.sgqm-home-start{grid-column:1/-1;text-decoration:none;font-weight:800;color:#335eea;border-top:1px solid #edf0f5;padding-top:14px}.sgqm-home-lower{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.sgqm-home-panel{background:#fff;border:1px solid #e4eaf3;border-radius:18px;padding:26px}.sgqm-home-daily{background:linear-gradient(135deg,#233a76,#335eea);color:#fff}.sgqm-home-daily p{color:#dce5ff}.sgqm-home-daily a{color:#fff;font-weight:800}.sgqm-panel-label{font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.06em}.sgqm-home-panel h3{font-size:26px;margin:12px 0 8px}.sgqm-home-rankings{list-style:none;margin:14px 0 0;padding:0}.sgqm-home-rankings li{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f5}.sgqm-home-rankings li:last-child{border-bottom:0}.sgqm-rank-person{display:flex;flex-direction:column}.sgqm-rank-person small{color:#738198}.sgqm-rank-score{font-weight:900}.sgqm-rank-number{font-weight:800;color:#738198}.sgqm-home-stats{margin-top:24px;background:#fff;border:1px solid #e4eaf3;border-radius:18px;display:grid;grid-template-columns:repeat(4,1fr);padding:24px}.sgqm-home-stats div{text-align:center;border-right:1px solid #e9edf4}.sgqm-home-stats div:last-child{border-right:0}.sgqm-home-stats strong{display:block;font-size:28px;color:#233a76}.sgqm-home-stats span{font-size:13px;color:#66758c}.sgqm-home-cta{text-align:center;margin-top:28px}.sgqm-home-cta a{display:inline-block;background:#335eea;color:#fff;text-decoration:none;border-radius:12px;padding:14px 24px;font-weight:800}.sgqm-home-empty{color:#66758c}
@media(max-width:900px){.sgqm-home-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sgqm-home-lower{grid-template-columns:1fr}}
@media(max-width:600px){.sgqm-home-section{padding:48px 14px}.sgqm-home-cards{grid-template-columns:1fr}.sgqm-home-card{padding:18px}.sgqm-home-stats{grid-template-columns:repeat(2,1fr);gap:18px}.sgqm-home-stats div{border-right:0}.sgqm-home-header p{font-size:16px}}

/* v3.0 certificate */
.sgqm-certificate{margin:32px 0;padding:18px;background:#fff;color:#0b2c63;border:0;overflow:auto}.sgqm-cert-inner{min-width:900px;aspect-ratio:1.414/1;border:8px double #0b2c63;padding:36px 48px;display:flex;flex-direction:column;justify-content:space-between;position:relative;background:#fff}.sgqm-cert-inner:before{content:"";position:absolute;inset:18px;border:2px solid #c79a22;pointer-events:none}.sgqm-cert-inner>*{position:relative;z-index:1}.sgqm-cert-inner header{display:flex;align-items:center;justify-content:center;gap:36px;text-align:center}.sgqm-cert-logo{width:130px;max-height:110px;object-fit:contain}.sgqm-cert-inner h1{font-family:Georgia,serif;font-size:64px;line-height:.95;margin:0;text-transform:uppercase;letter-spacing:4px}.sgqm-cert-inner header p{font-family:Georgia,serif;font-size:24px;letter-spacing:12px;margin:12px 0 0}.sgqm-cert-body{text-align:center}.sgqm-cert-lead,.sgqm-cert-body>p{font-family:Georgia,serif;font-size:24px;margin:8px}.sgqm-cert-body h2{font-family:Georgia,serif;font-size:52px;margin:10px 0}.sgqm-cert-rule{height:2px;background:#c79a22;width:62%;margin:10px auto}.sgqm-cert-body h3{font-family:Georgia,serif;font-size:34px;margin:10px}.sgqm-cert-message{font-size:19px!important}.sgqm-cert-inner footer{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;min-height:125px}.sgqm-cert-perfect{width:120px;height:120px;border:4px double #c79a22;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.sgqm-cert-perfect span{font-size:16px}.sgqm-cert-perfect strong{font-size:38px}.sgqm-cert-meta{display:flex;gap:28px;text-align:center;flex:1;justify-content:center}.sgqm-cert-meta span{font-size:15px;padding:0 28px;border-left:2px solid #c79a22}.sgqm-cert-meta strong{display:block;font-size:18px;margin-top:8px}.sgqm-cert-founder{text-align:center;width:210px}.sgqm-cert-founder img{display:block;width:190px;height:70px;object-fit:contain;margin:auto}.sgqm-cert-founder strong{display:block;font-size:19px;border-top:2px solid #c79a22;padding-top:5px}.sgqm-cert-founder span{font-size:15px;display:block}.sgqm-print{display:block;margin:18px auto 0;padding:11px 20px;background:#0b2c63;color:#fff;border:0;border-radius:7px;cursor:pointer}@media print{.sgqm-certificate{display:none!important}}
/* v3.0.2 certificate refinements */
.sgqm-cert-logo{width:180px!important;max-height:145px!important}
.sgqm-cert-stars{color:#c79a22;font-size:20px;letter-spacing:3px;line-height:1;margin-bottom:4px}
.sgqm-cert-perfect.stars-only{border-color:#c79a22;min-width:120px}
.sgqm-cert-perfect.stars-only .sgqm-cert-stars{font-size:27px;margin:0}
.sgqm-cert-founder{padding-top:38px}
.sgqm-founder-line{border-top:2px solid #c79a22;margin:0 auto 8px;width:190px}
.sgqm-cert-founder img{display:none!important}
.sgqm-print:disabled{opacity:.65;cursor:wait}

.sgqm-digital-signature{font-family:'Brush Script MT','Segoe Script','Lucida Handwriting',cursive;font-size:34px;line-height:1;color:#143c86;font-style:italic;transform:rotate(-4deg);margin:0 auto -4px;white-space:nowrap}.sgqm-cert-founder{padding-top:4px!important}
/* v3.0.4 certificate layout and validation */
.sgqm-cert-inner header{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;text-align:center!important;padding-top:4px!important}
.sgqm-cert-logo{width:210px!important;max-width:32%!important;max-height:120px!important;object-fit:contain!important;margin:0 auto 8px!important}
.sgqm-cert-inner h1{font-size:58px!important;line-height:1!important;margin:0!important;letter-spacing:6px!important}
.sgqm-cert-title-rule{width:38%;height:2px;background:#c79a22;margin:2px auto 0}
.sgqm-cert-stars{font-size:19px;letter-spacing:1px;white-space:nowrap;color:#c79a22;line-height:1.2}
.sgqm-cert-meta{align-items:center;flex-wrap:wrap}.sgqm-cert-meta span{min-width:125px;padding:0 18px}.sgqm-validation-link{display:block;flex-basis:100%;text-align:center;color:#143c86;font-weight:700;text-decoration:underline;margin-top:8px;font-size:14px}
.sgqm-founder-line{height:2px;background:#c79a22;margin:4px auto 5px;width:100%}
@media(max-width:760px){.sgqm-cert-logo{width:170px!important}.sgqm-cert-inner h1{font-size:46px!important}.sgqm-cert-inner{padding:28px 34px!important}}

/* v3.0.5 balanced certificate grid */
.sgqm-cert-inner{padding:30px 42px 28px!important}
.sgqm-cert-inner header{gap:8px!important;padding-top:0!important}
.sgqm-cert-logo{width:165px!important;max-width:24%!important;max-height:92px!important;margin:0 auto 4px!important}
.sgqm-cert-inner h1{font-size:54px!important;letter-spacing:5px!important}
.sgqm-cert-title-rule{width:34%!important}
.sgqm-cert-body{margin-top:2px}.sgqm-cert-lead,.sgqm-cert-body>p{font-size:21px!important;margin:5px!important}.sgqm-cert-body h2{font-size:46px!important;margin:7px 0!important}.sgqm-cert-body h3{font-size:30px!important;margin:8px!important}.sgqm-cert-message{font-size:17px!important}
.sgqm-cert-inner footer{display:grid!important;grid-template-columns:1fr 1.15fr 1.1fr 1.1fr!important;align-items:center!important;gap:0!important;border-top:2px solid #c79a22;padding-top:18px;min-height:150px!important}
.sgqm-cert-col{min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 18px;border-left:1px solid #dccb9a;box-sizing:border-box}.sgqm-cert-col:first-child{border-left:0}
.sgqm-cert-perfect{width:105px!important;height:105px!important;border-width:3px!important}.sgqm-cert-stars{font-size:16px!important;letter-spacing:0!important}.sgqm-cert-perfect.stars-only .sgqm-cert-stars{font-size:22px!important}.sgqm-cert-perfect strong{font-size:32px!important}.sgqm-cert-perfect span{font-size:14px!important}
.sgqm-cert-dates{gap:18px}.sgqm-cert-dates span,.sgqm-cert-verify span{font-size:14px}.sgqm-cert-dates strong,.sgqm-cert-verify strong{display:block;font-size:17px;margin-top:5px;color:#0b2c63}
.sgqm-validation-link{flex-basis:auto!important;margin:12px 0 2px!important;font-size:15px!important;text-decoration:none!important;padding:7px 12px;border:1px solid #143c86;border-radius:999px}.sgqm-cert-verify small{font-size:11px;color:#667085}
.sgqm-cert-founder{width:auto!important;padding-top:0!important}.sgqm-digital-signature{font-size:29px!important;margin-bottom:1px!important}.sgqm-founder-line{width:155px!important;margin:4px auto 6px!important}.sgqm-cert-founder strong{border-top:0!important;padding-top:0!important;font-size:17px!important}.sgqm-cert-founder span{font-size:13px!important}
@media(max-width:760px){.sgqm-cert-inner{min-width:900px!important}.sgqm-cert-logo{width:165px!important}.sgqm-cert-inner h1{font-size:54px!important}}

/* v3.0.6 certificate design: top-left brand and full validation path */
.sgqm-cert-inner{padding:26px 44px 24px!important;background:#fffdf8!important}
.sgqm-cert-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;min-height:100px!important;text-align:left!important}
.sgqm-cert-brand{width:230px;display:flex;align-items:flex-start;justify-content:flex-start}
.sgqm-cert-logo{width:210px!important;max-width:210px!important;max-height:105px!important;margin:0!important;object-fit:contain!important}
.sgqm-cert-id-top{font-family:Georgia,serif;font-size:15px;color:#0b2c63;padding-top:12px;white-space:nowrap}
.sgqm-cert-title{text-align:center;margin-top:-8px}
.sgqm-cert-title h1{font-family:Georgia,serif;font-size:58px;line-height:1;margin:0;color:#0b2c63;letter-spacing:3px}
.sgqm-cert-title p{font-family:Georgia,serif;font-size:25px;letter-spacing:7px;color:#c28c08;margin:8px 0 14px}
.sgqm-cert-body{margin-top:0!important}
.sgqm-cert-inner footer{margin-top:16px!important;min-height:112px!important}
.sgqm-cert-verify .sgqm-verify-label{font-size:13px;margin-top:10px}
.sgqm-cert-validation-path{border-top:1px solid #c79a22;margin:12px 70px 0;padding-top:9px;text-align:center;font-family:Georgia,serif;font-size:13px;color:#0b2c63;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sgqm-cert-validation-path strong{font-family:Arial,sans-serif;font-size:12px}
@media(max-width:760px){.sgqm-cert-header{min-height:100px!important}.sgqm-cert-logo{width:210px!important}.sgqm-cert-title h1{font-size:58px!important}}

/* v3.0.7 certificate alignment and cursive signature */
.sgqm-cert-inner{padding:24px 38px 22px!important}
.sgqm-cert-header{min-height:108px!important;align-items:flex-start!important}
.sgqm-cert-brand{width:260px!important}
.sgqm-cert-logo{width:225px!important;max-width:225px!important;max-height:112px!important}
.sgqm-cert-id-top{padding-top:14px!important;font-size:16px!important}
.sgqm-cert-title{margin-top:-1px!important}
.sgqm-cert-title h1{font-size:56px!important;letter-spacing:4px!important}
.sgqm-cert-title p{font-size:24px!important;letter-spacing:6px!important;margin:6px 0 12px!important}
.sgqm-cert-body h2{font-size:48px!important}
.sgqm-cert-inner footer{grid-template-columns:1.05fr 1.05fr 1.15fr 1.25fr!important;min-height:144px!important;padding-top:15px!important;margin-top:14px!important}
.sgqm-cert-col{min-height:118px!important;padding:0 14px!important}
.sgqm-cert-perfect{width:102px!important;height:102px!important}
.sgqm-cert-dates{gap:13px!important}
.sgqm-cert-verify strong{font-size:18px!important;margin:0 0 8px!important}
.sgqm-cert-founder{justify-content:center!important}
.sgqm-digital-signature{font-family:'Brush Script MT','Segoe Script','Lucida Handwriting','Apple Chancery','URW Chancery L',cursive!important;font-size:36px!important;font-style:normal!important;font-weight:400!important;letter-spacing:-1px!important;transform:rotate(-3deg)!important;line-height:1.05!important;color:#123b82!important;margin:0 auto 1px!important}
.sgqm-founder-line{width:175px!important;margin:3px auto 6px!important}
.sgqm-cert-founder strong{font-size:18px!important}
.sgqm-cert-founder span{font-size:14px!important}
.sgqm-cert-validation-path{margin:10px 36px 0!important;padding-top:8px!important;font-size:12px!important;overflow:visible!important;text-overflow:clip!important}
.sgqm-cert-validation-path strong{font-size:11px!important}

/* v3.0.8: score removed; homepage QR scanner added */
.sgqm-cert-home-qr{display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.sgqm-cert-home-qr img{width:88px;height:88px;display:block;object-fit:contain;background:#fff;padding:2px;border:1px solid #d8c27d}
.sgqm-cert-home-qr strong{font-size:14px;margin-top:5px;color:#143c86}
.sgqm-cert-home-qr span{font-size:11px;color:#333}
