.pdf-page {
    background:
        radial-gradient(circle at 12% 0, rgba(8, 217, 232, .14), transparent 30rem),
        linear-gradient(180deg, #f8fcfd 0%, #edf6f7 100%);
}
.pdf-card {
    border: 1px solid #d8e7e9;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 60px -42px rgba(5, 70, 80, .5);
}
.pdf-input { border: 1px solid #c8d8db; background: #fff; color: #0f172a; outline: none; }
.pdf-input:focus { border-color: #08a9b8; box-shadow: 0 0 0 3px rgba(8, 217, 232, .14); }
.pdf-primary { background: #08d9e8; color: #031013; transition: background .15s ease; }
.pdf-primary:hover:not(:disabled) { background: #70f4ff; }
.pdf-primary:disabled { cursor: not-allowed; opacity: .5; }
.pdf-secondary { border: 1px solid rgba(8, 145, 158, .42); background: rgba(255,255,255,.75); color: #087f8c; }
.pdf-secondary:hover:not([aria-disabled="true"]) { background: #e9fcfe; border-color: #08a9b8; }
.pdf-secondary[aria-disabled="true"] { cursor: not-allowed; border-color: #aebbbc; background: #e7ecec; color: #5b696d; }
.pdf-danger { border: 1px solid #fda4af; background: #fff1f2; color: #be123c; }
.pdf-dropzone { border: 1.5px dashed #99cdd3; background: #f5fdfe; transition: border-color .15s, background .15s; }
.pdf-dropzone:hover, .pdf-dropzone[data-dragging="true"] { border-color: #08a9b8; background: #e8fcfe; }
.pdf-message { margin-bottom: 1rem; border: 1px solid #fecdd3; border-radius: .875rem; background: #fff1f2; padding: .75rem 1rem; color: #be123c; font-size: .875rem; font-weight: 700; }
.pdf-status { display: inline-flex; border-radius: 999px; background: #e6fafc; padding: .3rem .7rem; color: #087f8c; font-size: .72rem; font-weight: 900; letter-spacing: .04em; }
.pdf-kicker { font-size: .68rem; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .08em; }
.pdf-value { margin-top: .3rem; font-size: 1.05rem; font-weight: 900; color: #0f172a; }
.pdf-retention-note { border-top: 1px solid #aebbbc; padding-top: 1rem; color: #5b696d; font-size: .75rem; line-height: 1.65; }
.history-item { display: block; width: 100%; padding: 1rem 1.25rem; text-align: left; transition: background .15s; }
.history-item:hover, .history-item[aria-current="true"] { background: #effcfd; }
.history-item[aria-current="true"] { box-shadow: inset 3px 0 #08a9b8; }
.history-file-state { color: #5b696d; font-size: .7rem; font-weight: 800; }
.preview-tab { min-height: 2.25rem; border-radius: .55rem; padding: 0 .75rem; color: #64748b; font-size: .75rem; font-weight: 800; }
.preview-tab[aria-selected="true"] { background: #08d9e8; color: #031013; }
.pdf-page-button { width: 2rem; height: 2rem; border: 1px solid #cbd5e1; border-radius: .5rem; background: #fff; color: #334155; font-weight: 900; }
.pdf-page-button:disabled { opacity: .4; }
#pdfCanvas { height: auto; }
@media (max-width: 640px) {
    #pdfViewport { min-height: 22rem; padding: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
