/* Cronologías: news browser prototype. Self-contained styles, light only. */

:root {
  --bg: #f7f5ef; --surface: #ffffff; --sunken: #efece3;
  --ink: #1a1815; --ink-2: #54504a; --ink-3: #6b665e;
  --line: #e3dfd4; --line-2: #cdc7b9;
  --accent: #24489f; --accent-bg: #e5ebf9;
  --red: #b3261e; --red-bg: #fbe9e6;
  --amber: #875800; --amber-bg: #f8edd2;
  --green: #1f6b3b; --green-bg: #e2f0e5;
  --shadow: 0 1px 2px rgba(40, 32, 16, .05), 0 6px 20px -8px rgba(40, 32, 16, .12);
  --shadow-hover: 0 2px 4px rgba(40, 32, 16, .06), 0 14px 32px -10px rgba(40, 32, 16, .22);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --r: 12px;
  --bar-h: 53px;
  --chart: var(--accent);
  --c1: #2a78d6; --c2: #eb6834; --c3: #1baf7a; --c4: #eda100; --c5: #e87ba4; --c6: #008300; --c7: #6250d6; --c8: #e34948;
  --hatch: repeating-linear-gradient(135deg, transparent 0 4px, var(--line-2) 4px 5px);
  --nav-h: 56px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: inherit; }
