/**
 * Softnet Front — Design system centralizado (v1)
 *
 * Nuevo front ERP: informes (conso), maestros, componentes.
 * Cargar vía functions/softnet_front.php
 *
 * Legacy: css/report_informe_modern.css importa este archivo.
 */

html {
	scroll-behavior: smooth;
}

body.report-page-body {
	--rep-bg: #ffffff;
	--rep-bg-card: #ffffff;
	--rep-ink: #0b1220;
	--rep-muted: #64748b;
	--rep-sys-blue: #0081c5;
	--rep-sys-blue-hover: #0077b3;
	--rep-sys-blue-active: #006699;
	--rep-accent: #1e3a5f;
	--rep-accent-soft: rgba(30, 58, 95, 0.06);
	--rep-border: rgba(15, 23, 42, 0.1);
	--rep-radius: 12px;
	--rep-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	--rep-shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.08);

	margin: 0;
	min-height: 100vh;
	background: #ffffff !important;
	background-image: none !important;
	color: #1e293b;
	font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.report-page-body * {
	box-sizing: border-box;
}

body.report-page-body a.report-icon-btn--back,
body.report-page-body a.report-icon-btn--back:visited {
	color: #ffffff !important;
}

body.report-page-body button.report-icon-btn--maximize,
body.report-page-body a.report-icon-btn--maximize {
	color: var(--rep-sys-blue) !important;
}

body.report-page-body a {
	color: #1d4ed8;
}

body.report-page-body a:hover {
	color: #1e40af;
}

.report-informe-wrap {
	width: 90%;
	max-width: 100%;
	margin: 0 auto;
	padding: 28px 0 48px;
}

body.report-informe--maximized .report-informe-wrap {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 20px;
	padding-right: 20px;
}

.report-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.report-breadcrumb {
	font-size: 12px;
	font-weight: 500;
	color: var(--rep-muted);
	letter-spacing: 0.02em;
}

.report-bc-sep {
	color: #cbd5e1;
	margin: 0 6px;
}

.report-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
}

.report-icon-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--rep-border);
	background: var(--rep-bg-card);
	color: var(--rep-ink);
	box-shadow: var(--rep-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.report-icon-btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--rep-shadow-hover);
	border-color: #94a3b8;
	color: var(--rep-ink);
}

button.report-icon-btn {
	font-family: inherit;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.report-icon-btn--sheet {
	background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
	border-color: rgba(16, 185, 129, 0.35);
	color: #065f46;
}

.report-icon-btn--sheet:hover {
	border-color: #10b981;
	color: #064e3b;
}

.report-icon-btn--back {
	background: var(--rep-sys-blue);
	border-color: var(--rep-sys-blue);
	color: #ffffff !important;
	box-shadow: 0 1px 3px rgba(0, 129, 197, 0.35);
}

.report-icon-btn--back:hover {
	background: var(--rep-sys-blue-hover);
	border-color: var(--rep-sys-blue-hover);
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(0, 129, 197, 0.35);
}

.report-icon-btn--back:active {
	background: var(--rep-sys-blue-active);
	border-color: var(--rep-sys-blue-active);
}

.report-icon-btn--maximize {
	background: #ffffff;
	border-color: var(--rep-sys-blue);
	color: var(--rep-sys-blue) !important;
	box-shadow: 0 1px 3px rgba(0, 129, 197, 0.12);
}

.report-icon-btn--maximize:hover {
	background: rgba(0, 129, 197, 0.08);
	border-color: var(--rep-sys-blue-hover);
	color: var(--rep-sys-blue-hover) !important;
}

a.report-icon-btn--maximize:visited {
	color: var(--rep-sys-blue) !important;
}

.report-icon-btn--icononly {
	gap: 0;
	padding: 10px 12px;
	min-width: 44px;
	justify-content: center;
}

.report-icon-btn--icononly .report-icon-btn__svg {
	width: 22px;
	height: 22px;
}

.report-icon-btn--maximize .report-icon-btn__label {
	color: inherit !important;
}

#report-informe-graficos {
	scroll-margin-top: 20px;
}

.report-icon-btn--maximize .report-icon-btn__svg {
	fill: currentColor;
}

.report-icon-btn--back .report-icon-btn__label {
	color: #ffffff !important;
}

.report-icon-btn--back .report-icon-btn__svg {
	color: #ffffff;
	opacity: 1;
	fill: currentColor;
}

.report-icon-btn__svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.report-icon-btn__label {
	line-height: 1;
}

.report-header {
	margin-bottom: 24px;
	width: 100%;
}

.report-header h1 {
	margin: 0 0 10px 0;
	font-size: 32px;
	font-weight: 700;
	color: var(--rep-ink);
	letter-spacing: -0.035em;
	line-height: 1.15;
}

.report-sub {
	margin: 0 0 10px 0;
	font-size: 17px;
	color: var(--rep-muted);
	font-weight: 500;
}

.report-period {
	color: var(--rep-ink);
	font-weight: 700;
}

.report-note {
	margin: 0;
	width: 100%;
	max-width: none;
	font-size: 13px;
	color: #475569;
	line-height: 1.45;
	padding: 12px 18px;
	background: #f8fafc;
	border-radius: var(--rep-radius);
	border: 1px solid var(--rep-border);
	box-sizing: border-box;
}

.report-insight-section {
	margin-bottom: 24px;
}

.report-insight-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
	gap: 14px;
	margin-bottom: 0;
}

.report-insight-card {
	background: var(--rep-bg-card);
	border: 1px solid var(--rep-border);
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: var(--rep-shadow);
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 92px;
	justify-content: center;
}

.report-insight-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rep-muted);
}

.report-insight-value {
	font-size: 24px;
	font-weight: 800;
	color: var(--rep-ink);
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.report-insight-sub {
	font-size: 12px;
	font-weight: 600;
	color: var(--rep-muted);
	line-height: 1.3;
	word-break: break-word;
}

.report-insight-narrative {
	margin-top: 16px;
	padding: 18px 22px;
	background: #fafbfc;
	border: 1px solid var(--rep-border);
	border-radius: var(--rep-radius);
	border-left: 4px solid var(--rep-ink);
}

.report-insight-narrative-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--rep-ink);
	margin-bottom: 10px;
	letter-spacing: 0.02em;
}

.report-insight-narrative p {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #475569;
}

.report-insight-empty {
	padding: 20px;
	text-align: center;
	color: var(--rep-muted);
	font-weight: 500;
	border: 1px dashed var(--rep-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.6);
}

.report-data-card {
	background: var(--rep-bg-card);
	border: 1px solid var(--rep-border);
	border-radius: var(--rep-radius);
	box-shadow: var(--rep-shadow);
	overflow: hidden;
	margin-bottom: 32px;
}

.report-section-title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 12px 0;
	padding: 16px 16px 0;
	color: var(--rep-text, #1e293b);
}

.report-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: var(--rep-radius);
}

.report-data-table {
	width: 100%;
	min-width: 1020px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
}

.report-data-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	padding: 14px 10px;
	text-align: center;
	border-bottom: 2px solid #cbd5e1;
	white-space: nowrap;
}

.report-th--num {
	width: 48px;
}

.report-th--name {
	text-align: left !important;
	min-width: 200px;
	padding-left: 16px !important;
}

.report-th--total {
	min-width: 110px;
}

.report-data-row td {
	padding: 11px 10px;
	border-bottom: 1px solid var(--rep-border);
	font-variant-numeric: tabular-nums;
	vertical-align: middle;
	transition: background 0.12s ease;
}

.report-data-row:hover td {
	background: rgba(241, 245, 249, 0.95) !important;
}

.report-data-row--alt td {
	background: rgba(241, 245, 249, 0.65);
}

.report-data-row--section td {
	background: rgba(49, 106, 197, 0.08);
	border-bottom: 1px solid rgba(49, 106, 197, 0.2);
	font-weight: 600;
	color: var(--rep-text, #1e293b);
}

.report-cell-section {
	padding: 10px 12px;
	text-align: left;
}

.report-cell-section-sub {
	font-weight: 400;
	opacity: 0.85;
}

.report-cell-num {
	width: 48px;
	text-align: center;
	color: var(--rep-muted);
	font-size: 12px;
	font-weight: 700;
}

.report-cell-name {
	text-align: left;
	padding-left: 16px !important;
	color: var(--rep-ink);
	font-weight: 600;
	max-width: 260px;
}

.report-cell-val {
	text-align: right;
	font-size: 13px;
	color: #475569;
}

.report-cell-link {
	color: #1d4ed8 !important;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.report-cell-link:hover {
	border-bottom-color: #1d4ed8;
	text-decoration: none;
}

.report-cell-total {
	text-align: right;
	font-weight: 700;
	font-size: 13px;
	color: var(--rep-ink);
	background: #f8fafc;
	border-left: 1px solid var(--rep-border);
}

.report-cell-action {
	text-align: center;
	white-space: nowrap;
}

.report-detail-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border: 1px solid rgba(0, 129, 197, 0.35);
	border-radius: 8px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	background: rgba(0, 129, 197, 0.08);
	color: var(--rep-sys-blue);
	transition: background 0.15s ease, border-color 0.15s ease;
}

.report-detail-btn:hover {
	background: rgba(0, 129, 197, 0.14);
	border-color: var(--rep-sys-blue);
}

.report-cell-link--btn {
	display: inline;
	padding: 0;
	border: none;
	background: none;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
}

.report-chart-canvas--horizontal {
	min-height: 320px;
	height: auto;
}

.report-empty {
	text-align: center;
	padding: 48px 24px !important;
	color: var(--rep-muted);
	font-size: 15px;
	font-weight: 500;
}

/* Fila totales: texto oscuro siempre legible (evitar blanco sobre blanco) */
.report-tfoot-totals td {
	padding: 16px 10px;
	background: #e2e8f0 !important;
	color: #0f172a !important;
	font-weight: 700;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	border-top: 2px solid #0f172a;
}

.report-tfoot-label {
	text-align: left !important;
	padding-left: 16px !important;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #0f172a !important;
	background: #e2e8f0 !important;
}

.report-cell-val--foot,
.report-cell-total--foot {
	text-align: right !important;
	color: #0f172a !important;
	background: #e2e8f0 !important;
	font-weight: 700 !important;
	border-left: none;
}

.report-charts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

@media (min-width: 1000px) {
	.report-charts-grid--pair {
		grid-template-columns: 1fr 1fr;
	}
}

.report-chart-wide {
	margin-bottom: 8px;
}

.report-chart-card--mix {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.report-chart-canvas--doughnut {
	max-width: 440px;
	margin: 0 auto;
	height: 300px;
}

.report-chart-card {
	background: var(--rep-bg-card);
	border: 1px solid var(--rep-border);
	border-radius: var(--rep-radius);
	box-shadow: var(--rep-shadow);
	padding: 22px 20px 18px;
	position: relative;
}

.report-chart-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 20px;
	right: 20px;
	height: 2px;
	border-radius: 0 0 2px 2px;
	background: #0f172a;
	opacity: 0.9;
}

.report-chart-card h2 {
	margin: 8px 0 6px 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--rep-ink);
	letter-spacing: -0.02em;
}

.report-chart-hint {
	margin: 0 0 14px 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--rep-muted);
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
}

.report-chart-hint strong {
	color: var(--rep-ink);
	font-weight: 600;
}

.report-chart-title {
	margin: 0 0 8px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--rep-ink);
	letter-spacing: -0.01em;
}

.report-chart-canvas {
	position: relative;
	width: 100%;
	min-height: 300px;
	height: 300px;
}

.report-chart-canvas canvas {
	display: block;
	max-width: 100%;
	height: 100% !important;
}

/*
 * Modal: fixed + z-index máximo para vencer layouts/frames y corp.css
 * (evita position:absolute recortado al final del scroll).
 */
body.report-page-body #popup,
body.report-page-body #popup.report-modal-overlay {
	display: none;
	align-items: center;
	justify-content: center;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 24px 16px !important;
	box-sizing: border-box !important;
	overflow: auto !important;
	-webkit-overflow-scrolling: touch;
	background: rgba(15, 23, 42, 0.45) !important;
	background-image: none !important;
	z-index: 2147483000 !important;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

body.report-page-body #popupInterior,
body.report-page-body #popup .report-popup-panel {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	margin: auto !important;
	margin-left: auto !important;
	width: 90vw !important;
	max-width: 1600px !important;
	min-width: 280px !important;
	min-height: 0 !important;
	transform: none !important;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff !important;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
	border: 1px solid #e2e8f0;
	flex: 0 0 auto;
	display: flex !important;
	flex-direction: column !important;
}

/* ── Hub Ventas Consolidadas (m_v_conso) ── */

.report-conso-hub.report-informe-wrap {
	padding: 12px 0 28px;
}

.report-conso-hub .report-topbar {
	margin-bottom: 12px;
}

.report-conso-hub .report-header {
	margin-bottom: 16px;
}

.report-conso-hub .report-header h1 {
	font-size: 24px;
	margin-bottom: 4px;
}

.report-conso-hub .report-sub {
	font-size: 14px;
	margin-bottom: 0;
}

.report-conso-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-bottom: 16px;
	align-items: start;
}

