/* Ficha imprimible (P5). Siempre modo claro: es para imprimir. Carta, margen 0.5in, UNA hoja.
   Tinta navy de la marca, acento teal; Poppins para titulares, Barlow para texto,
   Noto para devanagari / chino / arabe. */
:root {
  --sh-ink: #143e6b;
  --sh-text: #2f3a4a;
  --sh-muted: #5a6374;
  --sh-line: #d9e3e8;
  --sh-accent: #007a71;
  --sh-fill: #00a99d;
  --sh-tint: #eef7f6;
  --sh-base: #8b95a5;
  --font-primary: "Poppins", "Noto Sans Devanagari", "Noto Sans SC", "Noto Sans Arabic", sans-serif;
  --font-secondary: "Barlow", "Noto Sans Devanagari", "Noto Sans SC", "Noto Sans Arabic", sans-serif;
}
@page { size: letter; margin: 0.5in; }

* { box-sizing: border-box; }
html, body { margin: 0; background: #e9eef1; color: var(--sh-text); }
body.sh { font: 400 9.4pt/1.42 var(--font-secondary); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
:lang(hi) body.sh, :lang(zh) body.sh, :lang(ar) body.sh { line-height: 1.5; }

/* barra de pantalla (no se imprime) */
.sh-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--sh-line); position: sticky; top: 0; z-index: 2; }
.sh-hint { margin: 0; font: 600 0.95rem/1.3 var(--font-primary); color: var(--sh-ink); }
.sh-print { font: 600 0.95rem/1 var(--font-primary); color: #04231f; background: var(--sh-fill); border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer; }
/* selector de idioma en la barra (site-i18n.js lo rellena) */
.sh-bar .lang-wrap { position: relative; }
.sh-bar .lang-btn { font: 600 0.9rem/1 var(--font-primary); color: var(--sh-ink); background: var(--sh-tint); border: 1px solid #9fded7; border-radius: 999px; padding: 10px 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.sh-bar .lang-menu { display: none; position: absolute; inset-inline-start: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--sh-line); border-radius: 12px; padding: 6px; min-width: 210px; box-shadow: 0 16px 32px -16px rgba(20, 62, 107, .4); }
.sh-bar .lang-menu.show { display: block; }
.sh-bar .lang-item { display: flex; gap: 8px; width: 100%; padding: 8px 10px; border: 0; background: none; font: 500 0.9rem/1.2 var(--font-secondary); color: var(--sh-ink); cursor: pointer; border-radius: 8px; text-align: start; }
.sh-bar .lang-item:hover, .sh-bar .lang-item:focus-visible { background: var(--sh-tint); }
.sh-print:focus-visible { outline: 3px solid var(--sh-ink); outline-offset: 3px; }

/* la hoja: 7.5in x 10in de contenido */
.sh-page { width: 7.5in; min-height: 10in; margin: 24px auto; padding: 0; background: #fff; display: flex; flex-direction: column; gap: 0.12in; box-shadow: 0 0 0 0.5in #fff, 0 20px 50px -20px rgba(20, 62, 107, .45); }
@media screen and (max-width: 860px) {
  .sh-page { width: auto; margin: 16px; padding: 16px; box-shadow: none; }
}

.sh-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--sh-ink); padding-bottom: 0.08in; }
.sh-logo { height: 0.42in; width: auto; }
.sh-kicker { margin: 0; font: 600 8pt/1 var(--font-primary); letter-spacing: .16em; text-transform: uppercase; color: var(--sh-accent); }

.sh-hero { display: grid; grid-template-columns: minmax(0, 1fr) 2.9in; gap: 0.2in; align-items: start; }
.sh-tagline { margin: 0 0 4px; font: 600 7.6pt/1.2 var(--font-primary); letter-spacing: .12em; text-transform: uppercase; color: var(--sh-accent); }
.sh-title { margin: 0 0 6px; font: 700 22pt/1.02 var(--font-primary); color: var(--sh-ink); letter-spacing: -.01em; }
.sh-title em { font-style: normal; display: block; color: var(--sh-accent); }
.sh-lede { margin: 0 0 8px; font-size: 9.6pt; color: var(--sh-text); }
.sh-specs { margin: 0; border-top: 1px solid var(--sh-line); }
.sh-specs div { display: grid; grid-template-columns: 0.95in 1fr; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--sh-line); }
.sh-specs dt { font: 600 7pt/1.5 var(--font-primary); letter-spacing: .1em; text-transform: uppercase; color: var(--sh-muted); }
.sh-specs dd { margin: 0; color: var(--sh-ink); font-weight: 500; }
.sh-tank { margin: 0; padding: 6px; border-radius: 12px; background: linear-gradient(180deg, #e9f5f4 0%, #fff 70%); border: 1px solid var(--sh-line); }
.sh-tank-svg svg { display: block; width: 100%; height: auto; }
.sh-tank figcaption { font-size: 7pt; color: var(--sh-muted); margin-top: 2px; }
/* en la hoja los rotulos del esquema van un poco mas finos para que no se monten */
.sh-tank .lc-labels text { font-size: 17px; }
.sh-tank .lc-labels .lc-sub { font-size: 13px; }

.sh-h2 { margin: 0 0 6px; font: 600 8pt/1 var(--font-primary); letter-spacing: .16em; text-transform: uppercase; color: var(--sh-accent); display: flex; align-items: center; gap: 10px; }
.sh-h2::after { content: ""; flex: 1; height: 1px; background: var(--sh-line); }

.sh-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.16in; }
.sh-cols article { border-inline-start: 3px solid var(--sh-fill); padding-inline-start: 9px; }
.sh-cols h3 { margin: 0 0 3px; font: 600 10pt/1.2 var(--font-primary); color: var(--sh-ink); }
.sh-cols p { margin: 0; font-size: 8.6pt; line-height: 1.4; }

.sh-how ol { list-style: none; counter-reset: h; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.16in; }
.sh-how li { counter-increment: h; position: relative; padding-inline-start: 26px; font-size: 8.8pt; color: var(--sh-ink); }
.sh-how li::before { content: counter(h); position: absolute; inset-inline-start: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--sh-ink); color: #fff; font: 700 8pt/18px var(--font-primary); text-align: center; }

.sh-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.2in; }
.sh-charts figure { margin: 0; }
.sh-charts h3 { margin: 0 0 2px; font: 600 9.6pt/1.2 var(--font-primary); color: var(--sh-ink); }
.sh-charts figcaption { font-size: 7.2pt; line-height: 1.35; color: var(--sh-muted); }
.sh-plot svg { display: block; width: 100%; height: auto; direction: ltr; }
.sh-plot text { font: 500 11px var(--font-secondary); fill: var(--sh-muted); }
.sh-plot .lbl { font-weight: 600; fill: var(--sh-ink); }
.sh-plot .val { font: 700 13px var(--font-primary); fill: var(--sh-ink); }
.sh-plot .big { font: 700 22px var(--font-primary); fill: var(--sh-accent); }
.sh-plot .grid { stroke: #e6ecef; stroke-width: 1; }
.sh-plot .axis { stroke: #c9d4da; stroke-width: 1.2; }
.sh-plot .s-base { stroke: var(--sh-base); }
.sh-plot .s-main { stroke: var(--sh-accent); }
.sh-disclaimer { margin: 6px 0 0; font: 600 8pt/1.3 var(--font-primary); color: var(--sh-ink); background: var(--sh-tint); border-inline-start: 3px solid var(--sh-accent); padding: 5px 9px; }

.sh-foot { margin-top: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border-top: 1px solid var(--sh-line); padding-top: 0.08in; }
.sh-qr svg { display: block; width: 0.66in; height: 0.66in; }
.sh-qr-label { margin: 0; font: 600 8.4pt/1.3 var(--font-primary); color: var(--sh-ink); }
.sh-url { margin: 2px 0 0; font: 500 8.4pt/1.3 var(--font-secondary); color: var(--sh-accent); unicode-bidi: isolate; }
.sh-copy { margin: 0; font-size: 7pt; color: var(--sh-muted); align-self: end; }

@media print {
  html, body { background: #fff; }
  .sh-bar { display: none !important; }
  /* Sin overflow:hidden a proposito: si algo no cabe, sale una 2.a pagina y la prueba lo detecta. */
  .sh-page { width: auto; min-height: 9.9in; margin: 0; box-shadow: none; }
  section, figure, article { break-inside: avoid; }
}
