.uv-panel{margin:18px 0;padding:16px;border:1px solid #64748b;border-radius:12px}.uv-status{padding:10px;border-radius:8px;background:#1e293b;color:#e2e8f0}.uv-status[aria-busy=true]:before{content:'◌ ';display:inline-block;animation:uv-spin 1s linear infinite}.uv-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.uv-check{padding:10px;border:1px solid currentColor;border-radius:8px}.uv-check small{display:block;margin-top:5px}.uv-pass{color:#16a34a}.uv-fail{color:#dc2626}.uv-pending{color:#64748b}.uv-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin-top:16px}.uv-files article{min-width:0}.uv-files img{max-width:100%;display:block;margin:auto}.uv-files pre{max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.uv-frame{position:relative;line-height:0;margin:auto;width:100%;max-width:460px}.uv-frame img{width:100%;height:auto;image-orientation:from-image}.uv-frame svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.uv-pdf-stage{max-height:560px;overflow:auto;border:1px solid #64748b;background:#fff}.uv-pdf-stage .uv-frame{max-width:none}.uv-toolbar{display:flex;gap:8px;margin:10px 0}.uv-note{font-size:13px;line-height:1.5;overflow-wrap:anywhere}@keyframes uv-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.uv-status[aria-busy=true]:before{animation:none}}

.uv-status[aria-busy=true]{border:1px solid #94a3b8;box-shadow:0 8px 24px #0003}

.uv-instructions{padding:14px 16px;margin:16px 0;border:1px solid #64748b;border-radius:10px;font-size:14px;line-height:1.5}.uv-instructions h3{margin:0 0 8px}.uv-instructions h3:not(:first-child){margin-top:16px}.uv-instructions li{margin:6px 0}.uv-feedback{padding:12px;border:1px solid currentColor;border-radius:8px;line-height:1.5}

.uv-review-summary{grid-template-columns:repeat(7,minmax(110px,1fr));overflow-x:auto;padding-bottom:8px}.uv-review-summary button{background:#172336;text-align:left;cursor:pointer;min-height:100px;font:inherit}.uv-review-summary .uv-pass,.uv-review-results .uv-pass{color:#6ee7b7;border-color:#34d399}.uv-review-summary .uv-fail,.uv-review-results .uv-fail{color:#fca5a5;border-color:#f87171}.uv-review-summary .uv-pending,.uv-review-results .uv-pending{color:#cbd5e1;border-color:#64748b}.uv-review-file{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:16px}.uv-review-file>h4,.uv-review-file>p,.uv-review-file>details{grid-column:1/-1}.uv-review-results{display:grid;gap:8px;align-content:start}.uv-review-file .uv-pdf-stage{max-height:760px}.uv-review-summary button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}@media(max-width:800px){.uv-review-file{grid-template-columns:1fr}.uv-review-summary{grid-template-columns:repeat(7,150px)}}


.uv-upload-card{padding:14px;border:1px solid rgba(148,163,184,.3);border-radius:14px;background:rgba(12,24,40,.38)}
.uv-upload-card__header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.uv-upload-card__header h4{margin:0;color:#e6edf3;font-size:1rem}
.uv-verdict{padding:6px 10px;border:1px solid currentColor;border-radius:999px;font-size:.83rem;line-height:1.4}
.uv-upload-card .uv-pass,.uv-upload-hint.uv-pass{color:#86efac}
.uv-upload-card .uv-fail,.uv-upload-hint.uv-fail{color:#fca5a5}
.uv-processing,.uv-manual{color:#bcd5f3}
.uv-upload-hint{margin:8px 0 0;font-size:.9rem;line-height:1.5}
.uv-upload-hint.uv-processing::before,.uv-verdict.uv-processing::before{content:'';display:inline-block;width:12px;height:12px;margin-right:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:uv-spin .8s linear infinite}
.uv-original-pdf{display:block;width:100%;height:420px;border:1px solid #64748b;border-radius:10px;background:#fff}
.uv-original-link{display:inline-block;margin-top:10px;font-size:.9rem}
.uv-filename{margin-top:0;overflow-wrap:anywhere}
.uv-upload-card progress{display:block;width:100%;height:10px;accent-color:#79b2ff}
.uv-upload-check-details{margin-top:16px}.uv-upload-check-details summary{cursor:pointer;color:#c3ddfa;padding:10px 0}.uv-upload-check-details .uv-checks{margin-top:10px}
@media(max-width:640px){.uv-files{grid-template-columns:minmax(0,1fr)}.uv-original-pdf{height:360px}}
@media(prefers-reduced-motion:reduce){.uv-upload-hint.uv-processing::before,.uv-verdict.uv-processing::before{animation:none}}
