/* Portada de módulos de Contabilidad. Mantiene el patrón visual del menú SOAT. */
.contabilidadModulo.contabilidadModuloComprobantes { width: calc(100% - 32px); max-width: 1500px; background: transparent; color: #000; border: 0; border-radius: 0; }
.contabilidadModuloComprobantes .contabilidadModuloTitulo { color: #000; }
.contabilidadModulo.contabilidadModuloComprobantes { margin-top: 12px; padding-top: 0; }
.cp411, .cp411 table, .cp411 button, .cp411 input, .cp411 a { color: #000; }
.cp411 a.cp411-comprobante,
.cp411 a.cp411-comprobante:link,
.cp411 a.cp411-comprobante:visited,
.cp411 a.cp411-comprobante:hover,
.cp411 a.cp411-comprobante:focus,
.cp411 a.cp411-comprobante:active {
    color: #000;
    font: inherit;
    line-height: inherit;
    text-decoration: none;
}
.cp411 a.cp411-comprobante:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.cp411-barra { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.cp411-barra .contabilidadModuloTitulo { margin: 0; min-width: 0; }
.cp411-barra #cpNuevo { flex-shrink: 0; }
.cp411-barra #cpNuevo,
.cp411-barra a.contabilidadModuloRegresar,
.cp411-barra a.contabilidadModuloRegresar:link,
.cp411-barra a.contabilidadModuloRegresar:visited,
.cp411-barra a.contabilidadModuloRegresar:hover,
.cp411-barra a.contabilidadModuloRegresar:focus,
.cp411-barra a.contabilidadModuloRegresar:active {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    padding: 10px 16px;
    flex-shrink: 0;
}
.cp411 button, .cp411-paginas a { padding: 10px 16px; background: #f3f4f5; border: 1px solid #aab2b9; border-radius: 5px; cursor: pointer; }
.cp411 button:hover { background: #e4e8ec; }
.cp411 button:disabled { cursor: wait; opacity: .6; }
.cp411 [hidden] { display: none !important; }
.cp411 form { display: grid; gap: 10px; max-width: 650px; padding: 20px; margin-bottom: 18px; border: 1px solid #ccd2d8; border-radius: 6px; }
.cp411 .cp411-meses-filtro { display: flex; flex-wrap: wrap; gap: 4px; max-width: none; margin: 0 0 0 auto; padding: 0; border: 0; }
.cp411 .cp411-meses-filtro button { min-width: 34px; padding: 9px 6px; font: inherit; font-size: 14px; line-height: 20px; }
.cp411 .cp411-meses-filtro .cp411-sem-boton { background: #ffd6a5; border-color: #f2b66d; color: #c65d00; }
.cp411 .cp411-meses-filtro .cp411-sem-boton:hover { background: #ffc078; }
.cp411-anio-control { display: flex; height: 40px; }
.cp411 .cp411-meses-filtro .cp411-anio-resumen { border-radius: 5px 0 0 5px; flex: 1; }
.cp411 .cp411-meses-filtro > .cp411-anio-resumen { border-radius: 5px; flex: 0 0 auto; min-width: 62px; }
.cp411-anio-flecha { position: relative; display: grid; place-items: center; width: 28px; flex-shrink: 0; border: 1px solid #aab2b9; border-left: 0; border-radius: 0 5px 5px 0; background: #f3f4f5; }
.cp411 .cp411-anio-flecha select { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.cp411-anio-flecha:focus-within { outline: 2px solid #087ea4; outline-offset: 2px; }
.cp411 .cp411-meses-filtro button[aria-pressed="true"] { background: #1a3a5c; border-color: #1a3a5c; color: #fff; }
.cp411 .cp411-regresar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.cp411 .cp411-regresar img { display: block; width: 30px; height: 30px; object-fit: contain; }
.cp411 .cp411-regresar:focus-visible, .cp411 .cp411-meses-filtro button:focus-visible { outline: 2px solid #087ea4; outline-offset: 3px; }
@media (max-width: 640px) {
    .cp411 .cp411-meses-filtro { flex-basis: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .cp411 .cp411-meses-filtro button { min-height: 44px; }
    .cp411-anio-control { height: 44px; grid-column: span 2; }
}
.cp411 #cpModal { position: fixed; inset: 0; margin: auto; padding: 0; width: fit-content; max-width: min(360px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; border: 1px solid #ccd2d8; border-radius: 8px; background: #fff; color: #000; }
.cp411 #cpModal::backdrop { background: rgba(0, 0, 0, .45); }
.cp411 a.cp411-moneda-usd,
.cp411 a.cp411-moneda-usd:link,
.cp411 a.cp411-moneda-usd:visited,
.cp411 a.cp411-moneda-usd:hover,
.cp411 a.cp411-moneda-usd:focus,
.cp411 a.cp411-moneda-usd:active { font: inherit; color: inherit; text-decoration: none; }
.cp411 a.cp411-moneda-usd:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.cp411 #cpUsdModal { position: fixed; inset: 0; margin: auto; padding: 0; width: 560px; max-width: calc(100% - 24px); max-height: calc(100% - 24px); box-sizing: border-box; overflow-y: auto; overflow-wrap: anywhere; border: 0; border-radius: 18px; background: #f4f8fc; color: #243746; box-shadow: 0 24px 70px rgba(15, 38, 57, .3); }
.cp411 #cpUsdModal::backdrop { background: rgba(22, 40, 56, .6); }
.cp411 #cpUsdModal .cp411-usd-cabecera { display: flex; align-items: center; gap: 16px; padding: 24px; background: linear-gradient(115deg, #193d5c, #29688f); color: #fff; }
.cp411 #cpUsdModal .cp411-usd-icono { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 13px; background: #fff; color: #193d5c; font-size: 25px; }
.cp411 #cpUsdModal .cp411-usd-identidad { flex: 1; min-width: 0; }
.cp411 #cpUsdModal h2 { margin: 0; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.25; }
.cp411 #cpUsdModal .cp411-usd-identidad p { margin: 5px 0 0; color: #c9dce9; font-size: 14px; }
.cp411 #cpUsdCerrarCabecera { flex: 0 0 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; line-height: 1; }
.cp411 #cpUsdCerrarCabecera:hover { background: rgba(255, 255, 255, .25); }
.cp411 #cpUsdModal .cp411-usd-cuerpo { padding: 24px; }
.cp411 #cpUsdModal .cp411-usd-tarjeta { padding: 0; border: 0; border-radius: 0; background: transparent; }
.cp411 #cpUsdModal h3 { margin: 0 0 16px; color: #243746; font-size: 20px; font-weight: 700; }
.cp411 #cpUsdModal .cp411-usd-tarjeta p { display: grid; grid-template-columns: minmax(80px, 0.8fr) minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 16px; margin: 0 0 10px; padding: 13px 15px; border-radius: 10px; background: #fff; font-size: 16px; }
.cp411 #cpUsdModal .cp411-usd-tarjeta .cp411-usd-original { color: #003300; }
.cp411 #cpUsdModal .cp411-usd-tarjeta strong { min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }
.cp411 #cpUsdModal .cp411-usd-tarjeta p > span { font-size: 18px; }
.cp411 #cpUsdModal .cp411-usd-tarjeta .cp411-usd-total { margin-bottom: 0; font-weight: 700; }
.cp411 #cpUsdModal .cp411-usd-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-top: 1px solid #d7e4ef; background: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }
.cp411 #cpUsdModal .cp411-usd-footer > span,
.cp411 #cpUsdModal #cpUsdDolar { font-size: 20px; }
.cp411 #cpUsdCerrar { padding: 9px 26px; border: 1px solid #798995; border-radius: 5px; background: #fff; color: #657582; font: inherit; }
.cp411 #cpUsdCerrar:hover { background: #edf4f8; }
.cp411 #cpUsdModal button:focus-visible { outline: 2px solid #2996d6; outline-offset: 3px; }
@media (max-width: 480px) {
    .cp411 #cpUsdModal .cp411-usd-cabecera { gap: 10px; padding: 18px 16px; }
    .cp411 #cpUsdModal h2 { font-size: 20px; }
    .cp411 #cpUsdModal .cp411-usd-cuerpo { padding: 16px; }
    .cp411 #cpUsdModal .cp411-usd-footer { padding: 16px; }
}
.cp411 #cpModal form { margin: 0; border: 0; }
.cp411 #cpSeleccionarXml { justify-self: start; width: auto; max-width: 100%; }
.cp411-modal-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cp411-modal-cabecera h2 { margin: 0; font-size: 20px; color: #000; }
.cp411 #cpCerrar { padding: 2px 10px; font-size: 24px; }
.cp411 #cpAcciones { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.cp411 #cpModalMensaje { margin: 0; }
.cp411 input { padding: 8px; border: 1px solid #aab2b9; border-radius: 4px; max-width: 100%; }
.cp411-tabla { overflow-x: auto; border: 1px solid #d6dce1; }
.cp411-mes { margin: 0 0 24px; }
.cp411-mes-titulo { margin: 0; padding: 3.5px 12px; font-size: 16px; font-weight: 600; color: #173d56; background: #f1f6fa; border: 1px solid #d6dce1; border-bottom: 0; border-radius: 6px 6px 0 0; }
  .cp411 table { width: 100%; border-collapse: collapse; font-size: 14px; }
  .cp411-tabla tfoot th { padding: 10px 8px; border-top: 2px solid #94a9b9; background: #e6f0f7; color: #173d56; font-weight: 700; font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
  .cp411-tabla tfoot th:first-child { text-align: left; }
  .cp411-tabla tfoot .cp411-total-pen { color: #660000; }
  .cp411-tabla tfoot .cp411-total-no-pen { color: #003300; }
  .cp411-tabla tfoot .cp411-total-pen,
  .cp411-tabla tfoot .cp411-total-no-pen { font-size: 15px; }
.cp411 caption { caption-side: top; color: #000; padding: 12px; }
.cp411 th, .cp411 td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #e1e5e9; vertical-align: top; }
.cp411 th { background: #f1f3f5; white-space: nowrap; height: 25px; box-sizing: border-box; padding: 0 10px; line-height: 24px; vertical-align: middle; }
.cp411 td.cp411-tercero { color: #663300; }
.cp411 td.cp411-importe { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cp411 thead th:nth-child(n+6):nth-child(-n+10) { text-align: center; }
.cp411 td.cp411-xml { text-align: center; vertical-align: middle; padding: 0 10px; line-height: 0; }
.cp411 a.cp411-xml-descargar,
.cp411 a.cp411-xml-descargar:link,
.cp411 a.cp411-xml-descargar:visited,
.cp411 a.cp411-xml-descargar:hover,
.cp411 a.cp411-xml-descargar:focus,
.cp411 a.cp411-xml-descargar:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    font-size: 11px;
    line-height: 1;
    vertical-align: middle;
    color: inherit;
    text-decoration: none;
}
.cp411 .cp411-xml-descargar i,
.cp411 .cp411-xml-descargar:hover i,
.cp411 .cp411-xml-descargar:focus i,
.cp411 .cp411-xml-descargar:active i {
    display: block;
    width: 11px;
    height: 11px;
    font-size: 11px !important;
    font-weight: 900;
    line-height: 11px !important;
    margin: 0;
    padding: 0;
    transform: none;
    transition: none;
}
.cp411-paginas { display: flex; gap: 15px; align-items: center; margin: 18px 0; }
.cp411-anual { margin: 16px 0; padding: 16px; border: 1px solid #c9dfee; border-radius: 6px; background: #f5f9fc; color: #173d56; }
.cp411-seguro-consolidado { padding: 0; border: 0; border-radius: 0; background: transparent; }
.cp411-anual h2 { margin: 0 0 8px; font-size: 18px; }
.cp411-anual p { font-size: 14px; }
.cp411-anual-scroll { overflow-x: auto; }
.cp411-seguro-layout { display: flex; gap: 24px; align-items: flex-start; }
.cp411-seguro-layout > .cp411-anual-scroll { min-width: 0; }
.cp411 .cp411-seguro-tabla { width: max-content; min-width: 0; }
.cp411-seguro-tabla th,
.cp411-seguro-tabla td { padding-left: 16px; padding-right: 16px; }
.cp411-seguro-tabla th:first-child,
.cp411-seguro-tabla td:first-child { width: 165px; }
.cp411-seguro-tabla th:nth-child(2),
.cp411-seguro-tabla td:nth-child(2) { width: 160px; }
.cp411-seguro-tabla th:nth-child(4),
.cp411-seguro-tabla td:nth-child(4) { width: 160px; }
.cp411-tipo-tabla th:first-child,
.cp411-tipo-tabla td:first-child { width: 35px; text-align: center; padding-left: 4px; padding-right: 4px; }
.cp411-tipo-tabla th:first-child { width: 35px; text-align: center; padding-left: 4px; padding-right: 4px; }
.cp411-tipo-tabla { width: 735px !important; margin-left: 0; margin-right: auto; table-layout: fixed; }
.cp411-tipo-tabla th:nth-child(2),
.cp411-tipo-tabla td:nth-child(2) { width: 260px; }
.cp411-tipo-tabla th:nth-child(3),
.cp411-tipo-tabla td:nth-child(3),
.cp411-tipo-tabla th:nth-child(4),
.cp411-tipo-tabla td:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.cp411-tipo-tabla th:nth-child(4),
.cp411-tipo-tabla td:nth-child(4),
.cp411-tipo-tabla th:nth-child(3),
.cp411-tipo-tabla td:nth-child(3) { width: 150px; min-width: 150px; max-width: 150px; }
.cp411-tipo-tabla th:nth-child(4),
.cp411-tipo-tabla td:nth-child(4) { width: 130px; min-width: 130px; max-width: 130px; }
.cp411-tipo-tabla th:nth-child(5),
.cp411-tipo-tabla td:nth-child(5) { width: 160px; min-width: 160px; max-width: 160px; }
.cp411-tipo-barra-fondo { width: 100%; height: 14px; overflow: hidden; border-radius: 7px; background: #dce6ec; }
.cp411-tipo-barra { height: 100%; border-radius: 7px; background: #2d87b8; }
.cp411-tipo-tabla tfoot th { text-align: right; }
.cp411-seguro-tabla tbody td { padding-top: 10px; padding-bottom: 10px; font-size: 15px; }
.cp411-tipo-tabla tbody td { padding-top: 7px; padding-bottom: 7px; }
.cp411-tipo-tabla tbody td:last-child { vertical-align: middle; }
.cp411-seguro-tabla .cp411-seguro-cero { color: #AAAAAA; }
.cp411-seguro-tabla .cp411-seguro-total-importe { font-size: 16px; text-align: right; }
.cp411-seguro-tabla th:nth-child(3),
.cp411-seguro-tabla th:nth-child(4),
.cp411-seguro-tabla td:nth-child(3),
.cp411-seguro-tabla td:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.cp411-seguro-tabla tfoot th { height: 30px; border-top: 2px solid #94a9b9; background: #e6f0f7; font-weight: 700; }
.cp411-seguro-resumen { width: 320px; flex: 0 0 320px; }
.cp411-seguro-resumen table { width: 100%; }
.cp411-seguro-resumen tbody td { padding-top: 8px; padding-bottom: 8px; }
.cp411-seguro-grafico { margin: 0 0 14px; }
.cp411-seguro-grafico figcaption { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.cp411-seguro-grafico svg { display: block; width: 100%; height: auto; overflow: visible; }
.cp411-seguro-grafico-barra { fill: #226b9b; }
.cp411-seguro-grafico-etiqueta,
.cp411-seguro-grafico-importe { fill: #40576a; font-family: inherit; font-size: 14px; }
.cp411-seguro-grafico-etiqueta { text-anchor: start; }
.cp411-seguro-grafico-importe { font-variant-numeric: tabular-nums; }
.cp411-seguro-resumen th:nth-child(2),
.cp411-seguro-resumen td:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; }
.cp411-seguro-resumen tfoot th { border-top: 2px solid #94a9b9; background: #e6f0f7; font-weight: 700; }
@media (max-width: 900px) {
    .cp411-seguro-layout { flex-direction: column; }
    .cp411-seguro-resumen { width: min(320px, 100%); flex-basis: auto; }
}
.cp411-anual-fila { display: grid; grid-template-columns: minmax(55px, calc((100% + 16px) / 4 - 50px)) minmax(105px, calc((100% + 16px) / 4)) minmax(105px, calc((100% + 16px) / 4)) minmax(105px, calc((100% + 16px) / 4)); gap: 8px; margin-right: 40px; min-width: 425px; padding: 9px 6px; border-bottom: 1px solid #d7e4ef; font-size: 14px; font-variant-numeric: tabular-nums; }
.cp411-anual-layout { display: grid; grid-template-columns: minmax(465px, 1fr) minmax(440px, 1fr); gap: 24px; align-items: start; }
.cp411-anual-layout > * { min-width: 0; }
.cp411-anual-grafico { margin: 0; }
.cp411-anual-grafico figcaption { font-size: 15px; font-weight: 600; margin: 10px 0; }
.cp411-anual-grafico svg { display: block; width: 100%; height: auto; }
.cp411-anual-grafico svg text { fill: #40576a; font-family: inherit; font-size: 13px; }
.cp411-grafico-guia { stroke: #d7e4ef; stroke-width: 1; }
.cp411-grafico-cero { stroke: #94a9b9; stroke-width: 1; }
.cp411-grafico-linea { fill: none; stroke: #226b9b; stroke-width: 2.5; stroke-linejoin: round; }
.cp411-grafico-punto { fill: #226b9b; stroke: #fff; stroke-width: 1.5; }
.cp411-serie-general { color: #226b9b; }
.cp411-serie-pen { color: #660000; }
.cp411-serie-usd { color: #003300; }
.cp411-grafico-linea.cp411-serie-pen { stroke: #660000; stroke-dasharray: 7 3; }
.cp411-grafico-linea.cp411-serie-usd { stroke: #003300; stroke-dasharray: 2 3; }
.cp411-grafico-punto.cp411-serie-pen { fill: #660000; }
.cp411-grafico-punto.cp411-serie-usd { fill: #003300; }
.cp411-grafico-leyenda { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.cp411-grafico-leyenda span::before { content: ''; display: inline-block; width: 22px; margin-right: 5px; vertical-align: middle; border-top: 2px solid currentColor; }
.cp411-grafico-leyenda .cp411-serie-pen::before { border-top-style: dashed; }
.cp411-grafico-leyenda .cp411-serie-usd::before { border-top-style: dotted; }
@media (max-width: 1100px) { .cp411-anual-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.cp411-anual-fila > :not(:first-child) { text-align: right; }
.cp411-anual-fila > .cp411-anual-pen { color: #660000; }
.cp411-anual-fila > .cp411-anual-usd { color: #003300; }
.cp411-anual-detracciones .cp411-anual-fila { grid-template-columns: minmax(70px, .8fr) repeat(4, minmax(105px, 1fr)); min-width: 530px; margin-right: 0; }
.cp411-anual-detracciones .cp411-anual-total { font-size: 13px; }
.cp411 .cp411-anual-fila > a,
.cp411 .cp411-anual-fila > a:link,
.cp411 .cp411-anual-fila > a:visited,
.cp411 .cp411-anual-fila > a:hover,
.cp411 .cp411-anual-fila > a:focus,
.cp411 .cp411-anual-fila > a:active { font: inherit; color: inherit; text-decoration: none; }
.cp411 .cp411-anual-fila > a:focus-visible { outline: 2px solid #087ea4; outline-offset: 2px; }
.cp411-anual-encabezado, .cp411-anual-total { background: #eaf4fb; font-weight: 700; }
.cp411-anual-fila.cp411-anual-encabezado { padding-top: 5.5px; padding-bottom: 5.5px; }
.cp411-resumen { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 16px; margin-top: 0; background: #eaf4fb; border: 1px solid #c9dfee; border-top: 0; border-radius: 0 0 6px 6px; color: #173d56; }
.cp411-resumen-periodo { font-size: 14px; font-weight: 600; }
.cp411 .cp411-mes-toggle { margin-left: 6px; padding: 0; width: 32px; height: 32px; border: 1px solid #b5cddd; background: transparent; color: #173d56; font-size: 20px; line-height: 1; vertical-align: middle; }
.cp411 .cp411-mes-toggle:focus-visible { outline: 2px solid #087ea4; outline-offset: 2px; }
.cp411 .cp411-mes-toggle span { display: inline-block; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(2px) rotate(-45deg); }
  .cp411 .cp411-mes-toggle[aria-expanded="false"] span { transform: translateY(-2px) rotate(135deg); }
@media (max-width: 640px) { .cp411 .cp411-mes-toggle { width: 44px; height: 44px; } }
.cp411-resumen { padding: 5.5px 10px; font-size: 14px; line-height: 1.5; }
  .cp411-resumen-importes { display: flex; align-items: center; gap: 6px; margin-left: auto; white-space: nowrap; }
  .cp411-resumen-importes > div { text-align: right; }
  .cp411-resumen-importes .cp411-resumen-comisiones strong,
  .cp411-resumen-importes .cp411-resumen-bonos strong { color: #663300; }
  .cp411-resumen-importes .cp411-resumen-total strong { color: #000000; }
  .cp411-resumen-importes .cp411-resumen-detracciones { margin-right: 16px; }
  .cp411-resumen-importes .cp411-resumen-moneda,
  .cp411-resumen-importes .cp411-resumen-operador,
  .cp411-resumen-importes > div strong { color: #173d56; font-size: 14px; line-height: 1.5; vertical-align: middle; }
  .cp411-resumen-importes .cp411-resumen-moneda,
  .cp411-resumen-importes .cp411-resumen-operador { display: inline-flex; align-items: center; align-self: end; justify-self: center; height: 21px; }
  .cp411-resumen-importes .cp411-resumen-moneda { justify-self: center; }
.cp411-resumen-importes .cp411-resumen-moneda { display: block; font-size: 14px; margin-right: 16px; }
.cp411-resumen-operador { font-size: 14px; }
.cp411-resumen strong { display: block; font-size: 14px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cp411-resumen-importes > div > span { display: block; font-size: 8px; letter-spacing: 1px; text-transform: uppercase; }
.cp411-resumen small { flex-basis: 100%; }
.cp411-mes > .cp411-resumen { border-top: 1px solid #c9dfee; border-bottom: 0; border-radius: 6px 6px 0 0; }
@media (max-width: 640px) {
    .cp411-resumen-importes { width: 100%; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
    .cp411-resumen-importes > div { min-width: 0; }
    .cp411-resumen-importes .cp411-resumen-moneda { margin-right: 4px; }
    .cp411-resumen-importes .cp411-resumen-detracciones { flex-basis: 100%; text-align: left; margin-right: 0; }
}
.contabilidadModuloComprobantes .contabilidadModuloRegresar { background: #f3f4f5; color: #000; border: 1px solid #aab2b9; }


.contabilidadMapa {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) 90px;
    gap: 12px;
    width: min(520px, calc(100% - 32px));
    margin: 32px auto;
    align-items: stretch;
}

.contabilidadMapaTitulo {
    grid-column: 1 / -1;
    margin: 0 0 8px;
    color: #1A3A5C;
    font-size: 20px;
    font-weight: 700;
}

.contabilidadMapaBoton,
.contabilidadMapaIcono {
    display: flex;
    min-height: 64px;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #AFC5DA;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.contabilidadMapaBoton {
    justify-content: flex-start;
    padding: 12px 20px;
    color: #FFF;
    background: #1A3A5C;
    font-size: 16px;
    font-weight: 700;
}

.contabilidadMapaIcono {
    justify-content: center;
    color: #1A5C87;
    background: #F5F9FD;
    font-size: 31px;
}

.contabilidadMapaBoton:hover,
.contabilidadMapaBoton:focus {
    color: #FFF;
    background: #24537E;
    border-color: #24537E;
    font-size: 17px;
    text-decoration: none;
    transform: translateY(-1px);
}

.contabilidadMapaIcono:hover,
.contabilidadMapaIcono:focus {
    color: #1A5C87;
    background: #E4EFF9;
    border-color: #6F96BA;
    text-decoration: none;
    transform: translateY(-1px);
}

.contabilidadMapaVacio {
    grid-column: 1 / -1;
    margin: 0;
    padding: 20px;
    border: 1px solid #D8E3ED;
    border-radius: 8px;
    color: #587086;
    background: #F5F9FD;
}

.contabilidadModulo {
    width: min(620px, calc(100% - 32px));
    margin: 32px auto;
    padding: 28px;
    box-sizing: border-box;
    border: 1px solid #D8E3ED;
    border-radius: 10px;
    background: #F5F9FD;
}

.contabilidadModuloTitulo {
    margin: 0 0 12px;
    color: #1A3A5C;
    font-size: 22px;
    font-weight: 700;
}

.contabilidadModuloTexto {
    margin: 0 0 24px;
    color: #587086;
    font-size: 16px;
}

.contabilidadModuloRegresar {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 16px;
    border-radius: 6px;
    color: #FFF;
    background: #1A3A5C;
    font-weight: 700;
    text-decoration: none;
}

.contabilidadModuloRegresar:hover,
.contabilidadModuloRegresar:focus {
    color: #FFF;
    background: #24537E;
    text-decoration: none;
}

@media (max-width: 480px) {
    .contabilidadMapa {
        width: min(calc(100% - 20px), 520px);
        grid-template-columns: minmax(0, 1fr) 72px;
        gap: 8px;
        margin-top: 20px;
    }

    .contabilidadMapaBoton,
    .contabilidadMapaIcono {
        min-height: 58px;
    }
}
.cp411 a.cp411-liquidacion-pendiente,
.cp411 a.cp411-liquidacion-pendiente:visited,
.cp411 a.cp411-liquidacion-pendiente:hover,
.cp411 a.cp411-liquidacion-pendiente:focus,
.cp411 a.cp411-liquidacion-pendiente:active {
    color: #ff0000;
    font: inherit;
    text-decoration: none;
}
.cp411 .cp411-referencia-texto { color: #087ea4; }
.cp411-secuencia-nota { font-size: 12px; color: #596675; margin: 0 0 10px; }
.cp411 .cp411-grupo th { background: #e8edf2; font-size: 12px; font-weight: 400; }
.cp411 .cp411-faltante td { background: #fff9ed; color: #80602a; }
.cp411-estado-pendiente { font-size: inherit; }
.cp411 button.cp411-importar-faltante,
.cp411 button.cp411-importar-faltante:hover {
    width: 18px; height: 18px; padding: 0; margin: 0;
    line-height: 16px; font-size: 13px; color: #80602a;
    background: transparent; border: 1px solid #c9b68e; border-radius: 3px;
}

/* Comprobantes en celulares: cada fila se presenta como una ficha. */
@media (max-width: 640px) {
    .contabilidadModulo.contabilidadModuloComprobantes {
        width: calc(100% - 16px); min-width: 0; padding: 0 0 12px;
        box-sizing: border-box;
    }
    .cp411 { min-width: 0; }
    .cp411-barra { flex-wrap: wrap; gap: 10px; }
    .cp411-barra .contabilidadModuloTitulo { flex-basis: 100%; font-size: 22px; }
    .cp411-barra #cpNuevo { margin-left: 0; }
    .cp411-barra #cpNuevo,
    .cp411-barra a.contabilidadModuloRegresar { flex-shrink: 1; min-height: 44px; box-sizing: border-box; }
    .cp411-tabla { border: 0; overflow: visible; }
    .cp411 table, .cp411 tbody { display: block; width: 100%; }
    .cp411 thead {
        position: absolute; width: 1px; height: 1px; padding: 0;
        overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }
    .cp411 tbody tr {
        display: block; margin-bottom: 14px; border: 1px solid #d6dce1;
        border-radius: 8px; overflow: hidden; background: #fff;
    }
    .cp411 tbody td,
    .cp411 tbody td.cp411-importe,
    .cp411 tbody td.cp411-xml {
        display: block; position: relative; box-sizing: border-box;
        min-height: 38px; padding: 9px 12px 9px 116px;
        text-align: left; line-height: 1.4; white-space: normal;
        overflow-wrap: anywhere;
    }
    .cp411 tbody td::before {
        position: absolute; left: 12px; top: 9px; width: 94px;
        font-weight: 600; color: #596675;
    }
    .cp411 tbody td:nth-child(1)::before { content: 'Emisión'; }
    .cp411 tbody td:nth-child(2)::before { content: 'Comprobante'; }
    .cp411 tbody td:nth-child(3)::before { content: 'RUC'; }
    .cp411 tbody td:nth-child(4)::before { content: 'Destinatario'; }
    .cp411 tbody td:nth-child(5)::before { content: 'Liquidación'; }
    .cp411 tbody td:nth-child(6)::before { content: 'Moneda'; }
    .cp411 tbody td:nth-child(7)::before { content: 'Subtotal'; }
    .cp411 tbody td:nth-child(8)::before { content: 'IGV'; }
    .cp411 tbody td:nth-child(9)::before { content: 'Total'; }
    .cp411 tbody td:nth-child(10)::before { content: 'Cuenta'; }
    .cp411 tbody td.cp411-importe:nth-child(10) { min-height: 58px; }
    .cp411 tbody td:nth-child(11)::before { content: 'XML'; }
    .cp411 tbody td:nth-child(9) { font-weight: 700; background: #f1f3f5; }
    .cp411 tbody td:last-child { border-bottom: 0; }
    .cp411 tbody tr:last-child { margin-bottom: 0; border-radius: 8px 8px 0 0; }
    .cp411 tbody td[colspan] { padding: 14px; }
    .cp411 tbody td[colspan]::before { content: none; }
    .cp411 tbody td a.cp411-comprobante,
    .cp411 tbody td a.cp411-liquidacion-pendiente {
        display: inline-flex; align-items: center; min-height: 44px;
    }
    .cp411 tbody td a.cp411-xml-descargar,
    .cp411 tbody td button.cp411-importar-faltante {
        width: 44px; height: 44px; min-height: 44px;
        line-height: 1; font-size: 18px;
    }
    .cp411-paginas { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .cp411-paginas a { min-height: 44px; box-sizing: border-box; }
    .cp411 #cpModal form { min-width: 0; padding: 16px; }
    .cp411 #cpModal button { min-height: 44px; }
    .cp411 #cpCerrar { min-width: 44px; }
    .cp411 #cpMensaje { overflow-wrap: anywhere; }
}

.cp411 tr.cp411-con-nota > td { opacity: .4; }
.cp411 tbody td.cp411-importe-usd { color: #003300; }
.cp411 tbody td.cp411-cuenta { font-weight: 700; }
.cp411 tbody td.cp411-cuenta-usd { color: #003300; }
.cp411 tbody td.cp411-cuenta-pen { color: #660000; }
.cp411 tbody td.cp411-cuenta-confirmada { background: #FFE5CC; }

.cp411 #cpIngresoModal { position: fixed; inset: 0; margin: auto; padding: 0; width: 560px; max-width: calc(100% - 24px); max-height: calc(100% - 24px); overflow-y: auto; box-sizing: border-box; border: 0; border-radius: 18px; background: #f4f8fc; color: #243746; box-shadow: 0 24px 70px rgba(15,38,57,.3); }
.cp411 #cpIngresoModal::backdrop { background: rgba(22,40,56,.6); }
.cp411 #cpIngresoForm { display: block; padding: 0; margin: 0; max-width: none; border: 0; }
.cp411 .cp-ingreso-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; background: linear-gradient(115deg,#193d5c,#29688f); color: white; }
.cp411 .cp-ingreso-cabecera h2 { margin: 0; font-size: 24px; color: white; }
.cp411 #cpIngresoX { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: white; font-size: 28px; }
.cp411 .cp-ingreso-cuerpo { padding: 24px; }
.cp411 #cpIngresoOpciones { display: flex; flex-direction: column; gap: 20px; border: 0; padding: 0; margin: 0; min-width: 0; }
.cp411 .cp-ingreso-fila { display: flex; align-items: center; gap: 16px; padding: 0; margin: 0; background: transparent; }
.cp411 .cp-ingreso-fila label { display: flex; align-items: center; gap: 12px; font-size: 18px; cursor: pointer; }
.cp411 .cp-ingreso-fila input[type=radio] { width: 18px; height: 18px; margin: 0; accent-color: #29688f; }
.cp411 #cpIngresoNumero { width: 240px; min-width: 0; min-height: 48px; padding: 12px; margin-left: 0; box-sizing: border-box; font: inherit; font-size: 18px; }
.cp411 .cp-ingreso-footer { display: flex; justify-content: flex-end; gap: 12px; padding: 20px 24px; border-top: 1px solid #d7e4ef; background: white; }
.cp411 .cp-ingreso-footer button { padding: 10px 20px; font: inherit; border-radius: 5px; }
.cp411 #cpIngresoMensaje { margin: 8px 0 0; }
@media (max-width: 480px) { .cp411 .cp-ingreso-cuerpo { padding: 16px; } .cp411 .cp-ingreso-fila { gap: 8px; } .cp411 .cp-ingreso-fila label { font-size: 16px; gap: 8px; flex-shrink: 0; } .cp411 #cpIngresoNumero { width: 160px; flex: 1; } }

.cp411 tbody td a.cp411-tipo-ingreso,
.cp411 tbody td a.cp411-tipo-ingreso:visited,
.cp411 tbody td a.cp411-tipo-ingreso:hover,
.cp411 tbody td a.cp411-tipo-ingreso:focus,
.cp411 tbody td a.cp411-tipo-ingreso:active { color: inherit; font: inherit; text-decoration: none; }

.cp411 tbody td a.cp411-tipo-ingreso.cp411-ingreso-no-existe { color: #c00000; }

.cp411 #cpIngresoVer { flex: 0 0 36px; padding: 6px; border: 0; background: transparent; color: #29688f; font-size: 22px; cursor: pointer; }
.cp411 #cpIngresoVer:disabled { opacity: .4; cursor: default; }

.cp411 tbody td a.cp411-cuenta-link,
.cp411 tbody td a.cp411-cuenta-link:visited,
.cp411 tbody td a.cp411-cuenta-link:hover,
.cp411 tbody td a.cp411-cuenta-link:focus,
.cp411 tbody td a.cp411-cuenta-link:active { color: inherit; font: inherit; text-decoration: none; }
.cp411 #cpDetraccionModal { position: fixed; inset: 0; margin: auto; padding: 0; width: 460px; max-width: calc(100% - 24px); max-height: calc(100% - 24px); overflow-y: auto; box-sizing: border-box; border: 0; border-radius: 18px; background: #f4f8fc; color: #243746; box-shadow: 0 24px 70px rgba(15,38,57,.3); }
.cp411 #cpDetraccionModal::backdrop { background: rgba(22,40,56,.6); }
.cp411 #cpDetraccionX { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: white; font-size: 28px; }
.cp411 #cpDetraccionImporte { margin: 0; padding: 12px 0; text-align: center; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cp411 .cp411-verificacion-pregunta { margin: 4px 0 0; text-align: center; font-size: 18px; }
