.smvc-archive{max-width:1260px;margin:0 auto;color:#16243b;font:inherit}.smvc-head{background:#1b477e;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 24px}.smvc-head h2{color:#fff;font-size:24px;margin:2px 0}.smvc-head p{font-size:12px;margin:0}.smvc-head small{font-size:11px;font-weight:700;letter-spacing:.5px}.smvc-count{font-size:12px;font-weight:700;white-space:nowrap;padding:8px 12px;border-radius:18px;background:#fff;color:#1b477e}.smvc-filters{padding:12px;background:#eaf0f8;display:flex;gap:8px;flex-wrap:wrap;align-items:end}.smvc-filters label{font-size:12px;font-weight:700;display:flex;align-items:center;gap:6px}.smvc-filters select,.smvc-filters input{border:1px solid #b7c6d9;border-radius:4px;background:#fff;color:#183f71;height:36px;padding:6px 9px;max-width:100%}.smvc-filters .smvc-search{flex:1}.smvc-filters .smvc-search input{flex:1;min-width:120px}.smvc-filters button{height:36px;color:white;background:#265ea4;border:0;border-radius:4px;padding:0 18px;cursor:pointer}.smvc-table-wrap{overflow-x:auto}.smvc-table{border-collapse:collapse;width:100%;min-width:680px;font-size:13px}.smvc-table th{background:#f0f3f7;color:#122d52;text-align:left}.smvc-table td,.smvc-table th{border:1px solid #d4dce5;padding:12px;vertical-align:top}.smvc-table tr:nth-child(even){background:#f3f6f9}.smvc-table td:nth-child(1){width:115px}.smvc-table td:nth-child(3){width:175px}.smvc-table td:nth-child(4){width:160px}.smvc-table details{margin-top:6px}.smvc-table summary{color:#2760a3;cursor:pointer;font-size:12px}.smvc-table details p{line-height:1.5;font-weight:400}.smvc-docs{display:flex;gap:5px;flex-wrap:wrap}.smvc-docs a{background:#1f5fa6;color:#fff!important;text-decoration:none;border-radius:3px;padding:5px 7px;font-size:11px;font-weight:700;white-space:nowrap}.smvc-docs a:hover{background:#153f71}.smvc-pending{color:#777;font-size:11px}.smvc-new{display:inline-block;background:#d52131;color:white;border-radius:3px;padding:2px 5px;font-size:10px;font-weight:700;margin-left:5px}.smvc-home{display:flex;flex-direction:column;gap:7px}.smvc-home a{color:#111;text-decoration:none;font-size:15px;font-weight:700;line-height:1.45}.smvc-home a:hover{color:#225fa6;text-decoration:underline}.smvc-pagination{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.smvc-pagination a{padding:6px 10px;border:1px solid #c6d3e2;border-radius:3px;text-decoration:none}.smvc-pagination a[aria-current]{background:#225fa6;color:#fff}@media(max-width:767px){.smvc-head{padding:14px;align-items:flex-start}.smvc-head h2{font-size:21px}.smvc-filters label{flex:1 1 40%;flex-wrap:wrap}.smvc-filters select{width:100%}.smvc-filters .smvc-search{flex:1 1 100%}.smvc-filters .smvc-search input{width:100%}}
/* Visor de PDF independiente del repositorio de Acuerdos. */
body.smvc-modal-open{overflow:hidden}.smvc-viewer[hidden]{display:none!important}.smvc-viewer{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}.smvc-viewer__backdrop{position:absolute;inset:0;background:rgba(4,17,37,.77)}.smvc-viewer__panel{position:relative;width:min(1150px,100%);height:min(92vh,900px);display:flex;flex-direction:column;background:#fff;box-shadow:0 12px 45px rgba(0,0,0,.35)}.smvc-viewer__head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 18px;background:#1b477e;color:#fff}.smvc-viewer__head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.smvc-viewer__actions{display:flex;align-items:center;gap:15px;flex-shrink:0}.smvc-viewer__actions a{color:#fff!important;font-size:12px}.smvc-viewer__actions button{border:1px solid #fff;background:transparent;color:#fff;cursor:pointer;font-size:24px;line-height:1;padding:2px 7px}.smvc-viewer__body{flex:1;min-height:0}.smvc-viewer__body iframe{width:100%;height:100%;border:0;background:#f1f3f6}@media(max-width:650px){.smvc-viewer{padding:5px}.smvc-viewer__panel{height:96vh}.smvc-viewer__head{align-items:flex-start;flex-direction:column}.smvc-viewer__actions{width:100%;justify-content:space-between;gap:7px}.smvc-viewer__actions a{font-size:11px}}

.smvc-open-title{color:#1f5ea8;font-size:12px;font-weight:700;margin-left:7px;text-decoration:underline}.smvc-read-link{font-weight:700}.smvc-docs{flex-wrap:wrap}

/* Comunicados: título limpio y una única acción Ver. */
.smvc-head small,.smvc-head p{display:none!important}
.smvc-docs .smvc-read-link,.smvc-docs .smvc-single-view{display:inline-flex;align-items:center;justify-content:center;min-width:58px;background:#1f5fa6;color:#fff!important;text-decoration:none}
/* El visor de SMV Alertas permanece intacto para las filas de Alertas. */
.smvc-archive .smva-viewer.smvc-hide-language .smva-viewer-languages{display:none!important}

/* 1.4.5: Una única acción visible en cada fila; idiomas dentro del visor. */
.smvc-archive .smvc-docs{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:nowrap!important;min-width:0!important;}
.smvc-archive .smvc-docs .smvc-language-alternative{display:none!important;}
.smvc-archive .smvc-table td:last-child,.smvc-archive .smvc-table th:last-child{text-align:center!important;width:130px!important;min-width:130px!important;}
.smvc-archive .smvc-docs .smvc-read-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#235fa5!important;color:#fff!important;border:0!important;border-radius:3px!important;padding:8px 12px!important;min-width:96px!important;max-width:116px!important;white-space:nowrap!important;font-size:12px!important;text-decoration:none!important;box-sizing:border-box!important;}
.smvc-archive .smva-viewer.smvc-hide-language .smva-viewer-languages{display:none!important;}

/* 1.4.6: one button and stable viewer activation */
.smvc-archive .smvc-viewer-bootstrap[hidden]{display:none!important}
.smvc-archive .smvc-table td:last-child,.smvc-archive .smvc-table th:last-child{text-align:center!important}
.smvc-archive .smvc-docs .smvc-language-alternative{display:none!important}
.smvc-archive .smvc-docs .smvc-language-alternative:only-child{display:inline-flex!important}
.smvc-archive .smvc-docs .smvc-read-link{width:118px;max-width:118px!important;min-width:118px!important}

/* 1.4.7: only the primary Ver detalles is visible; other languages stay in viewer controls. */
.smvc-archive .smvc-table .smvc-docs > a.smvc-language-alternative,
.smvc-archive .smvc-table .smvc-docs > a.smvc-language-alternative[hidden]{display:none!important;visibility:hidden!important}
.smvc-archive .smvc-table .smvc-docs > a.smvc-read-link:not(.smvc-language-alternative){display:inline-flex!important}

/* 1.4.8: one public viewer action, clickable title, language switch only in modal. */
.smvc-archive .smvc-title-open{border:0!important;background:none!important;color:#112d51!important;font:inherit!important;font-weight:700!important;text-align:left!important;padding:0!important;cursor:pointer!important;line-height:1.4!important}
.smvc-archive .smvc-title-open:hover,.smvc-archive .smvc-title-open:focus-visible{text-decoration:underline!important;color:#1f5fa6!important}
.smvc-archive .smvc-docs a.smvc-language-alternative[hidden]{display:none!important}

/* 1.5.0: secondary language exists only in the viewer */
.smvc-archive .smvc-language-alternative {display:none !important}

/* SMV Comunicados 1.5.8 - Figma home strip */
.smvc-home-carousel{max-width:1260px;margin:0 auto;background:#f7f7f7;font-family:Arial,Helvetica,sans-serif;color:#17447e;overflow:hidden}
.smvc-home-bar{height:37px;display:flex;justify-content:center;align-items:center;gap:20px;background:linear-gradient(180deg,#a9cba1 0%,#7eaa74 45%,#315f36 100%);color:#fff;font-size:13px;text-transform:uppercase}
.smvc-home-bar-icon{font-size:15px;line-height:1}
.smvc-home-window{background:#fff}
.smvc-home-slide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:112px}
.smvc-home-slide[hidden]{display:none!important}
.smvc-home-item{border:1px solid #e2e5e8;border-left:0;padding:12px 16px 11px;min-width:0;min-height:112px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}
.smvc-home-item:first-child{border-left:1px solid #e2e5e8}
.smvc-home-item-title{font-size:13px;line-height:1.34;color:#1b55a0;text-decoration:none;font-weight:700;display:block;overflow-wrap:anywhere}
.smvc-home-item-title:hover{text-decoration:underline}
.smvc-home-item-date{display:block;font-size:11px;color:#344e6f;white-space:nowrap}
.smvc-home-bottom{min-height:58px;display:flex;align-items:center;justify-content:center;position:relative;padding:12px 205px 12px 20px}
.smvc-home-dots{display:flex;align-items:center;gap:10px}
.smvc-home-dots button{display:block;width:9px;height:9px;min-width:9px;min-height:9px;border-radius:50%;border:0;padding:0;background:#2560ab;cursor:pointer;appearance:none}
.smvc-home-dots button[aria-current="true"]{background:#17447e;box-shadow:0 0 0 2px rgba(37,96,171,.14)}
.smvc-home-dots button:disabled{opacity:.35;cursor:default}
.smvc-home-dots button:focus-visible{outline:2px solid #17447e;outline-offset:3px}
.smvc-home-all{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#1b55a0;font-size:12px;font-weight:700;text-decoration:none}
.smvc-home-all:hover{text-decoration:underline}
.smvc-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:600px){.smvc-home-slide{grid-template-columns:1fr}.smvc-home-item{min-height:74px;border-left:1px solid #e2e5e8}.smvc-home-bottom{padding:12px 10px 42px;min-height:77px}.smvc-home-all{top:auto;bottom:13px;right:14px;transform:none}}

/* Gentle change between groups, not a moving ticker. */
.smvc-home-slide{transition:opacity .16s ease-out;opacity:1}
@media(prefers-reduced-motion:reduce){.smvc-home-slide{transition:none!important}}

/* Home Figma: blue-only controls, no yellow active dot. */
.smvc-home-carousel .smvc-home-dots button[aria-current="true"]{background:#17447e!important}
.smvc-home-carousel .smvc-home-all{color:#2560ab!important}

/* 1.6.2 - Dimensiones de las piezas originales de Figma (Grupo 738 / Rectangulos 490 y 491).
   En escritorio: cabecera 37px + tarjetas 118px + controles 40px = 195px. */
@media (min-width: 768px) {
 .smvc-home-carousel { width:100%; max-width:1260px; box-sizing:border-box; }
 .smvc-home-carousel .smvc-home-bar {height:37px;min-height:37px;padding:0 12px;box-sizing:border-box;gap:16px;font-size:14px;line-height:1;}
 .smvc-home-carousel .smvc-home-bar-icon {font-size:20px;line-height:1;}
 .smvc-home-carousel .smvc-home-slide {height:118px;min-height:118px;grid-template-columns:repeat(3,minmax(0,1fr));}
 .smvc-home-carousel .smvc-home-item {box-sizing:border-box;height:118px;min-height:118px;padding:11px 20px 10px;gap:4px;overflow:hidden;}
 .smvc-home-carousel .smvc-home-item-title {font-family:"Roboto Condensed","Arial Narrow",Arial,Helvetica,sans-serif;font-stretch:condensed;font-size:19px;line-height:1.16;font-weight:700;letter-spacing:-.3px;max-height:67px;overflow:hidden;}
 .smvc-home-carousel .smvc-home-item-date {font-size:14px;font-weight:700;line-height:18px;color:#111;}
 .smvc-home-carousel .smvc-home-bottom {box-sizing:border-box;height:40px;min-height:40px;padding:0 235px 0 20px;background:#f6f6f6;}
 .smvc-home-carousel .smvc-home-dots {gap:12px;}
 .smvc-home-carousel .smvc-home-dots button {width:9px;height:9px;min-width:9px;min-height:9px;}
 .smvc-home-carousel .smvc-home-all {font-size:14px;right:12px;line-height:18px;}
}
@media (min-width: 768px) and (max-width: 1000px) {
 .smvc-home-carousel .smvc-home-item-title {font-size:16px;line-height:1.2;}
 .smvc-home-carousel .smvc-home-all {font-size:12px;}
}
/* El estado activo es azul, nunca amarillo. */
.smvc-home-carousel .smvc-home-dots button[aria-current="true"]{background:#17447e!important;box-shadow:none!important;}


/* 1.6.3 - ícono de megáfono blanco en cabecera home */
.smvc-home-bar-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;line-height:1}
.smvc-home-bar-icon img{display:block;max-width:100%;max-height:100%;width:18px;height:18px;object-fit:contain}
@media (min-width: 768px){.smvc-home-carousel .smvc-home-bar-icon{width:20px;height:20px}.smvc-home-carousel .smvc-home-bar-icon img{width:20px;height:20px}}

/* 1.6.4: desplazamiento horizontal real y visor del titulo en Home */
.smvc-home-carousel .smvc-home-window {overflow:hidden;position:relative;width:100%;}
.smvc-home-carousel .smvc-home-track {display:flex;align-items:stretch;transform:translate3d(0,0,0);will-change:transform;}
.smvc-home-carousel .smvc-home-slide {display:grid!important;flex:0 0 100%;width:100%;min-width:100%;box-sizing:border-box;}
.smvc-home-carousel .smvc-home-slide[hidden] {display:grid!important;}
.smvc-home-carousel .smvc-home-item-title {cursor:pointer;}
.smvc-home-carousel .smva-viewer[hidden] {display:none!important;}
@media(prefers-reduced-motion:reduce){.smvc-home-carousel .smvc-home-track{transition:none!important;}}