@media (min-width: 780px) {
	.report-conso-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1180px) {
	.report-conso-grid--hub {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.report-conso-card--executive {
	grid-column: 1 / -1;
	border: 1px solid #316ac5;
	background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
}

.report-conso-card--executive .report-conso-card__badge {
	background: linear-gradient(135deg, #1e3a5f, #316ac5);
	color: #fff;
}

.report-conso-executive-note {
	font-size: 0.8125rem;
	color: var(--rep-text-muted, #64748b);
	margin: 0 0 12px;
	line-height: 1.45;
}

.report-conso-field--inline {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.report-conso-radio {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.875rem;
	cursor: pointer;
}

.report-conso-btn--executive {
	background: linear-gradient(135deg, #1e40af, #316ac5);
	border: none;
}

.report-conso-btn--executive:hover {
	background: linear-gradient(135deg, #152a45, #1e40af);
}

.report-conso-card {
	background: var(--rep-bg-card);
	border: 1px solid var(--rep-border);
	border-radius: 10px;
	box-shadow: var(--rep-shadow);
	overflow: hidden;
}

.report-conso-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--rep-border);
}

.report-conso-card:has(.report-period-presets--dropdown) {
	overflow: visible;
}

.report-conso-card--monthly .report-conso-card__head,
.report-conso-card--search .report-conso-card__head,
.report-conso-card--informes .report-conso-card__head {
	background: linear-gradient(180deg, rgba(0, 129, 197, 0.06) 0%, transparent 100%);
}

.report-conso-card--annual .report-conso-card__head {
	background: linear-gradient(180deg, rgba(30, 58, 95, 0.06) 0%, transparent 100%);
}

.report-conso-card--product .report-conso-card__head {
	background: linear-gradient(180deg, rgba(5, 150, 105, 0.06) 0%, transparent 100%);
}

.report-conso-card__title-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	flex: 1;
	min-width: 0;
}

.report-conso-card__badge {
	display: inline-block;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 2px 7px;
	border-radius: 4px;
	line-height: 1.3;
	flex-shrink: 0;
}

.report-conso-card--monthly .report-conso-card__badge,
.report-conso-card--search .report-conso-card__badge,
.report-conso-card--informes .report-conso-card__badge {
	color: var(--rep-sys-blue);
	background: rgba(0, 129, 197, 0.12);
}

.report-conso-card--annual .report-conso-card__badge {
	color: var(--rep-accent);
	background: rgba(30, 58, 95, 0.1);
}

.report-conso-card--product .report-conso-card__badge {
	color: #047857;
	background: rgba(5, 150, 105, 0.12);
}

.report-conso-card h2 {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--rep-ink);
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.report-conso-card__body {
	padding: 12px 14px 14px;
}

.report-conso-fields-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 10px;
}

.report-conso-field--full {
	grid-column: 1 / -1;
}

.report-conso-field {
	margin-bottom: 0;
}

/* Validación de formularios — SoftnetFormValidation */
.report-form-errors {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 8px;
	border: 1px solid #fecaca;
	border-left: 4px solid #ef4444;
	background: #fffbfb;
	color: #991b1b;
	animation: report-form-errors-in 0.22s ease-out;
}

@keyframes report-form-errors-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.report-form-errors[hidden] {
	display: none !important;
}

.report-form-errors__icon {
	flex: 0 0 auto;
	font-size: 18px;
	line-height: 1.2;
	margin-top: 1px;
	color: #ef4444;
}

.report-form-errors__title {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	color: #7f1d1d;
}

.report-form-errors__list {
	margin: 0;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.5;
	color: #991b1b;
}

.report-conso-field--invalid label {
	color: #dc2626;
}

.report-conso-field--invalid input,
.report-conso-field--invalid select,
.report-conso-field--invalid textarea {
	border-color: #ef4444 !important;
	background-color: #fff !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Campo teléfono: código país + número (reutilizable) */
.report-phone-field__row {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	background: #ffffff;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.report-phone-field__row:focus-within {
	border-color: var(--rep-sys-blue);
	box-shadow: 0 0 0 2px rgba(0, 129, 197, 0.12);
}

.report-conso-field--invalid.report-phone-field .report-phone-field__row {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.report-phone-field__row > select,
.report-phone-field__row > input[type="tel"],
.report-phone-field__row > input[type="text"] {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	min-height: 32px;
	margin: 0;
}

.report-phone-field__row > select {
	flex: 0 0 6.25rem;
	width: 6.25rem;
	min-width: 6.25rem;
	max-width: 7.5rem;
	padding-left: 8px;
	padding-right: 26px;
	border-right: 1px solid var(--rep-border) !important;
	background-color: #f8fafc;
	font-size: 13px;
}

.report-phone-field__row > select:focus {
	outline: none;
	box-shadow: none !important;
}

.report-phone-field__row > input[type="tel"],
.report-phone-field__row > input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	max-width: none;
	padding: 6px 10px;
	background: #ffffff;
}

.report-phone-field__row > input[type="tel"]:focus,
.report-phone-field__row > input[type="text"]:focus {
	outline: none;
	box-shadow: none !important;
}

.report-phone-field .report-conso-field__hint,
.report-phone-field .report-users-hint-inline {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--rep-muted);
	line-height: 1.4;
}

.report-conso-field label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	color: var(--rep-muted);
	margin-bottom: 3px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.report-conso-field input[type="date"],
.report-conso-field select,
.report-conso-field input[type="text"],
.report-conso-field input[type="tel"],
.report-conso-field input[type="time"],
.report-conso-field input[type="number"],
.report-conso-field input[type="password"] {
	width: 100%;
	max-width: 100%;
	padding: 6px 8px;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	color: var(--rep-ink);
	background: #ffffff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
	min-height: 32px;
}

.report-conso-field select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 28px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.24a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.08z' clip-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 14px;
	cursor: pointer;
}

.report-conso-field input[type="date"]:focus,
.report-conso-field select:focus,
.report-conso-field input[type="text"]:focus,
.report-conso-field input[type="tel"]:focus,
.report-conso-field input[type="time"]:focus,
.report-conso-field input[type="number"]:focus,
.report-conso-field input[type="password"]:focus {
	outline: none;
	border-color: var(--rep-sys-blue);
	box-shadow: 0 0 0 2px rgba(0, 129, 197, 0.12);
}

.report-conso-field input[readonly] {
	background: #f8fafc;
	color: var(--rep-ink);
	cursor: default;
}

.report-conso-field input:disabled,
.report-conso-field select:disabled {
	background: #f1f5f9;
	color: #94a3b8;
	cursor: not-allowed;
}

.report-conso-field input.report-date-field--invalid,
.report-conso-field input.report-date-field:invalid {
	border-color: #dc2626;
	box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.report-conso-actions {
	margin-top: 10px;
	padding-top: 0;
	border-top: none;
}

.report-conso-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	width: 100%;
	padding: 8px 14px;
	border: none;
	border-radius: 8px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	background: var(--rep-sys-blue);
	color: #ffffff;
	box-shadow: 0 1px 2px rgba(0, 129, 197, 0.3);
	transition: background 0.15s ease;
}

.report-conso-btn:hover {
	background: var(--rep-sys-blue-hover);
	transform: none;
	box-shadow: 0 1px 3px rgba(0, 129, 197, 0.35);
}

.report-conso-btn:active {
	background: var(--rep-sys-blue-active);
}

.report-conso-card--annual .report-conso-btn {
	background: var(--rep-accent);
	box-shadow: 0 1px 2px rgba(30, 58, 95, 0.3);
}

.report-conso-card--annual .report-conso-btn:hover {
	background: #152a45;
}

.report-conso-card--product .report-conso-btn {
	background: #059669;
	box-shadow: 0 1px 2px rgba(5, 150, 105, 0.3);
}

.report-conso-card--product .report-conso-btn:hover {
	background: #047857;
}

.report-conso-paso2-wrap {
	margin-top: 4px;
	margin-bottom: 12px;
}

.report-conso-paso2 {
	padding: 12px 14px;
	background: #f8fafc;
	border: 1px solid var(--rep-border);
	border-radius: 10px;
	box-shadow: var(--rep-shadow);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}

.report-conso-paso2__title {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--rep-ink);
	flex: 1 1 auto;
}

.report-conso-paso2__dates {
	margin: 0;
	font-size: 13px;
	color: var(--rep-muted);
	flex: 1 1 auto;
}

.report-conso-paso2__dates strong {
	color: var(--rep-ink);
	font-weight: 600;
}

.report-conso-paso2 .report-conso-btn {
	width: auto;
	flex-shrink: 0;
	background: var(--rep-accent);
}

.report-conso-paso2 .report-conso-btn:hover {
	background: #152a45;
}

body.report-page-body .ui-autocomplete {
	font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
	font-size: 13px;
	border-radius: 8px;
	border: 1px solid var(--rep-border);
	box-shadow: var(--rep-shadow-hover);
}

body.report-page-body .ui-widget {
	font-size: 13px;
}

/* —— Hub: overlay de carga al generar informe —— */
body.report-conso-loading-active {
	overflow: hidden;
}

.report-conso-loading {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.report-conso-loading.is-active {
	display: flex;
}

.report-conso-loading__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	animation: report-conso-loading-fade-in 0.25s ease-out;
}

.report-conso-loading__panel {
	position: relative;
	z-index: 1;
	min-width: 280px;
	max-width: 420px;
	padding: 32px 36px 28px;
	text-align: center;
	background: var(--rep-bg-card, #fff);
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 16px;
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
	animation: report-conso-loading-scale-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.report-conso-loading__spinner {
	position: relative;
	width: 56px;
	height: 56px;
	margin: 0 auto 20px;
}

.report-conso-loading__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #316ac5;
	border-right-color: rgba(49, 106, 197, 0.35);
	animation: report-conso-loading-spin 0.9s linear infinite;
}

.report-conso-loading__ring--inner {
	inset: 8px;
	border-top-color: #0ea5e9;
	border-right-color: rgba(14, 165, 233, 0.25);
	animation: report-conso-loading-spin 1.2s linear infinite reverse;
}

.report-conso-loading__text {
	margin: 0 0 8px;
	font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--rep-text, #0f172a);
}

.report-conso-loading__hint {
	margin: 0;
	font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
	font-size: 0.8125rem;
	color: var(--rep-text-muted, #64748b);
	animation: report-conso-loading-pulse 1.8s ease-in-out infinite;
}

@keyframes report-conso-loading-spin {
	to { transform: rotate(360deg); }
}

@keyframes report-conso-loading-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes report-conso-loading-scale-in {
	from {
		opacity: 0;
		transform: scale(0.92) translateY(8px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

@keyframes report-conso-loading-pulse {
	0%, 100% { opacity: 0.65; }
	50% { opacity: 1; }
}

.report-v-cliente-page {
	padding-bottom: 32px;
}

.report-v-cliente-page .report-header {
	margin-bottom: 14px;
}

.report-v-cliente-search__form {
	margin: 0;
}

.report-v-cliente-search__row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: end;
}

@media (max-width: 640px) {
	.report-v-cliente-search__row {
		grid-template-columns: 1fr;
	}
}

.report-v-cliente-search__field {
	margin: 0;
	position: relative;
}

.report-v-cliente-search__field--combo #rut_cliente {
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px 18px;
}

.report-v-cliente-search__actions {
	display: flex;
	align-items: flex-end;
}

/* Hero 360 — mismo lenguaje que report-empresa-hero (fondo claro) */
.report-v-cliente-hero.report-empresa-hero {
	margin-bottom: 16px;
	background: linear-gradient(135deg, #ffffff 0%, rgba(0, 129, 197, 0.05) 100%);
	border-color: rgba(0, 129, 197, 0.16);
}

.report-v-cliente-hero__icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(0, 129, 197, 0.1);
	color: var(--rep-sys-blue);
	font-size: 22px;
}

.report-v-cliente-hero__badge {
	margin-bottom: 8px;
}

.report-v-cliente-hero__form {
	margin: 0;
	display: inline;
}

.report-v-cliente-hero__toolbar {
	flex-shrink: 0;
}

.report-v-cliente-kpis {
	margin-bottom: 16px;
}

.report-v-cliente-relacion {
	margin-bottom: 14px;
}

.report-v-cliente-relacion__head {
	margin-bottom: 10px;
}

.report-v-cliente-relacion__head h2 {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: var(--rep-ink, #0f172a);
}

.report-v-cliente-relacion__head p {
	margin: 0;
	font-size: 13px;
	color: var(--rep-muted, #64748b);
}

.report-insight-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 900px) {
	.report-insight-grid--3 {
		grid-template-columns: 1fr;
	}
}

.report-insight-card--loyalty {
	border-left: 3px solid #7c3aed;
}

.report-v-cliente-visualize {
	display: grid;
	grid-template-columns: 1.35fr 0.85fr;
	gap: 16px 20px;
	align-items: start;
	margin-bottom: 16px;
	padding: 18px 20px;
	border-radius: 14px;
	background: linear-gradient(135deg, #4a6478 0%, #5f7d92 52%, #7391a3 100%);
	color: #e2e8f0;
	border: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 820px) {
	.report-v-cliente-visualize {
		grid-template-columns: 1fr;
	}
}

.report-v-cliente-visualize__badge {
	display: inline-flex;
	margin-bottom: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(251, 191, 36, 0.18);
	color: #fcd34d;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.report-v-cliente-visualize__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.report-v-cliente-visualize__lead {
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 1.55;
	color: #cbd5e1;
}

.report-v-cliente-visualize__lead strong {
	color: #fff;
}

.report-v-cliente-visualize__perks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.report-v-cliente-visualize__perks li {
	position: relative;
	padding: 3px 0 3px 16px;
	font-size: 12px;
	line-height: 1.45;
	color: #e2e8f0;
}

.report-v-cliente-visualize__perks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fcd34d;
}

.report-v-cliente-visualize__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: stretch;
}

.report-v-cliente-visualize__price {
	margin: 0 0 4px;
	font-size: 12px;
	color: #dbeafe;
	text-align: center;
}

.report-v-cliente-visualize__price-value {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
}

.report-v-cliente-visualize__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
}

.report-v-cliente-visualize__btn--primary {
	background: #fbbf24;
	color: #1e293b;
}

.report-v-cliente-visualize__btn--primary:hover {
	background: #f59e0b;
	color: #0f172a;
}

.report-v-cliente-visualize__btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	background: transparent;
}

.report-v-cliente-visualize__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.report-insight-card--sales {
	border-left: 3px solid #059669;
}

.report-insight-card--warn {
	border-left: 3px solid #d97706;
}

.report-insight-card--neutral {
	border-left: 3px solid var(--rep-sys-blue);
}

.report-v-cliente-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 900px) {
	.report-v-cliente-grid {
		grid-template-columns: 1fr;
	}
}

/* Autocompletado buscador cliente */
.report-v-cliente-search.report-conso-card,
.report-v-cliente-search .report-conso-card__body {
	overflow: visible;
}

.report-v-cliente-ac-panel {
	margin: 0;
	padding: 6px 0;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
	overflow-x: hidden;
	overflow-y: auto;
}

.report-v-cliente-ac-panel--floating {
	position: fixed;
	z-index: 10050;
}

.report-v-cliente-ac-panel__loading,
.report-v-cliente-ac-panel__empty {
	padding: 12px 14px;
	font-size: 13px;
	color: var(--rep-muted, #64748b);
}

.report-v-cliente-ac__option {
	display: block;
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	border: 0;
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
	background: #fff;
	text-align: left;
	cursor: pointer;
	font: inherit;
	line-height: 1.35;
}

.report-v-cliente-ac__option:last-child {
	border-bottom: none;
}

.report-v-cliente-ac__option:hover,
.report-v-cliente-ac__option.is-active {
	background: rgba(0, 129, 197, 0.08);
}

.report-v-cliente-ac__rut {
	display: block;
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--rep-accent, #0081c5);
	letter-spacing: 0.02em;
	margin-bottom: 3px;
}

.report-v-cliente-ac__name {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--rep-ink, #0f172a);
	line-height: 1.4;
	word-break: break-word;
}

.report-v-cliente-ac__fantasia {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 500;
	color: var(--rep-muted, #64748b);
	line-height: 1.35;
	word-break: break-word;
}

.report-period-presets--inline,
.report-v-cliente-period {
	margin-bottom: 14px;
}

.report-period-presets--dropdown {
	position: relative;
	flex-shrink: 0;
	margin-bottom: 0;
}

.report-period-presets__label,
.report-v-cliente-period__label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--rep-muted, #64748b);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.report-period-presets__btns,
.report-v-cliente-period__presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.report-period-presets__btn,
.report-v-cliente-period__preset {
	padding: 7px 12px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 999px;
	background: #fff;
	color: #334155;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}

.report-period-presets__btn:hover,
.report-v-cliente-period__preset:hover {
	border-color: var(--rep-accent, #0081c5);
	color: var(--rep-accent, #0081c5);
}

.report-period-presets__btn.is-active,
.report-v-cliente-period__preset.is-active {
	background: rgba(0, 129, 197, 0.08);
	border-color: rgba(0, 129, 197, 0.45);
	color: var(--rep-accent, #0081c5);
}

.report-period-presets__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 8px;
	background: #fff;
	color: var(--rep-muted, #64748b);
	font: inherit;
	cursor: pointer;
	transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.report-period-presets__trigger:hover,
.report-period-presets--dropdown.is-open .report-period-presets__trigger {
	border-color: var(--rep-accent, #0081c5);
	color: var(--rep-accent, #0081c5);
	background: rgba(0, 129, 197, 0.06);
	box-shadow: 0 2px 8px rgba(0, 129, 197, 0.12);
}

.report-period-presets__trigger-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.report-period-presets__icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.report-period-presets__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 30;
	min-width: 172px;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.report-period-presets__item {
	display: block;
	width: 100%;
	padding: 8px 12px;
	border: none;
	border-radius: 6px;
	background: transparent;
	text-align: left;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease;
}

.report-period-presets__item:hover {
	background: #f1f5f9;
	color: var(--rep-accent, #0081c5);
}

.report-period-presets__item.is-active {
	background: rgba(0, 129, 197, 0.08);
	color: var(--rep-accent, #0081c5);
}

.report-v-fechas-card__hint {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--rep-muted, #64748b);
	min-height: 2.9em;
}

.report-v-fechas-grid {
	grid-template-columns: 1fr;
	align-items: stretch;
}

@media (min-width: 780px) {
	.report-v-fechas-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.report-v-fechas-grid .report-conso-card--opc3 {
		grid-column: 1;
		max-width: 100%;
	}
}

.report-v-fechas-grid .report-conso-card {
	display: flex;
	flex-direction: column;
	min-height: 320px;
	height: 100%;
}

.report-v-fechas-hub .report-conso-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.report-v-fechas-hub .report-conso-card form {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.report-v-fechas-hub .report-conso-fields-grid {
	flex: 1;
	align-content: start;
}

.report-v-fechas-hub .report-conso-actions {
	margin-top: auto;
	padding-top: 12px;
}

.report-v-cliente-kpi-strip .report-venta8-kpi-strip__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.report-v-cliente-kpi-strip .report-venta8-kpi-strip__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.report-v-cliente-kpi-strip .report-venta8-kpi-strip__grid {
		grid-template-columns: 1fr;
	}
}

.report-v-cliente-kpi-strip {
	margin-top: 0;
	margin-bottom: 16px;
}

.report-v-cliente-kpi-strip .report-venta8-kpi-strip__head {
	align-items: flex-start;
}

.report-v-cliente-kpi-strip .report-v-cliente-relacion__head h2 {
	margin: 0;
}

.report-v-cliente-kpi-strip .report-v-cliente-relacion__head p {
	margin: 4px 0 0;
	font-size: 12px;
	font-weight: 500;
	color: var(--rep-muted, #64748b);
}

body.report-v-cliente-kpi-open {
	overflow: hidden;
}

.report-v-cliente-contactos {
	margin-top: 16px;
}

.report-v-cliente-contactos__scroll {
	overflow-x: auto;
}

.report-v-cliente-contactos__table {
	min-width: 720px;
}

.report-v-cliente-contactos__table .report-td--center {
	text-align: center;
}

/* ── Churn y Revenue Retention (m_churn_retention) ── */

.report-churn-page {
	padding-bottom: 32px;
}

.report-churn-note {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rep-muted, #64748b);
}

.report-churn-note strong {
	color: var(--rep-text, #1e293b);
	font-weight: 600;
}

.report-churn-kpis {
	margin-bottom: 16px;
}

.report-churn-card {
	margin-bottom: 16px;
}

.report-churn-scroll {
	overflow-x: auto;
}

.report-churn-table--wide {
	min-width: 1100px;
}

.report-churn-table .report-td--num,
.report-churn-table .report-th--num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.report-td--yoy {
	vertical-align: middle;
}

.report-yoy-value {
	display: block;
	font-weight: 500;
}

.report-yoy-delta {
	display: inline-block;
	margin-top: 3px;
	padding: 1px 6px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.report-yoy-delta--good {
	background: #dcfce7;
	color: #166534;
}

.report-yoy-delta--bad {
	background: #fee2e2;
	color: #991b1b;
}

.report-yoy-delta--flat {
	background: #f1f5f9;
	color: #64748b;
}

.report-yoy-delta--base {
	background: transparent;
	color: #94a3b8;
	font-weight: 500;
}

.report-yoy-leyenda {
	margin-bottom: 10px;
}

.report-yoy-leyenda .report-yoy-delta {
	margin-right: 4px;
}

.report-anio-parcial-badge {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 6px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	background: #fef3c7;
	color: #92400e;
	vertical-align: middle;
}

.report-data-row--parcial {
	background: rgba(254, 243, 199, 0.25);
}

.report-anio-proyeccion-badge {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 6px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	background: #dbeafe;
	color: #1d4ed8;
	vertical-align: middle;
}

.report-data-row--proyeccion {
	background: rgba(219, 234, 254, 0.35);
}

.report-cohorte-resumen {
	margin-bottom: 20px;
}

.report-cohorte-legend {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
	margin: 0 0 14px 0;
}

.report-cohorte-legend__item {
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid var(--rep-border, #e2e8f0);
	background: #fff;
	font-size: 12px;
	line-height: 1.5;
	color: var(--rep-muted, #475569);
}

.report-cohorte-legend__item--acum {
	border-color: #bfdbfe;
	background: rgba(219, 234, 254, 0.25);
}

.report-cohorte-legend__tag {
	display: inline-block;
	margin: 0 6px 0 0;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--rep-ink, #0f172a);
}

.report-cohorte-link {
	color: var(--rep-accent, #0081c5);
	text-decoration: none;
	font-weight: 700;
}

.report-cohorte-link:hover {
	text-decoration: underline;
}

.report-cohorte-row--sel td {
	background: rgba(0, 129, 197, 0.08);
}

.report-cohorte-picker {
	margin: 16px 0 12px;
}

.report-cohorte-picker .report-saas-filtros__field {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
}

.softnet-cohorte-si {
	color: #059669;
	font-weight: 600;
}

.softnet-cohorte-no {
	color: #dc2626;
	font-weight: 600;
}

.report-td--evol small {
	color: var(--rep-muted);
	line-height: 1.45;
}

.report-cohorte-open-btn {
	padding: 6px 12px !important;
	font-size: 12px !important;
	white-space: nowrap;
}

body.report-cohorte-modal-open {
	overflow: hidden;
}

.report-cohorte-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.report-cohorte-modal.is-open {
	display: flex;
}

.report-cohorte-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.report-cohorte-modal__panel {
	position: relative;
	z-index: 1;
	width: min(96vw, 1400px);
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	border: 1px solid var(--rep-border, #e2e8f0);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.report-cohorte-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--rep-border, #e2e8f0);
	background: #f8fafc;
}

.report-cohorte-modal__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--rep-ink, #0f172a);
}

.report-cohorte-modal__close {
	border: none;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
	padding: 0 4px;
}

.report-cohorte-modal__close:hover {
	color: #0f172a;
}

.report-cohorte-modal__body {
	padding: 16px 20px 20px;
	overflow: auto;
	flex: 1 1 auto;
	min-height: 0;
}

.report-cohorte-modal-scroll {
	max-height: none;
}

.report-td--actual {
	background: rgba(254, 243, 199, 0.2);
}

.report-cohorte-detalle .report-td--evol strong {
	color: var(--rep-ink, #0f172a);
}

.report-cohorte-table thead th {
	white-space: normal;
	vertical-align: bottom;
}

.report-cohorte-table .report-th--stack {
	min-width: 92px;
	max-width: 130px;
	padding: 10px 8px 12px;
	text-align: right;
	line-height: 1.25;
}

.report-cohorte-table .report-th--stack .report-th__label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: var(--rep-ink, #0f172a);
	text-transform: none;
	letter-spacing: 0;
}

.report-cohorte-table .report-th__hint {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--rep-muted, #64748b);
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
}

.report-cohorte-head-group th {
	padding: 8px 10px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	color: var(--rep-muted, #64748b);
	background: rgba(241, 245, 249, 0.9);
	border-bottom: 1px solid var(--rep-border, #e2e8f0);
}

.report-th--group-acum {
	background: rgba(219, 234, 254, 0.45) !important;
	color: #1e40af !important;
}

.report-th--group-action {
	width: 96px;
}

.report-th--acum,
.report-td--acum {
	background: rgba(219, 234, 254, 0.35);
}

.report-cohorte-table thead .report-th--acum {
	background: rgba(219, 234, 254, 0.55);
}

.report-cohorte-table--wide {
	min-width: 1280px;
}

.report-cohorte-table .report-td--num:first-child {
	text-align: left;
	font-weight: 700;
	position: sticky;
	left: 0;
	z-index: 1;
	background: inherit;
	box-shadow: 1px 0 0 var(--rep-border, #e2e8f0);
}

.report-cohorte-table thead .report-th--stack:first-child {
	text-align: left;
	position: sticky;
	left: 0;
	z-index: 2;
	background: #fff;
	box-shadow: 1px 0 0 var(--rep-border, #e2e8f0);
}

.report-cohorte-table thead .report-cohorte-head-group th:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
	background: rgba(241, 245, 249, 0.98);
}

.report-cohorte-acum-banner {
	margin: 0 0 12px 0;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #bfdbfe;
	background: linear-gradient(135deg, #fff 0%, rgba(219, 234, 254, 0.45) 100%);
	font-size: 13px;
	line-height: 1.55;
	color: var(--rep-muted, #475569);
}

.report-cohorte-acum-banner strong {
	color: var(--rep-ink, #0f172a);
}

.report-cohorte-delta {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.report-cohorte-delta--pos {
	color: #059669;
}

.report-cohorte-delta--neg {
	color: #dc2626;
}

.report-cohorte-delta--flat {
	color: #64748b;
}

/* ── Executive Business Health Report v1.0 ── */

.exec-health-hero {
	margin: 0 0 18px 0;
	padding: 22px 24px 20px;
	border-radius: 16px;
	border: 1px solid #bfdbfe;
	background: linear-gradient(135deg, #ffffff 0%, #eff6ff 45%, rgba(0, 129, 197, 0.08) 100%);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.exec-health-hero__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.exec-health-hero__version {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.exec-health-hero__source {
	font-size: 11px;
	font-weight: 600;
	color: var(--rep-muted, #64748b);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.exec-health-hero__title {
	margin: 0 0 8px 0;
	font-size: 28px;
	line-height: 1.15;
	font-weight: 800;
	color: var(--rep-ink, #0f172a);
	letter-spacing: -0.02em;
}

.exec-health-hero__sub {
	margin: 0;
	font-size: 14px;
	color: var(--rep-muted, #475569);
}

.exec-health-hero__note {
	margin: 10px 0 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--rep-muted, #64748b);
}

.exec-health-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 20px 0;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--rep-border, #e2e8f0);
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 20;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.exec-health-nav__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rep-muted, #64748b);
}

.exec-health-nav__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.exec-health-nav__link {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(0, 129, 197, 0.08);
	color: var(--rep-accent, #0081c5);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.exec-health-nav__link:hover {
	background: rgba(0, 129, 197, 0.16);
	color: #0369a1;
}

.exec-health-glossary {
	margin: 0 0 18px 0;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.exec-health-glossary__summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	padding: 12px 16px;
	cursor: pointer;
	list-style: none;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border-bottom: 1px solid transparent;
}

.exec-health-glossary[open] .exec-health-glossary__summary {
	border-bottom-color: #e2e8f0;
	background: #f8fafc;
}

.exec-health-glossary__summary::-webkit-details-marker {
	display: none;
}

.exec-health-glossary__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--rep-accent, #0081c5);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.exec-health-glossary__title {
	font-size: 13px;
	font-weight: 700;
	color: var(--rep-ink, #0f172a);
}

.exec-health-glossary__hint {
	font-size: 12px;
	color: var(--rep-muted, #64748b);
}

.exec-health-glossary__body {
	padding: 14px 16px 16px;
}

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

.exec-health-glossary__item {
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #fafafa;
}

.exec-health-glossary__term {
	margin: 0 0 4px 0;
	font-size: 13px;
	color: var(--rep-accent, #0081c5);
}

.exec-health-glossary__def {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--rep-muted, #475569);
}

.exec-health-term {
	cursor: help;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 3px;
	text-decoration-color: rgba(0, 129, 197, 0.55);
	border-bottom: none;
}

.exec-health-section {
	margin-bottom: 20px;
}

.exec-health-section__sub {
	margin: 4px 0 0 0;
	font-size: 13px;
	color: var(--rep-muted, #64748b);
	font-weight: 500;
}

.exec-health-guide {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
	margin: 0 0 18px 0;
	padding: 12px;
	border-radius: 12px;
	background: rgba(241, 245, 249, 0.65);
	border: 1px solid var(--rep-border, #e2e8f0);
}

.exec-health-guide__label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rep-accent, #0081c5);
	margin-bottom: 4px;
}

.exec-health-guide__text {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--rep-muted, #475569);
}

.exec-health-summary {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 16px;
	padding: 16px;
	border-radius: 14px;
	border: 1px solid var(--rep-border, #e2e8f0);
	margin-bottom: 16px;
}

.exec-health-summary--positive {
	border-color: #86efac;
	background: linear-gradient(135deg, #fff 0%, rgba(220, 252, 231, 0.5) 100%);
}

.exec-health-summary--neutral {
	border-color: #cbd5e1;
	background: linear-gradient(135deg, #fff 0%, rgba(241, 245, 249, 0.8) 100%);
}

.exec-health-summary--warning {
	border-color: #fcd34d;
	background: linear-gradient(135deg, #fff 0%, rgba(254, 243, 199, 0.45) 100%);
}

.exec-health-summary--critical {
	border-color: #fca5a5;
	background: linear-gradient(135deg, #fff 0%, rgba(254, 226, 226, 0.45) 100%);
}

.exec-health-summary__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.exec-health-summary__score-val {
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	color: var(--rep-ink, #0f172a);
}

.exec-health-summary__score-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--rep-muted, #64748b);
	margin-top: 4px;
}

.exec-health-summary__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
}

.exec-health-summary__col-label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--rep-muted, #64748b);
}

.exec-health-summary__col-val {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--rep-ink, #0f172a);
	margin-top: 2px;
}

.exec-health-summary__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 12px;
}

.exec-health-summary__split h3 {
	margin: 0 0 8px 0;
	font-size: 13px;
}

.exec-health-metric-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.exec-health-metric {
	padding: 12px;
	border-radius: 10px;
	border: 1px solid var(--rep-border, #e2e8f0);
	background: #fff;
}

.exec-health-metric__label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: var(--rep-muted, #64748b);
}

.exec-health-metric__value {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink, #0f172a);
	margin-top: 4px;
}

.exec-health-metric__sub {
	display: block;
	font-size: 10px;
	color: var(--rep-muted, #94a3b8);
	margin-top: 2px;
}

.exec-health-conclusion {
	padding: 12px 14px;
	border-radius: 10px;
	margin-bottom: 14px;
	font-size: 13px;
	line-height: 1.55;
	border-left: 4px solid var(--rep-accent, #0081c5);
	background: rgba(0, 129, 197, 0.06);
	color: var(--rep-muted, #475569);
}

.exec-health-conclusion--positive {
	border-left-color: #059669;
	background: rgba(5, 150, 105, 0.08);
}

.exec-health-conclusion--warning {
	border-left-color: #d97706;
	background: rgba(217, 119, 6, 0.08);
}

.exec-health-alerts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px;
}

.exec-health-alert {
	padding: 14px;
	border-radius: 12px;
	border: 1px solid var(--rep-border, #e2e8f0);
	background: #fff;
}

.exec-health-alert--risk.exec-health-alert--alta {
	border-color: #fca5a5;
	background: rgba(254, 226, 226, 0.25);
}

.exec-health-alert--risk.exec-health-alert--media {
	border-color: #fcd34d;
	background: rgba(254, 243, 199, 0.25);
}

.exec-health-alert--opp.exec-health-alert--urgente,
.exec-health-alert--opp.exec-health-alert--reactivar {
	border-color: #86efac;
	background: rgba(220, 252, 231, 0.35);
}

.exec-health-alert__title {
	margin: 0 0 6px 0;
	font-size: 14px;
	color: var(--rep-ink, #0f172a);
}

.exec-health-alert__text {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--rep-muted, #475569);
}

.exec-health-alert__action {
	margin: 8px 0 0 0;
	font-size: 12px;
	color: var(--rep-ink, #0f172a);
}

.exec-health-client-panels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.exec-health-client-panels h3 {
	margin: 0 0 8px 0;
	font-size: 13px;
}

.exec-health-client-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.exec-health-client-list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--rep-border, #e2e8f0);
	font-size: 12px;
}

.exec-health-client-list__meta {
	display: block;
	color: var(--rep-muted, #64748b);
	font-size: 11px;
	margin-top: 2px;
}

.exec-health-empty {
	font-size: 12px;
	color: var(--rep-muted, #94a3b8);
	font-style: italic;
}

.exec-health-nested {
	margin-top: 8px;
}

.exec-health-nested > .report-conso-card,
.exec-health-nested > .report-saas-interpret,
.exec-health-nested > section.report-conso-card {
	margin-top: 14px;
	border-radius: 12px;
	box-shadow: none;
}

.exec-health-subblock {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px dashed var(--rep-border, #e2e8f0);
}

.exec-health-subblock__title {
	margin: 0 0 10px 0;
	font-size: 15px;
	color: var(--rep-ink, #0f172a);
}

@media (max-width: 768px) {
	.exec-health-summary {
		grid-template-columns: 1fr;
	}
	.exec-health-summary__split {
		grid-template-columns: 1fr;
	}
}

.exec-health-veredicto {
	margin: 0 0 18px 0;
	padding: 18px 20px;
	border-radius: 14px;
	border: 1px solid var(--rep-border, #e2e8f0);
	background: #fff;
}

.exec-health-veredicto--positive {
	border-color: #86efac;
	background: linear-gradient(135deg, #fff 0%, rgba(220, 252, 231, 0.55) 100%);
}

.exec-health-veredicto--warning {
	border-color: #fcd34d;
	background: linear-gradient(135deg, #fff 0%, rgba(254, 243, 199, 0.5) 100%);
}

.exec-health-veredicto--critical {
	border-color: #fca5a5;
	background: linear-gradient(135deg, #fff 0%, rgba(254, 226, 226, 0.45) 100%);
}

.exec-health-veredicto__label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0369a1;
	margin-bottom: 10px;
}

.exec-health-veredicto__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--rep-ink, #0f172a);
	font-weight: 500;
}

.exec-health-veredicto__contexto {
	margin: 12px 0 0 0;
	padding-top: 12px;
	border-top: 1px dashed rgba(15, 23, 42, 0.12);
	font-size: 13px;
	line-height: 1.55;
	color: var(--rep-muted, #475569);
	font-style: italic;
}

.exec-health-tecnico {
	margin: 0 0 16px 0;
	border: 1px solid #94a3b8;
	border-radius: 10px;
	background: #f8fafc;
	overflow: hidden;
}

.exec-health-tecnico[open] {
	border-color: var(--rep-accent, #0081c5);
	box-shadow: 0 2px 8px rgba(0, 129, 197, 0.12);
}

.exec-health-tecnico__summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
	list-style: none;
	background: #f1f5f9;
}

.exec-health-tecnico[open] .exec-health-tecnico__summary {
	background: #e0f2fe;
	color: #0c4a6e;
}

.exec-health-tecnico__summary::-webkit-details-marker {
	display: none;
}

.exec-health-tecnico__chevron {
	display: inline-block;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid currentColor;
	transition: transform 0.15s ease;
	flex-shrink: 0;
}

.exec-health-tecnico[open] .exec-health-tecnico__chevron {
	transform: rotate(90deg);
}

.exec-health-tecnico__label {
	flex: 1;
}

.exec-health-tecnico__body {
	padding: 12px 14px 14px;
	border-top: 1px solid #e2e8f0;
	background: #fff;
}

.exec-health-tecnico .exec-health-guide {
	margin-bottom: 0;
}

/* ── Ingreso neto retenido (gráfico destacado) ── */

.exec-retained-revenue {
	margin: 0 0 24px;
	padding: 20px 22px;
	background: linear-gradient(165deg, #f8fafc 0%, #ecfdf5 42%, #ffffff 100%);
	border: 1px solid #a7f3d0;
	border-radius: 14px;
	box-shadow: 0 4px 18px rgba(5, 150, 105, 0.08);
}

.exec-retained-revenue__head {
	margin-bottom: 16px;
}

.exec-retained-revenue__badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: #059669;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.exec-retained-revenue__title {
	margin: 10px 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
}

.exec-retained-revenue__sub {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #475569;
	max-width: 720px;
}

.exec-retained-revenue__summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 14px;
}

.exec-retained-revenue__summary--positive {
	border-left: 4px solid #059669;
	padding-left: 12px;
}

.exec-retained-revenue__summary--warning {
	border-left: 4px solid #d97706;
	padding-left: 12px;
}

.exec-retained-revenue__kpi {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px 14px;
}

.exec-retained-revenue__kpi-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #64748b;
	margin-bottom: 4px;
}

.exec-retained-revenue__kpi-value {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
}

.exec-retained-revenue__kpi-sub {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
	line-height: 1.35;
}

.exec-retained-revenue__lead {
	margin: 0 0 18px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.exec-retained-revenue__lead--positive {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.exec-retained-revenue__lead--warning {
	background: #fffbeb;
	color: #92400e;
	border: 1px solid #fde68a;
}

.exec-retained-revenue__lead--neutral {
	background: #f8fafc;
	color: #334155;
	border: 1px solid #e2e8f0;
}

.exec-retained-revenue .report-chart-card--featured {
	margin-bottom: 16px;
	border-color: #cbd5e1;
}

.exec-retained-revenue .report-chart-card--featured::before {
	background: #059669;
}

.exec-retained-revenue__bars {
	margin-bottom: 0;
}

.report-chart-card--featured {
	border-width: 1px;
}

.report-chart-canvas--tall {
	min-height: 300px;
}

@media (max-width: 900px) {
	.exec-retained-revenue__summary {
		grid-template-columns: 1fr;
	}
}

/* ── Foto negocio SaaS (m_churn_retention) ── */

.report-saas-page {
	padding-bottom: 40px;
}

.report-saas-hero {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 16px;
}

.report-saas-hero__card {
	background: linear-gradient(135deg, #ffffff 0%, rgba(0, 129, 197, 0.06) 100%);
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 14px;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.report-saas-hero__label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rep-muted, #64748b);
}

.report-saas-hero__value {
	font-size: 22px;
	font-weight: 700;
	color: var(--rep-text, #0f172a);
	line-height: 1.2;
}

.report-saas-hero__sub {
	font-size: 12px;
	color: var(--rep-muted, #64748b);
	line-height: 1.4;
}

.report-saas-evolucion {
	margin-bottom: 14px;
	padding: 12px 16px;
	background: rgba(0, 129, 197, 0.05);
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rep-text, #334155);
}

.report-saas-tiers {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 640px;
}

.report-saas-tier-row {
	display: grid;
	grid-template-columns: 90px 1fr 100px;
	align-items: center;
	gap: 12px;
}

.report-saas-tier-bar {
	height: 10px;
	background: var(--rep-border, #e2e8f0);
	border-radius: 999px;
	overflow: hidden;
}

.report-saas-tier-bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--rep-accent, #0081c5), #38bdf8);
	border-radius: 999px;
}

.report-saas-tier-meta {
	font-size: 12px;
	text-align: right;
	color: var(--rep-muted, #64748b);
	font-variant-numeric: tabular-nums;
}

.softnet-tier-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.softnet-tier--platinum {
	background: #1e293b;
	color: #f8fafc;
}

.softnet-tier--gold {
	background: #fef3c7;
	color: #92400e;
}

.softnet-tier--silver {
	background: #f1f5f9;
	color: #475569;
}

.softnet-tier--bronze {
	background: #ffedd5;
	color: #9a3412;
}

.softnet-risk-pill {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.softnet-risk--low {
	background: #dcfce7;
	color: #166534;
}

.softnet-risk--mid {
	background: #fef9c3;
	color: #854d0e;
}

.softnet-risk--high {
	background: #fee2e2;
	color: #991b1b;
}

.softnet-risk--lost {
	background: #1e293b;
	color: #fca5a5;
}

.report-saas-scroll {
	overflow-x: auto;
}

.report-saas-table {
	min-width: 1400px;
}

.report-saas-table .report-td--name small {
	color: var(--rep-muted, #64748b);
	font-size: 11px;
}

@media (max-width: 1100px) {
	.report-saas-hero {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.report-saas-hero {
		grid-template-columns: 1fr;
	}
}

.report-saas-interpret-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.report-saas-interpret-card {
	border-radius: 12px;
	padding: 16px 18px;
	border: 1px solid var(--rep-border, #e2e8f0);
	background: #fff;
}

.report-saas-interpret-card--positive {
	border-left: 4px solid #059669;
	background: linear-gradient(135deg, #fff 0%, rgba(5, 150, 105, 0.04) 100%);
}

.report-saas-interpret-card--warning {
	border-left: 4px solid #dc2626;
	background: linear-gradient(135deg, #fff 0%, rgba(220, 38, 38, 0.04) 100%);
}

.report-saas-interpret-card--neutral {
	border-left: 4px solid var(--rep-accent, #0081c5);
}

.report-saas-interpret-title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--rep-text, #0f172a);
}

.report-saas-interpret-text {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--rep-muted, #475569);
}

.report-saas-interpret-text strong {
	color: var(--rep-text, #1e293b);
	font-weight: 600;
}

.report-saas-table--cruce {
	min-width: 1200px;
}

.softnet-saldo--pos {
	color: #059669;
	font-weight: 700;
}

.softnet-saldo--neg {
	color: #dc2626;
	font-weight: 700;
}

.softnet-estado--activo {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	background: #dcfce7;
	color: #166534;
}

.softnet-estado--inactivo {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	background: #f1f5f9;
	color: #64748b;
}

@media (max-width: 900px) {
	.report-saas-interpret-grid {
		grid-template-columns: 1fr;
	}
}

.report-saas-filtros {
	margin-bottom: 16px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 14px;
}

.report-saas-filtros__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px 12px;
	margin-bottom: 12px;
}

.report-saas-filtros__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--rep-muted, #64748b);
}

.report-saas-filtros__select {
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--rep-text, #0f172a);
	background: #fff;
	text-transform: none;
	letter-spacing: normal;
}

.report-saas-filtros__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.report-saas-crecimiento {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 16px;
	padding: 18px 20px;
	border-radius: 14px;
	border: 1px solid var(--rep-border, #e2e8f0);
}

.report-saas-crecimiento--up {
	background: linear-gradient(135deg, #fff 0%, rgba(5, 150, 105, 0.08) 100%);
	border-left: 4px solid #059669;
}

.report-saas-crecimiento--down {
	background: linear-gradient(135deg, #fff 0%, rgba(220, 38, 38, 0.06) 100%);
	border-left: 4px solid #dc2626;
}

.report-saas-crecimiento--flat {
	background: linear-gradient(135deg, #fff 0%, rgba(0, 129, 197, 0.06) 100%);
	border-left: 4px solid var(--rep-accent, #0081c5);
}

.report-saas-crecimiento__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.8);
}

.report-saas-crecimiento--up .report-saas-crecimiento__icon { color: #059669; }
.report-saas-crecimiento--down .report-saas-crecimiento__icon { color: #dc2626; }
.report-saas-crecimiento--flat .report-saas-crecimiento__icon { color: var(--rep-accent, #0081c5); }

.report-saas-crecimiento__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	color: var(--rep-text, #0f172a);
}

.report-saas-crecimiento__text {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--rep-muted, #475569);
}

.report-saas-crecimiento__metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.report-saas-crecimiento__pill {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 10px;
	min-width: 120px;
}

.report-saas-crecimiento__pill-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--rep-muted, #64748b);
}

.report-saas-crecimiento__pill-value {
	font-size: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.report-saas-crecimiento__pill-value--up { color: #059669; }
.report-saas-crecimiento__pill-value--down { color: #dc2626; }
.report-saas-crecimiento__pill-value--flat { color: var(--rep-accent, #0081c5); }

.report-saas-composicion-alerta {
	margin: 0 0 24px 0;
	padding: 18px 20px;
	border-radius: var(--rep-radius);
	border: 1px solid var(--rep-border);
	background: var(--rep-bg-card);
	box-shadow: var(--rep-shadow);
}

.report-saas-composicion-alerta--warning {
	border-left: 4px solid #d97706;
	background: linear-gradient(135deg, #fff 0%, rgba(217, 119, 6, 0.06) 100%);
}

.report-saas-composicion-alerta--positive {
	border-left: 4px solid #059669;
	background: linear-gradient(135deg, #fff 0%, rgba(5, 150, 105, 0.06) 100%);
}

.report-saas-composicion-alerta--neutral {
	border-left: 4px solid var(--rep-accent, #0081c5);
}

.report-saas-composicion-alerta__title {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-saas-composicion-alerta p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--rep-muted);
}

.report-saas-composicion-alerta p strong {
	color: var(--rep-ink);
}

.report-saas-cruce-charts {
	margin: 0 0 28px 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

@media (max-width: 1100px) {
	.report-saas-filtros__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.report-saas-filtros__grid {
		grid-template-columns: 1fr;
	}
	.report-saas-crecimiento {
		flex-direction: column;
	}
}

/* ── Informes ventas por cliente (m_venta3 / vtas_clientes_productos) ── */

.report-vtas-cliente-page {
	padding-bottom: 32px;
}

.report-vtas-cliente-hero.report-empresa-hero {
	margin-bottom: 16px;
	background: linear-gradient(135deg, #ffffff 0%, rgba(0, 129, 197, 0.05) 100%);
}

.report-vtas-cliente-hero__icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 129, 197, 0.1);
	color: var(--rep-accent, #0081c5);
	font-size: 22px;
}

.report-vtas-cliente-hero__toolbar {
	flex-shrink: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.report-vtas-cliente-resumen {
	margin-bottom: 16px;
}

.report-vtas-cliente-resumen__scroll {
	overflow-x: auto;
}

.report-vtas-cliente-resumen__table {
	min-width: 980px;
	width: 100%;
}

.report-vtas-cliente-resumen__table.report-data-table {
	min-width: 980px;
}

.report-vtas-cliente-resumen__table thead th {
	padding: 14px 20px;
	text-align: right;
	white-space: nowrap;
}

.report-vtas-cliente-resumen__table thead th.report-th--name {
	text-align: left;
	min-width: 220px;
}

.report-vtas-cliente-resumen__table tbody td {
	padding: 14px 20px;
	vertical-align: middle;
}

.report-vtas-cliente-resumen__table .report-cell-num,
.report-vtas-cliente-resumen__totals td.report-cell-num {
	text-align: right;
	min-width: 118px;
}

.report-vtas-cliente-qty {
	min-width: 72px !important;
}

.report-vtas-cliente-money {
	display: inline-block;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

.report-vtas-cliente-resumen__table .report-cell-num,
.report-vtas-cliente-resumen__totals td {
	font-variant-numeric: tabular-nums;
}

.report-vtas-cliente-total-col {
	color: var(--rep-accent, #0081c5);
}

.report-vtas-cliente-resumen__totals td {
	background: rgba(241, 245, 249, 0.85);
	border-top: 2px solid var(--rep-border, #e2e8f0);
}

.report-vtas-cliente-detalle {
	margin-top: 0;
}

.report-vtas-cliente-detalle__head {
	padding: 16px 18px 0;
}

.report-vtas-cliente-th-action {
	width: 56px;
	text-align: center !important;
}

.report-vtas-cliente-action {
	text-align: center;
	white-space: nowrap;
}

.report-vtas-cliente-action img {
	vertical-align: middle;
}

.report-vtas-cliente-folio a {
	color: var(--rep-accent, #0081c5);
	text-decoration: none;
}

.report-vtas-cliente-folio a:hover {
	text-decoration: underline;
}

/* ── Maestros: filtros + resumen + DataTables server-side ── */

.report-maestro-page {
	padding-top: 12px;
	padding-bottom: 28px;
}

.report-maestro-page .report-header h1 {
	font-size: 24px;
	margin-bottom: 4px;
}

.report-maestro-page .report-sub {
	font-size: 14px;
	margin-bottom: 0;
}

.report-maestro-kpis {
	margin-bottom: 14px;
}

.report-insight-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 900px) {
	.report-insight-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.report-insight-grid--4 {
		grid-template-columns: 1fr;
	}
}

.report-maestro-kpis .report-insight-card {
	min-height: 78px;
	padding: 14px 16px;
}

.report-maestro-kpis .report-insight-value {
	font-size: 22px;
}

.report-maestro-filters {
	margin-bottom: 16px;
}

.report-maestro-filters--collapsible .report-maestro-filters__toggle {
	cursor: pointer;
	user-select: none;
	transition: background 0.15s ease;
}

.report-maestro-filters--collapsible .report-maestro-filters__toggle:hover {
	background: rgba(241, 245, 249, 0.65);
}

.report-maestro-filters__title-row {
	align-items: center;
	width: 100%;
}

.report-maestro-filters__chev {
	margin-left: auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid #64748b;
	border-bottom: 2px solid #64748b;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.report-maestro-filters--collapsible:not(.is-collapsed) .report-maestro-filters__chev {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.report-maestro-filters__summary {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--rep-muted);
	line-height: 1.45;
}

.report-maestro-filters--collapsible.has-active-filters .report-maestro-filters__summary {
	color: var(--rep-sys-blue);
	font-weight: 600;
}

.report-maestro-filters--collapsible.is-collapsed .report-maestro-filters__body {
	display: none;
}

.report-maestro-filters--collapsible:not(.is-collapsed) .report-conso-card__head {
	border-bottom: 1px solid var(--rep-border);
}

.report-maestro-filters-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.75fr);
	gap: 10px 12px;
}

@media (max-width: 780px) {
	.report-maestro-filters-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	.report-maestro-filters-grid {
		grid-template-columns: 1fr;
	}
}

.report-maestro-filters-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--rep-border);
}

.report-maestro-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 0;
}

.report-maestro-actions .report-conso-btn {
	width: auto;
	flex: 0 0 auto;
	min-width: 110px;
	padding: 7px 16px;
}

.report-conso-btn--ghost {
	background: #ffffff !important;
	color: var(--rep-ink) !important;
	border: 1px solid var(--rep-border) !important;
	box-shadow: var(--rep-shadow) !important;
}

.report-conso-btn--ghost:hover {
	background: #f8fafc !important;
	border-color: #94a3b8 !important;
}

.report-conso-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
}

.report-conso-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--rep-ink);
	cursor: pointer;
	user-select: none;
}

.report-conso-check input[type="checkbox"] {
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: var(--rep-sys-blue);
}

.report-conso-card--filters .report-conso-card__badge {
	color: var(--rep-sys-blue);
	background: rgba(0, 129, 197, 0.12);
}

.report-conso-card--summary .report-conso-card__badge {
	color: #047857;
	background: rgba(5, 150, 105, 0.12);
}

.report-maestro-hint {
	margin: 0 16px 12px;
	font-size: 12px;
	color: var(--rep-muted);
	line-height: 1.45;
}

.report-datatable-wrap .report-section-title {
	padding-bottom: 0;
}

body.report-page-body .report-datatable-wrap .dataTables_wrapper,
body.report-page-body .report-datatable-wrap .dt-container {
	padding: 0 16px 16px;
	font-size: 13px;
	color: var(--rep-ink);
}

body.report-page-body table.report-datatable {
	width: 100% !important;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
}

body.report-page-body table.report-datatable thead th {
	background: #f1f5f9;
	color: #0f172a;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 12px 10px;
	border-bottom: 2px solid #cbd5e1;
	vertical-align: middle;
}

body.report-page-body table.report-datatable tbody td {
	padding: 10px;
	border-bottom: 1px solid var(--rep-border);
	vertical-align: middle;
	color: #334155;
}

body.report-page-body table.report-datatable tbody tr:hover td {
	background: rgba(241, 245, 249, 0.95);
}

body.report-page-body table.report-datatable tbody tr:nth-child(even) td {
	background: rgba(248, 250, 252, 0.7);
}

body.report-page-body table.report-datatable tbody tr:nth-child(even):hover td {
	background: rgba(241, 245, 249, 0.95);
}

body.report-page-body table.report-datatable a {
	color: var(--rep-sys-blue);
	font-weight: 600;
	text-decoration: none;
}

body.report-page-body table.report-datatable a:hover {
	text-decoration: underline;
}

body.report-page-body .dataTables_wrapper .dataTables_length,
body.report-page-body .dataTables_wrapper .dataTables_filter,
body.report-page-body .dataTables_wrapper .dataTables_info,
body.report-page-body .dataTables_wrapper .dataTables_paginate,
body.report-page-body .dt-container .dt-length,
body.report-page-body .dt-container .dt-search,
body.report-page-body .dt-container .dt-info,
body.report-page-body .dt-container .dt-paging {
	margin-top: 12px;
	color: var(--rep-muted);
}

body.report-page-body .dataTables_wrapper .dataTables_length select,
body.report-page-body .dataTables_wrapper .dataTables_filter input,
body.report-page-body .dt-container .dt-length select,
body.report-page-body .dt-container .dt-search input {
	padding: 6px 8px;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	color: var(--rep-ink);
	background: #ffffff;
}

body.report-page-body .dataTables_wrapper .dataTables_filter input:focus,
body.report-page-body .dataTables_wrapper .dataTables_length select:focus,
body.report-page-body .dt-container .dt-search input:focus,
body.report-page-body .dt-container .dt-length select:focus {
	outline: none;
	border-color: var(--rep-sys-blue);
	box-shadow: 0 0 0 2px rgba(0, 129, 197, 0.12);
}

body.report-page-body .dataTables_wrapper .dataTables_paginate .paginate_button,
body.report-page-body .dt-container .dt-paging .dt-paging-button {
	padding: 4px 10px;
	margin-left: 2px;
	border-radius: 6px !important;
	border: 1px solid var(--rep-border) !important;
	background: #ffffff !important;
	color: var(--rep-ink) !important;
}

body.report-page-body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.report-page-body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
body.report-page-body .dt-container .dt-paging .dt-paging-button.current,
body.report-page-body .dt-container .dt-paging .dt-paging-button.current:hover {
	background: var(--rep-sys-blue) !important;
	border-color: var(--rep-sys-blue) !important;
	color: #ffffff !important;
}

body.report-page-body .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
body.report-page-body .dt-container .dt-paging .dt-paging-button:hover {
	background: #f1f5f9 !important;
	border-color: #94a3b8 !important;
	color: var(--rep-ink) !important;
}

body.report-page-body .dataTables_processing,
body.report-page-body .dt-processing {
	background: rgba(255, 255, 255, 0.95) !important;
	border: 1px solid var(--rep-border) !important;
	border-radius: 10px !important;
	box-shadow: var(--rep-shadow-hover) !important;
	color: var(--rep-ink) !important;
	font-weight: 600 !important;
	padding: 12px 18px !important;
	z-index: 100 !important;
}

body.report-page-body .report-datatable-empty {
	color: var(--rep-muted);
	font-style: italic;
}

/* SearchCombo integrado al tema maestro */
body.report-page-body .report-conso-field .search-combo-container {
	width: 100%;
}

body.report-page-body .search-combo-input {
	width: 100%;
	max-width: 100%;
	padding: 6px 36px 6px 8px;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	color: var(--rep-ink);
	background: #ffffff;
	min-height: 32px;
	box-sizing: border-box;
}

body.report-page-body .search-combo-input:focus {
	outline: none;
	border-color: var(--rep-sys-blue);
	box-shadow: 0 0 0 2px rgba(0, 129, 197, 0.12);
}

body.report-page-body .search-combo-input.search-combo-selected {
	background: rgba(0, 129, 197, 0.06);
	border-color: rgba(0, 129, 197, 0.45);
	font-weight: 600;
}

body.report-page-body .search-combo-icon {
	color: var(--rep-muted);
}

body.report-page-body .search-combo-suggestions {
	border: 1px solid var(--rep-border);
	border-radius: 0 0 8px 8px;
	box-shadow: var(--rep-shadow-hover);
	z-index: 2000;
}

body.report-page-body .search-combo-item.active {
	border-left-color: var(--rep-sys-blue);
	background: rgba(0, 129, 197, 0.06);
}

body.report-page-body .search-combo-item-main {
	font-size: 13px;
	font-weight: 600;
	color: var(--rep-ink);
}

body.report-page-body .search-combo-item-sub {
	font-size: 11px;
	color: var(--rep-muted);
	margin-top: 2px;
}

/* Overlay ficha contacto (pantalla completa del iframe) */
body.report-page-body.report-maestro-overlay-open {
	overflow: hidden;
}

.report-maestro-overlay {
	position: fixed;
	inset: 0;
	z-index: 20000;
	display: none;
	pointer-events: none;
}

.report-maestro-overlay.is-open {
	display: block;
	pointer-events: auto;
}

.report-maestro-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.52);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.24s ease;
}

.report-maestro-overlay.is-open .report-maestro-overlay__backdrop {
	opacity: 1;
}

.report-maestro-drawer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(440px, 94vw);
	max-width: 100%;
	z-index: 1;
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.report-maestro-overlay.is-open .report-maestro-drawer {
	transform: translateX(0);
}

.report-maestro-drawer__panel {
	background: var(--rep-bg-card);
	border-left: 1px solid var(--rep-border);
	box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.report-maestro-drawer__head {
	padding: 16px 16px 14px;
	border-bottom: 1px solid var(--rep-border);
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.report-maestro-drawer__head-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.report-maestro-drawer__close {
	border: 1px solid var(--rep-border);
	background: #ffffff;
	color: var(--rep-muted);
	width: 32px;
	height: 32px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	flex-shrink: 0;
}

.report-maestro-drawer__close:hover {
	border-color: #94a3b8;
	color: var(--rep-ink);
}

.report-maestro-drawer__avatar {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(0, 129, 197, 0.12);
	color: var(--rep-sys-blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 800;
	margin-bottom: 10px;
}

.report-maestro-drawer__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--rep-ink);
	line-height: 1.25;
}

.report-maestro-drawer__subtitle {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--rep-muted);
}

.report-maestro-drawer__badge {
	display: inline-block;
	margin-top: 8px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(5, 150, 105, 0.12);
	color: #047857;
}

.report-maestro-drawer__badge.is-inactive {
	background: rgba(100, 116, 139, 0.14);
	color: #475569;
}

.report-maestro-drawer__body {
	padding: 14px 16px 18px;
	overflow: auto;
	flex: 1 1 auto;
}

.report-maestro-ficha-section {
	margin-bottom: 14px;
}

.report-maestro-ficha-section h3 {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rep-muted);
}

.report-maestro-ficha-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.report-maestro-ficha-item {
	padding: 10px 12px;
	border: 1px solid var(--rep-border);
	border-radius: 8px;
	background: #fafbfc;
}

.report-maestro-ficha-item label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rep-muted);
	margin-bottom: 3px;
}

.report-maestro-ficha-item span,
.report-maestro-ficha-item a {
	font-size: 13px;
	font-weight: 600;
	color: var(--rep-ink);
	word-break: break-word;
}

.report-maestro-ficha-item a {
	color: var(--rep-sys-blue);
	text-decoration: none;
}

.report-maestro-ficha-item a:hover {
	text-decoration: underline;
}

.report-maestro-drawer__foot {
	padding: 12px 16px 16px;
	border-top: 1px solid var(--rep-border);
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.report-maestro-drawer__foot .report-conso-btn {
	width: auto;
	flex: 1 1 auto;
	min-width: 120px;
}

.report-maestro-eye-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid rgba(0, 129, 197, 0.28);
	border-radius: 8px;
	background: rgba(0, 129, 197, 0.08);
	color: var(--rep-sys-blue);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.report-maestro-eye-btn:hover {
	background: rgba(0, 129, 197, 0.16);
	border-color: var(--rep-sys-blue);
	color: var(--rep-sys-blue-hover);
}

.report-maestro-eye-btn svg {
	display: block;
	width: 17px;
	height: 17px;
	fill: currentColor;
}

body.report-page-body table.report-datatable td.report-maestro-col-action {
	text-align: center;
	width: 48px;
	padding-left: 6px;
	padding-right: 6px;
}

body.report-page-body table.report-datatable td.report-maestro-col-editable {
	cursor: pointer;
}

body.report-page-body table.report-datatable thead th.report-maestro-th-editable {
	position: relative;
	padding-right: 22px;
}

body.report-page-body table.report-datatable thead th.report-maestro-th-editable::after {
	content: '\270E';
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	line-height: 1;
	color: rgba(0, 129, 197, 0.35);
	font-weight: 400;
	opacity: 0;
	transition: opacity 0.15s ease;
}

body.report-page-body table.report-datatable thead th.report-maestro-th-editable:hover::after {
	opacity: 1;
}

.report-maestro-cell-editable {
	display: block;
	position: relative;
	min-height: 18px;
	padding: 1px 0;
	border-radius: 0;
	border: none;
	background: transparent;
	transition: background 0.15s ease, box-shadow 0.15s ease, padding 0.15s ease;
}

.report-maestro-cell-editable.is-empty {
	color: var(--rep-muted);
}

.report-maestro-cell-editable::after {
	content: '\270E';
	position: absolute;
	top: 50%;
	right: 2px;
	transform: translateY(-50%);
	font-size: 10px;
	line-height: 1;
	color: rgba(0, 129, 197, 0.5);
	opacity: 0;
	transition: opacity 0.15s ease;
	pointer-events: none;
}

.report-maestro-cell-editable:hover,
.report-maestro-cell-editable:focus {
	outline: none;
	padding-right: 14px;
	background: rgba(0, 129, 197, 0.04);
	box-shadow: inset 0 -1px 0 rgba(0, 129, 197, 0.28);
}

.report-maestro-cell-editable:hover::after,
.report-maestro-cell-editable:focus::after {
	opacity: 0.65;
}

.report-maestro-cell-editable.is-editing {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.report-maestro-cell-editable.is-editing::after {
	display: none;
}

.report-maestro-cell-editable.is-saving {
	padding: 1px 0;
	background: rgba(0, 129, 197, 0.04);
	box-shadow: none;
}

.report-maestro-cell-editable.is-saving::after {
	display: none;
}

.report-maestro-cell-saving {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--rep-sys-blue);
	font-style: normal;
	font-weight: 600;
	font-size: 12px;
}

.report-maestro-cell-saving::before {
	content: '';
	width: 12px;
	height: 12px;
	border: 2px solid rgba(0, 129, 197, 0.25);
	border-top-color: var(--rep-sys-blue);
	border-radius: 50%;
	animation: report-maestro-spin 0.7s linear infinite;
}

@keyframes report-maestro-spin {
	to { transform: rotate(360deg); }
}

.report-maestro-cell-editable.is-saved {
	background: rgba(34, 197, 94, 0.08);
	box-shadow: inset 0 -1px 0 rgba(34, 197, 94, 0.45);
}

.report-maestro-cell-editable.is-saved::after {
	display: none;
}

.report-maestro-cell-editable.is-error {
	background: rgba(239, 68, 68, 0.06);
	box-shadow: inset 0 -1px 0 rgba(239, 68, 68, 0.35);
}

.report-maestro-cell-input {
	width: 100%;
	box-sizing: border-box;
	padding: 6px 8px;
	border: 1px solid var(--rep-sys-blue);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	color: var(--rep-ink);
	background: #ffffff;
	box-shadow: 0 0 0 2px rgba(0, 129, 197, 0.12);
}

body.report-page-body table.report-datatable tbody tr.is-selected td {
	background: rgba(0, 129, 197, 0.08) !important;
}

.report-maestro-drawer__loading,
.report-maestro-drawer__empty {
	padding: 28px 16px;
	text-align: center;
	color: var(--rep-muted);
	font-size: 13px;
}

/* Cuenta / cambio clave */
.report-flash {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
	padding: 12px 16px;
	border-radius: var(--rep-radius);
	border: 1px solid var(--rep-border);
	font-size: 14px;
	line-height: 1.45;
	box-shadow: var(--rep-shadow);
}

.report-flash i {
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 16px;
}

.report-flash--ok {
	background: rgba(5, 150, 105, 0.08);
	border-color: rgba(5, 150, 105, 0.28);
	color: #065f46;
}

.report-flash--ok i {
	color: #059669;
}

.report-flash--error {
	background: #fef2f2;
	border-color: rgba(220, 38, 38, 0.22);
	color: #991b1b;
}

.report-flash--error i {
	color: #dc2626;
}

.report-flash--warn {
	background: #fffbeb;
	border-color: rgba(217, 119, 6, 0.28);
	color: #92400e;
}

.report-flash--warn i {
	color: #d97706;
}

.report-flash--warn a {
	color: #b45309;
	font-weight: 600;
	text-decoration: underline;
}

.report-cert-badge {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	vertical-align: middle;
	white-space: nowrap;
}

.report-cert-badge--ok {
	background: rgba(5, 150, 105, 0.12);
	color: #065f46;
}

.report-cert-badge--warn {
	background: rgba(217, 119, 6, 0.14);
	color: #92400e;
}

.report-cert-badge--danger {
	background: rgba(220, 38, 38, 0.12);
	color: #991b1b;
}

.report-empresa-field__value--cert {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.report-conso-fields-grid--single {
	grid-template-columns: 1fr;
	max-width: 420px;
}

.report-conso-field__pw {
	position: relative;
	display: flex;
	align-items: center;
}

.report-conso-field__pw input {
	padding-right: 36px;
}

.report-conso-field__pw-toggle {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: var(--rep-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.report-conso-field__pw-toggle:hover {
	background: rgba(0, 129, 197, 0.08);
	color: var(--rep-sys-blue);
}

.report-maestro-page .report-data-card {
	margin-bottom: 20px;
}

.report-maestro-page .report-conso-btn i {
	margin-right: 6px;
}

/* --- Cambiar contraseña (Mi cuenta) --- */
.report-cuenta-page .report-cuenta-kpis {
	margin-bottom: 20px;
}

.report-cuenta-kpis .report-insight-value--sm {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	word-break: break-word;
}

.report-pw-card .report-conso-card__body {
	padding: 24px 28px 28px;
}

.report-pw-layout {
	display: grid;
	grid-template-columns: minmax(280px, 380px) 1fr;
	gap: 32px;
	align-items: start;
}

.report-pw-layout__form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.report-pw-layout__form .report-conso-field label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--rep-muted);
	margin-bottom: 6px;
}

.report-pw-layout__form .report-conso-field input {
	width: 100%;
}

.report-pw-actions {
	margin-top: 4px;
}

.report-pw-actions .report-conso-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.report-pw-panel {
	background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid var(--rep-border);
	border-radius: 12px;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.report-pw-strength__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.report-pw-strength__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rep-muted);
}

.report-pw-strength__badge {
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #64748b;
}

.report-pw-strength__badge.is-weak { background: #fee2e2; color: #b91c1c; }
.report-pw-strength__badge.is-fair { background: #ffedd5; color: #c2410c; }
.report-pw-strength__badge.is-good { background: #dbeafe; color: #1d4ed8; }
.report-pw-strength__badge.is-strong { background: #dcfce7; color: #15803d; }

.report-pw-strength__track {
	height: 8px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
}

.report-pw-strength__fill {
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: #94a3b8;
	transition: width 0.35s ease, background-color 0.35s ease;
}

.report-pw-strength__fill.is-weak { background: linear-gradient(90deg, #ef4444, #f87171); }
.report-pw-strength__fill.is-fair { background: linear-gradient(90deg, #f97316, #fb923c); }
.report-pw-strength__fill.is-good { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.report-pw-strength__fill.is-strong { background: linear-gradient(90deg, #22c55e, #4ade80); }

.report-pw-strength__text {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--rep-muted);
	line-height: 1.45;
}

.report-pw-checklist-wrap,
.report-pw-tips {
	border-top: 1px solid rgba(148, 163, 184, 0.35);
	padding-top: 18px;
}

.report-pw-checklist__title,
.report-pw-tips__title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--rep-text);
}

.report-pw-tips__title i {
	color: #f59e0b;
	margin-right: 6px;
}

.report-pw-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 16px;
}

.report-pw-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12.5px;
	line-height: 1.35;
	color: #64748b;
}

.report-pw-check i {
	font-size: 13px;
	margin-top: 1px;
	flex-shrink: 0;
	color: #cbd5e1;
}

.report-pw-check.is-idle i { color: #cbd5e1; }
.report-pw-check.is-ok { color: #15803d; }
.report-pw-check.is-ok i { color: #22c55e; }
.report-pw-check.is-fail { color: #b91c1c; }
.report-pw-check.is-fail i { color: #ef4444; }

.report-pw-tips ul {
	margin: 0;
	padding-left: 18px;
	font-size: 12.5px;
	color: var(--rep-muted);
	line-height: 1.55;
}

.report-pw-tips li + li {
	margin-top: 6px;
}

.report-pw-match {
	margin: 6px 0 0;
	font-size: 12px;
	font-weight: 600;
	min-height: 18px;
}

.report-pw-match.is-ok { color: #15803d; }
.report-pw-match.is-fail { color: #b91c1c; }

@media (max-width: 960px) {
	.report-pw-layout {
		grid-template-columns: 1fr;
	}

	.report-pw-checklist {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.report-cuenta-kpis .report-insight-grid--4 {
		grid-template-columns: 1fr 1fr;
	}
}

/* --- Antecedentes empresa (m_empresa) --- */
.report-empresa-page {
	padding-bottom: 24px;
}

.report-empresa-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 18px 22px;
	margin-bottom: 14px;
	background: #fff;
	border: 1px solid var(--rep-border);
	border-radius: 14px;
	box-shadow: var(--rep-shadow);
}

.report-empresa-hero__brand {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1;
	min-width: 0;
}

.report-empresa-hero__logo img {
	display: block;
	max-height: 52px;
	max-width: 180px;
	width: auto;
	height: auto;
	border-radius: 8px;
}

.report-empresa-hero__meta h1 {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink);
	line-height: 1.25;
}

.report-empresa-hero__sub {
	margin: 0 0 4px;
	font-size: 13px;
	color: var(--rep-muted);
}

.report-empresa-hero__giro {
	margin: 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.report-empresa-toolbar {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 4px;
	background: #f8fafc;
	border: 1px solid var(--rep-border);
	border-radius: 999px;
}

.report-toolbar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	padding: 0 14px;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: var(--rep-ink);
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}

.report-toolbar-btn i {
	font-size: 13px;
	color: var(--rep-muted);
}

.report-toolbar-btn:hover {
	background: #fff;
	color: var(--rep-sys-blue);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.report-toolbar-btn:hover i {
	color: var(--rep-sys-blue);
}

.report-toolbar-btn--primary {
	background: #fff;
	color: var(--rep-ink);
	border: 1px solid #cbd5e1;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.report-toolbar-btn--primary i {
	color: var(--rep-sys-blue);
}

.report-toolbar-btn--primary:hover {
	background: #f8fafc;
	color: var(--rep-sys-blue);
	border-color: rgba(0, 129, 197, 0.35);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.report-toolbar-btn--primary:hover i {
	color: var(--rep-sys-blue);
}

.report-empresa-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
	padding: 4px;
	background: #f1f5f9;
	border-radius: 12px;
	border: 1px solid var(--rep-border);
}

.report-empresa-tab {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: var(--rep-muted);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.report-empresa-tab i {
	font-size: 12px;
	opacity: 0.85;
}

.report-empresa-tab:hover {
	color: var(--rep-ink);
	background: rgba(255, 255, 255, 0.6);
}

.report-empresa-tab.is-active {
	background: #fff;
	color: var(--rep-sys-blue);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.report-empresa-panel {
	display: none;
}

.report-empresa-panel.is-active {
	display: block;
}

.report-empresa-panel-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.report-empresa-panel-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-empresa-fields {
	display: grid;
	gap: 0;
	border: 1px solid var(--rep-border);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.report-empresa-fields--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-empresa-fields--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-empresa-field {
	padding: 10px 14px;
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
	border-right: 1px solid rgba(226, 232, 240, 0.9);
	min-width: 0;
}

.report-empresa-fields--2 .report-empresa-field:nth-child(2n),
.report-empresa-fields--3 .report-empresa-field:nth-child(3n) {
	border-right: none;
}

.report-empresa-field--full {
	grid-column: 1 / -1;
	border-right: none;
}

.report-empresa-field__label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rep-muted);
	margin-bottom: 3px;
}

.report-empresa-field__value {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--rep-ink);
	line-height: 1.35;
	word-break: break-word;
}

.report-empresa-field__value a {
	color: var(--rep-sys-blue);
	text-decoration: none;
}

.report-empresa-field__value a:hover {
	text-decoration: underline;
}

.report-empresa-card .report-conso-card__body {
	padding: 16px 18px 18px;
}

.report-empresa-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.report-empresa-card__head .report-conso-card__title-row {
	flex: 1;
	min-width: 0;
}

.report-empresa-admin-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	border: 1px solid var(--rep-border);
	background: #fff;
	color: var(--rep-sys-blue);
	text-decoration: none;
	flex-shrink: 0;
	font-size: 12px;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.report-empresa-admin-btn:hover {
	background: rgba(0, 129, 197, 0.08);
	border-color: rgba(0, 129, 197, 0.35);
}

.report-empresa-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.report-empresa-table thead th {
	text-align: left;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rep-muted);
	padding: 8px 12px;
	border-bottom: 1px solid var(--rep-border);
	background: #f8fafc;
}

.report-empresa-table tbody td {
	padding: 9px 12px;
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
	color: var(--rep-ink);
	vertical-align: top;
}

.report-empresa-table tbody tr:last-child td {
	border-bottom: none;
}

.report-empresa-empty {
	margin: 0;
	padding: 14px 4px;
	font-size: 13px;
	color: var(--rep-muted);
	text-align: center;
}

.report-empresa-sucursales {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.report-empresa-sucursal {
	padding: 10px 12px;
	border: 1px solid var(--rep-border);
	border-radius: 8px;
	background: #fafbfc;
}

.report-empresa-sucursal strong {
	display: block;
	font-size: 13px;
	color: var(--rep-ink);
	margin-bottom: 3px;
}

.report-empresa-sucursal span {
	font-size: 12px;
	color: var(--rep-muted);
	line-height: 1.4;
}

.report-empresa-page.is-exporting .report-empresa-tabs,
.report-empresa-page.is-exporting .report-empresa-toolbar {
	display: none !important;
}

.report-empresa-page.is-exporting .report-empresa-panel {
	display: block !important;
	margin-bottom: 16px;
}

.report-empresa-page.is-exporting .report-empresa-panel[hidden] {
	display: block !important;
}

@media (max-width: 960px) {
	.report-empresa-panel-grid,
	.report-empresa-panel-grid--2 {
		grid-template-columns: 1fr;
	}

	.report-empresa-fields--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.report-empresa-fields--3 .report-empresa-field:nth-child(3n) {
		border-right: 1px solid rgba(226, 232, 240, 0.9);
	}

	.report-empresa-fields--3 .report-empresa-field:nth-child(2n) {
		border-right: none;
	}

	.report-empresa-sucursales {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.report-empresa-hero {
		flex-direction: column;
		align-items: stretch;
	}

	.report-empresa-toolbar {
		justify-content: center;
		flex-wrap: wrap;
		border-radius: 12px;
	}

	.report-empresa-fields--2,
	.report-empresa-fields--3 {
		grid-template-columns: 1fr;
	}

	.report-empresa-field {
		border-right: none !important;
	}
}

/* --- Editar empresa (actualiza_empresa) --- */
.report-empresa-page--edit .report-empresa-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 14px;
}

.report-empresa-page--edit .report-empresa-form-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-empresa-page--edit .report-empresa-card--full {
	grid-column: 1 / -1;
}

.report-empresa-page--edit .report-conso-field input[type="file"] {
	width: 100%;
	font-size: 13px;
	padding: 8px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	box-sizing: border-box;
}

.report-empresa-page--edit .report-empresa-select,
.report-empresa-page--edit .report-conso-field select {
	width: 100%;
	max-width: 100%;
	padding: 6px 8px;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	color: var(--rep-ink);
	background: #fff;
	min-height: 32px;
	box-sizing: border-box;
}

.report-empresa-page--edit .report-empresa-select:focus,
.report-empresa-page--edit .report-conso-field select:focus {
	outline: none;
	border-color: var(--rep-sys-blue);
	box-shadow: 0 0 0 2px rgba(0, 129, 197, 0.12);
}

.report-empresa-logo-upload {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.report-empresa-logo-upload__preview {
	flex: 0 0 auto;
	padding: 12px;
	border: 1px solid var(--rep-border);
	border-radius: 12px;
	background: #f8fafc;
	min-width: 200px;
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.report-empresa-logo-upload__preview img {
	max-height: 64px;
	max-width: 220px;
}

.report-empresa-logo-upload__field {
	flex: 1;
	min-width: 240px;
}

.report-empresa-logo-upload__field label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rep-muted);
	margin-bottom: 6px;
}

.report-empresa-logo-upload__hint {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--rep-muted);
	line-height: 1.45;
}

.report-empresa-page--edit .report-topbar a {
	color: var(--rep-sys-blue);
	text-decoration: none;
}

.report-empresa-page--edit .report-topbar a:hover {
	text-decoration: underline;
}

@media (max-width: 960px) {
	.report-empresa-page--edit .report-empresa-form-grid--3 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.report-empresa-page--edit .report-empresa-form-grid {
		grid-template-columns: 1fr;
	}

	.report-empresa-logo-upload {
		flex-direction: column;
		align-items: stretch;
	}
}

/* --- Mi ERP (m_mi_erp) --- */
.report-mierp-page {
	padding-bottom: 24px;
}

.report-mierp-hero {
	margin-bottom: 14px;
}

.report-mierp-kpis {
	margin-bottom: 14px;
}

.report-mierp-kpi-sub {
	font-size: 13px;
	font-weight: 600;
	color: var(--rep-muted);
	margin-left: 2px;
}

.report-mierp-page .report-insight-value--sm {
	font-size: 1.35rem;
}

.report-mierp-alert {
	margin-bottom: 14px;
}

.report-mierp-card {
	margin-bottom: 14px;
}

.report-mierp-card:last-child {
	margin-bottom: 0;
}

.report-mierp-table .report-mierp-col-num {
	width: 44px;
	text-align: center;
	color: var(--rep-muted);
	font-weight: 600;
}

.report-mierp-col-center {
	text-align: center;
}

.report-mierp-muted {
	color: var(--rep-muted) !important;
}

.report-mierp-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.report-mierp-badge i {
	font-size: 10px;
}

.report-mierp-badge--ok {
	background: #dcfce7;
	color: #15803d;
}

.report-mierp-badge--off {
	background: #f1f5f9;
	color: #64748b;
}

.report-mierp-role {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	color: var(--rep-sys-blue);
}

.report-mierp-role i {
	font-size: 12px;
}

.report-mierp-progress-cell {
	min-width: 120px;
}

.report-mierp-progress {
	height: 7px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
	margin-bottom: 4px;
}

.report-mierp-progress__fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #3b82f6, #60a5fa);
	transition: width 0.3s ease;
}

.report-mierp-progress__fill--high {
	background: linear-gradient(90deg, #f97316, #fb923c);
}

.report-mierp-progress__label {
	font-size: 11px;
	font-weight: 600;
	color: var(--rep-muted);
}

.report-mierp-page .report-empresa-panel.is-active {
	display: flex;
	flex-direction: column;
	gap: 0;
}

@media (max-width: 640px) {
	.report-mierp-progress-cell {
		min-width: 90px;
	}
}

/* --- Centro Softnet (landing modulos + capacitacion) --- */
.report-centro-page {
	padding-bottom: 32px;
}

.report-centro-flash {
	margin-bottom: 14px;
}

.report-centro-hero {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	padding: 28px 32px;
	margin-bottom: 24px;
	border-radius: 16px;
	background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 48%, #0ea5e9 100%);
	color: #fff;
	box-shadow: 0 12px 40px rgba(2, 132, 199, 0.28);
}

.report-centro-hero__eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.85);
}

.report-centro-hero h1 {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.report-centro-hero__lead {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	max-width: 560px;
}

.report-centro-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.report-centro-hero__cta {
	width: auto !important;
	background: #fff !important;
	color: #0369a1 !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
	padding: 10px 20px !important;
	font-size: 14px !important;
}

.report-centro-hero__cta:hover {
	background: #f0f9ff !important;
	transform: translateY(-1px);
}

.report-centro-hero__cta i {
	margin-right: 8px;
}

.report-centro-hero__ghost {
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	color: #fff !important;
}

.report-centro-hero__ghost i,
.report-centro-hero__ghost:hover i {
	color: #fff !important;
}

.report-centro-hero__ghost:hover {
	background: rgba(255, 255, 255, 0.22) !important;
}

.report-centro-hero__wa {
	width: auto !important;
	background: #25d366 !important;
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
	padding: 10px 18px !important;
	font-size: 14px !important;
}

.report-centro-hero__wa:hover {
	background: #20bd5a !important;
	color: #fff !important;
}

.report-centro-hero__wa i {
	margin-right: 8px;
}

.report-centro-cta__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.report-centro-cta__btn {
	font-size: 13px !important;
	padding: 9px 16px !important;
}

.report-centro-hero__stats {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 140px;
}

.report-centro-stat {
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	text-align: center;
}

.report-centro-stat__value {
	display: block;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.report-centro-stat__label {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.8);
}

.report-centro-section {
	margin-bottom: 28px;
}

.report-centro-section__head {
	margin-bottom: 16px;
}

.report-centro-section__head h2 {
	margin: 6px 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-centro-section__head p {
	margin: 0;
	font-size: 14px;
	color: var(--rep-muted);
	max-width: 720px;
	line-height: 1.5;
}

.report-centro-module-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.report-centro-module-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-centro-module {
	display: flex;
	gap: 16px;
	padding: 18px 20px;
	border-radius: 14px;
	border: 1px solid var(--rep-border);
	background: #fff;
	box-shadow: var(--rep-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.report-centro-module:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.report-centro-module--active {
	border-color: rgba(34, 197, 94, 0.35);
	background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
}

.report-centro-module--available {
	border-color: rgba(0, 129, 197, 0.2);
}

.report-centro-module__icon {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: var(--rep-sys-blue);
	background: rgba(0, 129, 197, 0.1);
}

.report-centro-module--active .report-centro-module__icon {
	color: #15803d;
	background: rgba(34, 197, 94, 0.15);
}

.report-centro-module__body {
	min-width: 0;
	flex: 1;
}

.report-centro-module__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 6px;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.report-centro-module__badge--ok {
	background: #dcfce7;
	color: #15803d;
}

.report-centro-module__badge--plus {
	background: #e0f2fe;
	color: #0369a1;
}

.report-centro-module__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-centro-module__pitch {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--rep-muted);
}

.report-centro-module__list {
	margin: 0;
	padding-left: 16px;
	font-size: 12px;
	line-height: 1.5;
	color: #475569;
}

.report-centro-module__list li + li {
	margin-top: 3px;
}

.report-centro-cta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
	padding: 28px 32px;
	border-radius: 16px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border: 1px solid var(--rep-border);
	box-shadow: var(--rep-shadow);
	scroll-margin-top: 16px;
}

.report-centro-cta__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #fef3c7;
	color: #b45309;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.report-centro-cta__pitch h2 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	color: var(--rep-ink);
	line-height: 1.3;
}

.report-centro-cta__pitch p {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--rep-muted);
}

.report-centro-cta__bullets {
	list-style: none;
	margin: 0;
	padding: 0;
}

.report-centro-cta__bullets li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--rep-ink);
	padding: 6px 0;
}

.report-centro-cta__bullets i {
	color: #22c55e;
	font-size: 12px;
}

.report-centro-form {
	padding: 20px 22px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--rep-border);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.report-centro-form__title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-centro-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
	margin-bottom: 14px;
}

.report-centro-form .report-conso-field textarea,
.report-centro-form .report-conso-field select {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	box-sizing: border-box;
	min-height: 32px;
}

.report-centro-form .report-conso-field textarea {
	min-height: 72px;
	resize: vertical;
}

.report-centro-form__submit {
	width: auto !important;
	padding: 10px 22px !important;
}

.report-centro-form__submit i {
	margin-right: 8px;
}

@media (max-width: 960px) {
	.report-centro-hero {
		grid-template-columns: 1fr;
	}

	.report-centro-hero__stats {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.report-centro-stat {
		flex: 1;
		min-width: 100px;
	}

	.report-centro-module-grid,
	.report-centro-module-grid--3,
	.report-centro-cta {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.report-centro-hero {
		padding: 20px;
	}

	.report-centro-hero h1 {
		font-size: 22px;
	}

	.report-centro-form__grid {
		grid-template-columns: 1fr;
	}

	.report-centro-module {
		flex-direction: column;
	}
}

/* --- Novedades ERP (marketplace innovacion) --- */
.report-nov-page {
	padding-bottom: 32px;
}

.report-nov-flash {
	margin-bottom: 14px;
}

.report-nov-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	padding: 28px 32px;
	margin-bottom: 18px;
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(135deg, #312e81 0%, #6366f1 42%, #8b5cf6 100%);
	color: #fff;
	box-shadow: 0 12px 40px rgba(99, 102, 241, 0.32);
}

.report-nov-hero__glow {
	position: absolute;
	top: -40%;
	right: -10%;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
	pointer-events: none;
}

.report-nov-hero__content {
	position: relative;
	z-index: 1;
}

.report-nov-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.95);
}

.report-nov-hero h1 {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.report-nov-hero__lead {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	max-width: 580px;
}

.report-nov-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.report-nov-hero__cta {
	width: auto !important;
	background: #fff !important;
	color: #4338ca !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
	padding: 10px 20px !important;
	font-size: 14px !important;
}

.report-nov-hero__cta:hover {
	background: #eef2ff !important;
	transform: translateY(-1px);
}

.report-nov-hero__cta i {
	margin-right: 8px;
}

.report-nov-hero__ghost {
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	color: #fff !important;
}

.report-nov-hero__ghost i,
.report-nov-hero__ghost:hover i {
	color: #fff !important;
}

.report-nov-hero__ghost:hover {
	background: rgba(255, 255, 255, 0.22) !important;
}

.report-nov-hero__wa {
	width: auto !important;
	background: #25d366 !important;
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
	padding: 10px 18px !important;
	font-size: 14px !important;
}

.report-nov-hero__wa:hover {
	background: #20bd5a !important;
	color: #fff !important;
}

.report-nov-hero__wa i {
	margin-right: 8px;
}

.report-nov-hero__stats {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 150px;
}

.report-nov-stat {
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	text-align: center;
}

.report-nov-stat__value {
	display: block;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.report-nov-stat__label {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.8);
}

.report-nov-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding: 16px 22px;
	margin-bottom: 24px;
	border-radius: 14px;
	background: linear-gradient(90deg, #fef3c7 0%, #fff7ed 100%);
	border: 1px solid #fde68a;
}

.report-nov-banner__icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #b45309;
	background: #fff;
	box-shadow: 0 2px 8px rgba(180, 83, 9, 0.12);
}

.report-nov-banner__text {
	flex: 1;
	min-width: 200px;
	font-size: 14px;
	line-height: 1.5;
	color: #78350f;
}

.report-nov-banner__link {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	color: #b45309 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.report-nov-banner__link i {
	margin-left: 4px;
	font-size: 11px;
}

.report-nov-banner__link:hover {
	color: #92400e !important;
}

.report-nov-marketplace {
	margin-bottom: 28px;
}

.report-nov-marketplace__head {
	margin-bottom: 16px;
}

.report-nov-marketplace__head h2 {
	margin: 6px 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-nov-marketplace__head p {
	margin: 0;
	font-size: 14px;
	color: var(--rep-muted);
	max-width: 720px;
	line-height: 1.5;
}

.report-nov-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.report-nov-filter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--rep-border);
	border-radius: 999px;
	background: #fff;
	color: var(--rep-muted);
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.report-nov-filter i {
	font-size: 12px;
	opacity: 0.75;
}

.report-nov-filter:hover {
	border-color: #6366f1;
	color: #4338ca;
}

.report-nov-filter.is-active {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.report-nov-filter.is-active i {
	opacity: 1;
}

.report-nov-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.report-nov-card {
	display: flex;
	flex-direction: column;
	padding: 20px 22px;
	border-radius: 14px;
	border: 1px solid var(--rep-border);
	background: #fff;
	box-shadow: var(--rep-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.report-nov-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
	border-color: rgba(99, 102, 241, 0.25);
}

.report-nov-card--featured {
	grid-column: span 1;
	border-color: rgba(99, 102, 241, 0.35);
	background: linear-gradient(180deg, #fff 0%, #eef2ff 100%);
}

.report-nov-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.report-nov-card__icon {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #6366f1;
	background: rgba(99, 102, 241, 0.12);
}

.report-nov-card--featured .report-nov-card__icon {
	color: #fff;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.report-nov-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.report-nov-card__badge--new {
	background: #dcfce7;
	color: #15803d;
}

.report-nov-card__badge--hot {
	background: #fee2e2;
	color: #b91c1c;
}

.report-nov-card__badge--beta {
	background: #e0e7ff;
	color: #4338ca;
}

.report-nov-card__badge--soon {
	background: #f1f5f9;
	color: #64748b;
}

.report-nov-card__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--rep-ink);
	line-height: 1.3;
}

.report-nov-card__pitch {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rep-muted);
	flex: 1;
}

.report-nov-card__list {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	font-size: 12px;
	line-height: 1.45;
	color: #475569;
}

.report-nov-card__list li {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding: 3px 0;
}

.report-nov-card__list i {
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 10px;
	color: #22c55e;
}

.report-nov-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 4px;
}

.report-nov-card__cta--link {
	background: #0f766e;
}

.report-nov-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 8px;
	background: #6366f1;
	color: #fff !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.15s ease, transform 0.15s ease;
}

.report-nov-card__cta:hover {
	background: #4f46e5;
	color: #fff !important;
	transform: translateY(-1px);
}

.report-nov-card__cta--wa {
	background: #25d366;
}

.report-nov-card__cta--wa:hover {
	background: #20bd5a;
}

.report-nov-cta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
	padding: 28px 32px;
	border-radius: 16px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border: 1px solid var(--rep-border);
	box-shadow: var(--rep-shadow);
	scroll-margin-top: 16px;
}

.report-nov-cta__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #ede9fe;
	color: #6d28d9;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.report-nov-cta__pitch h2 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	color: var(--rep-ink);
	line-height: 1.3;
}

.report-nov-cta__pitch p {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--rep-muted);
}

.report-nov-cta__bullets {
	list-style: none;
	margin: 0;
	padding: 0;
}

.report-nov-cta__bullets li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--rep-ink);
	padding: 6px 0;
}

.report-nov-cta__bullets i {
	color: #22c55e;
	font-size: 12px;
}

.report-nov-cta__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.report-nov-cta__btn {
	font-size: 13px !important;
	padding: 9px 16px !important;
}

.report-nov-form {
	padding: 20px 22px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--rep-border);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.report-nov-form__title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-nov-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
	margin-bottom: 14px;
}

.report-nov-form .report-conso-field textarea,
.report-nov-form .report-conso-field select {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	box-sizing: border-box;
	min-height: 32px;
}

.report-nov-form .report-conso-field textarea {
	min-height: 88px;
	resize: vertical;
}

.report-nov-form__submit {
	width: auto !important;
	padding: 10px 22px !important;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
}

.report-nov-form__submit i {
	margin-right: 8px;
}

@media (max-width: 1100px) {
	.report-nov-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.report-nov-hero {
		grid-template-columns: 1fr;
	}

	.report-nov-hero__stats {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.report-nov-stat {
		flex: 1;
		min-width: 100px;
	}

	.report-nov-grid,
	.report-nov-cta {
		grid-template-columns: 1fr;
	}

	.report-nov-card--featured {
		grid-column: span 1;
	}
}

@media (max-width: 640px) {
	.report-nov-hero {
		padding: 20px;
	}

	.report-nov-hero h1 {
		font-size: 22px;
	}

	.report-nov-form__grid {
		grid-template-columns: 1fr;
	}

	.report-nov-banner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* --- Business Partners (ecosistema) --- */
.report-bp-page {
	padding-bottom: 32px;
}

.report-bp-flash {
	margin-bottom: 14px;
}

.report-bp-breadcrumb__link {
	color: var(--rep-sys-blue);
	text-decoration: none;
}

.report-bp-breadcrumb__link:hover {
	text-decoration: underline;
}

/* Franja Business Partners en Novedades ERP */
.report-nov-bp-strip {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 14px 20px;
	margin-bottom: 14px;
	border-radius: 14px;
	background: linear-gradient(90deg, #ecfdf5 0%, #f0fdfa 45%, #eef2ff 100%);
	border: 1px solid #99f6e4;
	box-shadow: 0 4px 18px rgba(20, 184, 166, 0.1);
}

.report-nov-bp-strip__icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #fff;
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
	box-shadow: 0 3px 10px rgba(20, 184, 166, 0.3);
}

.report-nov-bp-strip__text {
	flex: 1;
	min-width: 220px;
	font-size: 14px;
	line-height: 1.45;
	color: #134e4a;
}

.report-nov-bp-strip__tag {
	display: inline-block;
	margin-right: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fef3c7;
	color: #b45309;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	vertical-align: middle;
}

.report-nov-bp-strip__text strong {
	color: #0f766e;
	font-weight: 700;
}

.report-nov-bp-strip__count {
	color: #64748b;
	font-size: 13px;
}

.report-nov-bp-strip__logos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.report-nov-bp-strip .report-bp-preview-chip {
	width: 36px;
	height: 36px;
	padding: 4px;
	border-radius: 8px;
}

.report-nov-bp-strip .report-bp-preview-chip--fallback {
	font-size: 11px;
}

.report-nov-bp-strip__link {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 3px 12px rgba(20, 184, 166, 0.28);
	transition: transform 0.15s ease, filter 0.15s ease;
}

.report-nov-bp-strip__link i {
	font-size: 10px;
}

.report-nov-bp-strip__link:hover {
	color: #fff !important;
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.report-bp-preview-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 6px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

.report-bp-preview-chip img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.report-bp-preview-chip--fallback {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.report-bp-preview-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Landing dedicada Business Partners */
.report-bp-landing-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 28px;
	align-items: center;
	padding: 28px 32px;
	margin-bottom: 24px;
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 45%, #2dd4bf 100%);
	color: #fff;
	box-shadow: 0 12px 40px rgba(20, 184, 166, 0.3);
}

.report-bp-landing-hero__glow {
	position: absolute;
	top: -30%;
	left: -5%;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
	pointer-events: none;
}

.report-bp-landing-hero__content {
	position: relative;
	z-index: 1;
}

.report-bp-landing-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.report-bp-landing-hero h1 {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	max-width: 560px;
}

.report-bp-landing-hero__lead {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	max-width: 560px;
}

.report-bp-landing-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.report-bp-landing-hero__cta {
	width: auto !important;
	background: #fff !important;
	color: #0f766e !important;
	padding: 10px 20px !important;
	font-size: 14px !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

.report-bp-landing-hero__cta i {
	margin-right: 8px;
}

.report-bp-landing-hero__ghost {
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	color: #fff !important;
}

.report-bp-landing-hero__ghost i {
	color: #fff !important;
}

.report-bp-landing-hero__wa {
	width: auto !important;
	background: #25d366 !important;
	color: #fff !important;
	padding: 10px 18px !important;
	font-size: 14px !important;
}

.report-bp-landing-hero__wa i {
	margin-right: 8px;
}

.report-bp-landing-hero__aside {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 200px;
}

.report-bp-landing-hero__preview {
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.report-bp-landing-hero__preview-label {
	display: block;
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.85);
}

.report-bp-marketplace__head {
	margin-bottom: 16px;
}

.report-bp-marketplace__head h2 {
	margin: 6px 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-bp-marketplace__head p {
	margin: 0;
	font-size: 14px;
	color: var(--rep-muted);
	max-width: 720px;
	line-height: 1.5;
}

.report-bp-section--directorio {
	margin-bottom: 24px;
}

.report-bp-join__quick {
	margin-top: 16px;
}

.report-bp-join__btn {
	font-size: 13px !important;
	padding: 9px 16px !important;
}

.report-bp-section {
	margin-bottom: 32px;
	padding-top: 8px;
	scroll-margin-top: 12px;
}

.report-bp-hero {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	padding: 24px 28px;
	margin-bottom: 18px;
	border-radius: 16px;
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #2dd4bf 100%);
	color: #fff;
	box-shadow: 0 10px 32px rgba(20, 184, 166, 0.28);
}

.report-bp-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.9);
}

.report-bp-hero h2 {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 700;
	color: #fff;
}

.report-bp-hero__content p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	max-width: 620px;
}

.report-bp-hero__stats {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 150px;
}

.report-bp-stat {
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	text-align: center;
}

.report-bp-stat__value {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

.report-bp-stat__label {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.82);
}

.report-bp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.report-bp-toolbar {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
}

.report-bp-search-wrap {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.report-bp-search__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rep-muted);
}

.report-bp-search {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	border: 1px solid var(--rep-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--rep-shadow);
}

.report-bp-search i {
	color: #94a3b8;
	font-size: 14px;
}

.report-bp-search__input {
	flex: 1;
	min-width: 0;
	padding: 11px 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	color: var(--rep-ink);
	outline: none;
}

.report-bp-search__input::placeholder {
	color: #94a3b8;
}

.report-bp-no-results {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	font-size: 13px;
	color: var(--rep-muted);
	text-align: center;
}

.report-bp-empty {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 36px 24px;
	border-radius: 14px;
	border: 1px dashed #cbd5e1;
	background: #f8fafc;
	text-align: center;
	color: var(--rep-muted);
}

.report-bp-empty i {
	font-size: 28px;
	color: #94a3b8;
	margin-bottom: 4px;
}

.report-bp-empty p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	max-width: 420px;
}

.report-bp-empty a {
	color: #0f766e;
	font-weight: 600;
	text-decoration: none;
}

.report-bp-empty a:hover {
	text-decoration: underline;
}

.report-bp-filter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--rep-border);
	border-radius: 999px;
	background: #fff;
	color: var(--rep-muted);
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.report-bp-filter__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #f1f5f9;
	font-size: 10px;
	font-weight: 700;
	color: #64748b;
}

.report-bp-filter:hover {
	border-color: #14b8a6;
	color: #0f766e;
}

.report-bp-filter.is-active {
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 12px rgba(20, 184, 166, 0.28);
}

.report-bp-filter.is-active .report-bp-filter__count {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.report-bp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 22px;
}

.report-bp-card {
	display: flex;
	flex-direction: column;
	padding: 18px;
	border-radius: 14px;
	border: 1px solid var(--rep-border);
	background: #fff;
	box-shadow: var(--rep-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.report-bp-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
	border-color: rgba(20, 184, 166, 0.3);
}

.report-bp-card--featured {
	border-color: rgba(20, 184, 166, 0.4);
	background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%);
}

.report-bp-card--softnet {
	border-color: rgba(99, 102, 241, 0.35);
}

.report-bp-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	padding: 8px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #eef2f7;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.report-bp-card--has-logo .report-bp-card__logo {
	width: 88px;
	height: 88px;
	padding: 10px;
	background: #fff;
}

.report-bp-card__top {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 12px;
}

.report-bp-card__head {
	flex: 1;
	min-width: 0;
}

.report-bp-card__head .report-bp-card__tags {
	margin-bottom: 6px;
}

.report-bp-card__head .report-bp-card__title {
	margin: 0 0 4px;
}

.report-bp-card__head .report-bp-card__meta {
	margin-bottom: 0;
}

.report-bp-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.report-bp-card__logo-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.report-bp-card__logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.report-bp-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.report-bp-card__badge--softnet {
	background: #ede9fe;
	color: #6d28d9;
}

.report-bp-card__badge--ally {
	background: #ccfbf1;
	color: #0f766e;
}

.report-bp-card__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	color: var(--rep-ink);
	line-height: 1.3;
}

.report-bp-card__pitch {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rep-muted);
	flex: 1;
}

.report-bp-card__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 12px;
}

.report-bp-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #64748b;
}

.report-bp-card__meta-item i {
	color: #94a3b8;
	font-size: 10px;
}

.report-bp-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 4px;
}

.report-bp-card__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 10px;
	border-radius: 8px;
	background: #f0fdfa;
	color: #0f766e !important;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.15s ease;
}

.report-bp-card__link:hover {
	background: #ccfbf1;
	color: #115e59 !important;
}

.report-bp-card__link--muted {
	background: #f8fafc;
	color: #475569 !important;
}

.report-bp-card__link--wa {
	background: #dcfce7;
	color: #15803d !important;
}

.report-bp-card__link--wa:hover {
	background: #bbf7d0;
	color: #166534 !important;
}

.report-bp-card__link--tel {
	background: #eff6ff;
	color: #1d4ed8 !important;
}

.report-bp-card__link--tel:hover {
	background: #dbeafe;
	color: #1e40af !important;
}

.report-bp-card__cat {
	display: inline-block;
	margin-left: 6px;
	margin-bottom: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #64748b;
	font-size: 10px;
	font-weight: 600;
	vertical-align: middle;
}

.report-bp-card__sin-contacto {
	font-size: 11px;
	color: #94a3b8;
	font-style: italic;
}

/* Panel autogestion Mi empresa */
.report-bp-mi {
	margin-bottom: 24px;
	scroll-margin-top: 16px;
}

.report-bp-mi__head {
	margin-bottom: 14px;
}

.report-bp-mi__head h2 {
	margin: 6px 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-bp-mi__head p {
	margin: 0;
	font-size: 14px;
	color: var(--rep-muted);
	max-width: 720px;
	line-height: 1.5;
}

.report-bp-mi__card {
	padding: 20px 22px;
	border-radius: 16px;
	border: 1px solid #99f6e4;
	background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
	box-shadow: 0 4px 18px rgba(20, 184, 166, 0.08);
}

.report-bp-mi__preview {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #ccfbf1;
}

.report-bp-mi__logo {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
}

.report-bp-mi__logo-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.report-bp-mi__logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.report-bp-mi__nombre {
	display: block;
	margin-bottom: 6px;
	font-size: 17px;
	color: var(--rep-ink);
}

.report-bp-mi__estado {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 10px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

.report-bp-mi__estado--ok {
	background: #dcfce7;
	color: #15803d;
}

.report-bp-mi__estado--off {
	background: #f1f5f9;
	color: #64748b;
}

.report-bp-mi__lista {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	font-size: 13px;
	color: var(--rep-ink);
}

.report-bp-mi__lista li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 3px 0;
}

.report-bp-mi__lista i {
	width: 14px;
	color: #0f766e;
	font-size: 12px;
}

.report-bp-mi__hint {
	margin: 0;
	font-size: 11px;
	color: #64748b;
	line-height: 1.4;
}

.report-bp-mi__form .report-conso-field select {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	box-sizing: border-box;
}

.report-bp-mi__form .report-conso-field textarea {
	width: 100%;
	min-height: 84px;
	padding: 8px 10px;
	border: 1px solid var(--rep-border);
	border-radius: 8px;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.45;
	resize: vertical;
	box-sizing: border-box;
}

.report-bp-mi__req {
	font-weight: 500;
	color: #64748b;
}

.report-bp-mi__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
}

.report-bp-mi__submit {
	width: auto !important;
	padding: 10px 20px !important;
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%) !important;
}

.report-bp-mi__submit i {
	margin-right: 8px;
}

.report-bp-mi__off-form {
	margin: 0;
}

.report-bp-mi__btn-off {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #64748b;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.report-bp-mi__btn-off:hover {
	background: #fef2f2;
	color: #b91c1c;
	border-color: #fecaca;
}

.report-bp-join {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
	padding: 24px 28px;
	border-radius: 16px;
	background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
	border: 1px solid #99f6e4;
	scroll-margin-top: 16px;
}

.report-bp-join__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #ccfbf1;
	color: #0f766e;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.report-bp-join__pitch h3 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-bp-join__pitch p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--rep-muted);
}

.report-bp-join__bullets {
	list-style: none;
	margin: 0;
	padding: 0;
}

.report-bp-join__bullets li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--rep-ink);
	padding: 5px 0;
}

.report-bp-join__bullets i {
	flex-shrink: 0;
	margin-top: 2px;
	color: #14b8a6;
	font-size: 12px;
}

.report-bp-form {
	padding: 18px 20px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--rep-border);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.report-bp-form__title {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--rep-ink);
}

.report-bp-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
	margin-bottom: 14px;
}

.report-bp-form .report-conso-field textarea,
.report-bp-form .report-conso-field select,
.report-bp-form .report-conso-field input[type="text"] {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	box-sizing: border-box;
	min-height: 32px;
}

.report-bp-form .report-conso-field textarea {
	min-height: 88px;
	resize: vertical;
}

.report-bp-form__submit {
	width: auto !important;
	padding: 10px 22px !important;
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%) !important;
}

.report-bp-form__submit i {
	margin-right: 8px;
}

/* Directorio-first Business Partners */
.report-bp-page--dir {
	padding-bottom: 24px;
}

.report-bp-dir__mast {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rep-border);
}

.report-bp-dir__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #0f766e;
}

.report-bp-landing-hero--combo {
	margin-bottom: 20px;
}

.report-bp-dir__title {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink);
	line-height: 1.25;
}

.report-bp-dir__sub {
	margin: 0;
	font-size: 13px;
	color: var(--rep-muted);
	line-height: 1.45;
}

.report-bp-dir__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.report-bp-dir__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: all 0.15s ease;
}

.report-bp-dir__chip--ok {
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	color: #0f766e !important;
}

.report-bp-dir__chip--ok:hover {
	background: #d1fae5;
}

.report-bp-dir__chip--cta {
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(20, 184, 166, 0.25);
}

.report-bp-dir__chip--cta:hover {
	filter: brightness(1.05);
}

.report-bp-dir__chip-meta {
	padding-left: 8px;
	border-left: 1px solid rgba(15, 118, 110, 0.25);
	font-weight: 500;
	opacity: 0.85;
}

.report-bp-dir__wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #25d366;
	color: #fff !important;
	font-size: 18px;
	text-decoration: none !important;
	box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.report-bp-dir__wa:hover {
	filter: brightness(1.05);
}

.report-bp-toolbar--dir {
	margin-bottom: 10px;
}

.report-bp-dir__count {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

.report-bp-grid--dir {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.report-bp-card__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin-bottom: 6px;
}

.report-bp-card__cat {
	margin-left: 0;
	margin-bottom: 0;
}

.report-bp-mi-dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	margin: 0;
	border-top: 1px solid var(--rep-border);
	background: #fff;
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
	scroll-margin-top: 12px;
}

.report-bp-mi-dock__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.report-bp-mi-dock__bar::-webkit-details-marker {
	display: none;
}

.report-bp-mi-dock__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
	overflow: hidden;
	flex-shrink: 0;
}

.report-bp-mi-dock__logo-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.report-bp-mi-dock__logo-fallback {
	font-size: 12px;
	font-weight: 700;
	color: #0f766e;
}

.report-bp-mi-dock__info {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	flex: 1;
}

.report-bp-mi-dock__nombre {
	font-size: 13px;
	font-weight: 700;
	color: var(--rep-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.report-bp-mi-dock__estado {
	font-size: 11px;
	color: var(--rep-muted);
}

.report-bp-mi-dock--activo .report-bp-mi-dock__estado {
	color: #0f766e;
	font-weight: 600;
}

.report-bp-mi-dock__metrics {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
}

.report-bp-mi-dock__metrics span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.report-bp-mi-dock__toggle {
	color: #94a3b8;
	font-size: 12px;
	transition: transform 0.2s ease;
}

.report-bp-mi-dock[open] .report-bp-mi-dock__toggle {
	transform: rotate(180deg);
}

.report-bp-mi-dock__body {
	padding: 0 16px 14px;
	border-top: 1px solid #f1f5f9;
}

.report-bp-mi-dock__hint {
	margin: 10px 0;
	font-size: 11px;
	color: #64748b;
	line-height: 1.4;
}

.report-bp-mi-dock__fields {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 10px 12px;
	margin-bottom: 10px;
}

.report-bp-mi-dock__form .report-conso-field select,
.report-bp-mi-dock__form .report-conso-field textarea {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid var(--rep-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 12px;
	box-sizing: border-box;
}

.report-bp-mi-dock__form .report-conso-field textarea {
	min-height: 52px;
	resize: vertical;
}

.report-bp-mi-dock__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.report-bp-mi-dock__submit {
	width: auto !important;
	padding: 8px 16px !important;
	font-size: 12px !important;
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%) !important;
}

.report-bp-mi-dock__btn-off {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #fff;
	color: #64748b;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
}

.report-bp-mi-dock__btn-off:hover {
	background: #fef2f2;
	color: #b91c1c;
	border-color: #fecaca;
}

.report-bp-mi-dock__off {
	margin: 0;
}

@media (max-width: 1100px) {
	.report-bp-grid,
	.report-bp-grid--dir {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.report-bp-mi-dock__fields {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 960px) {
	.report-nov-bp-strip {
		flex-direction: column;
		align-items: flex-start;
	}

	.report-bp-landing-hero {
		grid-template-columns: 1fr;
	}

	.report-bp-landing-hero__aside {
		min-width: 0;
	}

	.report-bp-hero,
	.report-bp-join {
		grid-template-columns: 1fr;
	}

	.report-bp-hero__stats {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.report-bp-stat {
		flex: 1;
		min-width: 100px;
	}

	.report-bp-grid,
	.report-bp-grid--dir {
		grid-template-columns: 1fr;
	}

	.report-bp-dir__mast {
		flex-direction: column;
	}

	.report-bp-dir__actions {
		width: 100%;
		justify-content: space-between;
	}
}

@media (max-width: 640px) {
	.report-bp-form__grid {
		grid-template-columns: 1fr;
	}
}

/* --- Mis tareas (To-Do 2026) --- */
.report-tareas-page--2026 {
	--tareas-accent: #2563eb;
	--tareas-surface: #f8fafc;
}

.report-tareas-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding: 22px 24px;
	border-radius: 16px;
	background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 48%, #2563eb 100%);
	color: #fff;
	box-shadow: 0 12px 40px rgba(15, 23, 42, .18);
}

.report-tareas-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	opacity: .85;
	margin-bottom: 8px;
}

.report-tareas-hero h1 {
	margin: 0 0 6px;
	font-size: 1.65rem;
	font-weight: 700;
	color: #fff;
}

.report-tareas-hero p {
	margin: 0;
	font-size: 14px;
	opacity: .9;
	max-width: 520px;
}

.report-tareas-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.report-tareas-hero__user {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	font-size: 13px;
	font-weight: 600;
}

.report-tareas-hero .report-toolbar-btn {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .2);
	color: #fff;
}

.report-tareas-hero .report-toolbar-btn:hover {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

.report-tareas-quickadd {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding: 10px 14px;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #fff;
	box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}

.report-tareas-quickadd__icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, #2563eb, #38bdf8);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.report-tareas-quickadd__input {
	flex: 1;
	border: none;
	background: transparent;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	color: #0f172a;
	outline: none;
	min-width: 0;
}

.report-tareas-quickadd__input::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

.report-tareas-viewbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.report-tareas-viewtabs {
	display: inline-flex;
	padding: 4px;
	border-radius: 12px;
	background: #e2e8f0;
	gap: 4px;
}

.report-tareas-viewtab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: none;
	border-radius: 9px;
	background: transparent;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: background .15s, color .15s, box-shadow .15s;
}

.report-tareas-viewtab.is-active {
	background: #fff;
	color: #1d4ed8;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}

.report-tareas-search {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #fff;
	min-width: 220px;
}

.report-tareas-search i {
	color: #94a3b8;
	font-size: 13px;
}

.report-tareas-search input {
	border: none;
	background: transparent;
	font: inherit;
	font-size: 13px;
	outline: none;
	width: 100%;
}

.report-tareas-cards {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.report-tareas-card {
	display: grid;
	grid-template-columns: auto 1fr 80px;
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	background: #fff;
	transition: border-color .15s, box-shadow .15s, transform .12s;
}

.report-tareas-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 6px 20px rgba(15, 23, 42, .06);
}

.report-tareas-card.is-overdue {
	border-color: #fecaca;
	background: linear-gradient(90deg, #fff 0%, #fff5f5 100%);
}

.report-tareas-card.is-done {
	opacity: .72;
}

.report-tareas-card__body {
	border: none;
	background: transparent;
	text-align: left;
	padding: 0;
	cursor: pointer;
	font: inherit;
	min-width: 0;
}

.report-tareas-card__title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
}

.report-tareas-card.is-done .report-tareas-card__title {
	text-decoration: line-through;
	color: #64748b;
}

.report-tareas-card__meta {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: #64748b;
}

.report-tareas-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 6px;
}

.report-tareas-empty {
	text-align: center;
	padding: 48px 20px;
	color: #94a3b8;
}

.report-tareas-empty i {
	font-size: 2rem;
	margin-bottom: 10px;
	opacity: .5;
}

.report-tareas-list-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
}

.report-tareas-list-meta {
	margin: 0;
	font-size: 12px;
	color: #64748b;
}

.report-tareas-pipeline__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
	min-height: 420px;
}

.report-tareas-pipeline__col {
	flex: 0 0 260px;
	display: flex;
	flex-direction: column;
	max-height: 70vh;
	background: #f1f5f9;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
}

.report-tareas-pipeline__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-bottom: 1px solid #e2e8f0;
	background: #fff;
	border-radius: 14px 14px 0 0;
}

.report-tareas-pipeline__name {
	font-size: 13px;
	font-weight: 700;
	color: #334155;
}

.report-tareas-pipeline__count {
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e2e8f0;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.report-tareas-pipeline__cards {
	flex: 1;
	overflow-y: auto;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.report-tareas-pipeline-card {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	padding: 10px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}

.report-tareas-pipeline-card__btn {
	flex: 1;
	border: none;
	background: transparent;
	text-align: left;
	padding: 0;
	cursor: pointer;
	font: inherit;
	min-width: 0;
}

.report-tareas-pipeline-card__title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.report-tareas-pipeline-card__meta {
	display: block;
	font-size: 11px;
	color: #64748b;
	margin: 2px 0 6px;
}

.report-tareas-pipeline__empty {
	margin: 0;
	padding: 12px;
	font-size: 12px;
	color: #94a3b8;
	text-align: center;
}

.report-tareas-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.report-tareas-textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font: inherit;
	font-size: 13px;
	resize: vertical;
	min-height: 88px;
}

.report-tareas-save-btn {
	width: 100%;
	justify-content: center;
}

.report-tareas-flash {
	margin-bottom: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
}

.report-tareas-page .report-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.report-tareas-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.report-tareas-toolbar__new i {
	margin-right: 4px;
}

.report-tareas-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.report-tareas-header__user {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--rep-surface-muted, #f1f5f9);
	color: #475569;
	font-size: 13px;
	font-weight: 600;
}

.report-tareas-layout {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

/* Filtros horizontales (tarjetas) */
.report-tareas-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
	padding: 14px 16px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.report-tareas-filters__block {
	flex: 1 1 320px;
	min-width: 0;
}

.report-tareas-filters__title {
	margin: 0 0 8px;
	padding: 0 2px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--rep-muted, #64748b);
}

.report-tareas-filters__cards {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.report-tareas-filter-card {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 120px;
	min-width: 0;
	max-width: 100%;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--rep-border, #e2e8f0);
	background: #fff;
	color: #334155;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background .15s, transform .12s;
}

.report-tareas-filter-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}

.report-tareas-filter-card.is-active {
	border-color: rgba(0, 129, 197, 0.35);
	background: var(--tareas-accent-soft, rgba(30, 58, 95, 0.06));
	color: var(--rep-accent, #1e3a5f);
	box-shadow: 0 4px 16px rgba(0, 129, 197, 0.1);
}

.report-tareas-filter-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: #f1f5f9;
	color: #64748b;
	flex-shrink: 0;
	font-size: 14px;
}

.report-tareas-filter-card.is-active .report-tareas-filter-card__icon {
	background: rgba(0, 129, 197, 0.12);
	color: var(--tareas-accent, #0081c5);
}

.report-tareas-filter-card__icon--warn {
	background: #fef2f2;
	color: #dc2626;
}

.report-tareas-filter-card__icon--ok {
	background: #ecfdf5;
	color: #059669;
}

.report-tareas-filter-card__text {
	flex: 1;
	min-width: 0;
}

.report-tareas-filter-card .report-tareas-nav__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.report-tareas-filter-card .report-tareas-nav__count {
	flex-shrink: 0;
	min-width: 26px;
	margin-left: auto;
}

.report-tareas-nav {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.report-tareas-nav__item:not(.report-tareas-filter-card) {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #334155;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: border-color .15s, box-shadow .15s, background .15s;
}

.report-tareas-nav__item:not(.report-tareas-filter-card):hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}

.report-tareas-nav__item.is-active:not(.report-tareas-filter-card) {
	border-color: #2563eb;
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
	color: #1d4ed8;
	box-shadow: 0 4px 16px rgba(37, 99, 235, .12);
}

.report-tareas-nav__item:not(.report-tareas-filter-card) i {
	width: 18px;
	text-align: center;
	opacity: .85;
}

.report-tareas-nav__label:not(.report-tareas-filter-card .report-tareas-nav__label) {
	flex: 1;
}

.report-tareas-nav__count {
	min-width: 28px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.report-tareas-nav__item.is-active:not(.report-tareas-filter-card) .report-tareas-nav__count {
	background: #2563eb;
	color: #fff;
}

.report-tareas-filter-card.is-active .report-tareas-nav__count {
	background: rgba(0, 129, 197, 0.14);
	color: var(--tareas-accent, #0081c5);
}

.report-tareas-filter-card.is-active .report-tareas-nav__count--warn {
	background: #fee2e2;
	color: #b91c1c;
}

.report-tareas-nav__count--warn {
	background: #fee2e2;
	color: #b91c1c;
}

.report-tareas-kpi-warn {
	color: #dc2626 !important;
}

.report-tareas-table-wrap {
	margin-top: 0;
}

.report-tareas-table-head {
	margin-bottom: 12px;
}

.report-tareas-table tbody tr {
	transition: background .12s;
}

.report-tareas-table tbody tr:hover {
	background: #f8fafc;
}

.report-tareas-col-check {
	width: 44px;
	text-align: center;
	vertical-align: middle !important;
}

.report-tareas-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin: 0;
}

.report-tareas-check__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.report-tareas-check__box {
	width: 20px;
	height: 20px;
	border: 2px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	display: inline-block;
	position: relative;
	transition: all .15s;
}

.report-tareas-check__input:checked + .report-tareas-check__box {
	background: #2563eb;
	border-color: #2563eb;
}

.report-tareas-check__input:checked + .report-tareas-check__box::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.report-tareas-asunto {
	display: block;
	width: 100%;
	text-align: left;
	border: none;
	background: transparent;
	padding: 0;
	font: inherit;
	font-weight: 600;
	color: #0f172a;
	cursor: pointer;
	line-height: 1.35;
}

.report-tareas-asunto:hover {
	color: #2563eb;
}

.report-tareas-asunto.is-done {
	color: #64748b;
	text-decoration: line-through;
}

.report-tareas-asunto.is-overdue:not(.is-done) {
	color: #b91c1c;
}

.report-tareas-date.is-overdue {
	color: #dc2626;
	font-weight: 700;
}

.report-tareas-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	background: #e2e8f0;
	color: #475569;
	white-space: nowrap;
}

.report-tareas-pri--alta {
	background: #fee2e2;
	color: #b91c1c;
}

.report-tareas-pri--media {
	background: #ffedd5;
	color: #c2410c;
}

.report-tareas-pri--baja {
	background: #dbeafe;
	color: #1d4ed8;
}

.report-tareas-pri--normal {
	background: #f1f5f9;
	color: #475569;
}

.report-tareas-estado {
	background: #ecfdf5;
	color: #047857;
}

.report-tareas-badge--overdue {
	background: #fef2f2;
	color: #b91c1c;
}

.report-tareas-badge--done {
	background: #dcfce7;
	color: #15803d;
}

.report-tareas-progress {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: #e2e8f0;
	min-width: 64px;
	overflow: hidden;
}

.report-tareas-progress--lg {
	height: 12px;
	margin-top: 6px;
}

.report-tareas-progress__bar {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #2563eb, #38bdf8);
	transition: width .25s;
}

.report-tareas-progress__label {
	position: absolute;
	right: 0;
	top: -18px;
	font-size: 10px;
	font-weight: 700;
	color: #64748b;
}

.report-tareas-progress--lg .report-tareas-progress__label {
	top: -20px;
}

/* Control avance % — drawer crear/editar */
.report-tareas-pct-field__val {
	font-weight: 700;
	color: #2563eb;
	margin-left: 4px;
}

.report-tareas-pct {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
}

.report-tareas-pct__preview {
	margin-top: 2px;
}

.report-tareas-pct__range {
	width: 100%;
	height: 6px;
	margin: 0;
	accent-color: #2563eb;
	cursor: pointer;
}

.report-tareas-pct__range:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.report-tareas-pct__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.report-tareas-pct__numwrap {
	display: flex;
	align-items: center;
	gap: 4px;
}

.report-tareas-pct__num {
	width: 64px;
	padding: 7px 8px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	background: #fff;
}

.report-tareas-pct__num:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.report-tareas-pct__suffix {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
}

.report-tareas-pct__presets {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.report-tareas-pct__preset {
	padding: 5px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	color: #475569;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}

.report-tareas-pct__preset:hover:not(:disabled) {
	border-color: #2563eb;
	color: #2563eb;
}

.report-tareas-pct__preset.is-active {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}

.report-tareas-pct__preset:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.report-tareas-pct.is-locked {
	background: #f1f5f9;
}

.report-tareas-pct.is-locked .report-tareas-pct-field__val {
	color: #64748b;
}

.report-tareas-card__side .report-tareas-progress {
	min-width: 52px;
	height: 10px;
}

.report-tareas-card__side .report-tareas-progress__label {
	display: none;
}

.report-tareas-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	justify-content: flex-end;
}

.report-tareas-action-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	color: #64748b;
	text-decoration: none;
}

.report-tareas-action-link:hover {
	background: #f1f5f9;
	color: #2563eb;
}

.report-tareas-stats {
	margin-top: 20px;
}

.report-tareas-stats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.report-tareas-stats-col h3 {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
}

.report-tareas-stat-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(80px, 1.2fr) 36px;
	gap: 10px;
	align-items: center;
	margin-bottom: 8px;
}

.report-tareas-stat-row__label {
	font-size: 12px;
	color: #475569;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.report-tareas-stat-row__track {
	height: 8px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
}

.report-tareas-stat-row__fill {
	height: 100%;
	border-radius: 999px;
	background: #94a3b8;
}

.report-tareas-stat-row__fill.report-tareas-pri--alta {
	background: #ef4444;
}

.report-tareas-stat-row__fill.report-tareas-pri--media {
	background: #f97316;
}

.report-tareas-stat-row__fill.report-tareas-pri--baja {
	background: #3b82f6;
}

.report-tareas-stat-row__val {
	font-size: 12px;
	font-weight: 700;
	color: #334155;
	text-align: right;
}

.report-tareas-stats-empty {
	margin: 0;
	font-size: 12px;
	color: #94a3b8;
}

.report-tareas-gantt {
	margin-top: 16px;
}

/* Cronograma moderno (HTML/CSS, sin jpgraph) */
.report-tareas-cron {
	margin-top: 4px;
}

.report-tareas-cron__meta {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--rep-muted, #64748b);
}

.report-tareas-cron__scroll {
	overflow: auto;
	max-height: min(68vh, 640px);
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 12px;
	background: #fff;
}

.report-tareas-cron__head {
	display: flex;
	position: sticky;
	top: 0;
	z-index: 3;
	background: #f8fafc;
	border-bottom: 1px solid var(--rep-border, #e2e8f0);
}

.report-tareas-cron__head-label {
	flex: 0 0 220px;
	padding: 10px 14px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--rep-muted, #64748b);
	border-right: 1px solid var(--rep-border, #e2e8f0);
	position: sticky;
	left: 0;
	z-index: 4;
	background: #f8fafc;
}

.report-tareas-cron__head-days {
	display: flex;
	flex-shrink: 0;
}

.report-tareas-cron__day {
	flex: 1 0 0;
	min-width: 28px;
	padding: 6px 2px;
	text-align: center;
	border-right: 1px solid #f1f5f9;
}

.report-tareas-cron__day.is-weekend {
	background: #fafbfc;
}

.report-tareas-cron__day.is-today {
	background: rgba(0, 129, 197, 0.08);
}

.report-tareas-cron__day-num {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #334155;
	line-height: 1.2;
}

.report-tareas-cron__day.is-today .report-tareas-cron__day-num {
	color: var(--tareas-accent, #0081c5);
}

.report-tareas-cron__day-wd {
	display: block;
	font-size: 9px;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
}

.report-tareas-cron__body {
	min-width: max-content;
}

.report-tareas-cron__row {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid #f1f5f9;
	min-height: 46px;
}

.report-tareas-cron__row:last-child {
	border-bottom: none;
}

.report-tareas-cron__row:hover {
	background: #fafcff;
}

.report-tareas-cron__row.is-done .report-tareas-cron__row-title {
	text-decoration: line-through;
	color: #94a3b8;
}

.report-tareas-cron__row-label {
	flex: 0 0 220px;
	padding: 8px 14px;
	border-right: 1px solid var(--rep-border, #e2e8f0);
	position: sticky;
	left: 0;
	z-index: 2;
	background: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-width: 0;
}

.report-tareas-cron__row:hover .report-tareas-cron__row-label {
	background: #fafcff;
}

.report-tareas-cron__row-title {
	font-size: 12px;
	font-weight: 600;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.report-tareas-cron__row-meta {
	font-size: 10px;
	color: #94a3b8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.report-tareas-cron__row.is-overdue .report-tareas-cron__row-title {
	color: #b91c1c;
}

.report-tareas-cron__row-track {
	position: relative;
	flex-shrink: 0;
	min-height: 46px;
}

.report-tareas-cron__grid-lines {
	position: absolute;
	inset: 0;
	display: flex;
	pointer-events: none;
}

.report-tareas-cron__grid-line {
	flex: 1 0 0;
	border-right: 1px solid #f8fafc;
}

.report-tareas-cron__today {
	position: absolute;
	top: 4px;
	bottom: 4px;
	width: 2px;
	margin-left: -1px;
	background: var(--tareas-accent, #0081c5);
	opacity: .55;
	pointer-events: none;
	z-index: 1;
}

.report-tareas-cron__bar {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 24px;
	min-width: 6px;
	padding: 0 8px;
	border: none;
	border-radius: 6px;
	background: rgba(0, 129, 197, 0.22);
	color: #0f172a;
	cursor: pointer;
	overflow: hidden;
	text-align: left;
	z-index: 2;
	transition: box-shadow .15s, filter .15s;
}

.report-tareas-cron__bar:hover {
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
	filter: brightness(1.03);
}

.report-tareas-cron__bar.report-tareas-pri--alta {
	background: rgba(239, 68, 68, 0.28);
}

.report-tareas-cron__bar.report-tareas-pri--media {
	background: rgba(249, 115, 22, 0.28);
}

.report-tareas-cron__bar.report-tareas-pri--baja {
	background: rgba(59, 130, 246, 0.28);
}

.report-tareas-cron__bar-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.35);
	pointer-events: none;
}

.report-tareas-cron__bar-label {
	position: relative;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 24px;
}

.report-tareas-gantt__body {
	overflow-x: auto;
}

.report-tareas-gantt__img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

.report-tareas-drawer {
	max-width: 520px;
}

.report-tareas-drawer__head {
	border-bottom: 1px solid #e2e8f0;
}

.report-tareas-drawer__meta {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	margin-bottom: 4px;
}

.report-tareas-drawer__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.report-tareas-drawer__foot {
	padding: 14px 20px 18px;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
}

.report-tareas-drawer-form label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.report-tareas-drawer-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 8px;
	align-items: center;
}

.report-tareas-select,
.report-tareas-input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font: inherit;
	font-size: 13px;
	background: #fff;
}

.report-tareas-input[type="date"],
.report-tareas-date {
	padding: 7px 10px;
	min-height: 38px;
	color-scheme: light;
	cursor: pointer;
}

.report-tareas-input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 0.7;
}

.report-tareas-input[type="date"]::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
}

.report-tareas-msg {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #334155;
	white-space: pre-wrap;
}

.report-tareas-inline-link {
	font-weight: 600;
}

.report-tareas-hist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.report-tareas-hist__item {
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 12px;
	color: #475569;
}

.report-tareas-hist__item p {
	margin: 4px 0 0;
	color: #64748b;
}

.report-tareas-hist__fecha {
	display: inline-block;
	min-width: 84px;
	margin-right: 8px;
	font-weight: 700;
	color: #334155;
}

.report-tareas-hist-empty {
	margin: 0;
	font-size: 12px;
	color: #94a3b8;
}

@media (max-width: 960px) {
	.report-tareas-filters {
		flex-direction: column;
		gap: 12px;
	}

	.report-tareas-filters__block {
		flex: 1 1 100%;
	}

	.report-tareas-filter-card {
		flex: 1 1 calc(50% - 4px);
		min-width: 140px;
	}

	.report-tareas-stats-grid {
		grid-template-columns: 1fr;
	}

	.report-tareas-drawer-form__row {
		grid-template-columns: 1fr;
	}
}

/* Mis tareas v1.6.7 — cards con info + edicion lateral */
.report-tareas-page--2026 {
	--tareas-accent: var(--rep-sys-blue, #0081c5);
	--tareas-accent-soft: var(--rep-accent-soft, rgba(30, 58, 95, 0.06));
	padding-right: 46px;
	box-sizing: border-box;
}

.report-tareas-nav__section {
	margin: 12px 0 6px;
	padding: 0 10px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--rep-muted);
}

.report-tareas-nav__item:not(.report-tareas-filter-card) {
	width: 100%;
	border: 1px solid transparent;
	background: transparent;
	font: inherit;
	cursor: pointer;
	text-align: left;
	padding: 10px 12px;
	border-radius: 10px;
	box-shadow: none;
}

.report-tareas-filter-card.report-tareas-nav__item {
	width: auto;
}

.report-tareas-nav__item:not(.report-tareas-filter-card):hover {
	background: #f8fafc;
	border-color: var(--rep-border);
	box-shadow: none;
}

.report-tareas-nav__item.is-active:not(.report-tareas-filter-card) {
	border-color: rgba(0, 129, 197, 0.28);
	background: var(--tareas-accent-soft);
	color: var(--rep-accent, #1e3a5f);
	box-shadow: none;
}

.report-tareas-quickadd__icon {
	background: var(--tareas-accent-soft);
	color: var(--tareas-accent);
}

.report-tareas-viewtab.is-active {
	color: var(--rep-accent, #1e3a5f);
}

.report-tareas-check__input:checked + .report-tareas-check__box {
	background: var(--tareas-accent);
	border-color: var(--tareas-accent);
}

.report-tareas-progress__bar {
	background: linear-gradient(90deg, var(--tareas-accent), #6ec4ea);
}

.report-tareas-groups {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.report-tareas-group__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--rep-border);
}

.report-tareas-group__head h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--rep-accent, #1e3a5f);
}

.report-tareas-group__head.is-overdue h3 {
	color: #b91c1c;
}

.report-tareas-group__count {
	font-size: 11px;
	font-weight: 700;
	color: var(--rep-muted);
}

.report-tareas-group__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.report-tareas-card {
	grid-template-columns: auto 1fr auto;
	padding: 11px 14px;
	border-radius: 10px;
	border-color: var(--rep-border);
}

.report-tareas-card:hover {
	border-color: rgba(0, 129, 197, 0.22);
	box-shadow: var(--rep-shadow-hover);
}

.report-tareas-card__title {
	font-weight: 600;
}

.report-tareas-card__side {
	width: auto;
	min-width: 56px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.report-tareas-card__details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 6px;
}

.report-tareas-card__detail {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: var(--rep-muted, #64748b);
}

.report-tareas-card__detail--overdue {
	color: #b91c1c;
	font-weight: 600;
}

.report-tareas-card__row-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
}

.report-tareas-estado-quick {
	max-width: 140px;
	padding: 4px 8px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 7px;
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	background: #fff;
	color: #334155;
	cursor: pointer;
}

.report-tareas-card__edit {
	width: 28px;
	height: 28px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 8px;
	background: #fff;
	color: var(--rep-muted, #64748b);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color .15s, color .15s, background .15s;
}

.report-tareas-card__edit:hover {
	border-color: rgba(0, 129, 197, 0.35);
	color: var(--tareas-accent, #0081c5);
	background: var(--tareas-accent-soft, rgba(0, 129, 197, 0.06));
}

.report-tareas-pipeline-card__details {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-top: 4px;
}

.report-tareas-pipeline-card__detail {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 10px;
	color: #64748b;
}

.report-tareas-drawer-hist {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--rep-border, #e2e8f0);
}

.report-tareas-viewhint,
.report-tareas-pipeline-hint {
	margin: 0 0 12px;
	font-size: 12px;
	color: var(--rep-muted);
}

.report-tareas-pipeline__cards {
	min-height: 80px;
	transition: background .15s, outline .15s;
	border-radius: 0 0 12px 12px;
}

.report-tareas-pipeline__cards.is-drag-over {
	background: rgba(0, 129, 197, 0.08);
	outline: 2px dashed rgba(0, 129, 197, 0.35);
	outline-offset: -4px;
}

.report-tareas-pipeline-card {
	cursor: grab;
	transition: opacity .15s, box-shadow .15s;
	flex-wrap: wrap;
	align-items: flex-start;
}

.report-tareas-pipeline-card .report-tareas-card__edit {
	margin-left: auto;
	flex-shrink: 0;
}

.report-tareas-pipeline-card.is-dragging {
	opacity: .45;
	cursor: grabbing;
}

.report-tareas-pipeline-card__grip {
	color: #cbd5e1;
	font-size: 11px;
	padding-top: 3px;
	flex-shrink: 0;
}

.report-tareas-pipeline__count {
	background: var(--tareas-accent-soft);
	color: var(--tareas-accent);
}

.report-tareas-pipeline__name {
	color: var(--rep-accent, #1e3a5f);
}

.report-tareas-header__user {
	background: var(--tareas-accent-soft);
	color: var(--rep-accent, #1e3a5f);
	border: 1px solid var(--rep-border);
}

.report-tareas-sidebar {
	display: none;
}

/* Mis tareas v1.7.5 — filtros horizontales */
.report-tareas-viewbar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.report-tareas-add-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border: none;
	border-radius: 9px;
	background: var(--tareas-accent, #0081c5);
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 129, 197, 0.25);
	transition: background .15s, box-shadow .15s;
}

.report-tareas-add-btn:hover {
	background: #006da8;
	box-shadow: 0 4px 12px rgba(0, 129, 197, 0.32);
}

.report-tareas-add-btn i {
	font-size: 11px;
}

.report-tareas-save-btn {
	width: 100%;
}

.report-tareas-drawer.is-saving .report-maestro-drawer__body {
	opacity: 0.55;
	pointer-events: none;
}

.report-tareas-drawer.is-saving .report-tareas-save-btn {
	opacity: 0.85;
	cursor: wait;
}

.report-tareas-drawer.is-saving .report-maestro-drawer__close {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Cronograma a pantalla completa */
.report-tareas-main {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - 260px);
	width: 100%;
	min-width: 0;
}

.report-tareas-main.is-view-cronograma #panelCronograma {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.report-tareas-main.is-view-cronograma .report-tareas-cron {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.report-tareas-main.is-view-cronograma .report-tareas-cron__scroll {
	flex: 1;
	max-height: none;
	min-height: calc(100vh - 400px);
}

@media (max-width: 960px) {
	.report-tareas-viewbar__actions {
		width: 100%;
		justify-content: space-between;
	}

	.report-tareas-main.is-view-cronograma .report-tareas-cron__scroll {
		min-height: calc(100vh - 360px);
	}
}

/* Mis tareas v1.7.8 — pestaña lateral + guía principal sin tareas */
.report-tareas-help-tab {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 12000;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 44px;
	min-height: 132px;
	padding: 14px 8px;
	border: 1px solid rgba(0, 129, 197, 0.45);
	border-right: none;
	border-radius: 12px 0 0 12px;
	background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 100%);
	color: var(--tareas-accent, #0081c5);
	box-shadow: -8px 0 24px rgba(15, 23, 42, 0.14);
	cursor: pointer;
	font: inherit;
	transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.report-tareas-help-tab__icon {
	font-size: 18px;
	line-height: 1;
}

.report-tareas-help-tab__label {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
}

.report-tareas-help-tab:hover,
.report-tareas-help-tab:focus {
	background: linear-gradient(180deg, #ffffff 0%, #bae6fd 100%);
	box-shadow: -10px 0 28px rgba(0, 129, 197, 0.22);
	outline: none;
}

body.report-tareas-help-open .report-tareas-help-tab {
	opacity: 0.35;
	pointer-events: none;
}

.report-tareas-help-modal {
	position: fixed;
	inset: 0;
	z-index: 22000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px 20px;
	pointer-events: none;
}

.report-tareas-help-modal.is-open {
	display: flex;
	pointer-events: auto;
}

body.report-tareas-help-open {
	overflow: hidden;
}

.report-tareas-help-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.report-tareas-help-modal__dialog {
	position: relative;
	width: min(900px, 100%);
	max-height: min(92vh, 940px);
	overflow: auto;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 32px 72px rgba(15, 23, 42, 0.3);
	animation: report-tareas-help-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes report-tareas-help-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.report-tareas-help-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #64748b;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.report-tareas-help-modal__close:hover {
	background: #fff;
	color: #0f172a;
}

.report-tareas-help-inline {
	margin-top: 4px;
}

.report-tareas-help-inline .report-tareas-help-landing {
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.report-tareas-help-inline .report-tareas-help-landing__hero {
	border-radius: 0;
}

.report-tareas-main.is-help-primary .report-tareas-viewbar {
	opacity: 0.92;
}

.report-tareas-help-landing__hero {
	padding: 32px 32px 24px;
	border-radius: 20px 20px 0 0;
	background: linear-gradient(135deg, #0081c5 0%, #0ea5e9 52%, #38bdf8 100%);
	color: #fff;
	text-align: center;
}

.report-tareas-help-landing__hero-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-bottom: 12px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 28px;
}

.report-tareas-help-landing__eyebrow {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	opacity: 0.88;
}

.report-tareas-help-landing__title {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.report-tareas-help-landing__lead {
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.55;
	opacity: 0.95;
	max-width: 560px;
}

.report-tareas-help-landing__section {
	padding: 22px 28px 6px;
}

.report-tareas-help-landing__section h3 {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rep-accent, #1e3a5f);
}

.report-tareas-help-landing__benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.report-tareas-help-landing__benefit {
	padding: 16px 14px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 12px;
	background: #f8fafc;
}

.report-tareas-help-landing__benefit i {
	display: block;
	margin-bottom: 8px;
	font-size: 20px;
	color: var(--tareas-accent, #0081c5);
}

.report-tareas-help-landing__benefit strong {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	color: #0f172a;
}

.report-tareas-help-landing__benefit p {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: #64748b;
}

.report-tareas-help-landing__features {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.report-tareas-help-landing__feature {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--rep-border, #e2e8f0);
	background: #fff;
}

.report-tareas-help-landing__feature-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--tareas-accent-soft, #e0f2fe);
	color: var(--tareas-accent, #0081c5);
	font-size: 16px;
}

.report-tareas-help-landing__feature strong {
	display: block;
	margin-bottom: 2px;
	font-size: 14px;
	color: #0f172a;
}

.report-tareas-help-landing__feature p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #64748b;
}

.report-tareas-help-landing__steps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.report-tareas-help-landing__steps li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 10px;
	background: #f8fafc;
	font-size: 13px;
	line-height: 1.45;
	color: #334155;
}

.report-tareas-help-landing__steps li span {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--tareas-accent, #0081c5);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.report-tareas-help-landing__foot {
	padding: 10px 28px 28px;
	text-align: center;
}

.report-tareas-help-landing__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.report-tareas-help-landing__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: none;
	border-radius: 999px;
	background: var(--tareas-accent, #0081c5);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(0, 129, 197, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.report-tareas-help-landing__cta--create {
	background: #0f766e;
	box-shadow: 0 6px 20px rgba(15, 118, 110, 0.28);
}

.report-tareas-help-landing__cta--create:hover {
	box-shadow: 0 10px 24px rgba(15, 118, 110, 0.34);
}

.report-tareas-help-landing__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 129, 197, 0.34);
}

.report-tareas-help-landing__note {
	margin: 14px 0 0;
	font-size: 12px;
	color: #94a3b8;
}

@media (max-width: 720px) {
	.report-tareas-page--2026 {
		padding-right: 40px;
	}

	.report-tareas-help-tab {
		min-height: 108px;
		width: 38px;
		padding: 12px 6px;
	}

	.report-tareas-help-modal__dialog {
		width: 100%;
		border-radius: 16px;
	}

	.report-tareas-help-landing__benefits {
		grid-template-columns: 1fr;
	}

	.report-tareas-help-landing__hero {
		padding: 24px 18px 18px;
	}

	.report-tareas-help-landing__section {
		padding: 16px 18px 4px;
	}

	.report-tareas-help-landing__foot {
		padding: 8px 18px 20px;
	}

	.report-tareas-help-landing__actions {
		flex-direction: column;
		width: 100%;
	}

	.report-tareas-help-landing__cta {
		width: 100%;
	}
}

/* Mis tareas v1.7.9 — sub-tareas + rango pipeline/cronograma */
.report-tareas-range {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 10px;
	padding: 10px 12px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 12px;
	background: #f8fafc;
}

.report-tareas-range__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #475569;
}

.report-tareas-range__input {
	padding: 6px 8px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 8px;
	font: inherit;
	font-size: 12px;
}

.report-tareas-range__sep {
	color: #94a3b8;
}

.report-tareas-range__presets {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

.report-tareas-range__preset,
.report-tareas-range__apply {
	padding: 6px 10px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 8px;
	background: #fff;
	color: #334155;
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
}

.report-tareas-range__preset:hover,
.report-tareas-range__apply:hover {
	border-color: var(--tareas-accent, #0081c5);
	color: var(--tareas-accent, #0081c5);
}

.report-tareas-range__apply {
	background: var(--tareas-accent-soft, #e0f2fe);
	border-color: rgba(0, 129, 197, 0.35);
	color: var(--tareas-accent, #0081c5);
}

.report-tareas-subtasks {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--rep-border, #e2e8f0);
}

.report-tareas-subtasks__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.report-tareas-subtasks__head h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--rep-accent, #1e3a5f);
}

.report-tareas-subtasks__add {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border: 1px dashed rgba(0, 129, 197, 0.45);
	border-radius: 8px;
	background: #fff;
	color: var(--tareas-accent, #0081c5);
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
}

.report-tareas-subtasks__hint {
	margin: 0 0 8px;
	font-size: 11px;
	color: #64748b;
}

.report-tareas-subrow {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 8px;
	align-items: end;
	margin-bottom: 8px;
	padding: 8px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid var(--rep-border, #e2e8f0);
}

.report-tareas-subrow__date {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 10px;
	color: #64748b;
}

.report-tareas-subrow__del {
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 8px;
	background: #fee2e2;
	color: #b91c1c;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.report-tareas-sublist {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.report-tareas-sublist__item {
	padding: 8px 10px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid var(--rep-border, #e2e8f0);
	margin-bottom: 6px;
}

.report-tareas-sublist__title {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #0f172a;
}

.report-tareas-sublist__meta {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	color: #64748b;
}

.report-tareas-subempty {
	margin: 0 0 8px;
	font-size: 12px;
	color: #94a3b8;
}

.report-tareas-submanage {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--tareas-accent, #0081c5);
	text-decoration: none;
}

.report-tareas-submanage:hover {
	text-decoration: underline;
}

.report-tareas-subquick__row {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 8px;
	align-items: end;
}

.report-tareas-subquick__btn {
	padding: 8px 12px;
	font-size: 12px;
}

.report-tareas-subbadge {
	background: #ede9fe;
	color: #5b21b6;
}

@media (max-width: 720px) {
	.report-tareas-subrow,
	.report-tareas-subquick__row {
		grid-template-columns: 1fr;
	}

	.report-tareas-range {
		flex-direction: column;
		align-items: stretch;
	}
}

/* Business Partners — modal administrar perfil */
.report-bp-perfil-modal {
	position: fixed;
	inset: 0;
	z-index: 22000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px 16px;
	pointer-events: none;
}

.report-bp-perfil-modal.is-open {
	display: flex;
	pointer-events: auto;
}

body.report-bp-perfil-open {
	overflow: hidden;
}

.report-bp-perfil-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.report-bp-perfil-modal__dialog {
	position: relative;
	width: min(640px, 100%);
	max-height: min(92vh, 820px);
	overflow: auto;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 28px 64px rgba(15, 23, 42, 0.28);
	animation: report-bp-perfil-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes report-bp-perfil-in {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.report-bp-perfil-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #64748b;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.report-bp-perfil-modal__close:hover {
	background: #fff;
	color: #0f172a;
}

.report-bp-perfil-modal__head {
	padding: 22px 22px 16px;
	border-radius: 18px 18px 0 0;
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 52%, #5eead4 100%);
	color: #fff;
}

.report-bp-perfil-modal--off .report-bp-perfil-modal__head {
	background: linear-gradient(135deg, #334155 0%, #475569 52%, #64748b 100%);
}

.report-bp-perfil-modal__brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.report-bp-perfil-modal__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.35);
	overflow: hidden;
	flex-shrink: 0;
}

.report-bp-perfil-modal__logo-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.report-bp-perfil-modal__logo-fallback {
	font-size: 16px;
	font-weight: 800;
	color: #0f766e;
}

.report-bp-perfil-modal__info {
	min-width: 0;
}

.report-bp-perfil-modal__eyebrow {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.9;
}

.report-bp-perfil-modal__nombre {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
}

.report-bp-perfil-modal__estado {
	font-size: 12px;
	opacity: 0.92;
}

.report-bp-perfil-modal__metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 14px;
}

.report-bp-perfil-modal__metric {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 10px 8px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 11px;
}

.report-bp-perfil-modal__metric i {
	font-size: 14px;
	opacity: 0.9;
}

.report-bp-perfil-modal__metric strong {
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.report-bp-perfil-modal__metrics-note {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 12px;
	line-height: 1.45;
}

.report-bp-perfil-modal__body {
	padding: 18px 22px 22px;
}

.report-bp-perfil-modal__hint {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #64748b;
}

.report-bp-perfil-modal__fields {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 12px;
	margin-bottom: 14px;
}

.report-bp-perfil-modal__form .report-conso-field select,
.report-bp-perfil-modal__form .report-conso-field textarea {
	width: 100%;
}

.report-bp-perfil-modal__form .report-conso-field textarea {
	min-height: 88px;
	resize: vertical;
}

.report-bp-perfil-modal__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.report-bp-perfil-modal__submit {
	min-width: 180px;
}

.report-bp-perfil-modal__off {
	margin: 0;
}

.report-bp-perfil-modal__btn-off {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border: 1px solid #fecaca;
	border-radius: 9px;
	background: #fff;
	color: #b91c1c;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.report-bp-perfil-modal__btn-off:hover {
	background: #fef2f2;
	border-color: #f87171;
}

a.report-bp-open-perfil {
	cursor: pointer;
}

@media (max-width: 720px) {
	.report-bp-perfil-modal__fields {
		grid-template-columns: 1fr;
	}

	.report-bp-perfil-modal__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.report-bp-perfil-modal__submit,
	.report-bp-perfil-modal__btn-off {
		width: 100%;
		justify-content: center;
	}
}

/* Informes — búsqueda en tablas (m_venta8, etc.) */
.report-table-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	padding: 0 16px 14px;
}

.report-table-toolbar__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	flex: 1 1 280px;
	min-width: 0;
}

.report-table-prov-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 1 260px;
	min-width: 0;
}

.report-table-prov {
	flex: 1;
	min-width: 140px;
	max-width: 280px;
	padding: 8px 12px;
	border: 1px solid var(--rep-border);
	border-radius: 8px;
	font-size: 13px;
	font-family: inherit;
	color: var(--rep-ink);
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.report-table-prov:focus {
	outline: none;
	border-color: var(--rep-sys-blue);
	box-shadow: 0 0 0 3px rgba(0, 129, 197, 0.12);
}

.report-table-search-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 220px;
	max-width: 440px;
	min-width: 0;
}

.report-table-search-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--rep-muted);
	white-space: nowrap;
}

.report-table-search {
	flex: 1;
	min-width: 0;
	padding: 8px 12px;
	border: 1px solid var(--rep-border);
	border-radius: 8px;
	font-size: 13px;
	font-family: inherit;
	color: var(--rep-ink);
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.report-table-search:focus {
	outline: none;
	border-color: var(--rep-sys-blue);
	box-shadow: 0 0 0 3px rgba(0, 129, 197, 0.12);
}

.report-table-search-meta {
	font-size: 12px;
	font-weight: 500;
	color: var(--rep-muted);
	white-space: nowrap;
}

.report-data-card .report-section-title {
	padding-bottom: 4px;
}

/* m_venta8 — KPI hero + modal analítico */
.report-venta8-kpi-strip {
	margin-bottom: 24px;
	padding: 18px 20px 20px;
	border: 1px solid var(--rep-border);
	border-radius: var(--rep-radius);
	background: linear-gradient(135deg, rgba(0, 129, 197, 0.06) 0%, rgba(30, 58, 95, 0.04) 100%);
	box-shadow: var(--rep-shadow);
}

.report-venta8-kpi-strip__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-bottom: 14px;
}

.report-venta8-kpi-strip__title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--rep-accent);
	letter-spacing: 0.02em;
}

.report-venta8-kpi-strip__more {
	border: none;
	background: transparent;
	color: var(--rep-sys-blue);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.report-venta8-kpi-strip__more:hover {
	color: var(--rep-sys-blue-hover);
}

.report-venta8-kpi-strip__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 900px) {
	.report-venta8-kpi-strip__grid {
		grid-template-columns: 1fr;
	}
}

.report-venta8-kpi-hero {
	position: relative;
	padding: 16px 16px 14px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--rep-border);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.report-venta8-kpi-hero__tag {
	display: inline-block;
	margin-bottom: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rep-sys-blue);
	background: rgba(0, 129, 197, 0.1);
}

.report-venta8-kpi-hero__label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--rep-muted);
	margin-bottom: 4px;
}

.report-venta8-kpi-hero__value {
	display: block;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--rep-ink);
}

.report-venta8-kpi-hero__value small {
	font-size: 0.55em;
	font-weight: 600;
	color: var(--rep-muted);
}

.report-venta8-kpi-hero__sub {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.45;
	color: #64748b;
}

.report-venta8-kpi-modal {
	position: fixed;
	inset: 0;
	z-index: 22000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px 16px;
	pointer-events: none;
}

.report-venta8-kpi-modal.is-open {
	display: flex;
	pointer-events: auto;
}

body.report-venta8-kpi-open,
body.report-venta5-kpi-open {
	overflow: hidden;
}

/* Contenido embebido en iframe del popup de informes */
body.report-popup-embed {
	background: #f8fafc;
	min-height: 100%;
}

body.report-popup-embed .report-popup-embed__wrap {
	max-width: none;
	padding: 16px 20px 24px;
}

body.report-popup-embed .report-popup-embed__header {
	margin-bottom: 12px;
	padding-bottom: 0;
}

body.report-popup-embed .report-popup-embed__header h1 {
	font-size: 1.15rem;
	margin-bottom: 4px;
}

body.report-popup-embed .report-popup-embed__header .report-sub {
	font-size: 13px;
	margin-bottom: 4px;
}

body.report-popup-embed .report-popup-embed__header .report-note {
	font-size: 12px;
	margin: 0;
}

body.report-popup-embed .report-popup-embed__table {
	margin: 0;
	box-shadow: none;
	border: 1px solid var(--rep-border, #e2e8f0);
}

body.report-page-body a.report-detalle-doc-pdf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 6px;
	color: #dc2626;
	font-size: 14px;
	vertical-align: middle;
	text-decoration: none;
}

body.report-page-body a.report-detalle-doc-pdf:hover {
	color: #b91c1c;
}

.report-venta8-kpi-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.report-venta8-kpi-modal__dialog {
	position: relative;
	width: min(1120px, 96vw);
	max-height: min(94vh, 920px);
	overflow: auto;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 28px 64px rgba(15, 23, 42, 0.28);
	animation: report-bp-perfil-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.report-venta8-kpi-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #64748b;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.report-venta8-kpi-modal__close:hover {
	background: #fff;
	color: #0f172a;
}

.report-venta8-kpi-modal__head {
	padding: 22px 22px 14px;
	border-radius: 18px 18px 0 0;
	background: linear-gradient(135deg, #5a7d9a 0%, #7ba3be 100%);
	color: #fff;
}

.report-venta8-kpi-modal__eyebrow {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
}

.report-venta8-kpi-modal__head h2 {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 700;
}

.report-venta8-kpi-modal__lead {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	opacity: 0.92;
	max-width: 54ch;
}

.report-venta8-kpi-modal__body {
	padding: 16px 24px 28px;
}

.report-venta8-kpi-modal__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
}

@media (max-width: 820px) {
	.report-venta8-kpi-modal__grid {
		grid-template-columns: 1fr;
	}
}

.report-venta8-kpi-modal__section {
	grid-column: 1 / -1;
	margin: 8px 0 4px;
	padding-top: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rep-muted);
	border-bottom: 1px solid var(--rep-border);
	padding-bottom: 8px;
}

.report-venta8-kpi-modal__section:first-child {
	margin-top: 0;
}

.report-venta8-kpi-modal__card {
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--rep-border);
	background: #fafbfc;
}

.report-venta8-kpi-modal__card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px 12px;
	margin-bottom: 8px;
}

.report-venta8-kpi-modal__row-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--rep-ink);
	line-height: 1.3;
	max-width: 62%;
}

.report-venta8-kpi-modal__row-value {
	font-size: 15px;
	font-weight: 700;
	color: var(--rep-sys-blue);
	text-align: right;
	line-height: 1.3;
}

.report-venta8-kpi-modal__row-what {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.55;
	color: #334155;
}

.report-venta8-kpi-modal__row-formula {
	margin: 0;
	font-size: 11px;
	line-height: 1.45;
	color: #94a3b8;
	font-style: italic;
}

.report-venta8-kpi-modal__grid--preview {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-venta8-visualize {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.4fr 0.9fr;
	gap: 20px 24px;
	align-items: start;
	margin-top: 4px;
	padding: 22px 24px;
	border-radius: 14px;
	background: linear-gradient(135deg, #4a6478 0%, #5f7d92 52%, #7391a3 100%);
	color: #e2e8f0;
	border: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 820px) {
	.report-venta8-visualize {
		grid-template-columns: 1fr;
	}
}

.report-venta8-visualize__badge {
	display: inline-flex;
	align-items: center;
	margin-bottom: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(251, 191, 36, 0.18);
	color: #fcd34d;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.report-venta8-visualize__tagline {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	color: #dbeafe;
	line-height: 1.4;
}

.report-venta8-visualize__title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.report-venta8-visualize__lead {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.6;
	color: #cbd5e1;
}

.report-venta8-visualize__lead strong {
	color: #fff;
}

.report-venta8-visualize__perks {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.report-venta8-visualize__perks li {
	position: relative;
	padding: 5px 0 5px 18px;
	font-size: 13px;
	line-height: 1.45;
	color: #e2e8f0;
}

.report-venta8-visualize__perks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #34d399;
}

.report-venta8-visualize__perks strong {
	color: #fcd34d;
	font-weight: 800;
}

.report-venta8-visualize__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.report-venta8-visualize__list li {
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 11px;
	font-weight: 600;
	color: #e2e8f0;
}

.report-venta8-visualize__list-more {
	font-style: italic;
	opacity: 0.85;
}

.report-venta8-visualize__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.report-venta8-visualize__price {
	margin: 0;
	text-align: center;
	line-height: 1.2;
}

.report-venta8-visualize__price-from {
	display: block;
	margin-bottom: 2px;
	font-size: 12px;
	font-weight: 600;
	color: #cbd5e1;
	text-transform: lowercase;
}

.report-venta8-visualize__price-from::first-letter {
	text-transform: uppercase;
}

.report-venta8-visualize__price-value {
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
}

.report-venta8-visualize__price-unit {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 600;
	color: #94a3b8;
}

.report-venta8-visualize__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.report-page-body a.report-venta8-visualize__btn--primary,
body.report-page-body a.report-venta8-visualize__btn--primary:visited {
	background: linear-gradient(90deg, #f59e0b, #ea580c);
	color: #fff;
}

body.report-page-body a.report-venta8-visualize__btn--primary:hover {
	background: linear-gradient(90deg, #ea580c, #c2410c);
	color: #fff;
}

body.report-page-body a.report-venta8-visualize__btn--ghost,
body.report-page-body a.report-venta8-visualize__btn--ghost:visited {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.75);
}

body.report-page-body a.report-venta8-visualize__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.24);
	color: #fff;
	border-color: #fff;
}

/* Visualize — landing comercial (m_visualize.php) */
.viz-body {
	background: #f1f5f9;
	margin: 0;
}

.viz-nav {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rep-border);
}

.viz-nav__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.viz-nav__brand {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	line-height: 1.2;
}

.viz-nav__logo {
	font-size: 18px;
	font-weight: 800;
	background: linear-gradient(90deg, #2563eb, #7c3aed);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	letter-spacing: -0.02em;
}

.viz-nav__by {
	font-size: 10px;
	font-weight: 600;
	color: var(--rep-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.viz-nav__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-right: auto;
}

.viz-nav__links a {
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
}

.viz-nav__links a:hover {
	color: var(--rep-sys-blue);
}

.viz-nav__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.viz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.viz-btn--sm {
	padding: 8px 14px;
	font-size: 12px;
}

.viz-btn--lg {
	padding: 14px 24px;
	font-size: 15px;
}

.viz-btn--block {
	width: 100%;
}

.viz-btn--primary {
	background: #fbbf24;
	color: #1e293b;
}

.viz-btn--primary:hover {
	background: #f59e0b;
	color: #0f172a;
}

.viz-btn--ghost {
	background: #fff;
	color: #475569;
	border: 1px solid var(--rep-border);
}

.viz-btn--ghost:hover {
	background: #f8fafc;
	color: #0f172a;
}

.viz-pill {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 5px 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(251, 191, 36, 0.35), rgba(244, 114, 182, 0.35));
	color: #fef3c7;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.viz-pill--soft {
	background: #e0f2fe;
	color: #0369a1;
}

.viz-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(125deg, #1e3a8a 0%, #2563eb 32%, #7c3aed 62%, #0891b2 100%);
	color: #fff;
	padding: 48px 24px 56px;
}

.viz-hero::before,
.viz-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.viz-hero::before {
	width: 420px;
	height: 420px;
	top: -120px;
	right: -80px;
	background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, transparent 68%);
}

.viz-hero::after {
	width: 360px;
	height: 360px;
	bottom: -140px;
	left: -60px;
	background: radial-gradient(circle, rgba(52, 211, 153, 0.28) 0%, transparent 70%);
}

.viz-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 40px;
	align-items: center;
}

@media (max-width: 960px) {
	.viz-hero__inner {
		grid-template-columns: 1fr;
	}
}

.viz-hero h1 {
	margin: 0 0 16px;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.viz-hero__lead {
	margin: 0 0 18px;
	max-width: 52ch;
	font-size: 16px;
	line-height: 1.65;
	color: #e2e8f0;
}

.viz-hero__lead strong {
	color: #fff;
}

.viz-hero__bullets {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.viz-hero__bullets li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 14px;
	color: #f1f5f9;
}

.viz-hero__bullets i {
	color: #fde047;
}

.viz-hero__bullets li:nth-child(1) i { color: #86efac; }
.viz-hero__bullets li:nth-child(2) i { color: #7dd3fc; }
.viz-hero__bullets li:nth-child(3) i { color: #f9a8d4; }

.viz-hero__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.viz-hero__price {
	line-height: 1.2;
}

.viz-hero__price-from {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #cbd5e1;
}

.viz-hero__price-value {
	font-size: 36px;
	font-weight: 800;
	color: #fde047;
}

.viz-hero__price-unit {
	font-size: 13px;
	font-weight: 600;
	color: #e2e8f0;
}

.viz-dash {
	position: relative;
}

.viz-dash__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
	opacity: 0.7;
	pointer-events: none;
}

.viz-dash__glow--amber {
	width: 120px;
	height: 120px;
	top: -20px;
	right: 10px;
	background: #fbbf24;
}

.viz-dash__glow--cyan {
	width: 100px;
	height: 100px;
	bottom: 20px;
	left: -10px;
	background: #22d3ee;
}

.viz-dash__window {
	position: relative;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 28px 64px rgba(15, 23, 42, 0.35);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.6);
}

.viz-dash__titlebar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: linear-gradient(90deg, #f8fafc, #eef2ff);
	border-bottom: 1px solid #e2e8f0;
}

.viz-dash__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	flex-shrink: 0;
}

.viz-dash__dot--red { background: #f87171; }
.viz-dash__dot--yellow { background: #fbbf24; }
.viz-dash__dot--green { background: #4ade80; }

.viz-dash__title {
	margin-left: 6px;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
}

.viz-dash__body {
	padding: 14px;
	background: #f8fafc;
}

.viz-dash__kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 10px;
}

.viz-dash__kpi {
	padding: 10px 10px 8px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-top: 3px solid #94a3b8;
}

.viz-dash__kpi--blue { border-top-color: #3b82f6; }
.viz-dash__kpi--emerald { border-top-color: #10b981; }
.viz-dash__kpi--violet { border-top-color: #8b5cf6; }

.viz-dash__kpi small {
	display: block;
	font-size: 9px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.viz-dash__kpi strong {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.2;
}

.viz-dash__delta {
	display: inline-block;
	margin-top: 4px;
	padding: 1px 6px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 700;
}

.viz-dash__delta--up {
	background: #dcfce7;
	color: #15803d;
}

.viz-dash__delta--down {
	background: #fee2e2;
	color: #b91c1c;
}

.viz-dash__charts {
	display: grid;
	grid-template-columns: 1.2fr 0.9fr 0.9fr;
	gap: 8px;
}

@media (max-width: 560px) {
	.viz-dash__charts {
		grid-template-columns: 1fr;
	}
}

.viz-dash__panel {
	padding: 10px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e2e8f0;
	min-height: 110px;
}

.viz-dash__panel--wide {
	grid-column: span 1;
}

.viz-dash__panel-label {
	display: block;
	margin-bottom: 8px;
	font-size: 9px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.viz-bars {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 4px;
	height: 72px;
	padding-top: 4px;
}

.viz-bars__col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	justify-content: flex-end;
	gap: 4px;
}

.viz-bars__bar {
	display: block;
	width: 100%;
	max-width: 18px;
	border-radius: 4px 4px 2px 2px;
	min-height: 8px;
}

.viz-bars__bar--c1 { background: linear-gradient(180deg, #60a5fa, #2563eb); }
.viz-bars__bar--c2 { background: linear-gradient(180deg, #34d399, #059669); }
.viz-bars__bar--c3 { background: linear-gradient(180deg, #a78bfa, #7c3aed); }
.viz-bars__bar--c4 { background: linear-gradient(180deg, #fbbf24, #d97706); }
.viz-bars__bar--c5 { background: linear-gradient(180deg, #f472b6, #db2777); }
.viz-bars__bar--c6 { background: linear-gradient(180deg, #22d3ee, #0891b2); }

.viz-bars__col i {
	font-style: normal;
	font-size: 8px;
	font-weight: 600;
	color: #94a3b8;
}

.viz-line-chart {
	display: block;
	width: 100%;
	height: 72px;
}

.viz-line-chart__line {
	fill: none;
	stroke: #0ea5e9;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.viz-donut-wrap {
	position: relative;
	width: 64px;
	height: 64px;
	margin: 0 auto 6px;
}

.viz-donut {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.viz-donut__ring {
	stroke: #e2e8f0;
}

.viz-donut__seg {
	stroke-linecap: round;
}

.viz-donut__seg--1 { stroke: #3b82f6; }
.viz-donut__seg--2 { stroke: #10b981; }
.viz-donut__seg--3 { stroke: #f59e0b; }

.viz-donut__center {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 800;
	color: #334155;
}

.viz-legend {
	list-style: none;
	margin: 0;
	padding: 0;
}

.viz-legend li {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 8px;
	font-weight: 600;
	color: #64748b;
	padding: 2px 0;
}

.viz-legend__swatch {
	width: 8px;
	height: 8px;
	border-radius: 2px;
	flex-shrink: 0;
}

.viz-legend__swatch--1 { background: #3b82f6; }
.viz-legend__swatch--2 { background: #10b981; }
.viz-legend__swatch--3 { background: #f59e0b; }

.viz-trust {
	background: #fff;
	border-bottom: 1px solid var(--rep-border);
}

.viz-trust__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	text-align: center;
}

@media (max-width: 720px) {
	.viz-trust__inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

.viz-trust__item {
	font-size: 13px;
	color: var(--rep-muted);
}

.viz-trust__item strong {
	display: block;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}

.viz-trust__item:nth-child(1) strong { color: #2563eb; }
.viz-trust__item:nth-child(2) strong { color: #7c3aed; }
.viz-trust__item:nth-child(3) strong { color: #0891b2; }
.viz-trust__item:nth-child(4) strong { color: #d97706; }

.viz-section {
	padding: 56px 24px;
}

.viz-section--alt {
	background: #fff;
}

.viz-section__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.viz-section__head {
	margin-bottom: 28px;
	max-width: 720px;
}

.viz-section__head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.viz-section__head h2 {
	margin: 0 0 10px;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	color: var(--rep-ink);
	line-height: 1.25;
}

.viz-section__head p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--rep-muted);
}

.viz-value-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

@media (max-width: 960px) {
	.viz-value-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.viz-value-grid {
		grid-template-columns: 1fr;
	}
}

.viz-value-card {
	padding: 22px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--rep-border);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.viz-value-card i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 12px;
	border-radius: 11px;
	font-size: 18px;
	color: #fff;
}

.viz-value-grid .viz-value-card:nth-child(1) i { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.viz-value-grid .viz-value-card:nth-child(2) i { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.viz-value-grid .viz-value-card:nth-child(3) i { background: linear-gradient(135deg, #14b8a6, #0891b2); }
.viz-value-grid .viz-value-card:nth-child(4) i { background: linear-gradient(135deg, #f59e0b, #d97706); }

.viz-value-card h3 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--rep-ink);
}

.viz-value-card p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--rep-muted);
}

.viz-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.viz-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--rep-border);
	background: #fff;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.viz-tab i {
	font-size: 12px;
	opacity: 0.85;
}

.viz-tab.is-active,
.viz-tab:hover {
	background: linear-gradient(90deg, #2563eb, #7c3aed);
	border-color: transparent;
	color: #fff;
}

.viz-panels {
	position: relative;
}

.viz-panel {
	display: none;
	animation: viz-fade-in 0.25s ease;
}

.viz-panel.is-active {
	display: block;
}

@keyframes viz-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.viz-panel__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px 16px;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--rep-border);
}

.viz-panel__intro h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink);
}

.viz-panel__intro p {
	margin: 0;
	flex: 1 1 100%;
	font-size: 14px;
	line-height: 1.55;
	color: var(--rep-muted);
}

.viz-panel__count {
	padding: 4px 12px;
	border-radius: 999px;
	background: #e0f2fe;
	color: #0369a1;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.viz-kpi-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 960px) {
	.viz-kpi-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.viz-kpi-grid {
		grid-template-columns: 1fr;
	}
}

.viz-kpi-card {
	padding: 16px 18px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid var(--rep-border);
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.viz-kpi-card:hover {
	border-color: #94a3b8;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.viz-kpi-card h4 {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--rep-ink);
	line-height: 1.35;
}

.viz-kpi-card p {
	margin: 0;
	font-size: 12px;
	line-height: 1.55;
	color: var(--rep-muted);
}

.viz-reports-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 960px) {
	.viz-reports-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.viz-reports-grid {
		grid-template-columns: 1fr;
	}
}

.viz-report-group {
	padding: 20px 22px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--rep-border);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.viz-report-group__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.viz-report-group__head i {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: #eff6ff;
	color: var(--rep-sys-blue);
	font-size: 15px;
}

.viz-report-group__head h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--rep-ink);
}

.viz-report-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.viz-report-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
	font-size: 12px;
	line-height: 1.45;
	color: #475569;
	border-bottom: 1px solid #f1f5f9;
}

.viz-report-list li:last-child {
	border-bottom: none;
}

.viz-report-list i {
	margin-top: 2px;
	font-size: 10px;
	color: #94a3b8;
	flex-shrink: 0;
}

.viz-pricing {
	padding: 56px 24px 64px;
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.viz-pricing__inner {
	max-width: 960px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: start;
}

@media (max-width: 800px) {
	.viz-pricing__inner {
		grid-template-columns: 1fr;
	}
}

.viz-pricing__card {
	padding: 32px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--rep-border);
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.viz-pricing__card h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 800;
	color: var(--rep-ink);
}

.viz-pricing__desc {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--rep-muted);
}

.viz-pricing__price {
	margin-bottom: 20px;
	line-height: 1.1;
}

.viz-pricing__from {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--rep-muted);
}

.viz-pricing__amount {
	font-size: 48px;
	font-weight: 800;
	color: var(--rep-ink);
	letter-spacing: -0.03em;
}

.viz-pricing__period {
	font-size: 15px;
	font-weight: 600;
	color: var(--rep-muted);
}

.viz-pricing__features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.viz-pricing__features li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--rep-ink);
}

.viz-pricing__features i {
	color: #22c55e;
	font-size: 12px;
}

.viz-pricing__side h3 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	color: var(--rep-ink);
}

.viz-pricing__side p {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--rep-muted);
}

.viz-pricing__reasons {
	margin: 0;
	padding-left: 18px;
	color: #475569;
	font-size: 14px;
	line-height: 1.7;
}

.viz-footer {
	padding: 24px;
	background: #334155;
	color: #cbd5e1;
}

.viz-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.viz-footer__brand {
	font-size: 14px;
}

.viz-footer__brand strong {
	color: #fff;
}

.report-venta8-rot-table {
	min-width: 1380px;
}

.report-venta8-rot-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	white-space: nowrap;
}

.report-venta8-rot-badge--alta {
	background: #dcfce7;
	color: #166534;
}

.report-venta8-rot-badge--media {
	background: #dbeafe;
	color: #1e40af;
}

.report-venta8-rot-badge--baja {
	background: #f1f5f9;
	color: #475569;
}

.report-venta8-rot-badge--quiebre {
	background: #fee2e2;
	color: #991b1b;
}

.report-venta8-rot-badge--riesgo,
.report-venta8-rot-badge--minimo {
	background: #ffedd5;
	color: #9a3412;
}

.report-venta8-rot-badge--sd {
	background: #f8fafc;
	color: #64748b;
	border: 1px solid #e2e8f0;
}

.report-venta8-rot-table .report-venta8-rot-row--quiebre td {
	background: rgba(220, 38, 38, 0.06);
}

.report-venta8-rot-table .report-venta8-rot-row--riesgo td,
.report-venta8-rot-table .report-venta8-rot-row--minimo td {
	background: rgba(234, 88, 12, 0.05);
}

.report-venta8-top-prov__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 16px;
	margin-bottom: 12px;
}

.report-venta8-top-prov .report-section-title {
	margin: 0 0 4px;
}

.report-venta8-top-prov__lead {
	margin: 0;
	font-size: 13px;
	color: var(--rep-muted);
	max-width: 720px;
}

.report-venta8-top-prov__reset {
	border: 1px solid var(--rep-border);
	background: #fff;
	color: var(--rep-sys-blue);
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
}

.report-venta8-top-prov__reset:hover {
	border-color: var(--rep-sys-blue);
	background: rgba(0, 129, 197, 0.06);
}

.report-venta8-top-prov__table {
	min-width: 640px;
}

.report-venta8-top-prov__row {
	cursor: pointer;
}

.report-venta8-top-prov__row.is-active td,
.report-venta8-top-prov__row--lead td {
	background: rgba(0, 129, 197, 0.06);
}

.report-venta8-top-prov__row.is-active td {
	box-shadow: inset 3px 0 0 var(--rep-sys-blue);
}

.report-venta8-top-prov__name {
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	font: inherit;
	font-weight: 700;
	color: var(--rep-sys-blue);
	cursor: pointer;
	text-align: left;
}

.report-venta8-top-prov__name:hover {
	text-decoration: underline;
}

.sf-combo {
	position: relative;
	z-index: 5;
}

.sf-combo__native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: 0;
	opacity: 0;
	pointer-events: none;
	border: 0;
}

input.sf-combo__input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 32px;
	padding: 6px 28px 6px 8px;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	color: var(--rep-ink, #0f172a);
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.24a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.08z' clip-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 14px;
}

.report-conso-field input.sf-combo__input {
	padding-right: 28px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.24a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.08z' clip-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 14px;
}

.sf-combo__list {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	max-height: 280px;
	overflow: auto;
	margin: 0;
	padding: 4px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--rep-border, #e2e8f0);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.sf-combo__list.is-up {
	top: auto;
	bottom: calc(100% + 4px);
}

.sf-combo__item {
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 13px;
	color: var(--rep-ink, #0f172a);
	cursor: pointer;
}

.sf-combo__item:hover,
.sf-combo__item.is-active {
	background: #eff6ff;
}

.sf-combo__empty {
	padding: 8px 10px;
	font-size: 13px;
	color: #64748b;
}
