/* Sefici statistics articles. Loaded only on the pages build.py renders.
   Uses the site tokens from Base.css (--green-800, --lime, --ink-900 …). */

.st{--st-track:#eef3ef;--st-ink-2:#4a4a55;--st-rule:#e3e8e4}

/* meta strip under the title area */
.st-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-family:var(--font-sans);font-size:.875rem;color:var(--st-ink-2);padding-bottom:18px;border-bottom:1px solid var(--st-rule)}
.st-meta span{display:inline-flex;align-items:center;gap:7px}
.st-meta span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--lime-strong)}

.st-lede p{font-size:1.125rem;line-height:1.65;color:var(--ink-900)}
.st-lede p+p{margin-top:.9em}

/* KPI tiles */
.st-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:2em 0 0!important;padding:0;list-style:none}
.st-kpis li{margin:0!important;background:var(--green-gradient);color:var(--white);border-radius:var(--r-md);padding:20px 18px 18px;display:flex;flex-direction:column;gap:6px;min-height:132px}
.st-kpis li:nth-child(3n+2){background:var(--ink)}
.st-kpi__value{font-family:var(--font-display);font-weight:800;font-size:clamp(1.65rem,3.2vw,2.15rem);line-height:1.05;letter-spacing:-.02em;color:var(--lime);font-variant-numeric:tabular-nums}
.st-kpi__label{font-family:var(--font-sans);font-size:.8125rem;line-height:1.45;color:#ffffffd9}
.st-kpis .st-cite a{color:var(--lime)}

/* Datos clave */
.st-takeaways{background:var(--lime-pale);border-radius:var(--r-md);padding:22px 24px;margin-top:1.6em!important}
.st-takeaways h2{margin:0!important;font-family:var(--font-sans)!important;font-size:1rem!important;text-transform:uppercase;letter-spacing:1px;color:var(--green-800)!important}
.st-takeaways ul{list-style:none!important;padding:0!important;margin-top:12px}
.st-takeaways li{position:relative;padding-left:30px;line-height:1.55}
.st-takeaways li+li{margin-top:.65em!important}
.st-takeaways li::before{content:"";position:absolute;left:0;top:.2em;width:19px;height:19px;border-radius:50%;background:var(--green-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2fa6b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat}

/* table of contents */
.st-toc{border:1px solid var(--st-rule);border-radius:var(--r-md);padding:20px 24px;margin-top:1.6em!important}
.st-toc__title{font-family:var(--font-sans);font-size:1rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:var(--ink-900)}
.st-toc ol{list-style:none;padding:0!important;margin-top:10px;columns:2;column-gap:28px;counter-reset:toc}
.st-toc li{break-inside:avoid;counter-increment:toc;margin:0 0 .45em!important;padding-left:30px;position:relative;font-size:.9375rem;line-height:1.45}
.st-toc li::before{content:counter(toc,decimal-leading-zero);position:absolute;left:0;top:.1em;font-family:var(--font-display);font-weight:700;font-size:.8125rem;color:var(--green-800)}
.st-toc a{text-decoration:none!important;color:var(--ink-900)!important}
.st-toc a:hover{text-decoration:underline!important}

.st h2{padding-top:.2em}
.prose.st>*+p,.prose.st li>p+p{margin-top:1em}
.prose.st>h2+p,.prose.st>h3+p{margin-top:.55em}
.prose.st>h2+*{margin-top:.7em}
.st .visually-hidden table{min-width:0}
.st-cite{font-size:.7em;line-height:0;vertical-align:super;margin-left:1px;font-family:var(--font-sans);font-weight:600}
.st-cite a{text-decoration:none!important;color:var(--green-800)}
.st-cite a:hover{text-decoration:underline!important}

/* callouts */
.st-callout{background:var(--cream-soft);border:1px solid #f1e3b4;border-left:4px solid var(--gold);border-radius:var(--r-sm);padding:16px 20px;margin:1.6em 0!important}
.st-callout p+p,.st-note p+p{margin-top:.6em}
.st-callout__title{font-family:var(--font-sans);font-size:.8125rem!important;font-weight:600;text-transform:uppercase;letter-spacing:.8px;color:#8a5a00}
.st-callout ul{margin-top:.6em}
.st-note{background:var(--off-white);border:1px solid var(--st-rule);border-radius:var(--r-sm);padding:14px 18px;font-size:.9375rem;color:var(--st-ink-2);margin:1.6em 0!important}

/* charts */
.st-chart{border:1px solid var(--st-rule);border-radius:var(--r-md);padding:20px 22px 16px;margin:1.8em 0!important;background:var(--white)}
.st-chart__title{font-family:var(--font-sans);font-size:1.0625rem;font-weight:600;line-height:1.35;color:var(--ink-900)}
.st-chart__sub{font-size:.875rem;color:var(--grey-600);margin-top:2px!important}
.st-chart figcaption{text-align:left!important;font-size:.8125rem!important;color:var(--grey-600)!important;margin-top:14px!important;padding-top:10px;border-top:1px solid var(--st-rule)}
.st-chart figcaption a{color:var(--grey-600)!important}

.st-bars{list-style:none!important;padding:0!important;margin-top:16px;display:grid;gap:9px}
.st-bars li{margin:0!important;display:grid;grid-template-columns:minmax(90px,30%) 1fr auto;align-items:center;gap:12px;font-size:.9375rem}
.st-bars__label{line-height:1.25;color:var(--ink-900)}
.st-bars__track{height:22px;background:var(--st-track);border-radius:6px;overflow:hidden}
.st-bars__fill{display:block;height:100%;width:var(--w);background:var(--green-800);border-radius:6px}
.st-bars li:first-child .st-bars__fill{background:linear-gradient(90deg,var(--green-800),#0b7a5e)}
.st-bars__value{font-family:var(--font-display);font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink-900);min-width:4.5ch;text-align:right;white-space:nowrap}
.st-bars li.is-hl .st-bars__fill{background:var(--lime-strong)}

.st-split__bar{display:flex;height:34px;border-radius:8px;overflow:hidden;margin-top:18px;gap:2px;background:var(--white)}
.st-split__bar span{display:block;height:100%;flex:0 0 var(--w)}
.st-split__legend{list-style:none!important;padding:0!important;margin-top:14px;display:flex;flex-wrap:wrap;gap:8px 26px}
.st-split__legend li{margin:0!important;display:flex;align-items:baseline;gap:8px;font-size:.9375rem}
.st-split__legend i{flex:none;width:11px;height:11px;border-radius:3px;transform:translateY(1px)}
.st-split__legend b{font-family:var(--font-display);font-weight:700;font-variant-numeric:tabular-nums}

.st-line{margin-top:10px}
.st-line svg{display:block;width:100%;overflow:visible}
.st-line .st-line__v{font-family:var(--font-display);font-weight:700;font-size:12.5px;fill:var(--ink-900);paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.st-line .st-line__x{font-family:var(--font-sans);font-size:12px;fill:var(--grey-600)}
.st-line .st-line__grid{stroke:var(--st-rule);stroke-width:1}

/* tables */
.st-table{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.6em 0!important}
.st-table table{min-width:520px}
.st-table td,.st-table th{font-variant-numeric:tabular-nums}

/* FAQ */
.st-faq{display:grid;gap:10px;margin-top:1.2em!important}
.st-faq details{border:1px solid var(--st-rule);border-radius:var(--r-sm);background:var(--off-white)}
.st-faq summary{cursor:pointer;list-style:none;padding:15px 48px 15px 18px;font-weight:600;position:relative;line-height:1.4}
.st-faq summary::-webkit-details-marker{display:none}
.st-faq summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-family:var(--font-display);font-size:1.4rem;font-weight:600;color:var(--green-800)}
.st-faq details[open] summary::after{content:"−"}
.st-faq details>p{padding:0 18px 16px;color:var(--st-ink-2)}

/* sources */
.st-sources{counter-reset:src;list-style:none!important;padding:0!important;margin-top:1em!important;font-size:.875rem;line-height:1.5}
.st-sources li{counter-increment:src;position:relative;padding-left:34px;scroll-margin-top:100px;color:var(--st-ink-2)}
.st-sources li+li{margin-top:.55em!important}
.st-sources li::before{content:counter(src);position:absolute;left:0;top:0;min-width:24px;text-align:right;font-family:var(--font-display);font-weight:700;color:var(--green-800)}
.st-sources li:target{background:var(--lime-pale);border-radius:6px}
.st-sources b{color:var(--ink-900);font-weight:600}
.st-sources a{word-break:break-word}

.st-cite-box{font-size:.875rem}
.st-cite-box code{font-family:var(--font-article);background:none;font-size:inherit}

@media (width<=760px){
  .st-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .st-kpis li{min-width:0}
  .st-kpis li:nth-child(3n+2){background:var(--green-gradient)}
  .st-kpis li:nth-child(4n+2),.st-kpis li:nth-child(4n+3){background:var(--ink)}
  .st-toc ol{columns:1}
  .st-line .m-hide{display:none}
  .st-line .is-below{transform:translateY(-37px)}
  .st-line .st-line__v{font-size:11.5px}
  .st-line .st-line__x{font-size:11px}
}
@media (width<=480px){
  .st-kpis{gap:10px}
  .st-kpis li{padding:15px 12px;min-height:112px}
  .st-kpi__value{font-size:clamp(1.05rem,5vw,1.6rem);letter-spacing:-.03em}
  .st-chart{padding:16px 14px 12px}
  .st-bars li{grid-template-columns:1fr auto;gap:4px 10px}
  .st-bars__label{grid-column:1 / -1}
  .st-takeaways,.st-toc{padding:18px}
}
