/* Core 1.40: adjuntos por actividad */
.adj-caja { margin-top: .35rem; }
.adj-input { display: none; }
.adj-acciones { align-items: center; }
.adj-estado { font-size: .85rem; }
.adj-lista { display: flex; flex-wrap: wrap; gap: .5rem; }
.adj-caja.con-adjuntos .adj-lista { margin-bottom: .35rem; }
.adj-mini { display: flex; flex-direction: column; align-items: center; width: 92px; padding: 4px; border: 1px solid var(--borde, #8884); border-radius: 8px; background: transparent; color: inherit; cursor: pointer; text-align: center; }
.adj-mini img { width: 82px; height: 82px; object-fit: cover; border-radius: 5px; display: block; }
.adj-mini .adj-ext, .adj-doc-grande .adj-ext { display: flex; align-items: center; justify-content: center; width: 82px; height: 82px; border-radius: 5px; background: var(--azul, #2563eb); color: #fff; font-weight: 700; letter-spacing: .05em; }
.adj-doc .adj-ext { background: #b91c1c; }
.adj-nombre { font-size: .72rem; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.adj-fecha { font-size: .68rem; opacity: .7; }
body.adj-abierto { overflow: hidden; }
.adj-visor { position: fixed; inset: 0; z-index: 10000; background: #000; color: #fff; display: flex; flex-direction: column; }
.adj-barra { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; align-items: center; padding: .5rem .75rem; background: #111; }
.adj-barra button { background: #2b2b2b; color: #fff; border: 1px solid #555; border-radius: 8px; padding: .45rem .7rem; font-size: .95rem; }
.adj-barra button:hover, .adj-barra button:focus-visible { background: #3d3d3d; }
.adj-barra .acciones button { min-width: 2.6rem; }
.adj-info { display: flex; flex-direction: column; min-width: 0; }
.adj-info strong { overflow-wrap: anywhere; }
.adj-info .sutil { color: #ddd; font-size: .8rem; }
.adj-zoom { font-size: .85rem; min-width: 3.2rem; text-align: center; }
.adj-marco { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; padding: .5rem; text-align: center; }
.adj-marco img { width: 100%; max-width: none; height: auto; display: inline-block; }
.adj-doc-grande { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: 3rem; }
.adj-pregunta { align-items: center; justify-content: center; padding: 1rem; background: rgba(0, 0, 0, .75); }
.adj-preg-caja { max-width: 28rem; color: var(--texto, inherit); background: var(--sup, var(--fondo, #1f2937)); padding: 1rem; border-radius: 10px; }
.adj-preg-acciones { flex-direction: column; align-items: stretch; gap: .5rem; margin-top: .75rem; }
.adj-grupo { border-top: 1px solid var(--borde, #8884); padding: .5rem 0; }
.adj-cliente-caja { margin-top: .5rem; }
@media (max-width: 480px) { .adj-mini { width: 84px; } .adj-mini img, .adj-mini .adj-ext { width: 74px; height: 74px; } }

/* Core 1.45: adjuntos de la hoja del día (sin actividad) */
.hoja-adjuntos { margin-top: .6rem; border-top: 1px dashed var(--borde, #8884); padding-top: .5rem; }
.adj-caja-dia { padding: .25rem 0 .5rem; }
