:is(.np-page, .np-discovery) {
  --np-ink: #142e36;
  --np-muted: #466169;
  --np-accent: #075d56;
  --np-accent-dark: #073f3c;
  --np-line: #d5e3e2;
  --np-surface: #fff;
  --np-lagoon: #e9f6f2;
  --np-paper: #f4f9f8;
  --np-warm: #f9eee1;
  --np-radius: 22px;
  color: var(--np-ink);
}
.np-page {
  padding: 0 0 clamp(52px, 7vw, 96px);
  background: var(--np-paper);
  font-family: 'DM Sans', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
.np-wrap {
  width: min(1160px, calc(100% - 44px));
  margin-inline: auto;
}
.np-page :is(h1, h2, h3), .np-discovery :is(h2, h3) {
  color: var(--np-ink);
  letter-spacing: -.025em;
}
.np-page h1, .np-route h1.nc-title {
  margin: 0;
  font-size: clamp(2.1rem, 4.7vw, 4.15rem);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.np-page a:not(.nc-primary,.nc-wa), .np-discovery a {
  color: var(--np-accent);
  text-underline-offset: .18em;
}
:is(.np-page, .np-discovery) :focus-visible {
  outline: 3px solid #126d71;
  outline-offset: 3px;
}
.np-page [id] { scroll-margin-top: 110px; }

.np-breadcrumb { padding-block: 22px; color: var(--np-muted); }
.np-breadcrumb ol {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: .84rem;
}
.np-breadcrumb li + li::before { content: '›'; color: var(--np-muted); margin-inline-end: 10px; }
.np-breadcrumb a { text-decoration: none; font-weight: 650; }
.np-breadcrumb a:hover { text-decoration: underline; }
.np-breadcrumb li[aria-current] { font-weight: 580; }
.np-lead {
  max-width: 55ch;
  margin: 16px 0 0;
  color: var(--np-muted);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.55;
}
.np-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--np-radius);
  background: var(--np-lagoon);
}
.np-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np-feature {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(22px, 4.5vw, 64px);
  align-items: center;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--np-line);
  border-radius: 28px;
  background: var(--np-surface);
}
.np-feature .np-photo { aspect-ratio: 1.44; }
.np-byline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  color: var(--np-muted);
  font-size: .9rem;
  font-weight: 680;
}
.np-byline span { width: 5px; height: 5px; border-radius: 50%; background: var(--np-accent); }
.np-reading, .np-tool-reading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: clamp(22px, 5vw, 68px);
  align-items: start;
  margin-top: clamp(28px, 5vw, 62px);
}
.np-prose { min-width: 0; }
.np-prose > :first-child { margin-top: 0; }
.np-prose p, .np-prose li { font-size: clamp(1rem, 1.55vw, 1.12rem); line-height: 1.75; }
.np-prose p { margin: 0 0 1.05em; }
.np-prose :is(ul,ol) { padding-inline-start: 1.45em; margin: 0 0 1.25em; }
.np-prose li + li { margin-top: .6em; }
.np-prose h2, .np-route-sections h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.15;
  margin: 1.5em 0 .55em;
}
.np-prose > section + section { margin-top: 30px; }
.np-prose > section h2:first-child { margin-top: 0; }
.np-prose a:not(.nc-primary,.nc-wa) { font-weight: 680; text-decoration: underline; }
.np-prose ol li::marker { font-weight: 760; color: var(--np-accent); }
.np-prose > p:first-child { font-weight: 530; }
.np-prose #promos-relacionadas {
  margin-top: clamp(22px, 4vw, 44px);
  border-top: 1px solid var(--np-line);
  padding-top: 20px;
}
.np-prose #promos-relacionadas .nc-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%, 205px),1fr)); }
.np-prose #promos-relacionadas article p { font-size: .9rem; line-height: 1.4; }
.np-reading-rail { position: sticky; top: 114px; }
:is(.np-toc, .np-related) {
  border: 1px solid var(--np-line);
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--np-surface);
}
.np-reading-rail > * + * { margin-top: 14px; }
:is(.np-toc, .np-related) h2 { font-size: 1.05rem; line-height: 1.25; margin: 0 0 6px; }
:is(.np-toc, .np-related) ul { margin: 0; padding: 0; list-style: none; }
:is(.np-toc, .np-related) li + li { border-top: 1px solid var(--np-line); }
:is(.np-toc, .np-related) a { display: block; padding: 10px 0; font-size: .88rem; line-height: 1.38; text-decoration: none; font-weight: 690; }
:is(.np-toc, .np-related) a:hover { text-decoration: underline; }