p, h1, h2, h3, h4, dl, dd, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--sunken); padding: 1px 5px; border-radius: 5px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---------- masthead and footer ---------- */
.mast { border-bottom: 1px solid var(--line); }
.mast-in, .wrap, .foot-in { max-width: 1160px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.mast-in { display: flex; align-items: center; gap: 14px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: inline-flex; flex-direction: column; gap: 3px; padding-left: 5px; border-left: 2px solid var(--ink); }
.brand-mark i { display: block; height: 3px; border-radius: 2px; background: var(--ink); }
.brand-mark i:nth-child(1) { width: 14px; }
.brand-mark i:nth-child(2) { width: 9px; background: var(--red); }
.brand-mark i:nth-child(3) { width: 12px; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.nav { display: flex; align-items: stretch; align-self: stretch; gap: 24px; margin-left: 28px; min-width: 0; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); font-weight: 600; }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.nav-n { font-size: 11.5px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: var(--accent-bg); color: var(--accent); font-variant-numeric: tabular-nums; }
.pill-quiet .short { display: none; }
a.pill { text-decoration: none; }
.mast-right { margin-left: auto; display: inline-flex; gap: 8px; }
.pill { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--amber-bg); color: var(--amber); white-space: nowrap; }
.pill-quiet { background: transparent; color: var(--ink-3); border: 1px solid var(--line-2); font-weight: 500; }
/* ES | EN switch */
.scopesw { font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 3px 10px 3px 8px; border: 1px solid var(--line-2); border-radius: 99px; background: transparent; color: var(--ink-3); cursor: pointer; white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 5px; }
.scopesw::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; }
.scopesw[aria-pressed="true"] { color: var(--ink); }
.scopesw[aria-pressed="true"]::before { background: var(--accent); border-color: var(--accent); }
.scopesw:hover { color: var(--ink); }
.scopesw:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.scopesw .short { display: none; }
.linkbtn { font: inherit; padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.scope-note { white-space: nowrap; }
.langsw { display: inline-flex; border: 1px solid var(--line-2); border-radius: 99px; overflow: hidden; flex: none; }
.langsw button { font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 3px 9px; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; }
.langsw button:hover { color: var(--ink); }
.langsw button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.langsw button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* marks text that has no English version yet (it is shown in the Spanish original) */
.esm { display: inline-block; margin-left: 5px; padding: 0 4px; border: 1px solid var(--line-2); border-radius: 4px; font-family: var(--sans, inherit); font-size: .62em; font-weight: 600; font-style: normal; letter-spacing: .04em; line-height: 1.5; color: var(--ink-3); vertical-align: .18em; white-space: nowrap; }
.quote .quote-en { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.wrap { padding-top: 28px; padding-bottom: 72px; min-height: 70vh; }
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 36px; font-size: 12.5px; color: var(--ink-3); }
.loading { color: var(--ink-3); padding: 60px 0; text-align: center; }

/* ---------- shared pieces ---------- */
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.kicker .sep { margin: 0 8px; opacity: .6; }
.minihd { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lag { font-size: 12.5px; color: var(--ink-3); }
.lede { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }

.btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--ink-3); }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--sunken); max-width: 100%; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.seg button:hover:not(:disabled) { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 0 0 1px var(--line); }
.seg button:disabled { opacity: .45; cursor: default; }
.seg .short { display: none; }
.seg .n { font-size: 11.5px; font-weight: 500; color: var(--ink-3); margin-left: 3px; font-variant-numeric: tabular-nums; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.t-diff { background: var(--red-bg); color: var(--red); }
.t-one { background: var(--amber-bg); color: var(--amber); }
.t-ok { background: var(--green-bg); color: var(--green); }
.t-plain { background: var(--sunken); color: var(--ink-2); }
.t-plain::before { display: none; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.dot-diff { background: var(--red); }
.dot-one { background: var(--amber); }
.dot-ok { background: var(--green); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: 12px; line-height: 1.5; color: var(--ink-2); border: 1px solid var(--line); border-radius: 99px; padding: 1px 9px; background: var(--surface); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-more { color: var(--ink-3); background: transparent; border-style: dashed; cursor: default; }
.morechips { display: contents; }
.morechips summary { list-style: none; cursor: pointer; }
.morechips summary::-webkit-details-marker { display: none; }
.morechips[open] summary { display: none; }

/* outlet monograms */
.ob { --oc: #666; position: relative; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: var(--oc); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; line-height: 1; text-decoration: none; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-family: var(--sans); font-style: normal; }
.ob-lg { width: 36px; height: 36px; border-radius: 9px; font-size: 13.5px; }
a.ob { transition: transform .12s; }
a.ob:hover { transform: translateY(-2px); }
.ob-n { width: auto; padding-left: 5px; gap: 5px; overflow: hidden; }
.ob em { align-self: stretch; display: inline-flex; align-items: center; padding: 0 5px 0 4px; font-style: normal; font-size: 10px; font-weight: 700; background: rgba(0, 0, 0, .3); font-variant-numeric: tabular-nums; }
/* Real favicons: white tile, icon inset; the article count keeps the outlet's colour */
.ob-img { background: #fff; color: inherit; padding: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); overflow: hidden; }
.ob-img img { display: block; width: 22px; height: 22px; padding: 2px; object-fit: contain; flex: none; }
.ob-img.ob-lg img { width: 36px; height: 36px; padding: 4px; }
.ob-img.ob-n { padding-left: 0; gap: 0; }
.ob-img em { background: var(--oc); color: #fff; }
.quote figcaption .ob-img img { width: 18px; height: 18px; padding: 1.5px; }
.obs { display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.oname { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; color: var(--ink-2); white-space: nowrap; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 40px 20px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--ink-3); font-size: 14px; }
.empty b { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); }
.empty .btn { margin-top: 10px; }
.none { font-size: 14px; color: var(--ink-3); padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 10px; }
.footnote { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: var(--ink-3); max-width: 78ch; }
.notice { margin-top: 16px; font-size: 13.5px; color: var(--amber); background: var(--amber-bg); border-radius: 10px; padding: 10px 14px; max-width: 70ch; }
.notice code { background: transparent; padding: 0; }
.error-page { padding: 48px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.error-page h1 { font-family: var(--serif); font-size: 34px; font-weight: 500; }

/* ---------- front page ---------- */
.hero { padding: 28px 0 30px; }
.hero h1 { font-family: var(--serif); font-size: clamp(36px, 6vw, 60px); line-height: 1.04; font-weight: 500; letter-spacing: -.022em; margin: 10px 0 16px; text-wrap: balance; }
.herostats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.herostats dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.herostats dd { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hs-outlets dd { display: flex; gap: 5px; align-items: center; min-height: 36px; }

.toolbar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 10px 0; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.search { position: relative; flex: 1 1 280px; min-width: 0; }
.search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; height: 38px; padding: 0 12px 0 36px; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.resultline { font-size: 13px; color: var(--ink-3); min-height: 20px; margin: 10px 0 6px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cards > .empty { grid-column: 1 / -1; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; box-shadow: var(--shadow); transition: box-shadow .18s, transform .18s, border-color .18s; }
.card:hover, .card:focus-within { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--line-2); }
.card-kicker { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 12px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card-kicker .rank { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink); }
.card-kicker .dur::before { content: "·"; margin-right: 10px; }
.card h2 { font-family: var(--serif); font-size: 23px; line-height: 1.18; font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
.card-link { text-decoration: none; color: inherit; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:hover .card-link, .card:focus-within .card-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.card .chip-e, .card .card-topic, .card .card-hit a { position: relative; z-index: 1; }
.card h2 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-topic { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-decoration: none; }
.card-topic::after { content: "·"; margin-left: 10px; }
.card-topic:hover { color: var(--ink); text-decoration: underline; }
.card-hit { font-size: 12.5px; color: var(--ink-3); }
.card-hit a { color: var(--accent); }
.card .sum { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .chips { max-height: 25px; overflow: hidden; }
.card-foot { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.card-foot .tag { margin-left: auto; }
.card-top, .card-a, .card-b { display: flex; flex-direction: column; gap: 10px; }
.card-lead { grid-column: 1 / -1; padding: 30px 32px 22px; }
.card-lead .card-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 8px; }
.card-lead .card-b { gap: 14px; padding-top: 4px; }
.card-lead h2 { font-size: clamp(27px, 3.6vw, 38px); line-height: 1.1; font-weight: 500; max-width: 24ch; }
.card-lead .sum { font-family: var(--serif); font-size: 18px; color: var(--ink); max-width: 72ch; -webkit-line-clamp: 5; }

/* ---------- story header ---------- */
.back { display: inline-flex; gap: 6px; font-size: 13px; color: var(--ink-3); text-decoration: none; margin-bottom: 22px; }
.back:hover { color: var(--ink); }
.shead { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; margin-bottom: 30px; }
.shead h1 { font-family: var(--serif); font-size: clamp(31px, 4.6vw, 48px); line-height: 1.07; font-weight: 500; letter-spacing: -.02em; margin: 10px 0 0; text-wrap: balance; }
.flag { margin-top: 10px; font-size: 12px; color: var(--ink-3); font-style: italic; cursor: help; }
.flag a { color: var(--accent); }
.flag:not([title]) { cursor: auto; }
.now { font-family: var(--serif); font-size: 19.5px; line-height: 1.55; margin-top: 22px; max-width: 64ch; text-wrap: pretty; }
.now small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ents { margin-top: 20px; }
.shead-side { padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.stats dd { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stats dt { font-size: 12px; line-height: 1.35; color: var(--ink-3); margin-top: 5px; }
.stats .st-diff dd { color: var(--red); }
.stats .st-one dd { color: var(--amber); }
.side-outlets { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.onames { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }

/* sticky view tabs */
.bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 16px; min-height: var(--bar-h); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); margin-bottom: 26px; }
.tabs { display: flex; gap: 26px; align-self: stretch; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 0 1px; font-size: 14.5px; font-weight: 500; color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); font-weight: 600; }
.tabs a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); border-radius: 3px 3px 0 0; }
.tabs .n { font-size: 11.5px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: var(--sunken); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tabs .short { display: none; }
#barExtra { margin-left: auto; min-width: 0; }
.chsel { display: none; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); min-width: 0; }
.chsel select { min-width: 0; width: 100%; height: 34px; padding: 0 28px 0 10px; font-size: 13.5px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 9px center / 12px; border: 1px solid var(--line-2); border-radius: 9px; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; }

/* ---------- two-column story layout ---------- */
.layout-solo { max-width: 780px; }
.layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 56px; align-items: start; }
.side { position: sticky; top: calc(var(--bar-h) + 20px); max-height: calc(100vh - var(--bar-h) - 36px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.main { min-width: 0; max-width: 780px; }
.toc ol { margin-top: 10px; display: flex; flex-direction: column; gap: 1px; }
.toc button { appearance: none; display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-left: 2px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; font-size: 13.5px; line-height: 1.35; border-radius: 0 8px 8px 0; }
.toc button:hover { background: var(--sunken); color: var(--ink); }
.toc button.cur { border-left-color: var(--ink); color: var(--ink); background: var(--sunken); font-weight: 600; }
.toc-n { flex: none; width: 18px; font-size: 12px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 1px; }
.toc button.cur .toc-n { color: var(--ink); }
.toc-t { flex: 1; min-width: 0; }
.toc-t small { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.toc button > .dot { width: 7px; height: 7px; margin-top: 6px; }
.toc-c { font-size: 12px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.toc-flat button { align-items: center; }
.toc-flat .dot { margin-top: 0; }

/* chapter strip */
.strip { margin: -6px 0 26px; }
.strip-bar { display: flex; gap: 3px; }
.seg-ch { appearance: none; min-width: 16px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: var(--sunken); color: var(--ink-2); font-size: 12px; font-weight: 600; cursor: pointer; overflow: hidden; transition: background .15s, color .15s; font-variant-numeric: tabular-nums; }
.seg-ch:hover { background: var(--line-2); color: var(--ink); }
.seg-ch.cur { background: var(--ink); color: var(--bg); }
.strip-axis { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.strip-hint { opacity: .85; text-align: center; }

/* timeline tools */
.tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; scroll-margin-top: calc(var(--bar-h) + 12px); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12.5px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }

/* markers: one vocabulary shared by the legend and the rail */
.mk, .node i { display: block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.mk-key, .ev.is-key .node i { border-radius: 2px; transform: rotate(45deg) scale(.92); background: var(--ink); border-color: var(--ink); }
.mk-diff, .ev.is-diff .node i { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px var(--red-bg); }
.mk-one, .ev.is-one .node i { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px var(--amber-bg); }
.mk-ann, .ev.is-ann .node i { background: var(--bg); border-style: dashed; box-shadow: none; }
.ev.is-ann.is-diff .node i { border-color: var(--red); }
.ev.is-ann.is-one .node i { border-color: var(--amber); }
.ev.is-ann.is-key .node i { border-color: var(--ink); border-style: dashed; background: var(--bg); }
.legend .mk-diff, .legend .mk-one { box-shadow: none; }

/* chapters and events */
.chapter { scroll-margin-top: calc(var(--bar-h) + 8px); padding-top: 34px; }
.chh { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.chn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chh h2 { font-family: var(--serif); font-size: 25px; line-height: 1.18; font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
.chh p { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }

.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: 91px; top: 14px; bottom: 14px; width: 2px; background: var(--line); border-radius: 2px; }
.ev { display: grid; grid-template-columns: 74px 36px minmax(0, 1fr); align-items: start; padding: 12px 0; border-radius: 10px; scroll-margin-top: calc(var(--bar-h) + 16px); }
.date { text-align: right; padding-top: 2px; line-height: 1.2; }
.date b { display: block; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.date span { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.node { position: relative; height: 22px; display: flex; align-items: center; justify-content: center; }
.node i { position: relative; z-index: 1; margin-top: 2px; }
.evk { display: flex; gap: 10px; align-items: center; margin-bottom: 3px; }
.kp { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.st { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: 99px; padding: 0 8px; }
.body h3 { font-size: 15.5px; font-weight: 600; line-height: 1.38; text-wrap: pretty; }
.ev.is-key .body h3 { font-family: var(--serif); font-size: 21px; line-height: 1.22; font-weight: 600; letter-spacing: -.008em; }
.det { margin-top: 3px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 9px; }
.ev.flash { animation: flash 2.4s ease-out 1; }
@keyframes flash { 0%, 35% { background: var(--accent-bg); box-shadow: 0 0 0 8px var(--accent-bg); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }

#timeline[data-filter="key"] .ev:not(.is-key),
#timeline[data-filter="facts"] .ev:not(.has-facts) { display: none; }

/* ---------- compared facts ---------- */
.facts { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.facts > summary { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; padding: 8px 12px; cursor: pointer; list-style: none; }
.facts > summary::-webkit-details-marker { display: none; }
.facts > summary:hover { background: color-mix(in srgb, var(--sunken) 50%, transparent); }
.fs-t { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.fs-x { margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.fs-x::before { content: "Ver"; }
.facts[open] .fs-x::before { content: "Ocultar"; }
.fs-x::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); transition: transform .15s; }
.facts[open] .fs-x::after { transform: rotate(-135deg) translate(-1px, -1px); }
.facts .fact { border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: inset 3px 0 0 var(--fc); padding: 12px 14px 11px 16px; }
.facts .fact-hd .tag:not(.tag-res) { display: none; }
.facts .fact-hd { margin-bottom: 8px; }
.facts .fact-hd h4::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--fc); margin-right: 8px; vertical-align: 1px; }
.facts .fv-val { font-size: 16.5px; }
.facts .fv-val.fv-long { font-size: 15px; }
.factlist { display: flex; flex-direction: column; gap: 14px; }
.fact { --fc: var(--line-2); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--fc); border-radius: 4px var(--r) var(--r) 4px; padding: 14px 16px 12px; }
.f-t-diff { --fc: var(--red); }
.f-t-one { --fc: var(--amber); }
.f-t-ok { --fc: var(--green); }
.fact-hd { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fact-hd h4 { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fvs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.fv { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fvs-many .fv { padding: 10px 12px; background: var(--bg); border-radius: 9px; }
.fv-val { font-family: var(--serif); font-size: 19px; line-height: 1.25; font-weight: 600; text-wrap: pretty; }
.fv-val.fv-long { font-size: 16px; line-height: 1.35; font-weight: 500; }
.fv-src { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.fv-att { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.fv-att span { color: var(--ink-3); }
.resolved { margin-top: 10px; font-size: 13px; color: var(--ink-2); background: var(--green-bg); border-radius: 8px; padding: 7px 11px; }
.resolved b { color: var(--green); font-weight: 600; margin-right: 4px; }
.quotes { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.quotes summary { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; list-style: none; border-radius: 6px; }
.quotes summary::-webkit-details-marker { display: none; }
.quotes summary::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin: 0 3px 0 1px; }
.quotes[open] summary::before { transform: rotate(45deg); }
.quotes summary:hover { color: var(--ink); }
.quote { margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--line-2); }
.quote blockquote { font-family: var(--serif); font-size: 15.5px; line-height: 1.5; font-style: italic; color: var(--ink); }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.quote figcaption .ob { width: 18px; height: 18px; font-size: 8px; border-radius: 5px; }
.quote figcaption > span:not(.ob) + span::before { content: "·"; margin-right: 8px; }
.quote figcaption a { margin-left: auto; color: var(--accent); text-decoration: none; white-space: nowrap; }
.quote figcaption a:hover { text-decoration: underline; }
.evlink { display: block; font-size: 13px; line-height: 1.4; color: var(--accent); text-decoration: none; }
.evlink:hover { text-decoration: underline; }
.evlink span { display: block; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fact-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: baseline; }
.fact-foot > span { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.fact-foot .evlink span { display: inline; margin-right: 8px; }

/* ---------- sections (datos, medios) ---------- */
.sec { scroll-margin-top: calc(var(--bar-h) + 12px); }
.sec + .sec { margin-top: 48px; }
.sec-hd { margin-bottom: 18px; }
.sec-hd h2 { font-family: var(--serif); font-size: 26px; line-height: 1.18; font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
.sec-hd h2 .n { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0; vertical-align: 5px; margin-left: 10px; padding: 2px 8px; border-radius: 99px; background: var(--sunken); color: var(--ink-2); }
.sec-hd p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); max-width: 66ch; text-wrap: pretty; }

.ocards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ocard { --oc: #666; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.ocard header { display: flex; gap: 11px; align-items: center; }
.ocard h3 { font-size: 15.5px; font-weight: 600; line-height: 1.2; }
.ocard-big { font-size: 13px; color: var(--ink-2); }
.ocard-big b { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; color: var(--ink); margin-right: 5px; font-variant-numeric: tabular-nums; }
.meter { height: 6px; border-radius: 99px; background: var(--sunken); overflow: hidden; margin-top: -4px; }
.meter i { display: block; height: 100%; min-width: 3px; border-radius: 99px; background: var(--oc); }
.ostats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ostats dd { font-size: 19px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ostats dt { font-size: 11.5px; line-height: 1.35; color: var(--ink-3); margin-top: 3px; }
.oattr { display: flex; flex-direction: column; gap: 7px; }
.split { display: flex; gap: 2px; height: 8px; border-radius: 99px; overflow: hidden; }
.split i { display: block; min-width: 0; }
.split .own, .sw.own { background: var(--ink); }
.split .cit, .sw.cit { background: var(--line-2); }
.split-key { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-2); }
.split-key span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 8px; height: 8px; border-radius: 2px; }
.cites { font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.cites span { color: var(--ink-3); }

.scroller { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.heatgrid { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
.heatgrid th, .heatgrid td { padding: 6px 4px; text-align: center; }
.heatgrid thead th { font-size: 11.5px; font-weight: 600; color: var(--ink-3); padding-top: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.heatgrid th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); text-align: left; padding-left: 16px; padding-right: 14px; white-space: nowrap; }
.heatgrid tbody th { font-weight: 500; }
.heatgrid tbody th > * { vertical-align: middle; }
.heatgrid tbody th span:not(.ob) { margin-left: 8px; }
.heatgrid tbody tr:last-child > * { padding-bottom: 12px; }
.heatgrid td:last-child { padding-right: 14px; }
.heat { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 7px; background: color-mix(in srgb, var(--accent) var(--h), var(--surface)); color: var(--ink); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.heat-hi { color: var(--surface); }
.heat-0 { background: transparent; color: var(--ink-3); opacity: .55; font-weight: 400; }
.chkey { margin-top: 14px; columns: 2 260px; column-gap: 28px; counter-reset: ck; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.chkey li { counter-increment: ck; break-inside: avoid; padding: 2px 0 2px 30px; position: relative; }
.chkey li::before { content: counter(ck); position: absolute; left: 0; width: 22px; white-space: nowrap; text-align: right; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.races { border-top: 1px solid var(--line); }
.race { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.race time { font-size: 12.5px; color: var(--ink-3); padding-top: 2px; font-variant-numeric: tabular-nums; }
.race-t { font-size: 15px; font-weight: 600; line-height: 1.38; text-decoration: none; text-wrap: pretty; }
.race-t:hover { text-decoration: underline; text-underline-offset: 3px; }
.rlane { display: flex; flex-wrap: wrap; gap: 8px 6px; align-items: center; margin-top: 9px; }
.lap { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); padding: 3px 10px 3px 4px; border: 1px solid var(--line); border-radius: 99px; white-space: nowrap; }
.lap small { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lap-1 { background: var(--surface); border-color: var(--line-2); color: var(--ink); font-weight: 600; }
.lap-1 small { font-weight: 400; }
.then { font-style: normal; color: var(--line-2); font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .covm { grid-column: 1 / -1; }
  .shead { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .shead-side { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .side-outlets { margin: 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--line); }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .side { position: static; max-height: none; overflow: visible; padding: 0; }
  .side:has(.toc:not(.toc-flat)) { display: none; }
  .toc-flat { margin-bottom: 28px; }
  .toc-flat .minihd { display: none; }
  .toc-flat ol { flex-direction: row; flex-wrap: wrap; gap: 8px; margin: 0; }
  .toc-flat button { width: auto; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; gap: 8px; background: var(--surface); }
  .toc-flat button.cur { border-color: var(--ink); background: var(--surface); }
  .main { max-width: 780px; }
  .chsel { display: inline-flex; max-width: 300px; }
  .strip-hint { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 88px; }
  .mast-in { flex-wrap: wrap; align-content: flex-start; gap: 0 12px; height: auto; }
  .brand { height: 48px; }
  .mast-right { min-width: 0; height: 48px; align-items: center; margin-left: auto; }
  .nav { order: 3; flex: 0 0 100%; margin: 0; height: 40px; gap: 20px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .pill-quiet .long { display: none; }
  .pill-quiet .short { display: inline; }
  .scopesw .long { display: none; }
  .scopesw .short { display: inline; }
}
@media (max-width: 760px) {
  .mast-in, .wrap, .foot-in { padding-left: 18px; padding-right: 18px; }
  .wrap { padding-top: 20px; }
  .hero { padding: 14px 0 22px; }
  .lede { font-size: 18px; }
  .herostats { gap: 12px 28px; }
  .herostats dd { font-size: 25px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card, .card-lead { padding: 20px 18px 16px; }
  .card-lead .sum { font-size: 16.5px; }
  .card-lead .card-top { display: flex; gap: 10px; padding-bottom: 0; }
  .card-foot .tag { margin-left: 0; }
  .toolbar { position: static; padding-top: 0; }
  .toolbar .seg { width: 100%; }
  .toolbar .seg button { flex: 1; padding: 6px 4px; }
  .shead-side { display: block; padding: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats dd { font-size: 28px; }
  .side-outlets { margin-top: 16px; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .now { font-size: 18px; }
  .bar { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; margin-left: -18px; margin-right: -18px; padding: 0 18px; }
  .tabs { min-height: 48px; gap: 22px; }
  .tabs .long { display: none; }
  .tabs .short { display: inline; }
  #barExtra { margin: 0; }
  #barExtra:empty { display: none; }
  .chsel { display: flex; max-width: none; padding: 0 0 9px; }
  .chsel span { display: none; }
  :root { --bar-h: 96px; }
  .tools .seg { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tools .seg::-webkit-scrollbar { display: none; }
  .tools .seg button { flex: 1 0 auto; padding: 6px 8px; font-size: 12.5px; }
  .seg .long { display: none; }
  .seg .short { display: inline; }
  .chh h2 { font-size: 22px; }
  .tl::before { left: 9px; top: 18px; }
  .ev { grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; padding: 11px 0; }
  .date { grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 2px; }
  .date b, .date span { display: inline; font-size: 12px; }
  .date b { font-weight: 700; }
  .date span { margin-left: 4px; }
  .node { grid-column: 1; grid-row: 1 / span 2; height: 18px; }
  .node i { margin-top: 0; }
  .body { grid-column: 2; }
  .ev.is-key .body h3 { font-size: 19.5px; }
  .fact { padding: 12px 12px 10px; }
  .fvs { grid-template-columns: minmax(0, 1fr); }
  .fact-foot { flex-direction: column; gap: 3px; }
  .quote figcaption a { margin-left: 0; }
  .sec-hd h2 { font-size: 23px; }
  .ocards { grid-template-columns: minmax(0, 1fr); }
  .heatgrid tbody th span:not(.ob) { display: none; }
  .heatgrid th:first-child { padding-left: 12px; padding-right: 8px; }
  .heatgrid thead th:first-child { font-size: 0; }
  .race { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .footnote { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Front-page filters for the full story set */
.filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; padding: 12px 0 2px; }
.fld { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.fld select, .fld input { height: 34px; padding: 0 10px; font: inherit; font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 9px; min-width: 0; }
.fld select:focus, .fld input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.linkbtn { appearance: none; border: 0; background: none; padding: 0 2px; height: 34px; font: inherit; font-size: 13px; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.more { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 26px 0 8px; font-size: 13px; color: var(--ink-3); }
.more:empty { display: none; }
.seg-scroll { overflow-x: auto; scrollbar-width: none; }
.seg-scroll::-webkit-scrollbar { display: none; }
@media (max-width: 620px) {
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters .fld:first-child:has(select) { grid-column: 1 / -1; }
}

/* ======================================================================
   Tasks 2-3: shared components and the front page
   ====================================================================== */
.chip-e { text-decoration: none; cursor: pointer; }
.chip-e:hover, .chip-e:focus-visible { border-color: var(--ink-3); background: var(--sunken); color: var(--ink); }
.chip { max-width: 28ch; }

/* notes */
.dnote { font-size: 12.5px; line-height: 1.55; color: var(--ink-3); max-width: 78ch; padding: 8px 12px; border: 1px dashed var(--line-2); border-radius: 10px; margin-top: 14px; }
.dnote-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--amber); margin-right: 8px; }
.dnote a { color: var(--accent); }
.prov { font-size: 12px; line-height: 1.6; color: var(--ink-3); margin-top: 14px; max-width: 78ch; }
.prov a { color: var(--accent); }
.prov .minihd { margin-right: 4px; }
.prov code { font-size: .92em; }
.banner { font-size: 13.5px; padding: 10px 14px; background: var(--accent-bg); border-radius: 10px; margin-bottom: 18px; }
.banner a { color: var(--accent); font-weight: 600; }
.banner .lag { margin-left: 4px; }
.gapline { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); padding: 6px 10px; border-left: 2px dashed var(--line-2); margin: 0 0 10px; }
.gapline b { font-weight: 600; color: var(--ink-2); }
.gapline a { color: var(--accent); }
.gapmark { display: inline-block; width: 10px; height: 10px; background: var(--hatch), var(--sunken); border: 1px dashed var(--line-2); margin-right: 8px; vertical-align: -1px; }
.ob-gap { background: var(--hatch), var(--sunken); border: 1px dashed var(--line-2); color: var(--ink-3); box-shadow: none; }
a.ob-gap:hover { transform: none; }

/* page header */
.ph { padding: 18px 0 26px; }
.ph h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; margin: 8px 0 0; }
.ph .lede { margin-top: 14px; }
.ph-meta { margin-top: 10px; }
.notice a { color: inherit; }

/* story row */
.srow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.srow:hover .srow-t { text-decoration: underline; text-underline-offset: 3px; }
.srow-t { font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.srow-m { white-space: nowrap; }
.srow-m .tag { margin-left: 6px; }
.srows { border-top: 1px solid var(--line); }

/* follow button */
.follow { gap: 8px; }
.follow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.follow.is-on { border-color: var(--ink); }
.follow.is-on svg { fill: currentColor; }

/* charts */
.chartcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.ax { font-size: 11px; fill: var(--ink-3); font-family: var(--sans); }
.ax-v { fill: var(--ink-2); font-weight: 600; }
.grid { stroke: var(--line); stroke-width: 1; }
.spark { display: block; overflow: visible; }
.spark-a { fill: var(--chart); opacity: .12; }
.spark-l { fill: none; stroke: var(--chart); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.spark-p { stroke-dasharray: 2 2; }
.spark-d { fill: var(--chart); }
.bars { display: block; width: 100%; height: auto; overflow: visible; }
.bar-r { fill: var(--chart); opacity: .7; }
.bar-r.is-peak { opacity: 1; }
.bar-r.is-partial { opacity: .4; }
.bar-gap { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }
.hatch-bg { fill: var(--sunken); }
.hatch-l { stroke: var(--line-2); }
.lines { display: block; width: 100%; height: auto; }
.ln { stroke-width: 2; stroke-linecap: round; fill: none; }
.ln-p { stroke-dasharray: 4 4; }
.ln-d { fill: var(--surface); stroke-width: 2; }
.ln-end { stroke: var(--surface); stroke-width: 2; }
.ax-end { fill: var(--ink-2); }
.hit-col { fill: transparent; }
.hit-col:hover { fill: var(--ink); opacity: .04; }
.arow { display: block; }
.arow-a { fill: var(--rc, var(--chart)); opacity: .22; }
.arow-l { fill: none; stroke: var(--rc, var(--chart)); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hbar { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) 56px; gap: 12px; align-items: center; padding: 5px 0; font-size: 13.5px; }
.hbar .meter { margin-top: 0; height: 8px; }
.hbar-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-l a { text-decoration: none; }
.hbar-l a:hover { text-decoration: underline; }
.hbar-v { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* front page additions */
.fld-wide .seg { align-self: flex-start; }
.fld .seg button { font-size: 12.5px; text-transform: none; letter-spacing: 0; }
@media (max-width: 620px) {
  .filters .fld-wide { grid-column: 1 / -1; }
  .filters .fld select, .filters .fld input { width: 100%; }
}

/* ======================================================================
   Tasks 4-6: story header, day groups, timeline fidelity
   ====================================================================== */
.shead-act { margin-top: 14px; }
.shead .kicker a { color: inherit; text-decoration: none; }
.shead .kicker a:hover { color: var(--ink); text-decoration: underline; }
.rels { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.rels > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.rels dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rels dd { font-size: 13.5px; line-height: 1.5; }
.rels dd a { color: var(--accent); text-decoration: none; }
.rels dd a:hover { text-decoration: underline; }
.rels-more { white-space: nowrap; }
.mk-res { background: var(--green); border-color: var(--green); }
.tag-res { margin-left: 6px; }
.fact-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.evk .tag-res { margin-left: 0; }
/* junctions: an event shared with other stories gets a ring on the rail and a box listing them */
.ev-j .node i::after, .mk-j::after { content: ""; position: absolute; inset: -10px; border: 2px solid var(--accent); border-radius: 50%; pointer-events: none; }
.mk-j { position: relative; margin: 0 5px; }
.mk-j::after { inset: -6px; }
.jbadge { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-top: 1px; font-size: 11.5px; font-weight: 600; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.jbadge svg, .jn-h svg, .tog svg { width: 13px; height: 13px; flex: none; }
.jtools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tog { appearance: none; display: inline-flex; gap: 7px; align-items: center; padding: 5px 13px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.tog:hover { border-color: var(--accent); }
.tog .n { font-size: 11.5px; font-weight: 500; opacity: .8; font-variant-numeric: tabular-nums; }
.tog[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.jhid { margin: 14px 0 0 110px; }
.jn { margin-top: 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); overflow: hidden; }
.jn-h { display: flex; gap: 7px; align-items: center; padding: 8px 12px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--sunken); }
.jr { border-top: 1px solid var(--line); }
.jr[hidden] { display: none; }
.jr > summary { list-style: none; cursor: pointer; padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; }
.jr > summary::-webkit-details-marker { display: none; }
.jr > summary:hover { background: color-mix(in srgb, var(--sunken) 50%, transparent); }
.jr > summary:focus-visible { outline-offset: -2px; }
.jr b { font-size: 14px; font-weight: 600; line-height: 1.35; }
.jr .lag { grid-column: 1; }
.jr .pk { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.jr[open] .pk::after { content: " ▴"; }
.jr:not([open]) .pk::after { content: " ▾"; }
.jr-s { padding: 10px 12px; }
.jn-more { display: block; height: auto; padding: 9px 12px; border-top: 1px solid var(--line); width: 100%; text-align: left; text-decoration: none; font-weight: 600; }
.jn-more:hover { background: color-mix(in srgb, var(--sunken) 50%, transparent); }
.peek { padding: 2px 12px 12px; }
.peek ol { border-left: 2px solid var(--accent); margin-left: 6px; }
.peek li { position: relative; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; padding: 5px 0 5px 16px; font-size: 13.5px; line-height: 1.4; }
.peek li::before { content: ""; position: absolute; left: -5px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.peek li.cur { font-weight: 600; }
.peek li.cur::before { left: -7px; top: 10px; width: 12px; height: 12px; box-sizing: border-box; background: var(--surface); border: 2px solid var(--accent); }
.peek li time { flex: none; min-width: 78px; font-size: 12px; font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.peek li > span:not(.tag) { flex: 1 1 200px; min-width: 0; }
.peek li.gap { color: var(--ink-3); font-size: 12.5px; }
.peek li.gap::before { display: none; }
.peek .tag-j { padding: 0 8px; font-size: 11px; background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.peek .tag-j::before { display: none; }
.peek .tag-j:not(.tag-both) { background: var(--accent-bg); }
.peek .tag-j.tag-like { border-color: var(--line-2); color: var(--ink-3); background: transparent; }
.peek .tag-j.tag-new { border-color: transparent; background: var(--ink); color: var(--bg); }
.jr .lag b { font-weight: 700; color: var(--ink); }
.peek .go { display: inline-block; margin: 8px 0 0 6px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.peek .go:hover { text-decoration: underline; }
#timeline[data-j] .daymore, #timeline[data-j] .ev:not(.ev-j) { display: none; }
.fv-none { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-3); }
.fv-none .ob { filter: grayscale(1); opacity: .55; }
.tl-end { margin-top: 40px; padding: 18px 20px; background: var(--sunken); border-radius: var(--r); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.endline { margin-top: 28px; font-size: 13.5px; color: var(--ink-2); }
.endline + .footnote { margin-top: 14px; }

/* day groups */
.day { display: block; }
.dayevs { display: block; }
.dayhd { font-size: 12.5px; color: var(--ink-2); padding: 10px 0 2px; margin-left: 110px; }
.dayhd b { color: var(--ink); font-weight: 600; }
.dayhd-c, .date .dc { color: var(--ink-3); font-weight: 400; }
.date .dc { display: block; font-size: 11px; }
.date .t { display: block; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-top: 1px; }
.date-t { padding-top: 4px; }
.ev-cont .date b, .ev-cont .date .dy, .ev-cont .date .dc { display: none; }
.ev-cont .node i { width: 8px; height: 8px; }
.ev-cont.is-key .node i { transform: rotate(45deg) scale(.92); }
.daymore { display: block; margin: 0 0 6px 110px; height: auto; padding: 6px 2px; }
#timeline[data-filter="all"]:not([data-j]) .day:not(.day-open) .ev-fold { display: none; }
#timeline:not([data-filter="all"]) .daymore { display: none; }
.day-big .ev { padding: 8px 0; }

/* chapter strip with titles */
.seg-ch { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 6px; }
.seg-ch em { display: none; font-style: normal; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg-ch.is-wide em { display: block; }
.seg-ch span { flex: none; }

@media (max-width: 760px) {
  .rels > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dayhd, .daymore, .jhid { margin-left: 32px; }
  .ev-cont .date { display: block; }
  .date .t, .date .dc { display: inline; margin-left: 6px; }
  .date-t .t { margin-left: 0; font-size: 12px; }
}

/* ======================================================================
   Tasks 7-9: related tab, catch-up, outlets tab
   ====================================================================== */
.srows { border-top: 1px solid var(--line); }
.cx-hd { margin: 26px 0 8px; }
.cxl { border-top: 1px solid var(--line); }
.cx { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cx .lag { padding-top: 3px; }
.cx-t { font-size: 14.5px; font-weight: 600; text-decoration: none; }
.cx-t:hover { text-decoration: underline; }
.cx .chips { margin-top: 6px; }
.note-s { margin-top: 10px; max-width: 70ch; }
.lane-hint { display: none; margin-bottom: 6px; }
.lanebox { margin: 4px 0 8px; }
.lanes { display: block; width: 100%; min-width: 640px; height: auto; }
.lane-t { stroke: var(--line); stroke-width: 1; }
.lane-l { stroke: var(--line-2); stroke-width: 5; stroke-linecap: round; }
.lane-c { stroke: var(--line-2); stroke-width: 1; }
.lane-n { fill: var(--ink-2); }
.lane-main { stroke: var(--ink); stroke-width: 8; stroke-linecap: round; }
.lane-x { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.lane-lb { font-size: 12px; fill: var(--ink-2); font-family: var(--sans); }
.lane-lb-main { fill: var(--ink); font-weight: 600; }
a.lane { cursor: pointer; }
a.lane:hover .lane-l, a.lane:focus .lane-l { stroke: var(--ink-3); }
a.lane:hover .lane-lb, a.lane:focus .lane-lb { fill: var(--ink); text-decoration: underline; }
a.lane:focus-visible { outline: none; }
a.lane:focus-visible .lane-lb { text-decoration: underline; }

/* catch-up */
.catch .sec + .sec { margin-top: 36px; }
.now-plain { margin-top: 8px; }
.catch-meta { margin-top: 10px; }
.catch .banner { margin-top: 14px; margin-bottom: 0; }
.catch-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.bx { background: var(--sunken); border-radius: 12px; padding: 14px 16px; }
.bx .minihd { margin-bottom: 8px; }
.ckl { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.ckl li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; font-size: 13.5px; line-height: 1.45; }
.ckl .obs { vertical-align: middle; margin-left: 4px; }
.ck { color: var(--green); font-weight: 700; }
.ck-x { color: var(--red); }
.mini-tl { margin-top: 10px; }
.mini-tl li { display: grid; grid-template-columns: 64px 14px minmax(0, 1fr); gap: 10px; padding: 7px 0; font-size: 14px; line-height: 1.4; position: relative; }
.mini-tl li::before { content: ""; position: absolute; left: 73px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.mini-tl li:first-child::before { top: 16px; }
.mini-tl li:last-child::before { bottom: calc(100% - 16px); }
.mt-d { font-size: 12.5px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-d small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-3); }
.mt-n { position: relative; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--ink); z-index: 1; }
.mini-tl .is-latest .mt-n { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.mini-tl a { font-weight: 600; text-decoration: none; }
.mini-tl a:hover { text-decoration: underline; }
.t-new { background: var(--accent-bg); color: var(--accent); }
.annl { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; font-size: 14px; line-height: 1.4; }
.annl a { text-decoration: none; font-weight: 600; }
.annl a:hover { text-decoration: underline; }
.annl .lag { display: block; }
.catch-2 .minihd { margin-bottom: 4px; }
.orig { border-bottom: 1px solid var(--line); }
.orig summary { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 13.5px; cursor: pointer; list-style: none; }
.orig summary::-webkit-details-marker { display: none; }
.orig summary::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: rotate(45deg); }
.orig[open] summary::after { transform: rotate(-135deg); }
.orig ul { padding: 0 0 8px 4px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.4; }
.orig a { color: var(--accent); text-decoration: none; }
.orig a:hover { text-decoration: underline; }
.orig p { padding-bottom: 8px; }

/* outlets tab */
.tiles { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tiles dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tiles dd { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; }
.cvlegend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; font-size: 12.5px; color: var(--ink-2); }
.cvlegend li { display: inline-flex; align-items: center; gap: 8px; }
.covscroll { margin-top: 14px; }
.cv { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 30px; padding: 0 8px; border-radius: 7px; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv-first { background: var(--accent-bg); color: var(--accent); font-weight: 600; }
.cv-cov { background: var(--green-bg); color: var(--ink); }
.cv-none { background: var(--sunken); color: var(--ink-3); }
.cv-gap, .heat-gap { background: var(--hatch), var(--sunken); color: var(--ink-3); border: 1px dashed var(--line-2); font-weight: 400; }
.heat-gap { font-size: 11px; }
.covgrid thead th { min-width: 78px; }
.covgrid thead th:first-child { text-align: left; min-width: 180px; }
.covgrid thead th span:not(.ob) { display: block; font-weight: 500; margin-top: 3px; }
.covgrid tbody th { white-space: normal; min-width: 200px; max-width: 320px; padding-top: 7px; padding-bottom: 7px; }
.covgrid tbody th .lag { display: block; margin: 0 0 1px; }
.covgrid tbody th a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 500; text-decoration: none; line-height: 1.35; }
.covgrid tbody th a:hover { text-decoration: underline; }
.covgrid tbody th span:not(.ob) { margin-left: 0; }
.covgrid td { padding: 4px; }
.seg + .scroller { margin-top: 14px; }
.lap-gap { background: var(--hatch), var(--sunken); border-style: dashed; color: var(--ink-3); }
.lap-gap .ob { width: 18px; height: 18px; font-size: 8px; }
.told { border-top: 1px solid var(--line); padding: 16px 0; }
.told header { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; margin-bottom: 10px; }
.told h3 { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.told h3 a { text-decoration: none; }
.told h3 a:hover { text-decoration: underline; }
.told-row { display: grid; grid-template-columns: 170px 110px minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 6px 0; }
.told-gap { grid-template-columns: 22px 148px minmax(0, 1fr); align-items: center; }
.told-v { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.45; }
.told-v li > span:first-child { color: var(--ink-3); margin-right: 4px; }
.told-v li > span.lag { margin-left: 6px; }
.told-none, .told-gap { opacity: .85; }
.toldlist { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .catch-2 { grid-template-columns: minmax(0, 1fr); }
  .lane-hint { display: block; }
  .covgrid thead th span:not(.ob) { display: none; }
  .covgrid tbody th { min-width: 170px; }
  .told header { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .told-row, .told-gap { grid-template-columns: minmax(0, 1fr); }
  .cx { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .srow { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .srow-m { white-space: normal; }
  .tiles dd { font-size: 24px; }
}

/* ======================================================================
   Tasks 10-11: entity pages, directory, trending
   ====================================================================== */
.ehead { display: flex; align-items: center; gap: 18px; padding: 6px 0 18px; flex-wrap: wrap; }
.ehead-i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sunken); color: var(--ink-2); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.ehead-t { min-width: 0; flex: 1 1 280px; }
.ehead h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.ehead-k { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.aliases { margin: 4px 0 6px; display: flex; flex-direction: column; gap: 8px; }
.ent-tiles { margin-top: 22px; margin-bottom: 26px; }
.tile-sm { font-size: 20px !important; padding-top: 6px; }
.ent-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ent-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cc-h { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.cc-h2 { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 8px; }
.chartcard .gapline { margin-top: 12px; }
.co { gap: 8px 14px; }
.co-i { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.ent-stories { margin-top: 48px; }
.ent-stories .seg { margin-bottom: 18px; }
.dir { max-width: 780px; }
.erows { border-top: 1px solid var(--line); margin-top: 6px; }
.erow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.erow:hover .erow-t { text-decoration: underline; text-underline-offset: 3px; }
.erow-t { font-size: 15px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erow .lag { white-space: nowrap; }
.toggle { height: 30px; font-size: 12.5px; }
.toggle[aria-pressed="true"] { border-color: var(--ink); background: var(--sunken); }
.trendbox { margin-top: 0; }
.trend { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.trend th { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding: 12px 14px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.trend td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.trend tbody tr:last-child td { border-bottom: 0; }
.trend .c-n { width: 44px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.trend .c-num { text-align: right; font-variant-numeric: tabular-nums; }
.trend .c-name a { font-weight: 600; font-size: 14.5px; text-decoration: none; }
.trend .c-name a:hover { text-decoration: underline; }
.trend .c-name { min-width: 180px; }
.trend .tag { margin-left: 6px; }
.chg-up { color: var(--green); font-weight: 600; }
.chg-mid { color: var(--ink-2); font-weight: 500; }
.chg-low { color: var(--ink-3); font-weight: 500; }
.m-only { display: none; }
@media (max-width: 1020px) { .ent-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
@media (max-width: 760px) {
  .trendbox { border: 0; box-shadow: none; background: transparent; overflow: visible; }
  .trend, .trend tbody, .trend tr, .trend td { display: block; }
  .trend thead { display: none; }
  .trend tr { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "n name chg" ". spark spark"; gap: 4px 10px; align-items: center; padding: 12px 14px; margin-bottom: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
  .trend td { padding: 0; border: 0; }
  .trend .c-n { grid-area: n; width: auto; }
  .trend .c-name { grid-area: name; min-width: 0; }
  .trend .c-chg { grid-area: chg; }
  .trend .c-spark { grid-area: spark; }
  .trend .c-rec, .trend .c-base { display: none; }
  .trend .c-spark { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .trend .c-sum { font-size: 12.5px; color: var(--ink-3); text-align: right; }
  .m-only { display: block; }
  .erow { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .erow-t { white-space: normal; }
}

/* ======================================================================
   Tasks 12-13: daily briefing and following
   ====================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.daynav { justify-content: space-between; margin-bottom: 14px; padding: 8px 0; }
.daynav .btn { flex: none; height: 32px; }
.btn-off { opacity: .45; cursor: default; }
.btn-off:hover { border-color: var(--line-2); }
.daystrip { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 32px; min-width: 0; }
.ds { display: block; width: 6px; flex: none; background: var(--line-2); border-radius: 2px 2px 0 0; }
.ds:hover { background: var(--ink-3); }
.ds.is-cur { background: var(--ink); }
.daypick { display: none; flex: 1; }
.daypick input { width: 100%; height: 34px; padding: 0 10px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 9px; }
#dtopics { margin: 0 0 8px; }
.brief { border-top: 1px solid var(--line); margin-top: 16px; }
.brief-it { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.brief-n { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.brief-it h2 { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.brief-it h2 a { text-decoration: none; }
.brief-it h2 a:hover { text-decoration: underline; }
.brief-ev { font-family: var(--serif); font-size: 16.5px; line-height: 1.55; margin-top: 8px; color: var(--ink-2); max-width: 70ch; }
.brief-ev b { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); }
.brief-it > div > .lag { display: inline-block; margin-top: 6px; color: var(--accent); text-decoration: none; }
.brief-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 10px; }
.brief-meta .obs { margin-left: 4px; }
.brief-rest { margin-top: 36px; }
.br { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.brl { border-top: 1px solid var(--line); }
.br:hover .br-t { text-decoration: underline; text-underline-offset: 3px; }
.br-t { font-size: 14.5px; font-weight: 500; min-width: 0; }
.br .lag { white-space: nowrap; }
.fl-bar { display: flex; align-items: center; gap: 12px; margin: 6px 0 4px; flex-wrap: wrap; }
.fl-list { border-top: 1px solid var(--line); }
.fl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fl h2 { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.fl h2 a { text-decoration: none; }
.fl h2 a:hover { text-decoration: underline; }
.fl-new { margin: 6px 0 4px; display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.fl-new li { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.fl-new time { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fl-new a { color: var(--accent); text-decoration: none; }
.fl-side { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.fe { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fe-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.fe h3 { font-size: 16px; font-weight: 600; }
.fsearch { display: flex; gap: 10px; align-items: center; max-width: 780px; }
.fsearch .search { flex: 1; }
.hit { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hit time { padding-top: 3px; }
.hit h3 { font-size: 15.5px; font-weight: 600; line-height: 1.38; }
.hit h3 a { text-decoration: none; }
.hit h3 a:hover { text-decoration: underline; }
.hit .det { margin-top: 3px; }
.hit .meta { margin-top: 8px; }
mark { background: color-mix(in srgb, var(--amber) 28%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
#fres .resultline { margin-top: 16px; }
@media (max-width: 760px) {
  .daystrip { display: none; }
  .daypick { display: block; }
  .bar.daynav { flex-direction: row; align-items: center; gap: 8px; margin: 0 0 14px; padding: 8px 0; min-height: 0; }
  .daynav .btn { padding: 0 10px; }
  .fl { grid-template-columns: minmax(0, 1fr); }
  .fl-side { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .hit { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .fsearch { flex-wrap: wrap; }
}

/* ======================================================================
   Task 14: topics
   ====================================================================== */
.tcard { margin-top: 0; }
.legend-t { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.lg { appearance: none; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; color: var(--ink-2); cursor: pointer; }
.lg i { display: block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.lg[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.lg[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.ax-end { font-size: 11.5px; }
.astable { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.astable summary { cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 4px 0; }
.astable .scroller { margin-top: 10px; box-shadow: none; }
.tbl-topics th, .tbl-topics td { text-align: right; white-space: nowrap; padding: 6px 12px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tbl-topics th:first-child { text-align: left; }
.tbl-topics tbody th { font-weight: 500; }
.arcs { margin-top: 48px; }
.arcs select { font: inherit; font-family: var(--serif); font-size: inherit; font-weight: 600; padding: 2px 28px 2px 8px; border: 1px solid var(--line-2); border-radius: 9px; background-color: var(--surface); max-width: 100%; }
.arc-ax { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); padding: 0 0 6px; margin-left: 0; }
.arc { display: grid; grid-template-columns: minmax(0, 320px) 80px minmax(0, 1fr); gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.arc-t { font-weight: 500; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arc-t:hover { text-decoration: underline; }
.arc-track { position: relative; height: 8px; border-radius: 99px; background: var(--sunken); overflow: hidden; }
.arc-track i { position: absolute; top: 0; bottom: 0; min-width: 6px; border-radius: 99px; }
.arc-more { margin-top: 18px; }
.arcs > .sec-hd + div .arc-ax { margin-left: calc(320px + 80px + 24px); }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pn-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pn-h h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.sw-t { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.pn-ax { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin: 0 84px 4px 180px; }
.rw { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) 84px; gap: 10px; align-items: center; padding: 5px 0; font-size: 13.5px; }
.rw-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; font-weight: 500; }
.rw-n:hover { text-decoration: underline; }
.rw-c { display: block; min-width: 0; }
.rw-ph { display: block; height: 28px; border-radius: 4px; background: var(--sunken); }
.rw-pk { text-align: right; white-space: nowrap; }
.mlist { max-width: 640px; margin-top: 14px; }
@media (max-width: 1020px) { .panels { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .arc { grid-template-columns: minmax(0, 1fr) auto; }
  .arc-track { grid-column: 1 / -1; }
  .arcs > .sec-hd + div .arc-ax { margin-left: 0; }
  .pn-ax { margin: 0 0 4px; }
  .rw { grid-template-columns: minmax(90px, 130px) minmax(0, 1fr) 64px; }
}

/* ======================================================================
   Task 15: outlets and about
   ====================================================================== */
.gapgrid { width: auto; min-width: 100%; }
.gapgrid thead th { min-width: 64px; white-space: nowrap; }
.gapgrid td .heat { min-width: 56px; }
.gapgrid .heat-gap { font-size: 10.5px; }
.oc-per, .oc-gaps { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.oc-per .minihd, .oc-gaps .minihd { margin-right: 4px; }
.ocard .bars { margin-top: 4px; }
.howread { display: flex; flex-direction: column; gap: 12px; }
.howread li { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.howread .cv, .howread .ob { flex: none; }
.about { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: start; }
.flow { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 0; }
.stage { position: relative; display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 26px; box-shadow: var(--shadow); }
.stage:last-child { margin-bottom: 0; }
.stage:not(:last-child)::after { content: ""; position: absolute; left: 29px; top: 100%; height: 26px; width: 2px; background: var(--line-2); }
.stage:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: calc(100% + 17px); width: 8px; height: 8px; border-right: 2px solid var(--line-2); border-bottom: 2px solid var(--line-2); transform: rotate(45deg); z-index: 1; }
.stage h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 3px; }
.stage p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-bottom: 8px; }
.about-t .sec + .sec { margin-top: 36px; }
.ab-h { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.ab-l { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 66ch; padding-left: 18px; }
.ab-l li { list-style: disc; }
.ab-l a { color: var(--accent); }
@media (max-width: 1020px) { .about { grid-template-columns: minmax(0, 1fr); gap: 36px; } .flow { position: static; } }


/* ======================================================================
   Review fixes
   ====================================================================== */
.heatgrid.covgrid tbody th { white-space: normal; width: 240px; min-width: 180px; max-width: 240px; }
.heatgrid.covgrid tbody th span:not(.ob) { display: block; }
.covgrid thead th { min-width: 72px; }
.chh-n { white-space: nowrap; }
.lane-f { fill: none; stroke: none; pointer-events: all; }
a.lane:focus-visible .lane-f { stroke: var(--accent); stroke-width: 2; }
a.lane:focus-visible .lane-lb { text-decoration: none; }
.mini-tl .lag { white-space: nowrap; }
.arc-track i.clip { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.pn-ax { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) 84px; gap: 10px; margin: 0 0 4px; }
.pn-ax span { grid-row: 1; }
.pn-ax span:nth-child(1) { grid-column: 2; justify-self: start; }
.pn-ax span:nth-child(2) { grid-column: 2; justify-self: center; }
.pn-ax span:nth-child(3) { grid-column: 2; justify-self: end; }
#msel { max-width: 240px; }
@media (max-width: 760px) {
  .heatgrid.covgrid tbody th, .heatgrid.covgrid thead th:first-child { width: 150px; min-width: 150px; max-width: 150px; font-size: 11.5px; }
  .heatgrid.covgrid tbody th a { font-size: 12px; }
  .pn-ax { grid-template-columns: minmax(90px, 130px) minmax(0, 1fr) 64px; margin: 0 0 4px; }
}
@media (max-width: 620px) {
  .filters .fld select { width: 100%; }
}

/* Entity role summary (export, model-generated) */
.erole { margin: 4px 0 18px; max-width: 68ch; }
.erole-t { font-family: var(--serif); font-size: 17px; line-height: 1.55; color: var(--ink); margin-top: 4px; }

/* Featured (flagship) stories: under the controls, above the ranked list */
.featured { margin: 10px 0 0; }
.featured[hidden], .list-h[hidden] { display: none; }
.feat-hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.feat-hd h2, .list-h { font-family: var(--serif); font-size: 26px; line-height: 1.18; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.feat-hd h2 .n, .list-h .n { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0; vertical-align: 5px; margin-left: 10px; padding: 2px 8px; border-radius: 99px; background: var(--sunken); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.feat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card.is-feat { border-top: 3px solid var(--accent); }
.feat-more { display: flex; justify-content: center; margin-top: 18px; }
.list-h { margin: 30px 0 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.filt-btn { display: none; }
.filt-btn .n { margin-left: 8px; font-size: 11.5px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: var(--accent-bg); color: var(--accent); font-variant-numeric: tabular-nums; }
@media (max-width: 1020px) { .feat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hs-outlets { display: none; }
  .herostats { gap: 8px 24px; margin-top: 18px; padding-top: 12px; }
  .herostats dd { font-size: 22px; }
  .toolbar .search { flex: 1 1 0; }
  .filt-btn { display: inline-flex; flex: none; height: 38px; border-radius: 10px; }
  .filters:not(.is-open) { display: none; }
  .feat-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 18px; margin: 0 -18px; padding: 4px 18px 8px; scrollbar-width: none; }
  .feat-cards::-webkit-scrollbar { display: none; }
  .feat-cards .card { flex: 0 0 86%; scroll-snap-align: start; }
  .feat-cards .sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .feat-hd h2, .list-h { font-size: 23px; }
  .list-h { margin-top: 14px; padding-top: 16px; }
  .feat-more { margin-top: 4px; }
  .feat-hd { margin-bottom: 8px; }
  .feat-cards { padding-bottom: 4px; }
}

/* Flagship coverage by month (story header side panel) */
.covm { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.covm svg { width: 100%; height: auto; display: block; margin-top: 6px; }

/* period filter: shortcuts plus month bars (30 px, same height as the selects) */
.fld-per { flex: 1 1 360px; min-width: 0; }
.fld-per > span b { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); margin-left: 6px; font-variant-numeric: tabular-nums; }
.per-row { display: flex; gap: 10px; align-items: stretch; }
.per-row .seg { flex: none; }
.mbars { flex: 1; min-width: 120px; height: 34px; display: flex; align-items: stretch; gap: 2px; cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none; }
.mb { appearance: none; flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; display: flex; align-items: flex-end; cursor: inherit; border-radius: 2px; }
.mb.yr { margin-left: 5px; }
.mb i { display: block; width: 100%; background: var(--line-2); border-radius: 2px 2px 0 0; transition: background .1s; }
.mb:hover i { background: var(--ink-3); }
.mb.on i { background: var(--accent); }
.mb:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (max-width: 620px) {
  .fld-per { flex-basis: auto; }
}

/* Reviewed Temas and the Serie timeline */
.rev-index,.rev-serie{max-width:1000px;margin:2rem auto 4rem}
.rev-index label,.rev-index input{display:block}
.rev-index label{font-weight:650;margin-bottom:.3rem}
.rev-index input{width:min(100%,32rem);padding:.6rem .8rem;border:1px solid var(--line-2);border-radius:5px;background:var(--surface)}
.rev-index ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:2.5rem}
.rev-index li{padding:1.2rem 0;border-top:1px solid var(--line-2)}
.rev-index li>a,.rev-serie h1,.rev-body section h2{font-family:var(--serif);line-height:1.12}
.rev-index li>a{font-size:1.45rem;text-decoration:none}
.rev-index li>a:hover,.rev-body nav a:hover{text-decoration:underline}
.rev-meta,.rev-fact time,.rev-status small{font-size:.83rem;color:var(--ink-2)}
.rev-meta{margin:.65rem 0}
.rev-back,.rev-body nav a,.rev-fact details a{color:var(--accent)}
.rev-serie h1{font-size:clamp(2.2rem,5vw,4rem);margin:.85rem 0}
.rev-intro{font:1.23rem/1.55 var(--serif);max-width:80ch}
.rev-status{background:#e8eef2;border-left:3px solid #486578;padding:1rem 1.35rem;margin:1.5rem 0 2rem}
.rev-status strong{text-transform:uppercase;font-size:.8rem;letter-spacing:.07em}
.rev-status p{margin:.35rem 0}
.rev-body{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(0,3fr);gap:2.5rem}
.rev-body nav{align-self:start;position:sticky;top:1rem;max-height:90vh;overflow:auto;border-top:2px solid var(--ink);padding-top:.6rem}
.rev-body nav h2{font-size:.97rem}
.rev-body nav a{display:block;text-decoration:none;padding:.45rem 0;line-height:1.3}
.rev-body section{border-top:2px solid var(--ink);padding:.9rem 0 2rem;scroll-margin:1rem}
.rev-body section h2{font-size:1.9rem}
.rev-phase-summary{margin:.6rem 0 1rem;color:var(--ink-2)}
.rev-fact{display:grid;grid-template-columns:6.75rem 1fr;gap:.65rem;padding:.8rem 0;border-top:1px solid var(--line)}
.rev-fact summary{cursor:pointer;color:var(--accent);font-size:.85rem;margin:.35rem 0}
.rev-fact details li{margin:.35rem 0}
@media(max-width:700px){.rev-index ul,.rev-body{grid-template-columns:1fr}.rev-body nav{position:static;max-height:none}.rev-fact{grid-template-columns:1fr;gap:.2rem}.rev-body{gap:1.2rem}}

/* ---------- site: front page of temas, hecho page, search (view-home.js) ---------- */
.searchbtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-2); }
.searchbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.searchbtn:hover { color: var(--accent); border-color: var(--accent); }
.foot-nav { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.foot-nav b { font-weight: 600; color: var(--ink-2); }
.foot-sep { color: var(--ink-3); }
.home-hero { padding: 34px 0 6px; }
.home-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 56px); line-height: 1.04; font-weight: 500; letter-spacing: -.022em; margin: 0 0 12px; text-wrap: balance; }
.home-sec { margin: 30px 0 8px; }
.home-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.home-hd h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0; }
.home-hd a { font-size: 13.5px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.home-hidden { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; }
.tcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tc { display: flex; gap: 28px; padding: 18px 20px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.tc-big { grid-column: 1 / -1; padding: 24px 28px 18px; }
.tc-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.tc.is-fol { border-color: var(--accent); }
.tc-top { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; }
.tst { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--green-bg); color: var(--green); }
.tst::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tst-pause { background: var(--amber-bg); color: var(--amber); }
.tst-off { background: var(--sunken); color: var(--ink-3); }
.tst-off::before { border-radius: 1px; }
.tc-fol { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--accent-bg); color: var(--accent); }
.tc-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; color: var(--ink-3); margin: 0 0 6px; }
.tc-meta span:first-child { text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.tc h3 { font-family: var(--serif); font-size: 21px; line-height: 1.18; font-weight: 600; margin: 0 0 10px; text-wrap: balance; }
.tc-big h3 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.08; }
.tc h3 a { color: var(--ink); text-decoration: none; }
.tc h3 a:hover { color: var(--accent); }
.tc-new { border-left: 2px solid var(--accent); padding-left: 10px; margin: 0 0 10px; font-size: 14px; line-height: 1.45; }
.tc-new b { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-right: 4px; }
.tc-new a { color: var(--ink); text-decoration: none; }
.tc-new a:hover { color: var(--accent); text-decoration: underline; }
.tc-more { color: var(--ink-3); font-size: 12.5px; }
.tc-quiet { font-size: 13.5px; color: var(--ink-3); margin: 0 0 10px; }
.tc-now { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tc-big .tc-now { font-family: var(--serif); font-size: 16.5px; -webkit-line-clamp: 4; }
.tc-k { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.tc-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.tc-phase { font-size: 12.5px; color: var(--ink-2); text-decoration: none; min-width: 0; }
.tc-phase:hover { color: var(--accent); }
.tc-act { display: inline-flex; gap: 10px; align-items: center; margin-left: auto; }
.btn-sm { padding: 4px 12px; font-size: 12.5px; }
.btn.is-on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.tc-phases { flex: 0 0 38%; list-style: none; margin: 0; padding: 0; align-self: flex-start; }
.tc-phases a { display: grid; grid-template-columns: 22px 1fr auto; gap: 0 8px; align-items: baseline; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.tc-phases a:hover { background: var(--sunken); }
.tc-phases .n { font-family: var(--serif); color: var(--ink-3); }
.tc-phases time { font-size: 12px; color: var(--ink-3); }
.tc-phases li.on a { background: var(--accent-bg); color: var(--ink); font-weight: 600; }
.loose, .closed { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.loose a, .closed a { display: block; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.loose b, .closed b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.25; }
.loose span, .closed span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }
.closed span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.loose a:hover b, .closed a:hover b { color: var(--accent); }
.notice.in-tema a { color: var(--accent); }
.brief-tema { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.hecho-pg { max-width: 720px; margin: 30px auto 10px; }
.hp-up { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 4px; }
.hp-up a { font-weight: 600; color: var(--accent); text-decoration: none; font-size: 15px; }
.hp-phase { margin: 0 0 18px; font-size: 13.5px; }
.hp-phase a { color: var(--ink-2); }
.hp-date { margin: 0; font-size: 13px; color: var(--ink-3); }
.hecho-pg h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.12; font-weight: 500; margin: 4px 0 14px; text-wrap: balance; }
.hp-src { list-style: none; margin: 0 0 18px; padding: 0; }
.hp-src a { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.hp-src a:hover span { color: var(--accent); text-decoration: underline; }
.btn-wide { display: flex; justify-content: center; width: 100%; }
.hp-now { margin: 18px 0; padding: 14px 16px; background: var(--sunken); border-radius: 10px; font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.hp-near { list-style: none; margin: 0; padding: 0; }
.hp-near li > a, .hp-near li.on { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.hp-near li.on { color: var(--ink); font-weight: 600; }
.hp-near time { color: var(--ink-3); font-size: 13px; font-weight: 400; }
.search-pg { max-width: 820px; margin: 30px auto 10px; }
.search-pg h1 { font-family: var(--serif); font-size: 34px; font-weight: 500; margin: 0 0 14px; }
.search-big { width: 100%; margin-bottom: 18px; }
.sr-g { margin: 18px 0; }
.sr-g .loose, .sr-g .closed { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .tcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tc-phases { display: none; } }
@media (max-width: 640px) { .tcs, .loose, .closed { grid-template-columns: minmax(0, 1fr); } .tc-big { padding: 18px 18px 14px; } .home-hd { flex-wrap: wrap; } }
.btn-sm { height: 28px; padding: 0 12px; font-size: 12.5px; }

/* ======================================================================================================
   Ikenoa look (the Serie skin of the tema page), applied to the whole reader so every page is one site:
   white, near-black ink, Schibsted Grotesk throughout, square black labels and buttons, flat cards.
   ====================================================================================================== */
:root {
  --bg: #fff; --surface: #fff; --sunken: #f1f2f4;
  --ink: #0c0c0d; --ink-2: #2d2f33; --ink-3: #666a71;
  --line: #e2e4e7; --line-2: #b6bac1;
  --accent: #0c0c0d; --accent-bg: #eceef1;
  --green: #0c0c0d; --green-bg: transparent;
  --mark: #526a55;
  --shadow: none; --shadow-hover: none;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --r: 0px;
}
body { background: #fff; color: var(--ink); font-family: var(--sans); }
.mast { background: #fff; border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.brand-svg { width: 16px; height: 16px; flex: none; color: var(--mark); }
.brand-name { font: 800 22px/1 var(--sans); letter-spacing: -.032em; }
.nav a { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav a[aria-current] { font-weight: 800; color: var(--ink); }
.nav a[aria-current]::after { height: 4px; background: var(--ink); }
.searchbtn { border-color: var(--ink); color: var(--ink); }
.searchbtn:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
/* headlines: heavy grotesk instead of a light serif */
.home-hero h1, .hero h1, .hecho-pg h1, .search-pg h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.home-hd h2 { font-weight: 800; letter-spacing: -.02em; font-size: 24px; }
.lede { font-family: var(--sans); font-size: 18px; color: var(--ink-2); }
.tc h3, .loose b, .closed b { font-weight: 800; letter-spacing: -.02em; }
.tc-big .tc-now, .hp-now { font-family: var(--sans); }
/* flat, square cards */
.card, .tc { border-radius: 0; box-shadow: none; border: 1px solid var(--line-2); }
.card:hover, .card:focus-within { transform: none; box-shadow: none; border-color: var(--ink); }
.tc.is-fol { border-color: var(--ink); border-width: 2px; }
/* labels: square, black, white text, like the tema page */
.tst, .tst-pause, .tst-off, .tc-fol { border-radius: 0; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; padding: 3px 8px; }
.tst-pause { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tst-off { background: var(--sunken); color: var(--ink-3); }
.tc-fol { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tc-new { border-left: 3px solid var(--mark); }
.tc-new b { color: var(--mark); }
.tc-new a:hover { color: var(--ink); }
.tc-phases a { border-radius: 0; }
.tc-phases li.on a { background: var(--sunken); box-shadow: inset 0 -2px 0 var(--ink); }
.home-hd a, .notice.in-tema a, .hp-up a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* buttons */
.btn { border-radius: 0; border-color: var(--ink); color: var(--ink); font-weight: 600; }
.btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.is-on, .btn-sm.is-on { background: var(--ink); color: #fff; }
.linkbtn { color: var(--ink-2); }
.search input { border-radius: 0; border-color: var(--line-2); }
.search input:focus { outline-color: var(--ink); }
.seg, .seg button, .pill, .scopesw, .langsw, .langsw button { border-radius: 0; }
.hp-src a:hover span { color: var(--ink); }
.hp-now { border-radius: 0; background: var(--sunken); }
.foot { border-top: 1px solid var(--ink); background: #fff; }
/* follow buttons look the same as on the tema page: filled black */
[data-follow-tema] { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
[data-follow-tema]:hover { background: var(--mark); border-color: var(--mark); }
.notice { border-radius: 0; background: var(--sunken); color: var(--ink-2); border: 0; border-left: 3px solid var(--ink); }
select, .fld select, input[type="date"] { border-radius: 0; }
.tag, .t-plain, .t-new, .nav-n { border-radius: 0; }

/* square corners everywhere (the tema page has none); circles for icons and avatars stay */
.arc-track,
.arc-track i,
.arcs select,
.banner,
.btn,
.bx,
.card,
.chip,
.chsel select,
.cv,
.daypick input,
.ev,
.fact,
.feat-hd h2 .n,
.filt-btn,
.filt-btn .n,
.fld input,
.fld select,
.fvs-many .fv,
.heat,
.hp-now,
.jn,
.langsw,
.lap,
.lg,
.list-h .n,
.meter,
.meter i,
.nav-n,
.none,
.notice,
.ob-lg,
.ocard,
.pill,
.quote figcaption .ob,
.quotes summary,
.resolved,
.rev-index input,
.rw-ph,
.scroller,
.search input,
.sec-hd h2 .n,
.seg,
.seg button,
.seg-ch,
.shead-side,
.skip,
.split,
.st,
.stage,
.tabs .n,
.tag,
.tc,
.tc-fol,
.tc-phases a,
.toc-flat button,
.tog,
.trend tr,
.tst,
/* ES | EN switch */
.scopesw,
/* charts */
.chartcard,
/* marks text that has no English version yet (it is shown in the Spanish original) */
.esm,
/* notes */
.dnote,
/* outlet monograms */
.ob,
:focus-visible,
code { border-radius: 0; }
.story-h h1, .s-head h1, main h1 { font-weight: 800; letter-spacing: -.03em; }
#app h1 { font-weight: 800; letter-spacing: -.03em; }
