.pdf-popup{width:min(1240px,calc(100vw - 48px));height:calc(100dvh - 48px);max-width:none;max-height:none;padding:0;margin:auto;border:1px solid #ffffff26;border-radius:10px;background:#f4f2eb;color:#f5f2ec;box-shadow:0 28px 100px #0008;overflow:hidden}
.pdf-popup[open]{display:flex;flex-direction:column}
.pdf-popup::backdrop{background:#10120fbd;backdrop-filter:blur(4px)}
.pdf-popup .pdf-popup__header{display:flex;align-items:center;gap:20px;flex:none;padding:12px 16px 12px 22px;background:#191b17}
.pdf-popup .pdf-popup__title{flex:1;min-width:0;margin:0;font:400 20px/1.3 Georgia,serif;letter-spacing:0;color:#f5f2ec;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pdf-popup .pdf-popup__external{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #f29a4570;border-radius:5px;font:14px/1.3 Arial,sans-serif;color:#f5b06c;text-decoration:none}
.pdf-popup .pdf-popup__external:hover{background:#ffffff0c}
.pdf-popup .pdf-popup__close{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:44px;min-height:44px;flex:none;background:transparent;border:1px solid #ffffff35;border-radius:5px;padding:6px 12px;color:#f5f2ec;font:14px/1.3 Arial,sans-serif}
.pdf-popup .pdf-popup__cross{font:30px/1 Arial,sans-serif}
.pdf-popup .pdf-popup__close:hover{background:#ffffff12}
.pdf-popup .pdf-popup__frame{display:block;flex:1;width:100%;min-height:0;border:0;background:#f4f2eb}
@media(max-width:700px){.pdf-popup{width:100vw;height:100dvh;border:0;border-radius:0}.pdf-popup .pdf-popup__header{gap:10px;padding:10px 12px;flex-wrap:wrap}.pdf-popup .pdf-popup__title{font-size:17px;flex-basis:calc(100% - 64px);order:0}.pdf-popup .pdf-popup__close{order:1;width:44px;padding:0}.pdf-popup .pdf-popup__close>span:first-child{display:none}.pdf-popup .pdf-popup__external{order:2;min-height:40px;font-size:13px;padding:7px 12px}}
@media(prefers-reduced-motion:reduce){.pdf-popup::backdrop{backdrop-filter:none}}
