/* ================================
   BASE
================================ */

html, body{
	height:100%;
	margin:0;
	overflow:hidden;
	font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.tituloView{
	font-size:24px;
	font-weight:bold;
	margin-bottom:25px;
	width:100%;
	text-align:Left;
}

.tac{
	text-align:center;
}

.tal{
	text-align:left;
}

.tar{
	text-align:right;
}

/* ================================
   HEADER
================================ */

.headerBar{
	display:flex;
	align-items:center;
	justify-content:space-between;
	height:60px;
	width:100%;
	background:#003366;
	color:white;
	padding:0 12px;
	box-shadow:0 2px 6px rgba(0,0,0,0.2);
	position:relative;
	z-index:10;
}

body.local-env .headerBar {
	background:#0f766e;
}

body.local-env .headerBar::before {
	content:"LOCAL";
	position:absolute;
	top:8px;
	left:10px;
	z-index:2;
	padding:2px 8px;
	border-radius:4px;
	background:#ecfeff;
	color:#0f766e;
	font-size:11px;
	font-weight:700;
	letter-spacing:0;
}

/* columnas header */

.headerLeft,
.headerRight{
	display:flex;
	align-items:center;
}

.headerCenter{
	position:absolute;
	left:50%;
	transform:translateX(-50%);
}

/* logos */

.logoObs{
	height:32px;
}

.logoCentro{
	height:34px;
}

/* logout */

.logoutIcon{
	font-size:22px;
	cursor:pointer;
	padding:5px;
}

.logoutIcon:hover{
	color:#ffcc66;
}



/* ================================
   LAYOUT
================================ */

.adminLayout{
	height:calc(100vh - 50px);
}

.layoutContainer{
	display:flex;
	height:100%;
	width:100%;
}



/* ================================
   MENU LATERAL
================================ */

.menuLateral{
	width:180px;
	min-width:180px;
	border-right:1px solid #ddd;
	background:#fafafa;
	transition:width .2s ease;
    display:flex;
    flex-direction:column;
}

.menuScroll{
    overflow-y:auto;
    flex:1;
}

.menuCollapsed{
	width:60px;
	min-width:60px;
}


/* titulo menú */
.menuTitulo{
	padding:10px 12px;
	font-weight:bold;
	cursor:pointer;
	border-bottom:1px solid #eee;
}


/* items */
.menuItem{
	padding:6px 10px;
    font-size:12px;  
	border-bottom:1px solid #eee;
	cursor:pointer;
	display:flex;
	align-items:center;
}

.menuItem i{
	width:16px;
	text-align:center;
	margin-right:6px;
}

.menuSubItem{
	padding-left:19px;
}

.menuSubItem i{
	margin-right:7px;
}

.menuCollapsed .menuSubItem{
	padding-left:10px;
}

.menuNestedTitle{
	position:relative;
	font-weight:600;
	background:#fafafa;
}

.menuLateral:not(.menuCollapsed) .menuNestedTitle.menuWebIndented{
    padding-left:19px;
}

/* Los íconos de los ítems se alinean con Resultados y Análisis. */
.menuLateral:not(.menuCollapsed) .menuSubItem,
.menuLateral:not(.menuCollapsed) .menuNestedItem{
    padding-left:19px;
}
.menuLateral:not(.menuCollapsed) .menuSubItem > i,
.menuLateral:not(.menuCollapsed) .menuNestedItem > i{
    flex:0 0 16px;
    margin-right:6px;
}

.menuNestedTitle .menuNestedArrow{
	width:auto;
	margin-left:auto;
	margin-right:0;
	font-size:9px;
}

.menuNestedItem{
	padding-left:20px;
	font-size:11px;
}

.menuCollapsed .menuNestedItem{
	padding-left:10px;
}

.menuItem:hover{
	background:#f2f2f2;
}

.menuItemSel{
	background:#e8f1ff;
	font-weight:bold;
}


/* separadores */

.menuSeparador{
	height:8px;
	background:#eee;
}

.menuSubtitulo{
    font-size:12px;
    padding:6px 10px;
    color:#333;
    cursor:pointer;            
    display:flex;              
    align-items:center;
    justify-content:space-between;
    gap:6px;
    user-select:none;
	border-bottom:1px solid #eee;
}

.menuSubtitulo:hover{
    background:#f2f2f2;        
}

.menuSubtituloTexto{
	display:flex;
	align-items:center;
	min-width:0;
	gap:6px;
}

.menuSubtituloTexto i{
	width:16px;
	text-align:center;
	flex:0 0 16px;
}

.menuSubtituloTexto span{
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.menuSubtituloFlecha{
	width:12px;
	text-align:right;
	flex:0 0 12px;
}

.menuCollapsed .menuSubtitulo{
	justify-content:center;
}

.menuCollapsed .menuSubtituloTexto{
	justify-content:center;
}



/* ================================
   VIEW
================================ */

.viewContainer{
	flex:1;
	display:flex;
	flex-direction:column;
	min-width:0;
}

.viewScroll{

	flex:1;
	overflow:auto;
	background:#e9e9e9;
	padding:20px;
	min-width:0;

}



/* ================================
   INICIO / DASHBOARD
================================ */

.adminInicio{
	text-align:center;
	padding:0 180px 10px 0;
}

.inicioLogo img{
	height:80px;
	margin-bottom:5px;
}

.inicioTitulo{
	font-size:24px;
	margin-bottom:5px;
}

.inicioSubtitulo{
	color:#888;
	margin-bottom:40px;
}

.inicioGrid{

	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:20px;
	padding:15px 0;

}

.inicioCard{

	width:160px;
	height:100px;

	border:1px solid #ddd;
	border-radius:6px;

	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;

	cursor:pointer;
	background:#fff;

	transition:all .2s;

}

.inicioCard i{

	font-size:28px;
	margin-bottom:8px;
	color:#003366;

}

.inicioCard:hover{

	background:#f5f7fb;
	transform:translateY(-2px);
	box-shadow:0 4px 10px rgba(0,0,0,0.1);

}

.cv_preview{
	font-family: 'Montserrat';
	margin:0 auto; 
	font-size:12px; 
	color:#666
}


.cv_preview p{
	margin: 5px 3px;
	line-height: 1.4;
	white-space: normal;
	color: #666;
	text-align:justify;
}

.cv_preview h1,
.cv_preview h2,
.cv_preview h3{
	margin-top:8px;
	margin-bottom:4px;
	font-weight:600;
	font-size:14px;
}

.cv_preview ul{
	list-style-type:disc;
	list-style-position:outside;
	padding-left:18px;
	margin:4px 0 6px 0;
}

.cv_preview li{
	display:list-item;
	list-style-type:disc;
	margin-bottom:3px;
	line-height:1.4;
	color:#666;
	font-size:12px;
}


.cv_preview p,
.cv_preview ul,
.cv_preview li,
.cv_preview h1,
.cv_preview h2,
.cv_preview h3{
	display:block;
}

.cv_preview ul{
	list-style:disc !important;
}
.cv_preview li{
	list-style:disc !important;
	display:list-item;
	text-align: justify;
}

.cv_toggle{
	cursor:pointer;
	font-size:16px;
	color:#aaa;
	transition:0.2s;
}

.cv_toggle:hover{
	color:#666;
}

.cv_toggle.activo{
	color:#6a5acd;   /* mismo tono violeta del observatorio */
}



td span:hover{
	background:#f2f2f2;
	padding:2px 4px;
	border-radius:3px;
}

.table-chica{
	font-size:12px;
}

.table-chica td{
	padding:8px;
}

.analisis-admin-card{
	position:relative;
}

.gcToastAlert{
	position:fixed;
	top:76px;
	left:50%;
	transform:translateX(-50%);
	z-index:9999;
	width:min(720px, calc(100vw - 48px));
	min-width:320px;
	margin:0 !important;
	padding:16px 22px;
	box-shadow:0 14px 34px rgba(15, 23, 42, 0.24);
	border-radius:6px;
	font-size:16px;
	line-height:1.35;
	text-align:center;
	font-weight:600;
	animation:gcToastDropIn 220ms ease-out both;
	will-change:transform, opacity;
}

.gcToastAlertOut{
	animation:gcToastLiftOut 240ms ease-in both;
}

@keyframes gcToastDropIn{
	from{
		opacity:0;
		transform:translate(-50%, -18px);
	}
	to{
		opacity:1;
		transform:translate(-50%, 0);
	}
}

@keyframes gcToastLiftOut{
	from{
		opacity:1;
		transform:translate(-50%, 0);
	}
	to{
		opacity:0;
		transform:translate(-50%, -16px);
	}
}

/* =========================
   TABLA BASE
========================= */
.gcListadoTabla tbody tr {
	transition: all 0.2s ease;
}

/* =========================
   HOVER (no rompe color dinámico)
========================= */
.gcListadoTabla tbody tr:hover {
	filter: brightness(0.96);
	transform: scale(1.002);
}

/* =========================
   SELECCIÓN
========================= */
.gcListadoTabla tbody tr.sel {
	background-color: #e0f2fe !important;
}

/* =========================
   BORDE IZQUIERDO (mejora visual)
========================= */
.gcListadoTabla tbody tr td:first-child {
	padding-left: 10px;
}

/* =========================
   SOMBRA SUTIL EN HOVER (opcional PRO)
========================= */
.gcListadoTabla tbody tr:hover {
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* =========================
   BADGES (por si usás sigla)
========================= */
.gcListadoTabla span {
	display: inline-block;
	line-height: 1;
}

/* =========================
   ICONOS ESTADO
========================= */
.gcListadoTabla .fa-check-circle {
	color: #16a34a;
}

.gcListadoTabla .fa-times-circle {
	color: #dc2626;
}



/* GRID 4-5 columnas automático */
.gcColorGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 2px;
	margin-top: 2px;
}

/* Item */
.gcColorItem {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 6px;
	border-radius: 6px;
	cursor: pointer;
	border: 1px solid #e5e7eb;
	transition: all 0.15s ease;
	background: #fff;
}

/* Hover */
.gcColorItem:hover {
	background: #f3f4f6;
}

/* Selección */
.gcColorItem.sel {
	border: 1px solid #2563eb;
	background: #eff6ff;
}

/* Cuadrado color */
.gcColorBox {
	width: 14px;
	height: 14px;
	border-radius: 3px;
	border: 1px solid #ccc;
	flex-shrink: 0;
}

/* Nombre */
.gcColorName {
	font-size: 12px;
	color: #374151;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Texto seleccionado */
.gcColorSel {
	margin-top: 8px;
	font-size: 12px;
}

/* =========================
   MODULOS DATOS ADMIN
========================= */
.admin-input {
	-moz-appearance: textfield;
	appearance: textfield;
	width: 100px;
	height: 24px;
	padding: 2px 6px;
	font-size: 12px;
	border-radius: 6px;
	border: 1px solid #d7dee7;
	box-shadow: none;
	text-align: right;
	background: #fff;
	display: inline-block;
}

.admin-input::-webkit-outer-spin-button,
.admin-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.admin-input:focus {
	border-color: #78909c;
	box-shadow: 0 0 0 2px rgba(120,144,156,.12);
}

.poblacion-card {
	background: #fff;
	border: 1px solid #e6e9ef;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 22px rgba(0,0,0,.04);
}

.poblacion-head {
	padding: 18px 20px 16px;
	background: linear-gradient(135deg,#f8fafc,#eef2f7);
	border-bottom: 1px solid #e5eaf0;
}

.poblacion-head-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.poblacion-head h3 {
	margin: 0;
	font-size: 21px;
	font-weight: 600;
	color: #263238;
}

.poblacion-head p {
	margin: 3px 0 0;
	font-size: 12px;
	color: #6b7280;
}

.poblacion-filtros {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	flex-wrap: wrap;
}

.poblacion-filtros .gcEtiqueta {
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	margin-bottom: 4px;
}

.poblacion-filtros .form-control {
	height: 34px;
	border-radius: 8px;
	border: 1px solid #d7dee7;
	box-shadow: none;
	font-size: 12px;
	background: #fff;
}

.poblacion-table-wrap {
	margin: 0;
	width: auto;
	display: inline-block;
	overflow: visible;
	padding: 15px;
}

.poblacion-table {
	table-layout: auto;
	width: auto;
}

.poblacion-table th {
	text-align: center !important;
}

.poblacion-table th,
.poblacion-table td {
	padding-left: 8px !important;
	padding-right: 8px !important;
}

.poblacion-table .poblacion-col-edad {
	width: 72px;
	text-align: center !important;
}

.poblacion-table .poblacion-col-num {
	width: 96px;
	text-align: right !important;
}

.poblacion-table td.poblacion-col-num {
	padding-left: 6px !important;
	padding-right: 10px !important;
}

.poblacion-table .poblacion-col-actions {
	width: 34px;
	min-width: 34px;
	padding-left: 4px !important;
	padding-right: 4px !important;
	text-align: center !important;
	white-space: nowrap;
}

.poblacion-table .admin-input {
	width: 88px;
}

.poblacion-total-cell {
	font-weight: 700;
}

.poblacion-action-edit,
.poblacion-action-save,
.poblacion-action-cancel {
	cursor: pointer;
	font-size: 14px;
}

.poblacion-action-edit {
	color: #5cb85c;
}

.poblacion-action-save {
	color: #337ab7;
	margin-right: 6px;
}

.poblacion-action-cancel {
	color: grey;
}

.edad-badge {
	display: inline-block;
	min-width: 42px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #263238;
	font-weight: 400;
	text-align: center;
	font-size: 11px;
}

.poblacion-totales tr {
	background: #f8fafc;
	font-weight: 700;
}

.poblacion-totales td {
	text-align: right;
}

.poblacion-totales td:first-child {
	text-align: left;
}

.dashboard-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.gcHeader.dashboard-header {
	padding-bottom: 12px;
}

.dashboard-header h3 {
	margin-right: 12px;
}

.dashboard-toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	flex: 1;
	min-width: 0;
}

.dashboard-years {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}

.dashboard-years button {
	height: 28px;
	min-width: 48px;
	padding: 0 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #f8fafc;
	color: #334155;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}

.dashboard-years button:hover {
	background: #eef6ff;
	border-color: #94a3b8;
}

.dashboard-years button.activo {
	background: #dbeafe;
	border-color: #3b82f6;
	color: #1e3a8a;
}

.dashboard-section {
	padding: 15px;
}

.dashboard-section-compact {
	padding-top: 0;
}

.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.dashboard-top {
	display: grid;
	grid-template-columns: max-content minmax(620px, 1fr);
	align-items: stretch;
	gap: 12px;
	padding: 15px;
}

.dashboard-cards-area {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.dashboard-state-cards {
	padding: 0;
}

.dashboard-summary-area {
	display: grid;
	grid-template-columns: minmax(330px, 1fr) 210px;
	align-items: stretch;
	gap: 10px;
	min-width: 0;
}

.dashboard-summary-area .dashboard-cards-row {
	grid-template-columns: repeat(3, minmax(95px, 1fr));
	gap: 7px;
}

.dashboard-summary-area .dashboard-card {
	padding: 7px;
}

.dashboard-summary-area .dashboard-card-head {
	font-size: 11px;
	gap: 5px;
}

.dashboard-summary-area .dashboard-card-head i {
	font-size: 14px;
	width: 15px;
}

.dashboard-summary-area .dashboard-card-value {
	font-size: 16px;
	margin-top: 6px;
}

.dashboard-summary-area .dashboard-progress {
	margin-top: 6px;
}

.dashboard-summary-area .dashboard-card-foot {
	font-size: 9px;
	margin-top: 5px;
}

.dashboard-chart-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #dbe3ea;
	border-radius: 6px;
	background: #fff;
	padding: 10px;
}

.dashboard-chart-panel h4 {
	align-self: stretch;
	color: #263238;
	font-size: 12px;
	margin: 0 0 8px;
}

.dashboard-donut {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 132px;
	border-radius: 50%;
}

.dashboard-donut-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: #fff;
}

.dashboard-donut-center strong {
	font-size: 23px;
	line-height: 1;
}

.dashboard-donut-center span {
	color: #64748b;
	font-size: 9px;
	margin-top: 4px;
	text-transform: uppercase;
}

.dashboard-chart-legend {
	display: grid;
	gap: 4px;
	width: 100%;
	margin-top: 10px;
	font-size: 10px;
}

.dashboard-chart-legend div {
	display: flex;
	align-items: center;
	gap: 5px;
}

.dashboard-chart-legend div > span {
	width: 8px;
	height: 8px;
	border-radius: 2px;
}

.dashboard-chart-legend span.hecho { background: #15a36d; }
.dashboard-chart-legend span.pendiente { background: #e45b5b; }
.dashboard-chart-legend strong { margin-left: auto; }

.dashboard-all-years {
	min-width: 0;
}

.dashboard-module-panel h4 i {
	color: #007f8c;
	margin-right: 6px;
}

.dashboard-compact-panel {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-height: 122px;
}

.dashboard-compact-panel h4 {
	flex: 0 0 auto;
}

.dashboard-panel-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.dashboard-compact-panel .dashboard-table-scroll {
	flex: 0 0 auto;
	height: auto;
	min-height: 0;
	max-height: none;
	overflow-y: visible;
}

.dashboard-compact-panel h4 {
	margin-bottom: 4px;
}

.dashboard-compact-panel .dashboard-table th,
.dashboard-compact-panel .dashboard-table td {
	padding: 2px 4px !important;
	line-height: 1.05;
}

.dashboard-status i.incompleto {
	color: #d9534f;
}

.dashboard-zone-row td {
	background: #edf4f6;
	color: #48636a;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.dashboard-cards-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(118px, 1fr));
	gap: 10px;
}

.dashboard-card {
	border: 1px solid #dbe3ea;
	border-radius: 6px;
	background: #fff;
	padding: 10px;
}

.dashboard-card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #263238;
	font-size: 13px;
	font-weight: 700;
}

.dashboard-card-head i {
	color: #007f8c;
	font-size: 16px;
	width: 18px;
	text-align: center;
}

.dashboard-card-group {
	display: block;
	margin-bottom: 2px;
	color: #7b8794;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.1;
	text-transform: uppercase;
}

.dashboard-card-value {
	color: #263238;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	margin-top: 9px;
}

.dashboard-progress {
	height: 6px;
	background: #e8eef3;
	border-radius: 999px;
	overflow: hidden;
	margin-top: 9px;
}

.dashboard-progress div {
	height: 100%;
	background: #007f8c;
}

.dashboard-card-foot {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	color: #64748b;
	font-size: 11px;
	margin-top: 8px;
}

.dashboard-data-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
	gap: 10px;
	padding: 0 15px 15px;
}

.dashboard-panel {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #dbe3ea;
	border-radius: 6px;
	background: #fff;
	padding: 8px;
}

.dashboard-panel h4 {
	color: #263238;
	font-size: 12px;
	font-weight: 700;
	margin: 0 0 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dashboard-panel-wide {
	grid-column: span 2;
}

.dashboard-kpis {
	display: grid;
	grid-template-columns: repeat(5, minmax(118px, 1fr));
	gap: 10px;
	margin-bottom: 0;
}

.dashboard-kpi {
	border: 1px solid #dbe3ea;
	border-radius: 6px;
	background: #f8fafc;
	padding: 10px;
}

.dashboard-kpi div {
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.dashboard-kpi strong {
	display: block;
	color: #263238;
	font-size: 22px;
	line-height: 1;
	margin-top: 6px;
}

.dashboard-small-table {
	margin-top: 8px;
}

.dashboard-table-scroll {
	height: 230px;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid #edf1f5;
}

.dashboard-table {
	width: 100%;
	margin: 0;
	font-size: 10px;
	table-layout: auto;
}

.dashboard-table th,
.dashboard-table td {
	padding: 4px 4px !important;
	line-height: 1.15;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: none !important;
}

.dashboard-table th {
	position: sticky;
	top: 0;
	z-index: 1;
	font-size: 10px;
	text-transform: none !important;
	letter-spacing: 0 !important;
	vertical-align: middle !important;
}

.dashboard-table th:not(:first-child),
.dashboard-table td:not(:first-child) {
	text-align: right;
}

.dashboard-table th:first-child,
.dashboard-table td:first-child {
	width: 30px;
}

.dashboard-table th.dashboard-region-col,
.dashboard-table td.dashboard-region-col {
	text-align: left !important;
	width: auto;
}

.dashboard-puntajes-table {
	table-layout: fixed;
}

.dashboard-puntajes-table th.dashboard-region-col,
.dashboard-puntajes-table td.dashboard-region-col {
	width: calc(100% - 64px);
	max-width: none;
}

.dashboard-puntajes-table th.dashboard-status,
.dashboard-puntajes-table td.dashboard-status {
	width: 32px;
	min-width: 32px;
	text-align: center !important;
}

.dashboard-analisis-estado-table {
	table-layout: fixed;
}

.dashboard-analisis-estado-table th.dashboard-region-col,
.dashboard-analisis-estado-table td.dashboard-region-col {
	width: calc(100% - 96px);
	max-width: none;
}

.dashboard-analisis-estado-table th.dashboard-status,
.dashboard-analisis-estado-table td.dashboard-status {
	width: 32px;
	min-width: 32px;
	text-align: center !important;
}

.dashboard-status {
	text-align: center !important;
}

.dashboard-status i {
	font-size: 13px;
}

.dashboard-status i.completo {
	color: #16a34a;
}

.dashboard-status i.pendiente {
	color: #94a3b8;
}

.dashboard-dash {
	color: #94a3b8;
	font-size: 13px;
	font-weight: 700;
}

.dashboard-analisis-scroll {
	height: 230px;
}

.dashboard-analisis-table th.dashboard-region-col,
.dashboard-analisis-table td.dashboard-region-col {
	width: auto;
	max-width: 135px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dashboard-analisis-table th.dashboard-status,
.dashboard-analisis-table td.dashboard-status {
	width: 30px;
	min-width: 30px;
	text-align: center !important;
}

.dashboard-general-scroll {
	overflow-x: hidden;
	overflow-y: visible;
	border: 1px solid #edf1f5;
	display: inline-block;
	max-width: 100%;
}

.dashboard-general-table th:first-child,
.dashboard-general-table td:first-child {
	width: 190px;
	text-align: left !important;
}

.dashboard-general-table th {
	padding-top: 7px !important;
	padding-bottom: 8px !important;
}

.dashboard-general-table th:not(:first-child),
.dashboard-general-table td:not(:first-child) {
	width: auto;
	text-align: center !important;
}

.dashboard-general-table th.anio-sel,
.dashboard-general-table td.anio-sel,
.dashboard-general-table tbody td.dashboard-status.anio-sel {
	background: #eef1f4 !important;
}

.dashboard-general-table th.anio-sel {
	background: #dfe4e8 !important;
	color: #263238 !important;
	box-shadow: inset 0 -2px 0 #9aa6af;
}

@media (max-width: 1300px) {
	.dashboard-top {
		grid-template-columns: 1fr;
	}

	.dashboard-cards-row,
	.dashboard-kpis {
		grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	}

	.dashboard-data-grid {
		grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
	}
}

@media (max-width: 900px) {
	.dashboard-summary-area {
		grid-template-columns: 1fr;
	}

	.dashboard-summary-area .dashboard-cards-row {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	}

	.dashboard-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.dashboard-toolbar {
		width: 100%;
	}

	.dashboard-data-grid {
		grid-template-columns: 1fr;
	}

	.dashboard-panel-wide {
		grid-column: span 1;
	}
}

.esquema-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-left: auto;
	padding-top: 18px;
}

.esquema-footer-actions {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 4px 4px;
	border-top: 1px solid #e5eaf0;
	margin-top: 10px;
}

.esquema-footer-actions .esquema-actions {
	padding-top: 0;
}

.esquema-mode-toggle {
	display: flex;
	align-items: center;
	gap: 4px;
	padding-top: 18px;
}

.esquema-estado-toggle {
	padding-top: 0;
}

.esquema-estado-buttons {
	display: flex;
	align-items: center;
	gap: 0;
	padding-top: 1px;
}

.esquema-estado-buttons button {
	height: 27px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	padding: 0 9px;
	cursor: pointer;
}

.esquema-estado-buttons button:first-child {
	border-radius: 4px 0 0 4px;
}

.esquema-estado-buttons button:last-child {
	border-left: 0;
	border-radius: 0 4px 4px 0;
}

.esquema-estado-buttons button.active {
	background: #263238;
	border-color: #263238;
	color: #fff;
}

.esquema-estado-buttons button:disabled {
	cursor: wait;
	opacity: .65;
}

.esquema-mode-btn {
	width: 30px;
	height: 30px;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	background: #fff;
	color: #94a3b8;
	line-height: 28px;
	text-align: center;
	cursor: pointer;
}

.esquema-mode-btn.active {
	background: #263238;
	border-color: #263238;
	color: #fff;
}

.esquema-cambios {
	color: #64748b;
	font-size: 12px;
}

.esquema-card {
	min-width: 0;
	overflow: hidden;
}

.esquema-table-wrap {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	max-height: calc(100vh - 215px);
	overflow-x: auto;
	overflow-y: auto;
	padding: 4px;
	-webkit-overflow-scrolling: touch;
}

.esquema-table {
	width: max-content;
	min-width: max-content;
	border-collapse: collapse;
	table-layout: auto;
	font-size: 9px;
}

.esquema-check-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	font-weight: inherit;
	cursor: pointer;
}

.esquema-col-label {
	display: block;
	text-transform: lowercase;
}

.esquema-col-label-two-line {
	line-height: .9;
	text-transform: none;
	white-space: normal;
}

.esquema-check-toggle input {
	margin: 0;
	cursor: pointer;
	width: 12px;
	height: 12px;
}

.esquema-table th,
.esquema-table td {
	text-align: center;
	white-space: nowrap;
	padding: 1px 3px;
	line-height: 1.1;
	height: 18px;
}

.esquema-table th {
	position: sticky;
	top: 0;
	z-index: 6;
	font-size: 8px;
	background: #263238;
	color: #fff;
	text-transform: none !important;
}

.esquema-table th:not(.esquema-vacuna-col):not(.esquema-visible-col):not(.esquema-restore-cols-col):not(.esquema-atributo-col):not(.esquema-obs-col):not(.gasto-vacunas-population-groups-col):not(.gasto-vacunas-doses-col):not(.gasto-vacunas-price-col):not(.gasto-vacunas-total-col) {
	width: 30px;
	min-width: 30px;
	max-width: none;
	padding: 1px 3px;
	font-size: 8px;
}

.esquema-table .esquema-vacuna-col {
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 115px;
	max-width: 145px;
	text-align: left;
	white-space: normal;
	background: #fff;
	font-size: 11px;
	line-height: 1.15;
}

.esquema-table .esquema-visible-col {
	position: sticky;
	left: 0;
	z-index: 3;
	width: 20px;
	min-width: 20px;
	max-width: 20px;
	padding-left: 0 !important;
	padding-right: 0;
	background: #fff;
}

.esquema-table .esquema-restore-cols-col {
	width: 20px;
	min-width: 20px;
	max-width: 20px;
	padding-left: 0 !important;
	padding-right: 0;
	background: #fff;
}

.esquema-table .esquema-visible-col + .esquema-vacuna-col {
	left: 20px;
}

.esquema-table thead .esquema-vacuna-col {
	z-index: 8;
	background: #263238;
}

.esquema-table thead .esquema-visible-col {
	z-index: 9;
	background: #263238;
}

.esquema-table thead .esquema-restore-cols-col {
	background: #263238;
}

.esquema-table .esquema-atributo-col {
	width: 42px;
	min-width: 42px;
	max-width: 42px;
	text-align: center;
	padding-left: 2px !important;
	padding-right: 2px !important;
}

.esquema-table .esquema-obs-col {
	width: 32px;
	min-width: 32px;
	max-width: 32px;
	text-align: center;
	padding-left: 2px !important;
	padding-right: 2px !important;
}

.esquema-table thead .esquema-atributo-col,
.esquema-table thead .esquema-obs-col {
	background: #263238;
	color: #fff;
	font-size: 8px;
}

.esquema-atributo-col.ingreso {
	background: #dcfce7;
}

.esquema-atributo-col.cambio {
	background: #ffedd5;
}

.esquema-row-ingreso td,
.esquema-row-ingreso .esquema-vacuna-col,
.esquema-row-ingreso .esquema-visible-col {
	background: #dcfce7;
}

.esquema-row-cambio td,
.esquema-row-cambio .esquema-vacuna-col,
.esquema-row-cambio .esquema-visible-col {
	background: #ffedd5;
}

.esquema-row-sc .esquema-vacuna-col,
.esquema-row-sc .esquema-visible-col {
	background: #fff;
}

.esquema-icon-btn {
	width: 22px;
	height: 20px;
	border: 0;
	background: transparent;
	color: #64748b;
	padding: 0;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
}

.esquema-icon-btn:disabled {
	cursor: not-allowed;
	opacity: .55;
}

.esquema-atributo-col.ingreso .esquema-icon-btn {
	color: #15803d;
}

.esquema-atributo-col.cambio .esquema-icon-btn {
	color: #c2410c;
}

.esquema-obs-btn.has-obs {
	color: #2563eb;
}

.esquema-hidden-title {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	margin: 8px 0 5px;
}

.esquema-hidden-title-row td {
	background: #fff;
	border-left: 0;
	border-right: 0;
	text-align: left;
}

.esquema-obs-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, .18);
	z-index: 1040;
}

.esquema-obs-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 360px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border: 1px solid #dbe3ea;
	border-radius: 6px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
	z-index: 1041;
	overflow: hidden;
}

.esquema-obs-modal-head,
.esquema-obs-modal-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 10px;
	background: #f8fafc;
	border-bottom: 1px solid #e5eaf0;
}

