#courses .certificate-details:empty{display:none}
#courses .certificate-record{margin-top:16px;padding:18px;border:1px solid #ffffff44;border-radius:12px;background:#ffffff0a;color:#fff}
#courses .certificate-record h4{margin:0 0 12px;font-size:16px;color:#ffd90c}
#courses .certificate-record dl{margin:0;font-size:12px;line-height:1.6}
#courses .certificate-record dt{color:#bbcee9;margin-top:9px}
#courses .certificate-record dd{margin:0;overflow-wrap:anywhere;font-weight:600}
#certificate-form[aria-busy=true] button{opacity:.65;cursor:wait;transform:none}
.secret-certificate-dialog{width:min(1000px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:48px 18px 18px;margin:auto;border:1px solid #d9b85d;border-radius:20px;background:#052654;color:#f3f5f8;overflow:auto;overscroll-behavior:contain;animation:secret-certificate-appear .55s ease both}
.secret-certificate-dialog::backdrop{background:#00172fbb;backdrop-filter:blur(4px)}
.secret-certificate-close{position:absolute;right:10px;top:8px;width:36px;height:36px;border:1px solid #d9b85d66;border-radius:50%;background:transparent;color:#fff;font-size:26px}
.secret-certificate{border:1px solid #d9b85d;padding:38px clamp(18px,5vw,65px);text-align:center;color:#f3f5f8}
.secret-certificate-logo{width:180px;height:auto;margin:0 auto 24px}
.secret-certificate-award{width:42px;height:53px;fill:none;stroke:#d9b85d;stroke-width:2;display:block;margin:0 auto 20px}
.secret-certificate h2{max-width:740px;margin:0 auto;color:#e5c76d;font-size:clamp(22px,3.4vw,38px);line-height:1.3;letter-spacing:.02em}
.secret-certificate p{max-width:700px;margin:28px auto;font-size:clamp(14px,1.7vw,18px);line-height:1.85}
.secret-certificate blockquote{color:#e5c76d;margin:25px auto;font-size:clamp(14px,1.6vw,17px);line-height:1.7}
.secret-certificate-stamp{display:inline-block;color:#e5c76d;font-size:clamp(16px,2vw,22px);letter-spacing:.12em;animation:secret-certificate-stamp .65s .3s ease both}
.secret-certificate-actions{display:flex;justify-content:center;margin-top:20px}
.secret-certificate-dialog button:focus-visible,.secret-certificate-actions a:focus-visible{outline:3px solid #ffd90c;outline-offset:3px}
@keyframes secret-certificate-appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes secret-certificate-stamp{from{opacity:0;transform:scale(1.3) rotate(-7deg)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.secret-certificate-dialog,.secret-certificate-stamp{animation:none}}
@media(max-width:500px){.secret-certificate{padding:24px 14px}.secret-certificate-logo{width:150px}.secret-certificate-dialog{padding:48px 10px 12px}}

.secret-certificate-dialog .certificate-speaking{position:relative;right:auto;bottom:auto;width:100%;max-width:none;margin:0 0 20px;display:flex;align-items:center;gap:8px;z-index:auto}
.secret-certificate-dialog .certificate-speaking #rolab-assistant-panel{position:relative;bottom:auto;right:auto;flex:1;max-height:none;width:auto;min-width:0;animation:none}
.secret-certificate-dialog .certificate-speaking .assistant-head-entry{position:relative;right:auto;bottom:auto;flex:none;opacity:1;transform:none}
.secret-certificate-dialog .certificate-speaking .assistant-head-tooltip{display:none}
.secret-certificate-dialog .certificate-speaking [data-close]{display:none}
@media(max-width:500px){.secret-certificate-dialog .certificate-speaking{gap:0}.secret-certificate-dialog .certificate-speaking .assistant-head-entry{width:65px}}

#courses .certificate-verification-dialog{width:min(440px,calc(100vw - 24px))}
#courses .certificate-verification-dialog .certificate-record{margin:0}
