dialog.gf-pdf-progress {
    position: fixed; inset: 0; margin: auto; box-sizing: border-box;
    width: min(440px, calc(100vw - 32px)); max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px); overflow: auto; padding: 30px 28px;
    border: 1px solid #d4e4df; border-radius: 20px; background: #fff; color: #173c35;
    box-shadow: 0 24px 80px #062f3540; text-align: center; font: 15px/1.5 system-ui, sans-serif;
}
dialog.gf-pdf-progress:not([open]) { display: none; }
dialog.gf-pdf-progress::backdrop { background: #072e3b80; backdrop-filter: blur(3px); }
.gf-pdf-progress .gf-pdf-progress-icon { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: #e5f5ef; color: #087f66; font-size: 30px; line-height: 52px; }
.gf-pdf-progress h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; }
.gf-pdf-progress p { margin: 8px 0; }
.gf-pdf-progress progress { display: block; appearance: none; width: 100%; height: 9px; margin: 22px 0 14px; border: 0; border-radius: 8px; overflow: hidden; background: #e4eeeb; accent-color: #087f66; }
.gf-pdf-progress progress::-webkit-progress-bar { background: #e4eeeb; }
.gf-pdf-progress progress::-webkit-progress-value { background: #087f66; border-radius: 8px; }
.gf-pdf-progress progress::-moz-progress-bar { background: #087f66; border-radius: 8px; }
.gf-pdf-progress progress:not([value]) { background: linear-gradient(90deg, #e4eeeb 30%, #087f66 50%, #e4eeeb 70%) 0 0 / 200% 100%; animation: gf-pdf-progress 1.5s linear infinite; }
.gf-pdf-progress progress:not([value])::-webkit-progress-bar { background: transparent; }
.gf-pdf-progress .gf-pdf-progress-bytes { font-weight: 600; font-size: 14px; }
.gf-pdf-progress .gf-pdf-progress-time { color: #5b716a; font-size: 13px; font-variant-numeric: tabular-nums; }
.gf-pdf-progress #gfPdfProgressHint { margin-top: 22px; color: #5b716a; font-size: 13px; }
@keyframes gf-pdf-progress { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .gf-pdf-progress progress:not([value]) { animation: none; } }
