/* General English skills – extends app.css + listen.css (same theme as SpeakFlow) */
.esg-page{margin:0}
#es-skills svg{width:18px;height:18px;flex:0 0 18px;vertical-align:middle}
.hidden{display:none!important}
.esg-ar{direction:rtl;text-align:right;font-family:"Noto Kufi Arabic",Tahoma,sans-serif;font-size:15px;line-height:1.85;color:#5a4300;background:#fff8ec;border:1px solid #f2dfb0;border-radius:12px;padding:8px 12px;margin:6px 0 10px}
.esg-ar.sm{font-size:13.5px;padding:6px 10px;margin:4px 0 6px}
.esg-ar.plain{background:none;border:0;padding:0;margin:4px 0 0;color:#6b5000}
.esg-titlear,.esg-itar,[lang="ar"]{font-family:"Noto Kufi Arabic",Tahoma,sans-serif}
.esg-titlear{direction:rtl;color:#7a5a00;font-size:16px;margin:2px 0 0}
.esg-nav{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 12px;margin:0 0 4px;scrollbar-width:none}
.esg-nav::-webkit-scrollbar{display:none}
.esg-navl{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:8px 14px;border-radius:999px;border:1px solid var(--line,#e3e7f0);background:#fff;font-size:13.5px;font-weight:700;color:var(--navy,#0a1934);text-decoration:none}
.esg-navl svg{width:16px!important;height:16px!important;flex-basis:16px!important}
.esg-navl.on{background:var(--navy,#0a1934);color:#fff;border-color:var(--navy,#0a1934)}
.esg-homehead{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.esg-homehead h2{margin:6px 0 0}
.esg-avg{text-align:right}.esg-avg b{display:block;font-size:24px;color:var(--navy,#0a1934)}.esg-avg small{color:var(--mute,#64718a);font-size:12px;font-weight:600}
.esg-lvtabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:16px 0 12px}
.esg-lvtabs button{font:inherit;cursor:pointer;border:1px solid var(--line,#e3e7f0);background:#fff;border-radius:14px;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--navy,#0a1934)}
.esg-lvtabs button b{font-size:17px}.esg-lvtabs button small{font-size:11.5px;color:var(--mute,#64718a);font-weight:600}
.esg-lvtabs button.on{background:linear-gradient(135deg,#7c3aed,#3f6df6);color:#fff;border-color:transparent;box-shadow:0 10px 22px rgba(92,64,240,.28)}
.esg-lvtabs button.on small{color:#e6e9ff}
.esg-items{display:grid;gap:10px;margin-top:14px}
.esg-item{font:inherit;text-align:left;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;border:1px solid var(--line,#e3e7f0);background:#fff;color:inherit;transition:transform .15s,box-shadow .15s}
.esg-item:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(10,25,52,.08)}
.esg-ico{flex:0 0 38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:800;background:#f1f3f9;color:var(--navy,#0a1934)}
.esg-ico.done{background:#e7f7ef;color:#0f8a4b}
.esg-it{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.esg-it b{font-size:15.5px}.esg-it small{color:var(--mute,#64718a);font-size:13px;line-height:1.4}
.esg-itar{direction:rtl;text-align:left;font-size:13px;color:#7a5a00}
.esg-badge{flex:0 0 auto;font-size:12.5px;font-weight:800;padding:4px 10px;border-radius:999px;background:#f1f3f9}
.esg-badge.ok{background:#e7f7ef;color:#0f7a43}.esg-badge.mid{background:#fff4dc;color:#8a5a00}.esg-badge.low{background:#fdecef;color:#b4233d}
.esg-certready{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#fff8e1,#fff1c9);border:1px solid #f1d27a;color:#6b4a00;text-decoration:none;font-size:14px}
.esg-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;flex-wrap:wrap}
.esg-backb{display:inline-flex;align-items:center;gap:6px;padding:8px 14px}
.esg-lhead h2{margin:8px 0 2px}
.esg-goal{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px 14px;border-radius:14px;background:#f4f1ff;color:#3b2a8a}
.esg-goal svg{margin-top:2px}
.esg-h{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:18px}
.esg-h svg{color:#7c3aed}
.esg-h .esg-qn{margin-left:auto;font-size:13px;color:var(--mute,#64718a);font-weight:700}
.esg-explain p{margin:0 0 4px;font-size:15.5px;line-height:1.65}
.esg-explain{margin-bottom:12px}
.esg-tablewrap{overflow-x:auto;margin-top:6px}
.esg-table{border-collapse:collapse;width:100%;font-size:14.5px;min-width:420px}
.esg-table th{background:var(--navy,#0a1934);color:#fff;text-align:left;padding:8px 10px;font-size:13px}
.esg-table th:first-child{border-radius:10px 0 0 0}.esg-table th:last-child{border-radius:0 10px 0 0}
.esg-table td{padding:8px 10px;border-bottom:1px solid var(--line,#e3e7f0)}
.esg-table tr:nth-child(even) td{background:#fafbfe}
.esg-examples{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.esg-ex{padding:10px 12px;border-radius:12px;border:1px solid var(--line,#e3e7f0);background:#fafbfe}
.esg-ex p{margin:0 0 4px;font-weight:600}
.esg-trap{border-left:4px solid #f0b429;background:linear-gradient(180deg,#fffdf6,#fff)}
.esg-mist{display:grid;gap:10px}
.esg-mi{padding:10px 12px;border-radius:12px;border:1px solid var(--line,#e3e7f0)}
.esg-mi .w,.esg-mi .r{display:flex;align-items:center;gap:8px;font-size:15px}
.esg-mi .w{color:#b4233d}.esg-mi .r{color:#0f7a43;margin-top:4px}
.esg-dots{display:flex;gap:4px;margin:-4px 0 14px;flex-wrap:wrap}
.esg-dots i{width:18px;height:5px;border-radius:4px;background:#e6e9f2}
.esg-dots i.d{background:#7c3aed}.esg-dots i.c{background:#a78bfa}
.esg-q{font-size:17px;font-weight:600;line-height:1.6;margin:0 0 14px}
.esg-opts{display:grid;gap:8px;margin-bottom:10px}
.esg-opts.row{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
.esg-opt{font:inherit;font-weight:700;cursor:pointer;text-align:left;padding:12px 14px;border-radius:12px;border:1.5px solid var(--line,#e3e7f0);background:#fff;color:inherit}
.esg-opt:hover:not(:disabled){border-color:#a78bfa}
.esg-opt.sel{border-color:#7c3aed;background:#f4f1ff}
.esg-opt.right{border-color:#16a34a;background:#e9f9ef}
.esg-opt.wrong{border-color:#dc2645;background:#fdecef}
.esg-opt:disabled{cursor:default}
.esg-in{font:inherit;font-weight:700;font-size:16px;padding:6px 10px;border:1.5px solid #c9cfe0;border-radius:10px;min-width:90px;max-width:100%;margin:0 6px;background:#fff;color:inherit}
.esg-in.wide{display:block;width:100%;margin:0 0 12px}
.esg-in:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.15)}
.esg-in.right{border-color:#16a34a;background:#e9f9ef}.esg-in.wrong{border-color:#dc2645;background:#fdecef}
.esg-line{min-height:52px;padding:8px;border:1.5px dashed #c9cfe0;border-radius:12px;display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px;background:#fafbfe}
.esg-line.right{border-color:#16a34a;background:#e9f9ef}.esg-line.wrong{border-color:#dc2645;background:#fdecef}
.esg-bank{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.esg-chip{font:inherit;font-weight:700;cursor:pointer;padding:8px 12px;border-radius:10px;border:1px solid #d4d9e8;background:#fff;color:inherit;box-shadow:0 2px 0 #e3e7f0}
.esg-fbin{padding:12px 14px;border-radius:12px;margin:10px 0}
.esg-fbin b{display:flex;align-items:center;gap:6px}
.esg-fbin p{margin:6px 0 0}
.esg-fbin.ok{background:#e9f9ef;border:1px solid #bfe9cf;color:#0e5e33}
.esg-fbin.bad{background:#fff4f6;border:1px solid #f3c2cd;color:#8c1c33}
.esg-result{display:flex;align-items:center;gap:16px;margin:6px 0 12px;flex-wrap:wrap}
.esg-result p{flex:1;min-width:200px;margin:0}
.esg-score{min-width:120px;text-align:center;padding:14px;border-radius:18px;background:#f1f3f9}
.esg-score b{display:block;font-size:32px;line-height:1}
.esg-score small{font-size:12px;font-weight:600;color:var(--mute,#64718a)}
.esg-score.ok{background:#e9f9ef;color:#0f7a43}.esg-score.mid{background:#fff4dc;color:#8a5a00}.esg-score.low{background:#fdecef;color:#b4233d}
.esg-ta{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:16px;line-height:1.7;padding:14px;border:1.5px solid #c9cfe0;border-radius:14px;resize:vertical;margin:6px 0 10px;background:#fff;color:inherit}
.esg-ta.small{font-size:15px}
.esg-ta:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.15)}
.esg-wcbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13.5px;margin:-4px 0 12px}
.esg-wcbar b.ok{color:#0f7a43}.esg-wcbar b.low{color:#8a5a00}.esg-wcbar b.over{color:#b4233d}
.esg-diff{white-space:normal;line-height:1.9;font-size:15.5px;padding:14px;border-radius:14px;background:#fafbfe;border:1px solid var(--line,#e3e7f0)}
.esg-diff del,.esg-legend del{color:#b4233d;background:#fde4e9;text-decoration:line-through;border-radius:4px;padding:0 2px}
.esg-diff ins,.esg-legend ins{color:#0e6b39;background:#d9f5e3;text-decoration:none;border-radius:4px;padding:0 2px;font-weight:700}
.esg-legend{font-size:12.5px;margin:6px 0 12px}
.esg-errs{display:grid;gap:8px}
.esg-err1{padding:10px 12px;border-radius:12px;border:1px solid var(--line,#e3e7f0);background:#fff}
.esg-err1 s{color:#b4233d}.esg-err1 b{color:#0f7a43}
.esg-err1 p{margin:4px 0 0;font-size:14px;color:#3a4766}
.esg-type{float:right;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;padding:2px 8px;border-radius:99px;background:#f1f3f9;color:#3a4766}
.esg-err{border-color:#f3b8c4!important;background:#fff4f6!important}
/* vocabulary */
.esg-words{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.esg-word{padding:14px;border-radius:16px;border:1px solid var(--line,#e3e7f0);background:#fff}
.esg-wtop{display:flex;align-items:center;gap:10px}
.esg-wtop .w{font-size:18px;margin-right:6px}
.esg-wtop .pos{font-size:12px;color:var(--mute,#64718a);font-style:italic;margin-right:6px}
.esg-wtop .ipa{font-size:13px;color:#5b4bb3}
.esg-war{margin-left:auto;font-weight:700;color:#7a5a00;font-size:16px;text-align:right}
.esg-war.big{margin:10px 0;font-size:24px;text-align:center}
.esg-word .def{margin:8px 0;color:#3a4766;font-size:14px}
.esg-wex{display:flex;gap:8px;align-items:flex-start}
.esg-wex p{margin:4px 0;font-size:14.5px}
.esg-wex mark{background:#fff0b3;border-radius:4px;padding:0 2px}
.esg-play{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;min-width:36px;padding:0 10px;border-radius:999px;border:1px solid #d9dcf0;background:#fff;color:var(--navy,#0a1934);cursor:pointer;font:inherit;font-weight:700;font-size:13px}
.esg-play svg{width:16px!important;height:16px!important;flex-basis:16px!important}
.esg-play.on{background:var(--navy,#0a1934);color:#fff;border-color:var(--navy,#0a1934)}
.esg-colloc{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}
.esg-colloc div{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;background:#f6f7fb}
.esg-colloc small{color:var(--mute,#64718a)}
.esg-colloc span{color:#7a5a00;font-size:14px}
.esg-tip{margin-top:12px;padding:12px 14px;border-radius:12px;background:#f4f1ff}
.esg-bigar{font-size:24px;display:inline-block;margin-top:6px}
.esg-review{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.esg-fcard{text-align:center;padding:26px 10px}
.esg-fw{font-size:32px;margin-left:10px}
/* reading */
.esg-rbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.esg-rbar .esi-btn{display:inline-flex;align-items:center;gap:6px}
.esg-switch{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;cursor:pointer;padding:6px 4px}
.esg-switch input{width:18px;height:18px;accent-color:#7c3aed}
.esg-hint{font-size:13px;margin:10px 0 6px}
.esg-text{position:relative;padding:22px;border-radius:16px;background:#fffdf8;border:1px solid #efe6d2;font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.85;color:#1f2433}
.esg-text.blur>*{filter:blur(6px);user-select:none}
.esg-text.blur:after{content:"Tap here or press Start to show the text";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:Inter,sans-serif;font-weight:800;font-size:16px;color:var(--navy,#0a1934);cursor:pointer}
.esg-ttitle{font-family:Inter,sans-serif;margin:0 0 10px;font-size:21px}
.esg-para{margin:0 0 14px}
.esg-s{cursor:pointer;border-radius:4px;transition:background .2s}
.esg-s:hover{background:#f6f0ff}
.esg-s.reading{background:#ffe9a8}
.esg-sar{display:block;margin:4px 0 8px;font-size:15px;line-height:1.8;color:#6b5000;background:#fff6e2;border-radius:8px;padding:4px 10px;font-family:"Noto Kufi Arabic",Tahoma,sans-serif}
.esg-gl{border-bottom:2px dotted #7c3aed;cursor:help}
.esg-pop{position:absolute;z-index:9999;max-width:280px;padding:12px 14px;border-radius:14px;background:#0a1934;color:#fff;box-shadow:0 18px 40px rgba(0,0,0,.25);font-size:14px}
.esg-pop p{margin:4px 0;color:#d6defa}.esg-pop div{color:#ffe08a;font-size:15px}
.esg-speedbox{display:flex;align-items:center;gap:16px;margin-top:14px;flex-wrap:wrap}.esg-speedbox p{flex:1;min-width:200px;margin:0}
.esg-rq{padding:12px 0;border-bottom:1px solid var(--line,#e3e7f0)}
.esg-rq p{margin:0 0 8px;font-weight:600}
/* writing */
.esg-task{margin-top:14px;padding:14px;border-radius:14px;background:#f4f1ff}
.esg-task p{margin:6px 0}
.esg-wgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.esg-wgrid>.esi-card{margin:0 0 16px}
.esg-steps{padding-left:20px;margin:0}.esg-steps li{margin-bottom:8px}
.esg-tips{padding-left:20px;margin:0}.esg-tips li{margin-bottom:8px}
.esg-phr{display:flex;flex-wrap:wrap;gap:8px}
.esg-ph{font:inherit;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:2px;padding:8px 12px;border-radius:12px;border:1px solid #d9dcf0;background:#fff;color:inherit}
.esg-ph:hover{border-color:#7c3aed;background:#faf8ff}
.esg-ph span{font-size:12.5px;color:#7a5a00}
.esg-model{margin-top:12px;padding:16px;border-radius:14px;background:#f6f7fb;border:1px solid var(--line,#e3e7f0);line-height:1.75}
.esg-model p{margin:8px 0}
.esg-wres{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.esg-cefr{min-width:110px;text-align:center;padding:14px;border-radius:18px}
.esg-cefr b{display:block;font-size:36px;line-height:1}.esg-cefr small{font-size:12px;font-weight:600}
.esg-cefr.ok{background:#e9f9ef;color:#0f7a43}.esg-cefr.mid{background:#fff4dc;color:#8a5a00}
.esg-bars{flex:1;min-width:220px;display:grid;gap:8px}
.esg-bar{display:grid;grid-template-columns:110px 1fr 34px;align-items:center;gap:8px;font-size:13.5px;font-weight:600}
.esg-bar i{display:block;height:10px;border-radius:6px;background:#eef0f6;overflow:hidden}
.esg-bar em{display:block;height:100%;border-radius:6px;background:#7c3aed}
.esg-bar em.ok{background:#16a34a}.esg-bar em.mid{background:#f0a020}.esg-bar em.low{background:#dc2645}
.esg-bar b{text-align:right}
.esg-note2{display:flex;align-items:center;gap:6px;font-weight:700}
.esg-good{list-style:none;padding:0;margin:0;display:grid;gap:6px}.esg-good li{display:flex;gap:8px;align-items:flex-start}.esg-good svg{color:#16a34a}
.esg-loading{display:flex;justify-content:center;gap:8px;padding:16px}
.esg-loading i{width:12px;height:12px;border-radius:50%;background:#7c3aed;animation:esgb 1s infinite ease-in-out}
.esg-loading i:nth-child(2){animation-delay:.15s}.esg-loading i:nth-child(3){animation-delay:.3s}
@keyframes esgb{0%,80%,100%{transform:scale(.5);opacity:.4}40%{transform:scale(1);opacity:1}}
.esg-endrow{justify-content:flex-end;margin:6px 0 30px}
.esg-endrow .esi-btn{display:inline-flex;align-items:center;gap:6px}
/* certificates list */
.esg-ccards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.esg-ccard{display:flex;gap:12px;padding:16px;border-radius:16px;border:1px solid var(--line,#e3e7f0);background:#fff}
.esg-ccard.ok{border-color:#f1d27a;background:linear-gradient(180deg,#fffdf4,#fff)}
.esg-cico{flex:0 0 46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#f1f3f9;color:#8a93a8}
.esg-ccard.ok .esg-cico{background:linear-gradient(135deg,#f6d365,#d4a017);color:#fff}
.esg-cico svg{width:24px!important;height:24px!important}
.esg-cbody{flex:1;min-width:0}.esg-cbody h3{margin:0 0 4px;font-size:17px}.esg-cbody h3 small{font-size:12.5px;color:var(--mute,#64718a);font-weight:600;margin-left:4px}
.esg-cbody p{margin:0 0 10px;font-size:14px}
.esg-cbody .esi-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;font-size:13.5px}
.esg-howc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.esg-howc div{padding:10px 12px;border-radius:12px;background:#f6f7fb;display:flex;flex-direction:column;gap:2px;font-size:13.5px}
#esg-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:#0a1934;color:#fff;padding:10px 18px;border-radius:12px;font-weight:600;font-size:14px;z-index:9999;transition:.25s}
#esg-toast.on{opacity:1;transform:translateX(-50%)}
#es-skills .esi-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px}
@media (max-width:760px){
 .esg-examples,.esg-words,.esg-wgrid,.esg-ccards,.esg-howc{grid-template-columns:1fr}
 .esg-lvtabs{grid-template-columns:repeat(3,minmax(0,1fr))}
 .esg-text{padding:16px;font-size:17px}
 .esg-bar{grid-template-columns:92px 1fr 30px}
 .esg-wtop{flex-wrap:wrap}.esg-war{width:100%;text-align:right}
}

/* ================= certificate page ================= */
.esg-certpage{background:#e9ecf3}
.esg-certwrap{max-width:1000px;margin:30px auto 50px;padding:0 16px}
.esg-cert{position:relative;aspect-ratio:1.414/1;background:#fff;padding:18px;border-radius:6px;box-shadow:0 30px 70px rgba(10,25,52,.22);background-image:linear-gradient(135deg,#0a1934 0%,#1b2f63 50%,#0a1934 100%)}
.esg-cert-in{position:relative;height:100%;box-sizing:border-box;background:#fffdf7;border:2px solid #c9a227;outline:6px solid #fffdf7;outline-offset:-14px;box-shadow:inset 0 0 0 10px #fffdf7,inset 0 0 0 11px #e4cf86;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4% 7%;color:#0a1934;font-family:Inter,sans-serif;overflow:hidden}
.esg-cert-in:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 46%,rgba(201,162,39,.09),transparent 55%);pointer-events:none}
.esg-cert-top{display:flex;align-items:center;gap:12px;margin-bottom:2.2%}
.esg-cert-top img{width:clamp(34px,6vw,58px);height:clamp(34px,6vw,58px);border-radius:12px;object-fit:cover}
.esg-cert-top b{display:block;letter-spacing:.32em;font-size:clamp(11px,1.7vw,17px);text-align:left}
.esg-cert-top small{display:block;font-size:clamp(8px,1.05vw,11px);letter-spacing:.14em;text-transform:uppercase;color:#8a6d12;text-align:left}
.esg-cert-kicker{font-family:"Playfair Display",Georgia,serif;font-weight:800;font-size:clamp(20px,4.4vw,44px);color:#0a1934;letter-spacing:.01em;line-height:1.1}
.esg-cert-pre{margin:1.4% 0 0;font-size:clamp(9px,1.35vw,14px);letter-spacing:.2em;text-transform:uppercase;color:#6b7280}
.esg-cert-name{margin:.6% 0 .2%;font-family:"Playfair Display",Georgia,serif;font-weight:700;font-size:clamp(24px,5.2vw,54px);line-height:1.1;background:linear-gradient(90deg,#9a7b10,#d8b23a,#9a7b10);-webkit-background-clip:text;background-clip:text;color:transparent;border-bottom:1.5px solid #e4cf86;padding:0 4% .6%}
.esg-cert-level{display:flex;align-items:center;gap:14px;margin:1.6% 0 .6%}
.esg-cert-level span{display:inline-flex;align-items:center;justify-content:center;width:clamp(44px,8vw,84px);height:clamp(44px,8vw,84px);border-radius:50%;background:linear-gradient(135deg,#0a1934,#2a3f7a);color:#f6d36b;font-weight:900;font-size:clamp(16px,3.2vw,32px);box-shadow:0 0 0 4px #fffdf7,0 0 0 6px #c9a227}
.esg-cert-level b{display:block;font-size:clamp(14px,2.6vw,26px);text-align:left}
.esg-cert-level small{display:block;font-size:clamp(10px,1.6vw,16px);color:#8a6d12;font-weight:700;text-align:left;letter-spacing:.06em;text-transform:uppercase}
.esg-cert-desc{max-width:680px;margin:.8% 0 0;font-size:clamp(9px,1.35vw,14px);color:#3a4766;line-height:1.5}
.esg-cert-foot{display:flex;align-items:flex-end;justify-content:space-between;width:80%;margin-top:3%}
.esg-cert-foot>div{min-width:26%}
.esg-cert-foot>div:not(.esg-seal){border-top:1px solid #c9a227;padding-top:4px}
.esg-cert-foot b{display:block;font-size:clamp(10px,1.5vw,15px)}
.esg-cert-foot small{display:block;font-size:clamp(8px,1.05vw,11px);color:#6b7280;letter-spacing:.12em;text-transform:uppercase}
.esg-sign{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-size:clamp(12px,2vw,20px)!important;color:#0a1934}
.esg-seal{min-width:0!important;width:clamp(48px,9vw,92px);height:clamp(48px,9vw,92px);border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#f6d36b,#c9a227 70%,#9a7b10);color:#0a1934;box-shadow:0 0 0 3px #fffdf7,0 0 0 5px #c9a227,0 8px 18px rgba(154,123,16,.35)}
.esg-seal svg{width:58%;height:58%}
.esg-cert-code{position:absolute;bottom:3.2%;left:0;right:0;font-size:clamp(7px,.95vw,10px);color:#8a93a8;letter-spacing:.06em}
.esg-cert-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:20px 0 8px}
.esg-cert-actions .esi-btn{display:inline-flex;align-items:center;gap:6px}
.esg-cert-actions svg{width:18px;height:18px}
.esg-cert-note{text-align:center;font-size:12.5px;color:#64718a}
.esg-verified{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#e9f9ef;color:#0f7a43;font-weight:700}
@media print{
 @page{size:A4 landscape;margin:0}
 body *{visibility:hidden}
 #esg-cert,#esg-cert *{visibility:visible}
 #esg-cert{position:fixed;inset:0;width:100vw;height:100vh;aspect-ratio:auto;border-radius:0;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
.esg-cert.snap .esg-cert-name{background:none!important;color:#a8860f!important;-webkit-text-fill-color:#a8860f}
.esg-cert.snap .esg-cert-in{outline:none}
