/* GOJD V10: documento revisável e vídeo facial recortado com detector local */
.jd-credit-grid .field.span2{grid-column:1/-1}
.jd-proof{display:flex;flex-direction:column;gap:7px;padding:12px}
.jd-proof strong{margin:0;font-size:.85rem}
.jd-doc-preview{height:174px;background:#eff2ed;display:grid;place-items:center;overflow:hidden;border:1px solid #dce3dc}
.jd-doc-preview.has-media{background:#fff}
.jd-doc-preview>img{width:100%;height:100%;object-fit:contain;display:block}
.jd-doc-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:var(--muted);text-align:center}
.jd-doc-empty small{font-size:.7rem}
.jd-doc-file{display:block;font-size:.7rem;color:var(--muted);word-break:break-word;line-height:1.35}
.jd-doc-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;align-items:center}
.jd-doc-actions .btn,.jd-doc-actions label{min-height:37px;padding:8px 11px;font-size:.74rem;font-weight:750;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;text-decoration:none!important;cursor:pointer;margin:0!important}
.jd-doc-actions input[hidden]{display:none!important}
.jd-doc-remove{background:none;border:0;padding:6px;color:var(--muted);font-size:.75rem;text-decoration:underline}
.jd-pdf-preview{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}
.jd-pdf-preview embed{width:100%;height:100%;border:0}
.jd-pdf-preview span{position:absolute;bottom:0;right:0;background:#e6efe5;padding:3px 5px;min-height:0;font-size:.68rem;color:var(--ink)}
.jd-face-review-actions{display:flex;gap:8px;flex-wrap:wrap}
.jd-face-stage{position:relative;aspect-ratio:3/4;width:min(100%,345px);max-height:min(49dvh,460px);margin:12px auto;background:#111a16;overflow:hidden}
.jd-face-stage #jd-credit-video{position:absolute;width:2px;height:2px;opacity:0;pointer-events:none}
.jd-face-stage canvas{width:100%;height:100%;object-fit:contain;display:block}
.jd-face-oval{position:absolute;left:17%;right:17%;top:14%;bottom:14%;border:2px solid var(--acid);border-radius:48% 48% 44% 44%;pointer-events:none;box-shadow:0 0 0 130px rgba(0,0,0,.07)}
.jd-face-stage .jd-camera-feedback{position:absolute;bottom:8px;left:8px;right:8px;padding:6px 8px;font-size:.73rem;background:rgba(9,20,13,.9);color:#fff;text-align:center;line-height:1.3}
.jd-face-stage .jd-camera-feedback[data-good="1"]{border-left:3px solid var(--acid)}
.jd-face-track{height:4px;background:#dce6d9;margin:11px 0 5px}
.jd-face-track i{background:var(--acid);display:block;width:0;height:100%;transition:width .25s ease}
.jd-face-status{font-size:.75rem;color:#4a5c50;margin-bottom:8px;font-weight:700}
.jd-face-review{width:min(100%,345px);height:auto;max-height:450px;aspect-ratio:3/4;margin:14px auto;display:block;object-fit:contain;background:var(--deep)}
.jd-credit-content .jd-micro{font-size:.72rem;line-height:1.5}
@media(max-width:760px){.jd-doc-preview{height:155px}.jd-proof-tiles{grid-template-columns:1fr 1fr}.jd-face-stage{width:min(100%,280px);max-height:43dvh}.jd-face-review{width:min(100%,280px);max-height:43dvh}.jd-doc-actions .btn,.jd-doc-actions label{font-size:.7rem;min-height:34px;padding:7px 8px}}
@media(max-width:420px){.jd-proof-tiles{grid-template-columns:1fr}.jd-doc-preview{height:172px}.jd-credit-grid .field.span2{grid-column:1}.jd-doc-actions{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.jd-face-track i{transition:none}}