.esquema-obs-modal-head button {
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
}

.esquema-obs-modal-body {
	padding: 10px;
}

.esquema-obs-vacuna {
	font-size: 12px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 6px;
}

.esquema-obs-modal textarea {
	width: 100%;
	min-height: 95px;
	resize: vertical;
	border: 1px solid #cbd5e1;
	border-radius: 5px;
	padding: 7px;
	font-size: 12px;
	box-shadow: none;
}

.esquema-obs-modal-foot {
	justify-content: flex-end;
	border-top: 1px solid #e5eaf0;
	border-bottom: 0;
}

.esquema-cell {
	width: 30px;
	min-width: 30px;
	max-width: none;
	padding-left: 3px;
	padding-right: 3px;
	cursor: pointer;
	font-size: 10px;
}

.esquema-cell:hover {
	background: #eef6ff;
}

.esquema-cell-mod {
	background: #fff7d6;
}

.esquema-table-view td {
	height: 26px;
}

.esquema-cell-view {
	background: #fff;
}

.esquema-table-view .esquema-row-ingreso .esquema-cell-view,
.esquema-table-view .esquema-row-ingreso .esquema-vacuna-col {
	background: #dcfce7;
}

.esquema-table-view .esquema-row-cambio .esquema-cell-view,
.esquema-table-view .esquema-row-cambio .esquema-vacuna-col {
	background: #ffedd5;
}

