:root{--fondo:#F4F3F0;--tinta:#141414;--tenue:#4F4F4F;--borde:#E3E0D8;--oro:#D9B65C;--oro-osc:#7A5A12;--negro:#121212;--verde:#1F6B45;--verde-f:#E3F1E8;--ambar:#7A5A12;--ambar-f:#F6ECD6;--rojo:#9A3412;--rojo-f:#F8E1D7}
*{box-sizing:border-box}
body{margin:0;background:var(--fondo);color:var(--tinta);font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:15px;line-height:1.45}
a{color:var(--oro-osc)}
h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;margin:0 0 8px}
h1{font-size:34px}h2{font-size:26px}h3{font-size:20px}
.contenedor{max-width:1240px;margin:0 auto;padding:0 20px}
.fila{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.barra{background:var(--negro);color:#fff;padding:14px 0}
.marca{font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;letter-spacing:3px;color:var(--oro);font-size:26px}
.marca.grande{font-size:40px;text-align:center}
.quien{display:flex;flex-direction:column;font-weight:600}
.quien small{color:#D6D6D6;font-weight:500;text-transform:uppercase;letter-spacing:1px;font-size:11px}
.enlace{background:none;border:1px solid #555;color:#fff;border-radius:8px;min-height:40px;padding:0 14px;font:inherit;cursor:pointer}
.marco{display:flex;flex-wrap:wrap;gap:20px;padding-top:20px;padding-bottom:40px;align-items:flex-start}
.menu{flex:1 1 220px;max-width:260px;background:#fff;border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:2px}
.menu a,.menu .pronto{display:flex;justify-content:space-between;align-items:center;min-height:46px;padding:0 14px;border-radius:10px;text-decoration:none;color:var(--tinta);font-weight:700}
.menu a.activo{background:var(--negro);color:var(--oro)}
.menu .pronto{color:#6B6B6B;font-weight:600}
.menu .pronto small{font-size:10px;background:#F1ECDD;color:#5C4510;border-radius:99px;padding:2px 8px}
.contenido{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:16px}
.encabezado{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.selector-mes{display:flex;align-items:center;gap:8px;font-weight:700;text-transform:capitalize}
.tarjeta{background:#fff;border-radius:14px;padding:18px}
.tarjetas{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.tarjetas .tarjeta{display:flex;flex-direction:column;gap:4px}
.tarjetas small{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--tenue)}
.tarjetas strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:32px}
.tarjetas span{color:var(--tenue);font-size:13px}
.desliza{overflow-x:auto}
.tabla{width:100%;border-collapse:collapse;min-width:760px;font-size:14px}
.tabla.compacta{min-width:0;font-size:13px}
.tabla th,.tabla td{padding:9px 8px;border-bottom:1px solid #EEEBE4;text-align:right;white-space:nowrap}
.tabla th:first-child,.tabla td:first-child{text-align:left}
.tabla thead th{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--tenue);border-bottom:2px solid var(--borde)}
.tabla tr.total th,.tabla tr.total td{font-weight:700;border-bottom:none}
.fuerte{font-weight:700}
.tenue{color:var(--tenue)}
.chip{display:inline-block;min-width:60px;text-align:center;padding:3px 10px;border-radius:99px;font-weight:700;font-size:13px}
.chip.verde{background:var(--verde-f);color:var(--verde)}.chip.ambar{background:var(--ambar-f);color:var(--ambar)}.chip.rojo{background:var(--rojo-f);color:var(--rojo)}.chip.gris{background:#EEE;color:#555}
.ok{color:var(--verde)}.mal{color:var(--rojo)}.rojo-texto{color:var(--rojo)}
.detalle summary{cursor:pointer;display:flex;gap:12px;align-items:center;flex-wrap:wrap;min-height:40px;list-style:none}
.detalle summary::before{content:'▸';color:var(--oro-osc)}
.detalle[open] summary::before{content:'▾'}
.dos-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:20px;margin-top:12px}
.dos-col>div{min-width:0}
.tarjeta{min-width:0;max-width:100%}
.seccion{margin:8px 0 0}
.aviso{background:#F6ECD6;color:#5C4510;border-radius:10px;padding:10px 14px;margin:0}
.exito{background:var(--verde-f);color:var(--verde);border-radius:10px;padding:10px 14px;margin:0;font-weight:600}
.alerta{background:var(--rojo-f);color:var(--rojo);border-radius:10px;padding:10px 14px}
.rejilla{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px;margin-top:10px}
label{display:flex;flex-direction:column;gap:4px;font-weight:700;font-size:13px;color:#333}
input,select{min-height:44px;padding:0 12px;border:1px solid #D0CCC2;border-radius:8px;font:inherit;font-size:15px;color:var(--tinta);background:#fff}
.boton{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;border:none;background:var(--negro);color:var(--oro);font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.boton.claro{background:#fff;color:var(--tinta);border:1px solid #D0CCC2;min-width:44px}
.acciones{display:flex;justify-content:flex-end;margin-top:14px}
.ingreso{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}
.caja-ingreso{width:100%;max-width:380px;display:flex;flex-direction:column;gap:14px}
.caja-ingreso .sub{text-align:center;color:var(--tenue);margin:-8px 0 4px}
@media (max-width:700px){.menu{max-width:none}h1{font-size:28px}}
.logo{display:block;height:auto}
.logo-barra{height:26px;width:auto;max-width:140px}
.logo-grande{width:170px;max-width:70%;margin:0 auto 4px}
.chico{font-size:13px;margin:0}
.grafica{width:100%;height:auto;display:block;margin-top:8px}
.g-rejilla{stroke:#EEEBE4;stroke-width:1}
.g-texto{font-size:11px;fill:#4F4F4F;font-family:'Manrope',system-ui,sans-serif}
.g-actual{fill:none;stroke:#7A5A12;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.g-meta{fill:none;stroke:#1F6B45;stroke-width:2;stroke-dasharray:6 5}
.g-anterior{fill:none;stroke:#C9C3B4;stroke-width:2}
.g-punto{fill:#7A5A12}
.leyenda{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:var(--tenue);margin-top:6px}
.leyenda i{display:inline-block;width:18px;height:3px;border-radius:2px;margin-right:6px;vertical-align:middle}
.l-actual{background:#7A5A12}.l-meta{background:repeating-linear-gradient(90deg,#1F6B45 0 6px,transparent 6px 10px)}.l-anterior{background:#C9C3B4}
.rejilla-hojas{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:12px}
.hoja{display:flex;flex-direction:column;gap:8px}
.hoja-tit{display:flex;justify-content:space-between;align-items:center;gap:8px}
.hoja-tit h3{margin:0}
.hoja-valor{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;line-height:1}
.barra-avance{height:10px;background:#EEEBE4;border-radius:99px;overflow:hidden}
.barra-avance span{display:block;height:100%;border-radius:99px}
.barra-avance .verde{background:#1F6B45}.barra-avance .ambar{background:#B7862A}.barra-avance .rojo{background:#9A3412}.barra-avance .gris{background:#9A9A9A}
.datos{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:4px 0 0}
.datos div{display:flex;flex-direction:column}
.datos dt{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--tenue);font-weight:700}
.datos dd{margin:0;font-size:15px}
.chips-hojas{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.tabla .izq{text-align:left}
.izquierda{gap:14px;flex-wrap:nowrap}
.ham{position:relative}
.ham summary{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #555;border-radius:10px;color:#fff;cursor:pointer;font-weight:700;user-select:none}
.ham summary::-webkit-details-marker{display:none}
.ham summary:focus-visible{outline:2px solid var(--oro);outline-offset:2px}
.ham-icono{display:inline-flex;flex-direction:column;gap:4px}
.ham-icono i{display:block;width:18px;height:2px;background:#fff;border-radius:2px}
.ham[open] summary{background:#2A2A2A}
.ham .menu{position:absolute;top:calc(100% + 8px);left:0;z-index:50;width:280px;max-width:calc(100vw - 40px);box-shadow:0 12px 32px rgba(0,0,0,.25);border:1px solid var(--borde)}
.salir-menu{border-top:1px solid #EEEBE4;margin-top:6px;padding:8px 6px 4px}
.salir-menu .boton{width:100%}
.marco{display:block}
@media (max-width:520px){.ham-texto{display:none}.quien{font-size:13px}}
.grafica{max-width:820px;margin-left:auto;margin-right:auto}
@media (max-width:600px){.g-texto{font-size:18px}}
