/* Clasificación compartida (work-estado.js): ◌ → ✓ → ✕ */
/* sutil: solo el trazo, blanco en semitransparencia; difference lo invierte sobre pósters claros */
.wl-est { position: absolute; top: 8px; right: 8px; z-index: 4; width: 30px; height: 30px; padding: 3px; border: 0; background: none;
  color: #fff; mix-blend-mode: difference; cursor: pointer; opacity: .45; transition: opacity .15s;
  -webkit-tap-highlight-color: transparent; }
.wl-est svg { display: block; width: 100%; height: 100%; }
.wl-est:hover, .wl-est:focus-visible { opacity: .9; }
.wl-est[data-s="ok"], .wl-est[data-s="x"] { opacity: .75; }
@media (hover: hover) { .wl-card:not(:hover) .wl-est[data-s=""] { opacity: .25; } }

/* las archivadas salen de su fila; filas que se quedan vacías, fuera */
.wl-card.wl-est-x { display: none !important; }
.wl-row:not(:has(.wl-card:not(.wl-est-x))):has(.wl-card) { display: none; }
/* vista «Seleccionadas»: solo las ✓ */
.wl-view-ok .wl-card:not(.wl-est-ok) { display: none !important; }
.wl-view-ok .wl-row:not(:has(.wl-est-ok)), .wl-view-ok .wl-section:not(:has(.wl-est-ok)):not(.wl-archivo), .wl-view-ok .wl-protos { display: none; }
.wl-view-x > :not(.wl-header):not(.wl-estbar):not(.wl-archivo) { display: none; }
.wl-view-ok .wl-archivo { display: none; }
.wl-view-x .wl-archivo { margin-top: 0; border-top: 0; }

.wl-estbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 18px; font-size: 12px; }
.wl-estbar__l { color: var(--ws-muted); margin-right: 4px; }
.wl-estbar button { font: inherit; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(127,127,127,.35); background: transparent; color: inherit; cursor: pointer; }
.wl-estbar button b { font-weight: 500; opacity: .6; margin-left: 2px; }
.wl-estbar button[aria-pressed="true"] { background: var(--ws-fg, #111); color: var(--ws-bg, #fff); border-color: transparent; }
.wl-estbar__who { font: inherit; width: 96px; padding: 5px 10px; border-radius: 999px; border: 1px dashed rgba(127,127,127,.45); background: transparent; color: inherit; margin-left: auto; }

.wl-archivo { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(127,127,127,.25); }
.wl-archivo summary { cursor: pointer; list-style: none; }
.wl-archivo summary::-webkit-details-marker { display: none; }
.wl-archivo summary h2 { display: inline; }
.wl-archivo summary h2::before { content: '▸ '; opacity: .5; }
.wl-archivo details[open] summary h2::before { content: '▾ '; }
.wl-archivo summary h2 span { color: var(--ws-muted); font-weight: 400; }
.wl-archivo summary p { margin: 4px 0 14px; font-size: 12px; color: var(--ws-muted); }
.wl-archivo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; }
.wl-archivo__img { position: relative; display: block !important; height: 0 !important; padding-top: 177.78%; border-radius: 8px; overflow: hidden; background: #0a0a12; opacity: .7; }
.wl-archivo__img.is-land { padding-top: 56.25%; }
.wl-archivo__img:hover { opacity: 1; }
.wl-archivo__img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; }
.wl-archivo__img .wl-est { top: 5px; right: 5px; width: 26px; height: 26px; }
.wl-archivo__cap { margin: 6px 0 0; font-size: 11px; color: var(--ws-muted); line-height: 1.3; }