.esquema-cell-marked {
	background: #dc2626 !important;
}

.gasto-vacunas-table .gasto-vacunas-value-cell {
	background: #fff3bf !important;
	padding: 1px 2px;
	cursor: pointer;
}

.gasto-vacunas-table .gasto-vacunas-value-cell:hover {
	background: #ffe69c !important;
}

.gasto-vacunas-table tbody tr,
.gasto-vacunas-historico-table tbody tr {
	transition: background-color .15s ease;
}

.gasto-vacunas-table tbody tr:hover,
.gasto-vacunas-historico-table tbody tr:hover {
	filter: none;
	transform: none;
	box-shadow: none;
}

.gasto-vacunas-table tbody tr:hover > td,
.gasto-vacunas-historico-table tbody tr:hover > td {
	background: #e5e7eb !important;
}

.gasto-vacunas-table tbody td > span:hover,
.gasto-vacunas-historico-table tbody td > span:hover {
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.gasto-vacunas-table tbody td > .gasto-vacunas-value:hover {
	padding: 2px 4px;
}

.gasto-vacunas-table .gasto-vacunas-selected-cell {
	box-shadow: inset 0 0 0 2px #2563eb;
}

.gasto-vacunas-table .gasto-vacunas-modified-cell {
	background: #dbeafe !important;
}

.gasto-vacunas-table .gasto-vacunas-empty-cell {
	background: #fff !important;
}

.gasto-vacunas-table .esquema-vacuna-col {
	min-width: 150px;
	max-width: 190px;
}

.gasto-vacunas-table tbody .esquema-vacuna-col {
	background: #e8f5e9 !important;
}

.gasto-vacunas-table thead .esquema-vacuna-col {
	background: #1b5e20 !important;
	color: #fff;
}

.gasto-vacunas-table thead th {
	font-size: 10px !important;
}

.gasto-vacunas-table thead th:not(.esquema-vacuna-col):not(.gasto-vacunas-doses-col):not(.gasto-vacunas-price-col):not(.gasto-vacunas-total-col) {
	background: #17365d !important;
	color: #fff;
}

.gasto-vacunas-table .gasto-vacunas-population-groups-col {
	width: 54px;
	min-width: 54px;
}

.gasto-vacunas-two-line-heading {
	display: block;
	line-height: .9;
	white-space: normal;
}

.gasto-vacunas-table th.gasto-vacunas-doses-col {
	position: sticky;
	right: 142px;
	z-index: 7;
	width: 78px;
	min-width: 78px;
	background: #f7c996 !important;
	color: #713f12;
	text-align: center;
}

.gasto-vacunas-table td.gasto-vacunas-doses-col {
	position: sticky;
	right: 142px;
	z-index: 1;
	width: 78px;
	min-width: 78px;
	padding: 2px 6px;
	background: #fff1df !important;
	color: #713f12;
	font-weight: 700;
	text-align: right;
}

.gasto-vacunas-table th.gasto-vacunas-price-col {
	position: sticky;
	right: 78px;
	z-index: 8;
	width: 64px;
	min-width: 64px;
	background: #6a1b9a !important;
	color: #fff;
	text-align: center;
}

.gasto-vacunas-table td.gasto-vacunas-price-col {
	position: sticky;
	right: 78px;
	z-index: 2;
	width: 64px;
	min-width: 64px;
	padding: 2px 6px;
	background: #f3e5f5 !important;
	color: #263238;
	font-weight: 600;
	text-align: right;
}

.gasto-vacunas-table th.gasto-vacunas-total-col {
	position: sticky;
	right: 0;
	z-index: 9;
	width: 78px;
	min-width: 78px;
	background: #111 !important;
	color: #fff;
	text-align: center;
}

.gasto-vacunas-table td.gasto-vacunas-total-col {
	position: sticky;
	right: 0;
	z-index: 3;
	width: 78px;
	min-width: 78px;
	padding: 2px 6px;
	background: #f1f3f5 !important;
	color: #111;
	font-weight: 700;
	text-align: right;
}

.gasto-vacunas-table tfoot td {
	position: sticky;
	bottom: 0;
	z-index: 5;
	height: 30px;
	border-top: 3px solid transparent;
	background-clip: padding-box;
	font-size: 11px;
	font-weight: 700;
}

.gasto-vacunas-table tfoot td span:hover {
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.gasto-vacunas-table tfoot .esquema-vacuna-col {
	z-index: 7;
	background: #d8eadb !important;
	color: #1b5e20;
}

.gasto-vacunas-table tfoot .gasto-vacunas-grand-total-spacer {
	background: #e8edf2 !important;
}

.gasto-vacunas-table tfoot .gasto-vacunas-doses-col {
	background: #f3ddc3 !important;
}

.gasto-vacunas-table tfoot .gasto-vacunas-price-col {
	background: #e5d3e9 !important;
}

.gasto-vacunas-table tfoot .gasto-vacunas-total-col {
	z-index: 8;
	background: #d1d5db !important;
	color: #111;
	font-size: 11px;
}

.gasto-vacunas-value {
	position: relative;
	display: block;
	width: 50px;
	min-width: 50px;
	margin: 0 auto;
	padding: 2px 4px;
	color: #263238;
	font-size: 10px;
	line-height: 18px;
	text-align: right;
}

.gasto-vacunas-function-mark {
	position: absolute;
	left: 0;
	top: 0;
	color: #6d28d9;
	font-size: 9px;
	font-weight: 700;
}

.gasto-vacunas-config {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	margin: 8px 0;
	padding: 8px 10px;
	border: 1px solid #dbe3ec;
	border-radius: 4px;
	background: #f8fafc;
}

.gasto-vacunas-config-help {
	flex: 1;
	color: #64748b;
	font-size: 11px;
}

.gasto-vacunas-config-selection {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

.gasto-vacunas-config-target {
	display: flex;
	flex-direction: column;
	min-width: 150px;
	max-width: 240px;
	font-size: 10px;
}

.gasto-vacunas-config-target strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gasto-vacunas-config-selection label {
	margin: 0;
	color: #334155;
	font-size: 10px;
	font-weight: 600;
}

.gasto-vacunas-config-selection select {
	display: block;
	width: 280px;
	height: 26px;
	margin-top: 2px;
	font-size: 11px;
}

.gasto-vacunas-config-description {
	flex: 1;
	color: #64748b;
	font-size: 10px;
	line-height: 1.25;
}

.esquema-observaciones-foot {
	margin-top: 12px;
	border-top: 1px solid #e5eaf0;
	padding-top: 8px;
	width: 100%;
	max-width: 100%;
}

.esquema-observaciones-title {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 6px;
}

.esquema-observacion-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 5px 7px;
	border: 1px solid #e5eaf0;
	border-radius: 4px;
	margin-bottom: 5px;
	font-size: 11px;
	color: #334155;
	background: #fff;
}

.esquema-observacion-item.esquema-row-ingreso {
	background: #dcfce7;
}

.esquema-observacion-item.esquema-row-cambio {
	background: #ffedd5;
}

.esquema-observacion-item strong {
	flex: 0 0 120px;
	font-size: 11px;
	color: #0f172a;
}

.esquema-observacion-item span {
	flex: 1;
	white-space: normal;
}

.analisis-admin-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.analisis-admin-header h3 {
	margin: 0;
}

.analisis-admin-body {
	padding: 15px;
}

.analisis-admin-editor-wrap {
	width: 75%;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	overflow: hidden;
}

.analisis-admin-editor-wrap.analisis-documento {
	max-width: 918px;
}

.analisis-admin-editor-title {
	text-align: center;
	margin: 28px 40px 0;
	padding: 0 0 18px;
	color: #25265f;
}

.analisis-admin-editor-title h3 {
	font-size: 1rem;
	font-weight: 400;
	margin: 0 0 8px;
}

.analisis-admin-editor-title h2 {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0;
}

.analisis-admin-toolbar {
	display: flex;
	align-items: center;
	gap: 4px;
	position: sticky;
	top: 0;
	z-index: 20;
	padding: 8px 40px;
	border-top: 1px solid lightgrey;
	border-bottom: 1px solid #e5e7eb;
	background: #f8fafc;
}

.analisis-admin-toolbar button {
	min-width: 30px;
	height: 28px;
	border: 1px solid #d7dee7;
	border-radius: 5px;
	background: #fff;
	color: #344054;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.analisis-admin-toolbar button:hover {
	background: #eef2f7;
}

.analisis-admin-toolbar button:disabled,
.analisis-admin-toolbar-styles:disabled {
	cursor: not-allowed;
	opacity: .45;
}

.analisis-admin-toolbar-styles {
	width: 108px;
	height: 28px;
	margin-left: 6px;
	padding: 0 7px;
	border: 1px solid #d7dee7;
	border-radius: 5px;
	background: #ffffff;
	color: #344054;
	font-size: 12px;
	cursor: pointer;
}

.analisis-admin-toolbar .analisis-admin-toolbar-clean,
.analisis-admin-toolbar .analisis-admin-toolbar-table,
.analisis-admin-toolbar .analisis-admin-toolbar-format {
	width: auto;
	margin-left: 6px;
	padding: 0 10px;
}

.analisis-admin-toolbar .analisis-admin-toolbar-table + .analisis-admin-toolbar-format,
.analisis-admin-toolbar .analisis-admin-toolbar-format + .analisis-admin-toolbar-clean {
	margin-left: 0;
}

.analisis-admin-modebar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	width: 75%;
	max-width: 918px;
	margin: 0 auto 7px;
	padding: 0;
}

.analisis-admin-modebar button {
	width: 32px;
	min-width: 32px;
	height: 28px;
	padding: 0;
	border: 1px solid #d7dee7;
	border-radius: 5px;
	background: #fff;
	color: #64748b;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
}

.analisis-admin-modebar button:hover {
	background: #eef2f7;
}

.analisis-admin-modebar button.active {
	background: #263238;
	border-color: #263238;
	color: #fff;
}

.analisis-admin-editor {
	min-height: 320px;
	height: 55vh;
	max-height: 620px;
	padding: 24px 30px;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
	outline: none;
	background: #fff;
	overflow-y: auto;
	scrollbar-gutter: stable;
}

.analisis-admin-editor h1 {
	font-size: 1.2em;
	font-weight: 700;
	margin: 0 0 12px;
}

.analisis-admin-editor h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.analisis-admin-editor ul,
.analisis-admin-editor ol {
	padding-left: 24px;
	margin: 0 0 12px;
}

.analisis-admin-editor p {
	margin: 0 0 10px;
}

.analisis-admin-editor .analisis-tab-separator {
	display: inline-block;
	width: 28px;
	height: 1em;
	margin: 0 3px;
	border-bottom: 1px dotted #98a2b3;
	vertical-align: baseline;
}

.analisis-admin-editor .analisis-dato-destacado,
.analisis-admin-preview .analisis-dato-destacado {
	margin: 24px auto;
	padding: 14px 18px;
	max-width: 90%;
	border: 1px solid #dddddd;
}

.analisis-admin-editor .analisis-tabla,
.analisis-admin-preview .analisis-tabla {
	width: 100%;
	margin: 18px 0;
	border-collapse: collapse;
	font-size: 13px;
	line-height: 1.35;
}

.analisis-admin-editor .analisis-tabla td,
.analisis-admin-editor .analisis-tabla th,
.analisis-admin-preview .analisis-tabla td,
.analisis-admin-preview .analisis-tabla th {
	border: 1px solid #dddddd;
	padding: 6px 8px;
	vertical-align: top;
}

.analisis-admin-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 10px;
}

