.document-read{font:inherit;cursor:pointer;margin-right:12px;min-height:44px}.certificate-row .document-read{display:inline-flex;padding:9px 14px;font-size:11px}.document-dialog{width:min(1200px,calc(100vw - 36px));max-width:none;height:calc(100dvh - 40px);max-height:100dvh;padding:0;border:1px solid #7192a5;border-radius:20px;background:#f4f9fc;color:#173b50;overflow:auto;box-shadow:0 30px 100px #001a35aa}.document-dialog::backdrop{background:#061827d9}.document-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;position:sticky;top:0;background:#f4f9fc;z-index:2;padding:20px 24px;border-bottom:1px solid #adc9d9}.document-toolbar p{font-size:9px;letter-spacing:.14em;color:#4b7087;margin:0 0 5px}.document-toolbar h2{font:400 clamp(19px,3vw,29px)/1.2 var(--display);margin:0}.document-close{flex:none;min-height:44px;padding:9px 16px;border:1px solid #6f91a6;border-radius:9px;background:#183e57;color:white;font:600 11px var(--body);cursor:pointer}.document-actions{display:flex;gap:10px;flex-wrap:wrap;padding:16px 24px 0}.document-actions a{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;background:#dfedf5;border:1px solid #a1becf;border-radius:9px;color:#173b50;font-size:11px;font-weight:700}.document-status,.document-help{font-size:11px;line-height:1.7;margin:12px 24px;color:#476c82}.document-frame-host{height:max(340px,calc(100dvh - 280px));margin:12px 20px;background:#e1eaf0;border:1px solid #a1becf}.document-frame-host[hidden]{display:none}.document-frame-host iframe{display:block;width:100%;height:100%;border:0}.document-window-note{font-size:11px;line-height:1.8;color:#4c7087;margin:12px 0}html[data-theme=night] .document-dialog,html[data-theme=night] .document-toolbar{background:#0f2b3e;color:#e0eef7}html[data-theme=night] .document-status,html[data-theme=night] .document-help,html[data-theme=night] .document-toolbar p,html[data-theme=night] .document-window-note{color:#b7cfdd}@media(max-width:600px){.document-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:12px}.document-toolbar{padding:12px;gap:12px}.document-close{padding:8px 11px}.document-toolbar h2{font-size:18px}.document-toolbar p{font-size:8px}.document-actions{padding:12px 12px 0;gap:8px}.document-status,.document-help{margin:10px 12px}.document-frame-host{margin:10px 8px;height:max(360px,calc(100dvh - 290px))}.document-actions a{font-size:10px;padding:8px 10px}}

.document-actions a[hidden]{display:none}
