/* © Fernando Martínez Marín · VEOVIRTUAL® · veovirtual.com */

/* Estadísticas */
.vve {
--vve-oscuro:color-mix(in srgb,var(--vvp-oscuro) 88%,#000000);
--vve-tinta:var(--vvp-texto);
--vve-suave:color-mix(in srgb,var(--vvp-texto) 68%,#ffffff);
--vve-linea:color-mix(in srgb,var(--vvp-acento) 14%,#ffffff);
--vve-rejilla:color-mix(in srgb,var(--vvp-acento) 9%,#ffffff);
--vve-dato:color-mix(in srgb,var(--vvp-acento) 85%,var(--vvp-oscuro));
--vve-dato-hero:var(--vvp-acento-2);
--vve-bien:#1f8a5b;
--vve-medio:#d08a0c;
--vve-mal:#c8442f;
--vve-superficie:#ffffff;
margin:0 0 14px;
color:var(--vve-tinta);
}
.vve-oculto {
position:absolute;
width:1px;
height:1px;
overflow:hidden;
clip:rect(0 0 0 0);
white-space:nowrap;
}
.vve-ico {
width:20px;
height:20px;
flex-shrink:0;
}
.vve-hero {
position:relative;
overflow:hidden;
padding:20px 18px 18px;
border-radius:22px;
background:radial-gradient(120% 90% at 100% 0%,color-mix(in srgb,var(--vvp-acento-2) 28%,transparent) 0%,color-mix(in srgb,var(--vvp-acento-2) 0%,transparent) 60%),var(--vve-oscuro);
color:#fff;
box-shadow:0 14px 34px color-mix(in srgb,var(--vvp-oscuro) 22%,transparent);
}
.vve-hero-eti {
margin:0 0 6px;
color:color-mix(in srgb,var(--vvp-acento-2) 22%,#ffffff);
font-size:12px;
font-weight:700;
letter-spacing:.12em;
text-transform:uppercase;
}
.vve-hero-fila {
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:12px;
flex-wrap:wrap;
}
.vve-hero-num {
display:block;
font-size:52px;
font-weight:800;
line-height:1;
letter-spacing:-.03em;
}
.vve-hero-uni {
display:block;
margin-top:4px;
color:color-mix(in srgb,var(--vvp-acento-2) 22%,#ffffff);
font-size:13px;
}
.vve-delta {
display:inline-flex;
align-items:center;
gap:4px;
padding:4px 10px;
border-radius:999px;
background-color:rgba(255,255,255,.1);
color:inherit;
font-size:12px;
font-weight:700;
white-space:nowrap;
}
.vve-delta span[aria-hidden] {
font-size:9px;
}
.vve-delta--bien {
background-color:#e3f3ea;
color:#136b44;
}
.vve-delta--mal {
background-color:#fbe7e2;
color:#9c3322;
}
.vve-delta--nuevo {
background-color:color-mix(in srgb,var(--vvp-acento) 11%,#ffffff);
color:var(--vvp-oscuro);
}
.vve-spark {
display:block;
width:100%;
height:56px;
margin:14px 0 4px;
overflow:visible;
}
.vve-spark-area {
fill:var(--vve-dato-hero);
opacity:.18;
}
.vve-spark-linea {
fill:none;
stroke:var(--vve-dato-hero);
stroke-width:2px;
stroke-linejoin:round;
stroke-linecap:round;
}
.vve-inicio {
margin:10px 0 0;
color:color-mix(in srgb,var(--vvp-acento-2) 14%,#ffffff);
font-size:13px;
}
.vve-tiles {
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:10px;
margin-top:14px;
}
.vve-tile {
display:flex;
flex-direction:column;
align-items:flex-start;
gap:3px;
min-width:0;
padding:12px;
border-radius:16px;
background-color:rgba(255,255,255,.07);
}
.vve-tile .vve-ico {
margin-bottom:4px;
color:var(--vve-dato-hero);
}
.vve-tile-valor {
font-size:24px;
font-weight:800;
line-height:1.1;
}
.vve-tile-nombre {
color:color-mix(in srgb,var(--vvp-acento-2) 22%,#ffffff);
font-size:12px;
line-height:1.25;
}
.vve-tile .vve-delta {
margin-top:4px;
padding:2px 8px;
font-size:11px;
}
.vve-calidad {
margin-top:10px;
padding:14px 16px 12px;
border:1px solid var(--vve-linea);
border-radius:20px;
background-color:var(--vve-superficie);
}
.vve-calidad-t {
display:flex;
align-items:center;
gap:6px;
margin:0 0 10px;
font-size:13px;
font-weight:700;
}
.vve-calidad-t .vve-ico {
width:16px;
height:16px;
color:var(--vve-dato);
}
.vve-anillos {
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:6px;
}
.vve-anillo {
position:relative;
display:flex;
flex-direction:column;
align-items:center;
gap:4px;
text-align:center;
}
.vve-anillo svg {
width:56px;
height:56px;
}
.vve-anillo-pista {
fill:none;
stroke:color-mix(in srgb,var(--vvp-acento) 8%,#ffffff);
stroke-width:5;
}
.vve-anillo-valor {
fill:none;
stroke-width:5;
stroke-linecap:round;
}
.vve-anillo--bien .vve-anillo-valor {
stroke:var(--vve-bien);
}
.vve-anillo--medio .vve-anillo-valor {
stroke:var(--vve-medio);
}
.vve-anillo--mal .vve-anillo-valor {
stroke:var(--vve-mal);
}
.vve-anillo strong {
position:absolute;
top:0;
left:50%;
width:56px;
height:56px;
margin-left:-28px;
display:flex;
align-items:center;
justify-content:center;
font-size:17px;
font-weight:800;
}
.vve-anillo span {
color:var(--vve-suave);
font-size:11px;
line-height:1.2;
}
.vve-ver {
display:flex;
align-items:center;
justify-content:center;
gap:8px;
margin-top:10px;
padding:13px 16px;
border-radius:14px;
background-color:color-mix(in srgb,var(--vvp-acento) 11%,#ffffff);
color:var(--vvp-oscuro);
font-size:14px;
font-weight:700;
text-decoration:none;
}
.vve-ver .vve-ico {
width:18px;
height:18px;
}
.vve-filtros,
.vve-psi-tabs {
display:flex;
gap:6px;
margin:0 0 12px;
}
.vve-filtros button,
.vve-psi-tabs button {
padding:8px 14px;
border:1px solid var(--vve-linea);
border-radius:999px;
background-color:var(--vve-superficie);
color:var(--vve-tinta);
font:inherit;
font-size:13px;
font-weight:600;
cursor:pointer;
}
.vve-filtros button[aria-pressed="true"],
.vve-psi-tabs button[aria-pressed="true"] {
border-color:var(--vve-oscuro);
background-color:var(--vve-oscuro);
color:#fff;
}
.vve-completa .vve-hero {
margin-bottom:14px;
}
.vve-recargando {
opacity:.55;
transition:opacity .3s ease;
}
.vve-bloque {
margin:0 0 14px;
padding:18px;
border:1px solid var(--vve-linea);
border-radius:20px;
background-color:var(--vve-superficie);
box-shadow:0 8px 24px color-mix(in srgb,var(--vvp-oscuro) 5%,transparent);
}
.vve-h {
margin:0 0 4px;
color:var(--vve-oscuro);
font-size:17px;
font-weight:700;
}
.vve-sub {
margin:18px 0 8px;
font-size:14px;
font-weight:700;
}
.vve-nota {
margin:0 0 12px;
color:var(--vve-suave);
font-size:13px;
}
.vve-nota--c {
margin:12px 0 0;
}
.vve-bloque .vve-tiles {
margin-top:4px;
}
.vve-bloque .vve-tile {
border:1px solid var(--vve-linea);
background-color:color-mix(in srgb,var(--vvp-acento) 4%,#ffffff);
}
.vve-bloque .vve-tile-nombre {
color:var(--vve-suave);
}
.vve-bloque .vve-tile .vve-ico {
color:var(--vve-dato);
}
.vve-bloque .vve-delta {
background-color:color-mix(in srgb,var(--vvp-acento) 8%,#ffffff);
}
.vve-bloque .vve-delta--bien {
background-color:#e3f3ea;
}
.vve-bloque .vve-delta--mal {
background-color:#fbe7e2;
}
.vve-bloque .vve-delta--nuevo {
background-color:color-mix(in srgb,var(--vvp-acento) 11%,#ffffff);
}
.vve-graf {
position:relative;
display:grid;
grid-template-columns:auto 1fr;
grid-template-rows:170px auto;
column-gap:8px;
margin:4px 0 0;
outline:none;
}
.vve-graf:focus-visible {
box-shadow:0 0 0 3px color-mix(in srgb,var(--vvp-acento) 35%,transparent);
border-radius:8px;
}
.vve-graf-y {
position:relative;
min-width:24px;
}
.vve-graf-y span {
position:absolute;
right:0;
transform:translateY(50%);
color:var(--vve-suave);
font-size:11px;
font-variant-numeric:tabular-nums;
}
.vve-graf-lienzo {
position:relative;
touch-action:pan-y;
}
.vve-graf-lienzo svg {
position:absolute;
inset:0;
width:100%;
height:100%;
overflow:visible;
}
.vve-graf-rejilla {
position:absolute;
left:0;
right:0;
height:1px;
background-color:var(--vve-rejilla);
}
.vve-graf-area {
fill:var(--vve-dato);
opacity:.1;
}
.vve-graf-linea {
fill:none;
stroke:var(--vve-dato);
stroke-width:2px;
stroke-linejoin:round;
stroke-linecap:round;
}
.vve-graf-cruz {
position:absolute;
top:0;
bottom:0;
width:1px;
background-color:color-mix(in srgb,var(--vvp-acento) 30%,#ffffff);
pointer-events:none;
}
.vve-graf-punto {
position:absolute;
width:10px;
height:10px;
margin:-5px 0 0 -5px;
border:2px solid var(--vve-superficie);
border-radius:50%;
background-color:var(--vve-dato);
box-sizing:content-box;
transform:translate(-2px,-2px);
pointer-events:none;
}
.vve-graf-tip {
position:absolute;
top:2px;
z-index:2;
min-width:140px;
padding:8px 10px;
border-radius:12px;
background-color:var(--vve-oscuro);
color:#fff;
font-size:12px;
line-height:1.35;
transform:translateX(12px);
box-shadow:0 8px 20px color-mix(in srgb,var(--vvp-oscuro) 25%,transparent);
pointer-events:none;
}
.vve-graf-tip--izq {
transform:translateX(calc(-100% - 12px));
}
.vve-graf-tip p {
margin:0;
}
.vve-graf-tip-f {
color:color-mix(in srgb,var(--vvp-acento-2) 22%,#ffffff);
}
.vve-graf-tip-p strong {
font-size:15px;
}
.vve-graf-x {
position:relative;
grid-column:2;
height:22px;
}
.vve-graf-x span {
position:absolute;
top:6px;
color:var(--vve-suave);
font-size:11px;
white-space:nowrap;
transform:translateX(-50%);
}
.vve-graf-x span:first-child {
transform:none;
}
.vve-graf-x span:last-child {
transform:translateX(-100%);
}
.vve-tabla {
margin-top:10px;
}
.vve-tabla summary {
color:var(--vve-suave);
font-size:13px;
cursor:pointer;
}
.vve-tabla-caja {
max-height:320px;
overflow:auto;
margin-top:8px;
}
.vve-tabla-caja--libre {
max-height:none;
}
.vve table {
width:100%;
border-collapse:collapse;
font-size:13px;
}
.vve th,
.vve td {
padding:7px 6px;
border-bottom:1px solid var(--vve-rejilla);
text-align:right;
font-variant-numeric:tabular-nums;
}
.vve th[scope="row"],
.vve thead th:first-child {
text-align:left;
font-weight:600;
}
.vve thead th {
color:var(--vve-suave);
font-size:12px;
font-weight:600;
}
.vve-barras {
margin:8px 0 0;
padding:0;
list-style:none;
}
.vve-barras li {
display:grid;
grid-template-columns:minmax(0,1fr) auto;
grid-template-areas:"n v" "b b";
gap:4px 10px;
margin:0 0 12px;
}
.vve-barra-nombre {
grid-area:n;
overflow:hidden;
font-size:13px;
text-overflow:ellipsis;
white-space:nowrap;
}
.vve-barra-valor {
grid-area:v;
font-size:13px;
font-weight:700;
font-variant-numeric:tabular-nums;
}
.vve-barra-valor small {
color:var(--vve-suave);
font-weight:500;
}
.vve-barra-pista {
grid-area:b;
display:block;
height:8px;
}
.vve-barra {
display:block;
height:8px;
border-radius:0 4px 4px 0;
background-color:var(--vve-dato);
}
.vve-medidores {
display:grid;
gap:12px;
margin-top:8px;
}
.vve-medidor {
display:grid;
grid-template-columns:84px 1fr 48px;
align-items:center;
gap:10px;
font-size:13px;
}
.vve-medidor-pista {
display:block;
height:10px;
border-radius:999px;
background-color:color-mix(in srgb,var(--vvp-acento) 11%,#ffffff);
overflow:hidden;
}
.vve-medidor-pista span {
display:block;
height:100%;
border-radius:999px;
background-color:var(--vve-dato);
}
.vve-medidor strong {
text-align:right;
font-variant-numeric:tabular-nums;
}
.vve-pendiente {
display:flex;
gap:12px;
padding:14px;
border-radius:16px;
background-color:color-mix(in srgb,var(--vvp-acento) 4%,#ffffff);
}
.vve-pendiente .vve-ico {
color:var(--vve-dato);
}
.vve-pendiente p {
margin:0;
color:var(--vve-suave);
font-size:13px;
}
.vve-pendiente strong {
display:block;
color:var(--vve-tinta);
}
.vve-logros {
margin:10px 0 0;
padding:0;
list-style:none;
}
.vve-logros li {
position:relative;
display:flex;
gap:12px;
padding:0 0 14px;
}
.vve-logros li:not(:last-child)::before {
content:"";
position:absolute;
top:34px;
bottom:2px;
left:16px;
width:2px;
background-color:color-mix(in srgb,var(--vvp-acento) 8%,#ffffff);
}
.vve-logro-ico {
width:34px;
height:34px;
flex-shrink:0;
padding:8px;
border-radius:50%;
background-color:color-mix(in srgb,var(--vvp-acento) 11%,#ffffff);
color:var(--vvp-oscuro);
}
.vve-logros strong {
display:block;
font-size:14px;
}
.vve-logros em {
color:var(--vve-suave);
font-size:12px;
font-style:normal;
}
.vve-total {
margin:4px 0 0;
padding:12px 14px;
border-radius:14px;
background-color:color-mix(in srgb,var(--vvp-acento) 4%,#ffffff);
font-size:13px;
}
.vve-privacidad,
.vve-vacio {
color:var(--vve-suave);
font-size:12px;
text-align:center;
}
.vve-cargando .vve-hero-num {
opacity:.4;
}
@media (max-width:420px) {
.vve-hero-num {
font-size:46px;
}
.vve-tiles {
gap:8px;
}
.vve-tile {
padding:10px;
}
.vve-tile-valor {
font-size:21px;
}
.vve-bloque .vve-tiles:not(.vve-tiles--3) {
grid-template-columns:repeat(2,minmax(0,1fr));
}
.vve-anillo svg,
.vve-anillo strong {
width:50px;
height:50px;
}
.vve-anillo strong {
margin-left:-25px;
font-size:15px;
}
}
@media (prefers-reduced-motion:reduce) {
.vve-recargando {
transition:none;
}
}

/* Analytics y Clarity */
.vve-barra-nombre small {
display:block;
overflow:hidden;
font-size:11px;
opacity:.7;
text-overflow:ellipsis;
}
.vve-bloque .vve-sub + .vve-medidores {
margin-top:6px;
}
.vve-tiles + .vve-graf {
margin-top:24px;
}
.vve-tile .vve-delta {
max-width:100%;
white-space:normal;
}

/* Barra inferior del panel */
body .vvp-nav a {
min-width:0;
}
body .vvp-nav a span {
max-width:100%;
line-height:1.15;
text-align:center;
}
@media only screen and (max-width:420px) {
body .vvp-nav[style*="--vvp-nav-n:5"] a,
body .vvp-nav[style*="--vvp-nav-n:6"] a {
padding-right:0;
padding-left:0;
font-size:9.6px;
letter-spacing:-.02em;
}
}

/* Títulos sin serifas */
body.vvp :is(h1,h2,h3,h4,.vvp-hola-saludo,.vvp-acceso-hola) {
font-family:var(--vvp-titulos,var(--vvp-letra,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif));
}

/* Botones enlace */
body.vvp a.vvp-btn--principal {
color:#ffffff;
}

/* Fechas */
body.vvp input[type="date"] {
min-width:0;
padding-right:8px;
padding-left:10px;
font-size:15px;
}

/* © Fernando Martínez Marín · VEOVIRTUAL® · veovirtual.com */

/* Panel de gestion */
.vvp {
--vvp-radio:4px;
}
.vvp h1,
.vvp h2,
.vvp .vvp-seccion__titulo {
font-family:"Oswald",system-ui,sans-serif;
font-weight:500;
letter-spacing:.02em;
text-transform:uppercase;
}
.vvp-acceso__logo img {
max-width:240px;
height:auto;
}
