:root{--ink:#172b28;--muted:#647571;--paper:#f6f8f5;--card:#fff;--line:#dde7e2;--teal:#0f8f89;--teal2:#dff4f0;--purple:#7357c9;--amber:#ef9d41;--red:#d9535f;--shadow:0 16px 42px rgba(28,62,55,.09)}*{box-sizing:border-box}html{background:var(--paper)}body{margin:0;color:var(--ink);background:radial-gradient(circle at 7% 0,#dff4f0 0,transparent 28rem),var(--paper);font-family:'DM Sans',sans-serif}button,select,input{font:inherit}.hero{min-height:225px;padding:42px max(5vw,28px);display:flex;justify-content:space-between;align-items:center;color:#fff;background:linear-gradient(117deg,#102f2b 0%,#145b54 48%,#0f8f89 100%);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-100px;top:-210px;box-shadow:0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.025)}.hero-copy,.hero-side{position:relative;z-index:1}.eyebrow{font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;color:#b8ede6}.pulse{display:inline-block;width:8px;height:8px;background:#60e1cc;border-radius:50%;box-shadow:0 0 0 6px rgba(96,225,204,.14);margin-right:10px}.hero h1{font-family:Manrope,sans-serif;font-size:clamp(2.25rem,5vw,4.35rem);line-height:1;margin:17px 0 13px;letter-spacing:-.055em}.hero h1 em{color:#73dfd0;font-style:normal}.hero p{font-size:1.06rem;color:#d7efeb;margin:0}.hero-side{display:flex;align-items:center;gap:17px}.hero-side span{display:block;color:#9ed3ca;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}.hero-side strong{display:block;margin-top:5px}.shield{width:72px;height:82px;display:grid;place-items:center;background:#fff;color:var(--teal);font-family:Manrope;font-weight:800;border-radius:18px 18px 32px 32px;box-shadow:0 12px 34px rgba(0,0,0,.2)}main{width:min(1500px,94vw);margin:-28px auto 55px;position:relative;z-index:2}.filter-card,.panel,.method{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.filter-card{padding:24px}.section-title,.panel-head,.actions-head,.modal-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.section-title>div{display:flex;align-items:center;gap:10px}.section-title span,.panel-head>div>span,.modal-title-row span{color:var(--teal);font-size:.7rem;font-weight:800;letter-spacing:.13em}.section-title h2,.panel-head h2,.modal-card h2{font-family:Manrope;margin:0;font-size:1.18rem}.text-button{border:0;background:none;color:var(--teal);font-weight:700;cursor:pointer}.filter-grid{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:14px;margin-top:19px}.filter-grid label,.modal-card label{font-weight:700;font-size:.78rem;color:#41534f}.filter-grid label small{display:block;color:#8a9995;font-weight:500}.filter-grid select,.modal-card input,.nominal-tools input{width:100%;border:1px solid #d4dfdb;border-radius:11px;background:#fbfcfb;color:var(--ink);padding:11px;margin-top:7px;outline:none}.filter-grid select:focus,.modal-card input:focus,.nominal-tools input:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(15,143,137,.12)}.filter-grid select[multiple]{padding:6px;height:75px}.filter-grid select[multiple] option{padding:3px 6px;border-radius:5px}.filter-note{font-size:.72rem;color:#84918e;margin:10px 0 0}.quick-months{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.quick-months button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:999px;padding:5px 10px;font-size:.7rem;cursor:pointer}.quick-months button.active{background:var(--ink);border-color:var(--ink);color:#fff}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}.kpi{padding:20px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 9px 24px rgba(28,62,55,.06);display:flex;gap:14px;align-items:center;position:relative;overflow:hidden}.kpi:after{content:"";position:absolute;width:5px;height:100%;right:0;top:0;background:currentColor}.kpi-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#eef4f1;font-family:Manrope;font-weight:800}.kpi span,.kpi small{display:block;color:var(--muted)}.kpi span{font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.kpi strong{font-family:Manrope;font-size:1.75rem;letter-spacing:-.04em}.kpi small{font-size:.72rem}.kpi.teal{color:var(--teal)}.kpi.purple{color:var(--purple)}.kpi.amber{color:var(--amber)}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.panel{padding:22px;min-width:0}.panel-head{margin-bottom:18px}.panel-head h2{margin-top:5px}.panel-head p{margin:4px 0 0;color:var(--muted);font-size:.8rem}.chart-wrap{height:292px}.legend-inline{color:var(--muted);font-size:.73rem}.legend-inline i{width:9px;height:9px;display:inline-block;border-radius:50%;margin:0 5px 0 10px}.legend-inline .d1{background:var(--teal)}.legend-inline .d2{background:var(--purple)}.ranking{max-height:290px;overflow:auto}.rank-row{display:grid;grid-template-columns:25px 1fr;gap:9px;align-items:center;margin:12px 0}.rank-row>b{color:#9aa8a4}.rank-row>div>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:.76rem}.bar{height:6px;background:#edf1ef;border-radius:99px;margin-top:5px;overflow:hidden}.bar i{display:block;height:100%;border-radius:99px}.bar .good{background:var(--teal)}.bar .mid{background:var(--amber)}.bar .low{background:var(--red)}.table-panel{margin-top:16px}.table-actions{display:flex;gap:9px}.button{border:0;border-radius:11px;padding:11px 15px;font-weight:800;cursor:pointer}.button.excel{background:#e4f3e9;color:#257448}.button.nominal,.button.primary{background:var(--ink);color:#fff}.button.full{width:100%;margin-top:12px}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:13px}table{width:100%;border-collapse:collapse;font-size:.72rem;white-space:nowrap}th,td{padding:9px 10px;border-right:1px solid #e6ece9;border-bottom:1px solid #e6ece9;text-align:center}thead th{background:#173d38;color:#fff;font-weight:700;position:sticky;top:0;z-index:1}thead tr:nth-child(2) th{top:34px;background:#247068}.table-panel tbody tr:hover{background:#f0faf7}.table-panel td:first-child,.table-panel td:nth-child(2),.table-panel td.eess{text-align:left}.table-panel td.eess{font-weight:700}tfoot th{background:#e3f2ee;color:var(--ink)}.method{margin-top:16px;padding:18px 22px;display:flex;gap:18px;align-items:flex-start}.method strong{color:var(--teal);white-space:nowrap}.method p{margin:0;color:var(--muted);font-size:.78rem;line-height:1.55}.modal{position:fixed;inset:0;z-index:40;display:none;place-items:center;padding:20px}.modal.open{display:grid}.modal-backdrop{position:absolute;inset:0;background:rgba(5,22,19,.65);backdrop-filter:blur(5px)}.modal-card{position:relative;z-index:1;background:#fff;border-radius:22px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.3);max-height:90vh;overflow:auto}.small-modal{width:min(430px,94vw);text-align:center}.large-modal{width:min(1300px,96vw)}.modal-close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:1.7rem;color:#70807c;cursor:pointer}.lock-mark{font-size:2.4rem}.small-modal p{color:var(--muted);font-size:.86rem;line-height:1.55}.small-modal label{display:block;text-align:left}.message{min-height:20px;color:var(--red);font-size:.78rem;margin-top:8px}.nominal-tools{display:flex;gap:10px;margin:17px 0}.nominal-tools input{margin:0;max-width:430px}.nominal-table th{text-align:left}.nominal-table td{text-align:left}.empty{padding:30px;text-align:center;color:var(--muted)}body.loading:before{content:"Actualizando tablero…";position:fixed;right:22px;bottom:22px;z-index:80;background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;box-shadow:var(--shadow);font-size:.8rem}@media(max-width:1100px){.filter-grid{grid-template-columns:repeat(3,1fr)}.kpi-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.hero{padding:30px 22px 55px;align-items:flex-start}.hero-side{display:none}main{width:94vw}.filter-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.kpi-grid{grid-template-columns:1fr 1fr}.actions-head{display:block}.table-actions{margin-top:14px}.method{display:block}.method p{margin-top:7px}}@media(max-width:480px){.filter-grid,.kpi-grid{grid-template-columns:1fr}.hero h1{font-size:2.3rem}.section-title{align-items:center}.panel{padding:16px}}
