:root{
	--rv-black:#0c0d0f;
	--rv-black-2:#14161a;
	--rv-graphite:#23262c;
	--rv-text:#17191e;
	--rv-muted:#687386;
	--rv-muted-2:#8d96a6;
	--rv-line:#e1e5ea;
	--rv-line-2:#edf0f3;
	--rv-bg:#f5f6f8;
	--rv-card:#ffffff;
	--rv-yellow:#ffd200;
	--rv-green:#16834f;
	--rv-red:#d93f3f;
	--rv-orange:#b46b00;
	--rv-radius:18px;
	--rv-sidebar:248px;
	--rv-sidebar-collapsed:76px;
	--rv-shadow:0 8px 30px rgba(23,25,30,.045);
}

*{
	box-sizing:border-box;
}

html,
body{
	min-height:100%;
}

body{
	margin:0;
	background:var(--rv-bg);
	color:var(--rv-text);
	font-family:Arial,Helvetica,sans-serif;
	font-size:14px;
	-webkit-font-smoothing:antialiased;
}

a{
	color:inherit;
	text-decoration:none;
}

button,
input,
select{
	font:inherit;
}

.rv-shell{
	min-height:100vh;
}

.rv-sidebar{
	position:fixed;
	inset:0 auto 0 0;
	z-index:1040;
	width:var(--rv-sidebar);
	background:linear-gradient(180deg,#090a0b 0%,#0e1013 100%);
	color:#fff;
	display:flex;
	flex-direction:column;
	border-right:1px solid rgba(255,255,255,.05);
	transition:width .26s cubic-bezier(.22,.61,.36,1),transform .22s ease;
}

.rv-brand{
	height:84px;
	display:flex;
	align-items:center;
	gap:14px;
	padding:0 24px;
	border-bottom:1px solid rgba(255,255,255,.08);
	transition:padding .26s cubic-bezier(.22,.61,.36,1),gap .22s ease;
}

.rv-brand-mark{
	position:relative;
	width:28px;
	height:38px;
	transform:skewY(-3deg);
}

.rv-brand-mark:before,
.rv-brand-mark:after{
	content:"";
	position:absolute;
	inset:2px 6px;
	border:2px solid currentColor;
	transform:rotate(45deg) skewY(3deg);
}

.rv-brand-mark:after{
	inset:8px 10px;
	border-width:1px;
}

.rv-brand-copy{
	line-height:1.02;
	max-width:160px;
	opacity:1;
	overflow:hidden;
	white-space:nowrap;
	transform:translateX(0);
	transition:max-width .24s ease,opacity .16s ease,transform .24s ease;
}

.rv-brand-copy strong{
	display:block;
	font-size:15px;
	letter-spacing:.02em;
}

.rv-brand-copy span{
	display:block;
	font-size:14px;
	font-weight:700;
}

.rv-sidebar-scroll{
	flex:1 1 auto;
	overflow-y:auto;
	padding:22px 12px;
	transition:padding .26s cubic-bezier(.22,.61,.36,1);
}

.rv-menu-section{
	margin-bottom:26px;
	transition:margin-bottom .22s ease;
}

.rv-menu-label{
	max-height:24px;
	padding:0 12px 9px;
	font-size:10px;
	font-weight:700;
	letter-spacing:.14em;
	text-transform:uppercase;
	color:#6f7783;
	opacity:1;
	overflow:hidden;
	white-space:nowrap;
	transition:max-height .22s ease,padding .22s ease,opacity .14s ease;
}

.rv-menu-link{
	position:relative;
	display:flex;
	align-items:center;
	gap:12px;
	min-height:44px;
	padding:10px 14px;
	border-radius:10px;
	color:#c8ccd3;
	transition:background .18s ease,color .18s ease,padding .26s cubic-bezier(.22,.61,.36,1),gap .22s ease;
}

.rv-menu-link span{
	display:block;
	max-width:170px;
	opacity:1;
	overflow:hidden;
	white-space:nowrap;
	transform:translateX(0);
	transition:max-width .24s ease,opacity .16s ease,transform .24s ease;
}

.rv-menu-link i{
	width:20px;
	flex:0 0 20px;
	font-size:17px;
	text-align:center;
	transition:font-size .18s ease;
}

.rv-menu-link:hover{
	background:rgba(255,255,255,.055);
	color:#fff;
}

.rv-menu-link.active{
	background:linear-gradient(90deg,rgba(255,255,255,.12),rgba(255,255,255,.045));
	color:#fff;
	font-weight:700;
}

.rv-menu-link.active:before{
	content:"";
	position:absolute;
	left:-12px;
	top:7px;
	bottom:7px;
	width:3px;
	border-radius:0 6px 6px 0;
	background:var(--rv-yellow);
}

.rv-sidebar-footer{
	padding:22px 24px 26px;
	border-top:1px solid rgba(255,255,255,.08);
	transition:padding .26s cubic-bezier(.22,.61,.36,1);
}

.rv-sidebar-footer-line{
	width:28px;
	height:3px;
	margin-bottom:10px;
	background:var(--rv-yellow);
	border-radius:999px;
}

.rv-sidebar-footer strong,
.rv-sidebar-footer span{
	display:block;
	max-width:170px;
	opacity:1;
	overflow:hidden;
	white-space:nowrap;
	transform:translateX(0);
	transition:max-width .24s ease,opacity .16s ease,transform .24s ease;
}

.rv-sidebar-footer strong{
	font-size:15px;
}

.rv-sidebar-footer span{
	color:#a7adb7;
	font-size:12px;
}

.rv-menu-overlay{
	display:none;
}

.rv-main{
	min-height:100vh;
	margin-left:var(--rv-sidebar);
	transition:margin-left .26s cubic-bezier(.22,.61,.36,1);
}


/* Menú lateral colapsable en escritorio */
body.menu-collapsed .rv-sidebar{
	width:var(--rv-sidebar-collapsed);
}

body.menu-collapsed .rv-main{
	margin-left:var(--rv-sidebar-collapsed);
}

body.menu-collapsed .rv-brand{
	gap:0;
	padding-left:22px;
	padding-right:22px;
}

body.menu-collapsed .rv-brand-logo{
	width:31px;
}

body.menu-collapsed .rv-brand-copy,
body.menu-collapsed .rv-menu-link span,
body.menu-collapsed .rv-sidebar-footer strong,
body.menu-collapsed .rv-sidebar-footer span{
	max-width:0;
	opacity:0;
	transform:translateX(-6px);
	pointer-events:none;
}

body.menu-collapsed .rv-menu-label{
	max-height:0;
	padding-top:0;
	padding-bottom:0;
	opacity:0;
}

body.menu-collapsed .rv-sidebar-scroll{
	padding-left:10px;
	padding-right:10px;
}

body.menu-collapsed .rv-menu-section{
	margin-bottom:18px;
}

body.menu-collapsed .rv-menu-link{
	gap:0;
	padding-left:18px;
	padding-right:18px;
}

body.menu-collapsed .rv-menu-link i{
	font-size:19px;
}

body.menu-collapsed .rv-menu-link.active:before{
	left:-10px;
}

body.menu-collapsed .rv-sidebar-footer{
	padding-left:24px;
	padding-right:24px;
}

body.menu-collapsed .rv-sidebar-footer-line{
	margin-left:0;
	margin-right:0;
	margin-bottom:0;
}

.rv-topbar{
	position:sticky;
	top:0;
	z-index:1020;
	height:68px;
	background:rgba(255,255,255,.96);
	backdrop-filter:blur(10px);
	border-bottom:1px solid var(--rv-line);
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:20px;
	padding:0 28px;
}

.rv-menu-toggle{
	display:grid;
	place-items:center;
	width:42px;
	height:42px;
	border:1px solid var(--rv-line);
	border-radius:12px;
	background:#fff;
	color:#2b3037;
	transition:background .18s ease,border-color .18s ease;
}

.rv-menu-toggle:hover{
	background:#f5f6f8;
	border-color:#cbd1d8;
}

.rv-search{
	position:relative;
	width:min(520px,48vw);
}

.rv-search i{
	position:absolute;
	left:14px;
	top:50%;
	transform:translateY(-50%);
	font-size:16px;
	color:#303742;
}

.rv-search input{
	width:100%;
	height:42px;
	padding:0 16px 0 42px;
	border:1px solid var(--rv-line);
	border-radius:10px;
	background:#fbfbfc;
	outline:none;
}

.rv-search input:focus{
	border-color:#adb5c1;
	box-shadow:0 0 0 3px rgba(0,0,0,.03);
}

.rv-topbar-user{
	display:flex;
	align-items:center;
	gap:14px;
	min-width:0;
}

.rv-notify{
	position:relative;
	font-size:20px;
	color:#262a31;
}

.rv-notify:after{
	content:"";
	position:absolute;
	right:-1px;
	top:0;
	width:8px;
	height:8px;
	background:var(--rv-yellow);
	border:2px solid #fff;
	border-radius:50%;
}

.rv-avatar{
	width:38px;
	height:38px;
	border-radius:50%;
	background:#eef0f3;
	display:grid;
	place-items:center;
	font-weight:800;
}

.rv-user-copy{
	line-height:1.1;
	min-width:0;
}

.rv-user-copy strong,
.rv-user-copy span{
	display:block;
	white-space:nowrap;
}

.rv-user-copy strong{
	font-size:13px;
}

.rv-user-copy span{
	margin-top:4px;
	font-size:11px;
	color:var(--rv-muted);
}

.rv-content{
	padding:28px;
}

.rv-page-header{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:20px;
	margin-bottom:18px;
}

.rv-kicker{
	margin-bottom:6px;
	font-size:11px;
	font-weight:800;
	letter-spacing:.11em;
	text-transform:uppercase;
	color:#5f6a7b;
}

.rv-page-title{
	margin:0;
	font-size:34px;
	font-weight:800;
	letter-spacing:-.035em;
}

.rv-page-subtitle{
	margin:5px 0 0;
	font-size:15px;
	color:var(--rv-muted);
}

.rv-freshness{
	display:flex;
	align-items:center;
	gap:14px;
	padding-top:11px;
	font-size:12px;
	color:var(--rv-muted);
	white-space:nowrap;
}

.rv-freshness-status{
	display:flex;
	align-items:center;
	gap:7px;
	color:var(--rv-green);
}

.rv-dot{
	width:8px;
	height:8px;
	border-radius:50%;
	background:currentColor;
}

.rv-card{
	background:var(--rv-card);
	border:1px solid var(--rv-line);
	border-radius:var(--rv-radius);
	box-shadow:var(--rv-shadow);
}

.rv-filter-card{
	padding:14px 16px;
	margin-bottom:16px;
}

.rv-filter-grid{
	display:grid;
	grid-template-columns:1.05fr 1fr 1.05fr 1fr 1.15fr auto;
	gap:12px;
	align-items:end;
}

.rv-field label{
	display:block;
	margin:0 0 6px 2px;
	font-size:11px;
	font-weight:700;
	color:#3c4553;
}

.rv-select-wrap{
	position:relative;
}

.rv-select-wrap i{
	position:absolute;
	left:12px;
	top:50%;
	transform:translateY(-50%);
	font-size:15px;
	color:#3a414c;
	pointer-events:none;
}

.rv-select{
	width:100%;
	height:42px;
	padding:0 34px 0 37px;
	border:1px solid var(--rv-line);
	border-radius:10px;
	background:#fff;
	color:#353d49;
	appearance:none;
	outline:none;
}

.rv-select-chevron{
	position:absolute;
	right:12px;
	top:50%;
	transform:translateY(-50%);
	font-size:12px;
	color:#2b3139;
	pointer-events:none;
}

.rv-more-filters{
	height:42px;
	padding:0 14px;
	border:0;
	background:transparent;
	font-weight:700;
	color:#1a5cdc;
	white-space:nowrap;
}

.rv-kpi-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:12px;
	margin-bottom:14px;
}

.rv-kpi{
	padding:18px 18px 16px;
	min-height:118px;
}

.rv-kpi-top{
	display:flex;
	align-items:center;
	gap:13px;
}

.rv-icon-box{
	width:42px;
	height:42px;
	border-radius:13px;
	background:#f2f3f5;
	display:grid;
	place-items:center;
	font-size:19px;
	flex:0 0 auto;
}

.rv-kpi-label{
	font-size:12px;
	font-weight:700;
	color:#536074;
}

.rv-kpi-value{
	margin-top:3px;
	font-size:27px;
	font-weight:800;
	letter-spacing:-.035em;
}

.rv-kpi-trend{
	margin-top:7px;
	font-size:12px;
	color:var(--rv-muted);
}

.rv-kpi-trend strong{
	margin-right:7px;
	font-size:13px;
}

.rv-positive{
	color:var(--rv-green)!important;
}

.rv-negative{
	color:var(--rv-red)!important;
}

.rv-dashboard-grid{
	display:grid;
	grid-template-columns:1.12fr .88fr;
	gap:14px;
}

.rv-chart-card,
.rv-table-card,
.rv-map-card{
	padding:16px;
	min-width:0;
}

.rv-card-head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:16px;
	margin-bottom:14px;
}

.rv-card-title-wrap{
	display:flex;
	align-items:flex-start;
	gap:11px;
	min-width:0;
}

.rv-card-title-wrap .rv-icon-box{
	width:38px;
	height:38px;
	border-radius:11px;
	font-size:17px;
}

.rv-card-title{
	margin:1px 0 0;
	font-size:16px;
	font-weight:800;
	letter-spacing:-.02em;
}

.rv-card-subtitle{
	margin-top:3px;
	font-size:12px;
	color:var(--rv-muted);
}

.rv-mini-select{
	height:36px;
	min-width:132px;
	padding:0 34px 0 12px;
	border:1px solid var(--rv-line);
	border-radius:9px;
	background:#fff;
	font-size:12px;
}

.rv-bar-chart{
	position:relative;
	height:230px;
	padding:24px 10px 32px 50px;
}

.rv-bar-grid{
	position:absolute;
	inset:18px 10px 38px 50px;
	display:grid;
	grid-template-rows:repeat(4,1fr);
}

.rv-bar-grid span{
	border-top:1px solid #e8ebef;
}

.rv-bar-y{
	position:absolute;
	left:0;
	top:17px;
	bottom:38px;
	width:44px;
	display:flex;
	flex-direction:column;
	justify-content:space-between;
	text-align:right;
	padding-right:8px;
	font-size:10px;
	color:#718096;
}

.rv-bars{
	position:relative;
	height:100%;
	display:grid;
	grid-template-columns:repeat(7,1fr);
	align-items:end;
	gap:17px;
}

.rv-bar-item{
	height:100%;
	display:flex;
	flex-direction:column;
	justify-content:flex-end;
	align-items:center;
	min-width:0;
}

.rv-bar-value{
	margin-bottom:6px;
	font-size:10px;
	font-weight:800;
	white-space:nowrap;
}

