/* SIEEJC v0.6.73 · Saneamiento visual transversal
   Base institucional para botones, tablas, modales, encabezados y textos vacíos. */
:root{
  --sieejc-blue:#0f2d5f;
  --sieejc-blue-2:#16427f;
  --sieejc-ink:#142033;
  --sieejc-muted:#667085;
  --sieejc-line:#dfe7f2;
  --sieejc-soft:#f7fbff;
}

/* Botones: evitar texto cortado, centrar contenido y unificar altura. */
:where(a.button,button.button,input[type="submit"],input[type="reset"],input[type="button"],.sieejc-modal-btn,.jueces-resolution-action-btn,.juridico-action-btn,.juridico-row-actions .button,.table-actions .button,.actions .button,.action-stack .button,.actions-stack .button){
  min-height:38px!important;
  height:auto!important;
  line-height:1.12!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.42rem!important;
  text-align:center!important;
  vertical-align:middle!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  box-sizing:border-box!important;
  border-radius:10px!important;
  padding:.54rem .82rem!important;
  max-width:100%!important;
}
:where(a.button.fit,button.button.fit){width:100%!important;}
:where(.button.small,button.small,input.small){font-size:.82rem!important;min-height:34px!important;padding:.46rem .68rem!important;}
:where(.button .sieejc-btn-text,button .sieejc-btn-text,a.button .sieejc-btn-text){
  display:inline!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:center!important;line-height:1.12!important;
}
:where(.button .sieejc-btn-icon,button .sieejc-btn-icon,a.button .sieejc-btn-icon){
  flex:0 0 auto!important;width:1em!important;height:1em!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}

/* Tablas: columna de acciones compacta, no botones estirados a todo el ancho. */
:where(table.jueces-table,table.jueces-history-table,table.compact-table,table.iph-table,table.sieejc-table,table.data-table,.table-wrapper table,.table-wrap table,.table-responsive table,.admin-table-wrap table) td:last-child,
:where(td.actions,td.jueces-actions,td.jueces-actions-cell,td.juridico-actions-cell,td.sieejc-actions-cell){
  min-width:118px!important;
  width:auto!important;
  max-width:168px!important;
  vertical-align:middle!important;
  text-align:center!important;
}
:where(table.jueces-table,table.jueces-history-table,table.compact-table,table.iph-table,table.sieejc-table,table.data-table,.table-wrapper table,.table-wrap table,.table-responsive table,.admin-table-wrap table) td:last-child .button,
:where(table.jueces-table,table.jueces-history-table,table.compact-table,table.iph-table,table.sieejc-table,table.data-table,.table-wrapper table,.table-wrap table,.table-responsive table,.admin-table-wrap table) td:last-child button:not(.jueces-notif-close):not(.juridico-notif-close):not(.modal-close):not(.close):not([aria-label="Cerrar"]),
:where(td.actions,td.jueces-actions,td.jueces-actions-cell,td.juridico-actions-cell,td.sieejc-actions-cell) :where(.button,button:not(.jueces-notif-close):not(.juridico-notif-close):not(.modal-close):not(.close):not([aria-label="Cerrar"])){ 
  width:auto!important;
  min-width:94px!important;
  max-width:142px!important;
  margin:.12rem auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
  line-height:1.12!important;
  padding:.48rem .62rem!important;
  font-size:.8rem!important;
}
:where(.table-actions,.jueces-action-stack,.jueces-resolution-action-stack,.actions-stack,.action-stack,.juridico-action-stack,.juridico-row-actions){
  display:flex!important;
  flex-wrap:wrap!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.38rem!important;
  min-width:0!important;
  max-width:100%!important;
}
:where(.jueces-resolution-action-stack,.jueces-action-stack,.juridico-action-stack).stacked,
:where(td[data-actions-stacked] .table-actions){flex-direction:column!important;align-items:center!important;}

/* Excepción: las tarjetas de inicio conservan botones de ancho completo, pero bien centrados. */
:where(.sieejc-home-card) :where(.button,.button.fit){max-width:100%!important;min-height:40px!important;}

