/* V5.1.19 EXPERIMENTAL · QR de evidencia + almacenamiento */
.usersAdminHeadActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.evidenceQrModal,.storageStatusModal{z-index:1900}.evidenceQrCard{width:min(620px,94vw);text-align:center}.evidenceEyebrow{color:#2c9b63}.evidenceQrPart{background:#f0f6f8;border:1px solid #d2e1e6;border-radius:12px;padding:10px 14px;margin:14px 0;font-weight:800}.evidenceQrBox{width:min(330px,85vw);aspect-ratio:1;margin:12px auto;display:grid;place-items:center;background:#fff;border:1px solid #d7e2e7;border-radius:16px;padding:12px}.evidenceQrBox svg{width:100%;height:100%;display:block}.evidenceQrMeta{display:flex;flex-direction:column;gap:6px;color:#55727f}.evidenceQrMeta b{color:#173e50}.evidenceQrMeta .received{color:#16864b;font-weight:900}.evidenceQrActions{display:flex;gap:10px;justify-content:center;margin-top:16px}.evidenceQrActions button{min-width:140px}.requestEvidenceBox{margin-top:10px;border-top:1px dashed #c9d9df;padding-top:9px}.requestEvidenceHead{display:flex;align-items:center;justify-content:space-between;gap:10px}.requestEvidenceHead b{font-size:13px;color:#385d6e}.requestEvidenceHead button{border:0;border-radius:8px;background:#174f68;color:#fff;padding:7px 10px;font-size:12px;font-weight:900;cursor:pointer}.requestEvidenceList{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.evidenceThumb{display:grid;grid-template-columns:64px 1fr;gap:8px;width:min(330px,100%);border:1px solid #d4e1e6;border-radius:10px;padding:7px;background:#fff}.evidenceThumb img{width:64px;height:64px;object-fit:cover;border-radius:7px;background:#e9f0f3}.evidenceThumbMeta{display:flex;flex-direction:column;gap:2px;min-width:0}.evidenceThumbMeta b{font-size:12px}.evidenceThumbMeta span,.evidenceThumbMeta small{font-size:11px;color:#617b87;word-break:break-word}.evidenceDeletionBadge{color:#a55a00!important;font-weight:800}.evidenceEmpty{font-size:12px;color:#728995}.storageStatusCard{width:min(900px,96vw)}.storageTitleRow{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.storageTitleRow h2{margin-bottom:3px}.storageTitleRow p{margin:0;color:#647d88}.storageStatusContent{margin-top:16px}.storageSummaryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.storageMetric{border:1px solid #d3e1e6;background:#f8fbfc;border-radius:12px;padding:13px}.storageMetric span{display:block;font-size:12px;color:#617986}.storageMetric b{display:block;font-size:22px;margin-top:4px}.storageBarCard{margin-top:12px;border:1px solid #d3e1e6;border-radius:12px;padding:13px}.storageBarHead{display:flex;justify-content:space-between;gap:10px;align-items:center}.storageBar{height:14px;border-radius:999px;background:#e3ebee;overflow:hidden;margin-top:9px}.storageBar>i{display:block;height:100%;width:0;background:#22965a;border-radius:inherit}.storageBarCard.warning .storageBar>i{background:#e5bc24}.storageBarCard.blocked .storageBar>i{background:#e57a1f}.storageBarCard.critical .storageBar>i{background:#c92b22}.storageOverall{margin-top:12px;border-radius:12px;padding:13px;font-weight:900;background:#eaf7ef;color:#167746}.storageOverall.warning{background:#fff8d8;color:#856a00}.storageOverall.blocked{background:#fff0df;color:#a24c00}.storageOverall.critical{background:#ffe5e2;color:#a51d16}.storageConfigWarning{margin-top:12px;background:#fff1dc;border:1px solid #efc586;color:#85500b;padding:12px;border-radius:10px}.storageActions{margin-top:14px;display:flex;justify-content:flex-end}.storageLoading{padding:25px;text-align:center;color:#617986}@media(max-width:700px){.storageSummaryGrid{grid-template-columns:1fr}.storageTitleRow{flex-direction:column}.usersAdminHeadActions{justify-content:flex-start}}
.storageActions{gap:10px;flex-wrap:wrap}.dangerEvidenceBtn{border:0;border-radius:9px;padding:10px 13px;background:#b9231a;color:#fff;font-weight:900;cursor:pointer}

/* V5.1.19 R2 · visor ampliado de evidencias */
.evidenceThumb img{cursor:zoom-in;transition:transform .14s ease,box-shadow .14s ease}.evidenceThumb img:hover{transform:scale(1.04);box-shadow:0 3px 12px rgba(14,54,70,.22)}
.evidenceLightboxModal{z-index:3200!important;background:rgba(5,18,25,.88)}.evidenceLightboxCard{width:min(1120px,96vw);height:min(92vh,920px);max-height:92vh;background:#0b202b;border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:14px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.5)}.evidenceLightboxClose{position:absolute;top:10px;right:12px;z-index:3;background:rgba(255,255,255,.92)!important;color:#102f3e!important;border-radius:999px!important;width:42px!important;height:42px!important;font-size:28px!important}.evidenceLightboxStage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;border-radius:13px;background:#07151c;padding:10px}.evidenceLightboxStage img{display:none;max-width:100%;max-height:calc(92vh - 105px);width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 8px 32px rgba(0,0,0,.45)}.evidenceLightboxStage img.ready{display:block}.evidenceLightboxLoading{color:#d8e7ee;font-weight:800;text-align:center;padding:25px}.evidenceLightboxMeta{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 5px 0;color:#fff}.evidenceLightboxMeta b{font-size:15px}.evidenceLightboxMeta span{font-size:12px;color:#b8cbd4}@media(max-width:700px){.evidenceLightboxCard{width:97vw;height:94vh;max-height:94vh;padding:9px}.evidenceLightboxStage img{max-height:calc(94vh - 100px)}.evidenceLightboxMeta{align-items:flex-start;flex-direction:column;gap:3px}.evidenceLightboxClose{top:6px;right:7px}}


/* V5.1.19 R4 · inspección de evidencia con zoom y desplazamiento */
.evidenceLightboxToolbar{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 0 9px;color:#fff}.evidenceLightboxToolbar button{border:1px solid rgba(255,255,255,.2);background:#173c4d;color:#fff;border-radius:8px;min-width:40px;height:36px;padding:0 11px;font-size:20px;font-weight:900;cursor:pointer}.evidenceLightboxToolbar .zoomResetBtn{font-size:12px;min-width:96px}.evidenceLightboxToolbar span{min-width:58px;text-align:center;font-weight:900;color:#d9e8ef}
.evidenceLightboxStage{overflow:hidden!important;position:relative;touch-action:none;user-select:none}.evidenceLightboxStage.canPan{cursor:grab}.evidenceLightboxStage.dragging{cursor:grabbing}.evidenceLightboxStage img{transform-origin:center center;transition:transform .08s linear;will-change:transform;user-select:none;-webkit-user-drag:none}.evidenceLightboxStage.dragging img{transition:none}
@media(max-width:700px){.evidenceLightboxToolbar{padding-bottom:6px;gap:5px}.evidenceLightboxToolbar button{height:34px;min-width:38px}.evidenceLightboxToolbar .zoomResetBtn{min-width:84px;padding:0 8px}}
