/* =====================================================================
   Directorio de Organizaciones (13 nov 2026, pedido de Daniel; App\Comunidad).
   Morado y neutros; los señalamientos usan el magenta oscuro de senalamientos.css. Sin colores de partidos.
   ===================================================================== */
.dor-items { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.dor-item { display: flex; flex-direction: column; gap: .5rem; padding: .85rem .95rem; border: 1px solid var(--mr-linea, #e3dfe8); border-radius: .8rem; background: var(--mr-papel, #fff); }
.dor-item.dor-con-senal { border-left: 4px solid var(--snl-borde, #b5338f); }
.dor-item-enlace { display: flex; gap: .7rem; align-items: flex-start; color: inherit; text-decoration: none; }
.dor-item-enlace:hover .dor-item-nombre, .dor-item-enlace:focus-visible .dor-item-nombre { color: var(--mr-morado, #7444b4); text-decoration: underline; text-underline-offset: 2px; }
.dor-logo, .dor-icono { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.dor-icono { display: inline-flex; align-items: center; justify-content: center; background: var(--mr-morado-claro, #f3eefb); color: var(--mr-morado, #7444b4); font-size: 1.25rem; }
.dor-item-texto { display: flex; flex-direction: column; min-width: 0; }
.dor-item-nombre { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.dor-item-rol { font-size: .86rem; color: var(--mr-piedra, #6b6475); }
.dor-item-datos { font-size: .8rem; color: var(--mr-piedra, #6b6475); margin-top: .15rem; }
.dor-item .snl-lista-chip { align-self: flex-start; }

/* Ficha de una persona */
.dor-apodo { font-weight: 400; opacity: .85; }
.dor-orgs { margin: .4rem 0 0; }
.dor-orgs a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dor-ficha { max-width: 860px; }
.dor-notas { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.dor-notas li { padding: .6rem .8rem; border: 1px solid var(--mr-linea, #e3dfe8); border-radius: .6rem; background: var(--mr-papel, #fff); }
.dor-notas a { font-weight: 600; }
.dor-cita { margin: .35rem 0 0; padding: .25rem .65rem; border-left: 3px solid var(--mr-linea-2, #cfc8d8); font-style: italic; font-size: .9rem; }
.dor-replica { padding: .4rem .65rem; border-radius: .45rem; background: var(--mr-morado-claro, #f3eefb); color: var(--mr-tinta, #2a2333); }
.dor-replica i { color: var(--mr-morado, #7444b4); }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .dor-item, :root:not([data-theme="light"]) .dor-notas li { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .14); }
    :root:not([data-theme="light"]) .dor-icono, :root:not([data-theme="light"]) .dor-replica { background: rgba(116, 68, 180, .22); color: #e7dcfa; }
}
:root[data-theme="dark"] .dor-item, :root[data-theme="dark"] .dor-notas li { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .14); }
:root[data-theme="dark"] .dor-icono, :root[data-theme="dark"] .dor-replica { background: rgba(116, 68, 180, .22); color: #e7dcfa; }
