
:root{font:1rem/1.58 "Segoe UI",system-ui,sans-serif;color:#16342a;background:#f4f7f0;--ink:#142e24;--green:#173c2e;--dark:#10291f;--muted:#496157;--line:#ccd8cd;--lime:#d9ec92;--paper:#fff;--soft:#eff5e9}
*,*::before,*::after{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}a{color:#214d39;text-underline-offset:.24em}img{display:block;width:100%;object-fit:cover}button,input,select,textarea{font:inherit;color:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.59rem 1rem;border-radius:9px;border:1px solid #a8bfaa;font-weight:700;background:white;cursor:pointer;text-decoration:none;color:var(--ink)}.primary{background:var(--lime);border-color:var(--lime);color:#1a351f}.primary:hover{background:#e4f3ad}.skip{position:absolute;transform:translateY(-160%);left:1rem;background:white;padding:.5rem;z-index:10}.skip:focus{transform:none}button:disabled{cursor:wait;opacity:.65}:focus-visible{outline:3px solid #2e7958;outline-offset:3px}
.wrap{width:min(1200px,calc(100% - 48px));margin-inline:auto}
header{background:#fff;border-bottom:1px solid var(--line)}
.top{display:flex;justify-content:space-between;gap:1rem;align-items:center;min-height:72px}
.brand{font-weight:800;font-size:1.5rem;letter-spacing:-.055em;text-decoration:none;display:flex;align-items:center;gap:.5rem}
.brand span{background:var(--green);color:var(--lime);border-radius:9px;display:grid;place-items:center;width:34px;height:34px;font-size:1.35rem}
.links,.language{display:flex;align-items:center;gap:.4rem}.links{gap:1.8rem}.links a{font-weight:650;text-decoration:none}.language{border:1px solid var(--line);padding:3px;border-radius:10px}.language button{min-height:37px;border:0;padding:.3rem .67rem;font-size:.88rem}.language button[aria-pressed=true]{background:var(--green);color:white}
.hero{margin-top:26px;display:grid;grid-template-columns:1fr 1.1fr;overflow:hidden;border-radius:20px;background:var(--dark);color:white;min-height:395px}.hero-copy{padding:clamp(25px,6vw,62px);align-self:center}.hero img{height:100%;min-height:330px;object-position:62% center}.eyebrow{color:var(--lime);font-size:.94rem;font-weight:700;margin:0}.hero h1{font-size:clamp(2.55rem,5.45vw,5.05rem);font-weight:780;letter-spacing:-.068em;line-height:.99;margin:.6rem 0 1.1rem;max-width:10ch;text-wrap:balance}.hero-copy>p:not(.eyebrow){margin:0 0 1.5rem;color:#e1eadf;max-width:34ch}
.section{scroll-margin-top:20px;margin-block:44px}h2{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.13;letter-spacing:-.045em;margin:0 0 .35rem}h3{font-size:1.24rem;margin:0 0 .65rem;line-height:1.3}p{margin:.5rem 0 1rem}p:last-child{margin-bottom:0}.section-head,.actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.section-head p{color:var(--muted);margin:0}.section-head{margin-bottom:13px}.actions{justify-content:flex-start;margin-top:.85rem}
.panel,.glossary details,.notice{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:clamp(14px,3.2vw,28px);margin-top:12px}.panel details>p{max-width:82ch}.notice{border-left:4px solid #769044;background:#f5f9e9;margin:14px 0;padding:12px 15px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px 16px;align-items:end}.field{display:grid;gap:4px;min-width:0}.field label,label{font-weight:650;font-size:.93rem}
input,select,textarea{width:100%;min-width:0;background:#fff;border:1px solid #a8baaa;border-radius:8px;min-height:44px;padding:.52rem .66rem}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#396447 50%),linear-gradient(135deg,#396447 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:1.6rem}#mes_partidas{width:auto}textarea{display:block;resize:vertical}summary{cursor:pointer;font-weight:720;color:#205139}details{margin-top:12px}details:first-child{margin-top:0}
.table-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:9px;margin-top:12px}table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}td,th{padding:.55rem .7rem;border-bottom:1px solid #e1e9df}thead th{background:var(--soft);line-height:1.25;font-size:.94rem;vertical-align:bottom}tbody tr:last-child>*{border-bottom:0}tbody th{text-align:left}.capture tbody th{position:sticky;left:0;background:#f4f8ef;z-index:1}.capture td{padding:4px 6px}.capture input{min-width:98px}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:10px;margin:14px 0}.kpis div{background:var(--soft);padding:12px 14px;border-radius:8px}.kpis strong{display:block;font-size:1.4rem;letter-spacing:-.025em}.segments{display:flex;flex-wrap:wrap;gap:.4rem;margin:.35rem 0 .8rem}.segments button[aria-pressed=true]{color:#fff;background:var(--green);border-color:var(--green)}.selectors{max-width:380px}.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.result-grid .panel{margin-top:0}.result-grid .wide{grid-column:1/-1}#resultado .section-head{margin-bottom:10px}
.glossary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:10px}.glossary details{margin:0;padding:15px}.glossary summary{font-size:1rem}.guide-photo{height:170px;border-radius:12px;object-position:center 48%;margin-bottom:12px}
footer{background:#133126;color:#eef4ed;padding:30px 0}footer a{color:#deefae}.foot{display:grid;grid-template-columns:1fr 1fr;gap:20px}footer p{max-width:53ch}li+li{margin-top:.3rem}footer ul{margin:.3rem 0;padding-left:1.2rem}
@media(max-width:800px){.hero{grid-template-columns:1fr 1fr}.hero h1{font-size:clamp(2.2rem,6.8vw,3.5rem)}.glossary{grid-template-columns:repeat(2,minmax(0,1fr))}.links{display:none}}
@media(max-width:570px){.wrap{width:calc(100% - 26px)}.top{min-height:62px}.hero{grid-template-columns:1fr;margin-top:15px}.hero img{min-height:0;height:215px;object-position:center 49%}.hero-copy{padding:29px 22px}.section{margin-block:30px}.result-grid,.foot,.glossary{grid-template-columns:1fr}.top{gap:.4rem}.language button{padding-inline:.45rem}.guide-photo{height:130px}}
@media print{header,.hero,form,#guia,footer,#calc-titulo,#calculadora,#resultado .actions,.segments,.selectors{display:none!important}.wrap{width:100%}.panel{break-inside:avoid}.result-grid{display:block}.result-grid .panel{margin-top:12px}}