.analisis-admin-html-wrap {
	width: 75%;
	margin: 16px auto 0;
}

.analisis-admin-html-editor {
	min-height: 320px;
	height: 55vh !important;
	max-height: 620px;
	padding: 24px 30px;
	resize: none;
	font-family: Consolas, Monaco, monospace;
	font-size: 12px;
	line-height: 1.45;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #344054;
	background: #fff;
	outline: none;
	overflow-y: auto;
	scrollbar-gutter: stable;
}

.analisis-admin-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 15px 15px;
	border-top: 1px solid #e5eaf0;
}

.analisis-admin-preview-wrap {
	margin-top: 16px;
}

.analisis-admin-preview {
	width: 75%;
	min-height: 400px;
	margin: 18px auto 0;
	padding: 30px 40px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	color: #333;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 14px;
	line-height: 1.6;
}

.analisis-admin-preview h1 {
	font-size: 1.2em;
	font-weight: 700;
	margin: 0 0 12px;
}

.analisis-admin-preview-title {
	text-align: center;
	margin-bottom: 50px;
	border-bottom: 1px solid lightgrey;
	padding-bottom: 10px;
}

.analisis-admin-preview-title h3:first-child {
	font-size: 1rem;
	font-weight: 400;
	margin: 0 0 8px;
}

