.dc-esigcf-page{padding:24px 12px 54px;background:radial-gradient(circle at top left,rgba(37,99,235,.08),transparent 34%),#f3f6fb}.dc-esigcf-extra-list{padding-top:0}.dc-esigcf-shell{width:min(1120px,100%);margin:0 auto;display:grid;gap:14px}.dc-esigcf-hero,.dc-esigcf-card,.dc-esigcf-denied{background:#fff;border:1px solid #d8e4f5;border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.055)}.dc-esigcf-hero{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 20px}.dc-esigcf-badge{display:inline-flex;width:fit-content;padding:6px 10px;border-radius:999px;background:#dbeafe;color:#1d4ed8;border:1px solid #bfdbfe;font-size:10px;line-height:1;font-weight:650;text-transform:uppercase;letter-spacing:.3px}.dc-esigcf-hero h1,.dc-esigcf-card-head h2{margin:8px 0 5px;color:#071225;font-size:clamp(22px,2.3vw,30px);line-height:1.08;letter-spacing:-.7px;font-weight:850}.dc-esigcf-hero p,.dc-esigcf-card-head p{margin:0;color:#53657d;font-size:12px;line-height:1.55}.dc-esigcf-actions,.dc-esigcf-list-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.dc-esigcf-actions a,.dc-esigcf-list-actions a{min-height:34px;padding:0 11px;border-radius:10px;border:1px solid #cbd8ea;background:#fff;color:#071225!important;font-size:11.5px;font-weight:650;text-decoration:none!important;display:inline-flex;align-items:center}.dc-esigcf-actions a:first-child,.dc-esigcf-list-actions a:first-child{border-color:#2563eb;background:#2563eb;color:#fff!important}.dc-esigcf-paper-wrap{padding:22px;border-radius:22px;background:#e8eef8;border:1px solid #d8e4f5;overflow:auto}.dc-esigcf-paper{width:8.5in;min-height:13in;margin:0 auto;padding:.9in .82in;background:#fff;color:#000;box-shadow:0 22px 65px rgba(15,23,42,.18);box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;font-size:12pt;line-height:1.5}.dc-esigcf-paper h1{margin:0 0 28px;text-align:center;font-size:12pt;line-height:1.35;font-weight:700}.dc-esigcf-body p{margin:0 0 12px;text-align:justify}.dc-esigcf-body h2,.dc-esigcf-body h3,.dc-esigcf-body h4{margin:18px 0 10px;line-height:1.3;font-weight:700}.dc-esigcf-body h2{font-size:13pt}.dc-esigcf-body h3{font-size:12pt}.dc-esigcf-signature{margin-top:34px;max-width:330px;font-family:Arial,Helvetica,sans-serif;color:#000;text-align:left}.dc-esigcf-signature p{margin:0 0 12px;text-align:left}.dc-esigcf-signature img{display:block;max-width:185px;max-height:78px;margin:0 0 5px;object-fit:contain}.dc-esigcf-signature strong,.dc-esigcf-signature span{display:block;line-height:1.25}.dc-esigcf-signature strong{font-size:10.5pt;font-weight:700}.dc-esigcf-signature span{font-size:9.5pt}.dc-esigcf-card{padding:20px}.dc-esigcf-card-head{margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #e2eaf6}.dc-esigcf-list{display:grid;gap:10px}.dc-esigcf-list article{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:13px 14px;border-radius:16px;background:#f8fafc;border:1px solid #dbe4ef}.dc-esigcf-list strong{display:block;color:#071225;font-size:13px;font-weight:750;margin-bottom:4px}.dc-esigcf-list span{display:block;color:#64748b;font-size:11px}.dc-esigcf-denied{width:min(640px,100%);margin:0 auto;padding:32px 22px;text-align:center}.dc-esigcf-denied h2{margin:0 0 8px;color:#071225;font-size:28px;font-weight:850}.dc-esigcf-denied p{margin:0;color:#53657d;font-size:13px}.dc-esigcf-official-frame{display:block;width:100%;min-height:1000px;border:0;border-radius:12px;background:#fff}@media(max-width:980px){.dc-esigcf-hero{display:grid}.dc-esigcf-actions,.dc-esigcf-list-actions{justify-content:flex-start}}@media(max-width:760px){.dc-esigcf-page{padding:16px 8px 42px}.dc-esigcf-hero,.dc-esigcf-card{padding:16px}.dc-esigcf-paper-wrap{padding:10px}.dc-esigcf-paper{width:100%;min-height:0;padding:30px 24px;font-size:11pt}.dc-esigcf-list article{display:grid}.dc-esigcf-official-frame{min-height:760px}}
.dc-esigcf-extra-list{padding:0;background:transparent}
.dc-esigcf-summary-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.dc-esigcf-summary-card{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-areas:"icon content" "button button";gap:12px;align-items:start;padding:17px;border:1px solid #d8e4f5;border-radius:19px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.045)}
.dc-esigcf-summary-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eff6ff;border:1px solid #dbeafe;color:#2563eb}
.dc-esigcf-summary-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.dc-esigcf-summary-content{grid-area:content;min-width:0}
.dc-esigcf-summary-content h2{margin:8px 0 7px;color:#071225;font-size:18px;line-height:1.15;font-weight:740;letter-spacing:-.35px}
.dc-esigcf-summary-content p{margin:0;color:#5b6b80;font-size:11.5px;line-height:1.58}
.dc-esigcf-summary-button{grid-area:button;justify-self:start;min-height:36px;padding:0 14px;border:1px solid #2563eb;border-radius:10px;background:#2563eb;color:#fff;font-size:11.5px;font-weight:500;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.dc-esigcf-summary-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(37,99,235,.16)}
.dc-esigcf-modal-dialog{width:min(860px,100%)}
.dc-esigcf-modal-head h2{font-size:25px;font-weight:760}
.dc-esigcf-modal-list article{align-items:center}
.dc-esigcf-actions a,.dc-esigcf-list-actions a{font-weight:500}
@media(max-width:760px){.dc-esigcf-summary-card{padding:14px;border-radius:16px}.dc-esigcf-summary-button{width:100%}.dc-esigcf-modal-dialog{padding:18px}.dc-esigcf-modal-list article{display:grid}}

.dc-esigcf-shell{justify-items:start}
.dc-esigcf-summary-grid{grid-template-columns:minmax(280px,360px);justify-content:start}
.dc-esigcf-summary-card{min-height:210px;height:100%;grid-template-areas:"icon content" ". content" "button button";grid-template-rows:auto 1fr auto;overflow:hidden}
.dc-esigcf-summary-content{display:flex;flex-direction:column;min-height:118px}
.dc-esigcf-summary-button{margin-top:auto}

/* Integración visual con la cuadrícula inferior de Mis Firmas */
.dc-signature-lower-grid .dc-esigcf-extra-list{padding:0!important;margin:0!important;width:100%!important}
.dc-signature-lower-grid .dc-esigcf-shell{width:100%!important;margin:0!important}
.dc-signature-lower-grid .dc-esigcf-summary-grid{grid-template-columns:1fr!important;width:100%!important}
.dc-signature-lower-grid .dc-esigcf-summary-card{width:100%!important;min-height:210px!important;box-sizing:border-box!important}

/* Ajuste final de tarjetas inferiores */
.dc-signature-lower-grid{align-items:stretch;grid-auto-rows:1fr}
.dc-signature-lower-grid .dc-esigcf-summary-grid{display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important;height:100%}
.dc-signature-lower-grid .dc-esigcf-summary-card{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-areas:"icon content" ". content" "button button"!important;grid-template-rows:auto 1fr auto!important;min-height:222px!important;height:100%!important;padding:18px!important;border-radius:19px!important;box-shadow:0 14px 34px rgba(15,23,42,.055)!important;align-items:start!important}
.dc-signature-lower-grid .dc-esigcf-summary-content{display:flex!important;flex-direction:column!important;min-height:128px!important}
.dc-signature-lower-grid .dc-esigcf-summary-button{margin-top:auto!important;align-self:end!important}
@media(max-width:980px){.dc-signature-lower-grid .dc-esigcf-summary-card{min-height:210px!important}.dc-signature-lower-grid .dc-esigcf-summary-content{min-height:0!important}}

/* Corrección visual definitiva: igualdad real de altura, sombra y botones */
.dc-signature-lower-grid > .dc-esigcf-page,
.dc-signature-lower-grid > .dc-pv-section{height:100%!important;align-self:stretch!important}
.dc-signature-lower-grid .dc-esigcf-shell,
.dc-signature-lower-grid .dc-esigcf-summary-grid{height:100%!important}
.dc-signature-lower-grid .dc-esigcf-summary-card{
  height:264px!important;
  min-height:264px!important;
  max-height:264px!important;
  box-shadow:0 16px 38px rgba(15,23,42,.10)!important;
}
.dc-signature-lower-grid .dc-esigcf-summary-content{min-height:0!important}
.dc-signature-lower-grid .dc-esigcf-summary-button{align-self:end!important;margin-top:auto!important}
@media(max-width:980px){
  .dc-signature-lower-grid .dc-esigcf-summary-card{height:auto!important;min-height:210px!important;max-height:none!important}
}

/* Flujo visible para el cliente representado por abogado apoderado */
.dc-esigcf-power-panel{padding:20px;border:1px solid #bfdbfe;border-radius:20px;background:linear-gradient(135deg,#f8fbff,#eff6ff);box-shadow:0 14px 34px rgba(15,23,42,.045)}
.dc-esigcf-power-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.dc-esigcf-power-head h2{margin:9px 0 5px;color:#071225;font-size:18px;line-height:1.2;font-weight:760}
.dc-esigcf-power-head p{margin:0;max-width:720px;color:#53657d;font-size:12px;line-height:1.55}
.dc-esigcf-power-button{min-height:34px;padding:0 12px;border:1px solid #2563eb;border-radius:10px;background:#2563eb;color:#fff!important;font-size:11.5px;font-weight:650;text-decoration:none!important;display:inline-flex;align-items:center;white-space:nowrap}
.dc-esigcf-power-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:16px}
.dc-esigcf-power-grid>div{min-width:0;padding:11px 12px;border:1px solid #dbe7f7;border-radius:12px;background:rgba(255,255,255,.86)}
.dc-esigcf-power-grid>div.is-wide{grid-column:1/-1}
.dc-esigcf-power-grid span,.dc-esigcf-power-grid strong{display:block}
.dc-esigcf-power-grid span{margin-bottom:5px;color:#64748b;font-size:9px;text-transform:uppercase;letter-spacing:.3px}
.dc-esigcf-power-grid strong{color:#071225;font-size:11px;line-height:1.45;font-weight:600;overflow-wrap:anywhere}
@media(max-width:760px){.dc-esigcf-power-head{display:grid}.dc-esigcf-power-button{width:fit-content}.dc-esigcf-power-grid{grid-template-columns:1fr 1fr}.dc-esigcf-power-grid>div.is-wide{grid-column:1/-1}}
@media(max-width:480px){.dc-esigcf-power-grid{grid-template-columns:1fr}.dc-esigcf-power-grid>div.is-wide{grid-column:auto}}


/* v3.0.9 - Acciones del modal final convertidas en iconos elegantes */
.dc-esigcf-icon-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
  align-items:center;
}
.dc-esigcf-modal-list .dc-esigcf-icon-action{
  width:38px;
  height:38px;
  min-width:38px;
  min-height:38px;
  padding:0;
  border-radius:12px;
  border:1px solid #d7e3f4;
  background:#ffffff;
  color:#244fd6 !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none !important;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.dc-esigcf-modal-list .dc-esigcf-icon-action svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.dc-esigcf-modal-list .dc-esigcf-icon-action:hover,
.dc-esigcf-modal-list .dc-esigcf-icon-action:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(37,99,235,.14);
  border-color:#9fc0ff;
  background:#eff6ff;
  outline:none;
}
.dc-esigcf-modal-list .dc-esigcf-icon-action.is-download{
  background:#2563eb;
  border-color:#2563eb;
  color:#ffffff !important;
}
.dc-esigcf-modal-list .dc-esigcf-icon-action.is-download:hover,
.dc-esigcf-modal-list .dc-esigcf-icon-action.is-download:focus-visible{
  background:#1d4ed8;
  border-color:#1d4ed8;
}
.dc-esigcf-modal-list .screen-reader-text{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
@media(max-width:760px){
  .dc-esigcf-modal-list article{gap:12px}
  .dc-esigcf-icon-actions{justify-content:flex-start}
}

/* v3.1.1 - Acciones finales sin rutas o iconos duplicados. */
.dc-esigcf-modal-list .dc-esigcf-action-group{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.dc-esigcf-modal-list .dc-esigcf-action-group + .dc-esigcf-action-group{
  margin-left:3px;
  padding-left:10px;
  border-left:1px solid #e1e9f4;
}
.dc-esigcf-modal-list .dc-esigcf-action-group.is-certificate-group{
  margin-left:auto;
}
.dc-esigcf-modal-list .dc-esigcf-icon-action.is-document-view{
  border-color:#bdd2ef;
  background:#eef6ff;
  color:#1d4ed8!important;
}
.dc-esigcf-modal-list .dc-esigcf-icon-action.is-document-download{
  border-color:#2563eb;
  background:#2563eb;
  color:#fff!important;
}
.dc-esigcf-modal-list .dc-esigcf-icon-action.is-power{
  border-color:#f1d7a8;
  background:#fff8e8;
  color:#9a6514!important;
}
.dc-esigcf-modal-list .dc-esigcf-icon-action.is-certificate{
  border-color:#b7dec9;
  background:#ecfdf3;
  color:#167348!important;
}
/* Neutraliza la regla histórica que pintaba de azul el primer enlace de cada grupo. */
.dc-esigcf-modal-list .dc-esigcf-action-group .dc-esigcf-icon-action:first-child{
  min-height:38px;
  padding:0;
}
@media(max-width:760px){
  .dc-esigcf-modal-list .dc-esigcf-action-group + .dc-esigcf-action-group{
    margin-left:0;
    padding-left:8px;
  }
}


/* =========================================================
   v3.1.4 · Visor de documento firmado dentro del panel
   Un único contenedor, ancho completo y navegación Atrás.
========================================================= */
.dc-esigcf-detail-view{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:12px 14px 28px!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
.dc-esigcf-detail-view .dc-esigcf-detail-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  display:block!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-card{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid #d8e4f5!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(15,23,42,.055)!important;
  box-sizing:border-box!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-toolbar{
  min-height:58px!important;
  padding:9px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border-bottom:1px solid #e3eaf4!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-toolbar-main{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
.dc-esigcf-detail-view .dc-esigcf-back-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-height:32px!important;
  padding:0 9px!important;
  flex:0 0 auto!important;
  border:1px solid #d4deec!important;
  border-radius:9px!important;
  background:#f8fafc!important;
  color:#334155!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1!important;
  text-decoration:none!important;
}
.dc-esigcf-detail-view .dc-esigcf-back-button:hover{
  border-color:#b9cbe3!important;
  background:#f1f5f9!important;
}
.dc-esigcf-detail-view .dc-esigcf-back-button svg{
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-title{
  display:grid!important;
  gap:1px!important;
  min-width:0!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-title>span{
  color:#64748b!important;
  font-size:8.5px!important;
  font-weight:500!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
  letter-spacing:.28px!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-title>strong{
  display:block!important;
  overflow:hidden!important;
  max-width:min(58vw,760px)!important;
  color:#0f172a!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex:0 0 auto!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-action,
.dc-esigcf-detail-view .dc-esigcf-viewer-actions>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-height:32px!important;
  padding:0 9px!important;
  border:1px solid #d4deec!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#31527d!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-action.is-primary{
  border-color:#bfd4f5!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-action svg,
.dc-esigcf-detail-view .dc-esigcf-viewer-actions>a svg{
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-stage{
  width:100%!important;
  max-width:none!important;
  height:calc(100dvh - 165px)!important;
  min-height:680px!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  background:#eef3fa!important;
  box-sizing:border-box!important;
}
.dc-esigcf-detail-view .dc-esigcf-official-frame{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:100%!important;
  height:100%!important;
  min-height:680px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#eef3fa!important;
}
/* El bloque de poder, cuando exista, queda integrado dentro de la misma caja. */
.dc-esigcf-detail-view .dc-esigcf-power-panel{
  margin:0!important;
  padding:10px 12px!important;
  border:0!important;
  border-bottom:1px solid #e3eaf4!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#f8fbff!important;
}
.dc-esigcf-detail-view .dc-esigcf-power-grid{margin-top:8px!important}
.dc-esigcf-detail-view .dc-esigcf-viewer-stage.is-legacy{
  height:auto!important;
  min-height:680px!important;
  padding:18px!important;
  overflow:auto!important;
}
.dc-esigcf-detail-view .dc-esigcf-viewer-stage.is-legacy .dc-esigcf-paper{
  max-width:8.5in!important;
}
@media(max-width:820px){
  .dc-esigcf-detail-view{padding:8px 7px 18px!important}
  .dc-esigcf-detail-view .dc-esigcf-viewer-card{border-radius:14px!important}
  .dc-esigcf-detail-view .dc-esigcf-viewer-toolbar{
    min-height:52px!important;
    padding:7px 8px!important;
    gap:7px!important;
  }
  .dc-esigcf-detail-view .dc-esigcf-back-button span{display:none!important}
  .dc-esigcf-detail-view .dc-esigcf-back-button{
    width:32px!important;
    padding:0!important;
  }
  .dc-esigcf-detail-view .dc-esigcf-viewer-title>strong{max-width:44vw!important;font-size:10.5px!important}
  .dc-esigcf-detail-view .dc-esigcf-viewer-action span,
  .dc-esigcf-detail-view .dc-esigcf-viewer-actions>a span{display:none!important}
  .dc-esigcf-detail-view .dc-esigcf-viewer-action,
  .dc-esigcf-detail-view .dc-esigcf-viewer-actions>a{width:32px!important;min-width:32px!important;padding:0!important}
  .dc-esigcf-detail-view .dc-esigcf-viewer-stage{height:calc(100dvh - 140px)!important;min-height:560px!important}
  .dc-esigcf-detail-view .dc-esigcf-official-frame{min-height:560px!important}
}
