@charset "iso-8859-1";

@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.loader-img-flotar {
  animation: flotar 2s ease-in-out infinite;
}


.select-dropdown.dropdown-content {
  top: 100% !important;
  transform: translateY(0px) !important;
  margin-top: 4px;
  max-height: 400px !important;
  overflow-y: auto !important;
  position: absolute !important;
  will-change: unset !important;
}




.tooltip-icon {
	position: relative;
	display: inline-block;
	cursor: pointer;
	margin-left: 5px;
}

.tooltip-icon .tooltip-text {
	visibility: hidden;
	width: 160px;
	background-color: #555;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px;
	position: absolute;
	z-index: 1;
	bottom: 125%; /* Posici�n del tooltip arriba del �cono */
	left: 50%;
	margin-left: -80px; /* Centrar el tooltip */
	opacity: 0;
	transition: opacity 0.3s;
}

.tooltip-icon .tooltip-text::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
}

.tooltip-icon:hover .tooltip-text {
	visibility: visible;
	opacity: 1;
}

.checkbox-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

body {
	color:#000000;
	font-family:  'Roboto'; font-weight: 300 !important;
}
	.font{
		font-family: 'roboto';
	}
	.titulos_secciones{font-size:18px; border-bottom:1px solid #676767; color:#000000; margin-left:inherit 20px;}

img { border: none;}
a {color:#000000; text-decoration:none;}
a:hover{text-decoration:none; color:#000000;}
a:active { color: #C83A3A;  text-decoration: none}
a:link {  color: #626161; text-decoration: none}

.forma_redondas
	{
	border-radius: 7px 7px 7px 7px;
	-moz-border-radius: 7px 7px 7px 7px;
	-webkit-border-radius: 7px 7px 7px 7px;
	border: 0px solid #000000;

	-webkit-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.51);
	-moz-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.51);
	box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.51);
		}

.forma_sombra_titulos
	{
			
			padding-left:10px;
			text-shadow: 5px 5px 5px #aaa;	
			font-size:18px;
		}
.forma_sombra_titulos_simple
	{
			padding-left:10px;
			text-shadow: 5px 5px 5px #aaa;	
			font-size:18px;
		}		
.error_imagen_fuente_16
	{		font-size:16px;
			color:#C60005;
			padding:15px 0px 0 40px;
			height:35px;
			background-position: left center;
			background-repeat:no-repeat;	
		}
.error01_imagen_bloqueo_fuente_16
	{		font-size:16px;
			color:#030;
			padding:15px 0px 0 40px;
			height:35px;
			background-position: left center;
			background-repeat:no-repeat;	
		}
		
.error02_imagen_cambi_fuente_16
	{		font-size:16px;
			color:#030;
			padding:15px 0px 0 40px;
			height:35px;
			background-image:url(../imagenes/botones/error_03_cambio.png?ac=2) ;
			background-position: left center;
			background-repeat:no-repeat;	
		}		


#cuerpo_general{ padding:10px, 10px, 10px, 10px; }
#logo_general{  height:70px; width:80%; float:left;  }
#servicio_cliente{ text-align:right; margin-right:10px; margin-top:10px;  padding:10px, 10px, 10px, 10px; font-size:12px}




.bordes_curvos{
	border-radius: 7px 7px 7px 7px;
	-moz-border-radius: 7px 7px 7px 7px;
	-webkit-border-radius: 7px 7px 7px 7px;
	border: 0px solid #000000;

-webkit-box-shadow: 3px 4px 18px 0px rgba(92,92,92,1);
-moz-box-shadow: 3px 4px 18px 0px rgba(92,92,92,1);
box-shadow: 3px 4px 18px 0px rgba(92,92,92,1);
}

#caja_logeo{ width:auto; background-color:#FFFFFF; margin-top:30px; padding-top:20px; } 
#caja_logeo2{ width:auto; background-color:#EEEEEE; margin-top:50px; padding-top:20px; } 




.titulo_01{ font-size:20px; color:#666666; font-style:oblique }
.titulo_02_servicio{ font-size:14px; color:#666666;  }
.titulo_03_login{ font-size:16px; color:#666666; font-weight:bold; width:auto;  border-bottom:1px solid #666666; padding-left:10px; margin-left:20px; margin-right:20px; }
.titulo_04_problemas{ font-size:16px; color:#06F; font-weight:bold; width:auto;  border-bottom:1px solid #666666; padding-left:10px; margin-left:20px; margin-right:20px;

 }


.contenido_login{ height:auto;font-size:12px; color:#666666;   margin-left:20px; margin-right:20px; margin-top:20px; text-align:justify}
.label_login{ width:30%; padding:10px 5px 0 5px; text-align:right;float:left; }

.li_general {font-size:1.166em; line-height:1.485em; padding-left:3px;  text-align:left; list-style:url(../img/boton-bullet.png); }
#div_titulos
	{
		margin-top:15px; margin-left:5px; margin-bottom:15px;
		
		}






h7 { 
	 display: block;
	font-size:1.30rem;
	font-weight:400;
    line-height: 110%;

	
	}
	
.material-icons.orange600 { color: #FB8C00; }	
.material-icons.blue600 { color: #1D82FC; }
.material-icons.banco { color:#FFFFFF; }	
.color-menu { border-top:solid 3px #FF0000; } 
.color-inact { border-top:solid 3px #666666; } 
.material-icons.menu_pri{height: 10px; width:20px; line-height: 40px;  padding: 0 0.10rem; }

.material-icons.carge_anexo{ line-height: 1px;  padding: 0 0.10rem; }
.material-icons.descarge_anexo{ line-height: 90px;  padding: 0 0.10rem; font-size:2.05rem; font-weight:bold; cursor:pointer}

.select-wrapper input.select-dropdown{ 
	height:2rem !important;
	line-height:2rem !important;
	 }
.dropdown-content li > a, .dropdown-content li > span
	{
		color:#000000 !important;
		}


.tabla_nueva_2 td{
	
	vertical-align:middle; 
	padding: 3px 3px;
    display: table-cell;
    text-align: left;
}

.tabla_nueva td{
	
	vertical-align:middle; 
	border:solid 1px #B7B7B7;
	padding: 3px 3px;
    display: table-cell;
    text-align: left;
    border-radius: 2px;
	font-size:0.95rem;
	}
	
.tabla_nueva th{
	
	vertical-align:bottom; 
	border:solid 1px #B7B7B7;
	padding: 3px 3px;
    display: table-cell;
    text-align: left;
    border-radius: 2px;
	font-size:0.95rem;
	background-color:#9BCBFF;
	font-weight:normal;
	}
.tabla_nueva .footer{
	
	vertical-align:middle; 
	border:solid 0px ;
	padding: 3px 3px;
    display: table-cell;
    text-align: left;
    border-radius: 2px;
	font-size:0.95rem;
	background-color:#FFFFFF;
	}		
.tabla_nueva .justi{	
	text-align:justify; 
}
.tabla_nueva .derecha{	
	text-align:left; 
}

.tabla_nueva .izq{	
	text-align:right; 
}

.tabla_nueva .centrado{	
	text-align:center; 
}

.tabla_especial th {
    padding: 3px 3px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
    border-radius: 2px;
	font-size:0.95rem;
}
.tabla_especial td {
    padding: 3px 3px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
    border-radius: 2px;
	font-size:0.95rem;
}

.lis__lista_items 
{
    font-weight:normal;
}

i.icon-red { color: red; } 

.tab a  {
 
  text-transform:none;
}
.tab a.active i{
  color: #ef9a9a   !important;
}

.tab a.active {
  background-color:#1976d2  !important;
}

.tabs .indicator
	{
		 background-color:#ff5722   !important;
		
		}


.tab_sub a  {
 
  text-transform:none;
   color: #212121  !important;
}
.tab_sub a.active i{
  color: #212121  !important;
}

.tab_sub a.active {
  background-color:#9e9e9e   !important;
}

.tabs_sub .indicator
	{
		 background-color:#9e9e9e    !important;
		
		}


.row .col.digi_v {
    width: 4%;
}

.alerta_negro { font-weight:bold; color: #212121 !important; }

.tabla_nueva_mate td{
	
	vertical-align:middle; 
	padding: 3px 3px;
    display: table-cell;
    text-align: left;
    border-radius: 2px;
	font-size:12px;
	}
	
.tabla_nueva_mate th{
	vertical-align:bottom; 
	padding: 3px 3px;
    display: table-cell;
	}


.tabla_especial_repo th {
    padding: 3px 3px;
    display: table-cell;
    text-align: center;
    vertical-align: top;
    border-radius: 2px;
	font-size:0.85rem;
	border: solid 1px #666666;
}
.tabla_especial_repo td {
    padding: 3px 3px;
    display: table-cell;
    text-align:right;
    vertical-align: top;
    border-radius: 2px;
	font-size:0.85rem;
	border: solid 1px #666666;
}

.tabla_especial_facturacion_inmueble th {
height: auto; /* Altura din�mica seg�n contenido */
            vertical-align: top; /* Alineaci�n inicial */
	border:solid 0px #B7B7B7;
	padding: 3px 3px;
    display: table-cell;
    text-align: left;
    border-radius: 2px;
	font-size:0.95rem;
}
.tabla_especial_facturacion_inmueble td {
	vertical-align:middle; 
	border:solid 1px #B7B7B7;
	padding: 3px 3px;
    display: table-cell;
    text-align: left;
    border-radius: 2px;
	font-size:0.75rem;
}

        .th-wrapper_esp {
            display: flex;
            flex-direction: column;
            height: 70px; /* Ocupar todo el espacio disponible en el th */
            justify-content: space-between; /* Dividir los divs entre la parte superior e inferior */
			font-size:12px
        }
        .top-content_esp {
            align-self: flex-start; /* Alineaci�n superior */
        }
        .bottom-content_esp {
            align-self: flex-end; /* Alineaci�n inferior */
        }

		
.tar_contrato_wrap { display: flex; gap: 18px; padding: 14px 16px 24px; background: #f5f6f8; }
.tar_contrato_sidebar { width: 245px; min-width: 245px; border-right: 1px solid #e3e8f0; padding: 8px 12px 12px 0; }
.tar_contrato_main { flex: 1; min-width: 0; }
.tar_contrato_topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tar_contrato_title { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; color: #1a2940; margin: 0; }
.tar_contrato_estado { display: inline-flex; align-items: center; border-radius: 14px; padding: 3px 12px; font-size: 11px; font-weight: 600; background: #edf0f5; color: #334e68; }
.tar_contrato_back { display: inline-flex; align-items: center; gap: 6px; height: 32px; line-height: 32px; padding: 0 12px; border: 1px solid #d4dce8; border-radius: 6px; background: #fff; color: #334e68; font-size: 12px; font-weight: 600; cursor: pointer; }
.tar_contrato_menu_item, .tar_contrato_menu_parent, .tar_contrato_subitem { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; border-radius: 6px; padding: 10px 12px; color: #334e68; font-size: 13px; font-weight: 600; cursor: pointer; }
.tar_contrato_menu_item:hover, .tar_contrato_menu_parent:hover, .tar_contrato_subitem:hover { background: #eef2f7; }
.tar_contrato_menu_item.tar_activo { background: #1e3a5f; color: #fff; }
.tar_contrato_menu_label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tar_contrato_submenu { margin: 0 0 8px 22px; border-left: 1px solid #e3e8f0; padding-left: 8px; }
.tar_contrato_subitem { padding: 7px 8px; font-size: 12px; font-weight: 500; }
#tar_submenu_reembolsables .tar_reemb_subitem { box-sizing: border-box; display: flex; align-items: center; justify-content: flex-start; gap: 10px; max-width: 100%; min-height: 32px; color: #334e68; }
#tar_submenu_reembolsables .tar_reemb_subitem .material-icons { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 15px; width: 15px; height: 15px; line-height: 1; color: inherit; }
#tar_submenu_reembolsables .tar_reemb_subtext { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.tar_contrato_badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 6px; background: #b45309; color: #fff; font-size: 11px; font-weight: 700; }
.tar_contrato_badge.tar_neutro { background: #e8edf5; color: #607088; }
.tar_contrato_resumen { background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; padding: 20px 22px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.tar_contrato_resumen_grid { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 0; border-bottom: 1px solid #ecf0f5; padding-bottom: 16px; margin-bottom: 18px; }
.tar_contrato_dato { border-right: 1px solid #e3e8f0; padding: 0 18px; min-height: 50px; }
.tar_contrato_dato:first-child { padding-left: 0; }
.tar_contrato_dato:last-child { border-right: 0; }
.tar_contrato_label { display: block; font-size: 10px; color: #6b7a8d; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.tar_contrato_valor { display: block; font-size: 13px; color: #1a2940; font-weight: 600; word-break: break-word; }
.tar_contrato_sap { font-size: 18px; font-weight: 700; letter-spacing: .2px; }
.tar_contrato_banda { display: grid; grid-template-columns: 1fr 460px; gap: 20px; align-items: center; }
.tar_contrato_urna { display: flex; align-items: center; gap: 28px; color: #1a2940; font-size: 13px; font-weight: 600; }
.tar_contrato_vencimiento { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; background: #f4f2ee; border-radius: 8px; padding: 14px 18px; color: #4a3f2f; }
.tar_contrato_vencimiento_num { display: inline-block; font-size: 36px; line-height: 1; color: #1a2940; font-weight: 800; margin-right: 6px; }
.tar_contrato_vencimiento_fechas { border-left: 1px solid #d9d2c8; padding-left: 18px; color: #4a3f2f; font-size: 12px; font-weight: 500; }
.tar_contrato_cards { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.tar_contrato_card { background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; padding: 18px 16px; min-height: 148px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.tar_contrato_card_top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tar_contrato_icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 20px; background: #edf0f5; color: #4a5e78; }
.tar_contrato_icon .material-icons { display:block; font-size:22px; line-height:1; width:22px; height:22px; text-align:center; }
.tar_contrato_icon.tar_morado { background: #eff2f6; color: #4a5568; }
.tar_contrato_icon.tar_azul { background: #edf3f9; color: #1e4d8c; }
.tar_contrato_icon.tar_naranja { background: #f5f0ea; color: #7c5c3a; }
.tar_contrato_card_titulo { font-size: 13px; font-weight: 700; color: #1a2940; margin: 0; }
.tar_contrato_card_num { font-size: 30px; font-weight: 800; color: #1a2940; margin: 8px 0 10px; }
.tar_contrato_card_num.tar_morado { color: #374151; }
.tar_contrato_card_num.tar_azul { color: #1e4d8c; }
.tar_contrato_card_num.tar_naranja { color: #1a2940; }
.tar_contrato_card_meta { font-size: 11px; color: #6b7a8d; margin: 0; }
.tar_contrato_alerta { background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid #b45309; border-radius: 8px; padding: 12px 14px; color: #92400e; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.tar_contrato_seccion { display: flex; align-items: center; gap: 10px; color: #1a2940; font-size: 15px; font-weight: 700; margin: 20px 0 12px; }
.tar_contrato_seccion:before { content: ""; width: 3px; height: 20px; border-radius: 2px; background: #1e4d8c; }
.tar_contrato_metricas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.tar_contrato_metrica { border: 1px solid #e3e8f0; border-radius: 6px; padding: 9px; text-align: center; font-size: 12px; font-weight: 700; color: #264d3a; }
.tar_contrato_metrica.tar_pendiente { color: #991b1b; }
.tar_contrato_link { display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d4dce8; border-radius: 6px; height: 36px; color: #1e4d8c; font-size: 12px; font-weight: 600; margin-top: 12px; cursor: pointer; }
.tar_contrato_ajax { background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; padding: 16px; }
.tar_mt14 { margin-top: 14px; }
.tar_oculto { display: none; }
.tar_icon_15 { font-size: 15px; }
.tar_icon_16 { font-size: 16px; vertical-align: middle; }
.tar_venc_titulo { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #7c6a52; }
.tar_venc_texto { font-weight: 600; font-size: 13px; }
.tar_venc_fin { margin-top: 8px; }
.tar_pend_color { color: #991b1b; }
.tar_contrato_wrap .tar_contrato_sidebar {
                transition: width .18s ease, min-width .18s ease, padding .18s ease;
            }

            .tar_contrato_toggle {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 34px;
                height: 34px;
                border: 1px solid #d9e1ed;
                border-radius: 6px;
                background: #fff;
                color: #07153b;
                cursor: pointer;
                padding: 0;
            }

            .tar_contrato_toggle i {
                font-size: 20px;
            }

            .tar_contrato_menu_right {
                display: inline-flex;
                align-items: center;
                gap: 6px;
            }

            .tar_submenu_arrow {
                color: #607088;
                font-size: 18px;
                transition: transform .18s ease;
            }

            .tar_submenu_abierto .tar_submenu_arrow {
                transform: rotate(180deg);
            }

            .tar_submenu_cerrado {
                display: none;
            }

            .tar_sidebar_collapsed {
                gap: 12px;
            }

            .tar_sidebar_collapsed .tar_contrato_sidebar {
                width: 56px;
                min-width: 56px;
                padding: 8px 6px 12px 0;
            }

            .tar_sidebar_collapsed .tar_contrato_menu_item,
            .tar_sidebar_collapsed .tar_contrato_menu_parent {
                justify-content: center;
                padding: 10px 0;
            }

            .tar_sidebar_collapsed .tar_contrato_menu_label {
                justify-content: center;
                gap: 0;
                width: 100%;
                font-size: 0;
            }

            .tar_sidebar_collapsed .tar_contrato_menu_label .material-icons {
                font-size: 20px;
            }

            .tar_sidebar_collapsed .tar_contrato_submenu,
            .tar_sidebar_collapsed .tar_contrato_badge {
                display: none;
            }

            .tar_sidebar_collapsed .tar_contrato_menu_right {
                display: none;
            }

/* ─── Proveedor: Histórico de contratos (tr_pv) ───────────────────── */

.tr_pv_btn_ver {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #1565C0;
    color: #1565C0;
    background: #fff;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.tr_pv_btn_ver:hover {
    background: #1565C0;
    color: #fff;
}

.tr_pv_btn_ver:hover .material-icons {
    color: #fff;
}

/* ─── Proveedor: Dashboard principal (tr_pv) ──────────────────────── */

.tr_pv_tab_nav {
    background: #1565C0;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}
.tr_pv_tab_nav::-webkit-scrollbar { display: none; }

.tr_pv_tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .15s, background .15s;
    user-select: none;
}
.tr_pv_tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.tr_pv_tab_active { color: #fff !important; border-bottom-color: #fff !important; }

.tr_pv_badge_tab {
    background: #ef5350;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.6;
}

.tr_pv_card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
}

.tr_pv_card_title {
    font-size: 14px;
    font-weight: 600;
    color: #212121;
    margin: 0 0 14px;
}

.tr_pv_dato_item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 110px;
}

.tr_pv_dato_icon {
    font-size: 20px;
    color: #9e9e9e;
    margin-top: 2px;
    flex-shrink: 0;
}

.tr_pv_dato_label {
    font-size: 10px;
    color: #9e9e9e;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 0 0 2px;
}

.tr_pv_dato_val {
    font-size: 13px;
    font-weight: 600;
    color: #212121;
    margin: 0;
}

.tr_pv_metric_box {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 90px;
    text-align: center;
}

.tr_pv_metric_num {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1;
}

.tr_pv_metric_lbl {
    font-size: 11px;
    color: #757575;
    margin: 0;
}

.tr_pv_btn_accion {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: #1565C0;
    border: 1px solid #BBDEFB;
    border-radius: 20px;
    padding: 4px 12px;
    background: #E3F2FD;
    transition: background .15s;
}
.tr_pv_btn_accion:hover { background: #BBDEFB; }

.tr_pv_tiquete_box {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: background .15s;
}
.tr_pv_tiquete_box:hover { background: #f5f5f5; }

.tr_pv_sol_item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background .1s;
}
.tr_pv_sol_item:last-child { border-bottom: none; }

/* Formulario universal de modificacion de tarifas */
.tr_pv_mod_shell {
    width: 100%;
    color: #202124;
}

.tr_pv_tarifa_strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    gap: 14px;
    background: #fff;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.tr_pv_strip_item {
    min-width: 0;
}

.tr_pv_strip_item > span {
    display: block;
    font-size: 10px;
    color: #667085;
    margin-bottom: 7px;
}

.tr_pv_strip_item strong {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.tr_pv_code {
    color: #0d47a1 !important;
    font-family: monospace;
    letter-spacing: .2px;
}

.tr_pv_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 19px;
    padding: 2px 10px;
    border-radius: 14px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.tr_pv_mod_grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.08fr) minmax(320px, 1.08fr) minmax(280px, .95fr);
    gap: 14px;
    align-items: stretch;
}

.tr_pv_mod_card {
    background: #fff;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    padding: 20px 18px 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.tr_pv_mod_card_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.tr_pv_mod_card_head h4 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.tr_pv_mod_card_head span {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 10px;
    border-radius: 14px;
    background: #eef0f2;
    color: #5f6368;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.tr_pv_mod_card_head .tr_pv_mod_pill_blue {
    background: #1565c0;
    color: #fff;
}

.tr_pv_ro_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tr_pv_ro_line {
    display: grid;
    grid-template-columns: minmax(120px, .78fr) minmax(130px, 1.22fr);
    gap: 12px;
    align-items: center;
}

.tr_pv_ro_line label,
.tr_pv_file_label {
    color: #374151;
    font-size: 12px;
    font-weight: 500;
}

.tr_pv_ro_line div {
    min-height: 34px;
    display: flex;
    align-items: center;
    border: 1px solid #e1e5ea;
    border-radius: 6px;
    background: #f8fafc;
    color: #4b5563;
    font-size: 12px;
    padding: 7px 10px;
    word-break: break-word;
}

.tr_pv_form_row {
    margin-bottom: 4px;
}

.tr_pv_file_group {
    clear: both;
    margin-top: 10px;
}

.tr_pv_file_label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

.tr_pv_dropzone {
    position: relative;
    min-height: 82px;
    border: 1px dashed #b9c2cf;
    border-radius: 8px;
    background: #fbfdff;
    overflow: hidden;
    transition: border-color .15s, background .15s;
}

.tr_pv_dropzone:hover {
    border-color: #1565c0;
    background: #f3f8ff;
}

.tr_pv_file_input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.tr_pv_dropzone_inner {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    color: #5f6368;
    text-align: center;
}

.tr_pv_dropzone_inner i {
    color: #607d8b;
    font-size: 28px;
}

.tr_pv_dropzone_inner strong {
    color: #374151;
    font-size: 12px;
    font-weight: 600;
}

.tr_pv_dropzone_inner span {
    color: #7b8794;
    font-size: 11px;
}

.tr_pv_file_current {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 6px 0 0;
    color: #1565c0;
    font-size: 11px;
}

.tr_pv_file_current i {
    font-size: 14px;
}

.tr_pv_summary_card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tr_pv_summary_title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tr_pv_summary_title .tr_pv_summary_icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1565c0;
    line-height: 1;
    overflow: hidden;
    position: relative;
}

.tr_pv_summary_title .tr_pv_summary_icon i {
    display: block;
    font-size: 20px;
    line-height: 1;
    margin: 0;
}

.tr_pv_summary_title h4 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.tr_pv_summary_rows {
    display: flex;
    flex-direction: column;
}

.tr_pv_summary_rows > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 9px 0;
    border-bottom: 1px solid #edf0f3;
    color: #4b5563;
    font-size: 12px;
}

.tr_pv_summary_rows strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.tr_pv_blue {
    color: #0d47a1 !important;
}

.tr_pv_positive {
    color: #148b3d !important;
}

.tr_pv_negative {
    color: #c62828 !important;
}

.tr_pv_inline_icon {
    color: #8a96a3;
    font-size: 15px !important;
    vertical-align: middle;
}

.tr_pv_info_box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: auto;
    border-radius: 6px;
    background: #eaf4ff;
    color: #52616f;
    padding: 14px 16px;
    font-size: 12px;
    line-height: 1.45;
}

.tr_pv_info_box i {
    color: #1565c0;
    font-size: 18px;
}

.tr_pv_actions_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 12px 18px;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    background: #fff;
}

.tr_pv_action_button {
    min-width: 210px;
}

.tr_pv_action_button .col,
.tr_pv_danger_button .col {
    padding: 0;
    width: 100%;
}

.tr_pv_submit_btn {
    width: 100%;
    border-radius: 5px;
    text-transform: none;
    font-weight: 700;
}

.tr_pv_danger_zone {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    background: #fffafa;
}

.tr_pv_danger_zone p {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px;
    color: #c62828;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tr_pv_danger_zone p i {
    font-size: 15px;
}

.tr_pv_danger_button {
    padding-top: 18px;
}

@media (max-width: 1200px) {
    .tr_pv_tarifa_strip {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }
    .tr_pv_mod_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .tr_pv_tarifa_strip {
        grid-template-columns: 1fr;
    }
    .tr_pv_ro_line {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .tr_pv_actions_bar {
        align-items: stretch;
        flex-direction: column;
    }
    .tr_pv_action_button {
        width: 100%;
    }
}

/* ===== Tarifas — postproducción 2026-10-17: modal de modificación (barra fija, panel compacto), modificación masiva, reset ===== */
.tr_mod_barra {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f2f2f2;
    border-bottom: 1px solid #dcdcdc;
    padding: 10px 16px;
    margin: 0 0 12px;
}
.tr_mod_titulo { font-size: 14px; font-weight: 500; color: #212121; margin: 0; }
.tr_mod_sub { font-size: 11px; color: #757575; margin: 2px 0 0; }
.tr_mod_cerrar, .tr_mod_cerrar i { color: #c62828 !important; font-weight: 600; white-space: nowrap; cursor: pointer; }
.tr_mod_cerrar:hover, .tr_mod_cerrar:hover i { color: #8e0000 !important; background-color: rgba(198, 40, 40, .08); }
.tr_mod_nota {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    color: #5d4037;
    background: #fff8e1;
    border: 1px solid #ffe0b2;
    border-radius: 6px;
    padding: 8px 10px;
    margin: 0 0 12px;
}
.tr_mod_nota i { font-size: 16px; color: #f57c00; }
.tr_mod_fila { display: flex; flex-wrap: wrap; margin-bottom: 4px; }
.tr_mod_fila > .col.m4 { float: none; flex: 1 1 150px; width: auto; min-width: 0; }
.tr_mod_fila > .col.m6 { float: none; flex: 1 1 220px; width: auto; min-width: 0; }
.tr_mod_fila > .col.m8 { float: none; flex: 2 1 280px; width: auto; min-width: 0; }
.tr_mod_fila > .col.s12:not(.m4):not(.m6):not(.m8) { float: none; flex: 1 1 100%; }
.tr_mm_card { border-left: 4px solid #1565c0 !important; }
.tr_mm_paso { padding-top: 6px; }
.tr_mm_file { font-size: 12px; color: #424242; margin-top: 12px; max-width: 100%; }
.tr_mm_nota { font-size: 11px; color: #757575; margin: 4px 0 0; }
.tr_reset_zona {
    border: 2px dashed #c62828;
    border-radius: 8px;
    background: #fff5f5;
    padding: 16px;
    margin-bottom: 16px;
}
.tr_reset_titulo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #b71c1c;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 8px;
}
.tr_reset_texto { font-size: 12px; color: #5f2120; margin: 0 0 12px; }
.tr_reset_cuerpo { padding: 0 16px 16px; }
.tr_reset_alerta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #5f2120;
    background: #ffebee;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 0 0 12px;
}
.tr_reset_alerta i { color: #c62828; }
.tr_reset_resumen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 12px; }
.tr_reset_resumen > div { background: #fff; border: 1px solid #f1c9c9; border-radius: 6px; padding: 8px 10px; }
.tr_reset_resumen span { display: block; font-size: 10px; color: #757575; text-transform: uppercase; letter-spacing: .4px; }
.tr_reset_resumen strong { font-size: 15px; color: #212121; }
.tr_reset_ok { color: #2e7d32 !important; }
.tr_reset_no { color: #c62828 !important; }
.tr_reset_msg { font-size: 12px; color: #424242; background: #fff; border-left: 3px solid #f57c00; padding: 8px 10px; margin: 0 0 8px; }
.tr_reset_msg_err { border-left-color: #c62828; color: #b71c1c; }
.tr_reset_accion { padding-top: 26px; }
.tr_reset_zona .btn, .tr_reset_zona .btn i, .tr_reset_btn, .tr_reset_btn i { color: #fff !important; }
.tr_reset_zona .btn:hover, .tr_reset_btn:hover { background-color: #8e1b1b !important; }
.tr_estado_aviso { color: #e65100; }
@media (max-width: 700px) {
    .tr_mod_barra { flex-wrap: wrap; }
    .tr_reset_accion { padding-top: 8px; }
}

/* ===== Tarifas del contrato — pestañas de consulta + Administración (2026-10-17). Solo el contenedor central (tar_contrato_contenido). ===== */
.tr_tabs { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid #e6e9ee; border-radius: 8px; margin: 0 0 14px; overflow: hidden; }
.tr_tab { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; font-size: 13px;
          color: #424242; border-bottom: 3px solid transparent; border-right: 1px solid #eef0f3; white-space: nowrap; text-decoration: none; }
.tr_tab:last-child { border-right: 0; }
.tr_tab:hover { background: #fafafa; color: #212121; }
.tr_tab_activo { border-bottom-color: #1565c0; color: #0d47a1; font-weight: 600; background: #fbfcfe; }
.tr_tab_ico { font-size: 18px; }
.tr_tab_ico_verde { color: #2e7d32; }
.tr_tab_ico_naranja { color: #ef6c00; }
.tr_tab_ico_gris { color: #757575; }
.tr_tab_ico_azul { color: #1565c0; }
.tr_panel { background: #fff; border: 1px solid #e6e9ee; border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; }
.tr_panel_titulo { font-size: 18px; font-weight: 600; color: #1f2937; margin: 0; }
.tr_panel_sub { font-size: 12px; color: #6b7280; margin: 2px 0 14px; }
/* Listado SSP: anchos por columna (13 columnas fijas de tarifa_front_render_thead). Nombre = la más ancha; las cortas, compactas.
   !important porque DataTables (autoWidth) escribe anchos en línea. Los buscadores por columna se ajustan al ancho (pueden recortarse). */
#tb_tarifas_vigentes.tr_tabla_tarifas { table-layout: fixed; width: 100% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th, #tb_tarifas_vigentes.tr_tabla_tarifas td { padding: 6px 5px; vertical-align: middle; overflow-wrap: break-word; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(1)  { width: 7% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(2)  { width: 3.5% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(3)  { width: 25% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(4)  { width: 6% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(5)  { width: 5% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(6)  { width: 8% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(7)  { width: 8% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(8)  { width: 7% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(9)  { width: 7% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(10) { width: 7.5% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(11) { width: 6% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(12) { width: 3.5% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas th:nth-child(13) { width: 6.5% !important; }
#tb_tarifas_vigentes.tr_tabla_tarifas thead input { width: 100% !important; min-width: 0 !important; box-sizing: border-box; padding: 2px 4px; }
/* Administración */
.tr_adm_fila { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.tr_adm_card { background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.tr_adm_unitaria { margin-bottom: 14px; }
.tr_adm_head { display: flex; gap: 12px; align-items: flex-start; }
.tr_adm_head_linea { align-items: center; }
.tr_adm_head_linea > div { flex: 1; }
.tr_adm_ico { font-size: 22px; color: #546e7a; background: #f1f3f6; border-radius: 8px; padding: 8px; }
.tr_adm_titulo { font-size: 15px; font-weight: 600; color: #1f2937; margin: 0; }
.tr_adm_desc { font-size: 12px; color: #6b7280; margin: 2px 0 0; }
.tr_adm_centro { display: flex; justify-content: center; }
.tr_adm .btn.tr_adm_btn { background: #1f3b5f; color: #fff; box-shadow: none; width: 100%; text-transform: none; font-weight: 500; height: 38px; line-height: 38px; }
.tr_adm .btn.tr_adm_btn:hover { background: #163050; }
.tr_adm .btn.tr_adm_btn_auto { width: auto; padding: 0 28px; }
.tr_adm .btn.tr_adm_btn_sec { background: #f5f6f8; color: #1f2937; border: 1px solid #d5d9df; text-transform: none; height: 34px; line-height: 34px; font-weight: 500; }
.tr_adm .btn.tr_adm_btn_sec i { color: #374151; }
.tr_adm .btn.tr_adm_btn_ancho { width: 100%; text-transform: none; }
.tr_adm_file { font-size: 12px; color: #424242; border: 1px solid #d5d9df; border-radius: 4px; padding: 6px; width: 100%; box-sizing: border-box; background: #fff; }
.tr_adm_label { font-size: 12px; font-weight: 600; color: #374151; }
.tr_adm_row { margin: 0 -0.75rem; }
.tr_adm_select { border: 1px solid #d5d9df; border-radius: 4px; height: 36px; padding: 0 8px; background: #fff; width: 100%; }
.tr_adm_exporta { display: flex; gap: 14px; align-items: flex-end; }
.tr_adm_exporta_sel { flex: 1; }
.tr_adm_aviso { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #5d4037; background: #fff8e1; border: 1px solid #ffe0b2; border-radius: 6px; padding: 10px 12px; margin-bottom: 14px; }
.tr_adm_crear { border-top: 1px solid #eceff1; padding-top: 12px; }
.tr_adm .tr_reset_zona { border: 1px solid #f1b5b5; border-left: 4px solid #c62828; background: #fff6f6; padding: 14px 16px; margin-bottom: 0; }
.tr_reset_ico { font-size: 22px; color: #c62828; background: #fde8e8; border-radius: 8px; padding: 8px; }
.tr_reset_campos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 992px) {
    .tr_adm_fila, .tr_reset_campos { grid-template-columns: 1fr; }
    .tr_tab { flex: 1 1 auto; }
}

/* ===== Tiquetes servicios — captura (Sprint 3A visual) ===== */
.tr_pv_tk_layout { display:flex; gap:16px; align-items:flex-start; flex-wrap:wrap; }
.tr_pv_tk_main { flex:1 1 62%; min-width:480px; }
.tr_pv_tk_side { flex:1 1 30%; min-width:280px; display:flex; flex-direction:column; gap:14px; }
.tr_pv_tk_card { background:#fff; border:1px solid #e6e9ee; border-radius:10px; padding:14px 16px; margin-bottom:14px; }
.tr_pv_tk_card_title { display:flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:#37474f; margin:0 0 12px; }
.tr_pv_tk_card_title .material-icons { font-size:18px; color:#546e7a; }
.tr_pv_tk_ctx { display:flex; flex-wrap:wrap; gap:22px 34px; }
.tr_pv_tk_ctx_item { display:flex; flex-direction:column; gap:2px; }
.tr_pv_tk_ctx_lbl { font-size:10px; color:#90a4ae; text-transform:uppercase; letter-spacing:.4px; }
.tr_pv_tk_ctx_val { font-size:13px; color:#263238; font-weight:600; }
.tr_pv_tk_lbl { display:block; font-size:12px; color:#757575; margin-bottom:4px; }
.tr_pv_tk_inp, .tr_pv_tk_sel { border:1px solid #cfd8dc; height:2.5rem; border-radius:8px; padding:0 10px; box-sizing:border-box; width:100%; font-size:13px; background:#fff; }
.tr_pv_tk_ro { border:1px solid #eceff1; height:2.5rem; border-radius:8px; background:#f7f9fb; color:#546e7a; display:flex; align-items:center; padding:0 10px; font-size:13px; }
.tr_pv_tk_actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:4px; }
.tr_pv_tk_btn { display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 18px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; border:1px solid transparent; }
.tr_pv_tk_btn .material-icons { font-size:18px; }
.tr_pv_tk_btn_ghost { background:#fff; border-color:#1565C0; color:#1565C0; }
.tr_pv_tk_btn_primary { background:#2e7d32; color:#fff; }
.tr_pv_tk_btn_dis { background:#eceff1; color:#b0bec5; cursor:not-allowed; border-color:#eceff1; }
/* Resumen en vivo */
.tr_pv_tk_live_row { display:flex; align-items:center; justify-content:space-between; padding:9px 0; border-bottom:1px solid #f0f3f6; }
.tr_pv_tk_live_row:last-child { border-bottom:none; }
.tr_pv_tk_live_lbl { display:flex; align-items:center; gap:7px; font-size:12px; color:#607d8b; }
.tr_pv_tk_live_lbl .material-icons { font-size:16px; color:#90a4ae; }
.tr_pv_tk_live_val { font-size:14px; font-weight:700; color:#263238; }
.tr_pv_tk_live_total { font-size:18px; font-weight:800; color:#1565C0; }
.tr_pv_tk_badge { font-size:10px; font-weight:700; padding:2px 10px; border-radius:12px; color:#fff; }
.tr_pv_tk_badge_ok { background:#2e7d32; }
.tr_pv_tk_badge_warn { background:#f59e0b; }
.tr_pv_tk_badge_crit { background:#c62828; }
.tr_pv_tk_note { background:#eef4ff; border-radius:8px; padding:9px 12px; font-size:11px; color:#34699a; display:flex; gap:6px; align-items:flex-start; margin-top:10px; }
.tr_pv_tk_note .material-icons { font-size:15px; }
/* Anexos */
.tr_pv_tk_drop { border:2px dashed #cfd8dc; border-radius:10px; padding:18px; text-align:center; color:#78909c; background:#fafbfc; }
.tr_pv_tk_drop_over { border-color:#1565C0; background:#e3f2fd; color:#1565C0; }
.tr_pv_tk_file_act { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:6px; cursor:pointer; border:1px solid #e0e0e0; background:#fff; padding:0; }
.tr_pv_tk_file_act .material-icons { font-size:16px; }
.tr_pv_tk_drop .material-icons { font-size:30px; color:#b0bec5; display:block; margin-bottom:6px; }
.tr_pv_tk_file { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 10px; border:1px solid #eceff1; border-radius:8px; margin-top:8px; }
.tr_pv_tk_file_name { display:flex; align-items:center; gap:8px; font-size:12px; color:#37474f; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tr_pv_tk_file_name .material-icons { font-size:16px; color:#607d8b; }
/* Submenú gris — franja ancho completo bajo el tab nav (estilo mockup) */
.tr_pv_tk_submenu { display:flex; gap:0; background:#4a5560; width:100%; overflow:hidden; }
.tr_pv_tk_submenu button { background:transparent; border:none; color:#cfd8dc; font-size:13px; font-weight:500; padding:13px 22px; cursor:pointer; display:flex; align-items:center; justify-content:flex-start; gap:7px; }
.tr_pv_tk_submenu button:hover { background:rgba(255,255,255,.10); color:#fff; }
.tr_pv_tk_submenu button.tr_pv_tk_sub_active { background:rgba(255,255,255,.14); color:#fff; box-shadow:inset 0 -3px 0 #90caf9; }
.tr_reemb_calc { display:flex; align-items:center; justify-content:flex-end; gap:14px; flex-wrap:wrap; padding-top:12px; border-top:1px solid #eef2f5; margin-top:10px; color:#607d8b; font-size:12px; }
.tr_reemb_calc strong { color:#263238; font-size:13px; }
.tr_reemb_table td { vertical-align:top; }
.tr_reemb_del { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border:1px solid #ffcdd2; color:#c62828; border-radius:6px; cursor:pointer; background:#fff5f5; }
.tr_reemb_del .material-icons { font-size:16px; line-height:1; }
@media (max-width:1100px){ .tr_pv_tk_main, .tr_pv_tk_side { flex-basis:100%; min-width:0; } }

/* Preview HTML tiquete servicios/compras */
.tr_pv_tk_prev { background:#fff; color:#263238; padding:18px; font-size:12px; }
.tr_pv_tk_prev_head { display:grid; grid-template-columns:220px 1fr 260px; border:1px solid #b7c4bf; margin-bottom:18px; }
.tr_pv_tk_prev_logo { display:flex; align-items:center; justify-content:center; min-height:84px; color:#00573f; font-size:28px; font-weight:800; letter-spacing:.5px; border-right:1px solid #b7c4bf; }
.tr_pv_tk_prev_title { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:84px; background:#f3f8f5; text-align:center; }
.tr_pv_tk_prev_title h3 { margin:0 0 8px; color:#00573f; font-size:18px; font-weight:800; }
.tr_pv_tk_prev_title p { margin:0; color:#00573f; font-size:14px; font-weight:800; }
.tr_pv_tk_prev_meta { display:grid; grid-template-columns:1fr; border-left:1px solid #b7c4bf; }
.tr_pv_tk_prev_meta span { display:block; background:#eef5f2; color:#546e7a; font-size:9px; font-weight:800; padding:4px 8px 0; text-transform:uppercase; }
.tr_pv_tk_prev_meta strong { display:block; background:#eef5f2; color:#00573f; font-size:13px; font-weight:800; padding:0 8px 5px; border-bottom:1px solid #b7c4bf; }
.tr_pv_tk_prev_meta strong:last-child { border-bottom:none; background:#fff8e1; }
.tr_pv_tk_prev h4 { margin:14px 0 9px; color:#00573f; font-size:17px; font-weight:800; }
.tr_pv_tk_prev_info { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid #b7c4bf; border-left:1px solid #b7c4bf; }
.tr_pv_tk_prev_info div { display:grid; grid-template-columns:108px 1fr; min-height:30px; border-right:1px solid #b7c4bf; border-bottom:1px solid #b7c4bf; }
.tr_pv_tk_prev_info span { background:#f4f7f6; color:#607d8b; font-size:10px; font-weight:800; padding:7px 8px; }
.tr_pv_tk_prev_info strong { color:#263238; font-size:11px; font-weight:700; padding:7px 8px; }
.tr_pv_tk_prev_kpis { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid #b7c4bf; border-left:1px solid #b7c4bf; margin-top:12px; }
.tr_pv_tk_prev_kpis div { text-align:center; border-right:1px solid #b7c4bf; border-bottom:1px solid #b7c4bf; }
.tr_pv_tk_prev_kpis span { display:block; background:#f4f7f6; color:#607d8b; font-size:10px; font-weight:800; padding:7px; text-transform:uppercase; }
.tr_pv_tk_prev_kpis strong { display:block; color:#00573f; font-size:18px; font-weight:800; padding:11px 7px; }
.tr_pv_tk_prev_note { display:grid; grid-template-columns:150px 1fr 150px 1fr; border:1px solid #b7c4bf; border-top:none; margin-bottom:10px; }
.tr_pv_tk_prev_note strong { background:#eaf4ef; color:#00573f; font-size:13px; padding:10px; }
.tr_pv_tk_prev_note span { padding:10px; line-height:1.35; border-left:1px solid #b7c4bf; }
.tr_pv_tk_prev_table { width:100%; border-collapse:collapse; font-size:11px; }
.tr_pv_tk_prev_table th { background:#00573f; color:#fff; font-weight:800; padding:8px; border:1px solid #b7c4bf; }
.tr_pv_tk_prev_table td { padding:7px 8px; border:1px solid #b7c4bf; vertical-align:top; }
.tr_pv_tk_prev_table tbody tr:nth-child(even) { background:#f8faf9; }
.tr_pv_tk_prev_foot { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; padding-top:10px; border-top:1px solid #b7c4bf; color:#546e7a; font-size:11px; }
.tr_pv_tk_prev_logo img { max-width:100%; max-height:72px; }
.tr_pv_tk_prev_totales { margin-top:10px; display:flex; justify-content:flex-end; }
.tr_pv_tk_prev_totales table { border-collapse:collapse; min-width:320px; font-size:12px; }
.tr_pv_tk_prev_totales td { padding:6px 12px; border:1px solid #b7c4bf; }
.tr_pv_tk_prev_totales td.lbl { background:#f4f7f6; color:#546e7a; font-weight:700; text-align:right; }
.tr_pv_tk_prev_totales td.val { text-align:right; color:#263238; white-space:nowrap; }
.tr_pv_tk_prev_totales tr.tot td { background:#eaf4ef; color:#00573f; font-weight:800; font-size:13px; }
@media (max-width:900px) {
    .tr_pv_tk_prev_head, .tr_pv_tk_prev_info, .tr_pv_tk_prev_kpis, .tr_pv_tk_prev_note, .tr_pv_tk_prev_foot { grid-template-columns:1fr; }
    .tr_pv_tk_prev_info div { grid-template-columns:120px 1fr; }
}

/* ===== Inteligencia Contractual — Dashboard ejecutivo (Sprint 4A) =====
   Menú lateral (<button> reseteado contra Materialize) + dashboard.
   CONSOLIDADO: una sola definición por selector rep_con_. */
.rep_con_shell {
    display:flex;
    align-items:stretch;
    gap:0;
    min-height:78vh;
    background:#f4f6f9;
    border:1px solid #e2e8f0;
    border-radius:8px;
    overflow:hidden;
}
.rep_con_sidebar {
    flex:0 0 278px;
    width:278px;
    max-width:278px;
    box-sizing:border-box;
    background:#fff;
    border-right:1px solid #dfe6ee;
    padding:10px 0;
    overflow-x:hidden;
    overflow-y:auto;
}
.rep_con_side_group,
.rep_con_side_item {
    appearance:none;
    -webkit-appearance:none;
    border:0;
    background:transparent;
    font:inherit;
    text-align:left;
}
.rep_con_side_group {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    width:100%;
    box-sizing:border-box;
    cursor:pointer;
    padding:10px 16px;
    color:#78909c;
}
.rep_con_side_group:hover { background:#f7f9fb; color:#455a64; }
.rep_con_side_gtxt {
    flex:1 1 auto;
    min-width:0;
    font-size:10px;
    font-weight:800;
    letter-spacing:.6px;
    line-height:1.3;
    text-transform:uppercase;
}
.rep_con_side_arrow {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    line-height:1;
    font-size:18px;
    color:#b0bec5;
    transition:transform .18s ease;
}
.rep_con_group_open .rep_con_side_arrow { transform:rotate(180deg); }
.rep_con_side_items { display:none; padding:0 8px 6px; margin:0; }
.rep_con_side_items.rep_con_open { display:block; }
.rep_con_side_item {
    display:flex;
    align-items:center;
    width:100%;
    box-sizing:border-box;
    min-height:38px;
    margin:1px 0;
    padding:8px 10px 8px 12px;
    color:#455a64;
    font-size:13px;
    border-left:3px solid transparent;
    border-radius:6px;
    cursor:pointer;
}
.rep_con_side_item:hover { background:#f1f5f9; color:#1565c0; }
.rep_con_side_label {
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    width:100%;
}
.rep_con_side_label .material-icons {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 22px;
    width:22px;
    height:22px;
    line-height:1;
    font-size:18px;
    color:#90a4ae;
}
.rep_con_side_txt {
    min-width:0;
    line-height:1.25;
    white-space:normal;
    overflow-wrap:anywhere;
}
.rep_con_side_active {
    background:#e8f0fe;
    color:#1565c0;
    border-left-color:#1565c0;
    font-weight:700;
}
.rep_con_side_active .rep_con_side_label .material-icons { color:#1565c0; }
.rep_con_main {
    flex:1 1 auto;
    min-width:0;
    padding:18px 22px;
    overflow-x:auto;
}
.rep_con_header {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}
.rep_con_title {
    margin:0;
    color:#263238;
    font-size:22px;
    font-weight:800;
    line-height:1.15;
}
.rep_con_sub { margin:3px 0 0; color:#78909c; font-size:12px; }
.rep_con_header_badge {
    flex:0 0 auto;
    padding:4px 10px;
    border-radius:999px;
    background:#e3f2fd;
    color:#1565c0;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
}
.rep_con_panel { min-height:420px; }
.rep_con_kpis {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
    gap:12px;
    margin-bottom:16px;
}
.rep_con_kpi {
    display:flex;
    align-items:center;
    gap:12px;
    min-height:78px;
    box-sizing:border-box;
    padding:14px;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:8px;
    box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.rep_con_kpi_ic {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 46px;
    width:46px;
    height:46px;
    border-radius:50%;
    overflow:hidden;
}
.rep_con_kpi_ic .material-icons {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:24px;
    line-height:1;
    font-size:23px;
}
.rep_con_kpi_body { min-width:0; }
.rep_con_kpi_num {
    color:#263238;
    font-size:24px;
    font-weight:850;
    line-height:1.08;
    word-break:break-word;
}
.rep_con_kpi_num_sm { font-size:18px; }
.rep_con_kpi_lbl { margin-top:3px; color:#78909c; font-size:11px; line-height:1.25; }
.rep_con_grid2 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-bottom:16px;
}
.rep_con_card {
    box-sizing:border-box;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:8px;
    padding:15px 16px;
    box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.rep_con_card_head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:12px;
}
.rep_con_card_t { color:#37474f; font-size:13px; font-weight:750; line-height:1.3; }
.rep_con_tag {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    padding:3px 9px;
    border-radius:999px;
    font-size:10px;
    font-weight:750;
}
.rep_con_tag_op { background:#eceff1; color:#546e7a; }
.rep_con_tag_of { background:#e8f5e9; color:#2e7d32; }
.rep_con_tag_soon { background:#fff3e0; color:#ef6c00; }
.rep_con_aud {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    padding:4px 10px;
    border-radius:999px;
    font-size:10px;
    font-weight:800;
    letter-spacing:.4px;
    text-transform:uppercase;
}
.rep_con_aud_pres { background:#ede7f6; color:#5e35b1; }
.rep_con_aud_ger { background:#e3f2fd; color:#1565c0; }
.rep_con_aud_oper { background:#e0f2f1; color:#00897b; }
.rep_con_aud_aud { background:#eceff1; color:#546e7a; }
.rep_con_aud_avz { background:#fff3e0; color:#ef6c00; }
.rep_con_ph_desc { margin:0 0 14px; color:#546e7a; font-size:13px; line-height:1.5; }
.rep_con_ph_box {
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px;
    background:#f8fafc;
    border:1px dashed #cbd5e1;
    border-radius:8px;
}
.rep_con_ph_box .material-icons {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#eef2f7;
    color:#78909c;
    font-size:24px;
    line-height:1;
}
.rep_con_ph_box > div { flex:1 1 auto; min-width:0; }
.rep_con_ph_box_t { color:#455a64; font-size:13px; font-weight:750; }
.rep_con_ph_box_s { color:#90a4ae; font-size:12px; line-height:1.35; }
.rep_con_empty { padding:26px; color:#90a4ae; font-size:13px; text-align:center; }
.rep_con_bar_row {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:9px;
}
.rep_con_bar_lbl {
    flex:0 0 38%;
    min-width:0;
    color:#546e7a;
    font-size:12px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.rep_con_bar_track {
    flex:1 1 auto;
    height:14px;
    background:#eef2f7;
    border-radius:999px;
    overflow:hidden;
}
.rep_con_bar_fill { height:100%; min-width:2px; border-radius:999px; }
.rep_con_bar_val {
    flex:0 0 82px;
    color:#37474f;
    font-size:12px;
    font-weight:750;
    text-align:right;
}
.rep_con_alerts { display:flex; flex-wrap:wrap; gap:10px; }
.rep_con_alert {
    display:flex;
    align-items:center;
    gap:8px;
    min-width:210px;
    padding:10px 14px;
    border:1px solid;
    border-radius:8px;
}
.rep_con_alert .material-icons {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
    line-height:1;
    font-size:20px;
}
.rep_con_alert_n { font-size:18px; font-weight:850; }
.rep_con_alert_t { font-size:12px; line-height:1.25; }
.rep_con_alert_crit { background:#ffebee; border-color:#ffcdd2; color:#c62828; }
.rep_con_alert_warn { background:#fff8e1; border-color:#ffe082; color:#ef6c00; }
.rep_con_alert_info { background:#e3f2fd; border-color:#bbdefb; color:#1565c0; }
.rep_con_loading {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:300px;
    color:#607d8b;
    font-size:13px;
}
.rep_con_loading span {
    width:18px;
    height:18px;
    border:3px solid #cfd8dc;
    border-top-color:#1565c0;
    border-radius:50%;
    animation:rep_con_spin .8s linear infinite;
}
.rep_con_loading p { margin:0; }
@keyframes rep_con_spin { to { transform:rotate(360deg); } }
/* Reportes oficiales (Sprint 4B) */
.rep_con_rep_head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:14px; }
.rep_con_rep_head_txt { min-width:0; }
.rep_con_rep_head_txt .rep_con_card_t { font-size:15px; font-weight:750; color:#37474f; margin-right:8px; }
.rep_con_rep_head_txt .rep_con_ph_desc { margin:6px 0 0; }
.rep_con_btn { display:inline-flex; align-items:center; gap:6px; flex:0 0 auto; padding:7px 13px; border:1px solid #cfd8dc; border-radius:8px; background:#fff; color:#546e7a; font-size:12px; font-weight:600; cursor:pointer; }
.rep_con_btn .material-icons { font-size:16px; }
.rep_con_btn:disabled { opacity:.55; cursor:not-allowed; }
.rep_con_filtros { display:flex; flex-wrap:wrap; gap:10px; padding:12px; margin-bottom:12px; background:#f7f9fb; border:1px solid #e6edf3; border-radius:8px; }
.rep_con_f_item { display:flex; flex-direction:column; gap:3px; min-width:150px; }
.rep_con_f_item.rep_con_f_buscar { flex:1 1 220px; }
.rep_con_f_item label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:#90a4ae; }
.rep_con_f { height:34px; box-sizing:border-box; padding:0 9px; border:1px solid #cfd8dc; border-radius:6px; background:#fff; color:#37474f; font-size:13px; }
.rep_con_tabla_wrap { width:100%; overflow-x:auto; border:1px solid #e6edf3; border-radius:8px; }
.rep_con_tabla { width:100%; border-collapse:collapse; font-size:12px; white-space:nowrap; }
.rep_con_tabla thead th { position:sticky; top:0; background:#eef2f7; color:#546e7a; font-weight:700; text-align:left; padding:9px 12px; border-bottom:1px solid #dfe6ee; }
.rep_con_tabla tbody td { padding:8px 12px; border-bottom:1px solid #f0f3f7; color:#37474f; vertical-align:middle; }
.rep_con_tabla tbody tr:hover { background:#f7fafc; }
.rep_con_tabla .rep_con_num { text-align:right; font-variant-numeric:tabular-nums; }
.rep_con_tabla .rep_con_reaj { white-space:normal; min-width:160px; }
.rep_con_badge { display:inline-block; padding:2px 9px; border-radius:999px; color:#fff; font-size:10px; font-weight:700; white-space:nowrap; }
.rep_con_dash { color:#b0bec5; }
.rep_con_ver { display:inline-block; padding:1px 6px; border-radius:6px; background:#eceff1; color:#607d8b; font-size:10px; font-weight:700; }
.rep_con_var_up { color:#c62828; font-weight:700; }
.rep_con_var_down { color:#2e7d32; font-weight:700; }
.rep_con_rep_nota { margin:10px 0 0; color:#90a4ae; font-size:11px; font-style:italic; }
/* rep_con Sprint 4B.1 - cards de reporte, boton mini accion y tabla SSP */
.rep_con_kpis_rep { margin-top:14px; }
.rep_con_btn_mini { display:inline-flex; align-items:center; justify-content:center; width:30px; height:28px; border:1px solid #dfe6ee; border-radius:6px; background:#f7fafc; color:#607d8b; cursor:default; padding:0; }
.rep_con_btn_mini[disabled] { opacity:.55; }
.rep_con_btn_mini .material-icons { font-size:16px; }
.rep_con_tabla_ssp { width:100%; }
/* rep_con Sprint 4B.2 - constructor de reportes (listados) */
.rep_con_cb_paso { margin:14px 0; }
.rep_con_cb_lbl { display:block; font-size:12px; font-weight:700; color:#546e7a; margin-bottom:8px; }
.rep_con_cb_fuente { max-width:360px; height:36px; border:1px solid #dfe6ee; border-radius:6px; padding:0 10px; font-size:13px; background:#fff; }
.rep_con_cb_cols { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:6px 14px; }
.rep_con_cb_chk { display:flex; align-items:center; gap:6px; font-size:12px; color:#37474f; }
/* Forzar checkbox nativo visible (Materialize oculta los [type=checkbox] por defecto) */
.rep_con_cb_chk input[type=checkbox] { position:static; opacity:1; pointer-events:auto; width:15px; height:15px; margin:0; left:auto; }
.rep_con_cb_acc { display:flex; align-items:center; gap:10px; margin:14px 0; flex-wrap:wrap; }
.rep_con_cb_msg { font-size:12px; color:#90a4ae; }

/* mt_ — Modificación tarifaria (dashboard por contrato) */
.mt_wrap { font-size:13px; color:#37474f; }
.mt_head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.mt_title { font-size:18px; font-weight:600; color:#263238; margin:0; display:flex; align-items:center; gap:6px; line-height:1.25; }
.mt_title .material-icons { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; min-width:22px; line-height:1; vertical-align:middle; }
.mt_sub { font-size:12px; color:#90a4ae; margin:2px 0 0; }
.mt_moneda { display:flex; align-items:center; gap:6px; font-size:12px; color:#546e7a; }
.mt_moneda_b { border:1px solid #cfd8dc; background:#fff; color:#546e7a; border-radius:16px; padding:3px 12px; font-size:12px; font-weight:600; cursor:pointer; }
.mt_moneda_on { background:#1565c0; color:#fff; border-color:#1565c0; }
.mt_tabs { display:flex; gap:6px; flex-wrap:wrap; border-bottom:1px solid #e6edf3; margin-bottom:14px; }
.mt_tab { display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; color:#607d8b; font-size:12px; font-weight:600; cursor:pointer; padding:8px 12px; border-bottom:2px solid transparent; }
.mt_tab i { font-size:16px; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; min-width:18px; line-height:1; vertical-align:middle; }
.mt_tab_on { color:#1565c0; border-bottom-color:#1565c0; }
.mt_kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:10px; margin-bottom:14px; }
.mt_kpi { display:flex; align-items:center; gap:12px; min-width:0; background:#fff; border:1px solid #e6edf3; border-radius:8px; padding:10px 12px; }
.mt_kpi_ic { flex:0 0 38px; width:38px; min-width:38px; max-width:38px; height:38px; min-height:38px; border-radius:8px; display:flex; align-items:center; justify-content:center; padding:0; line-height:1; overflow:hidden; box-sizing:border-box; }
.mt_kpi_ic i { font-size:20px; display:flex; align-items:center; justify-content:center; width:100%; height:100%; line-height:1; margin:0; padding:0; overflow:hidden; white-space:nowrap; vertical-align:middle; letter-spacing:normal; text-transform:none; -webkit-font-feature-settings:'liga'; font-feature-settings:'liga'; }
.mt_kpi_body { flex:1 1 auto; min-width:0; line-height:1.2; }
.mt_kpis .mt_kpi:nth-child(3) .mt_kpi_ic i,
.mt_kpis .mt_kpi:nth-child(7) .mt_kpi_ic i { font-size:0; }
.mt_kpis .mt_kpi:nth-child(3) .mt_kpi_ic i:before { content:"check_circle"; }
.mt_kpis .mt_kpi:nth-child(7) .mt_kpi_ic i:before { content:"show_chart"; }
.mt_kpis .mt_kpi:nth-child(3) .mt_kpi_ic i:before,
.mt_kpis .mt_kpi:nth-child(7) .mt_kpi_ic i:before { display:flex; align-items:center; justify-content:center; width:22px; height:22px; font-family:'Material Icons'; font-size:20px; line-height:1; }
.mt_kpis .mt_kpi:nth-child(5) .mt_kpi_ic i { font-size:0; }
.mt_kpis .mt_kpi:nth-child(5) .mt_kpi_ic i:before { content:"edit"; display:flex; align-items:center; justify-content:center; width:22px; height:22px; font-family:'Material Icons'; font-size:20px; line-height:1; }
.mt_kpi_num { font-size:17px; font-weight:700; color:#263238; line-height:1.1; }
.mt_kpi_lbl { font-size:11px; color:#607d8b; line-height:1.2; margin-top:2px; }
.mt_kpi_sub { font-size:10px; color:#b0bec5; line-height:1.2; margin-top:1px; }
.mt_grid2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:12px; margin-bottom:14px; }
.mt_card { background:#fff; border:1px solid #e6edf3; border-radius:8px; padding:14px; }
.mt_card_t { font-size:13px; font-weight:700; color:#37474f; margin:0 0 10px; }
.mt_bar_row { display:flex; align-items:center; gap:8px; margin-bottom:7px; }
.mt_bar_lbl { width:38%; font-size:11px; color:#546e7a; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mt_bar_track { flex:1; height:9px; background:#eceff1; border-radius:6px; overflow:hidden; }
.mt_bar_fill { height:100%; border-radius:6px; }
.mt_bar_val { width:120px; text-align:right; font-size:11px; font-variant-numeric:tabular-nums; color:#37474f; }
.mt_nota { font-size:11px; color:#90a4ae; margin:8px 0 0; }
.mt_tabla { width:100%; border-collapse:collapse; font-size:12px; }
.mt_tabla thead th { background:#eef2f7; color:#546e7a; font-weight:700; text-align:left; padding:7px 9px; border-bottom:1px solid #dfe6ee; white-space:nowrap; }
.mt_tabla tbody td { padding:6px 9px; border-bottom:1px solid #f0f3f7; vertical-align:middle; }
.mt_tabla tbody tr:hover { background:#f7fafc; }
.mt_vacio { padding:18px; text-align:center; color:#90a4ae; font-size:12px; }
.mt_hz { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:10px; margin-bottom:6px; }
.mt_hz_card { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #e6edf3; border-radius:8px; padding:10px 12px; }
.mt_hz_card i { font-size:22px; display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; min-width:26px; line-height:1; margin:0; vertical-align:middle; }
.mt_hz_card > div { min-width:0; line-height:1.2; }
.mt_hz_card b { display:block; font-size:11px; color:#607d8b; font-weight:600; line-height:1.2; }
.mt_hz_card span { display:block; font-size:13px; font-weight:700; color:#263238; line-height:1.2; margin-top:2px; }
.mt_traza { margin-bottom:14px; }
.mt_traza_h { font-size:12px; font-weight:700; color:#37474f; margin-bottom:6px; display:flex; align-items:center; gap:6px; }
.mt_traza_h i { font-size:16px; color:#5e35b1; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; min-width:18px; line-height:1; vertical-align:middle; }
.mt_traza_h span { color:#90a4ae; font-weight:400; }

/* tarifas cabecera contractual */
.tar_cabecera_grid {
    display:flex;
    align-items:flex-start;
    align-content:flex-start;
    flex-wrap:wrap;
    margin:0 -0.75rem;
    overflow-x:hidden;
}
.tar_contrato_form_unificado {
    margin-bottom:8px;
}
.tar_cabecera_grid > .col {
    float:none !important;
    min-height:0;
    box-sizing:border-box;
    margin-bottom:6px;
}
.tar_cabecera_titulo {
    margin-bottom:2px !important;
}
.tar_cabecera_titulo p {
    margin:0 0 4px !important;
}
.tar_cabecera_grid label {
    display:block;
    min-height:17px;
    line-height:1.25;
}
.tar_cabecera_grid input,
.tar_cabecera_grid select,
.tar_cabecera_grid textarea {
    box-sizing:border-box;
    max-width:100%;
    margin-bottom:4px;
}
.tar_cabecera_usuario select,
.tar_cabecera_usuario .select-wrapper,
.tar_cabecera_usuario .select-wrapper input.select-dropdown,
.tar_cabecera_usuario .select2-container {
    width:100% !important;
}
.tar_cabecera_proveedor,
.tar_cabecera_readonly,
.tar_cabecera_basico,
.tar_cabecera_fecha,
.tar_cabecera_objeto,
.tar_moneda_tipo,
.tar_moneda_trm,
.tar_moneda_valor {
    min-width:0;
}
.tar_moneda_inactiva label {
    color:#90a4ae !important;
}
.tar_moneda_inactiva input {
    background:#f5f7f8 !important;
    border-bottom-color:#cfd8dc !important;
    color:#90a4ae !important;
    cursor:not-allowed;
}
.tar_aiu_head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:10px;
}
.tar_aiu_col {
    width:100%;
    margin-top:4px;
}
.tar_aiu_col .card-panel {
    margin:0;
    box-sizing:border-box;
}
.tar_aiu_toggle {
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    max-width:100%;
}
.tar_aiu_toggle .col {
    width:auto;
    min-width:68px;
    padding-left:0;
    padding-right:10px;
}
.tar_aiu_campos {
    display:flex;
    align-items:flex-start;
    flex-wrap:wrap;
    margin:0 -0.75rem;
    overflow-x:hidden;
}
.tar_aiu_campos > .col {
    float:none !important;
    min-height:0;
    box-sizing:border-box;
    margin-bottom:0;
}
.tar_aiu_campos input {
    box-sizing:border-box;
    max-width:100%;
}
@media (max-width:600px) {
    .tar_cabecera_grid > .col,
    .tar_aiu_campos > .col {
        min-height:0;
    }
    .tar_aiu_head {
        align-items:flex-start;
        flex-direction:column;
    }
}
@media (max-width:1000px) {
    .rep_con_shell { flex-direction:column; }
    .rep_con_sidebar {
        flex:0 0 auto;
        width:100%;
        max-width:none;
        max-height:330px;
        border-right:0;
        border-bottom:1px solid #dfe6ee;
    }
    .rep_con_main { padding:16px; }
    .rep_con_grid2 { grid-template-columns:1fr; }
    .rep_con_bar_row { align-items:flex-start; flex-direction:column; }
    .rep_con_bar_lbl,
    .rep_con_bar_track,
    .rep_con_bar_val { flex:auto; width:100%; text-align:left; }
}

/* ══════════════════════════════════════════════════════════════════
   INBOX GENERAL — prefijo inbx_
   Sin selectores globales. Se integra al Materialize/SAE existente.
   ══════════════════════════════════════════════════════════════════ */
.inbx_wrap { padding: 4px 2px 18px; }

.inbx_head { display:flex; align-items:center; gap:14px; padding:14px 18px; margin-bottom:16px;
             background:#fff; border:1px solid #e0e0e0; border-radius:10px; }
.inbx_head_ico { width:44px; height:44px; border-radius:10px; background:#1565C0; color:#fff;
                 display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.inbx_head_ico i { font-size:24px; }
.inbx_head_txt { flex:1 1 auto; min-width:0; }
.inbx_head_txt h4 { margin:0; font-size:20px; font-weight:600; color:#263238; letter-spacing:.5px; line-height:1.2; }
.inbx_head_txt p  { margin:2px 0 0; font-size:12px; color:#90a4ae; }
.inbx_head_meta { font-size:11px; color:#b0bec5; white-space:nowrap; }

.inbx_cards { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:18px; }
.inbx_card { flex:1 1 210px; min-width:200px; display:flex; align-items:center; gap:12px;
             background:#fff; border:1px solid #e0e0e0; border-radius:10px; padding:14px 16px;
             cursor:pointer; transition:box-shadow .18s, transform .18s; }
.inbx_card:hover { box-shadow:0 3px 12px rgba(38,50,56,.13); transform:translateY(-1px); }
.inbx_card_total { cursor:default; }
.inbx_card_total:hover { box-shadow:none; transform:none; }
.inbx_card_ico { width:46px; height:46px; border-radius:50%; color:#fff; flex:0 0 auto;
                 display:flex; align-items:center; justify-content:center; }
.inbx_card_ico i { font-size:23px; }
.inbx_card_body { display:flex; flex-direction:column; min-width:0; }
.inbx_card_lbl { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.5px;
                 white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.inbx_card_num { font-size:30px; font-weight:600; color:#263238; line-height:1.1; }
.inbx_card_sub { font-size:11px; color:#90a4ae; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.inbx_tabs { display:flex; flex-wrap:wrap; gap:2px; border-bottom:1px solid #e0e0e0; margin-bottom:0; }
.inbx_tab { display:inline-flex; align-items:center; gap:6px; padding:11px 18px;
            font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.4px;
            color:#90a4ae; text-decoration:none; border-bottom:3px solid transparent; }
.inbx_tab i { font-size:17px; }
.inbx_tab:hover { color:#546e7a; }
.inbx_tab_on { color:#1565C0; border-bottom-color:#1565C0; }

.inbx_panel { background:#fff; border:1px solid #e0e0e0; border-top:none;
              border-radius:0 0 10px 10px; padding:16px; }
.inbx_panel_tit { font-size:12px; font-weight:600; color:#546e7a; text-transform:uppercase;
                  letter-spacing:.5px; margin:0 0 12px; }
.inbx_panel .inbx_tabla { font-size:12px; width:100%; }
.inbx_panel .inbx_tabla th { font-size:11px; color:#546e7a; }

.inbx_chip { display:inline-block; font-size:10px; font-weight:600; padding:2px 8px;
             border-radius:12px; color:#fff; white-space:nowrap; }
.inbx_cod  { font-family:monospace; font-size:11px; background:#f5f5f5;
             padding:2px 6px; border-radius:4px; white-space:nowrap; }
.inbx_val  { display:block; text-align:right; font-weight:600; white-space:nowrap; }
.inbx_btn  { font-size:11px; color:#1565C0; border:1px solid #1565C0; border-radius:4px;
             padding:2px 8px; text-decoration:none; white-space:nowrap; }
.inbx_btn i { font-size:13px; vertical-align:middle; }
.inbx_obj  { display:block; max-width:420px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

@media (max-width: 700px) {
    .inbx_head { flex-wrap:wrap; }
    .inbx_head_meta { width:100%; }
    .inbx_card { flex:1 1 100%; }
    .inbx_obj { max-width:200px; }
}

/* usuarios contractuales (admin/01-02_usuario_contrato) */
.usc_barra       { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:12px 0; }
.usc_nota        { font-size:12px; color:#757575; margin:4px 0 10px; }
.usc_tabla       { width:100%; font-size:12px; }
.usc_si          { color:#2E7D32; font-size:18px; vertical-align:middle; }
.usc_btn_accion  { font-size:11px; padding:0 8px; height:28px; line-height:28px; }
.usc_btn_accion i { font-size:16px; vertical-align:middle; }
.usc_subtitulo   { margin-top:8px; }
.usc_perfiles    { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:10px 18px; padding:6px 0 12px; }
.usc_perfil_item { padding:6px 10px; border:1px solid #e0e0e0; border-radius:6px; background:#fafafa; }
/* MACRO 2.5: cerrar / cancelar del modal de usuario */
.usc_cabecera_modal { position:relative; padding-right:44px; }
.usc_cerrar        { position:absolute; top:4px; right:8px; color:#616161; line-height:1; }
.usc_cerrar:hover  { color:#c62828; }
.usc_cerrar i      { font-size:26px; }
.usc_cancelar      { margin-top:6px; color:#616161; }
/* MACRO 3: delegaciones contractuales */
.del_tabs          { display:flex; gap:6px; flex-wrap:wrap; margin:6px 0 12px; border-bottom:1px solid #e0e0e0; }
.del_tab           { padding:8px 14px; color:#546e7a; border-bottom:3px solid transparent; font-size:13px; }
.del_tab_activa    { color:#1565c0; border-bottom-color:#1565c0; font-weight:500; }
.del_estado        { display:inline-block; padding:2px 8px; border-radius:12px; font-size:11px; color:#fff; background:#9e9e9e; }
.del_estado_vigente    { background:#2e7d32; }
.del_estado_programada { background:#1565c0; }
.del_estado_vencida    { background:#757575; }
.del_estado_revocada   { background:#c62828; }
.eqc_del_cabecera  { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:18px; }
.eqc_del_link      { font-size:12px; }

/* equipo del contrato (contratos/29_equipo_contrato) */
.eqc_titulo      { margin-bottom:12px; }
.eqc_subtitulo   { font-size:12px; font-weight:600; color:#424242; text-transform:uppercase; letter-spacing:.5px; margin:16px 0 8px; }
.eqc_titulares   { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:10px; }
.eqc_titular     { border:1px solid #e0e0e0; border-radius:8px; padding:10px 12px; background:#fafafa; }
.eqc_rol         { display:block; font-size:10px; color:#9e9e9e; text-transform:uppercase; letter-spacing:.4px; }
.eqc_nombre      { display:block; font-size:13px; color:#212121; margin-top:2px; }
.eqc_agregar     { align-items:flex-end; }
.eqc_boton       { padding-top:22px; }
.eqc_tabla       { width:100%; font-size:12px; }
.eqc_inactivo td { color:#9e9e9e; }
.eqc_btn_retirar { color:#c62828; font-size:11px; padding:0 6px; }

/* tiquetes: responsable tecnico del servicio (funciones_frontend/tiquete_front.php) */
.tiq_resp_oblig { color:#c62828; }
.tiq_resp_aviso { font-size:11px; color:#c62828; margin:4px 0 0; }

/* ─── TIEMPOS DE APROBACIÓN DE TIQUETES (Inteligencia) — prefijo rep_tiem_ ─── */
.rep_tiem_h3 { font-size:14px; font-weight:700; color:#263238; margin:14px 0 6px; }
.rep_tiem_vs { font-size:11px; font-weight:400; color:#90a4ae; }
.rep_tiem_cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px; margin:8px 0 12px; }
.rep_tiem_cards_sm { grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); }
.rep_tiem_card { background:#fff; border:1px solid #e2e8f0; border-top:3px solid #607d8b; border-radius:8px; padding:10px 12px; }
.rep_tiem_card_lbl { font-size:10px; font-weight:700; color:#607d8b; text-transform:uppercase; letter-spacing:.3px; line-height:1.3; }
.rep_tiem_card_val { font-size:21px; font-weight:700; color:#263238; margin:4px 0 2px; line-height:1.2; }
.rep_tiem_val_sm { font-size:14px; }
.rep_tiem_card_sub { font-size:11px; color:#78909c; line-height:1.4; }
.rep_tiem_delta_ok { color:#2e7d32; font-weight:700; }
.rep_tiem_delta_mal { color:#c62828; font-weight:700; }
.rep_tiem_delta_nd { color:#90a4ae; }
.rep_tiem_aviso { background:#fff8e1; border-left:4px solid #f9a825; border-radius:4px; padding:8px 12px; margin:8px 0; font-size:12px; color:#5d4037; line-height:1.5; }
.rep_tiem_grid2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:12px; }
.rep_tiem_box { background:#fff; border:1px solid #e2e8f0; border-radius:8px; padding:12px; min-width:0; }
.rep_tiem_box h4 { font-size:13px; font-weight:700; color:#37474f; margin:0 0 8px; }
.rep_tiem_mt { margin-top:12px; }
.rep_tiem_stack { display:flex; height:34px; border-radius:6px; overflow:hidden; margin:8px 0; background:#eceff1; }
.rep_tiem_stack div { display:flex; align-items:center; justify-content:center; color:#fff; font-size:11px; font-weight:700; white-space:nowrap; overflow:hidden; }
.rep_tiem_prov { background:#8d6e63; }
.rep_tiem_tec { background:#f57f17; }
.rep_tiem_adm { background:#5e35b1; }
.rep_tiem_leyenda span { display:inline-flex; align-items:center; gap:5px; margin-right:14px; font-size:12px; color:#455a64; }
.rep_tiem_dot { display:inline-block; width:10px; height:10px; border-radius:2px; }
.rep_tiem_minibar { position:relative; height:18px; background:#eceff1; border-radius:4px; min-width:120px; }
.rep_tiem_minibar div { height:100%; border-radius:4px; opacity:.85; }
.rep_tiem_minibar span { position:absolute; left:6px; top:0; line-height:18px; font-size:11px; font-weight:700; color:#263238; }
.rep_tiem_badge { display:inline-block; background:#eceff1; color:#607d8b; font-size:10px; padding:1px 6px; border-radius:10px; margin-left:4px; }
.rep_tiem_imprecisa td { color:#90a4ae; }
.rep_tiem_tl { list-style:none; margin:12px 0 0; padding:0; }
.rep_tiem_tl li { border-left:3px solid #cfd8dc; margin-left:8px; padding:6px 12px; font-size:12px; color:#37474f; }
.rep_tiem_tl_ev { background:#fafafa; }
.rep_tiem_tl_prov { border-left-color:#8d6e63 !important; background:#efebe9; }
.rep_tiem_tl_tec { border-left-color:#f57f17 !important; background:#fff3e0; }
.rep_tiem_tl_adm { border-left-color:#5e35b1 !important; background:#ede7f6; }
.rep_tiem_tl_fecha { font-family:monospace; color:#546e7a; }
.rep_tiem_tl_v { background:#e3f2fd; color:#1565c0; border-radius:8px; padding:0 6px; font-size:10px; font-weight:700; }
.rep_tiem_tl_nota { color:#8d6e63; font-size:11px; margin-left:14px; }

/* ─── TIEMPOS DE APROBACIÓN V2 (gerencial): color por categoría, sin semáforo de cumplimiento ─── */
.rep_tiem_resumen { background:#f4f7fb; border-left:4px solid #1565c0; border-radius:4px; padding:10px 14px; margin:10px 0 4px; font-size:14px; line-height:1.5; color:#263238; }
.rep_tiem_vacio { background:#fafafa; border:1px dashed #cfd8dc; border-radius:8px; padding:14px; font-size:13px; color:#546e7a; margin:8px 0; }
.rep_tiem_nota { font-size:11px; color:#78909c; margin:4px 0 0; display:flex; align-items:center; gap:4px; }
.rep_tiem_nota .material-icons { font-size:14px; }
.rep_tiem_pill { display:inline-block; background:#eceff1; color:#607d8b; font-size:10px; padding:1px 8px; border-radius:10px; margin-left:6px; }
.rep_tiem_c_total { border-top-color:#455a64; }
.rep_tiem_c_prov { border-top-color:#8d6e63; }
.rep_tiem_c_fv { border-top-color:#00838f; }
.rep_tiem_c_tec { border-top-color:#f57f17; }
.rep_tiem_c_adm { border-top-color:#5e35b1; }
.rep_tiem_c_sae { border-top-color:#1565c0; }
.rep_tiem_c_pp { border-top-color:#00897b; }
.rep_tiem_fv { background:#00838f; }
.rep_tiem_sae { background:#1565c0; }
.rep_tiem_prov_t { background:#5d4037; }
.rep_tiem_lin { display:flex; align-items:center; gap:8px; margin:6px 0; font-size:12px; color:#37474f; }
.rep_tiem_lin_l { flex:0 0 120px; }
.rep_tiem_lin_b { flex:1 1 auto; height:12px; background:#eceff1; border-radius:6px; overflow:hidden; }
.rep_tiem_lin_b i { display:block; height:100%; border-radius:6px; }
.rep_tiem_lin_v { flex:0 0 90px; text-align:right; }
.rep_tiem_reloj { display:inline-block; font-size:11px; font-weight:700; padding:1px 8px; border-radius:10px; border:1px solid #cfd8dc; border-left-width:4px; white-space:nowrap; }
.rep_tiem_reloj.rep_tiem_c_prov { border-left-color:#8d6e63; }
.rep_tiem_reloj.rep_tiem_c_fv { border-left-color:#00838f; }
.rep_tiem_reloj.rep_tiem_c_tec { border-left-color:#f57f17; }
.rep_tiem_reloj.rep_tiem_c_adm { border-left-color:#5e35b1; }
.rep_tiem_contrato { background:#fff; border:1px solid #e2e8f0; border-radius:8px; padding:8px 12px; margin:8px 0; font-size:12px; color:#37474f; }
.rep_tiem_link { color:#1565c0; cursor:pointer; }
.rep_tiem_mas { display:inline-flex; align-items:center; gap:4px; font-size:12px; color:#1565c0; margin:0 0 6px; cursor:pointer; }
.rep_tiem_mas .material-icons { font-size:15px; }
.rep_tiem_ac { position:relative; }
.rep_tiem_ac_x { position:absolute; right:14px; top:30px; color:#90a4ae; }
.rep_tiem_ac_x .material-icons { font-size:16px; }
.rep_tiem_ac_lista { display:none; position:absolute; z-index:50; left:10px; right:10px; top:66px; background:#fff; border:1px solid #cfd8dc; border-radius:6px; box-shadow:0 4px 12px rgba(0,0,0,.12); max-height:260px; overflow-y:auto; }
.rep_tiem_ac_item { display:block; padding:6px 10px; font-size:12px; color:#263238; border-bottom:1px solid #f1f5f9; }
.rep_tiem_ac_item:hover { background:#e3f2fd; }
.rep_tiem_ac_msg { display:block; padding:6px 10px; font-size:11px; color:#90a4ae; }
.rep_tiem_pqr { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px; }
.rep_tiem_pqr_c { border:1px solid #e2e8f0; border-top:3px solid #607d8b; border-radius:8px; padding:8px 10px; }
.rep_tiem_pqr_c span { display:block; font-size:10px; font-weight:700; color:#607d8b; text-transform:uppercase; }
.rep_tiem_pqr_c strong { display:block; font-size:18px; color:#263238; margin:2px 0; }
.rep_tiem_pqr_c small { display:block; font-size:11px; color:#78909c; line-height:1.4; }
.rep_tiem_tl_fv { border-left-color:#00838f !important; background:#e0f7fa; }
/* TIEMPOS V2 revisión visual: filtros alineados, tablas sin corte horizontal */
.rep_tiem_filtros { margin-bottom:4px; }
.rep_tiem_filtros label { display:block; margin-bottom:2px; }
.rep_tiem_filtros input[type=text] { width:100%; box-sizing:border-box; padding:0 8px; font-size:13px; }
.rep_tiem_filtros .rep_tiem_ac > .col { float:none; width:100%; padding:0; }
.rep_tiem_filtros .rep_tiem_ac input[type=text] { padding-right:28px; }
.rep_tiem_filtros button.btn { margin-top:22px; width:100%; }
.rep_tiem_filtros .rep_tiem_ac_x { right:16px; top:32px; }
.rep_tiem_filtros .rep_tiem_ac_lista { left:.75rem; right:.75rem; top:62px; }
.rep_tiem_box .rep_con_tabla { white-space:normal; }
.rep_tiem_box .rep_con_tabla thead th { white-space:nowrap; }
.rep_tiem_box .rep_con_tabla td.rep_con_num { white-space:nowrap; }
.rep_tiem_box .rep_con_tabla td:first-child { white-space:nowrap; }
.rep_tiem_box .rep_con_tabla thead th, .rep_tiem_box .rep_con_tabla tbody td { padding-left:8px; padding-right:8px; }
.rep_tiem_box .rep_con_tabla thead th { white-space:normal; vertical-align:bottom; }

/* ─── HOME / INBOX DEL PROVEEDOR PAREX (inbox_proveedor_parex_home.php) — liviano, sin imágenes ─── */
.pvh { width:99%; margin:0 auto; padding:16px 0 24px; box-sizing:border-box; }
.pvh *, .pvh *:before, .pvh *:after { box-sizing:border-box; }
.pvh_kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; margin-bottom:16px; }
.pvh_kpi { display:flex; align-items:center; gap:14px; background:#fff; border:1px solid #e3eaf3; border-radius:10px; padding:14px 16px; box-shadow:0 1px 3px rgba(16,42,77,.05); }
.pvh_kpi_ico { flex:0 0 56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center; }
.pvh_kpi_ico .material-icons { font-size:30px; width:30px; overflow:hidden; }
.pvh_c_proc { background:#e3f0fd; color:#1565c0; }
.pvh_c_cont { background:#e5f4ea; color:#2e7d32; }
.pvh_c_fact { background:#fff4dc; color:#b26a00; }
.pvh_kpi_txt { display:flex; flex-direction:column; min-width:0; }
.pvh_kpi_t { font-size:15px; font-weight:700; color:#263238; }
.pvh_kpi_s { font-size:12px; color:#78909c; }
.pvh_kpi_v { font-size:30px; font-weight:700; color:#0d2a4d; line-height:1.2; margin:2px 0; }
.pvh_link { display:inline-flex; align-items:center; gap:4px; font-size:14px; color:#1565c0; cursor:pointer; white-space:nowrap; }
.pvh_link .material-icons { font-size:16px; width:16px; overflow:hidden; }
.pvh_grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.pvh_box { background:#fff; border:1px solid #e3eaf3; border-radius:10px; padding:14px 16px; box-shadow:0 1px 3px rgba(16,42,77,.05); min-width:0; }
.pvh_box_head { display:flex; align-items:center; gap:10px; }
.pvh_box_head h5 { flex:1 1 auto; font-size:19px; font-weight:700; color:#0d2a4d; margin:0; line-height:1.3; }
.pvh_box_ico { flex:0 0 38px; height:38px; border-radius:8px; background:#e3f0fd; color:#1565c0; display:flex; align-items:center; justify-content:center; }
.pvh_box_desc { font-size:14px; color:#607d8b; margin:8px 0 12px; line-height:1.5; }
.pvh_tabla { width:100%; border-collapse:collapse; font-size:14px; }
.pvh_tabla thead th { background:#eef3f9; color:#37474f; font-weight:700; text-align:left; padding:10px 10px; border-bottom:1px solid #dfe7f0; }
.pvh_tabla tbody td { padding:10px 10px; border-bottom:1px solid #f0f3f7; color:#37474f; vertical-align:middle; }
.pvh_tabla tbody tr:hover { background:#f8fafd; }
.pvh_ref { color:#1565c0; font-weight:700; white-space:nowrap; }
.pvh_desc { line-height:1.4; }
.pvh_nw { white-space:nowrap; }
.pvh_nw small { display:block; color:#90a4ae; }
.pvh_badge { display:inline-block; font-size:12px; font-weight:600; padding:3px 10px; border-radius:12px; white-space:nowrap; }
.pvh_b_ok { background:#e5f4ea; color:#2e7d32; }
.pvh_b_fact { background:#fff4dc; color:#8a5300; }
.pvh_b_info { background:#e3f0fd; color:#1565c0; }
.pvh_si { display:inline-flex; align-items:center; gap:3px; color:#2e7d32; font-weight:600; white-space:nowrap; }
.pvh_si .material-icons { font-size:16px; }
.pvh_no { color:#90a4ae; }
.pvh_no .material-icons { font-size:18px; }
.pvh_btn { display:inline-flex; align-items:center; gap:5px; border:1px solid #cfd8dc; border-radius:6px; padding:4px 10px; font-size:12px; color:#263238; background:#fff; white-space:nowrap; cursor:pointer; }
.pvh_btn:hover { background:#e3f0fd; border-color:#90caf9; }
.pvh_btn .material-icons { font-size:16px; width:16px; overflow:hidden; }
.pvh_btn_ico { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border:1px solid #cfd8dc; border-radius:8px; color:#37474f; background:#fff; cursor:pointer; }
.pvh_btn_ico:hover { background:#e3f0fd; border-color:#90caf9; color:#1565c0; }
.pvh_btn_ico .material-icons { font-size:19px; width:19px; overflow:hidden; }
.pvh_tabla th:last-child, .pvh_tabla td:last-child { width:1%; text-align:center; }
.pvh_vacio { background:#fafbfc; border:1px dashed #cfd8dc; border-radius:8px; padding:18px; text-align:center; font-size:14px; color:#607d8b; }
.pvh_mas { font-size:12px; color:#78909c; margin:8px 0 0; }
@media (max-width:1200px) { .pvh_grid { grid-template-columns:minmax(0,1fr); } }
@media (max-width:700px) {
  .pvh { width:auto; padding:12px 16px 20px; }
  .pvh_box_head { flex-wrap:wrap; }
  .pvh_tabla thead { display:none; }
  .pvh_tabla, .pvh_tabla tbody, .pvh_tabla tr, .pvh_tabla td { display:block; width:100%; }
  .pvh_tabla tbody tr { border:1px solid #e3eaf3; border-radius:8px; margin-bottom:10px; padding:4px 0; }
  .pvh_tabla th:last-child, .pvh_tabla td:last-child { width:100%; }
  .pvh_tabla tbody td { display:flex; justify-content:space-between; gap:10px; border-bottom:none; padding:5px 10px; text-align:right; }
  .pvh_tabla tbody td:before { content:attr(data-l); font-weight:700; color:#607d8b; text-align:left; flex:0 0 40%; }
  .pvh_nw, .pvh_ref { white-space:normal; }
  .pvh_nw small { display:inline; margin-left:4px; }
}

/* ─── DASHBOARD DEL CONTRATO — PROVEEDOR PAREX (01_principal.php): acción + estado, sin KPI de relleno ─── */
.pvd_head { display:flex; align-items:center; gap:18px; flex-wrap:wrap; background:#fff; border-bottom:1px solid #e3eaf3; padding:10px 16px; }
.pvd_head_main { flex:1 1 380px; min-width:0; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.pvd_head_lbl { font-size:12px; color:#78909c; }
.pvd_sap { font-size:20px; font-weight:700; color:#1565c0; }
.pvd_head_alc { font-size:13px; color:#546e7a; flex:1 1 260px; min-width:0; line-height:1.4; }
.pvd_head_dato { display:flex; flex-direction:column; font-size:12px; color:#78909c; }
.pvd_head_dato strong { font-size:14px; color:#263238; font-weight:600; }
.pvd { width:99%; margin:0 auto; padding:14px 0 24px; box-sizing:border-box; }
.pvd *, .pvd *:before, .pvd *:after { box-sizing:border-box; }
.pvd_h { font-size:19px; font-weight:700; color:#0d2a4d; margin:4px 0 12px; }
.pvd_cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:14px; }
.pvd_card { background:#fff; border:1px solid #e3eaf3; border-left:5px solid #cfd8dc; border-radius:10px; padding:14px 16px; display:flex; flex-direction:column; gap:4px; }
.pvd_card_click { cursor:pointer; box-shadow:0 1px 3px rgba(16,42,77,.06); }
.pvd_card_click:hover, .pvd_card_on { box-shadow:0 3px 10px rgba(16,42,77,.14); }
.pvd_card_on { outline:2px solid #90caf9; }
.pvd_card_cero { opacity:.6; }
.pvd_card_top { display:flex; align-items:center; justify-content:space-between; }
.pvd_card_top .material-icons { font-size:26px; width:26px; overflow:hidden; color:#90a4ae; }
.pvd_card_top strong { font-size:34px; line-height:1; color:#263238; }
.pvd_card_t { font-size:15px; font-weight:700; color:#263238; }
.pvd_card_s { font-size:12px; color:#78909c; }
.pvd_card_a { display:inline-flex; align-items:center; gap:4px; font-size:13px; font-weight:600; margin-top:4px; }
.pvd_card_a .material-icons { font-size:16px; width:16px; overflow:hidden; }
.pvd_k_dev { border-left-color:#c62828; } .pvd_k_dev.pvd_card_click { background:#fff6f5; } .pvd_k_dev .pvd_card_a, .pvd_k_dev.pvd_card_click .pvd_card_top .material-icons { color:#c62828; }
.pvd_k_bor { border-left-color:#ef6c00; } .pvd_k_bor.pvd_card_click { background:#fffaf2; } .pvd_k_bor .pvd_card_a, .pvd_k_bor.pvd_card_click .pvd_card_top .material-icons { color:#e65100; }
.pvd_k_rev { border-left-color:#1565c0; } .pvd_k_rev .pvd_card_a, .pvd_k_rev.pvd_card_click .pvd_card_top .material-icons { color:#1565c0; }
.pvd_k_apr { border-left-color:#2e7d32; } .pvd_k_apr .pvd_card_a, .pvd_k_apr.pvd_card_click .pvd_card_top .material-icons { color:#2e7d32; }
.pvd_ok { display:flex; align-items:center; gap:10px; background:#eef8f0; border:1px solid #c8e6c9; border-radius:10px; padding:12px 16px; font-size:14px; color:#2e5e33; margin-bottom:14px; }
.pvd_ok .material-icons { color:#2e7d32; font-size:24px; width:24px; overflow:hidden; }
.pvd_box { background:#fff; border:1px solid #e3eaf3; border-radius:10px; padding:14px 16px; box-shadow:0 1px 3px rgba(16,42,77,.05); min-width:0; margin-bottom:14px; }
.pvd_box_head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.pvd_box_head h5, .pvd_box_t { font-size:17px; font-weight:700; color:#0d2a4d; margin:0; }
.pvd_box_t { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.pvd_box_t .material-icons { color:#1565c0; font-size:20px; width:20px; overflow:hidden; }
.pvd_link { font-size:13px; color:#1565c0; cursor:pointer; }
.pvd_tabla { width:100%; border-collapse:collapse; font-size:14px; }
.pvd_tabla thead th { background:#eef3f9; color:#37474f; font-weight:700; text-align:left; padding:10px; border-bottom:1px solid #dfe7f0; }
.pvd_tabla tbody td { padding:10px; border-bottom:1px solid #f0f3f7; color:#37474f; vertical-align:middle; }
.pvd_tabla th:last-child, .pvd_tabla td:last-child { width:1%; white-space:nowrap; }
.pvd_cod { color:#1565c0; white-space:nowrap; }
.pvd_nw { white-space:nowrap; }
.pvd_tipo { font-size:12px; font-weight:600; padding:2px 8px; border-radius:6px; }
.pvd_tipo_S { background:#e3f0fd; color:#1565c0; }
.pvd_tipo_R { background:#ede7f6; color:#5e35b1; }
.pvd_badge { display:inline-block; font-size:12px; font-weight:600; padding:3px 10px; border-radius:12px; white-space:nowrap; }
.pvd_b_dev { background:#fdecea; color:#b71c1c; }
.pvd_b_bor { background:#fff3e0; color:#b45300; }
.pvd_b_rev { background:#e3f0fd; color:#1565c0; }
.pvd_b_apr { background:#e5f4ea; color:#2e7d32; }
.pvd_motivo { display:block; font-size:12px; color:#78909c; margin-top:4px; line-height:1.35; }
.pvd_mas td { font-size:12px; color:#78909c; }
.pvd_btn_pri, .pvd_btn_sec { display:inline-flex; align-items:center; gap:5px; border-radius:6px; padding:5px 12px; font-size:13px; white-space:nowrap; cursor:pointer; }
.pvd_btn_pri { background:#1565c0; color:#fff; border:1px solid #1565c0; }
.pvd_btn_pri:hover { background:#0d47a1; }
.pvd a.pvd_btn_pri, .pvd a.pvd_btn_pri:hover, .pvd a.pvd_btn_pri .material-icons { color:#fff; }
.pvd_btn_sec { background:#fff; color:#37474f; border:1px solid #cfd8dc; }
.pvd_btn_sec:hover { background:#e3f0fd; border-color:#90caf9; }
.pvd_btn_pri .material-icons, .pvd_btn_sec .material-icons { font-size:16px; width:16px; overflow:hidden; }
.pvd_grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.pvd_grid .pvd_box { margin-bottom:0; }
.pvd_mt { margin-top:14px; }
.pvd_seg { display:flex; align-items:center; gap:10px; padding:9px 4px; border-bottom:1px solid #f0f3f7; font-size:14px; color:#37474f; }
.pvd_seg_click { cursor:pointer; }
.pvd_seg_click:hover { background:#f8fafd; }
.pvd_seg_t { flex:1 1 auto; }
.pvd_seg strong { font-size:16px; color:#263238; }
.pvd_dot { width:10px; height:10px; border-radius:50%; flex:0 0 10px; }
.pvd_dot_rev { background:#1565c0; }
.pvd_dot_apr { background:#2e7d32; }
.pvd_btns { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:12px; }
.pvd_btns_t { font-size:13px; color:#607d8b; }
.pvd_acc { display:flex; flex-direction:column; gap:10px; }
.pvd_acc_i { display:flex; align-items:center; gap:12px; border:1px solid #eef2f6; border-radius:8px; padding:10px 12px; }
.pvd_acc_ico { font-size:22px; width:38px; height:38px; border-radius:8px; display:flex; align-items:center; justify-content:center; overflow:hidden; flex:0 0 38px; }
.pvd_c_tar { background:#e3f0fd; color:#1565c0; }
.pvd_c_rem { background:#e5f4ea; color:#2e7d32; }
.pvd_acc_txt { flex:1 1 auto; display:flex; flex-direction:column; font-size:13px; color:#607d8b; min-width:0; }
.pvd_acc_txt strong { font-size:15px; color:#263238; }
.pvd_acc_alerta { background:#fff6e5; border-color:#ffcc80; }
.pvd_acc_alerta .pvd_acc_ico { background:#ffe0b2; color:#e65100; }
.pvd_acc_alerta .pvd_acc_txt { color:#8a4b00; font-weight:600; }
.pvd_acc_info .pvd_acc_ico { background:#e3f0fd; color:#1565c0; }
.pvd_act { list-style:none; margin:0; padding:0; }
.pvd_act li { display:flex; gap:12px; align-items:baseline; padding:7px 0; border-bottom:1px solid #f0f3f7; font-size:13px; flex-wrap:wrap; }
.pvd_act_f { color:#90a4ae; white-space:nowrap; min-width:118px; }
.pvd_act_e { font-weight:600; color:#37474f; }
.pvd_ev_rechaz { color:#c62828; }
.pvd_ev_aprueb { color:#2e7d32; }
.pvd_act_c { color:#607d8b; }
@media (max-width:1100px) { .pvd_cards { grid-template-columns:repeat(2,minmax(0,1fr)); } .pvd_grid { grid-template-columns:minmax(0,1fr); } }
@media (max-width:700px) {
  .pvd { width:auto; padding:12px 12px 20px; }
  .pvd_head { padding:10px 12px; }
  .pvd_cards { grid-template-columns:minmax(0,1fr); }
  .pvd_tabla thead { display:none; }
  .pvd_tabla, .pvd_tabla tbody, .pvd_tabla tr, .pvd_tabla td { display:block; width:100%; }
  .pvd_tabla th:last-child, .pvd_tabla td:last-child { width:100%; }
  .pvd_tabla tbody tr { border:1px solid #e3eaf3; border-radius:8px; margin-bottom:10px; padding:4px 0; }
  .pvd_tabla tbody td { display:flex; justify-content:space-between; align-items:center; gap:10px; border-bottom:none; padding:5px 10px; text-align:right; flex-wrap:wrap; }
  .pvd_tabla tbody td:before { content:attr(data-l); font-weight:700; color:#607d8b; text-align:left; }
  .pvd_mas td:before { content:none; }
  .pvd_motivo { width:100%; text-align:left; }
  .pvd_acc_i { flex-wrap:wrap; }
}
/* Tiquete servicios: declaración de descuento (sobria, notoria sin parecer error) y regla de anexos */
.tr_pv_tk_desc_box { border:1px solid #cfd8dc; border-left:4px solid #1565c0; background:#f7fafd; border-radius:8px; padding:10px 14px; margin:6px 0 4px; }
.tr_pv_tk_desc_head { display:flex; align-items:center; flex-wrap:wrap; gap:6px 18px; }
.tr_pv_tk_desc_t { display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:700; letter-spacing:.4px; text-transform:uppercase; color:#1565c0; }
.tr_pv_tk_desc_t .material-icons { font-size:16px; }
.tr_pv_tk_desc_q { font-size:13px; font-weight:600; color:#263238; }
.tr_pv_tk_desc_op { display:inline-flex; align-items:center; }
.tr_pv_tk_desc_op [type="radio"] + label { font-size:13px !important; height:22px; line-height:22px; padding-left:28px; }
.tr_pv_tk_desc_note { font-size:11px; color:#78909c; margin:4px 0 0; }
.tr_pv_tk_anexo_regla { font-size:11px; color:#78909c; margin:-4px 0 8px; line-height:1.4; }
.tr_pv_tk_anexo_falta strong { color:#e65100; }

/* desempeño — Configurar desempeño (TIRO 1): administrador con navegación lateral */
.des_wrap { display:flex; gap:18px; padding:14px 16px 24px; background:#f5f6f8; }
.des_side { width:240px; min-width:240px; border-right:1px solid #e3e8f0; padding:8px 12px 12px 0; }
.des_main { flex:1; min-width:0; }
.des_top { margin-bottom:10px; }
.des_titulo { display:flex; align-items:center; gap:10px; font-size:22px; font-weight:700; color:#1a2940; margin:0; }
.des_sub { font-size:12px; color:#6b7a8d; margin:4px 0 0; }
.des_barra { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:6px 0 8px; }
.des_h2 { font-size:17px; font-weight:700; color:#1a2940; margin:0; }
.des_h3 { font-size:14px; font-weight:700; color:#1a2940; margin:4px 0 6px; }
.des_nota { font-size:12px; color:#6b7a8d; margin:2px 0 10px; }
.des_vacio { background:#fff; border:1px dashed #cfd8e3; border-radius:10px; padding:18px; color:#6b7a8d; font-size:13px; text-align:center; }
.des_card { background:#fff; border:1px solid #e3e8f0; border-radius:10px; padding:14px 16px; margin-bottom:14px; box-shadow:0 1px 4px rgba(0,0,0,.04); }
.des_card_off { opacity:.75; background:#fafbfc; }
.des_card_head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; margin-bottom:8px; }
.des_card_tit { display:flex; gap:10px; align-items:flex-start; min-width:0; }
.des_orden { display:inline-flex; align-items:center; justify-content:center; min-width:26px; height:26px; border-radius:13px; background:#e8edf5; color:#334e68; font-size:12px; font-weight:700; }
.des_en { display:block; font-size:11px; color:#8a97a8; font-weight:400; }
.des_desc { display:block; font-size:12px; color:#4a5568; margin:2px 0 0; }
.des_guia { font-size:12px; color:#4a5568; white-space:pre-line; max-width:420px; }
.des_chip { display:inline-block; border-radius:12px; padding:2px 10px; font-size:11px; font-weight:600; white-space:nowrap; vertical-align:middle; }
.des_chip_ok { background:#e6f4ea; color:#1e7e34; }
.des_chip_off { background:#eceff3; color:#6b7a8d; }
.des_chip_bor { background:#fff4e5; color:#b45309; }
.des_chip_fir { background:#e3edfa; color:#1e3a5f; }
.des_tabla_wrap { width:100%; overflow-x:auto; }
.des_tabla { width:100%; font-size:12px; border-collapse:collapse; }
.des_tabla th { background:#f1f4f8; color:#334e68; font-weight:600; padding:8px; text-align:left; white-space:nowrap; }
.des_tabla td { padding:6px 8px; border-top:1px solid #edf0f4; vertical-align:top; }
.des_tabla .des_col_num { text-align:center; }
.des_fila_off td { color:#8a97a8; }
.des_fila_nueva td { background:#fbfcfe; }
.des_tabla_form td { vertical-align:middle; }
.des_tabla_form .des_celda, .des_tabla_form .col { padding:0; margin:0; }
.des_tabla_form input.des_inp { margin:0; min-width:90px; }
.des_tabla_form input.des_inp_num { min-width:56px; max-width:80px; }
.des_tabla_lineas select.des_sel { min-width:118px; font-size:12px; }
.des_tabla_lineas .des_col_concepto { min-width:170px; }
.des_tabla_lineas button.des_btn { padding:0 8px; }
.des_crit_mini { display:block; font-size:10px; color:#6b7a8d; font-weight:600; text-transform:uppercase; letter-spacing:.3px; }
.des_acc { display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
.des_acc_baja { padding-top:18px; }
.des_acc_pie { margin:4px 0 18px; }
.des_link { display:inline-flex; align-items:center; gap:4px; height:30px; line-height:30px; padding:0 10px; border:1px solid #d4dce8; border-radius:6px; background:#fff; color:#334e68; font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap; }
.des_link i { font-size:16px; }
.des_link.des_btn_pri, button.des_btn.des_btn_pri { background:#1e3a5f; border-color:#1e3a5f; color:#fff; }
button.des_btn { display:inline-flex; flex-direction:row-reverse; justify-content:flex-end; align-items:center; gap:4px; height:30px; line-height:30px; padding:0 10px; font-size:12px; text-transform:none; box-shadow:none; border-radius:6px; white-space:nowrap; }
button.des_btn i, button.des_btn i.left { float:none; font-size:16px; margin:0; line-height:30px; }
button.des_btn.des_btn_sec { background:#fff; color:#334e68; border:1px solid #d4dce8; }
button.des_btn.des_btn_ok { background:#1e7e34; color:#fff; }
.des_total { display:inline-block; font-weight:700; padding:3px 10px; border-radius:6px; }
.des_total_ok { background:#e6f4ea; color:#1e7e34; }
.des_total_err { background:#fdecea; color:#b3261e; }
.des_opcion { display:inline-block; margin:0 8px 2px 0; padding:1px 6px; border-radius:4px; background:#f1f4f8; }
.des_versiones { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 6px; }
.des_versiones .des_nota { margin:0; }
.des_ver { display:inline-block; padding:1px 8px; border:1px solid #d4dce8; border-radius:10px; font-size:11px; font-weight:600; color:#334e68; cursor:pointer; }
.des_ver_act { background:#1e3a5f; border-color:#1e3a5f; color:#fff; cursor:default; }
.des_leer > div { margin-bottom:8px; }
.des_lbl { display:block; font-size:10px; color:#6b7a8d; font-weight:600; text-transform:uppercase; letter-spacing:.4px; }
.des_area { min-height:70px; }
.des_oculto { display:none; }
@media (max-width:900px) {
    .des_wrap { flex-direction:column; padding:10px 8px 18px; }
    .des_side { width:auto; min-width:0; border-right:0; border-bottom:1px solid #e3e8f0; padding:0 0 8px; display:flex; flex-wrap:wrap; gap:4px; }
    .des_side .tar_contrato_menu_item { width:auto; padding:8px 10px; }
    .des_guia { max-width:none; }
}

/* desempeño — TIRO 2 (contrato: configuración, calendario y reporte). Color moderado, sin semáforos */
.des_ctr .del_tabs { margin-bottom:12px; }
.des_tab_ico { font-size:18px; vertical-align:middle; margin-right:4px; }
.des_chip_ven { background:#fdecea; color:#9b2c2c; }
.des_nd { color:#9aa5b4; }
.des_kpis { display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:12px; margin-bottom:14px; }
.des_kpi { background:#fff; border:1px solid #e3e8f0; border-radius:10px; padding:12px 14px; }
.des_kpi_val { display:block; font-size:24px; font-weight:700; color:#1a2940; margin-top:4px; }
.des_res { display:inline-flex; align-items:center; gap:8px; min-width:150px; }
.des_res_bar { display:inline-block; width:90px; height:8px; border-radius:4px; background:#edf1f6; overflow:hidden; }
.des_res_bar > span { display:block; height:100%; background:#5b7fa6; }
.des_datos { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:10px 18px; margin-bottom:10px; font-size:13px; }
.des_radios { display:flex; flex-wrap:wrap; gap:4px 18px; padding-top:6px; }
.des_radios .des_radio { padding:0; }
.des_resp_grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:10px; }
.des_resp_item { border:1px solid #e3e8f0; border-radius:8px; padding:8px 10px; background:#fafbfc; font-size:12px; }
.des_origen { font-size:10px; color:#8a97a8; text-transform:uppercase; letter-spacing:.3px; }
.des_fila_sec td { background:#f7f9fc; font-size:11px; color:#6b7a8d; font-weight:600; }
.des_tabla_form input.des_inp_fecha { min-width:130px; max-width:150px; }
@media (max-width:900px) { .des_kpis { grid-template-columns:repeat(2, minmax(0, 1fr)); } }

/* desempeño — TIRO 3: administración de participaciones / evidencias (detalle del ciclo) */
.des_evi { display:inline-flex; align-items:center; gap:2px; margin:0 6px 2px 0; font-size:11px; color:#1e3a5f; cursor:pointer; }
.des_evi i { font-size:14px; }
.des_reasigna { display:flex; gap:6px; align-items:center; flex-wrap:wrap; min-width:360px; }
.des_reasigna .col { width:auto; padding:0; }
.des_reasigna select.des_sel { min-width:170px; }
.des_tabla_form input.des_inp_motivo { min-width:160px; }

/* desempeño — TIRO 3: portal público del evaluador (sin la barra del SAE) */
.dpo_body { background:#f5f6f8; margin:0; color:#1a2940; }
.dpo_top { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding:12px 18px; background:#1e3a5f; color:#fff; }
.dpo_marca { display:flex; align-items:center; gap:8px; font-size:17px; font-weight:700; }
.dpo_top_acc { display:flex; align-items:center; gap:8px; }
.dpo_lang { color:#c9d6e8; font-weight:700; font-size:13px; padding:2px 8px; border-radius:4px; }
.dpo_lang_act { background:#fff; color:#1e3a5f; }
.dpo_inline { display:inline; margin:0; }
.dpo_main { max-width:1100px; margin:0 auto; padding:16px; }
.dpo_card { background:#fff; border:1px solid #e3e8f0; border-radius:10px; padding:14px 16px; margin-bottom:14px; }
.dpo_card_login { max-width:520px; margin:30px auto; }
.dpo_h { font-size:18px; font-weight:700; margin:0 0 8px; }
.dpo_nota { font-size:12px; color:#6b7a8d; margin:4px 0 10px; }
.dpo_msg { border-radius:8px; padding:10px 14px; margin-bottom:12px; font-size:13px; font-weight:600; }
.dpo_msg_ok { background:#e6f4ea; color:#1e7e34; }
.dpo_msg_err { background:#fdecea; color:#9b2c2c; }
.dpo_acc { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
button.dpo_btn { display:inline-flex; flex-direction:row-reverse; align-items:center; gap:4px; height:34px; line-height:34px; padding:0 12px; font-size:13px; text-transform:none; box-shadow:none; border-radius:6px; }
button.dpo_btn i, button.dpo_btn i.left { float:none; margin:0; font-size:17px; line-height:34px; }
button.dpo_btn.dpo_btn_pri { background:#1e3a5f; color:#fff; }
button.dpo_btn.dpo_btn_ok { background:#1e7e34; color:#fff; }
button.dpo_btn.dpo_btn_sec { background:#fff; color:#1e3a5f; border:1px solid #c9d6e8; }
button.dpo_btn.dpo_btn_ico { background:transparent; color:#1e3a5f; padding:0 4px; height:26px; line-height:26px; }
.dpo_top button.dpo_btn.dpo_btn_sec { height:28px; line-height:28px; }
.dpo_link { display:inline-flex; align-items:center; gap:4px; color:#1e3a5f; font-weight:600; font-size:13px; margin-bottom:10px; }
.dpo_tabla_wrap { width:100%; overflow-x:auto; }
.dpo_tabla { width:100%; font-size:13px; border-collapse:collapse; }
.dpo_tabla th { background:#f1f4f8; color:#334e68; font-weight:600; padding:8px; text-align:left; white-space:nowrap; }
.dpo_tabla td { padding:8px; border-top:1px solid #edf0f4; vertical-align:middle; }
.dpo_sub { display:block; font-size:11px; color:#8a97a8; }
.dpo_chip { display:inline-block; border-radius:12px; padding:2px 10px; font-size:11px; font-weight:600; background:#eceff3; color:#334e68; white-space:nowrap; }
.dpo_chip_ven { background:#fdecea; color:#9b2c2c; }
.dpo_head { display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:10px 18px; font-size:13px; }
.dpo_lbl { display:block; font-size:10px; color:#6b7a8d; font-weight:600; text-transform:uppercase; letter-spacing:.4px; }
.dpo_avance { display:flex; align-items:center; gap:12px; margin-top:12px; font-size:13px; }
.dpo_bar { display:inline-block; flex:1; max-width:260px; height:8px; border-radius:4px; background:#edf1f6; overflow:hidden; }
.dpo_bar > span { display:block; height:100%; background:#5b7fa6; }
.dpo_crit { font-size:14px; font-weight:700; color:#1e3a5f; margin:18px 0 8px; text-transform:uppercase; letter-spacing:.4px; }
.dpo_concepto { padding:12px 16px; }
.dpo_con_head { display:flex; justify-content:space-between; gap:10px; align-items:baseline; }
.dpo_peso { font-size:12px; color:#6b7a8d; white-space:nowrap; }
.dpo_desc { font-size:12px; color:#4a5568; margin:4px 0; }
.dpo_guia { margin:6px 0 8px; font-size:12px; color:#4a5568; }
.dpo_guia summary { cursor:pointer; color:#1e3a5f; font-weight:600; }
.dpo_guia div { padding:6px 0 0 14px; }
.dpo_control { margin:8px 0; }
.dpo_opciones { display:flex; flex-wrap:wrap; gap:4px 18px; }
.dpo_opciones .dpo_opcion { padding:0; }
input.dpo_num { max-width:180px; }
input.dpo_otp { font-size:22px; letter-spacing:6px; max-width:200px; }
.dpo_row { margin-bottom:0; }
.dpo_evi { margin-top:6px; }
.dpo_evi_item { display:flex; align-items:center; gap:4px; font-size:12px; }
.dpo_evi_item i { font-size:16px; }
.dpo_pie { position:sticky; bottom:0; }
.dpo_confirma { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:10px; }
@media (max-width:700px) {
    .dpo_main { padding:10px 8px; }
    .dpo_con_head { flex-direction:column; }
    .dpo_reasigna, .des_reasigna { min-width:0; }
}

/* ===== Postproducción 2026-10-18: visor PDF de anexos · comentario del proveedor · alerta >30 días ===== */
.tar_anexo_overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 20000; background: rgba(33, 33, 33, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tar_anexo_box { width: 100%; max-width: 1100px; height: 92vh; background: #fff; border-radius: 8px; box-shadow: 0 8px 28px rgba(0, 0, 0, .35); display: flex; flex-direction: column; overflow: hidden; }
.tar_anexo_barra { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f2f2f2; border-bottom: 1px solid #dcdcdc; padding: 10px 16px; }
.tar_anexo_tit { font-size: 14px; font-weight: 500; color: #212121; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tar_anexo_cerrar { color: #c62828 !important; font-weight: 600; white-space: nowrap; cursor: pointer; text-decoration: none; padding: 2px 6px; border-radius: 4px; }
.tar_anexo_cerrar:hover { color: #8e0000 !important; background-color: rgba(198, 40, 40, .08); }
.tar_anexo_frame { flex: 1 1 auto; width: 100%; border: 0; background: #fafafa; }
.tar_anexo_acc { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.tar_anexo_ico { display: inline-flex; align-items: center; color: #1565C0 !important; text-decoration: none; cursor: pointer; }
.tar_anexo_ico .material-icons { font-size: 18px; vertical-align: middle; }
.tar_anexo_ver_inline { display: inline-flex; align-items: center; margin-left: 6px; color: #1565C0 !important; text-decoration: none; cursor: pointer; vertical-align: middle; }
.tar_anexo_ver_inline .material-icons { font-size: 16px; }
a.tr_pv_tk_file_act.tar_anexo_ver_btn { color: #1565C0; text-decoration: none; }
@media only screen and (max-width: 600px) { .tar_anexo_overlay { padding: 0; } .tar_anexo_box { height: 100vh; border-radius: 0; } }

.tiq_coment_box { margin-top: 10px; }
.tiq_coment_box textarea.tiq_coment_inp { min-height: 72px; height: auto; resize: vertical; padding: 8px 10px; line-height: 1.4; }
.tiq_coment_nota { font-size: 11px; color: #90a4ae; margin: 4px 0 0; }
.tr_pv_tk_ro.tiq_coment_ro { height: auto; min-height: 2.5rem; align-items: flex-start; padding: 8px 10px; line-height: 1.4; overflow-wrap: anywhere; }
.tr_pv_tk_prev_note.tiq_coment_prev { display: block; border-top: 1px solid #b7c4bf; }
.tr_pv_tk_prev_note.tiq_coment_prev span { display: block; border-left: none; overflow-wrap: anywhere; }
.tiq_alerta30 { display: flex; gap: 8px; align-items: flex-start; border: 1px solid #ffe0b2; background: #fff8e1; color: #6d4c41; border-radius: 6px; padding: 8px 10px; margin: 10px 0 0; font-size: 12px; }
.tiq_alerta30 .material-icons { font-size: 18px; color: #ef6c00; }
.tiq_alerta30 strong { display: block; color: #e65100; }
.tiq_alerta30 span { display: block; margin-top: 2px; }

/* Inteligencia de tiquetes (2026-10-18): filtros moneda / período, fila > 30 días, estados agrupados */
.rep_tiq_filtros .rep_tiq_p30 { padding-top: 2px; }
.rep_tiq_filtros .rep_tiq_p30_lbl { display: block; margin-bottom: 6px; font-size: 14px; }
.rep_tiq_estados { margin-top: 12px; }
.rep_con_tabla tr.rep_tiq_fila30 td { background: #fff8e1; }
.rep_tiq_badge30 { display: inline-block; background: #ef6c00; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }

/* ===== Postproducción 2026-10-18: aviso de confidencialidad (página propia, solo internos Parex) ===== */
body.avc_body { height: 100vh; overflow: hidden; }   /* bloqueo de scroll SOLO en la página del aviso */
body.avc_body { margin: 0; background: #e9edf1; font-family: Roboto, "Segoe UI", Arial, Helvetica, sans-serif; color: #263238; }
.avc_overlay { position: fixed; inset: 0; z-index: 30000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(38, 50, 56, .55); box-sizing: border-box; }
.avc_caja { width: 100%; max-width: 760px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 8px; box-shadow: 0 12px 36px rgba(0, 0, 0, .28); overflow: hidden; }
.avc_cab { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid #e3e8ec; }
.avc_logo { height: 30px; width: auto; margin-right: 6px; }
.avc_ico { display: inline-flex; color: #1e3a5f; }
.avc_titulo { flex: 1 1 auto; margin: 0; font-size: 18px; font-weight: 600; color: #1e3a5f; letter-spacing: .2px; }
.avc_cab .avc_form_x { margin: 0; }
.avc_cab .avc_form_x div { display: inline; }
.avc_x { border: 0; background: transparent; color: #78909c; font-size: 26px; line-height: 1; cursor: pointer; padding: 2px 8px; border-radius: 4px; }
.avc_x:hover { background: #eceff1; color: #c62828; }
.avc_cuerpo { flex: 1 1 auto; overflow-y: auto; padding: 18px 22px 6px; font-size: 14px; line-height: 1.6; text-align: justify; }
.avc_cuerpo p { margin: 0 0 12px; }
.avc_pie { border-top: 1px solid #e3e8ec; padding: 12px 18px 16px; background: #fafbfc; }
.avc_nota { margin: 0 0 10px; font-size: 12px; color: #78909c; }
.avc_acciones { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.avc_acciones form { margin: 0; }
.avc_btn_pri, .avc_btn_sec { border-radius: 4px; padding: 10px 20px; font-size: 13px; font-weight: 600; letter-spacing: .5px; cursor: pointer; text-transform: none; height: auto; line-height: 1.2; box-shadow: none; }
.avc_btn_pri { background: #1e3a5f; border: 1px solid #1e3a5f; color: #fff; }
.avc_btn_pri:hover { background: #16304f; }
.avc_btn_sec { background: #fff; border: 1px solid #b0bec5; color: #455a64; }
.avc_btn_sec:hover { border-color: #c62828; color: #c62828; }
@media only screen and (max-width: 600px) { .avc_overlay { padding: 8px; } .avc_caja { max-height: calc(100vh - 16px); } .avc_cuerpo { padding: 14px 16px 4px; text-align: left; } .avc_acciones > form { flex: 1 1 100%; } .avc_acciones button { width: 100%; } }

/* Modales de PDF de tiquetes (2026-10-18): barra de cierre .tr_mod_barra (patrón del modal 05) + visor debajo, sin z-index global */
.tiq_pdf_marco { height: 78vh; overflow: hidden; padding: 4px 0 0; position: relative; z-index: 0; }
.tiq_pdf_marco iframe { display: block; }
.tiq_modal_barra { flex-wrap: wrap; }
