/* Mr. Supply Chain® · Noticias — portal layout. Paleta y tipografía del sitio principal. */
:root {
  color-scheme: light;
  --paper: #faf9f6;
  --panel: #ffffff;
  --ink: #15171b;
  --muted: #6a6f77;
  --line: #e3e0d8;
  --accent: #1e4f9c;
  --soft: #eef2f8;
  --ops: #1e5fa8;
  --com: #b87514;
  --dig: #1f8a5b;
  --gov: #a83246;
  --inn: #5b3fb8;
  --up: #1f8a5b;
  --down: #c0392b;
  --tk-up: #4fd08a;
  --tk-down: #ff7a6b;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
[data-lang="en"], [data-lang="pt"] { display: none; }
.nx-wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Barra utilitaria */
.nx-util { background: var(--ink); color: #d9dbe0; font-size: 12.5px; }
.nx-utilin { display: flex; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.nx-today { text-transform: none; }
.nx-live { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.nx-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 0 rgba(229,72,77,.6); animation: nx-pulse 2s infinite; }
@keyframes nx-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.55); } 70% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
.nx-live b { font-weight: 600; }
.nx-lang { margin-left: auto; display: flex; gap: 2px; }
.nx-lang button { font: inherit; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; border: 1px solid transparent; background: transparent; color: #9aa0a8; padding: 3px 9px; border-radius: 4px; cursor: pointer; }
.nx-lang button[aria-pressed="true"] { color: #fff; border-color: #4a4f57; }

/* Cabezal */
.nx-mast { background: var(--panel); border-bottom: 1px solid var(--line); }
.nx-plate { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-top: 22px; }
.nx-brand { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 600; letter-spacing: -.02em; text-decoration: none; line-height: 1; }
.nx-brand sup { font-size: .38em; vertical-align: super; }
.nx-name { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 5px 10px; border-radius: 3px; transform: translateY(-6px); }
.nx-tag { margin: 8px 0 14px; color: var(--muted); font-size: 14px; }
.nx-sections { display: flex; gap: 22px; border-top: 3px double var(--ink); padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.nx-sections::-webkit-scrollbar { display: none; }
.nx-sections a { font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; letter-spacing: .01em; }
.nx-sections a:hover { color: var(--accent); }
.nx-sections a:last-child { margin-left: auto; color: var(--accent); }

/* Cintillo */
.nx-ticker { background: #0f1115; color: #fff; overflow: hidden; position: relative; border-bottom: 3px solid var(--accent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.nx-track { display: flex; width: max-content; animation: nx-marquee var(--nx-dur, 60s) linear infinite; }
.nx-ticker:hover .nx-track { animation-play-state: paused; }
@keyframes nx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.nx-tk { display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 22px; border-right: 1px solid #2a2e36; white-space: nowrap; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.nx-tk .n { color: #a9afb8; font-weight: 600; text-transform: uppercase; font-size: 11.5px; letter-spacing: .05em; }
.nx-tk .v { font-weight: 700; }
.nx-tk .up { color: var(--tk-up); } .nx-tk .down { color: var(--tk-down); } .nx-tk .flat { color: #a9afb8; }
.nx-tk .up::before { content: "▲ "; font-size: .75em; } .nx-tk .down::before { content: "▼ "; font-size: .75em; }
@media (prefers-reduced-motion: reduce) { .nx-track { animation: none; flex-wrap: wrap; width: auto; } .nx-track [aria-hidden="true"] { display: none; } }

/* Portada */
.nx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 28px; padding-bottom: 40px; }
@media (max-width: 960px) { .nx-grid { grid-template-columns: minmax(0, 1fr); } }
.nx-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.nx-tabs button { font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.nx-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

.nx-kick { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.nx-kick .sep { color: var(--line); margin: 0 6px; }
.nx-kick .wk { color: var(--com); }
.nx-hl { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 600; text-wrap: balance; }
.nx-dek { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.45; color: #3a3f47; margin: 0 0 16px; max-width: 62ch; }
.nx-byline { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin-bottom: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.nx-byline b { color: var(--ink); }

.nx-figure { margin: 0 0 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px 12px; }
.nx-figure figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.nx-figure .fh { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.nx-bars { display: grid; grid-template-columns: max-content 1fr max-content; gap: 7px 12px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.nx-bars .lb { font-weight: 600; white-space: nowrap; }
.nx-bars .tr { position: relative; height: 12px; background: linear-gradient(90deg, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)); }
.nx-bars .br { position: absolute; top: 0; height: 100%; border-radius: 2px; }
.nx-bars .br.up { background: var(--up); } .nx-bars .br.down { background: var(--down); }
.nx-bars .vl { font-weight: 700; text-align: right; min-width: 5.5ch; }
.nx-bars .vl.up { color: var(--up); } .nx-bars .vl.down { color: var(--down); }

.nx-body { max-width: 68ch; }
.nx-sec { margin: 0 0 22px; }
.nx-sec h4 { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; color: var(--ink); }
.nx-sec p { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.62; color: #23262c; }
.nx-scm { margin: 26px 0 0; background: var(--soft); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 6px 6px 0; }
.nx-scm h4 { color: var(--accent); }
.nx-scm.wk { background: #fbf4ea; border-left-color: var(--com); }
.nx-scm.wk h4 { color: var(--com); }
.nx-src { margin: 22px 0 0; font-size: 12.5px; color: var(--muted); }
.nx-src a { color: var(--accent); text-decoration: none; }
.nx-src a:hover { text-decoration: underline; }

/* Lateral */
.nx-side { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.nx-box { border-top: 3px solid var(--ink); padding-top: 12px; }
.nx-boxh { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.nx-other { cursor: pointer; }
.nx-other .t { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; font-weight: 600; margin: 0 0 8px; }
.nx-other .t:hover { color: var(--accent); }
.nx-other p { margin: 0; font-size: 14px; color: #3a3f47; }
.nx-latest { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.nx-latest li { counter-increment: n; display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nx-latest li::before { content: counter(n); font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--accent); font-weight: 600; }
.nx-latest .m { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.nx-latest .t { font-family: var(--serif); font-size: 1rem; line-height: 1.3; font-weight: 600; }
.nx-agenda { list-style: none; margin: 0; padding: 0; }
.nx-agenda li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.nx-agenda .d { text-align: center; border: 1px solid var(--line); border-radius: 4px; padding: 4px 0; background: var(--panel); line-height: 1.1; }
.nx-agenda .d b { display: block; font-family: var(--serif); font-size: 1.35rem; }
.nx-agenda .d span { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gov); }
.nx-empty { color: var(--muted); font-size: 14px; padding: 8px 0; }

/* Lectura */
.nx-band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.nx-verd { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 600; max-width: 30ch; text-wrap: balance; }
.nx-verd::before { content: "“"; color: var(--accent); margin-right: 4px; }
.nx-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px; }
.nx-th { border-top: 3px solid var(--c, var(--accent)); padding-top: 12px; }
.nx-th b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--accent)); margin-bottom: 6px; }
.nx-th p { margin: 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; }

/* Archivo */
.nx-archive { padding-top: 40px; padding-bottom: 40px; }
.nx-h2 { font-family: var(--serif); font-size: 1.8rem; letter-spacing: -.015em; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 3px double var(--ink); }
.nx-feed { list-style: none; margin: 0; padding: 0; }
.nx-feed li { border-bottom: 1px solid var(--line); }
.nx-feed button.h { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 12.5em 1fr; gap: 16px; align-items: baseline; width: 100%; padding: 14px 0; }
.nx-feed button.h:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nx-feed .d { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nx-feed .t { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
.nx-feed button.h:hover .t { color: var(--accent); }
.nx-feed .body { padding: 0 0 22px; }
@media (max-width: 640px) { .nx-feed button.h { grid-template-columns: 1fr; gap: 4px; } }

/* Pie */
.nx-foot { background: var(--ink); color: #c7cad0; padding: 28px 0 40px; font-size: 13px; }
.nx-foot a { color: #fff; text-decoration: none; font-weight: 600; }
.nx-foot p { margin: 0 0 6px; }
.nx-foot .nx-disc { color: #8d929a; font-size: 12px; }

/* Redes */
.nx-social p { margin: 0 0 12px; font-size: 14px; color: #3a3f47; }
.nx-soc { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); margin-bottom: 8px; }
.nx-soc:hover { border-color: var(--accent); }
.nx-soc .ic { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex: 0 0 auto; }
.nx-soc.x .ic { background: #000; } .nx-soc.in .ic { background: #0a66c2; }
.nx-soc b { display: block; font-size: 14px; }
.nx-soc small { display: block; font-size: 12px; color: var(--muted); }

/* Mapa */
.nx-mapsec { padding-top: 8px; padding-bottom: 40px; }
.nx-maphead { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.nx-maphead .nx-h2 { flex: 1 1 auto; }
.nx-mapnote { margin: 0 0 14px; font-size: 13px; color: var(--muted); max-width: 42ch; }
.nx-map { margin: 0; position: relative; background: #eef1f5; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; min-height: 260px; }
.nx-map svg { display: block; width: 100%; height: auto; }
.nx-map .land { fill: #d5dae2; stroke: #eef1f5; stroke-width: .5; }
.nx-map .land.hl { fill: #b9c4d6; }
.nx-map .bub.up { fill: rgba(31,138,91,.85); } .nx-map .bub.down { fill: rgba(192,57,43,.85); }
.nx-map .ring { fill: none; stroke-width: 1.5; } .nx-map .ring.up { stroke: rgba(31,138,91,.45); } .nx-map .ring.down { stroke: rgba(192,57,43,.45); }
.nx-map .lbl { font: 700 12px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #eef1f5; stroke-width: 4px; }
.nx-map .lbl2 { font: 800 13px var(--sans); paint-order: stroke; stroke: #eef1f5; stroke-width: 4px; }
.nx-map .lbl2.up { fill: var(--up); } .nx-map .lbl2.down { fill: var(--down); }
@media (prefers-reduced-motion: no-preference) { .nx-map .ring { animation: nx-ring 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; } @keyframes nx-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } } }

/* Gráficos */
.nx-charts { padding-bottom: 40px; }
.nx-chgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.nx-chart { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; min-width: 0; }
.nx-chart .fh, .nx-figure .fh { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nx-chart .fs { margin: 4px 0 10px; font-size: 12.5px; color: var(--muted); }
.nx-chart .cv { position: relative; min-height: 220px; }
.nx-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.nx-ax { font: 11px var(--sans); fill: var(--muted); font-variant-numeric: tabular-nums; }
.nx-gr { stroke: var(--line); stroke-width: 1; }
.nx-leg { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.nx-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.nx-tipc { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 12px; padding: 5px 8px; border-radius: 4px; white-space: nowrap; transform: translate(-50%, -120%); display: none; font-variant-numeric: tabular-nums; }

/* Gráficos por pestaña y mapa de calor */
.nx-chhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 3px double var(--ink); margin-bottom: 18px; }
.nx-chhead .nx-h2 { border-bottom: 0; margin: 0; }
.nx-ctabs { border-bottom: 0; margin: 0; }
.nx-heat { margin-bottom: 22px; }
.nx-heathead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 20px; flex-wrap: wrap; }
.nx-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-pills button { font: inherit; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); cursor: pointer; white-space: nowrap; }
.nx-pills button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.nx-heatcv { min-height: 380px; margin-top: 6px; }
.nx-hsec { fill: #c9c6be; }
.nx-hsl { font: 700 10.5px var(--sans); fill: #3d4148; letter-spacing: .04em; text-transform: uppercase; }
.nx-hcell rect { stroke: none; transition: opacity .15s; }
.nx-hcell:hover rect { opacity: .82; }
.nx-htk { font-family: var(--sans); font-weight: 700; pointer-events: none; }
.nx-hch { font-family: var(--sans); font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.nx-tiph { transform: translate(-50%, 0); z-index: 2; }
.nx-heatfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--muted); }
.nx-scale { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.nx-scale i { display: block; width: 140px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, #b3261e, #e4e2dc 50%, #13804f); }
.nx-cvbars { min-height: 0; }
.nx-chgrid[hidden] { display: none; }
.nx-hbadge { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; background: var(--line); color: var(--muted); }
.nx-hbadge.live { background: #fdecea; color: #b3261e; }
.nx-hbadge.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #b3261e; margin-right: 5px; vertical-align: 1px; animation: nx-blink 1.4s ease-in-out infinite; }
@keyframes nx-blink { 50% { opacity: .25; } }

/* Tendencias por industria */
.nx-trends { padding-bottom: 40px; }
.nx-trnote { margin: -4px 0 16px; font-size: 13px; color: var(--muted); }
.nx-trtop { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 22px; }
@media (max-width: 860px) { .nx-trtop { grid-template-columns: minmax(0, 1fr); } }
.nx-trhl { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; letter-spacing: -.01em; }
.nx-sect { margin: 0; }
.nx-trgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.nx-tr { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--muted); border-radius: 6px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nx-tr.up { border-top-color: var(--up); } .nx-tr.down { border-top-color: var(--down); } .nx-tr.mixed { border-top-color: #b87514; }
.nx-trh { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nx-trn { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nx-trd { font-size: 11.5px; font-weight: 700; white-space: nowrap; padding: 2px 8px; border-radius: 999px; background: #f1efe9; color: #8a5a10; }
.nx-tr.up .nx-trd { background: #e6f3ec; color: var(--up); } .nx-tr.down .nx-trd { background: #fbeae8; color: var(--down); }
.nx-trheat { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.nx-trheat i { width: 14px; height: 5px; border-radius: 2px; background: var(--line); }
.nx-trheat i.on { background: var(--ink); }
.nx-trheat span { margin-left: 6px; }
.nx-tr h3 { margin: 2px 0 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.nx-tr p { margin: 0; font-size: 14px; line-height: 1.55; }
.nx-trscm { font-size: 13.5px; background: #eef3fb; border-left: 3px solid var(--accent); padding: 8px 10px; border-radius: 0 4px 4px 0; }
.nx-trscm b { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.nx-trsrc { font-size: 12px !important; color: var(--muted); margin-top: auto !important; padding-top: 4px; }
.nx-trsrc a { color: var(--accent); text-decoration: none; }
.nx-trsrc a:hover { text-decoration: underline; }

/* Interpretación bajo los gráficos */
.nx-interp { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.55; color: #33373d; }
.nx-interp b { color: var(--ink); font-weight: 700; }
.nx-mapsec .nx-interp { max-width: 900px; }

/* Redes y medios */
.nx-social-feed { padding-bottom: 40px; }
.nx-rf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.nx-rfi { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nx-rfm { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.nx-rfb { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; background: #eef3fb; color: var(--accent); }
.nx-rfb.reddit { background: #fff0e8; color: #c2410c; }
.nx-rfs { font-weight: 700; color: var(--ink); }
.nx-rft { margin-left: auto; white-space: nowrap; }
.nx-rfh { font-family: var(--serif); font-size: 1.08rem; line-height: 1.3; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.nx-rfh:hover { color: var(--accent); text-decoration: underline; }
.nx-rfi p { margin: 0; font-size: 13.5px; color: #4a4f57; line-height: 1.5; overflow-wrap: anywhere; }

/* Lectura profunda */
.nx-exec { margin: -12px 0 30px; max-width: 75ch; font-size: 1.05rem; line-height: 1.65; color: #2c3036; }
.nx-th.deep { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--accent)); border-radius: 6px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.nx-thh { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nx-thh b { margin: 0 !important; }
.nx-niv { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: #f1efe9; color: #6a6f77; }
.nx-niv.alto, .nx-niv.high { background: #fbeae8; color: var(--down); }
.nx-niv.medio, .nx-niv.medium { background: #fdf3e2; color: #8a5a10; }
.nx-pal { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-pal span { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 3px; border: 1px solid var(--line); background: var(--panel); color: #3d4148; }
.nx-th.deep .nx-an { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; margin: 0; }
.nx-im { margin: 0; font-size: 14px; line-height: 1.55; }
.nx-acth { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.nx-act { margin: -4px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.nx-act li { margin: 3px 0; }
.nx-thf { margin-top: auto; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
.nx-thf em { font-style: normal; font-weight: 700; color: #3d4148; }
.nx-watch { margin-top: 34px; }
.nx-watch h3 { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.nx-watch ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px 24px; counter-reset: w; }
.nx-watch li { counter-increment: w; display: flex; flex-direction: column; gap: 3px; padding-left: 30px; position: relative; font-size: 14px; line-height: 1.5; }
.nx-watch li::before { content: counter(w); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.nx-watch li span { color: #4a4f57; }
.nx-brand .nx-mx { font-size: .55em; font-weight: 700; letter-spacing: .02em; }
.nx-themes:has(.deep) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }

/* Páginas estáticas: brief y archivo */
.nx-static div[data-lang="en"], .nx-static div[data-lang="pt"] { display: none; }
.nx-back { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 600; }
.nx-name { text-decoration: none; }
.nx-article { max-width: 780px; padding-top: 28px; padding-bottom: 48px; }
.nx-article .nx-hl { margin-top: 6px; }
.nx-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.nx-share a, .nx-share button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); text-decoration: none; cursor: pointer; }
.nx-share a:hover, .nx-share button:hover { border-color: var(--accent); color: var(--accent); }
.nx-cta { margin: 28px 0 0; padding: 14px 16px; background: #eef3fb; border-radius: 6px; font-weight: 600; }
.nx-cta a { color: var(--accent); text-decoration: none; }
.nx-pn { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13.5px; }
.nx-pn a { color: var(--ink); text-decoration: none; max-width: 48%; }
.nx-pn a:hover { color: var(--accent); }
.nx-pn .next { margin-left: auto; text-align: right; }
.nx-arch-d { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 26px 0 8px; }
.nx-arch { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nx-arch li a { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.nx-arch .m { font-size: 12.5px; color: var(--muted); }
.nx-arch .t { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.nx-arch li a:hover .t { color: var(--accent); }
@media (max-width: 640px) { .nx-arch li a { grid-template-columns: 1fr; gap: 2px; } }
/* Lectura: veredicto + resumen a la izquierda, "En el radar" a la derecha */
.nx-lechead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px 48px; align-items: start; margin-bottom: 30px; }
.nx-lechead .nx-exec { margin-bottom: 0; }
.nx-lechead .nx-watch { margin-top: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; }
.nx-lechead .nx-watch:empty { display: none; }
.nx-lechead .nx-watch ol { grid-template-columns: 1fr; gap: 14px; }
@media (max-width: 960px) { .nx-lechead { grid-template-columns: minmax(0, 1fr); } }

/* Lectura: sin huecos en la cuadrícula de temas */
@media (min-width: 1100px) {
  .nx-themes:has(.deep) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .nx-themes .deep { grid-column: span 2; }
  .nx-themes .deep:nth-child(4):nth-last-child(2), .nx-themes .deep:nth-child(5):last-child { grid-column: span 3; }
  .nx-themes .deep:first-child:nth-last-child(4), .nx-themes .deep:first-child:nth-last-child(4) ~ .deep { grid-column: span 3; }
  .nx-themes .deep:nth-child(4):last-child { grid-column: span 6; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .nx-themes:has(.deep) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-themes .deep:last-child:nth-child(odd) { grid-column: span 2; }
}
.nx-tm { margin: 8px 0 0; font-size: 12px; color: #9a9ea6; line-height: 1.5; }

/* Newsletter CTA */
.nx-nl{display:grid;grid-template-columns:96px 1fr auto;gap:20px;align-items:center;margin:32px 0 8px;padding:20px 22px;border-radius:16px;background:linear-gradient(135deg,#163e86,#0b1f47);color:#fff}
.nx-nl-logo{width:96px;height:96px;border-radius:12px;display:block}
.nx-nl-k{margin:0 0 4px;font:600 12px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em;text-transform:uppercase;color:#9fc0ff}
.nx-nl-h{margin:0 0 6px;font-weight:800;font-size:22px;line-height:1.15;letter-spacing:-.01em;color:#fff}
.nx-nl-p{margin:0;font-size:15px;line-height:1.5;color:#dbe7ff}
.nx-nl-btn{white-space:nowrap;display:inline-block;padding:11px 18px;border-radius:999px;background:#fff;color:#0b1f47;font-weight:700;font-size:15px;text-decoration:none}
.nx-nl-btn:hover{background:#dbe7ff}
@media (max-width:720px){.nx-nl{grid-template-columns:64px 1fr;gap:14px;padding:18px}.nx-nl-logo{width:64px;height:64px}.nx-nl-btn{grid-column:1/-1;text-align:center}}

.nx-sp{font-size:13px;line-height:1.5;opacity:.85;margin:10px 0}
.nx-sp a{font-weight:600}

h1.nx-name{margin:0;line-height:normal}