.rv-bar{
	width:min(48px,70%);
	min-height:8px;
	border-radius:4px 4px 1px 1px;
	background:linear-gradient(180deg,#393b3f 0%,#232529 100%);
}

.rv-bar.selected{
	background:linear-gradient(180deg,#111 0%,#2d2d2d 100%);
	box-shadow:inset 0 3px 0 var(--rv-yellow);
}

.rv-bar-label{
	position:absolute;
	bottom:-24px;
	font-size:10px;
	color:#5e6878;
	white-space:nowrap;
}

.rv-line-wrap{
	position:relative;
	height:230px;
	padding:18px 10px 28px 44px;
}

.rv-line-legend{
	display:flex;
	justify-content:flex-end;
	gap:14px;
	margin:-6px 0 5px;
	font-size:10px;
	color:#616b79;
}

.rv-line-legend span{
	display:flex;
	align-items:center;
	gap:6px;
}

.rv-line-legend i{
	width:8px;
	height:8px;
	border-radius:50%;
	background:#15171a;
}

.rv-line-legend span:nth-child(2) i{
	background:#828895;
}

.rv-line-legend span:nth-child(3) i{
	background:var(--rv-yellow);
}

.rv-line-chart{
	width:100%;
	height:176px;
	display:block;
	border-left:1px solid #e2e5ea;
	border-bottom:1px solid #e2e5ea;
	background-image:linear-gradient(#eef0f3 1px,transparent 1px),linear-gradient(90deg,#eef0f3 1px,transparent 1px);
	background-size:100% 25%,8.33% 100%;
}

.rv-line-x{
	display:grid;
	grid-template-columns:repeat(12,1fr);
	margin:6px 0 0;
	font-size:9px;
	color:#6f7888;
	text-align:center;
}

.rv-table-card{
	overflow:hidden;
}

.rv-table-wrap{
	overflow-x:auto;
	margin:0 -16px -16px;
}

.rv-table{
	width:100%;
	min-width:760px;
	border-collapse:collapse;
	margin:0;
}

.rv-table th{
	padding:10px 12px;
	background:#fafbfc;
	border-top:1px solid var(--rv-line-2);
	border-bottom:1px solid var(--rv-line);
	font-size:10px;
	letter-spacing:.02em;
	text-transform:uppercase;
	color:#687386;
	font-weight:800;
	white-space:nowrap;
}

.rv-table td{
	padding:10px 12px;
	border-bottom:1px solid var(--rv-line-2);
	font-size:12px;
	white-space:nowrap;
}

.rv-table tbody tr:last-child td{
	border-bottom:0;
}

.rv-model-cell{
	display:flex;
	align-items:center;
	gap:9px;
	font-weight:700;
}

.rv-brand-symbol{
	width:22px;
	height:22px;
	border:1px solid #cfd4db;
	border-radius:7px;
	display:grid;
	place-items:center;
	font-size:9px;
	font-weight:900;
	background:#fff;
}

.rv-map-layout{
	display:grid;
	grid-template-columns:minmax(0,1fr) 150px;
	gap:12px;
	align-items:stretch;
}

.rv-map-stage{
	position:relative;
	min-height:286px;
	border:1px solid var(--rv-line-2);
	border-radius:14px;
	background:linear-gradient(145deg,#fafbfc,#f0f2f4);
	overflow:hidden;
}

.rv-map-shape{
	position:absolute;
	left:9%;
	top:18%;
	width:78%;
	height:61%;
	background:#d7dbe0;
	clip-path:polygon(11% 28%,19% 18%,32% 19%,38% 10%,52% 17%,60% 13%,67% 22%,79% 20%,91% 32%,87% 45%,95% 54%,84% 63%,75% 60%,67% 71%,55% 67%,45% 77%,33% 72%,25% 62%,12% 65%,8% 50%,2% 42%);
	box-shadow:inset 0 0 0 2px #fff;
}

.rv-map-region{
	position:absolute;
	padding:7px 9px;
	background:#131518;
	color:#fff;
	border-radius:8px;
	font-size:9px;
	line-height:1.25;
	box-shadow:0 7px 18px rgba(0,0,0,.15);
}

.rv-map-region strong{
	display:block;
	font-size:11px;
}

.rv-map-region.norte{left:39%;top:20%;}
.rv-map-region.centro{left:45%;top:43%;}
.rv-map-region.este{right:8%;top:35%;}
.rv-map-region.sur{left:42%;bottom:11%;}
.rv-map-region.oeste{left:8%;top:46%;}

.rv-map-summary{
	padding:16px;
	border-radius:14px;
	background:#f7f8fa;
	border:1px solid var(--rv-line-2);
}

.rv-map-summary-label{
	font-size:11px;
	color:#677183;
}

.rv-map-summary-value{
	margin-top:7px;
	font-size:25px;
	font-weight:800;
	letter-spacing:-.04em;
}

.rv-map-summary-trend{
	margin-top:5px;
	font-size:12px;
	font-weight:700;
	color:var(--rv-green);
}

.rv-map-legend{
	margin-top:26px;
	display:grid;
	gap:8px;
	font-size:10px;
	color:#697485;
}

.rv-map-legend span{
	display:flex;
	align-items:center;
	gap:8px;
}

.rv-swatch{
	width:20px;
	height:12px;
	border-radius:3px;
	background:#5f6670;
}

.rv-map-legend span:nth-child(2) .rv-swatch{background:#9298a1;}
.rv-map-legend span:nth-child(3) .rv-swatch{background:#b9bec5;}
.rv-map-legend span:nth-child(4) .rv-swatch{background:#dde0e4;}

.rv-page-actions{
	display:flex;
	gap:10px;
	align-items:center;
	flex-wrap:wrap;
}

.rv-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	height:40px;
	padding:0 15px;
	border-radius:10px;
	border:1px solid var(--rv-line);
	background:#fff;
	color:#1f252d;
	font-weight:700;
}

.rv-btn:hover{
	border-color:#c8ced6;
	background:#fafafa;
}

.rv-btn-primary{
	background:var(--rv-black);
	border-color:var(--rv-black);
	color:#fff;
}

.rv-btn-accent{
	background:var(--rv-yellow);
	border-color:var(--rv-yellow);
	color:#111;
}

.rv-section-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:14px;
}

.rv-stat-card{
	padding:18px;
}

.rv-stat-label{
	font-size:11px;
	font-weight:700;
	color:var(--rv-muted);
}

.rv-stat-value{
	margin-top:8px;
	font-size:26px;
	font-weight:800;
}

.rv-list-card{
	margin-top:14px;
	overflow:hidden;
}

.rv-list-toolbar{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding:16px;
	border-bottom:1px solid var(--rv-line);
}

.rv-list-toolbar-left{
	display:flex;
	align-items:center;
	gap:10px;
	min-width:0;
}

.rv-list-search{
	position:relative;
	width:320px;
	max-width:100%;
}

.rv-list-search i{
	position:absolute;
	left:12px;
	top:50%;
	transform:translateY(-50%);
	color:#7b8492;
}

.rv-list-search input{
	width:100%;
	height:39px;
	padding:0 12px 0 36px;
	border:1px solid var(--rv-line);
	border-radius:9px;
	outline:none;
}

.rv-status{
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:5px 8px;
	border-radius:999px;
	font-size:10px;
	font-weight:800;
}

.rv-status:before{
	content:"";
	width:6px;
	height:6px;
	border-radius:50%;
	background:currentColor;
}

.rv-status-ok{
	background:#eaf7f0;
	color:#14784a;
}

.rv-status-warning{
	background:#fff5df;
	color:#996000;
}

.rv-status-off{
	background:#f0f2f4;
	color:#77808e;
}

.rv-zones-layout{
	display:grid;
	grid-template-columns:290px minmax(0,1fr);
	gap:14px;
}

.rv-zones-list{
	padding:14px;
}

.rv-zone-item{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	padding:13px 12px;
	border:1px solid var(--rv-line-2);
	border-radius:12px;
	margin-bottom:8px;
	background:#fff;
}

.rv-zone-item.active{
	border-color:#c9ced5;
	box-shadow:inset 3px 0 0 var(--rv-yellow);
	background:#fbfbfc;
}

.rv-zone-item strong,
.rv-zone-item span{
	display:block;
}

.rv-zone-item strong{
	font-size:13px;
}

.rv-zone-item span{
	margin-top:3px;
	font-size:11px;
	color:var(--rv-muted);
}

.rv-zone-detail{
	padding:18px;
}

.rv-dual-list{
	display:grid;
	grid-template-columns:1fr 56px 1fr;
	gap:12px;
	margin-top:16px;
	align-items:stretch;
}

.rv-dual-panel{
	border:1px solid var(--rv-line);
	border-radius:13px;
	padding:13px;
	min-height:310px;
}

.rv-dual-title{
	font-size:12px;
	font-weight:800;
	margin-bottom:11px;
}

.rv-dealer-row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	padding:10px 4px;
	border-bottom:1px solid var(--rv-line-2);
	font-size:12px;
}

.rv-dealer-row:last-child{
	border-bottom:0;
}

.rv-dual-actions{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:9px;
}

.rv-dual-actions button{
	width:42px;
	height:42px;
	border:1px solid var(--rv-line);
	border-radius:10px;
	background:#fff;
}

.rv-dual-actions button:first-child{
	background:var(--rv-black);
	color:#fff;
	border-color:var(--rv-black);
}

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

.rv-integration-card{
	padding:18px;
}

.rv-integration-head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
}

.rv-provider{
	display:flex;
	align-items:center;
	gap:12px;
}

.rv-provider-logo{
	width:44px;
	height:44px;
	border-radius:12px;
	background:#15181c;
	color:#fff;
	display:grid;
	place-items:center;
	font-size:18px;
	font-weight:900;
}

.rv-provider strong,
.rv-provider span{
	display:block;
}

.rv-provider strong{
	font-size:16px;
}

.rv-provider span{
	margin-top:3px;
	font-size:11px;
	color:var(--rv-muted);
}

.rv-integration-metrics{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:0;
	margin-top:16px;
	border-top:1px solid var(--rv-line);
	padding-top:14px;
}

.rv-integration-metric{
	padding:0 12px;
	border-right:1px solid var(--rv-line-2);
}

.rv-integration-metric:first-child{
	padding-left:0;
}

.rv-integration-metric:last-child{
	border-right:0;
	padding-right:0;
}

.rv-integration-metric span,
.rv-integration-metric strong{
	display:block;
}

.rv-integration-metric span{
	font-size:10px;
	color:var(--rv-muted);
}

.rv-integration-metric strong{
	margin-top:4px;
	font-size:15px;
}

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

.rv-report-card{
	padding:18px;
	min-height:220px;
}

.rv-upload-zone{
	margin-top:14px;
	min-height:120px;
	border:1px dashed #bbc2cb;
	border-radius:12px;
	background:#fafbfc;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:8px;
	color:#566171;
	font-size:12px;
}

.rv-empty{
	padding:44px 20px;
	text-align:center;
	color:var(--rv-muted);
}

.rv-footer{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:15px;
	padding:24px 2px 4px;
	font-size:11px;
	color:#7a8492;
}

@media (max-width:1280px){
	.rv-filter-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}

	.rv-more-filters{
		justify-self:start;
	}

	.rv-kpi-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

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

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

@media (max-width:991.98px){
	.rv-sidebar{
		transform:translateX(-100%);
		transition:transform .22s ease;
	}

	body.menu-open .rv-sidebar{
		transform:translateX(0);
	}

	.rv-menu-overlay{
		position:fixed;
		inset:0;
		z-index:1030;
		background:rgba(7,9,12,.4);
	}

	body.menu-open .rv-menu-overlay{
		display:block;
	}

	.rv-main{
		margin-left:0;
	}

	.rv-menu-toggle{
		display:grid;
		place-items:center;
		flex:0 0 auto;
	}

	.rv-topbar{
		padding:0 18px;
	}

	.rv-search{
		width:100%;
	}

	.rv-content{
		padding:20px 18px;
	}

	.rv-zones-layout{
		grid-template-columns:1fr;
	}

	.rv-integration-grid,
	.rv-report-grid{
		grid-template-columns:1fr;
	}
}

@media (max-width:767.98px){
	.rv-topbar{
		gap:10px;
	}

	.rv-user-copy,
	.rv-notify{
		display:none;
	}

	.rv-content{
		padding:16px 12px 22px;
	}

	.rv-page-header{
		flex-direction:column;
		align-items:stretch;
	}

	.rv-page-title{
		font-size:28px;
	}

	.rv-freshness{
		padding-top:0;
		flex-wrap:wrap;
	}

	.rv-filter-grid{
		grid-template-columns:1fr;
	}

	.rv-more-filters{
		width:100%;
		justify-content:flex-start;
		padding-left:2px;
	}

	.rv-kpi-grid{
		grid-template-columns:1fr;
	}

	.rv-card-head{
		flex-direction:column;
	}

	.rv-mini-select{
		width:100%;
	}

	.rv-bar-chart{
		overflow-x:auto;
		padding-right:0;
	}

	.rv-bars{
		min-width:620px;
	}

	.rv-map-layout{
		grid-template-columns:1fr;
	}

	.rv-map-summary{
		display:grid;
		grid-template-columns:1fr 1fr;
		gap:12px;
	}

	.rv-map-legend{
		margin-top:0;
	}

	.rv-section-grid{
		grid-template-columns:1fr;
	}

	.rv-list-toolbar{
		align-items:stretch;
		flex-direction:column;
	}

	.rv-list-toolbar-left,
	.rv-list-search,
	.rv-list-toolbar .rv-page-actions,
	.rv-list-toolbar .rv-btn{
		width:100%;
	}

	.rv-zones-layout,
	.rv-dual-list{
		grid-template-columns:1fr;
	}

	.rv-dual-actions{
		flex-direction:row;
	}

	.rv-integration-metrics{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:14px 0;
	}

	.rv-integration-metric:nth-child(2){
		border-right:0;
	}

	.rv-footer{
		flex-direction:column;
		align-items:flex-start;
	}
}

/* Ajustes visuales Renault VO Insights */
html,
body{
	max-width:100%;
	overflow-x:clip;
}

.rv-brand{
	gap:12px;
}

.rv-brand-logo{
	width:34px;
	height:46px;
	object-fit:contain;
	flex:0 0 auto;
	transition:width .22s ease;
}

.rv-brand-mark{
	display:none;
}

.rv-brand-copy strong{
	font-size:14px;
	letter-spacing:.035em;
}

.rv-brand-copy span{
	margin-top:2px;
	font-size:13px;
}

.rv-topbar-left{
	display:flex;
	align-items:center;
	gap:12px;
	flex:1 1 auto;
	min-width:0;
}

.rv-mobile-brand{
	display:none;
}

.rv-content{
	width:100%;
	max-width:1680px;
	margin:0 auto;
}

.rv-page-header > *,
.rv-filter-grid > *,
.rv-kpi-grid > *,
.rv-dashboard-grid > *,
.rv-section-grid > *,
.rv-report-grid > *,
.rv-integration-grid > *,
.rv-zones-workspace > *,
.rv-users-layout > *{
	min-width:0;
}

.rv-card{
	box-shadow:0 10px 34px rgba(20,24,31,.04);
}

.rv-btn-primary{
	background:#0a0b0d;
	border-color:#0a0b0d;
}

.rv-btn-primary:hover{
	background:#1b1d21;
	border-color:#1b1d21;
	color:#fff;
}

.rv-more-filters{
	color:#15181c;
	border:1px solid var(--rv-line);
	border-radius:10px;
	background:#fff;
}

.rv-more-filters:hover{
	background:#f7f8f9;
}

.rv-kpi-grid-compact{
	margin-bottom:14px;
}

.rv-icon-button,
.rv-table-action,
.rv-dealer-action{
	display:inline-grid;
	place-items:center;
	border:1px solid var(--rv-line);
	background:#fff;
	color:#22272f;
}

.rv-icon-button{
	width:34px;
	height:34px;
	border-radius:9px;
}

.rv-table-action{
	width:32px;
	height:32px;
	border-radius:8px;
}

.rv-dealer-action{
	width:30px;
	height:30px;
	border-radius:50%;
	flex:0 0 auto;
	display:none;
}

.rv-dealer-action-remove{
	color:var(--rv-red);
	border-color:#f2c7c7;
}

.rv-zones-workspace{
	display:grid;
	grid-template-columns:250px minmax(0,1fr) 220px;
	gap:14px;
	align-items:stretch;
}

.rv-zone-summary{
	padding:18px;
}

.rv-zone-summary > .rv-card-title{
	margin-bottom:14px;
}

.rv-zone-summary-item{
	display:flex;
	align-items:center;
	gap:12px;
	padding:14px 0;
	border-bottom:1px solid var(--rv-line-2);
}

.rv-zone-summary-item:last-child{
	border-bottom:0;
}

.rv-zone-summary-item > div:last-child{
	min-width:0;
}

.rv-zone-summary-item span,
.rv-zone-summary-item strong,
.rv-zone-summary-item small{
	display:block;
}

.rv-zone-summary-item span{
	font-size:10px;
	color:var(--rv-muted);
}

.rv-zone-summary-item strong{
	margin-top:3px;
	font-size:20px;
	line-height:1.1;
}

.rv-zone-summary-item small{
	margin-top:4px;
	font-size:10px;
	color:var(--rv-muted);
}

.rv-zone-summary-item .rv-zone-summary-date{
	font-size:13px;
}

.rv-zone-table-card{
	margin-top:14px;
}

.rv-dealer-row{
	min-width:0;
}

.rv-dealer-row span{
	min-width:0;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.rv-dealer-row small{
	margin-left:auto;
	color:var(--rv-muted);
	white-space:nowrap;
}

.rv-user-filter-card{
	padding:14px 16px;
	margin-bottom:14px;
}

.rv-user-filter-grid{
	display:grid;
	grid-template-columns:1.4fr repeat(4,minmax(135px,.85fr));
	gap:12px;
	align-items:end;
}

.rv-list-search-fluid{
	width:100%;
}

.rv-users-layout{
	display:grid;
	grid-template-columns:minmax(0,1fr) 330px;
	gap:14px;
	align-items:start;
}

.rv-users-list-card{
	margin-top:0;
}

.rv-users-table{
	min-width:980px;
}

.rv-users-table .active-row td{
	background:#f3f4f6;
}

.rv-user-cell{
	display:flex;
	align-items:center;
	gap:9px;
}

.rv-avatar-small{
	width:30px;
	height:30px;
	font-size:10px;
	flex:0 0 auto;
}

.rv-avatar-large{
	width:58px;
	height:58px;
	font-size:17px;
	flex:0 0 auto;
}

.rv-user-detail{
	padding:18px;
	position:sticky;
	top:86px;
}

.rv-user-detail-head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:12px;
	margin-bottom:18px;
}

.rv-user-profile{
	display:flex;
	align-items:center;
	gap:12px;
	padding-bottom:18px;
	margin-bottom:18px;
	border-bottom:1px solid var(--rv-line);
}

.rv-user-profile > div:last-child{
	min-width:0;
}

.rv-user-profile strong{
	display:inline-block;
	margin-right:8px;
	font-size:15px;
}

.rv-user-profile small{
	display:block;
	margin-top:5px;
	font-size:10px;
	color:var(--rv-muted);
}

.rv-user-detail-actions{
	display:grid;
	grid-template-columns:1fr;
	gap:8px;
	margin-top:18px;
}

.rv-list-footer{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding:13px 16px;
	border-top:1px solid var(--rv-line);
	font-size:11px;
	color:var(--rv-muted);
}

.rv-pagination{
	display:flex;
	gap:5px;
}

.rv-pagination button{
	width:30px;
	height:30px;
	border:1px solid var(--rv-line);
	border-radius:8px;
	background:#fff;
	font-size:11px;
}

.rv-pagination button.active{
	background:#111316;
	border-color:#111316;
	color:#fff;
}

.rv-section-card{
	overflow:hidden;
}

.rv-section-toolbar{
	border-bottom:1px solid var(--rv-line);
}

.rv-integration-grid-inside{
	padding:14px;
}

.rv-integration-panel{
	border:1px solid var(--rv-line);
	border-radius:14px;
	padding:16px;
	background:#fff;
}

.rv-integration-metrics-five{
	grid-template-columns:repeat(5,minmax(0,1fr));
}

.rv-integration-metric small{
	display:block;
	margin-top:3px;
	font-size:9px;
	color:var(--rv-muted);
}

.rv-report-number{
	margin:18px 0 8px;
	font-size:30px;
	font-weight:800;
	letter-spacing:-.04em;
}

.rv-report-number span{
	font-size:11px;
	font-weight:500;
	letter-spacing:0;
	color:var(--rv-muted);
}

.rv-next-report{
	display:grid;
	gap:7px;
	margin-top:20px;
}

.rv-next-report strong{
	font-size:14px;
}

.rv-next-report span{
	font-size:11px;
	color:var(--rv-muted);
}

.rv-next-report span i{
	margin-right:6px;
	color:#242931;
}

.form-control,
.form-select{
	min-height:40px;
	border-color:var(--rv-line);
	border-radius:9px;
	font-size:12px;
}

.form-control:focus,
.form-select:focus{
	border-color:#aeb5bf;
	box-shadow:0 0 0 3px rgba(12,13,15,.04);
}

@media (max-width:1450px){
	.rv-zones-workspace{
		grid-template-columns:235px minmax(0,1fr);
	}

	.rv-zone-summary{
		grid-column:1 / -1;
		display:grid;
		grid-template-columns:auto repeat(4,minmax(0,1fr));
		align-items:center;
		gap:0 14px;
	}

	.rv-zone-summary > .rv-card-title{
		margin:0 10px 0 0;
	}

	.rv-zone-summary-item{
		border-bottom:0;
		border-left:1px solid var(--rv-line-2);
		padding:6px 14px;
	}
}

@media (max-width:1180px){
	.rv-user-filter-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}

	.rv-users-layout{
		grid-template-columns:1fr;
	}

	.rv-user-detail{
		position:static;
	}

	.rv-user-detail .row > .col-xl-12{
		width:50%;
	}

	.rv-integration-metrics-five{
		grid-template-columns:repeat(3,minmax(0,1fr));
		gap:14px 0;
	}

	.rv-integration-metrics-five .rv-integration-metric:nth-child(3){
		border-right:0;
	}
}

@media (max-width:991.98px){
	.rv-topbar{
		height:70px;
		background:#090a0b;
		border-bottom-color:#1b1d20;
		color:#fff;
	}

	.rv-menu-toggle{
		border:0;
		background:transparent;
		color:#fff;
		font-size:27px;
		border-radius:8px;
	}

	.rv-mobile-brand{
		display:flex;
		align-items:center;
		gap:9px;
		min-width:0;
	}

	.rv-mobile-brand img{
		width:29px;
		height:40px;
		object-fit:contain;
	}

	.rv-mobile-brand span{
		display:flex;
		flex-direction:column;
		line-height:1.02;
	}

	.rv-mobile-brand strong{
		font-size:12px;
		letter-spacing:.025em;
	}

	.rv-mobile-brand small{
		font-size:11px;
		font-weight:700;
	}

	.rv-topbar .rv-search{
		display:none;
	}

	.rv-topbar-user{
		gap:10px;
	}

	.rv-topbar-user .rv-notify{
		display:block;
		color:#fff;
	}

	.rv-topbar-user .rv-notify:after{
		border-color:#090a0b;
	}

	.rv-topbar-user .rv-avatar{
		background:#f1f2f4;
		color:#111;
	}

	.rv-user-chevron{
		color:#fff;
	}

	.rv-zones-workspace{
		grid-template-columns:1fr;
	}

	.rv-zone-summary{
		grid-column:auto;
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.rv-zone-summary > .rv-card-title{
		grid-column:1 / -1;
		margin-bottom:4px;
	}

	.rv-zone-summary-item{
		border-left:0;
		border-top:1px solid var(--rv-line-2);
		padding:14px 5px;
	}
}

@media (max-width:767.98px){
	body{
		font-size:13px;
	}

	.rv-topbar{
		padding:0 12px;
	}

	.rv-content{
		padding:18px 12px 24px;
	}

	.rv-page-header{
		gap:10px;
		margin-bottom:16px;
	}

	.rv-kicker{
		font-size:9px;
		margin-bottom:4px;
	}

	.rv-page-title{
		font-size:27px;
		line-height:1.04;
	}

	.rv-page-subtitle{
		font-size:13px;
		line-height:1.35;
	}

	.rv-freshness{
		gap:9px 12px;
		font-size:10px;
		white-space:normal;
	}

	.rv-page-actions{
		width:100%;
	}

	.rv-page-actions .rv-btn{
		flex:1 1 auto;
	}

	.rv-filter-card{
		padding:12px;
	}

	.rv-filter-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:10px;
	}

	.rv-filter-grid .rv-field,
	.rv-user-filter-grid .rv-field{
		min-width:0;
	}

	.rv-select{
		padding-left:34px;
		font-size:11px;
	}

	.rv-more-filters{
		width:100%;
		padding:0 10px;
		justify-content:center;
	}

	.rv-kpi-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:10px;
	}

	.rv-kpi{
		padding:14px 12px;
		min-height:116px;
	}

	.rv-kpi-top{
		align-items:flex-start;
		gap:9px;
	}

	.rv-kpi .rv-icon-box{
		width:36px;
		height:36px;
		border-radius:11px;
		font-size:16px;
	}

	.rv-kpi-label{
		font-size:10px;
		line-height:1.2;
	}

	.rv-kpi-value{
		font-size:22px;
		white-space:nowrap;
	}

	.rv-kpi-trend{
		font-size:10px;
		line-height:1.3;
	}

	.rv-kpi-trend strong{
		display:block;
		margin:0 0 2px;
		font-size:11px;
	}

	.rv-chart-card,
	.rv-table-card,
	.rv-map-card{
		padding:13px;
	}

	.rv-card-head{
		gap:10px;
		margin-bottom:12px;
	}

	.rv-card-head .rv-mini-select{
		width:auto;
		min-width:120px;
		align-self:flex-start;
	}

	.rv-card-title{
		font-size:14px;
	}

	.rv-card-subtitle{
		font-size:10px;
		line-height:1.3;
	}

	.rv-bar-chart{
		height:220px;
		padding-left:44px;
	}

	.rv-bars{
		min-width:520px;
		gap:12px;
	}

	.rv-line-wrap{
		height:215px;
		padding-left:32px;
		padding-right:0;
	}

	.rv-line-legend{
		justify-content:flex-start;
		flex-wrap:wrap;
	}

	.rv-comparison-table{
		min-width:100%;
	}

	.rv-comparison-table .rv-zone-secondary{
		display:none;
	}

	.rv-comparison-table th,
	.rv-comparison-table td{
		padding:9px 7px;
		font-size:10px;
	}

	.rv-comparison-table th{
		font-size:8px;
	}

	.rv-brand-symbol{
		width:20px;
		height:20px;
	}

	.rv-map-stage{
		min-height:250px;
	}

	.rv-map-summary{
		grid-template-columns:1fr 1fr;
	}

	.rv-user-filter-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.rv-user-filter-grid .rv-field:first-child{
		grid-column:1 / -1;
	}

	.rv-user-filter-card{
		padding:12px;
	}

	.rv-users-layout{
		gap:12px;
	}

	.rv-user-detail{
		padding:14px;
	}

	.rv-user-detail .row > .col-xl-12{
		width:100%;
	}

	.rv-user-detail-actions{
		grid-template-columns:1fr;
	}

	.rv-list-footer{
		align-items:flex-start;
		flex-direction:column;
	}

	.rv-zones-list{
		overflow:hidden;
	}

	.rv-zones-list > .rv-list-search{
		display:none;
	}

	.rv-zone-items{
		display:flex;
		gap:8px;
		overflow-x:auto;
		padding:2px 1px 5px;
		scrollbar-width:none;
	}

	.rv-zone-items::-webkit-scrollbar{
		display:none;
	}

	.rv-zone-item{
		min-width:118px;
		margin:0;
		padding:11px;
	}

	.rv-zone-item > i{
		display:none;
	}

	.rv-zone-item.active{
		box-shadow:inset 0 -3px 0 var(--rv-yellow);
		background:#111316;
		border-color:#111316;
		color:#fff;
	}

	.rv-zone-item.active span{
		color:#b6bbc3;
	}

	.rv-zone-detail{
		padding:14px;
	}

	.rv-zone-detail .rv-card-head{
		flex-direction:column;
	}

	.rv-zone-detail .rv-card-head .rv-btn{
		width:100%;
	}

	.rv-dual-list{
		gap:10px;
	}

	.rv-dual-panel{
		min-height:0;
		padding:12px;
	}

	.rv-dual-actions{
		display:none;
	}

	.rv-dealer-action{
		display:inline-grid;
	}

	.rv-dealer-row{
		gap:8px;
	}

	.rv-dealer-row span{
		font-weight:700;
	}

	.rv-dealer-row small{
		max-width:80px;
		overflow:hidden;
		text-overflow:ellipsis;
	}

	.rv-zone-summary{
		padding:14px;
	}

	.rv-zone-summary-item .rv-icon-box{
		width:34px;
		height:34px;
		font-size:15px;
	}

	.rv-zone-summary-item strong{
		font-size:17px;
	}

	.rv-integration-grid-inside{
		padding:12px;
	}

	.rv-integration-card{
		padding:14px;
	}

	.rv-integration-head{
		align-items:flex-start;
	}

	.rv-provider-logo{
		width:38px;
		height:38px;
	}

	.rv-integration-metrics-five{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.rv-integration-metrics-five .rv-integration-metric,
	.rv-integration-metrics-five .rv-integration-metric:nth-child(3){
		border-right:1px solid var(--rv-line-2);
		padding:0 10px;
	}

	.rv-integration-metrics-five .rv-integration-metric:nth-child(even),
	.rv-integration-metrics-five .rv-integration-metric:last-child{
		border-right:0;
	}

	.rv-report-card{
		min-height:0;
		padding:14px;
	}

	.rv-responsive-table{
		min-width:0;
		width:100%;
	}

	.rv-responsive-table thead{
		display:none;
	}

	.rv-responsive-table,
	.rv-responsive-table tbody,
	.rv-responsive-table tr,
	.rv-responsive-table td{
		display:block;
		width:100%;
	}

	.rv-responsive-table tbody{
		padding:8px 10px 10px;
	}

	.rv-responsive-table tr{
		margin-bottom:10px;
		border:1px solid var(--rv-line);
		border-radius:12px;
		background:#fff;
		overflow:hidden;
	}

	.rv-responsive-table tr:last-child{
		margin-bottom:0;
	}

	.rv-responsive-table td{
		display:grid;
		grid-template-columns:minmax(95px,38%) minmax(0,1fr);
		align-items:center;
		gap:10px;
		padding:8px 10px;
		white-space:normal;
		text-align:right;
		font-size:11px;
	}

	.rv-responsive-table td:before{
		content:attr(data-label);
		font-size:9px;
		font-weight:800;
		letter-spacing:.02em;
		text-transform:uppercase;
		color:var(--rv-muted);
		text-align:left;
	}

	.rv-responsive-table td:empty{
		display:none;
	}

	.rv-responsive-table td .rv-user-cell{
		justify-content:flex-end;
	}

	.rv-responsive-table td .rv-status,
	.rv-responsive-table td .rv-table-action{
		justify-self:end;
	}

	.rv-list-card .rv-table-wrap{
		overflow:visible;
	}

	.rv-footer{
		padding-top:18px;
		font-size:9px;
	}
}

@media (max-width:430px){
	.rv-topbar-user{
		gap:7px;
	}

	.rv-user-chevron{
		display:none;
	}

	.rv-mobile-brand strong{
		font-size:11px;
	}

	.rv-mobile-brand small{
		font-size:10px;
	}

	.rv-filter-grid{
		gap:8px;
	}

	.rv-select,
	.form-select,
	.form-control{
		font-size:10px;
	}

	.rv-kpi{
		padding:12px 10px;
	}

	.rv-kpi-value{
		font-size:20px;
	}

	.rv-map-summary{
		grid-template-columns:1fr;
	}

	.rv-zone-summary{
		grid-template-columns:1fr;
	}

	.rv-zone-summary > .rv-card-title{
		grid-column:auto;
	}

	.rv-user-filter-grid{
		grid-template-columns:1fr;
	}

	.rv-user-filter-grid .rv-field:first-child{
		grid-column:auto;
	}
}

/* ACCESO Y USUARIO CONECTADO */
.rv-login-body{
	min-height:100vh;
	background:#fff;
}

.rv-login-shell{
	min-height:100vh;
	display:grid;
	grid-template-columns:minmax(420px,44%) 1fr;
	background:#fff;
}

.rv-login-brand-panel{
	position:relative;
	min-height:100vh;
	padding:52px 58px;
	background:linear-gradient(160deg,#070809 0%,#111318 100%);
	color:#fff;
	display:flex;
	flex-direction:column;
	overflow:hidden;
}

.rv-login-brand-panel:after{
	content:"";
	position:absolute;
	right:-170px;
	bottom:-190px;
	width:460px;
	height:460px;
	border:1px solid rgba(255,255,255,.055);
	transform:rotate(45deg);
}

.rv-login-brand-top{
	position:relative;
	z-index:1;
	display:flex;
	align-items:center;
	gap:16px;
}

.rv-login-logo{
	width:42px;
	height:58px;
	object-fit:contain;
}

.rv-login-brand-top strong,
.rv-login-brand-top span{
	display:block;
	line-height:1.02;
}

.rv-login-brand-top strong{
	font-size:17px;
	letter-spacing:.025em;
}

.rv-login-brand-top span{
	font-size:16px;
	font-weight:700;
}

.rv-login-brand-copy{
	position:relative;
	z-index:1;
	width:min(560px,100%);
	margin:auto 0;
	padding:80px 0;
}

.rv-login-eyebrow{
	display:inline-block;
	margin-bottom:18px;
	font-size:11px;
	font-weight:800;
	letter-spacing:.15em;
	text-transform:uppercase;
	color:#aeb4bd;
}

.rv-login-brand-copy h1{
	max-width:560px;
	margin:0 0 22px;
	font-size:clamp(38px,4.2vw,64px);
	line-height:.98;
	letter-spacing:-.045em;
	font-weight:800;
}

.rv-login-brand-copy p{
	max-width:520px;
	margin:0;
	font-size:16px;
	line-height:1.65;
	color:#b9bec6;
}

.rv-login-brand-footer{
	position:relative;
	z-index:1;
	margin-top:auto;
}

.rv-login-brand-footer div{
	width:32px;
	height:3px;
	margin-bottom:11px;
	border-radius:999px;
	background:var(--rv-yellow);
}

.rv-login-brand-footer strong,
.rv-login-brand-footer span{
	display:block;
}

.rv-login-brand-footer strong{
	font-size:15px;
}

.rv-login-brand-footer span{
	margin-top:2px;
	font-size:12px;
	color:#a7adb7;
}

.rv-login-form-panel{
	min-height:100vh;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:48px;
	background:linear-gradient(180deg,#fff 0%,#f7f8f9 100%);
}

.rv-login-card{
	width:min(440px,100%);
}

.rv-login-mobile-brand{
	display:none;
}

.rv-login-heading > span{
	display:block;
	margin-bottom:9px;
	font-size:11px;
	font-weight:800;
	letter-spacing:.13em;
	text-transform:uppercase;
	color:#6d7685;
}

.rv-login-heading h2{
	margin:0;
	font-size:38px;
	font-weight:800;
	letter-spacing:-.035em;
}

.rv-login-heading p{
	margin:10px 0 30px;
	font-size:14px;
	line-height:1.5;
	color:var(--rv-muted);
}

.rv-login-error{
	display:flex;
	align-items:flex-start;
	gap:10px;
	margin-bottom:20px;
	padding:13px 14px;
	border:1px solid #f0caca;
	border-radius:11px;
	background:#fff7f7;
	color:#9f2f2f;
	font-size:13px;
}

.rv-login-error i{
	margin-top:1px;
}

.rv-login-field{
	margin-bottom:18px;
}

.rv-login-field label{
	display:block;
	margin-bottom:7px;
	font-size:12px;
	font-weight:700;
}

.rv-login-input{
	position:relative;
}

.rv-login-input i{
	position:absolute;
	left:16px;
	top:50%;
	transform:translateY(-50%);
	font-size:17px;
	color:#4e5663;
	pointer-events:none;
}

.rv-login-input input{
	width:100%;
	height:54px;
	padding:0 16px 0 46px;
	border:1px solid #d9dee5;
	border-radius:11px;
	background:#fff;
	color:var(--rv-text);
	outline:none;
	transition:.18s ease;
}

.rv-login-input input:focus{
	border-color:#838b96;
	box-shadow:0 0 0 3px rgba(12,13,15,.045);
}

.rv-login-button{
	width:100%;
	height:54px;
	margin-top:8px;
	padding:0 18px;
	border:0;
	border-radius:11px;
	background:#0b0c0e;
	color:#fff;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:12px;
	font-weight:800;
	transition:.18s ease;
}

.rv-login-button:hover{
	background:#1b1d21;
}

.rv-login-button:disabled{
	opacity:.68;
	cursor:not-allowed;
}

.rv-login-help{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	margin-top:24px;
	font-size:11px;
	color:#818a98;
}

.rv-user-menu-button{
	padding:0;
	border:0;
	background:transparent;
	color:inherit;
	text-align:left;
}

.rv-user-menu-button:focus{
	outline:none;
}

.rv-user-dropdown{
	min-width:250px;
	padding:8px;
	border:1px solid var(--rv-line);
	border-radius:13px;
}

.rv-user-dropdown-head{
	padding:9px 10px 7px;
}

.rv-user-dropdown-head strong,
.rv-user-dropdown-head span{
	display:block;
}

.rv-user-dropdown-head strong{
	font-size:13px;
}

.rv-user-dropdown-head span{
	margin-top:4px;
	font-size:11px;
	color:var(--rv-muted);
	word-break:break-word;
}

.rv-user-dropdown-info{
	display:grid;
	grid-template-columns:20px 1fr auto;
	align-items:center;
	gap:8px;
	padding:8px 10px;
	font-size:12px;
	color:#555e6c;
}

.rv-user-dropdown-info strong{
	color:var(--rv-text);
}

.rv-logout-button{
	display:flex;
	display:flex;
	align-items:center;
	gap:9px;
	padding:9px 10px;
	border-radius:8px;
	font-size:12px;
	font-weight:700;
}

.rv-logout-button:hover{
	background:#f2f3f5;
}

@media (max-width:991.98px){
	.rv-login-shell{
		grid-template-columns:1fr;
	}

	.rv-login-brand-panel{
		display:none;
	}

	.rv-login-form-panel{
		padding:32px 22px;
		background:#fff;
	}

	.rv-login-mobile-brand{
		display:flex;
		align-items:center;
		gap:11px;
		margin-bottom:52px;
	}

	.rv-login-mobile-brand img{
		width:34px;
		height:47px;
		object-fit:contain;
		background:#090a0b;
	}

	.rv-login-mobile-brand strong,
	.rv-login-mobile-brand span{
		display:block;
		line-height:1.02;
	}

	.rv-login-mobile-brand strong{
		font-size:14px;
	}

	.rv-login-mobile-brand span{
		font-size:13px;
		font-weight:700;
	}
}

@media (max-width:575.98px){
	.rv-login-form-panel{
		align-items:flex-start;
		padding:24px 18px 36px;
	}

	.rv-login-card{
		padding-top:10px;
	}

	.rv-login-mobile-brand{
		margin-bottom:44px;
	}

	.rv-login-heading h2{
		font-size:32px;
	}

	.rv-login-heading p{
		margin-bottom:26px;
	}

	.rv-login-input input,
	.rv-login-button{
		height:52px;
	}

	.rv-user-dropdown{
		min-width:min(250px,calc(100vw - 24px));
	}
}

/* =========================================================
   Concesionarios / Overscreens
   ========================================================= */

.rv-list-search-wide{
	width:min(620px,60vw);
}

.rv-centros-search-card{
	margin-top:0;
	margin-bottom:14px;
}

.rv-centros-kpis{
	margin-top:0;
}

.rv-centros-list-card{
	margin-top:0;
}

.rv-list-headline{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding:17px 18px;
	border-bottom:1px solid var(--rv-line);
}

.rv-code-chip{
	display:inline-flex;
	align-items:center;
	min-height:26px;
	padding:4px 8px;
	border-radius:7px;
	background:#f1f3f5;
	font-size:11px;
	font-weight:800;
	color:#303640;
}

.rv-centro-name,
.rv-centro-contact{
	display:flex;
	flex-direction:column;
	gap:2px;
	min-width:0;
}

.rv-centro-name strong,
.rv-centro-contact span{
	overflow:hidden;
	text-overflow:ellipsis;
}

.rv-centro-name small,
.rv-centro-contact small{
	color:var(--rv-muted);
	font-size:10px;
}

.rv-empty-state{
	min-height:250px;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:7px;
	padding:28px;
	text-align:center;
	color:var(--rv-muted);
}

.rv-empty-state strong{
	font-size:15px;
	color:var(--rv-text);
}

.rv-empty-state span{
	font-size:12px;
}

.rv-empty-icon{
	width:50px;
	height:50px;
	display:grid;
	place-items:center;
	margin-bottom:5px;
	border-radius:15px;
	background:#f1f3f5;
	font-size:20px;
	color:#303640;
}

.rv-overscreen{
	position:fixed;
	inset:0;
	display:none;
	z-index:2000;
	opacity:0;
	transition:opacity .2s ease;
}

.rv-overscreen.show{
	opacity:1;
}

.rv-overscreen-backdrop{
	position:absolute;
	inset:0;
	background:rgba(7,8,10,.42);
	backdrop-filter:blur(5px);
}

.rv-overscreen-panel{
	position:absolute;
	top:0;
	right:0;
	height:100%;
	display:flex;
	flex-direction:column;
	background:#fff;
	box-shadow:-18px 0 48px rgba(0,0,0,.16);
	transform:translateX(38px);
	transition:transform .22s ease;
	overflow:hidden;
}

.rv-overscreen.show .rv-overscreen-panel{
	transform:translateX(0);
}

.rv-overscreen-panel-xl{
	width:min(920px,calc(100vw - 80px));
}

.rv-overscreen-panel-sm{
	width:min(520px,100vw);
}

.rv-overscreen-header{
	min-height:66px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:14px;
	padding:0 20px;
	border-bottom:1px solid var(--rv-line);
	background:#fff;
	flex:0 0 auto;
}

.rv-overscreen-title{
	font-size:15px;
	font-weight:800;
	letter-spacing:-.01em;
}

.rv-overscreen-close{
	width:38px;
	height:38px;
	display:grid;
	place-items:center;
	border:1px solid var(--rv-line);
	border-radius:10px;
	background:#fff;
	color:#15181d;
	flex:0 0 auto;
}

.rv-overscreen-close:hover{
	background:#f5f6f7;
}

.rv-overscreen-body{
	flex:1 1 auto;
	min-height:0;
	overflow:auto;
	background:var(--rv-bg);
}

.rv-overscreen-loading,
.rv-overscreen-error{
	min-height:100%;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:10px;
	padding:28px;
	color:var(--rv-muted);
}

.rv-overscreen-content{
	padding:24px;
}

.rv-form-card{
	width:100%;
	max-width:850px;
	margin:0 auto;
	background:#fff;
	border:1px solid var(--rv-line);
	border-radius:18px;
	box-shadow:var(--rv-shadow);
	overflow:hidden;
}

.rv-form-intro{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:24px;
	padding:24px;
	border-bottom:1px solid var(--rv-line);
}

.rv-form-intro h2{
	margin:4px 0 5px;
	font-size:25px;
	font-weight:800;
	letter-spacing:-.035em;
}

.rv-form-intro p{
	margin:0;
	max-width:540px;
	color:var(--rv-muted);
	font-size:12px;
}

.rv-form-code{
	min-width:170px;
	padding:11px 13px;
	border:1px solid var(--rv-line);
	border-radius:11px;
	background:#fafbfc;
}

.rv-form-code span,
.rv-form-code strong{
	display:block;
}

.rv-form-code span{
	margin-bottom:3px;
	font-size:9px;
	font-weight:800;
	letter-spacing:.08em;
	text-transform:uppercase;
	color:var(--rv-muted);
}

.rv-form-code strong{
	font-size:11px;
	word-break:break-word;
}

.rv-form-section{
	padding:22px 24px;
	border-bottom:1px solid var(--rv-line-2);
}

.rv-form-section-title{
	margin-bottom:14px;
	font-size:11px;
	font-weight:800;
	letter-spacing:.06em;
	text-transform:uppercase;
	color:#3b424c;
}

.rv-form-card .form-label{
	margin-bottom:6px;
	font-size:11px;
	font-weight:700;
	color:#454d59;
}

.rv-form-card .form-control{
	min-height:42px;
	border-color:#dfe3e8;
	border-radius:9px;
	background:#fff;
	font-size:12px;
}

.rv-form-card .form-control:focus{
	border-color:#9ca4af;
	box-shadow:0 0 0 3px rgba(17,19,23,.05);
}

.rv-form-footer{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	padding:18px 24px;
	background:#fafbfc;
}

.rv-btn-save{
	min-width:150px;
}

.rv-btn-save:disabled{
	background:#e9ebee;
	border-color:#e9ebee;
	color:#9299a4;
	cursor:not-allowed;
}

.rv-btn-delete{
	border-color:#efcaca;
	color:var(--rv-red);
	background:#fff;
}

.rv-btn-delete:hover{
	border-color:#e6aaaa;
	background:#fff7f7;
	color:#b92d2d;
}

@media (max-width:767.98px){
	.rv-list-search-wide{
		width:100%;
	}

	.rv-overscreen-panel-xl,
	.rv-overscreen-panel-sm{
		width:100vw;
	}

	.rv-overscreen-header{
		min-height:58px;
		padding:0 12px;
	}

	.rv-overscreen-content{
		padding:0;
	}

	.rv-form-card{
		max-width:none;
		min-height:100%;
		border:0;
		border-radius:0;
		box-shadow:none;
	}

	.rv-form-intro{
		flex-direction:column;
		gap:14px;
		padding:18px 15px;
	}

	.rv-form-intro h2{
		font-size:23px;
	}

	.rv-form-code{
		width:100%;
		min-width:0;
	}

	.rv-form-section{
		padding:18px 15px;
	}

	.rv-form-footer{
		position:sticky;
		bottom:0;
		z-index:2;
		padding:12px 15px;
		background:rgba(250,251,252,.96);
		backdrop-filter:blur(8px);
	}

	.rv-form-footer > div,
	.rv-form-footer .rv-btn{
		flex:1 1 0;
	}

	.rv-form-footer > div:empty{
		display:none;
	}

	.rv-form-footer > div .rv-btn{
		width:100%;
	}

	.rv-centro-name,
	.rv-centro-contact{
		align-items:flex-end;
	}
}

/* =========================================================
   Concesionarios - listado
   ========================================================= */

.rv-centros-kpis .rv-kpi{
	min-height:106px;
	padding:16px;
}

.rv-centros-kpis .rv-kpi-value{
	font-size:25px;
}

.rv-centros-list-card{
	overflow:hidden;
}

.rv-centros-table-wrap{
	width:100%;
	overflow:hidden;
}

.rv-centros-table{
	width:100%;
	min-width:0;
	table-layout:fixed;
}

.rv-centros-col-name{width:22%;}
.rv-centros-col-id{width:28%;}
.rv-centros-col-location{width:16%;}
.rv-centros-col-contact{width:23%;}
.rv-centros-col-order{width:6%;}
.rv-centros-col-actions{width:5%;}

.rv-centros-table th{
	padding:11px 18px;
	font-size:9px;
	background:#f8f9fa;
}

.rv-centros-table td{
	padding:14px 18px;
	vertical-align:middle;
	white-space:normal;
}

.rv-centros-table tbody tr{
	transition:background-color .15s ease;
}

.rv-centros-table tbody tr:hover td{
	background:#fbfbfc;
}

.rv-centro-main{
	display:flex;
	align-items:center;
	gap:11px;
	min-width:0;
}

.rv-centro-icon{
	width:36px;
	height:36px;
	flex:0 0 auto;
	display:grid;
	place-items:center;
	border:1px solid var(--rv-line-2);
	border-radius:10px;
	background:#f4f5f6;
	color:#20242a;
	font-size:15px;
}

.rv-centro-name{
	min-width:0;
}

.rv-centro-name strong{
	display:block;
	font-size:12px;
	line-height:1.25;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.rv-centro-name small{
	display:block;
	margin-top:4px;
	font-size:9px;
	line-height:1.2;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.rv-centro-identifiers{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:8px;
	min-width:0;
}

.rv-centro-identifiers > div{
	min-width:0;
	padding:8px 9px;
	border:1px solid var(--rv-line-2);
	border-radius:9px;
	background:#fafbfc;
}

.rv-centro-identifiers span,
.rv-centro-identifiers strong{
	display:block;
	min-width:0;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.rv-centro-identifiers span{
	margin-bottom:3px;
	font-size:8px;
	font-weight:800;
	letter-spacing:.03em;
	text-transform:uppercase;
	color:var(--rv-muted);
}

.rv-centro-identifiers strong{
	font-size:10px;
	font-weight:700;
	color:#303640;
}

.rv-centro-location strong,
.rv-centro-location small,
.rv-centro-contact span,
.rv-centro-contact small{
	display:block;
	min-width:0;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.rv-centro-location strong,
.rv-centro-contact span{
	font-size:11px;
	font-weight:700;
	color:#252a31;
}

.rv-centro-location small,
.rv-centro-contact small{
	margin-top:3px;
	font-size:9px;
	color:var(--rv-muted);
}

.rv-centro-order{
	min-width:27px;
	height:27px;
	padding:0 7px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:8px;
	background:#f1f3f5;
	font-size:10px;
	font-weight:800;
	color:#333941;
}

.rv-centro-actions-cell .rv-table-action{
	margin-left:auto;
}

@media (max-width:1180px){
	.rv-centros-table-wrap{
		padding:10px;
		background:#f8f9fa;
	}

	.rv-centros-table,
	.rv-centros-table tbody,
	.rv-centros-table tr,
	.rv-centros-table td{
		display:block;
		width:100%;
	}

	.rv-centros-table colgroup,
	.rv-centros-table thead{
		display:none;
	}

	.rv-centros-table tbody{
		display:grid;
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:10px;
	}

	.rv-centros-table tbody tr{
		position:relative;
		margin:0;
		padding:14px;
		border:1px solid var(--rv-line);
		border-radius:13px;
		background:#fff;
		box-shadow:0 4px 16px rgba(20,24,31,.025);
	}

	.rv-centros-table tbody tr:hover td{
		background:transparent;
	}

	.rv-centros-table td{
		padding:0;
		border:0;
		text-align:left!important;
	}

	.rv-centro-main-cell{
		padding-right:46px!important;
		padding-bottom:12px!important;
		margin-bottom:12px;
		border-bottom:1px solid var(--rv-line-2)!important;
	}

	.rv-centro-main-cell:before,
	.rv-centro-identification-cell:before,
	.rv-centro-actions-cell:before{
		display:none;
	}

	.rv-centro-identification-cell{
		margin-bottom:12px;
	}

	.rv-centro-location-cell,
	.rv-centro-contact-cell,
	.rv-centro-order-cell{
		display:grid!important;
		grid-template-columns:90px minmax(0,1fr);
		align-items:center;
		gap:10px;
		padding:8px 0!important;
		border-top:1px solid var(--rv-line-2)!important;
	}

	.rv-centro-location-cell:before,
	.rv-centro-contact-cell:before,
	.rv-centro-order-cell:before{
		content:attr(data-label);
		font-size:8px;
		font-weight:800;
		letter-spacing:.04em;
		text-transform:uppercase;
		color:var(--rv-muted);
	}

	.rv-centro-actions-cell{
		position:absolute;
		top:14px;
		right:14px;
		width:auto!important;
	}

	.rv-centro-actions-cell .rv-table-action{
		width:34px;
		height:34px;
	}

	.rv-centro-identifiers{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}

	.rv-centro-location strong,
	.rv-centro-location small,
	.rv-centro-contact span,
	.rv-centro-contact small{
		white-space:normal;
		word-break:break-word;
	}

	.rv-centro-order-cell .rv-centro-order{
		justify-self:start;
	}
}

@media (max-width:767.98px){
	.rv-centros-kpis{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.rv-centros-kpis .rv-kpi{
		min-height:100px;
		padding:14px;
	}

	.rv-centros-kpis .rv-kpi-top{
		align-items:flex-start;
	}

	.rv-centros-kpis .rv-icon-box{
		width:36px;
		height:36px;
		font-size:16px;
	}

	.rv-centros-kpis .rv-kpi-label{
		font-size:10px;
	}

	.rv-centros-kpis .rv-kpi-value{
		font-size:23px;
	}

	.rv-centros-kpis .rv-kpi-trend{
		font-size:10px;
	}

	.rv-centros-table-wrap{
		padding:8px;
	}

	.rv-centros-table tbody{
		grid-template-columns:1fr;
	}

	.rv-centro-identifiers{
		grid-template-columns:1fr 1fr;
	}

	.rv-centro-identifiers > div:first-child{
		grid-column:1 / -1;
	}
}

@media (max-width:430px){
	.rv-centros-kpis{
		grid-template-columns:1fr 1fr;
		gap:8px;
	}

	.rv-centros-kpis .rv-kpi{
		min-height:0;
	}

	.rv-centros-kpis .rv-kpi-trend{
		display:none;
	}

	.rv-centro-identifiers{
		grid-template-columns:1fr;
	}

	.rv-centro-identifiers > div:first-child{
		grid-column:auto;
	}
}

/* ============================================================
   ZONAS - flujo funcional
   ============================================================ */

.rv-zonas-search-card{
	margin-bottom:14px;
}

.rv-zonas-kpis{
	margin-top:14px;
}

.rv-zonas-list-card{
	padding-bottom:4px;
}

.rv-zonas-grid{
	display:grid;
	grid-template-columns:1fr;
	gap:12px;
	padding:16px;
}

.rv-zona-card{
	position:relative;
	display:grid;
	grid-template-columns:minmax(0,1fr) auto auto;
	align-items:center;
	gap:20px;
	min-width:0;
	padding:16px;
	border:1px solid var(--rv-line);
	border-radius:14px;
	background:#fff;
	transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.rv-zona-card:hover{
	border-color:#c9ced5;
	box-shadow:0 10px 24px rgba(22,28,36,.05);
	transform:translateY(-1px);
}

.rv-zona-card-main{
	display:flex;
	align-items:center;
	gap:12px;
	min-width:0;
}

.rv-zona-card-icon{
	flex:0 0 auto;
	width:42px;
	height:42px;
	border-radius:12px;
	display:grid;
	place-items:center;
	background:#f2f3f5;
	font-size:18px;
	color:#16191d;
}

.rv-zona-card-copy{
	min-width:0;
}

.rv-zona-card-copy strong,
.rv-zona-card-copy small{
	display:block;
}

.rv-zona-card-copy strong{
	font-size:14px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.rv-zona-card-copy small{
	margin-top:3px;
	font-size:10px;
	color:var(--rv-muted);
}

.rv-zona-card-metrics{
	display:flex;
	align-items:center;
	gap:24px;
}

.rv-zona-card-metrics > div{
	min-width:88px;
}

.rv-zona-card-metrics span,
.rv-zona-card-metrics strong{
	display:block;
}

.rv-zona-card-metrics span{
	font-size:10px;
	color:var(--rv-muted);
}

.rv-zona-card-metrics strong{
	margin-top:3px;
	font-size:16px;
}

.rv-zona-form .rv-form-section{
	overflow:visible;
}

.rv-zona-assignment-head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:16px;
	margin-bottom:14px;
}

.rv-zona-selected-count{
	flex:0 0 auto;
	padding:7px 10px;
	border-radius:999px;
	background:#f2f3f5;
	font-size:10px;
	font-weight:800;
	color:#4f5968;
}

.rv-zona-dual-list{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:14px;
}

.rv-zona-dual-panel{
	min-width:0;
	border:1px solid var(--rv-line);
	border-radius:14px;
	background:#fff;
	overflow:hidden;
}

.rv-zona-dual-panel-head{
	padding:14px 14px 10px;
}

.rv-zona-dual-panel-head strong,
.rv-zona-dual-panel-head span{
	display:block;
}

.rv-zona-dual-panel-head strong{
	font-size:12px;
}

.rv-zona-dual-panel-head span{
	margin-top:2px;
	font-size:10px;
	color:var(--rv-muted);
}

.rv-zona-list-search{
	width:auto;
	margin:0 14px 10px;
}

.rv-zona-centros-list{
	position:relative;
	min-height:242px;
	max-height:360px;
	overflow:auto;
	border-top:1px solid var(--rv-line-2);
}

.rv-zona-centro-row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	min-width:0;
	padding:11px 12px 11px 14px;
	border-bottom:1px solid var(--rv-line-2);
}

.rv-zona-centro-row:last-of-type{
	border-bottom:0;
}

.rv-zona-centro-row > div{
	min-width:0;
}

.rv-zona-centro-row strong,
.rv-zona-centro-row small{
	display:block;
}

.rv-zona-centro-row strong{
	font-size:11px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.rv-zona-centro-row small{
	margin-top:2px;
	font-size:9px;
	color:var(--rv-muted);
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.rv-zona-centro-action{
	flex:0 0 auto;
	width:34px;
	height:34px;
	border:1px solid var(--rv-line);
	border-radius:10px;
	background:#fff;
	color:#121518;
	display:grid;
	place-items:center;
}

.rv-zona-centro-action:hover{
	background:#111315;
	border-color:#111315;
	color:#fff;
}

.rv-zona-centro-action-remove{
	border-color:#f2b9b9;
	color:#c32929;
}

.rv-zona-centro-action-remove:hover{
	background:#c32929;
	border-color:#c32929;
	color:#fff;
}

.rv-zona-list-empty{
	display:none;
	padding:28px 18px;
	text-align:center;
	font-size:10px;
	color:var(--rv-muted);
}

@media (max-width:1199.98px){
	.rv-zonas-grid{
		grid-template-columns:1fr;
	}
}

@media (max-width:767.98px){
	.rv-zonas-search-card .rv-list-toolbar{
		align-items:stretch;
		flex-direction:column;
	}

	.rv-zonas-search-card .rv-list-toolbar-left,
	.rv-zonas-search-card .rv-list-search,
	.rv-zonas-search-card .rv-page-actions,
	.rv-zonas-search-card .rv-btn{
		width:100%;
	}

	.rv-zonas-grid{
		padding:12px;
	}

	.rv-zona-card{
		grid-template-columns:minmax(0,1fr) auto;
		gap:12px;
		padding:14px;
	}

	.rv-zona-card-metrics{
		grid-column:1 / -1;
		justify-content:space-between;
		padding-top:10px;
		border-top:1px solid var(--rv-line-2);
	}

	.rv-zona-card-metrics > div{
		min-width:0;
	}

	.rv-zona-assignment-head{
		align-items:flex-start;
		flex-direction:column;
	}

	.rv-zona-dual-list{
		grid-template-columns:1fr;
	}

	.rv-zona-centros-list{
		max-height:none;
		min-height:150px;
	}

	.rv-zona-form .rv-form-footer{
		gap:10px;
	}

	.rv-zona-form .rv-form-footer > div,
	.rv-zona-form .rv-form-footer .rv-btn{
		width:100%;
	}
}

/* ------------------------------------------------------------
   ENVÍOS
------------------------------------------------------------ */
.rv-envios-search-card{
	margin-bottom:16px;
}

.rv-envios-kpis{
	margin-bottom:16px;
}

.rv-envios-listas-card,
.rv-envios-historico-card{
	margin-bottom:16px;
}

.rv-envios-section-head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
}

.rv-envios-listas-grid{
	display:grid;
	grid-template-columns:1fr;
	gap:12px;
	padding:16px;
}

.rv-envio-lista-card{
	display:grid;
	grid-template-columns:minmax(0,1fr) 120px auto;
	align-items:center;
	gap:20px;
	padding:16px;
	border:1px solid var(--rv-line);
	border-radius:14px;
	background:#fff;
}

.rv-envio-lista-main{
	display:flex;
	align-items:center;
	gap:14px;
	min-width:0;
}

.rv-envio-lista-icon{
	flex:0 0 48px;
	width:48px;
	height:48px;
	border-radius:14px;
	background:#f2f3f5;
	display:grid;
	place-items:center;
	font-size:19px;
}

.rv-envio-lista-copy{
	min-width:0;
}

.rv-envio-lista-copy strong,
.rv-envio-lista-copy span,
.rv-envio-lista-copy small{
	display:block;
}

.rv-envio-lista-copy strong{
	font-size:14px;
}

.rv-envio-lista-copy span{
	margin-top:3px;
	font-size:11px;
	color:var(--rv-muted);
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.rv-envio-lista-copy small{
	margin-top:5px;
	font-size:9px;
	color:var(--rv-muted-2);
}

.rv-envio-lista-count span,
.rv-envio-lista-count strong{
	display:block;
}

.rv-envio-lista-count span{
	font-size:10px;
	color:var(--rv-muted);
}

.rv-envio-lista-count strong{
	margin-top:3px;
	font-size:20px;
}

.rv-envio-lista-actions{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:8px;
}

.rv-btn-sm{
	height:36px;
	padding:0 12px;
	font-size:11px;
}

.rv-btn-dark{
	background:#111315;
	border-color:#111315;
	color:#fff;
}

.rv-btn-dark:hover{
	background:#25282d;
	border-color:#25282d;
	color:#fff;
}

.rv-table-action-danger{
	border-color:#f0c2c2;
	color:var(--rv-red);
}

.rv-table-action-danger:hover{
	background:#fff4f4;
	border-color:#e9aaaa;
	color:#b72f2f;
}

.rv-cell-subtext{
	display:block;
	margin-top:3px;
	font-size:9px;
	color:var(--rv-muted-2);
}

.rv-cell-separator{
	padding:0 3px;
	color:var(--rv-muted-2);
}

.rv-envios-table td:first-child{
	min-width:210px;
}

.rv-textarea{
	resize:vertical;
	min-height:100px !important;
}

.rv-destinatarios-form-card{
	max-width:980px;
}

.rv-import-section,
.rv-destinatarios-section{
	background:#fff;
}

.rv-import-box{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:18px;
	padding:14px;
	border:1px dashed #cfd5dc;
	border-radius:14px;
	background:#fafbfc;
}

.rv-import-copy{
	display:flex;
	align-items:center;
	gap:12px;
	min-width:0;
}

.rv-import-copy > div:last-child{
	min-width:0;
}

.rv-import-copy strong,
.rv-import-copy span{
	display:block;
}

.rv-import-copy strong{
	font-size:12px;
}

.rv-import-copy span{
	margin-top:3px;
	font-size:10px;
	color:var(--rv-muted);
}

.rv-import-actions{
	display:flex;
	align-items:center;
	gap:8px;
	flex:0 0 auto;
}

.rv-import-file{
	margin-top:8px;
	font-size:10px;
	color:var(--rv-muted);
}

.rv-destinatarios-search-form{
	margin-bottom:12px;
}

.rv-destinatarios-head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding:0 0 10px;
}

.rv-destinatarios-head strong,
.rv-destinatarios-head span{
	display:block;
}

.rv-destinatarios-head strong{
	font-size:12px;
}

.rv-destinatarios-head span{
	margin-top:2px;
	font-size:10px;
	color:var(--rv-muted);
}

.rv-destinatarios-list{
	border:1px solid var(--rv-line);
	border-radius:14px;
	overflow:hidden;
}

.rv-destinatario-row{
	display:grid;
	grid-template-columns:38px minmax(0,1fr) auto;
	align-items:center;
	gap:12px;
	padding:11px 12px;
	border-bottom:1px solid var(--rv-line-2);
}

.rv-destinatario-row:last-child{
	border-bottom:0;
}

.rv-destinatario-avatar{
	width:38px;
	height:38px;
	border-radius:12px;
	background:#f2f3f5;
	display:grid;
	place-items:center;
}

.rv-destinatario-copy{
	min-width:0;
}

.rv-destinatario-copy strong,
.rv-destinatario-copy span{
	display:block;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.rv-destinatario-copy strong{
	font-size:11px;
}

.rv-destinatario-copy span{
	margin-top:2px;
	font-size:10px;
	color:var(--rv-muted);
}

.rv-destinatarios-empty{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:5px;
	min-height:150px;
	padding:22px;
	border:1px dashed var(--rv-line);
	border-radius:14px;
	color:var(--rv-muted);
	text-align:center;
}

.rv-destinatarios-empty i{
	font-size:22px;
	color:#1c2026;
}

.rv-destinatarios-empty strong{
	font-size:12px;
	color:var(--rv-text);
}

.rv-destinatarios-empty span{
	font-size:10px;
}

.rv-programacion-options{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:12px;
}

.rv-programacion-option{
	position:relative;
	display:grid;
	grid-template-columns:auto 42px minmax(0,1fr);
	align-items:center;
	gap:12px;
	min-height:82px;
	padding:14px;
	border:1px solid var(--rv-line);
	border-radius:14px;
	background:#fff;
	cursor:pointer;
}

.rv-programacion-option:has(input:checked){
	border-color:#22262c;
	box-shadow:0 0 0 2px rgba(17,19,23,.04);
}

.rv-programacion-option input{
	margin:0;
}

.rv-programacion-option-icon{
	width:42px;
	height:42px;
	border-radius:12px;
	background:#f2f3f5;
	display:grid;
	place-items:center;
	font-size:17px;
}

.rv-programacion-option strong,
.rv-programacion-option small{
	display:block;
}

.rv-programacion-option strong{
	font-size:12px;
}

.rv-programacion-option small{
	margin-top:3px;
	font-size:10px;
	font-weight:400;
	color:var(--rv-muted);
}

.rv-programacion-date{
	max-width:360px;
	margin-top:14px;
}

.rv-form-footer-note{
	max-width:560px;
	font-size:10px;
	line-height:1.45;
	color:var(--rv-muted);
}

.rv-form-footer-note i{
	margin-right:5px;
	color:var(--rv-green);
}

.rv-envio-empty-form{
	min-height:340px;
}

.rv-envios-empty-history{
	min-height:210px;
}

.rv-form-card .form-select{
	min-height:42px;
	border-color:#dfe3e8;
	border-radius:9px;
	background-color:#fff;
	font-size:12px;
}

.rv-form-card .form-select:focus{
	border-color:#9ca4af;
	box-shadow:0 0 0 3px rgba(17,19,23,.05);
}

@media (max-width:991.98px){
	.rv-envio-lista-card{
		grid-template-columns:minmax(0,1fr) auto;
	}

	.rv-envio-lista-count{
		grid-column:1 / 2;
		padding-left:62px;
	}

	.rv-envio-lista-actions{
		grid-column:2 / 3;
		grid-row:1 / span 2;
	}
}

@media (max-width:767.98px){
	.rv-envios-search-card .rv-list-toolbar{
		align-items:stretch;
		flex-direction:column;
	}

	.rv-envios-search-card .rv-list-toolbar-left,
	.rv-envios-search-card .rv-list-search,
	.rv-envios-search-card .rv-page-actions,
	.rv-envios-search-card .rv-btn{
		width:100%;
	}

	.rv-envios-section-head{
		align-items:stretch;
		flex-direction:column;
	}

	.rv-envios-section-head .rv-btn{
		width:100%;
	}

	.rv-envio-lista-card{
		grid-template-columns:1fr;
		gap:12px;
	}

	.rv-envio-lista-count{
		grid-column:auto;
		padding:10px 0 0;
		border-top:1px solid var(--rv-line-2);
	}

	.rv-envio-lista-actions{
		grid-column:auto;
		grid-row:auto;
		justify-content:stretch;
	}

	.rv-envio-lista-actions .rv-btn{
		flex:1 1 auto;
	}

	.rv-import-box{
		align-items:stretch;
		flex-direction:column;
	}

	.rv-import-actions{
		width:100%;
	}

	.rv-import-actions .rv-btn{
		flex:1 1 0;
	}

	.rv-programacion-options{
		grid-template-columns:1fr;
	}

	.rv-programacion-date{
		max-width:none;
	}

	.rv-form-footer-note{
		max-width:none;
	}
}

/* MAPA DINAMICO DE ZONAS */
.rv-map-card-actions{
	display:flex;
	align-items:center;
	gap:8px;
	flex-wrap:wrap;
	justify-content:flex-end;
}

.rv-map-config-button{
	height:34px;
	padding:0 11px;
	border:1px solid var(--rv-line);
	border-radius:9px;
	background:#fff;
	color:#17191c;
	display:inline-flex;
	align-items:center;
	gap:7px;
	font-size:10px;
	font-weight:800;
	transition:border-color .18s ease,background .18s ease,transform .18s ease;
}

.rv-map-config-button:hover{
	background:#f6f7f8;
	border-color:#bfc5cd;
}

.rv-map-config-button:active{
	transform:translateY(1px);
}

.rv-map-stage-spain{
	isolation:isolate;
}

.rv-spain-map{
	position:absolute;
	inset:7% 5%;
	width:90%;
	height:86%;
	object-fit:contain;
	pointer-events:none;
	user-select:none;
	-webkit-user-drag:none;
	z-index:1;
}

.rv-map-region-dynamic{
	transform:translate(-50%,-50%);
	z-index:3;
	max-width:145px;
	min-width:78px;
	text-align:left;
	white-space:nowrap;
}

.rv-map-region-dynamic.is-unconfigured{
	box-shadow:0 0 0 2px var(--rv-yellow),0 7px 18px rgba(0,0,0,.15);
}

.rv-map-empty{
	position:absolute;
	inset:0;
	z-index:4;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:5px;
	padding:24px;
	text-align:center;
	color:#697485;
}

.rv-map-empty i{
	font-size:24px;
	color:#1a1c1f;
}

.rv-map-empty strong{
	font-size:12px;
	color:#1a1c1f;
}

.rv-map-empty span{
	font-size:10px;
}

.rv-map-summary-neutral{
	color:#687386;
}

.rv-mapa-zonas-form{
	padding-bottom:0;
}

.rv-map-editor-intro{
	align-items:flex-start;
}

.rv-map-editor-layout{
	display:grid;
	grid-template-columns:minmax(0,1fr) 260px;
	gap:16px;
	align-items:stretch;
}

.rv-map-editor-stage{
	position:relative;
	min-height:520px;
	aspect-ratio:900 / 620;
	border:1px solid var(--rv-line);
	border-radius:18px;
	background:
		radial-gradient(circle at 52% 42%,rgba(255,255,255,.95),rgba(247,248,250,.72) 48%,rgba(240,242,245,.94) 100%);
	overflow:hidden;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.rv-spain-map-editor{
	inset:5% 4%;
	width:92%;
	height:90%;
	op:5%;
	left:4%;
}

.rv-map-editor-help{
	position:absolute;
	left:16px;
	top:16px;
	z-index:4;
	display:flex;
	align-items:center;
	gap:7px;
	padding:8px 10px;
	border:1px solid rgba(203,208,215,.9);
	border-radius:9px;
	background:rgba(255,255,255,.9);
	backdrop-filter:blur(6px);
	font-size:10px;
	font-weight:700;
	color:#525d6d;
	pointer-events:none;
}

.rv-map-zone-marker{
	position:absolute;
	transform:translate(-50%,-50%);
	z-index:5;
	border:0;
	border-radius:10px;
	background:#15171a;
	color:#fff;
	box-shadow:0 9px 24px rgba(0,0,0,.18);
}

.rv-map-zone-marker-editable{
	max-width:190px;
	min-width:128px;
	padding:8px 10px 8px 7px;
	display:flex;
	align-items:center;
	gap:5px;
	text-align:left;
	cursor:grab;
	touch-action:none;
	user-select:none;
	-webkit-user-select:none;
	transition:box-shadow .14s ease,transform .14s ease,background .14s ease;
}

.rv-map-zone-marker-editable > i{
	font-size:15px;
	color:#aeb4bd;
	flex:0 0 auto;
}

.rv-map-zone-marker-editable > span{
	min-width:0;
	display:block;
}

.rv-map-zone-marker-editable strong,
.rv-map-zone-marker-editable small{
	display:block;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.rv-map-zone-marker-editable strong{
	font-size:11px;
	line-height:1.2;
	font-weight:800;
}

.rv-map-zone-marker-editable small{
	margin-top:2px;
	font-size:8px;
	color:#c8cdd4;
}

.rv-map-zone-marker-editable:hover{
	box-shadow:0 0 0 2px rgba(255,210,0,.85),0 12px 30px rgba(0,0,0,.22);
}

.rv-map-zone-marker-editable.is-pending{
	box-shadow:0 0 0 2px var(--rv-yellow),0 9px 24px rgba(0,0,0,.18);
}

.rv-map-zone-marker-editable.is-dragging{
	z-index:20;
	cursor:grabbing;
	transform:translate(-50%,-50%) scale(1.04);
	background:#060708;
	box-shadow:0 0 0 3px var(--rv-yellow),0 18px 40px rgba(0,0,0,.28);
}

.rv-map-editor-side{
	min-width:0;
	border:1px solid var(--rv-line);
	border-radius:18px;
	background:#fff;
	padding:15px;
	dis:flex;
	flex-direction:column;
	gap:12px;
}

.rv-map-editor-side-head{
	padding-bottom:12px;
	border-bottom:1px solid var(--rv-line-2);
}

.rv-map-editor-side-head strong,
.rv-map-editor-side-head span{
	dis:block;
}

.rv-map-editor-side-head strong{
	font-size:13px;
	font-weight:800;
	color:#1a1c1f;
}

.rv-map-editor-side-head span{
	margin-top:2px;
	font-size:9px;
	color:#7a8494;
}

.rv-map-editor-zone-list{
	display:grid;
	gap:6px;
	max-height:390px;
	overflow-y:auto;
	padding-right:2px;
}

.rv-map-editor-zone-row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	padding:9px 10px;
	border:1px solid var(--rv-line-2);
	border-radius:10px;
	background:#fafbfc;
}

.rv-map-editor-zone-row > div{
	min-width:0;
}

.rv-map-editor-zone-row strong,
.rv-map-editor-zone-row small{
	dis:block;
}

.rv-map-editor-zone-row strong{
	font-size:10px;
	font-weight:800;
	color:#1b1d20;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.rv-map-editor-zone-row small{
	margin-top:2px;
	font-size:8px;
	line-height:1.25;
	color:#7a8494;
}

.rv-map-editor-coords{
	flex:0 0 auto;
	dis:grid;
	gap:2px;
	text-align:right;
	font-size:8px;
	font-variant-numeric:tabular-nums;
	color:#5f6978;
}

.rv-map-editor-note{
	margin-top:auto;
	padding:10px;
	border-radius:10px;
	background:#f5f6f8;
	dis:flex;
	align-items:flex-start;
	gap:7px;
	font-size:9px;
	line-height:1.4;
	color:#687386;
}

.rv-map-editor-note i{
	margin-top:1px;
	color:#17191c;
}

.rv-map-editor-footer-status{
	dis:flex;
	align-items:center;
	gap:7px;
	font-size:9px;
	color:#758092;
}

.rv-map-editor-footer-status i{
	color:#1f8f51;
}

.rv-map-editor-empty{
	min-height:360px;
}

@media (max-width:1199.98px){
	.rv-map-editor-layout{
		grid-template-columns:1fr;
	}

	.rv-map-editor-stage{
		min-height:470px;
	}

	.rv-map-editor-zone-list{
		grid-template-columns:repeat(2,minmax(0,1fr));
		max-height:none;
	}

	.rv-map-editor-note{
		margin-top:0;
	}
}

@media (max-width:767.98px){
	.rv-map-card-actions{
		width:100%;
		justify-content:space-between;
	}

	.rv-map-card-actions .rv-mini-select{
		flex:1 1 150px;
	}

	.rv-map-config-button{
		flex:0 0 auto;
	}

	.rv-map-region-dynamic{
		min-width:66px;
		max-width:108px;
		padding:6px 7px;
		font-size:8px;
	}

	.rv-map-region-dynamic strong{
		font-size:9px;
	}

	.rv-map-editor-stage{
		min-height:390px;
		aspect-ratio:auto;
	}

	.rv-map-editor-help{
		left:10px;
		top:10px;
		font-size:9px;
	}

	.rv-map-zone-marker-editable{
		min-width:104px;
		max-width:145px;
		padding:7px 8px 7px 5px;
	}

	.rv-map-zone-marker-editable strong{
		font-size:10px;
	}

	.rv-map-zone-marker-editable small{
		font-size:7px;
	}

	.rv-map-editor-zone-list{
		grid-template-columns:1fr;
	}

	.rv-map-editor-footer-status{
		dis:none;
	}
}

@media (max-width:479.98px){
	.rv-map-config-button span{
		dis:none;
	}

	.rv-map-config-button{
		width:36px;
		padding:0;
		justify-content:center;
	}

	.rv-map-editor-stage{
		min-height:340px;
		border-radius:14px;
	}

	.rv-map-editor-help span{
		dis:none;
	}

	.rv-map-editor-help{
		width:32px;
		height:32px;
		padding:0;
		justify-content:center;
	}

	.rv-map-zone-marker-editable{
		min-width:88px;
		max-width:118px;
	}

	.rv-map-zone-marker-editable > i{
		dis:none;
	}
}

/* MARCAS Y MODELOS */
.rv-marcas-kpis{
	grid-template-columns:repeat(2,minmax(0,1fr));
}

.rv-marcas-list-card{
	margin-top:14px;
}

.rv-marcas-grid{
	display:grid;
	grid-template-columns:1fr;
	gap:10px;
	padding:14px;
}

.rv-marca-card{
	display:grid;
	grid-template-columns:minmax(0,1fr) 120px auto;
	align-items:center;
	gap:18px;
	padding:14px 16px;
	border:1px solid var(--rv-line);
	border-radius:14px;
	background:#fff;
}

.rv-marca-card-main,
.rv-modelo-row-main{
	display:flex;
	align-items:center;
	gap:12px;
	min-width:0;
}

.rv-marca-icon,
.rv-modelo-icon{
	width:42px;
	height:42px;
	border-radius:12px;
	display:grid;
	place-items:center;
	background:#f3f4f6;
	color:#17191c;
	font-size:17px;
	flex:0 0 auto;
}

.rv-marca-card-main strong,
.rv-marca-card-main small,
.rv-modelo-row-main strong,
.rv-modelo-row-main small{
	display:block;
}

.rv-marca-card-main strong,
.rv-modelo-row-main strong{
	font-size:13px;
	font-weight:800;
	color:#17191c;
}

.rv-marca-card-main small,
.rv-modelo-row-main small{
	margin-top:2px;
	font-size:9px;
	color:#7a8494;
}

.rv-marca-model-count,
.rv-modelo-order{
	display:grid;
	gap:2px;
}

.rv-marca-model-count span,
.rv-modelo-order span{
	font-size:9px;
	color:#7a8494;
}

.rv-marca-model-count strong,
.rv-modelo-order strong{
	font-size:18px;
	font-weight:800;
	color:#17191c;
}

.rv-marca-actions{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:8px;
}

.rv-modelos-marca-workspace{
	padding-bottom:18px;
}

.rv-modelos-list-head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	padding:13px 0 10px;
	border-bottom:1px solid var(--rv-line-2);
}

.rv-modelos-list-head strong,
.rv-modelos-list-head span{
	display:block;
}

.rv-modelos-list-head strong{
	font-size:13px;
	font-weight:800;
}

.rv-modelos-list-head span{
	margin-top:2px;
	font-size:9px;
	color:#7a8494;
}

.rv-modelos-list{
	display:grid;
	gap:8px;
	padding-top:12px;
}

.rv-modelo-row{
	display:grid;
	grid-template-columns:minmax(0,1fr) 90px 38px;
	align-items:center;
	gap:12px;
	padding:11px 12px;
	border:1px solid var(--rv-line-2);
	border-radius:12px;
	background:#fafbfc;
}

.rv-modelo-icon{
	width:36px;
	height:36px;
	border-radius:10px;
	font-size:15px;
	background:#fff;
	border:1px solid var(--rv-line-2);
}

.rv-empty-state-compact{
	min-height:220px;
}

/* MAPA DE PRECIOS FUNCIONAL */
#espacioMapaPreciosZonas{
	min-width:0;
	transition:opacity .16s ease;
}

#espacioMapaPreciosZonas.is-loading{
	opacity:.55;
	pointer-events:none;
}

.rv-map-card-head{
	align-items:flex-end;
}

.rv-map-price-controls{
	align-items:flex-end;
}

.rv-map-filter{
	display:grid;
	gap:4px;
}

.rv-map-filter label{
	font-size:9px;
	font-weight:800;
	color:#687386;
}

.rv-map-price-controls .rv-mini-select{
	min-width:145px;
	height:34px;
}

.rv-price-mode{
	display:flex;
	align-items:center;
	height:34px;
	padding:3px;
	border:1px solid var(--rv-line);
	border-radius:9px;
	background:#f5f6f8;
}

.rv-price-mode button{
	height:26px;
	padding:0 9px;
	border:0;
	border-radius:6px;
	background:transparent;
	color:#687386;
	font-size:9px;
	font-weight:800;
	white-space:nowrap;
}

.rv-price-mode button.active{
	background:#17191c;
	color:#fff;
	box-shadow:0 2px 7px rgba(0,0,0,.12);
}

.rv-map-layout{
	grid-template-columns:minmax(0,1fr) 190px;
}

.rv-map-region-dynamic{
	padding:8px 10px;
	border:1px solid transparent;
	transition:background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease;
}

.rv-map-region-dynamic > span,
.rv-map-region-dynamic > strong,
.rv-map-region-dynamic > small{
	display:block;
}

.rv-map-region-dynamic > span{
	font-size:9px;
	font-weight:700;
}

.rv-map-region-dynamic > strong{
	margin-top:2px;
	font-size:12px;
	font-weight:900;
}

.rv-map-region-dynamic > small{
	margin-top:2px;
	font-size:7px;
	opacity:.78;
}

.rv-map-region-dynamic.nivel-4{
	background:#5f6670;
	color:#fff;
}

.rv-map-region-dynamic.nivel-3{
	background:#9298a1;
	color:#fff;
}

.rv-map-region-dynamic.nivel-2{
	background:#b9bec5;
	color:#17191c;
}

.rv-map-region-dynamic.nivel-1{
	background:#dde0e4;
	color:#17191c;
}

.rv-map-region-dynamic.sin-datos{
	background:#f4f5f7;
	color:#6e7888;
	border-color:#cfd4da;
	box-shadow:0 6px 14px rgba(0,0,0,.08);
}

.rv-map-region-dynamic.is-unconfigured{
	box-shadow:0 0 0 2px var(--rv-yellow),0 7px 18px rgba(0,0,0,.15);
}

.rv-map-price-summary{
	display:flex;
	flex-direction:column;
	justify-content:space-between;
	min-width:0;
}

.rv-map-summary-selection{
	margin-top:3px;
	font-size:10px;
	font-weight:800;
	line-height:1.35;
	color:#303640;
}

.rv-map-legend-functional .rv-swatch.nivel-4{
	background:#5f6670;
}

.rv-map-legend-functional .rv-swatch.nivel-3{
	background:#9298a1;
}

.rv-map-legend-functional .rv-swatch.nivel-2{
	background:#b9bec5;
}

.rv-map-legend-functional .rv-swatch.nivel-1{
	background:#dde0e4;
}

.rv-map-legend-functional .rv-swatch.sin-datos{
	background:#f4f5f7;
	border:1px solid #cfd4da;
}

@media (max-width:1199.98px){
	.rv-map-card-head{
		align-items:flex-start;
		flex-direction:column;
	}

	.rv-map-price-controls{
		width:100%;
		justify-content:flex-start;
	}

	.rv-map-filter{
		flex:1 1 180px;
	}

	.rv-map-price-controls .rv-mini-select{
		width:100%;
	}
}

@media (max-width:767.98px){
	.rv-marcas-kpis{
		grid-template-columns:1fr 1fr;
	}

	.rv-marca-card{
		grid-template-columns:minmax(0,1fr) auto;
		gap:12px;
	}

	.rv-marca-model-count{
		grid-column:1;
		padding-left:54px;
	}

	.rv-marca-actions{
		grid-column:2;
		grid-row:1 / span 2;
	}

	.rv-modelo-row{
		grid-template-columns:minmax(0,1fr) 60px 38px;
	}

	.rv-map-price-controls{
		dis:grid;
		grid-template-columns:1fr 1fr;
		gap:8px;
	}

	.rv-map-filter{
		min-width:0;
	}

	.rv-price-mode{
		grid-column:1 / span 2;
		width:100%;
	}

	.rv-price-mode button{
		flex:1 1 0;
	}

	.rv-map-price-controls .rv-map-config-button{
		position:absolute;
		right:16px;
		top:16px;
	}

	.rv-map-layout{
		grid-template-columns:1fr;
	}

	.rv-map-price-summary{
		min-height:auto;
	}

	.rv-map-legend{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

@media (max-width:479.98px){
	.rv-marcas-kpis{
		grid-template-columns:1fr;
	}

	.rv-marca-card{
		grid-template-columns:1fr;
	}

	.rv-marca-model-count{
		grid-column:auto;
		padding-left:54px;
	}

	.rv-marca-actions{
		grid-column:auto;
		grid-row:auto;
		justify-content:flex-start;
	}

	.rv-modelo-row{
		grid-template-columns:minmax(0,1fr) 38px;
	}

	.rv-modelo-order{
		display:none;
	}

	.rv-map-price-controls{
		grid-template-columns:1fr;
	}

	.rv-price-mode{
		grid-column:auto;
	}

	.rv-map-price-controls .rv-map-config-button{
		position:static;
		width:100%;
	}

	.rv-map-legend{
		grid-template-columns:1fr;
	}
}

/* COMPARATIVA TOP MODELOS POR ZONA */
#espacioComparativaModelosZonas{
	min-width:0;
	transition:opacity .16s ease;
}

#espacioComparativaModelosZonas.is-loading{
	opacity:.55;
	pointer-events:none;
}

.rv-comparison-scroll{
	position:relative;
}

.rv-comparison-table-dynamic th:first-child,
.rv-comparison-table-dynamic td:first-child{
	position:sticky;
	left:0;
	z-index:2;
	background:#fff;
}

.rv-comparison-table-dynamic thead th:first-child{
	z-index:3;
	background:#fafbfc;
}

.rv-model-cell-copy{
	display:grid;
	gap:1px;
	min-width:0;
}

.rv-model-cell-copy strong{
	font-size:12px;
	line-height:1.2;
}

.rv-model-cell-copy span{
	font-size:9px;
	font-weight:600;
	color:#788293;
}

.rv-comparison-empty{
	padding:28px 16px !important;
	text-align:center;
	color:#758093;
}

/* EVOLUCION DE PRECIOS POR ZONA */
#espacioEvolucionPreciosZonas{
	min-width:0;
	transition:opacity .16s ease;
}

#espacioEvolucionPreciosZonas.is-loading{
	opacity:.55;
	pointer-events:none;
}

.rv-evolution-head{
	align-items:flex-end;
	gap:14px;
}

.rv-evolution-controls{
	display:flex;
	align-items:flex-end;
	justify-content:flex-end;
	gap:8px;
	flex-wrap:wrap;
}

.rv-evolution-controls .rv-mini-select{
	min-width:145px;
	height:34px;
}

.rv-evolution-price-filter .rv-mini-select{
	min-width:122px;
}

.rv-line-legend-dynamic{
	justify-content:flex-end;
	flex-wrap:wrap;
	gap:10px 14px;
	margin:-2px 0 8px;
}

.rv-evolution-selection{
	margin-bottom:8px;
	font-size:10px;
	font-weight:700;
	color:#6d7786;
}

.rv-line-wrap-dynamic{
	height:auto;
	padding:0;
}

.rv-line-chart-dynamic{
	width:100%;
	height:250px;
	display:block;
	border:1px solid var(--rv-line-2);
	border-radius:14px;
	background:#fff;
}

.rv-line-x-dynamic{
	margin:10px 0 0 54px;
	width:calc(100% - 54px);
	font-size:10px;
}

.rv-chart-empty{
	min-height:250px;
	border:1px solid var(--rv-line-2);
	border-radius:14px;
	background:#fbfcfd;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:6px;
	padding:28px;
	text-align:center;
	color:#6f7888;
}

.rv-chart-empty i{
	font-size:24px;
	color:#17191c;
}

.rv-chart-empty strong{
	font-size:12px;
	color:#17191c;
}

.rv-chart-empty span{
	max-width:360px;
	font-size:10px;
	line-height:1.45;
}

@media (max-width:991.98px){
	.rv-evolution-head{
		align-items:stretch;
	}

	.rv-evolution-controls{
		justify-content:flex-start;
	}
}

@media (max-width:767.98px){
	.rv-evolution-controls{
		width:100%;
	}

	.rv-evolution-controls .rv-map-filter{
		flex:1 1 145px;
	}

	.rv-line-chart-dynamic{
		height:220px;
	}

	.rv-line-x-dynamic{
		margin-left:42px;
		width:calc(100% - 42px);
		font-size:9px;
	}
}

@media (max-width:479.98px){
	.rv-line-chart-dynamic{
		height:206px;
	}

	.rv-line-legend-dynamic{
		justify-content:flex-start;
	}

	.rv-line-x-dynamic{
		font-size:8px;
	}
}

/* EVOLUCION DE PRECIOS POR ZONA */
#espacioEvolucionPreciosZonas{
	min-width:0;
	transition:opacity .16s ease;
}

#espacioEvolucionPreciosZonas.is-loading{
	opacity:.55;
	pointer-events:none;
}

.rv-evolution-card{
	height:100%;
}

.rv-evolution-head{
	align-items:flex-end;
}

.rv-evolution-controls{
	display:flex;
	align-items:flex-end;
	justify-content:flex-end;
	flex-wrap:wrap;
	gap:8px;
}

.rv-evolution-filter{
	display:grid;
	gap:4px;
}

.rv-evolution-filter label{
	font-size:9px;
	font-weight:800;
	color:#687386;
}

.rv-evolution-filter .rv-mini-select{
	min-width:128px;
	height:34px;
}

.rv-evolution-price-mode{
	height:34px;
}

.rv-evolution-selection{
	display:flex;
	align-items:center;
	gap:7px;
	margin:-3px 0 9px 49px;
	font-size:9px;
	color:#7a8494;
}

.rv-evolution-selection strong{
	font-size:10px;
	color:#25292f;
}

.rv-evolution-selection span:before{
	content:'·';
	margin-right:7px;
	color:#b4bac2;
}

.rv-evolution-legend{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	flex-wrap:wrap;
	gap:7px 14px;
	min-height:20px;
	margin:0 0 7px;
	font-size:9px;
	color:#606a79;
}

.rv-evolution-legend-item{
	display:flex;
	align-items:center;
	gap:6px;
	white-space:nowrap;
}

.rv-evolution-legend-item i{
	display:block;
	width:18px;
	height:3px;
	border-radius:999px;
}

.rv-evolution-legend-item small{
	font-size:8px;
	color:#9aa2ad;
}

.rv-evolution-legend-item.is-empty{
	opacity:.55;
}

.rv-evolution-chart-scroll{
	width:100%;
	overflow:hidden;
}

.rv-evolution-chart{
	display:block;
	width:100%;
	height:auto;
	min-height:230px;
}

.rv-evolution-axis{
	stroke:#d7dce2;
	stroke-width:1;
	vector-effect:non-scaling-stroke;
}

.rv-evolution-grid-line,
.rv-evolution-grid-month{
	stroke:#e9edf1;
	stroke-width:1;
	vector-effect:non-scaling-stroke;
}

.rv-evolution-grid-month{
	stroke:#f0f2f5;
}

.rv-evolution-y-label,
.rv-evolution-x-label{
	fill:#6e7888;
	font-size:9px;
	font-family:inherit;
}

.rv-evolution-zone-line{
	transition:opacity .15s ease;
}

.rv-evolution-point{
	stroke:#fff;
	stroke-width:1.3;
	vector-effect:non-scaling-stroke;
}

.rv-evolution-empty-title{
	fill:#303640;
	font-size:12px;
	font-weight:800;
	font-family:inherit;
}

.rv-evolution-empty-copy{
	fill:#7a8494;
	font-size:9px;
	font-family:inherit;
}

@media (max-width:1199.98px){
	.rv-evolution-head{
		align-items:flex-start;
		flex-direction:column;
	}

	.rv-evolution-controls{
		width:100%;
		justify-content:flex-start;
	}

	.rv-evolution-filter{
		flex:1 1 150px;
	}

	.rv-evolution-filter .rv-mini-select{
		width:100%;
	}

	.rv-evolution-selection{
		margin-left:0;
	}

	.rv-evolution-legend{
		justify-content:flex-start;
	}
}

@media (max-width:767.98px){
	.rv-evolution-controls{
		display:grid;
		grid-template-columns:1fr 1fr;
		gap:8px;
	}

	.rv-evolution-filter{
		min-width:0;
	}

	.rv-evolution-price-mode{
		grid-column:1 / span 2;
		width:100%;
	}

	.rv-evolution-price-mode button{
		flex:1 1 0;
	}

	.rv-evolution-selection{
		align-items:flex-start;
		flex-direction:column;
		gap:2px;
	}

	.rv-evolution-selection span:before{
		display:none;
	}

	.rv-evolution-chart-scroll{
		overflow-x:auto;
		overscroll-behavior-inline:contain;
	}

	.rv-evolution-chart{
		min-width:660px;
	}
}

@media (max-width:479.98px){
	.rv-evolution-controls{
		grid-template-columns:1fr;
	}

	.rv-evolution-price-mode{
		grid-column:1;
	}
}

/* COMPARATIVA TOP MODELOS POR ZONA - PRECIO Y UNIDADES */
@media (min-width:1281px){
	#espacioComparativaModelosZonas{
		grid-column:1 / -1;
	}
}

.rv-comparison-card{
	width:100%;
}

.rv-comparison-table-dynamic{
	table-layout:auto;
}

.rv-comparison-table-dynamic thead tr:first-child th{
	border-bottom:1px solid var(--rv-line-2);
}

.rv-comparison-table-dynamic thead tr:nth-child(2) th{
	border-top:0;
}

.rv-comparison-model-head,
.rv-comparison-summary-head{
	vertical-align:middle;
}

.rv-comparison-zone-head{
	min-width:225px;
	text-align:center;
	border-left:1px solid var(--rv-line-2);
}

.rv-comparison-subhead{
	padding-top:7px!important;
	padding-bottom:7px!important;
	font-size:9px!important;
	letter-spacing:.04em;
	color:#7b8595!important;
}

.rv-comparison-units-head{
	min-width:72px;
	text-align:center;
}

.rv-comparison-price-head{
	min-width:138px;
	text-align:right;
	border-right:1px solid var(--rv-line-2);
}

.rv-zone-units-cell{
	min-width:72px;
	text-align:center;
	font-weight:800;
	color:#4f5b6d;
	background:#fafbfc;
}

.rv-zone-price-cell{
	min-width:138px;
	text-align:right;
	border-right:1px solid var(--rv-line-2);
}

.rv-comparison-average-head,
.rv-comparison-average-cell{
	min-width:118px;
	padding-left:24px!important;
	border-left:12px solid #fff;
}

.rv-comparison-variation-head,
.rv-comparison-variation-cell{
	min-width:96px;
	padding-left:8px!important;
}

@media (max-width:767.98px){
	.rv-comparison-zone-head{
		min-width:188px;
	}

	.rv-comparison-price-head,
	.rv-zone-price-cell{
		min-width:116px;
	}

	.rv-comparison-units-head,
	.rv-zone-units-cell{
		min-width:62px;
	}

	.rv-comparison-average-head,
	.rv-comparison-average-cell{
		padding-left:18px!important;
		border-left-width:8px;
	}
}

/* VEHICULOS VO */
.rv-vehiculos-filter-card{
	padding:16px;
}

.rv-vehiculos-filter-grid{
	display:grid;
	grid-template-columns:repeat(5,minmax(0,1fr));
	gap:12px;
	align-items:end;
}

.rv-vehiculos-filter-grid > *{
	min-width:0;
}

.rv-vehiculos-search-row{
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	gap:12px;
	align-items:center;
	margin-top:14px;
	padding-top:14px;
	border-top:1px solid var(--rv-line-2);
}

.rv-vehiculos-search-row .rv-list-search{
	width:100%;
	max-width:none;
}

.rv-vehiculos-search-row .rv-btn{
	min-width:118px;
	justify-content:center;
}

.rv-vehiculos-list-card{
	overflow:hidden;
}

.rv-vehiculos-list-headline{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	padding:18px 20px;
	border-bottom:1px solid var(--rv-line);
}

.rv-vehiculos-list-meta{
	display:flex;
	align-items:center;
	gap:8px;
	font-size:11px;
	font-weight:700;
	color:var(--rv-muted);
	white-space:nowrap;
}

.rv-vehiculos-list-meta i{
	color:var(--rv-green);
}

.rv-vehiculos-table-wrap{
	width:100%;
	overflow-x:auto;
	overscroll-behavior-inline:contain;
}

.rv-vehiculos-table{
	min-width:1680px;
	table-layout:fixed;
}

.rv-vehiculos-table th,
.rv-vehiculos-table td{
	vertical-align:middle;
}

.rv-vehiculos-table th{
	white-space:normal;
	line-height:1.25;
}

.rv-vehiculos-table td{
	white-space:nowrap;
}

.rv-vehiculos-col-date{
	width:105px;
}

.rv-vehiculos-col-brand{
	width:120px;
}

.rv-vehiculos-col-model{
	width:135px;
}

.rv-vehiculos-col-version{
	width:190px;
}

.rv-vehiculos-col-km{
	width:105px;
}

.rv-vehiculos-col-price{
	width:145px;
}

.rv-vehiculos-col-zone{
	width:145px;
}

.rv-vehiculos-col-center{
	width:220px;
}

.rv-vehiculos-col-source{
	width:135px;
}

.rv-vehiculo-cell-strong{
	font-weight:800;
	color:var(--rv-text);
}

.rv-vehiculo-km{
	font-weight:700;
	color:#4d5869;
}

.rv-vehiculo-price-cell{
	font-variant-numeric:tabular-nums;
}

.rv-vehiculo-price-cell strong{
	font-size:12px;
	white-space:nowrap;
}

.rv-vehiculo-price-appraisal{
	background:#fafafa;
}

.rv-vehiculo-zone{
	display:inline-flex;
	align-items:center;
	gap:6px;
	font-weight:700;
	color:#475366;
}

.rv-source-badge{
	display:inline-flex;
	align-items:center;
	gap:6px;
	min-height:28px;
	padding:0 9px;
	border:1px solid var(--rv-line);
	border-radius:999px;
	background:#f8f9fa;
	font-size:10px;
	font-weight:800;
	color:#343c47;
	white-space:nowrap;
}

.rv-source-quiter{
	background:#f4f4f5;
	border-color:#d9dce1;
}

.rv-source-spiga{
	background:#eef2f6;
	border-color:#d7dfe8;
}

#espacioListadoVehiculos.is-loading{
	opacity:.55;
	pointer-events:none;
	transition:opacity .16s ease;
}

@media (max-width:1199.98px){
	.rv-vehiculos-filter-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}
}

@media (max-width:767.98px){
	.rv-vehiculos-filter-card{
		padding:12px;
	}

	.rv-vehiculos-filter-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:10px;
	}

	.rv-vehiculos-search-row{
		grid-template-columns:1fr;
		gap:10px;
		margin-top:12px;
		padding-top:12px;
	}

	.rv-vehiculos-search-row .rv-btn{
		width:100%;
	}

	.rv-vehiculos-list-headline{
		align-items:flex-start;
		flex-direction:column;
		padding:14px;
	}

	.rv-vehiculos-list-meta{
		white-space:normal;
	}

	.rv-vehiculos-table-wrap{
		overflow:visible;
	}

	.rv-vehiculos-table{
		min-width:0;
		table-layout:auto;
	}

	.rv-responsive-table.rv-vehiculos-table td{
		align-items:center;
	}

	.rv-responsive-table.rv-vehiculos-table .rv-vehiculo-zone,
	.rv-responsive-table.rv-vehiculos-table .rv-source-badge{
		justify-self:end;
	}
}

@media (max-width:479.98px){
	.rv-vehiculos-filter-grid{
		grid-template-columns:1fr;
	}
}

/* ============================================================
   USUARIOS - flujo real de gestión
   ============================================================ */
.rv-user-filter-grid-real{
	grid-template-columns:minmax(260px,1.6fr) minmax(135px,.75fr) minmax(180px,1fr) minmax(220px,1.25fr) 120px;
}

.rv-user-filter-action{
	align-self:end;
}

.rv-users-kpi-grid{
	margin-top:14px;
}

.rv-users-list-card-real{
	margin-top:0;
	overflow:hidden;
}

.rv-users-list-card-real .rv-list-toolbar{
	padding:18px 20px;
}

.rv-users-table-wrap{
	overflow-x:auto;
	margin:0;
	padding:0 16px 16px;
}

.rv-users-table-real{
	min-width:1120px;
	border:1px solid var(--rv-line-2);
	border-radius:12px;
	border-collapse:separate;
	border-spacing:0;
}

.rv-users-table-real th{
	padding:11px 14px;
}

.rv-users-table-real td{
	padding:13px 14px;
	vertical-align:middle;
}

.rv-users-table-real th:first-child,
.rv-users-table-real td:first-child{
	padding-left:16px;
}

.rv-users-table-real th:last-child,
.rv-users-table-real td:last-child{
	width:82px;
	padding-right:16px;
}

.rv-user-cell-copy{
	min-width:0;
}

.rv-user-cell-copy strong,
.rv-user-cell-copy small{
	display:block;
}

.rv-user-cell-copy strong{
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.rv-user-cell-copy small{
	margin-top:2px;
	font-size:10px;
	color:var(--rv-muted);
}

.rv-mono-value{
	font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
	font-size:11px;
	color:#4c5563;
}

.rv-level-badge{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:30px;
	height:27px;
	margin-right:6px;
	padding:0 8px;
	border:1px solid var(--rv-line);
	border-radius:8px;
	background:#f7f8f9;
	font-size:11px;
	font-weight:800;
	color:#17191d;
}

.rv-table-action-disabled{
	display:inline-grid;
	place-items:center;
	opacity:.45;
	cursor:not-allowed;
}

.rv-form-help{
	margin-top:5px;
	font-size:10px;
	line-height:1.35;
	color:var(--rv-muted);
}

.rv-user-scope-head{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:16px;
	margin-bottom:12px;
}

.rv-user-scope-search{
	width:min(280px,100%);
	flex:0 0 auto;
}

.rv-user-centers-grid{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:8px;
	max-height:290px;
	overflow:auto;
	padding:2px;
}

.rv-user-center-check{
	display:flex;
	align-items:center;
	gap:10px;
	min-width:0;
	padding:10px 11px;
	border:1px solid var(--rv-line);
	border-radius:10px;
	background:#fff;
	cursor:pointer;
	transition:border-color .15s ease,background .15s ease;
}

.rv-user-center-check:hover{
	border-color:#c8cdd4;
	background:#fafbfc;
}

.rv-user-center-check .form-check-input{
	margin:0;
	flex:0 0 auto;
}

.rv-user-center-check span{
	min-width:0;
}

.rv-user-center-check strong,
.rv-user-center-check small{
	display:block;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.rv-user-center-check strong{
	font-size:11px;
	color:var(--rv-text);
}

.rv-user-center-check small{
	margin-top:2px;
	font-size:9px;
	color:var(--rv-muted);
}

.rv-user-center-check:has(.form-check-input:checked){
	border-color:#b9bec6;
	background:#f4f5f6;
}

@media (max-width:1199.98px){
	.rv-user-filter-grid-real{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.rv-user-filter-grid-real .rv-field:first-child{
		grid-column:1 / -1;
	}
}

@media (max-width:767.98px){
	.rv-user-filter-grid-real{
		grid-template-columns:1fr;
	}

	.rv-user-filter-grid-real .rv-field:first-child{
		grid-column:auto;
	}

	.rv-users-kpi-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.rv-users-table-wrap{
		padding:0 12px 12px;
	}

	.rv-users-list-card-real .rv-list-toolbar{
		padding:15px 14px;
	}

	.rv-users-table-real{
		min-width:0;
		border:0;
		border-radius:0;
	}

	.rv-user-scope-head{
		align-items:stretch;
		flex-direction:column;
	}

	.rv-user-scope-search{
		width:100%;
	}

	.rv-user-centers-grid{
		grid-template-columns:1fr;
		max-height:none;
	}
}

@media (max-width:479.98px){
	.rv-users-kpi-grid{
		grid-template-columns:1fr;
	}
}

/* ============================================================
   USUARIOS - separación visual de tarjetas
   ============================================================ */
.rv-users-table-wrap{
	padding-top:8px;
}

@media (max-width:767.98px){
	.rv-users-table-real tbody{
		padding-top:0;
	}

	.rv-users-table-real tbody tr{
		margin-top:8px;
		margin-bottom:0;
	}

	.rv-users-table-real tbody tr:first-child{
		margin-top:0;
	}
}

/* ============================================================
   MARCAS Y MODELOS - separación visual de tarjetas
   ============================================================ */
.rv-marcas-grid{
	gap:12px;
	padding-top:20px;
}

/* ============================================================
   PARCHE ANALISIS VO - dashboard por zonas y listado de modelos
   ============================================================ */
.rv-dashboard-filter-card{
	padding:16px;
}

.rv-dashboard-filter-grid{
	display:grid;
	grid-template-columns:repeat(8,minmax(110px,1fr)) auto;
	gap:10px;
	align-items:end;
}

.rv-dashboard-filter-grid > *{
	min-width:0;
}

.rv-dashboard-filter-actions{
	display:flex;
	align-items:center;
	gap:7px;
}

.rv-dashboard-filter-actions .rv-btn{
	height:42px;
	white-space:nowrap;
}

.rv-dashboard-filter-actions .rv-btn-secondary{
	width:42px;
	padding:0;
}

.rv-dashboard-kpis .rv-kpi-value-zone{
	font-size:20px;
	line-height:1.12;
}

.rv-neutral{
	color:#7a8494!important;
}

.rv-analysis-pill{
	display:inline-flex;
	align-items:center;
	min-height:30px;
	padding:0 10px;
	border:1px solid var(--rv-line);
	border-radius:999px;
	background:#f8f9fa;
	color:#596477;
	font-size:9px;
	font-weight:800;
	white-space:nowrap;
}

.rv-dashboard-primary-grid{
	display:grid;
	grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
	gap:14px;
	align-items:stretch;
}

.rv-dashboard-primary-grid > *{
	min-width:0;
}

.rv-dashboard-primary-grid .rv-map-card,
.rv-dashboard-primary-grid .rv-annual-zone-card{
	height:100%;
}

.rv-zone-data-card{
	margin-top:14px;
}

.rv-zone-data-scroll{
	overflow-x:auto;
}

.rv-zone-data-table{
	min-width:820px;
}

.rv-zone-data-table th,
.rv-zone-data-table td{
	white-space:nowrap;
}

.rv-table-detail-link{
	width:30px;
	height:30px;
	border:1px solid var(--rv-line);
	border-radius:8px;
	display:inline-grid;
	place-items:center;
	color:#2d3540;
	background:#fff;
}

.rv-table-detail-link:hover{
	background:#f4f5f7;
	color:#111;
}

.rv-dashboard-secondary-grid{
	margin-top:14px;
}

.rv-dashboard-comparison-block{
	margin-top:14px;
}

/* Grafico horizontal: precio medio por zona y tres anos */
.rv-annual-zone-card{
	min-width:0;
}

.rv-annual-zone-head{
	align-items:flex-start;
}

.rv-annual-zone-selection{
	max-width:42%;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	font-size:9px;
	font-weight:700;
	color:#737e8e;
	padding-top:5px;
}

.rv-annual-zone-legend{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:14px;
	margin:-2px 0 10px;
	font-size:9px;
	font-weight:700;
	color:#647082;
}

.rv-annual-zone-legend span{
	display:inline-flex;
	align-items:center;
	gap:6px;
}

.rv-annual-swatch{
	width:16px;
	height:6px;
	border-radius:999px;
	display:block;
}

.rv-annual-y0{
	background:#16191d!important;
}

.rv-annual-y1{
	background:#ffd200!important;
}

.rv-annual-y2{
	background:#aeb5bf!important;
}

.rv-annual-zone-chart{
	display:grid;
	gap:11px;
	max-height:430px;
	overflow-y:auto;
	padding:4px 5px 6px 0;
}

.rv-annual-zone-row{
	display:grid;
	grid-template-columns:minmax(86px,118px) minmax(0,1fr);
	gap:10px;
	align-items:center;
}

.rv-annual-zone-name{
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	font-size:10px;
	font-weight:800;
	color:#343b46;
}

.rv-annual-bars-group{
	display:grid;
	gap:3px;
}

.rv-annual-bar-line{
	display:grid;
	grid-template-columns:34px minmax(0,1fr) 72px;
	gap:7px;
	align-items:center;
	min-width:0;
}

.rv-annual-bar-year{
	font-size:8px;
	font-weight:800;
	color:#7c8695;
}

.rv-annual-bar-track{
	height:8px;
	border-radius:999px;
	background:#eef0f3;
	overflow:hidden;
}

.rv-annual-bar{
	display:block;
	height:100%;
	min-width:2px;
	border-radius:999px;
}

.rv-annual-bar-line strong{
	font-size:9px;
	font-weight:800;
	text-align:right;
	font-variant-numeric:tabular-nums;
	white-space:nowrap;
}

.rv-annual-axis{
	display:flex;
	justify-content:space-between;
	margin:8px 76px 0 128px;
	padding-top:6px;
	border-top:1px solid var(--rv-line-2);
	font-size:8px;
	color:#8a94a2;
}

/* Listado completo de modelos con columnas de zonas dinamicas */
.rv-models-analysis-filter-card{
	padding:16px;
}

.rv-models-analysis-filter-grid{
	display:grid;
	grid-template-columns:repeat(7,minmax(125px,1fr));
	gap:10px;
	align-items:end;
}

.rv-models-analysis-filter-grid > *{
	min-width:0;
}

.rv-models-analysis-toolbar{
	display:grid;
	grid-template-columns:minmax(260px,1fr) auto;
	gap:12px;
	align-items:center;
	margin-top:14px;
	padding-top:14px;
	border-top:1px solid var(--rv-line-2);
}

.rv-models-analysis-toolbar .rv-list-search{
	width:100%;
	max-width:none;
}

.rv-models-analysis-toolbar-actions{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:8px;
}

.rv-models-per-page,
.rv-models-sort{
	display:flex;
	align-items:center;
	gap:7px;
}

.rv-models-per-page label,
.rv-models-sort label{
	margin:0;
	font-size:9px;
	font-weight:800;
	color:#737e8e;
	white-space:nowrap;
}

.rv-models-per-page .rv-mini-select{
	min-width:76px;
}

.rv-models-sort .rv-mini-select{
	min-width:210px;
	max-width:260px;
}

#espacioListadoModelosVentas{
	min-width:0;
	transition:opacity .16s ease;
}

#espacioListadoModelosVentas.is-loading{
	opacity:.55;
	pointer-events:none;
}

.rv-models-matrix-card{
	margin-top:14px;
	overflow:hidden;
}

.rv-models-matrix-headline{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	padding:18px 20px;
	border-bottom:1px solid var(--rv-line);
}

.rv-models-matrix-meta{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:7px;
	flex-wrap:wrap;
}

.rv-models-matrix-scroll{
	width:100%;
	overflow:auto;
	overscroll-behavior-inline:contain;
}

.rv-models-matrix-table{
	border-collapse:separate;
	border-spacing:0;
	table-layout:fixed;
}

.rv-models-matrix-table th,
.rv-models-matrix-table td{
	white-space:nowrap;
	font-variant-numeric:tabular-nums;
}

.rv-models-matrix-table th{
	font-size:9px;
	line-height:1.25;
	vertical-align:middle;
}

.rv-models-matrix-table td{
	font-size:10px;
}

.rv-models-zone-head,
.rv-models-zone-price{
	width:135px;
	min-width:135px;
	text-align:right;
}

.rv-models-zone-head{
	background:#f5f6f8!important;
	border-left:1px solid #edf0f3;
}

.rv-models-zone-price{
	font-weight:700;
	color:#344052;
}

.rv-models-sticky-left{
	position:sticky;
	z-index:4;
	background:#fff;
}

.rv-models-matrix-table thead .rv-models-sticky-left{
	z-index:7;
	background:#fafbfc;
}

.rv-models-sticky-brand{
	left:0;
	width:110px;
	min-width:110px;
}

.rv-models-sticky-model{
	left:110px;
	width:140px;
	min-width:140px;
}

.rv-models-sticky-type{
	left:250px;
	width:130px;
	min-width:130px;
}

.rv-models-sticky-fuel{
	left:380px;
	width:140px;
	min-width:140px;
	box-shadow:8px 0 14px -14px rgba(0,0,0,.45);
}

.rv-models-variation-head{
	width:105px;
	min-width:105px;
	text-align:center;
	background:#f0f2f5!important;
}

.rv-models-sticky-right{
	position:sticky;
	z-index:5;
	background:#fff;
	text-align:center;
	width:105px;
	min-width:105px;
}

.rv-models-matrix-table thead .rv-models-sticky-right{
	z-index:8;
	background:#f0f2f5;
}

.rv-models-var-y3{
	right:0;
}

.rv-models-var-y2{
	right:105px;
}

.rv-models-var-y1{
	right:210px;
	box-shadow:-8px 0 14px -14px rgba(0,0,0,.45);
}

.rv-models-matrix-footer{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:14px;
	padding:14px 18px;
	border-top:1px solid var(--rv-line);
	font-size:9px;
	font-weight:700;
	color:#778292;
}

.rv-models-pagination{
	display:flex;
	align-items:center;
	gap:5px;
}

.rv-pagination-btn{
	width:32px;
	height:32px;
	border:1px solid var(--rv-line);
	border-radius:8px;
	background:#fff;
	color:#3d4653;
	font-size:10px;
	font-weight:800;
}

.rv-pagination-btn:hover:not(:disabled){
	background:#f4f5f7;
}

.rv-pagination-btn.active{
	background:#16191d;
	border-color:#16191d;
	color:#fff;
}

.rv-pagination-btn:disabled{
	opacity:.35;
	cursor:not-allowed;
}

/* Vehiculos: nuevas dimensiones de tipo, combustible y comprador */
.rv-vehiculos-filter-grid-expanded{
	grid-template-columns:repeat(4,minmax(0,1fr));
}

.rv-vehiculos-table-expanded{
	min-width:2160px;
}

.rv-vehiculos-col-type{
	width:125px;
}

.rv-vehiculos-col-fuel{
	width:135px;
}

.rv-vehiculos-col-buyer{
	width:135px;
}

.rv-buyer-badge{
	display:inline-flex;
	align-items:center;
	min-height:27px;
	padding:0 9px;
	border:1px solid var(--rv-line);
	border-radius:999px;
	background:#f6f7f8;
	font-size:9px;
	font-weight:800;
	color:#4f5a6b;
}

.rv-buyer-badge.particular{
	background:#f5f6f8;
	color:#282e36;
}

.rv-buyer-badge.compraventa{
	background:#fff7d0;
	border-color:#ead990;
	color:#5d4b00;
}

@media (max-width:1399.98px){
	.rv-dashboard-filter-grid{
		grid-template-columns:repeat(4,minmax(135px,1fr));
	}

	.rv-dashboard-filter-actions{
		justify-content:flex-end;
	}

	.rv-models-analysis-filter-grid{
		grid-template-columns:repeat(4,minmax(135px,1fr));
	}
}

@media (max-width:1199.98px){
	.rv-dashboard-primary-grid{
		grid-template-columns:1fr;
	}

	.rv-models-analysis-filter-grid,
	.rv-vehiculos-filter-grid-expanded{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}
}

@media (max-width:991.98px){
	.rv-dashboard-filter-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}

	.rv-models-analysis-toolbar{
		grid-template-columns:1fr;
	}

	.rv-models-analysis-toolbar-actions{
		justify-content:flex-start;
		flex-wrap:wrap;
	}
}

@media (max-width:767.98px){
	.rv-dashboard-filter-grid,
	.rv-models-analysis-filter-grid,
	.rv-vehiculos-filter-grid-expanded{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.rv-dashboard-filter-actions{
		grid-column:1 / -1;
	}

	.rv-dashboard-filter-actions .rv-btn-primary{
		flex:1 1 auto;
	}

	.rv-annual-zone-selection{
		display:none;
	}

	.rv-annual-zone-row{
		grid-template-columns:84px minmax(0,1fr);
	}

	.rv-annual-bar-line{
		grid-template-columns:28px minmax(0,1fr) 62px;
		gap:5px;
	}

	.rv-annual-axis{
		margin-left:94px;
		margin-right:66px;
	}

	.rv-models-analysis-toolbar-actions{
		display:grid;
		grid-template-columns:1fr 1fr;
		width:100%;
	}

	.rv-models-sort,
	.rv-models-per-page{
		grid-column:1 / -1;
	}

	.rv-models-sort .rv-mini-select{
		width:100%;
		max-width:none;
	}

	.rv-models-analysis-toolbar-actions .rv-btn{
		width:100%;
	}

	.rv-models-matrix-headline{
		align-items:flex-start;
		flex-direction:column;
		padding:14px;
	}

	.rv-models-matrix-meta{
		justify-content:flex-start;
	}

	.rv-models-matrix-footer{
		align-items:flex-start;
		flex-direction:column;
	}

	.rv-models-sticky-left,
	.rv-models-sticky-right{
		position:static;
	}
}

@media (max-width:479.98px){
	.rv-dashboard-filter-grid,
	.rv-models-analysis-filter-grid,
	.rv-vehiculos-filter-grid-expanded{
		grid-template-columns:1fr;
	}

	.rv-annual-zone-row{
		grid-template-columns:72px minmax(0,1fr);
	}

	.rv-annual-bar-line strong{
		font-size:8px;
	}

	.rv-annual-axis{
		margin-left:82px;
		margin-right:66px;
	}
}


/* Multiselect de antigüedad en análisis de modelos */
.rv-multiselect{
	position:relative;
}

.rv-multiselect-toggle{
	width:100%;
	height:42px;
	display:flex;
	align-items:center;
	gap:10px;
	padding:0 34px 0 12px;
	border:1px solid var(--rv-line);
	border-radius:10px;
	background:#fff;
	color:#343b46;
	font:inherit;
	text-align:left;
	cursor:pointer;
}

.rv-multiselect-toggle > .bi:first-child{
	font-size:15px;
	color:#3a414c;
	flex:0 0 auto;
}

.rv-multiselect-label{
	min-width:0;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	flex:1 1 auto;
}

.rv-multiselect-chevron{
	position:absolute;
	right:12px;
	top:50%;
	transform:translateY(-50%);
	font-size:11px;
	transition:transform .16s ease;
}

.rv-multiselect.is-open .rv-multiselect-chevron{
	transform:translateY(-50%) rotate(180deg);
}

.rv-multiselect-menu{
	display:none;
	position:absolute;
	z-index:60;
	top:calc(100% + 6px);
	left:0;
	width:max-content;
	min-width:100%;
	max-height:310px;
	overflow:auto;
	padding:7px;
	border:1px solid var(--rv-line);
	border-radius:10px;
	background:#fff;
	box-shadow:0 14px 32px rgba(15,23,42,.14);
}

.rv-multiselect.is-open .rv-multiselect-menu{
	display:block;
}

.rv-multiselect-option{
	display:flex !important;
	align-items:center;
	gap:9px;
	margin:0 !important;
	padding:8px 9px;
	border-radius:7px;
	font-size:12px !important;
	font-weight:600 !important;
	color:#343b46 !important;
	cursor:pointer;
	white-space:nowrap;
}

.rv-multiselect-option:hover{
	background:#f5f7fa;
}

.rv-multiselect-option input{
	margin:0;
	accent-color:#111827;
}

/* Matriz de permisos por nivel */
.rv-permissions-card{overflow:hidden;padding:0}.rv-permissions-toolbar,.rv-permissions-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px}.rv-permissions-toolbar{border-bottom:1px solid #e5e7eb}.rv-permissions-toolbar>div{display:flex;flex-direction:column;gap:4px}.rv-permissions-toolbar strong{font-size:16px}.rv-permissions-toolbar span,.rv-permissions-footer span{font-size:13px;color:#667085}.rv-permissions-scroll{overflow:auto;max-width:100%}.rv-permissions-table{width:100%;min-width:820px;border-collapse:separate;border-spacing:0}.rv-permissions-table th,.rv-permissions-table td{padding:14px 16px;text-align:center;border-bottom:1px solid #edf0f3;border-right:1px solid #f1f3f5}.rv-permissions-table thead th{position:sticky;top:0;z-index:3;background:#f7f8fa;color:#475467;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.rv-permissions-table thead th span,.rv-permissions-table thead th small{display:block}.rv-permissions-table thead th small{margin-top:3px;color:#98a2b3;font-size:9px;text-transform:none;letter-spacing:0;font-weight:500}.rv-permissions-table .rv-permissions-name{position:sticky;left:0;z-index:2;width:320px;min-width:320px;text-align:left;background:#fff}.rv-permissions-table thead .rv-permissions-name{z-index:5;background:#f7f8fa}.rv-permission-module .rv-permissions-name,.rv-permission-module td{background:#fafafa}.rv-permission-module .rv-permissions-name{font-weight:700}.rv-permission-label{display:flex;align-items:center;gap:10px}.rv-permission-label>i{font-size:17px}.rv-permission-label em{margin-left:auto;padding:3px 7px;border:1px solid #dfe3e8;border-radius:20px;color:#667085;font-size:9px;font-style:normal;text-transform:uppercase;letter-spacing:.05em}.rv-permission-section .rv-permission-label{padding-left:24px;font-weight:500}.rv-permission-branch{color:#b4bbc5}.rv-permission-check{display:inline-flex;cursor:pointer}.rv-permission-check input{position:absolute;opacity:0;pointer-events:none}.rv-permission-check span{width:28px;height:28px;display:grid;place-items:center;border:1px solid #cfd5dd;border-radius:7px;background:#fff;color:transparent;transition:.15s}.rv-permission-check input:checked+span{background:#111318;border-color:#111318;color:#fff}.rv-permission-check.is-disabled{opacity:.3;cursor:not-allowed}.rv-permissions-footer{justify-content:flex-start;border-top:1px solid #e5e7eb;background:#fafafa}.rv-permissions-footer .rv-btn{margin-left:auto}.rv-permissions-alert{margin:0 0 16px;padding:12px 16px;border-radius:10px;font-size:13px}.rv-permissions-alert.is-ok{background:#ecfdf3;color:#067647;border:1px solid #abefc6}.rv-permissions-alert.is-error{background:#fef3f2;color:#b42318;border:1px solid #fecdca}@media(max-width:767px){.rv-permissions-toolbar{align-items:flex-start;flex-direction:column}.rv-permissions-toolbar .rv-btn{width:100%}.rv-permissions-table .rv-permissions-name{width:230px;min-width:230px}.rv-permissions-footer{align-items:flex-start;flex-wrap:wrap}.rv-permissions-footer .rv-btn{width:100%;margin-left:0}}

.rv-multiselect-empty{padding:12px 14px;color:var(--rv-muted);font-size:12px;}