.analisis-admin-preview-title h3:last-child {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0;
}

.analisis-admin-preview-results {
	width: 100%;
	margin: 40px 0 15px;
	text-align: center;
}

.res-analisis-body {
	padding: 0 15px 15px 0;
}

.res-analisis-body-inner {
	width: 75%;
	max-width: 918px;
	margin: 0 auto;
}

.res-analisis-layout {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: start;
	gap: 15px;
}

.res-analisis-years {
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-top: 0;
}

.res-analisis-years button {
	height: 28px;
	width: 58px;
	border: 1px solid #cbd5e1;
	border-radius: 5px;
	background: #fff;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.res-analisis-years button:hover {
	background: #eef6ff;
	border-color: #94a3b8;
}

.res-analisis-years button.active {
	background: #263238;
	border-color: #263238;
	color: #fff;
}

.res-analisis-list {
	min-width: 0;
}

.res-analisis-anio {
	margin-bottom: 0;
}

.res-analisis-zona {
	margin: 0;
}

.res-analisis-item {
	margin: 0 0 14px;
	border: 1px solid #dbe3ea;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.res-analisis-item-head {
	padding: 8px 12px;
	border-bottom: 1px solid #e5eaf0;
	background: #f8fafc;
}

.res-analisis-seccion {
	color: #25265f;
	font-size: 14px;
	font-weight: 700;
}