.np-tool-intro { margin-bottom: 24px; }
.np-tool-intro h1 { max-width: 27ch; font-size: clamp(2.1rem, 4.3vw, 3.5rem); }
.np-tool-intro .np-lead { margin-top: 10px; max-width: 66ch; }
.np-workspace .ns-tool {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  width: auto;
  margin: 0;
  padding: clamp(14px, 2.4vw, 28px);
  border: 1px solid var(--np-line);
  border-radius: 26px;
  background: var(--np-surface);
  box-shadow: 0 13px 34px #123c3a0d;
}
.np-tool-inputs, .np-tool-result { min-width: 0; }
.np-tool-inputs h2, .np-tool-result h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.np-tool-result {
  align-self: stretch;
  min-height: 200px;
  border-radius: 20px;
  padding: clamp(16px, 2.8vw, 27px);
  background: linear-gradient(146deg, #0d5753 0%, var(--np-accent-dark) 100%);
  color: #fff;
}
.np-tool-result h2 { color: #fff; }
.np-tool-result a:not(.nc-primary,.nc-wa) { color: #c1f4e9; }
.np-tool-result p { margin: .6rem 0; color: #e0f4f1; line-height: 1.55; }
.np-tool-result .ns-status { border-radius: 12px; padding: 12px 14px; background: #ffffff16; font-weight: 680; }
.np-tool-result .ns-status[data-state="over"] { background: var(--np-warm); color: #73391f; }
.np-tool-result .ns-status[data-state="pass"] { background: #d5f8e7; color: #114336; }
.np-tool-inputs label {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  font-size: .92rem;
  font-weight: 690;
  line-height: 1.3;
}
.np-tool-inputs label[hidden] { display: none; }
.np-tool-inputs label:has([name="usd"]) { font-size: 1rem; }
.np-tool-inputs :is(input, select) {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid #a8c4c2;
  border-radius: 11px;
  background: var(--np-paper);
  color: var(--np-ink);
  font: inherit;
}
.np-tool-inputs label:has([name="usd"]) input { min-height: 54px; font-size: 1.42rem; font-weight: 740; }
.np-tool-inputs label input::placeholder { color: #597179; opacity: 1; }
.ns-fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.ns-fx-rates { margin-top: 16px; align-items: end; }
.ns-fx-rates label { font-size: .85rem; }
.np-tool-inputs .ns-bag-measures { margin-top: 14px; }
.ns-fields label[data-profile] { grid-column: 1 / -1; }
.ns-fx-rates label small { color: var(--np-muted); font-size: .76rem; }
.np-update {
  margin-top: 14px;
  min-height: 42px;
  padding: 7px 13px;
  border: 1px solid var(--np-accent);
  border-radius: 10px;
  background: var(--np-surface);
  color: var(--np-accent);
  font: inherit;
  font-size: .85rem;
  font-weight: 760;
  cursor: pointer;
}
.np-update:disabled { opacity: .65; cursor: wait; }
.np-tool-inputs .ns-status { margin: 10px 0 0; color: var(--np-muted); font-size: .83rem; line-height: 1.5; }
.np-rate-source { margin-top: 8px; font-size: .83rem; color: var(--np-muted); }
.np-rate-source summary { cursor: pointer; }
.np-rate-source:has(ul:not(:has(li:not([hidden])))) { display: none; }
.np-rate-source ul { margin: 6px 0; padding-inline-start: 20px; }
.ns-results { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0 10px; margin: 0; }
.ns-results :is(dt,dd) { margin: 0; padding: 12px 0; border-top: 1px solid #ffffff44; }
.ns-results dt { font-weight: 610; }
.ns-results dd { text-align: right; overflow-wrap: anywhere; font-size: clamp(1rem,2.1vw,1.4rem); font-weight: 790; }
.ns-results small { display: block; margin-top: 3px; color: #d2f1eb; font-size: .85rem; font-weight: 560; line-height: 1.38; }
.ns-results:not(:empty) + .np-result-empty { display: none; }
.np-jumps { display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 0 0 24px; font-size: .85rem; }
.np-tool-reading details { padding: 12px 14px; border-radius: 12px; background: var(--np-surface); border: 1px solid var(--np-line); }
.np-tool-reading details summary { cursor: pointer; font-weight: 690; }

.np-route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(295px, .49fr);
  column-gap: clamp(18px, 3.5vw, 42px);
  row-gap: 24px;
  align-items: start;
}
.np-route-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--np-line);
  border-radius: 27px;
  background: var(--np-surface);
}
.np-route-hero .np-photo { aspect-ratio: 2.42; border-radius: 0; }
.np-route-copy { padding: clamp(16px, 3vw, 28px); }
.np-route h1.nc-title { margin: 0; font-size: clamp(2rem, 4vw, 3.45rem); text-wrap: initial; }
.np-route-hero .np-lead { font-size: 1rem; margin-top: 10px; }
.np-route-offer { position: sticky; top: 112px; grid-column: 2; grid-row: 1 / span 2; }
.np-route-offer .nc-panel {
  width: 100%;
  margin: 0;
  border-radius: 22px;
  background: linear-gradient(138deg, #dff3ed, #f2faf6);
}
.np-route-offer .nc-panel.nc-empty { background: var(--np-warm); border-color: #eed8c4; }
.np-route-offer .nc-panel h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.np-offer-price { display: block; color: var(--np-accent-dark); line-height: 1.25; margin: .1rem 0; font-size: clamp(1.75rem, 3vw, 2.6rem); }
.np-offer-label { display: block; margin: 14px 0 0; font-size: .875rem; font-weight: 630; color: var(--np-muted); }
.np-offer-terms { font-size: .88rem; }
.np-route-offer .nc-panel p { overflow-wrap: anywhere; }
.np-route-date-jump {
  display: inline-block;
  margin: 14px 0;
  padding: 4px 2px;
  font-weight: 720;
  text-decoration: underline;
}
.np-route-sections { display: grid; gap: 14px; min-width: 0; }
.np-route-sections > .nc-datebox {
  width: 100%;
  margin: 0;
  padding: clamp(16px, 3vw, 27px);
  border: 1px solid var(--np-line);
  border-radius: 19px;
  background: var(--np-surface);
  line-height: 1.58;
}
.np-route-sections h2 { margin: 0 0 12px; }
.np-route-sections > div:empty { display: none; }
.np-route-sections ul { padding-inline-start: 1.25rem; }
.np-route-sections li + li { margin-top: 4px; }
.np-route-sections p:last-child { margin-bottom: 0; }
.np-route-sections #termometro-precios { background: var(--np-lagoon); }
.np-route-meter { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 190px),1fr)); gap: 12px; margin-block: 14px; }
.np-route-meter > div { margin: 0; padding: 14px; border: 1px solid var(--np-line); border-radius: 14px; background: var(--np-surface); }
.np-route-meter dt { font-size: .84rem; color: var(--np-muted); line-height: 1.35; }
.np-route-meter dd { margin: .15rem 0 0; font-size: clamp(1.3rem, 2.6vw, 1.85rem); font-weight: 810; line-height: 1.26; }
.np-route-meter dd p { margin: 6px 0 0; color: var(--np-muted); font-size: .83rem; font-weight: 550; }
.np-route-meter dd:has(p:only-child) { margin: 0; }
.np-route-sections details { padding: 10px 0; border-bottom: 1px solid var(--np-line); }
.np-route-sections summary { cursor: pointer; font-weight: 690; }

.np-discovery {
  width: min(1160px, calc(100% - 32px));
  margin: 28px auto;
  padding: clamp(16px,3vw,28px);
  border: 1px solid var(--np-line);
  border-radius: 22px;
  background: var(--np-paper);
  text-align: left;
}
.np-discovery h2 { font-size: clamp(1.32rem, 2.8vw, 2rem); margin: 0 0 13px; }
.np-discovery ul { padding-inline-start: 18px; }
.np-discovery a { font-weight: 690; }
.np-hub-tools, .np-hub-articles, .np-hub-origin { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 210px),1fr)); gap: 12px; }
.np-hub-tools { grid-template-columns: repeat(auto-fit,minmax(min(100%, 260px),1fr)); margin-bottom: 18px; }
.np-hub-tools a, .np-hub-articles a, .np-hub-origin > section {
  display: block;
  min-width: 0;
  border: 1px solid var(--np-line);
  border-radius: 15px;
  padding: 12px;
  text-decoration: none;
  background: var(--np-surface);
}
.np-hub-tools a { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
:is(.np-hub-tools,.np-hub-articles) a:hover { border-color: var(--np-accent); text-decoration: underline; }
.np-hub-articles img { display: block; width: 100%; height: 105px; object-fit: cover; border-radius: 9px; margin-bottom: 8px; }
.np-hub-articles h3, .np-hub-origin h3 { margin: 0; font-size: .95rem; line-height: 1.35; }

@media (min-width: 360px) {
  .ns-fx-rates { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 940px) {
  .np-tool-inputs .ns-bag-measures { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .np-wrap { width: calc(100% - 36px); }
  .np-breadcrumb { padding-block: 15px; }
  .np-breadcrumb li[aria-current] { display: none; }
  .np-feature { grid-template-columns: 1fr; gap: 18px; padding: 16px; border-radius: 20px; }
  .np-feature .np-photo { aspect-ratio: 1.8; }
  .np-reading, .np-tool-reading, .np-workspace .ns-tool, .np-route-layout { grid-template-columns: 1fr; }
  .np-workspace .ns-tool { gap: 16px; }
  .np-reading, .np-tool-reading { gap: 22px; }
  .np-reading-rail, .np-route-offer { position: static; grid-column: auto; grid-row: auto; }
  .np-reading-rail { display: contents; }
  .np-toc { grid-row: 1; }
  .np-route-layout { row-gap: 14px; }
  .np-route-hero .np-photo { aspect-ratio: 2.35; }
  .np-route-date-jump { margin-block: 8px 0; }
  .np-tool-result { min-height: 0; }
  .np-tool-intro { margin-bottom: 15px; }
  .np-tool-intro h1 { max-width: 22ch; }
}
@media (max-width: 375px) {
  .np-wrap { width: calc(100% - 28px); }
  .np-page h1, .np-route h1.nc-title { font-size: clamp(1.75rem, 8vw, 2.1rem); }
}
.np-photo figcaption {
  position: absolute;
  inset: auto 8px 8px auto;
  max-width: calc(100% - 16px);
  padding: 3px 7px;
  border-radius: 6px;
  background: #142e36e8;
  color: #fff;
  font-size: .65rem;
  line-height: 1.35;
}
.np-photo figcaption a:not(.nc-primary,.nc-wa) { color: #fff; }
.np-reading > .np-prose { grid-column: 1; grid-row: 1; }
.np-reading-rail { grid-column: 2; grid-row: 1; }
.np-route-info :is(strong, dt) { font-weight: 740; }
@media (max-width: 780px) {
  .np-reading > .np-prose { grid-column: auto; grid-row: 2; }
  .np-reading-rail { grid-column: auto; grid-row: auto; }
}