/* Encabezados institucionales en páginas internas; corrige alineación visual del expediente integral. */
body:not([data-page="inicio"]) :where(.sieejc-home-wrap,.jueces-brand-wrap){
  width:min(calc(100vw - 64px),1180px)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
body:not([data-page="inicio"]) :where(.sieejc-brand-strip,.jueces-brand-strip,.iph-brand){
  width:min(100%,980px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:left!important;
}
body[data-page="expediente-integral"] .sieejc-brand-strip{
  min-height:92px!important;
  padding:.8rem 1rem!important;
  text-align:left!important;
}
body[data-page="expediente-integral"] .sieejc-brand-text strong{font-size:1.32rem!important;line-height:1.12!important;color:var(--sieejc-blue)!important;}
body[data-page="expediente-integral"] .sieejc-brand-text span{line-height:1.35!important;}

/* Cards de inicio: distribución responsiva por rol, sin huecos cuando quedan 1 o 2 tarjetas visibles. */
.sieejc-home-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;align-items:stretch!important;}
.sieejc-home-grid:has(> :only-child){grid-template-columns:minmax(260px,520px)!important;justify-content:center!important;}
.sieejc-home-grid:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(280px,520px))!important;justify-content:center!important;}
.sieejc-home-card{min-width:0!important;}

