.pdf-toolbar { max-width: 760px; margin: 24px auto 48px; padding: 22px; text-align: center; border-top: 1px solid #d9e0e7; }
.pdf-toolbar p { margin: 12px 0 0; color: #5a6673; font-size: 13px; }
.pdf-button { display: inline-block; padding: 12px 20px; border: 1px solid #c7d1dc; border-radius: 5px; background: #fff; color: #263e55; font: 600 14px/1.4 Arial, sans-serif; cursor: pointer; text-decoration: none; }
.pdf-button:hover { background: #edf3f8; }
.pdf-button:focus-visible, .pdf-close:focus-visible { outline: 3px solid #3e72c1; outline-offset: 3px; }
.pdf-button-primary { background: #263e55; color: white; border-color: #263e55; }
.pdf-button-primary:hover { background: #345571; color: white; }
.pdf-dialog { box-sizing: border-box; width: min(480px, calc(100vw - 32px)); padding: 32px; border: 0; border-top: 4px solid #a22230; border-radius: 8px; color: #263444; box-shadow: 0 20px 80px #0004; text-align: center; font-family: Arial, sans-serif; }
.pdf-dialog::backdrop { background: rgb(13 28 44 / 62%); }
.pdf-dialog-brand { text-align: left; font-weight: bold; color: #a22230; font-size: 19px; margin-bottom: 24px; }
.pdf-dialog-brand span { color: #657180; font-weight: normal; font-size: 10px; letter-spacing: 1px; margin-left: 10px; }
.pdf-dialog h2 { font-size: 25px; line-height: 1.3; margin: 18px 0 12px; }
.pdf-dialog p { color: #5a6673; font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.pdf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pdf-dialog [hidden] { display: none !important; }
.pdf-close { display: block; margin: 22px auto 0; border: 0; background: none; color: #526578; text-decoration: underline; cursor: pointer; padding: 8px 16px; }
.pdf-spinner { width: 36px; height: 36px; margin: 0 auto; border: 3px solid #e0e6ec; border-top-color: #a22230; border-radius: 50%; animation: pdf-spin 0.9s linear infinite; }
body.pdf-modal-open { overflow: hidden; }
@keyframes pdf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pdf-spinner { animation: none; border-top-color: #a22230; } }
@media print { .pdf-toolbar, .pdf-dialog { display: none !important; } }
