 /* ==========================================
       IMPRESIÓN
    ========================================== */
 @media print {

   /* Ocultar */
   .btn-bar,
   .field2,
   .tab-bar,
   .hint,
   .info-badge,
   .screen-header,
   .campos-entrada {
     display: none !important;
   }

   .print-doc-title {
     display: block !important;
   }

   /* Descripción SÍ se imprime */
   .descripcion-fija {
     display: block !important;
     font-size: 13px;
     margin-bottom: 24px;
     color: #000;
   }

   body {
     margin: 0;
     padding: 1cm 1.5cm;
     max-width: 100%;
     font-size: 12px;
     color: #000;
   }

   .panel {
     display: none !important;
   }

   .panel.active {
     display: block !important;
   }


   /* Título de sección */
   .sec h3 {
     font-size: 14px !important;
     font-weight: 700 !important;
     color: #000 !important;
     text-transform: uppercase;
     letter-spacing: 0.06em;
     margin-bottom: 16px !important;
     padding-bottom: 6px;
     border-bottom: 1.5px solid #000;
   }

   /* Result card sin fondo gris */
   .result-card {
     background: #fff !important;
     border-radius: 4px;
     padding: 10px 14px;
     margin-top: 1rem;
   }

   /* Todas las líneas del desglose en negro */
   .rl {
     color: #000 !important;
   }

   .rv {
     color: #000 !important;
   }

   .rl-tram {
     color: #000 !important;
     font-style: normal !important;
   }

   .rv-tram {
     color: #000 !important;
   }

   .result-card-title {
     color: #000 !important;
   }

   .rtotal .rl {
     color: #000 !important;
   }

   .rtotal .rv {
     color: #000 !important;
     font-size: 18px !important;
     font-weight: 700 !important;
   }

   .rline {
     border-bottom-color: #ddd !important;
   }

   .rline-tram {
     border-bottom-color: #ddd !important;
   }

   .rtotal {
     border-top-color: #000 !important;
   }

   .warn-badge {
     display: block !important;
     color: #000 !important;
     background: #fff !important;
     border: none !important;
   }

   .check-field {
     display: none !important;
   }

   .nota-info,
   .ejemplo-toggle,
   .ejemplo-content,
   .botonBorrar,
   .botoncheck,
   .total-fianza-bar {
     display: none !important;
   }

   /* Courier New SOLO en la tabla */
   .conceptos-tabla,
   .conceptos-tabla th,
   .conceptos-tabla td,
   .print-only-tfoot td {
     font-family: 'Courier New', Courier, monospace !important;
   }

   /* Tabla con bordes grises */
   .conceptos-tabla {
     font-size: 11px;
     width: 100%;
     border-collapse: collapse;
     border: 1.5px solid #aaa !important;
     margin-top: 12px;
   }

   .conceptos-tabla thead {
     display: table-header-group !important;
   }

   .conceptos-tabla thead th {
     background: #f0f0f0 !important;
     color: #000 !important;
     border: 1px solid #bbb !important;
     padding: 6px 10px;
     text-align: left;
     font-size: 11px;
     font-weight: bold !important;
     text-transform: uppercase;
     letter-spacing: 0.04em;
   }

   .conceptos-tabla thead th:nth-child(2) {
     text-align: center;
   }

   .conceptos-tabla thead th:last-child {
     text-align: right;
   }

   .conceptos-tabla tbody tr {
     border: 1px solid #bbb !important;
   }

   .conceptos-tabla tbody td {
     border: 1px solid #bbb !important;
     padding: 6px 10px;
     font-size: 11px;
     vertical-align: middle;
   }

   .conceptos-tabla tbody td:nth-child(2) {
     text-align: center;
   }

   .conceptos-tabla tbody td:last-child {
     text-align: right;
   }

   /* Quitar borde del input de cantidad */
   .input2 {
     border: none !important;
     outline: none !important;
     background: transparent !important;
     font-family: 'Courier New', Courier, monospace !important;
     font-size: 11px;
     text-align: center;
     width: 50px;
   }

   /* Fila de total al pie: visible en impresión */
   .print-only-tfoot {
     visibility: visible !important;
     position: static !important;
     height: auto !important;
     overflow: visible !important;
     display: table-footer-group !important;
   }

   .print-only-tfoot tr td {
     border: 1px solid #bbb !important;
     padding: 7px 10px;
     font-size: 12px;
     font-weight: bold;
     background: #f0f0f0 !important;
     font-family: 'Courier New', Courier, monospace !important;
     text-align: right !important;
   }

   .field2 label {
     font-size: 13px;
     color: #000;
     font-weight: 500;
   }

   .field2 input {
     background: #f9f9f9 !important;
     color: #000 !important;
     font-family: 'Courier New', monospace !important;
     font-size: 13px;
   }

   .total-bar {
     background: #f0f0f0 !important;
     border-radius: 6px;
     padding: 10px 16px;
   }

   .total-bar .label {
     font-size: 13px;
     color: #000;
   }

   .total-bar .value {
     font-size: 16px;
     color: #000 !important;
     font-family: 'Courier New', monospace !important;
   }

   .nota-gmu {
     font-size: 11px;
     margin-top: 1.5rem;
   }



 }