/* Modal institucional homogénea; evita que detalles de notificación se abran como pantalla completa. */
.sieejc-modal-overlay{padding:24px!important;background:rgba(15,23,42,.58)!important;backdrop-filter:blur(2px)!important;z-index:100050!important;}
.sieejc-modal{
  border-radius:18px!important;border:1px solid #dbe4f0!important;box-shadow:0 26px 70px rgba(15,39,77,.28)!important;overflow:hidden!important;
  width:100%!important;max-height:calc(100vh - 48px)!important;font-family:"Segoe UI",Roboto,Arial,Helvetica,sans-serif!important;
}
.sieejc-modal-header{background:linear-gradient(90deg,#0b1d3a 0%,#0f274d 55%,#143765 100%)!important;color:#fff!important;border-bottom:1px solid rgba(199,167,108,.36)!important;padding:16px 20px!important;}
.sieejc-modal-title{color:#fff!important;font-weight:850!important;line-height:1.2!important;margin:0!important;}
.sieejc-modal-close{width:34px!important;height:34px!important;border-radius:10px!important;border:1px solid rgba(255,255,255,.28)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;}
.sieejc-modal-body{padding:20px 22px!important;line-height:1.55!important;color:#334155!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;}
.sieejc-modal-footer{display:flex!important;gap:10px!important;justify-content:flex-end!important;flex-wrap:wrap!important;background:#f8fafc!important;border-top:1px solid #dbe4f0!important;padding:14px 18px!important;}
.sieejc-modal-notification,.sieejc-modal:has(.sieejc-notif-detail),.sieejc-modal:has(.juridico-notif-detail),.sieejc-modal:has(.jueces-detail-modal){
  max-width:min(720px,calc(100vw - 44px))!important;
}
.sieejc-modal-document,.sieejc-modal:has(iframe),.sieejc-modal:has(embed),.sieejc-modal:has(.juridico-document-viewer),.sieejc-modal:has(.jueces-photo-grid){
  max-width:min(1120px,calc(100vw - 44px))!important;
}
.sieejc-modal:has(form) .sieejc-modal-footer{position:sticky!important;bottom:0!important;z-index:1!important;}
@media(max-width:720px){.sieejc-modal-overlay{padding:12px!important}.sieejc-modal{max-height:calc(100vh - 24px)!important}.sieejc-modal-footer{flex-direction:column-reverse!important}.sieejc-modal-footer .sieejc-modal-btn{width:100%!important}}

/* Popover de notificaciones: mantenerlo como panel pequeño tipo Jueces. */
#sieejcNotifPanel.sieejc-notif-popover.jueces-notif-popover,
#juridicoNotifPanel.juridico-notif-panel{
  width:430px!important;
  max-width:min(430px,calc(100vw - 28px))!important;
  max-height:calc(100vh - 82px)!important;
  overflow:hidden!important;
  border-radius:18px!important;
  z-index:100040!important;
}
@media(max-width:720px){#sieejcNotifPanel.sieejc-notif-popover.jueces-notif-popover,#juridicoNotifPanel.juridico-notif-panel{left:12px!important;right:12px!important;width:auto!important;max-width:none!important;top:64px!important}}

/* Campos sin dato: estilo humano, no guiones fríos. */
.sieejc-empty-value{color:#7b8794!important;font-weight:750!important;font-style:italic!important;}
.juridico-notif-preview-grid article,.sieejc-notif-preview-grid article{min-width:0!important;}
.juridico-notif-preview-grid strong,.sieejc-notif-preview-grid strong{overflow-wrap:anywhere!important;line-height:1.32!important;}

/* Inputs/selects/textarea: proporciones homogéneas y legibles. */
:where(input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],input[type="datetime-local"],input[type="time"],select,textarea){box-sizing:border-box!important;max-width:100%!important;}
:where(select){min-height:38px!important;}

@media(max-width:760px){
  :where(table.jueces-table,table.jueces-history-table,table.compact-table,table.iph-table,table.sieejc-table,table.data-table,.table-wrapper table,.table-wrap table,.table-responsive table,.admin-table-wrap table) td:last-child,
  :where(td.actions,td.jueces-actions,td.jueces-actions-cell,td.juridico-actions-cell,td.sieejc-actions-cell){max-width:none!important;min-width:112px!important;}
  :where(.table-actions,.jueces-action-stack,.jueces-resolution-action-stack,.actions-stack,.action-stack,.juridico-action-stack,.juridico-row-actions){justify-content:flex-start!important;}
}

/* ==========================================================
   SIEEJC v0.6.74 · Corrección quirúrgica de tablas con acciones.
   Objetivo: no cortar botones, no convertir acciones vacías en texto de dato,
   y reducir scroll horizontal innecesario en tablas críticas.
   ========================================================== */
:where(td.sieejc-actions-cell,td.jueces-actions-cell,td.jueces-actions,td.juridico-actions-cell){
  text-align:center!important;
  vertical-align:middle!important;
  overflow:visible!important;
}
:where(td.sieejc-actions-cell,td.jueces-actions-cell,td.jueces-actions,td.juridico-actions-cell) :where(.button,button:not(.modal-close):not(.close):not([aria-label="Cerrar"]),a.button){
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.38rem!important;
  width:auto!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.12!important;
}
:where(td.sieejc-actions-cell,td.jueces-actions-cell,td.jueces-actions,td.juridico-actions-cell) .sieejc-btn-text{
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Jueces · Resoluciones emitidas: sin botones cortados y sin scrollbar innecesario en escritorio. */
body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel{
  width:min(calc(100vw - 56px),1420px)!important;
  max-width:1420px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
  border-radius:16px!important;
}
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table th,
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table td{
  padding:.68rem .72rem!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table th:nth-child(1),
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table td:nth-child(1){width:17%!important;min-width:0!important;}
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table th:nth-child(2),
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table td:nth-child(2){width:18%!important;min-width:0!important;}
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table th:nth-child(3),
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table td:nth-child(3){width:12%!important;min-width:0!important;}
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table th:nth-child(4),
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table td:nth-child(4){width:27%!important;min-width:0!important;}
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table th:nth-child(5),
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table td:nth-child(5){width:13%!important;min-width:0!important;}
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table th:nth-child(6),
body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table td:nth-child(6){width:13%!important;min-width:150px!important;max-width:none!important;}
body[data-page="jueces-inicio"] #resolucionesEmitidas td.jueces-actions-cell,
body[data-page="jueces-inicio"] #resolucionesEmitidas td.jueces-actions{
  padding:.58rem .56rem!important;
  min-width:150px!important;
  max-width:none!important;
}
body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-resolution-action-stack,
body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-action-stack{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.44rem!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0 auto!important;
}
body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-resolution-action-btn,
body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-action-btn{
  width:132px!important;
  min-width:132px!important;
  max-width:132px!important;
  min-height:34px!important;
  padding:.48rem .56rem!important;
  font-size:.78rem!important;
  white-space:nowrap!important;
}
body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-resolution-action-btn .sieejc-btn-icon,
body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-action-btn .sieejc-btn-icon{flex:0 0 13px!important;width:13px!important;height:13px!important;}
@media(max-width:1180px){
  body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-table-wrap{overflow-x:auto!important;}
  body[data-page="jueces-inicio"] #resolucionesEmitidas table.jueces-table{min-width:1060px!important;}
}

/* Jurídico · Expediente documental integral: acciones apiladas, contenidas y sin texto de dato en la columna acciones. */
body[data-page="expediente-integral"] .juridico-docmatrix-block,
body[data-page="expediente-integral"] .juridico-integral-table-wrap{
  max-width:100%!important;
  overflow-x:hidden!important;
}
body[data-page="expediente-integral"] .juridico-docmatrix-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
body[data-page="expediente-integral"] .juridico-docmatrix-table th,
body[data-page="expediente-integral"] .juridico-docmatrix-table td{
  padding:.72rem .68rem!important;
  vertical-align:middle!important;
  overflow-wrap:anywhere!important;
}
body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(1),
body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(1){width:36%!important;min-width:0!important;}
body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(2),
body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(2){width:9%!important;min-width:0!important;text-align:center!important;}
body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(3),
body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(3){width:17%!important;min-width:0!important;}
body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(4),
body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(4){width:23%!important;min-width:0!important;}
body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(5),
body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(5){width:15%!important;min-width:168px!important;text-align:center!important;}
body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell{
  padding:.58rem .5rem!important;
  min-width:168px!important;
  max-width:none!important;
  overflow:visible!important;
}
body[data-page="expediente-integral"] .juridico-docmatrix-table .juridico-row-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.42rem!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
body[data-page="expediente-integral"] .juridico-docmatrix-table .juridico-row-actions:empty::after,
body[data-page="expediente-integral"] .juridico-docmatrix-table .juridico-no-actions{
  content:'Sin acciones disponibles';
  display:inline-block!important;
  color:#7b8794!important;
  font-size:.76rem!important;
  font-weight:750!important;
  font-style:italic!important;
  line-height:1.25!important;
}
body[data-page="expediente-integral"] .juridico-docmatrix-table .juridico-row-actions .button,
body[data-page="expediente-integral"] .juridico-docmatrix-table .juridico-row-actions button{
  width:142px!important;
  min-width:142px!important;
  max-width:142px!important;
  min-height:34px!important;
  padding:.48rem .52rem!important;
  font-size:.78rem!important;
  line-height:1.12!important;
  white-space:nowrap!important;
}
@media(max-width:980px){
  body[data-page="expediente-integral"] .juridico-integral-table-wrap{overflow-x:auto!important;}
  body[data-page="expediente-integral"] .juridico-docmatrix-table{min-width:980px!important;}
}


/* ==========================================================
   SIEEJC v0.6.75 · Acciones de tablas sin cortes.
   Corrección final para columnas de acciones con botones apilados.
   ========================================================== */
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel .jueces-table-wrap,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-table-wrap{
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  padding-bottom:.35rem !important;
  scrollbar-gutter:stable both-edges !important;
}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table{
  width:100% !important;
  min-width:1180px !important;
  table-layout:fixed !important;
}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td{
  box-sizing:border-box !important;
  vertical-align:middle !important;
  overflow:visible !important;
}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(1),
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(1),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(1),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(1){width:15% !important;min-width:0 !important;}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(2),
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(2),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(2),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(2){width:17% !important;min-width:0 !important;}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(3),
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(3),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(3),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(3){width:12% !important;min-width:0 !important;}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(4),
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(4),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(4),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(4){width:26% !important;min-width:0 !important;}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(5),
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(5),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(5),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(5){width:13% !important;min-width:0 !important;}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(6),
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(6),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(6),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(6){
  width:210px !important;
  min-width:210px !important;
  max-width:210px !important;
  text-align:center !important;
}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions-cell,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions-cell{
  width:210px !important;
  min-width:210px !important;
  max-width:210px !important;
  padding:.68rem .8rem !important;
  overflow:visible !important;
  text-align:center !important;
}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions > .jueces-action-stack,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions-cell > .jueces-action-stack,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions > .jueces-action-stack,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions-cell > .jueces-action-stack,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel .jueces-resolution-action-stack,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-resolution-action-stack{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.52rem !important;
  width:174px !important;
  min-width:174px !important;
  max-width:174px !important;
  margin:0 auto !important;
  overflow:visible !important;
}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel .jueces-resolution-action-btn,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel .jueces-action-btn,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-resolution-action-btn,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-action-btn,
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-resolution-action-btn,
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-action-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.42rem !important;
  width:174px !important;
  min-width:174px !important;
  max-width:174px !important;
  min-height:38px !important;
  height:auto !important;
  padding:.52rem .66rem !important;
  border-radius:10px !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  white-space:nowrap !important;
  text-overflow:clip !important;
  line-height:1.12 !important;
  font-size:.80rem !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-resolution-action-btn .sieejc-btn-text,
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-action-btn .sieejc-btn-text{
  display:inline-block !important;
  max-width:none !important;
  min-width:0 !important;
  overflow:visible !important;
  white-space:nowrap !important;
  text-overflow:clip !important;
  line-height:1.12 !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-resolution-action-btn .sieejc-btn-icon,
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-action-btn .sieejc-btn-icon{
  flex:0 0 14px !important;
  width:14px !important;
  min-width:14px !important;
  height:14px !important;
}

html body[data-page="expediente-integral"] .juridico-docmatrix-block,
html body[data-page="expediente-integral"] .juridico-integral-table-wrap{
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  padding-bottom:.35rem !important;
  scrollbar-gutter:stable both-edges !important;
}
html body[data-page="expediente-integral"] table.juridico-docmatrix-table,
html body[data-page="expediente-integral"] .juridico-docmatrix-table{
  width:100% !important;
  min-width:1120px !important;
  table-layout:fixed !important;
  border-collapse:collapse !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table th,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td{
  box-sizing:border-box !important;
  vertical-align:middle !important;
  overflow:visible !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(1),
html body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(1){width:32% !important;min-width:0 !important;}
html body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(2),
html body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(2){width:10% !important;min-width:0 !important;text-align:center !important;}
html body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(3),
html body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(3){width:16% !important;min-width:0 !important;}
html body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(4),
html body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(4){width:22% !important;min-width:0 !important;}
html body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(5),
html body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(5){
  width:220px !important;
  min-width:220px !important;
  max-width:220px !important;
  text-align:center !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell{
  width:220px !important;
  min-width:220px !important;
  max-width:220px !important;
  padding:.62rem .75rem !important;
  overflow:visible !important;
  text-align:center !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.50rem !important;
  width:184px !important;
  min-width:184px !important;
  max-width:184px !important;
  margin:0 auto !important;
  overflow:visible !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions .button,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions button,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell > .button,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell > button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.40rem !important;
  width:184px !important;
  min-width:184px !important;
  max-width:184px !important;
  min-height:38px !important;
  height:auto !important;
  padding:.50rem .58rem !important;
  border-radius:10px !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  white-space:nowrap !important;
  text-overflow:clip !important;
  line-height:1.12 !important;
  font-size:.79rem !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .sieejc-btn-text{
  display:inline-block !important;
  max-width:none !important;
  min-width:0 !important;
  overflow:visible !important;
  white-space:nowrap !important;
  text-overflow:clip !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .sieejc-btn-icon{
  flex:0 0 14px !important;
  width:14px !important;
  min-width:14px !important;
  height:14px !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-no-actions,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions:empty::after{
  display:inline-block !important;
  max-width:184px !important;
  color:#7b8794 !important;
  font-size:.76rem !important;
  font-weight:750 !important;
  font-style:italic !important;
  line-height:1.25 !important;
  white-space:normal !important;
  text-align:center !important;
}

/* ==========================================================
   SIEEJC v0.6.76 · Afinación final solicitada en acciones/tablas.
   - Jurídico expediente integral: botón Subir 30% más grande que Solicitar a Médico.
   - Jueces resoluciones emitidas: textos centrados y acciones sin recorte.
   ========================================================== */
html body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(5),
html body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(5),
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell{
  width:250px !important;
  min-width:250px !important;
  max-width:250px !important;
  text-align:center !important;
  overflow:visible !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell{
  padding:.68rem .85rem !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.56rem !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 auto !important;
  overflow:visible !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-upload-exp-doc,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions button.juridico-upload-exp-doc.button,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions .button.juridico-upload-exp-doc{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.44rem !important;
  width:196px !important;
  min-width:196px !important;
  max-width:196px !important;
  min-height:42px !important;
  padding:.58rem .76rem !important;
  font-size:.84rem !important;
  line-height:1.12 !important;
  border-radius:11px !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  box-sizing:border-box !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-request-med-doc,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions button.juridico-request-med-doc.button,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions .button.juridico-request-med-doc{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.36rem !important;
  width:150px !important;
  min-width:150px !important;
  max-width:150px !important;
  min-height:32px !important;
  padding:.42rem .48rem !important;
  font-size:.72rem !important;
  line-height:1.08 !important;
  border-radius:9px !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  box-sizing:border-box !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-upload-exp-doc .sieejc-btn-text,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-request-med-doc .sieejc-btn-text{
  display:inline-block !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  text-align:center !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-upload-exp-doc .sieejc-btn-icon{
  flex:0 0 15px !important;
  width:15px !important;
  min-width:15px !important;
  height:15px !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-request-med-doc .sieejc-btn-icon{
  flex:0 0 12px !important;
  width:12px !important;
  min-width:12px !important;
  height:12px !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-no-actions{
  max-width:196px !important;
  margin:0 auto !important;
  text-align:center !important;
}

html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table{
  min-width:1180px !important;
  table-layout:fixed !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td{
  text-align:center !important;
  vertical-align:middle !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td *,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td *{
  text-align:center !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(1),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(1){width:15% !important;}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(2),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(2){width:17% !important;}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(3),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(3){width:13% !important;}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(4),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(4){width:24% !important;}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(5),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(5){width:13% !important;}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(6),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(6),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions-cell{
  width:214px !important;
  min-width:214px !important;
  max-width:214px !important;
  text-align:center !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-resolution-action-stack,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-action-stack{
  align-items:center !important;
  justify-content:center !important;
  margin:0 auto !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-resolution-action-btn,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-action-btn{
  text-align:center !important;
}

/* ==========================================================
   SIEEJC v0.6.77 · Corrección fina de botones en tablas.
   - Jurídico expediente integral: Subir y Solicitar a Médico mismo ancho/alto/grosor.
   - Jueces resoluciones emitidas: texto de botones a tamaño real, centrado y sin recorte.
   ========================================================== */
html body[data-page="expediente-integral"] .juridico-docmatrix-table th:nth-child(5),
html body[data-page="expediente-integral"] .juridico-docmatrix-table td:nth-child(5),
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell{
  width:230px !important;
  min-width:230px !important;
  max-width:230px !important;
  text-align:center !important;
  vertical-align:middle !important;
  overflow:visible !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.46rem !important;
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  overflow:visible !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions > button.button.juridico-upload-exp-doc,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-row-actions > button.button.juridico-request-med-doc,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell button.button.juridico-upload-exp-doc,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell button.button.juridico-request-med-doc{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.44rem !important;
  width:176px !important;
  min-width:176px !important;
  max-width:176px !important;
  min-height:38px !important;
  height:38px !important;
  padding:.50rem .68rem !important;
  box-sizing:border-box !important;
  border-radius:10px !important;
  font-size:.82rem !important;
  font-weight:850 !important;
  line-height:1.12 !important;
  letter-spacing:.005em !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell button.button.juridico-request-med-doc{
  border-width:2px !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell button.button.juridico-upload-exp-doc .sieejc-btn-text,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell button.button.juridico-request-med-doc .sieejc-btn-text{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  font-size:1em !important;
  font-weight:850 !important;
  line-height:1.12 !important;
  text-align:center !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell button.button.juridico-upload-exp-doc .sieejc-btn-icon,
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell button.button.juridico-request-med-doc .sieejc-btn-icon{
  flex:0 0 14px !important;
  width:14px !important;
  min-width:14px !important;
  height:14px !important;
}
html body[data-page="expediente-integral"] .juridico-docmatrix-table td.juridico-actions-cell .juridico-no-actions{
  display:block !important;
  width:176px !important;
  max-width:176px !important;
  margin:0 auto !important;
  text-align:center !important;
  white-space:normal !important;
}

html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td{
  text-align:center !important;
  vertical-align:middle !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table th:nth-child(6),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel table.jueces-table td:nth-child(6),
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions-cell{
  width:230px !important;
  min-width:230px !important;
  max-width:230px !important;
  overflow:visible !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions > .jueces-action-stack,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel td.jueces-actions-cell > .jueces-action-stack,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-resolution-action-stack,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-action-stack{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.52rem !important;
  width:190px !important;
  min-width:190px !important;
  max-width:190px !important;
  margin:0 auto !important;
  overflow:visible !important;
}
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel .jueces-resolution-action-btn,
html body[data-page="jueces-inicio"] section#resolucionesEmitidas.jueces-resoluciones-panel .jueces-action-btn,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-resolution-action-btn,
html body[data-page="jueces-inicio"] #resolucionesEmitidas.jueces-resoluciones-panel .jueces-action-btn,
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-resolution-action-btn,
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-action-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.46rem !important;
  width:190px !important;
  min-width:190px !important;
  max-width:190px !important;
  min-height:40px !important;
  height:40px !important;
  padding:.52rem .78rem !important;
  box-sizing:border-box !important;
  border-radius:10px !important;
  font-size:.90rem !important;
  font-weight:850 !important;
  line-height:1.12 !important;
  letter-spacing:.005em !important;
  text-align:center !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-resolution-action-btn .sieejc-btn-text,
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-action-btn .sieejc-btn-text{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  font-size:1em !important;
  font-weight:850 !important;
  line-height:1.12 !important;
  text-align:center !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-resolution-action-btn .sieejc-btn-icon,
html body[data-page="jueces-inicio"] #resolucionesEmitidas .jueces-action-btn .sieejc-btn-icon{
  flex:0 0 15px !important;
  width:15px !important;
  min-width:15px !important;
  height:15px !important;
}

