.bj-certificate{position:relative;display:flex;align-items:center;gap:clamp(.8rem,3.2vw,2rem);isolation:isolate;max-width:58rem;margin:1rem auto;padding:clamp(1rem,3vw,1.8rem);border:1px solid #aabda9;border-left:5px solid #ad8540;border-radius:1rem;background:#faf7e9;color:#173e36}.bj-certificate .bj-earned-medal{width:clamp(76px,14vw,125px);height:auto;aspect-ratio:1;object-fit:contain}.bj-certificate h3{font-size:clamp(1.45rem,3.4vw,2.2rem);color:#153e36;margin:.1rem 0 .55rem;line-height:1.35}.bj-certificate p{margin:0;font-size:.94rem}.bj-award-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem}.bj-certificate button,.bj-certificate-editor button,.bj-cert-photo-control{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font:600 .94rem/1.4 noto sans bengali,sans-serif;padding:.5rem .9rem;border-radius:.6rem;background:#fffdf5;color:#19473d;border:1px solid #a5b6a4;cursor:pointer}.bj-certificate .bj-cert-primary,.bj-certificate-editor .bj-cert-primary{background:#174c40;color:#fffbea;border-color:#174c40}.bj-certificate button:focus-visible,.bj-certificate-editor :is(button,input):focus-visible,.bj-cert-photo-control:focus-within{outline:3px solid #31734d;outline-offset:3px}.bj-certificate-editor button:disabled,.bj-cert-photo-control:has(input:disabled){opacity:.55;cursor:default}.bj-certificate-editor{box-sizing:border-box;position:fixed;inset:0;width:min(48rem,calc(100% - 1.5rem));max-height:calc(100dvh - 1.5rem);margin:auto;padding:0;border:1px solid #a2b5a1;border-radius:1rem;color:#173e36;background:#faf9ee;box-shadow:0 12px 65px #132d2d45;overflow:auto;overscroll-behavior:contain;font-family:noto sans bengali,sans-serif;text-align:left}.bj-certificate-editor::backdrop{background:#122e29ad}.bj-cert-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem}.bj-certificate-editor .bj-cert-head h2{font-size:1.35rem;line-height:1.4;margin:0;color:#174c40}.bj-cert-paper{display:block;width:calc(100% - 2rem);height:auto;aspect-ratio:4/3;margin:0 auto;border:1px solid #beb594;background:#fff9ea}.bj-cert-editor-body{padding:.9rem 1rem 1rem}.bj-cert-photo-control{position:relative;overflow:hidden}.bj-cert-photo-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.bj-certificate-editor [hidden]{display:none!important}.bj-certificate-editor [data-name-form]{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}.bj-certificate-editor [data-name-form] label{display:grid;gap:.2rem;font-size:.9rem}.bj-certificate-editor [data-name-form] input{width:min(19rem,100%);min-height:44px;border:1px solid #91ac92;border-radius:.5rem;background:#fff;padding:.35rem .7rem;font:inherit}.bj-certificate-editor .bj-cert-note,.bj-certificate-editor .bj-cert-status{font-size:.9rem;line-height:1.5;margin:.45rem 0;color:#425c4e}.bj-certificate-editor .bj-cert-status:empty,.bj-certificate [data-badge-status]:empty{display:none}.bj-cert-export{margin-top:.85rem;border-top:1px solid #ced6bf;padding-top:.85rem}.bj-cert-print-frame{position:fixed;width:1px;height:1px;left:-100px;bottom:0;border:0}@media(max-width:450px){.bj-certificate{align-items:flex-start;gap:.6rem;padding:.8rem}.bj-certificate .bj-earned-medal{width:67px}.bj-certificate-editor{width:calc(100% - .6rem);max-height:calc(100dvh - .6rem)}.bj-cert-head,.bj-cert-editor-body{padding:.65rem}.bj-cert-paper{width:calc(100% - .8rem)}.bj-certificate button,.bj-certificate-editor button,.bj-cert-photo-control{padding:.4rem .65rem}}