.res-analisis-contenido {
	max-width: none;
	padding: 18px 24px 20px;
}

.res-analisis-contenido h1:first-child,
.res-analisis-contenido h2:first-child,
.res-analisis-contenido h3:first-child,
.res-analisis-contenido p:first-child {
	margin-top: 0 !important;
}

.analisis-admin-btn-tipo {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	position: relative;
	overflow: hidden;
	vertical-align: middle;
	-webkit-appearance: none;
	border: 1px solid #d0d0d0;
	outline: none !important;
	padding: 8px 12px;
	border-radius: 8px;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	line-height: 1.2;
	background: #f9f9f9;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	cursor: default;
	margin: 5px;
	z-index: 1;
}

.analisis-admin-empty {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	text-align: center;
	color: #64748b;
}

@media (max-width: 900px) {
	.analisis-admin-editor-wrap,
	.analisis-admin-html-wrap,
	.analisis-admin-preview {
		width: 100%;
	}

	.analisis-admin-editor {
		padding: 24px;
	}
}

.publicaciones-admin,
.publicaciones-admin table,
.publicaciones-admin .form-control,
.publicaciones-admin textarea,
.publicaciones-admin select,
.publicaciones-admin button {
	font-size: 12px;
}

.publicaciones-admin .gcClose {
	font-size: 20px;
	line-height: 1;
	padding: 0;
	opacity: .95;
}

.publicaciones-admin .gcClose:hover {
	opacity: 1;
}
.analisis-admin-toolbar.carga-bloqueada {
	pointer-events: none;
	opacity: .55;
}
