/* In-app PDF viewer (js/pdfviewer.js) */
.pdfv { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; background: #0B1F3A; }
.pdfv[hidden] { display: none; }
.pdfv-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; padding-top: max(8px, env(safe-area-inset-top)); background: #0B1F3A; color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.pdfv-back { display: flex; align-items: center; gap: 8px; border: 0; background: #F26522; color: #fff; font: 600 .9rem inherit; padding: 9px 14px; border-radius: 999px; cursor: pointer; flex-shrink: 0; }
.pdfv-back:active { transform: scale(.96); }
.pdfv-title { flex: 1; min-width: 0; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdfv-btn { display: flex; align-items: center; gap: 6px; color: #fff; background: rgba(255,255,255,.12); border: 0; text-decoration: none; font: 500 .8rem inherit; padding: 9px 11px; border-radius: 10px; cursor: pointer; flex-shrink: 0; }
.pdfv-btn:hover { background: rgba(255,255,255,.22); }
.pdfv-body { position: relative; flex: 1; background: #e9ecf1; }
.pdfv-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.pdfv-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #52514e; font-weight: 500; z-index: 1; pointer-events: none; }
.pdfv-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; background: rgba(11,31,58,.92); color: #fff; font-size: .82rem; padding: 9px 14px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.3); max-width: 92%; text-align: center; }
html.pdfv-open, html.pdfv-open body { overflow: hidden; }
@media (max-width: 640px) { .pdfv-btn span { display: none; } .pdfv-btn { padding: 10px 12px; } .pdfv-back span { display: inline; } }
