/* Parche aislado: no modifica reglas de V3.1 fuera de #vl31n-section y .vl31n- */
#vl31n-section { --vl31n-bg: var(--bg-card); --vl31n-fg: var(--text); --vl31n-muted: var(--text-secondary); --vl31n-line: var(--border); --vl31n-accent: var(--primary); --vl31n-soft: var(--bg); color: var(--vl31n-fg); }
#vl31n-section .vl31n-head { display:flex; justify-content:space-between; align-items:start; gap:18px; flex-wrap:wrap; margin-bottom:18px; }
#vl31n-section .vl31n-head h3 { margin:0 0 7px; font-size:1.3rem; color:var(--vl31n-fg); }
#vl31n-section .vl31n-head p { margin:0; max-width:670px; line-height:1.5; color:var(--vl31n-muted); }
#vl31n-section .vl31n-actions { display:flex; flex-wrap:wrap; gap:8px; }
#vl31n-section .vl31n-action { border:1px solid var(--vl31n-line); background:var(--vl31n-bg); color:var(--vl31n-fg); border-radius:9px; padding:9px 12px; cursor:pointer; font:inherit; font-size:.88rem; }
#vl31n-section .vl31n-action:hover { border-color:var(--vl31n-accent); }
#vl31n-status { margin:14px 0; color:var(--vl31n-muted); font-size:.89rem; }
#vl31n-list { display:grid; gap:12px; }
#vl31n-list .vl31n-item { display:flex; justify-content:space-between; gap:15px; flex-wrap:wrap; align-items:center; background:var(--vl31n-bg); border:1px solid var(--vl31n-line); border-radius:12px; padding:16px 18px; }
#vl31n-list .vl31n-unread { border-left:4px solid var(--vl31n-accent); }
#vl31n-list .vl31n-item-main { flex:1; min-width:190px; }
#vl31n-list h4 { font-size:1rem; margin:0 0 5px; color:var(--vl31n-fg); }
#vl31n-list p { color:var(--vl31n-fg); margin:0 0 9px; line-height:1.5; }
#vl31n-list small { color:var(--vl31n-muted); }
#vl31n-list .vl31n-action { align-self:center; }
#vl31n-nav { display:flex; align-items:center; gap:12px; cursor:pointer; }
#vl31n-nav svg { display:block; width:20px; height:20px; flex-shrink:0; }
.vl31n-badge { color:white; background:#db3557; font-size:11px; font-weight:700; min-width:17px; height:17px; border-radius:999px; text-align:center; line-height:17px; padding:0 4px; margin-left:auto; }
.vl31n-badge[hidden] { display:none!important; }
#vl31n-top-bell { flex:none; position:relative; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; color:inherit; border:1px solid rgba(125,146,178,.22); border-radius:12px; background:transparent; cursor:pointer; margin-right:12px; }
#vl31n-top-bell svg { width:21px; height:21px; }
#vl31n-top-bell .vl31n-badge { position:absolute; top:-6px; right:-8px; margin:0; }
#vl31n-top-bell:hover { background:rgba(125,146,178,.12); }
@media(max-width:650px) { #vl31n-section .vl31n-head { display:block; } #vl31n-section .vl31n-actions { margin-top:14px; } #vl31n-top-bell { width:35px; height:35px; margin-right:6px; } }

/* Integracion visual exacta con el perfil y los temas de V3.1 */
#vl31n-top-bell { width:38px; height:38px; margin-right:0; background:var(--bg); color:var(--text); border:1px solid var(--border); border-radius:50%; }
#vl31n-top-bell:hover,#vl31n-top-bell:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
@media(max-width:768px){#vl31n-top-bell {width:35px;height:35px;} }
@media(max-width:390px){#vl31n-top-bell {width:32px;height:32px;} }
