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

:root {
  --bg: #fff; --surface: #fff;
  --ink: #0c0c0d; --ink-2: #2d2f33; --ink-3: #5a5e66;
  --sunken: #f2f4f6; --panel-hover: #e6e9ed;
  --line: #e3e6ea; --line-2: #d2d7dd;
  --sage: #526a55; --sage-ink: #3b513e; --sage-tint: #e8eee8; --sage-line: #c3d0c5;
  --slate: #48657b; --slate-ink: #24333d; --slate-tint: #e8eef2;
  --violet: #5b4f93; --violet-tint: #e3dff0;
  --next-hatch: repeating-linear-gradient(135deg, transparent 0 6px, #48657b14 6px 7px);
  --accent: var(--ink); --accent-bg: #eceef1; --mark: var(--sage);
  --red: #a23328; --red-bg: #fbe9e6;
  --amber: #855a0e; --amber-bg: var(--sunken);
  --green: var(--sage-ink); --green-bg: var(--sage-tint);
  --shadow: none; --shadow-hover: none;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);
  --r: 0px;
  --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(--ink); 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 4px; border: 1px solid transparent; border-radius: 99px; background: transparent; color: var(--ink-2); 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(--sage); border-color: var(--sage); }
.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 transparent; 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: none; color: var(--ink); font-weight: 800; box-shadow: inset 0 -2px 0 var(--ink); }
.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: 1px solid transparent; background: var(--sunken); font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--panel-hover); color: var(--ink); }
.btn.is-on, .btn-sm.is-on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.btn-off:hover { background: var(--sunken); }

.seg { display: inline-flex; padding: 0; gap: 20px; border-radius: 10px; background: none; max-width: 100%; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--ink-3); font-size: 13px; font-weight: 500; padding: 7px 0; border-radius: 0; cursor: pointer; white-space: nowrap; }
.seg button:hover:not(:disabled) { color: var(--ink); }
.seg button[aria-pressed="true"] { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); font-weight: 700; }
.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-3); font-weight: 500; }
.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-hit a { position: relative; z-index: 1; }

.card-topic { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card-topic::after { content: "·"; margin-left: 10px; }
.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);}
.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; }

/* ---------- 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-3); }
.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; margin-top: 14px; }
.dnote-tag { font-size: 11px; text-transform: uppercase; margin-right: 8px; }
.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;}
.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; }
.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 {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; }
.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; border-radius: 2px 2px 0 0; }
.daypick { display: none; flex: 1; }
.daypick input { width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; }
#dtopics { margin: 0 0 8px; }
.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;}
.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-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; 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; padding: 3px 8px; background: var(--sunken); color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.tst-on::before { color: var(--sage); }
.tst-pause::before { color: var(--ink-3); background: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.tst-off::before { color: var(--ink-3); }
.tst::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.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;}
.tc-big .tc-now { font-family: var(--serif); font-size: 16.5px; }
.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; }
.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; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.loose b, .closed b { display: block; font-family: var(--serif); line-height: 1.25; }
.loose span, .closed span { display: block; font-size: 13px; margin-top: 3px; line-height: 1.4; }
.notice.in-tema a { color: var(--accent); }
.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-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; }

/* Ikenae typography and masthead */
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 { background: var(--sunken); }
/* 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 { 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; }
.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 */
.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); }
.foot { border-top: 1px solid var(--ink); background: #fff; }
.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,
.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; }

/* ======================================================================
   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; margin-top: 14px; }
.dnote-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-right: 8px; }
.dnote a { color: var(--ink-2); text-decoration-color: var(--line-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.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;}
.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(--sunken); color: var(--ink-2); }
.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 {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; border-bottom: 0; }
.daynav .btn { flex: none; height: 32px; }
.btn-off { opacity: .45; cursor: default; }
.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: #b9bfc7; border-radius: 2px 2px 0 0; }
.ds:hover { background: var(--ink-3); }
.ds.is-cur { background: var(--ink); }
.daypick { display: none; flex: 1; min-width: 0; }
.daypick input { width: 100%; min-width: 0; height: 34px; padding: 0 10px; background: var(--sunken); border: 1px solid transparent; }
#dtopics { margin: 0 0 8px; }
#dtopics button[data-sec]::before,
.br-k[data-sec]::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; background: var(--sc); }
.brief, .brief-rest { --brief-gutter: 44px; }
.brief { margin-top: 18px; }
.brief-it { display: grid; grid-template-columns: var(--brief-gutter) minmax(0, 440fr) minmax(0, 620fr); padding: 22px 0 26px; border-top: 1px solid var(--line-2); }
.brief-n, .brief-it h2 { font: 800 21px/1.18 var(--sans); }
.brief-n { color: var(--ink); letter-spacing: -.03em; }
.brief-heading { padding-right: 48px; }
.brief-it h2 { letter-spacing: -.022em; text-wrap: balance; }
.brief-it h2 a { text-decoration: none; }
.brief-it h2 a:is(:hover, :focus-visible) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.brief-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 10px; overflow: clip; }
/* The negative margin hides the separator at the start of each wrapped line. */
.brief-labels { display: flex; flex-wrap: wrap; align-items: center; row-gap: 3px; margin-left: -19px; font: 600 10.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.brief-labels > * { position: relative; min-width: 0; padding-left: 19px; }
.brief-labels > *::before { content: "·"; position: absolute; left: 0; width: 19px; text-align: center; letter-spacing: 0; color: var(--ink-3); font-weight: 600; }
.brief-labels b, .brief-live { font-weight: 700; color: var(--ink); }
.brief-labels :is(.brief-new, .brief-live) { padding-left: 31px; }
.brief-labels :is(.brief-new, .brief-live)::after { content: ""; position: absolute; left: 19px; top: .36em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.brief-labels .brief-live::after { background: var(--sc); }
.brief-labels .brief-other { padding-left: 35px; }
.brief-other::after { content: ""; position: absolute; left: 19px; top: .2em; width: 9px; height: 9px; background: var(--sc); }
.brief-meta .obs { max-width: 100%; }
.brief-meta .ob { width: 24px; height: 24px; border-radius: 50%; font-size: 9px; box-shadow: none; }
.brief-meta .ob-img { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.brief-meta .ob-img img { width: 100%; height: 100%; padding: 0; object-fit: cover; }
.brief-events { padding-top: 2px; }
.brief-ev { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.brief-ev + .brief-ev { margin-top: 10px; }
.brief-ev b { font-weight: 650; color: var(--ink); }
.brief-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration-color: var(--line-2); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.brief-more:hover { color: var(--ink); text-decoration-color: var(--ink); }
.brief-rest { margin-top: 44px; }
.brief-rest .sec-hd { margin-bottom: 10px; }
.brief-rest .sec-hd h2 { font-size: 24px; font-weight: 800; letter-spacing: -.028em; }
.brl { border-top: 1px solid var(--line-2); }
.br { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 11px 0 11px var(--brief-gutter); border-bottom: 1px solid var(--line); text-decoration: none; }
.br:hover .br-t { text-decoration: underline; text-underline-offset: 3px; }
.br-t { min-width: 0; font-size: 15px; font-weight: 600; letter-spacing: -.005em; text-wrap: pretty; }
.br-k { display: inline-block; margin-right: 9px; vertical-align: 1px; font: 700 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.br .lag { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .brief-it { grid-template-columns: 30px minmax(0, 1fr); padding: 18px 0 22px; }
  .brief-heading, .brief-events { grid-column: 2; }
  .brief-heading { padding-right: 0; }
  .brief-n, .brief-it h2 { font-size: 19px; }
  .brief-meta { flex-direction: row; justify-content: space-between; gap: 16px; margin-top: 8px; }
  .brief-labels { flex: 1; min-width: 0; }
  .brief-meta .brief-labels + .obs { max-width: 45%; }
  .brief-events { padding-top: 0; margin-top: 12px; }
  .br { padding-left: 0; flex-direction: column; gap: 3px; }
}
.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;}
.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-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; padding-bottom: 14px; }
.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: 56px 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(--ink-2); text-decoration: none; white-space: nowrap; text-decoration-color: var(--line-2); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 500; }
.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::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.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;}
.tc-big .tc-now { font-family: var(--serif); font-size: 16.5px; }
.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; }
.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: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); border-top-color: var(--line); }
.loose b, .closed b { display: block; font-family: var(--serif); font-size: 16.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.loose span, .closed span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }
.loose a:hover b, .closed a:hover b { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.home-section-label { display: flex; align-items: center; gap: 7px; font: 600 10.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.home-section-label::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--sc); }
.loose-tiles {
  --cols: 4;
  --gap: 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% + var(--gap)) / var(--cols) - var(--gap));
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.loose-tiles::-webkit-scrollbar { display: none; }
.loose-tiles > li { min-width: 0; scroll-snap-align: start; }
.loose-placeholder { height: 180px; }
.loose-tile { display: flex; flex-direction: column; height: 100%; min-height: 128px; padding: 14px 16px 12px; background: var(--sunken); text-decoration: none; }
a.loose-tile:hover { background: var(--panel-hover); }
.loose-tile .home-section-label { margin-bottom: 9px; }
.loose-tile b { font-size: 16.5px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.loose-date { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--ink-3); }
.loose-tile:is(:hover, :focus-visible) b,
.closed-card h3 a:is(:hover, :focus-visible) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.closed-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.closed-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; min-width: 0; margin-bottom: 14px; padding: 16px 20px 14px; background: var(--surface); border: 1px solid var(--line-2); }
.closed-card > * { min-width: 0; }
.closed-faces { display: flex; gap: 4px; padding-bottom: 14px; }
.closed-faces:empty { padding-bottom: 0; }
.closed-faces .pg-face-link { border-radius: 50%; }
.closed-faces .av { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; font: 700 11px/1 var(--sans); background: var(--sunken); color: var(--ink-2); box-shadow: none; }
.closed-faces .av img { display: block; width: 100%; height: 100%; padding: 0; object-fit: cover; background: var(--surface); }
.closed-faces .av.av-img:not(.av-persona) { outline: 0; }
.closed-faces .av-org.av-img { border: 1px solid var(--line-2); }
.closed-heading { padding-bottom: 10px; }
.closed-heading .home-section-label { margin-bottom: 8px; }
.closed-card h3 { font: 800 18px/1.18 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.closed-card h3 a { text-decoration: none; }
.closed-summary { padding-bottom: 18px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.closed-period { align-self: end; font-size: 12px; line-height: 1.3; color: var(--ink-3); }
@media (max-width: 1000px) { .closed-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .loose-tiles { --cols: 2; } }
@media (max-width: 640px) {
  .closed-cards { grid-template-columns: minmax(0, 1fr); }
  .closed-card { padding-inline: 18px; }
}
@media (max-width: 520px) {
  .loose-date { padding-top: 10px; }
}
.notice.in-tema a { color: var(--accent); }
.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%; }
.hecho-outlook { margin: 18px 0; padding: 14px 16px; background: var(--sunken); overflow-wrap: anywhere; }
.hecho-outlook h2 { margin: 0 0 3px; font-size: 13px; font-weight: 700; }
.hecho-outlook p { margin: 0; font-size: 16px; line-height: 1.5; }
.hecho-outlook p span { color: var(--ink-2); }
.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; }

/* Ikenae typography and masthead */
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 { background: var(--sunken); }
/* 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 { 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; }
.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 */
.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); }
.foot { border-top: 1px solid var(--line-2); background: #fff; }
.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,
.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; }

/* ======================================================================================================
   Front page (v7 Numeral): the Serie palette, protagonist faces, sección chips and the phase numeral on tema cards
   ====================================================================================================== */
:root { --c0: #41454d; --c1: #526a55; --c2: #4c6b60; --c3: #496b69; --c4: #416975; --c5: #46667c; --c6: #48657b;
  --c7: #435a47; --c8: #405b50; --c9: #3e5b59; --c10: #365965; --c11: #3b566a; --c12: #3d5568;
  --ochre: #916119; --s-red: #a8382c; --s-green: #2c7350; }
[data-p="1"] { --pc: var(--c1); } [data-p="2"] { --pc: var(--c2); } [data-p="3"] { --pc: var(--c3); } [data-p="4"] { --pc: var(--c4); }
[data-p="5"] { --pc: var(--c5); } [data-p="6"] { --pc: var(--c6); } [data-p="7"] { --pc: var(--c7); } [data-p="8"] { --pc: var(--c8); }
[data-p="9"] { --pc: var(--c9); } [data-p="10"] { --pc: var(--c10); } [data-p="11"] { --pc: var(--c11); } [data-p="12"] { --pc: var(--c12); }
[data-p] { --pt: color-mix(in oklch, var(--pc) 9%, #fff); --pl: color-mix(in oklch, var(--pc) 26%, #fff); }
/* sección colours, all from the tema page: slate, sage, ochre (Costa Rica effects), outcome red and green */
[data-sec] { --sc: var(--c0); --st: color-mix(in oklch, var(--sc) 8%, #fff); --sl: color-mix(in oklch, var(--sc) 24%, #fff); }

/* avatars (same component as the tema page chips) */
.tc .av { flex: none; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; background: var(--sunken); color: var(--ink-2); }
.tc .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc .av-org img { object-fit: cover; padding: 0; }
.tc .av-img { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.avs { display: inline-flex; margin-left: auto; }
.avs .av { box-shadow: 0 0 0 2px #fff; }
.avs .av + .av { margin-left: -6px; }
.tc-phase b { font-weight: 700; }
.phstrip { display: flex; gap: 2px; width: 100%; height: 6px; align-items: flex-end; }
.phstrip i { flex: 1 1 0; height: 6px; background: var(--pc); min-width: 6px; }
.phstrip i.z { background: var(--line); }
.phstrip i.on { height: 6px; }

.secbar { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; min-width: 0; }
.secbar-k { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.secbar.is-first .secbar-k { color: #fff; background: var(--ink); padding: 5px 9px; }
.secs { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; padding: 1px; }
.secall, .secchip { flex: none; display: inline-flex; align-items: stretch; height: 32px; border-radius: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; font: 600 13px/1 var(--sans); color: var(--ink); }
.secall { padding: 0 12px; border: 0; cursor: pointer; align-items: center; }
.secall[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.secchip button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.secchip .sc-name { display: inline-flex; align-items: center; gap: 7px; padding: 0 9px 0 10px; }
.secchip .sc-name::before { content: ""; width: 9px; height: 9px; background: var(--sc); }
.secchip .sc-pref { width: 28px; font-weight: 700; font-size: 15px; color: var(--ink-3); border-left: 1px solid var(--line); }
.secbar.is-first .secchip .sc-pref { background: var(--st); color: var(--sc); border-left-color: var(--sl); }
.secchip .sc-pref:hover { background: var(--sc); color: #fff; }
.secchip.is-on { box-shadow: inset 0 0 0 2px var(--sc); background: var(--st); }
.secchip.is-f .sc-pref, .secbar.is-first .secchip.is-f .sc-pref { background: var(--sc); color: #fff; border-left-color: var(--sc); font-size: 13px; }
.secchip.is-f { box-shadow: inset 0 0 0 1px var(--sc); }
.secchip.is-m { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.secchip.is-m .sc-name { text-decoration: line-through; }
.secchip.is-m .sc-name::before { background: var(--line-2); }
@media (max-width: 640px) { .secbar { flex-direction: column; align-items: flex-start; gap: 8px; } .secs { width: 100%; } }


/* ---------- tema cards: white, colour only as small marks; left band, coloured tag, big phase numeral ---------- */
.tcs .tc { flex-direction: column; gap: 0; padding: 16px 20px 14px; background: #fff; border: 1px solid var(--line-2); position: relative; }
.tcs .tc.is-fol { border: 1px solid var(--sc); box-shadow: inset 0 0 0 1px var(--sc); }
.tcs .tc-main { flex: 1 1 auto; }
.tcs .tc-top { gap: 10px; margin-bottom: 10px; min-height: 20px; }
.tcs .tc-sec { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--sc); }
.tcs .tst { background: none; color: var(--ink-3); padding: 0; box-shadow: none; margin-left: auto; }
.tcs .tst-on::before { background: var(--sc); }
.tcs .tst-pause::before { background: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.tcs .tc-fol { background: var(--ink); color: #fff; box-shadow: none; padding: 3px 7px; }
.tcs .tc h3 { margin-bottom: 6px; }
.tcs .tc-meta { margin: 0 0 12px; }
.tcs .tc-meta span:first-child { text-transform: none; letter-spacing: 0; font-weight: 400; }
.tcs .tc .av:not(.av-img) { background: var(--sunken); color: var(--ink-2); }
.tcs .tc .av-org:not(.av-img) { background: var(--sunken); color: var(--ink-2); }
.tcs .tc-new { border-left: 3px solid var(--sc); }
.tcs .tc-new b { color: var(--sc); }
.tcs .tc-foot { border-top: 0; padding-top: 0; }
.tcs .tc-phase { flex: 1 1 100%; }
.tcs .tc-phase b { color: var(--ink); }
/* v7: left band, coloured tag, big phase numeral */
.tcs .tc { padding-left: 24px; }
.tcs .tc::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 5px; background: var(--sc); }
.tcs .tc-sec { color: var(--ink); }
.tcs .tst { margin-left: 0; }
.tcs .tst::before { order: 0; }
.tcs .avs { margin-left: auto; }
.tcs .avs .av { width: 36px; height: 36px; font-size: 12px; box-shadow: 0 0 0 2px #fff; }
.tcs .avs .av + .av { margin-left: -7px; }
.tcs .tc-top { min-height: 36px; margin-bottom: 8px; }
.tcs .tc-new { border-left: 0; padding-left: 0; }
.tcs .tc-new b { background: var(--sc); color: #fff; padding: 3px 7px; margin-right: 6px; font-size: 10px; }
.tcs .tc-phase { display: flex; align-items: center; gap: 12px; }
.tcs .tc-phase b { display: block; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.tcs .ph-t { font-weight: 600; color: var(--ink); }
.tcs .phstrip { height: 4px; margin-bottom: 8px; }
.tcs .phstrip-1 i { height: 4px; background: #cbd1d8; }
.tcs .phstrip-1 i.on { background: var(--sc); }
.tcs .tc-big { display: grid; grid-template-columns: minmax(0, 1fr) 36%; grid-template-rows: auto 1fr; gap: 0 36px; padding: 22px 28px 18px 32px; }
.tcs .tc-big .tc-hd { grid-column: 1; }
.tcs .tc-big .tc-main { grid-column: 1; }
.tcs .tc-big > .tc-phases, .tcs .tc-big > .tc-side { grid-column: 2; grid-row: 1 / 3; flex: none; align-self: start; }
.tcs .tc-side { display: flex; flex-direction: column; gap: 22px; }
.tcs .tc-side .tc-phases { flex: none; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 10px; }
.pchip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 0; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--sunken); white-space: nowrap; }
.pchip .av { width: 36px; height: 36px; }
.tcs .tc-big.has-side .avs { display: none; }
.tcs .tc-big .avs .av { width: 48px; height: 48px; font-size: 14px; }
.tcs .tc-big .tc-top { min-height: 48px; }
.tcs .tc-phases .n { font-weight: 800; font-size: 17px; color: var(--sc); }
.tcs .tc-phases li.on a { background: none; box-shadow: inset 4px 0 0 var(--sc); font-weight: 700; }
.tcs .tc-phases li.on a { background: color-mix(in oklch, var(--sc) 7%, #fff); }
@media (max-width: 980px) {
  .tcs .tc-big.has-side .avs { display: inline-flex; } .tcs .tc-side { display: none; }
  .tcs .tc-big { display: flex; padding: 16px 20px 14px 24px; }
  .tcs .tc-big .avs .av { width: 36px; height: 36px; } .tcs .tc-big .tc-top { min-height: 36px; }
}
.tcs .tst, .tcs .tc-fol { white-space: nowrap; }
.tcs .tc-top, .tcs .tc-big .tc-top { min-height: 20px; margin-bottom: 10px; }
.tcs .tst { margin-left: auto; }
.tcs .tc-meta { align-items: center; flex-wrap: nowrap; min-height: 36px; margin-bottom: 10px; }
.tcs .tc-meta > span { white-space: nowrap; }
.tcs .tc-big .tc-meta { min-height: 48px; }
@media (max-width: 640px) { .tcs .tc-meta, .tcs .tc-big .tc-meta { flex-wrap: wrap; row-gap: 8px; } .tcs .tc-meta .avs { margin-left: 0; flex: 0 0 100%; } }

/* every avatar is a circle; logos and flags sit whole inside it on white */
.av { border-radius: 50%; overflow: hidden; }
.av-img, .av:has(img) { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.av-org img, .av-institucion img, .av-institución img, .av-organizacion img { object-fit: cover; padding: 0; background: #fff; }
.avs .av { box-shadow: 0 0 0 2px #fff, inset 0 0 0 1px var(--line-2); }

/* ---------- #/temas (all temas): scoped under .tp-page ---------- */
.tp-page .tp-hero { padding: 28px 0 4px; }
.tp-page .tp-hero h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 14px; }
.tp-page .tp-bar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; margin: 0 0 8px; }
.tp-page .tp-bar .secbar { flex: 1 1 600px; margin: 0; }
.tp-page .tp-search { flex: 0 0 260px; }
.tp-page .tp-search input { height: 32px; border-radius: 0; background: #fff; }
.tp-page .tp-grp { margin: 30px 0 0; }
.tp-page .tp-grp > h2 { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--gc); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--gc); }
.tp-page .tp-grp > h2 i { display: none; }
.tp-page .tp-grp > h2 span { font: 600 13px/1 var(--sans); letter-spacing: 0; color: var(--ink-3); }
.tp-page .tp-off { font: 700 10.5px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 12px; }
.tp-page .tcs { margin: 0; }
.tp-page .tc-closed { background: var(--sunken); border-color: var(--line); }
.tp-page .tc-closed::before { opacity: .45; }
.tp-page .tc-closed h3 a { color: var(--ink-2); font-weight: 700; }
.tp-page .tc-closed .avs { opacity: .75; }
.tp-page .tc-closed .avs .av { box-shadow: 0 0 0 2px var(--sunken), inset 0 0 0 1px var(--line-2); }
.tp-page .tp-grp.is-muted { opacity: .6; }
.tp-page .tcs .tc-foot { padding-top: 4px; }
.tp-page .tcs .tc-meta { margin-bottom: 6px; }
@media (max-width: 640px) { .tp-page .tp-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; } .tp-page .tp-bar .secbar { flex: none; } .tp-page .tp-search { flex: none; width: 100%; } }
.tp-page .tcs .tc-meta { flex-wrap: wrap; row-gap: 6px; }
.tp-page .tcs .avs .av { width: 30px; height: 30px; }
.tp-page .tcs .tc-meta { min-height: 30px; }

/* logos sit inside a visible circle: a thin line drawn over the image (an inset shadow would sit under it) */
.av.av-img:not(.av-persona) { outline: 1px solid var(--line-2); outline-offset: -1px; outline-color: var(--line-2); }

/* faces sit side by side, never overlapping, so a wide wordmark shows whole */
.avs { gap: 4px; }
.avs .av + .av, .tcs .avs .av + .av { margin-left: 0; }
.avs .av, .tcs .avs .av { box-shadow: none; }
.tcs .tc-meta { flex-wrap: wrap; row-gap: 6px; }
.tcs .tc-meta .avs { flex: none; max-width: 100%; }

/* =====================================================================================================
   Front page and Todos los temas (approved design, 2026-11-26): tema cards "Sigue" (.kc*), list controls (.cb*, .chp*, .pop*),
   dashed tile of a hidden tema (.kc-gone), compact rows (.cr*), pager. New class names; scoped, so the tema pages are untouched.
   ===================================================================================================== */
/* one colour per sección: the colour means the sección and nothing else */
[data-sec] { --sct: var(--sc); }
[data-sec="internacional"] { --sc: #2f5f8f; --sct: #2b5783; }
[data-sec="politica"]      { --sc: #33415c; --sct: #33415c; }
[data-sec="economia"]      { --sc: #9a6a12; --sct: #855a0e; }
[data-sec="seguridad"]     { --sc: #b23a2e; --sct: #a23328; }
[data-sec="salud"]         { --sc: #14807a; --sct: #0f6b66; }
[data-sec="ambiente"]      { --sc: #3f7d33; --sct: #366c2b; }
[data-sec="deportes"]      { --sc: #c05a1c; --sct: #a44a12; }
[data-sec="educacion"]     { --sc: #b0457f; --sct: #9c3a6f; }
[data-sec="x"]             { --sc: #7b808a; --sct: #5a5e66; }
.home-hero h1 .hl { display: inline-block; }
.grp-h { display: flex; align-items: center; gap: 10px; }
.grp-h::before { content: ""; width: 12px; height: 12px; background: var(--sc); }

/* ---- the grid: the wrapper is the size container, so column count and type sizes follow the grid's own width ---- */
.kwrap { container: kw / inline-size; }
.kcs {
  --cols: 3; --gap: 14px; --pad: 20px; --wl: 3; --sl: 2; --nl: 2;
  /* text width inside one card */
  --cw: calc((100cqi - (var(--cols) - 1) * var(--gap)) / var(--cols) - 2 * var(--pad) - 2px);
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 0 var(--gap);
}
/* lines reserved for the sentence (--wl), the status line (--sl) and the next-step phrase (--nl): the usual length at that card width,
   so the rows of the whole grid have one height; a longer text adds a line to its row, it is never cut */
@container kw (max-width: 1040px) { .kcs { --wl: 4; --sl: 3; } }
@container kw (max-width: 924px)  { .kcs { --cols: 2; --wl: 2; --sl: 2; --nl: 1; } }
@container kw (max-width: 800px)  { .kcs { --wl: 3; --nl: 2; } }
@container kw (max-width: 700px)  { .kcs { --wl: 4; --sl: 3; } }
@container kw (max-width: 604px)  { .kcs { --cols: 1; --pad: 18px; --wl: 1; --sl: 1; --nl: 1; } }

/* ---- the card: five rows shared by every card of a grid row (subgrid) ---- */
.kc {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; grid-row: span 5; row-gap: 0;
  min-width: 0; margin: 0 0 var(--gap); padding: 16px var(--pad) 12px; background: var(--sunken); border: 1px solid transparent;
}
.kc > * { min-width: 0; }
.kcs .kc:hover { background: #edf0f3; }
.kc p { margin: 0; }

/* 1 · faces and the follow toggle (the only "followed" marker) */
.kc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; }
.kc-faces { display: inline-flex; flex: none; }
.kc-fol { flex: none; border: 0; background: none; padding: 6px 0; font: 600 12.5px/1 var(--sans); color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.kc-fol:hover, .b-fol:hover { color: var(--sage-ink); text-decoration: underline var(--sage-line); text-underline-offset: 3px; }
.kc-fol[aria-pressed="true"], .b-fol[aria-pressed="true"] { padding: 6px 9px; background: var(--sage-tint); color: var(--sage-ink); font-weight: 700; }
.kcs .kc-fol[aria-pressed="true"] { background: #dde8de; }

/* 2 · sección (only where the grid mixes secciones) and the title, sized by its length so it never passes three lines */
.kc-hd { padding-bottom: 16px; }
.kc-sec { display: flex; align-items: center; gap: 7px; margin: 0 0 8px !important; font: 600 10.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.kc-sec::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--sc); }
.kcs.is-group .kc-sec { display: none; }
.kc h3 { margin: 0; font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance;
  font-size: clamp(var(--tmin), calc(var(--cw) / var(--tf)), var(--tmax)); }
.kc h3.t1 { --tf: 15; --tmin: 17px; --tmax: 23px; }
.kc h3.t2 { --tf: 16.8; --tmin: 15.5px; --tmax: 21px; }
.kc h3.t3 { --tf: 19; --tmin: 14.5px; --tmax: 18.5px; }
.kc h3.t4 { --tf: 20.5; --tmin: 14px; --tmax: 17px; }
.kc h3 a { color: var(--ink); text-decoration: none; }
.kc h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* 3 · the one sentence */
.kc-wk { padding: 0 0 14px; }
.wk-k { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; line-height: 1; color: var(--ink-3); white-space: nowrap; }
.wk-chip { font: 700 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 0; background: none; color: var(--ink); }
.wk-chip.is-old { color: var(--ink-3); font-weight: 600; }
.wk-chip.is-pause::before { content: ""; display: inline-block; width: 2px; height: 8px; margin-right: 6px; vertical-align: -1px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.wk-chip:not(.is-old)::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--sc); vertical-align: 1px; }
.wk-t { display: block; font-size: clamp(14px, calc(var(--cw) / 21), 15.5px); line-height: 1.4; font-weight: 400; color: var(--ink-2); text-decoration: none; min-height: calc(var(--wl) * 1lh); }
.wk-t:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 4 · the lower block */
.kc-low { padding: 0 0 14px; }
.lw-k { display: block; margin: 0 0 5px; font: 600 10px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
/* A: next date or what is pending */
.nx { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; }
.nx-d { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink-2); background: var(--surface); }
.nx-d b { font: 800 20px/1 var(--sans); letter-spacing: -.02em; }
.nx-d i { font: 600 9px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.nx-d.is-date { color: var(--sct); }
.nx-d.is-past { color: var(--ink-3); }
.nx-t { display: block; font-size: clamp(13px, calc(var(--cw) / 23), 14px); line-height: 1.35; font-weight: 500; color: var(--ink); min-height: calc(var(--nl) * 1lh); }
/* B: status line */
.st-t { display: block; font-size: clamp(13px, calc(var(--cw) / 23), 14px); line-height: 1.4; color: var(--ink-2); min-height: calc(var(--sl) * 1lh); }
/* C: the last three phases */
.ld { list-style: none; margin: 0; padding: 0; font-size: clamp(12px, calc(var(--cw) / 23.5), 13.5px); line-height: 1.3; }
.ld li { position: relative; display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; padding: 0 0 7px 17px; color: var(--ink-2); }
.ld li:last-child { padding-bottom: 0; }
.ld li::before { content: ""; position: absolute; left: 0; top: .36em; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); z-index: 1; }
.ld li::after { content: ""; position: absolute; left: 3px; top: .36em; bottom: -.36em; width: 1px; background: var(--line-2); }
.ld li:last-child::after { display: none; }
.ld li.on { color: var(--ink); font-weight: 700; }
.ld li.on::before { background: var(--sc); box-shadow: none; }
.ld time { color: var(--ink-3); font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 5 · foot */
.kph { display: flex; gap: 2px; height: 3px; margin: 0 0 9px; }
.kph i { flex: 1 1 0; background: #cbd1d8; }
.kph i.on { background: var(--sc); }
.ph-l { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 6px !important; font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }
.ph-l b { color: var(--ink); font-weight: 700; min-width: 0; }
.ph-l span { flex: none; white-space: nowrap; }
.kc-ft.is-plain { padding-top: 10px; }
.ft-m { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; line-height: 1.3; color: var(--ink-3); white-space: nowrap; }
.ft-hide { flex: none; border: 0; background: none; padding: 0; font: inherit; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-decoration-color: var(--line-2); }
.ft-hide:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* The columns share two rows so the phase strip and the dashed rule start together. */
.kc-lead {
  --pad: 24px; --rail-pad: 26px;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); grid-template-rows: auto auto; grid-row: auto;
  background: var(--slate-tint); padding: 0; margin-bottom: 14px;
}
.kl-a, .kl-b { display: grid; grid-template-rows: subgrid; grid-row: span 2; min-width: 0; }
.kl-a { padding: 20px 28px 14px var(--pad); }
.kl-b { padding: 20px var(--pad) 0 var(--rail-pad); background: #dde6ec; }
.kc-lead .kc-top { justify-content: flex-start; gap: 14px; padding-bottom: 18px; }
.kc-lead .fc { width: 48px; height: 48px; }
.kc-lead .fc + .fc { margin-left: -9px; }
.kl-names { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; font: 500 13px/1.4 var(--sans); }
.kl-names span:not(:last-child)::after { content: "·"; margin: 0 7px; color: var(--ink-3); }
.kc-lead .kc-fol { margin-left: auto; font-size: 14px; padding: 8px 0; }
.kc-lead .kc-fol[aria-pressed="true"] { padding: 8px 12px; background: var(--surface); }
.kc-lead .kc-hd { padding-bottom: 16px; }
.kc-lead .kc-sec { margin-bottom: 10px !important; }
.kc-lead h3 { font-size: clamp(21px, 3.05cqi, 34px); line-height: 1.08; }
.kc-lead .kph { height: 4px; margin-bottom: 10px; }
.kc-lead .kph i:not(.on) { background: #b9c6d0; }
.kc-lead .kc-wk { padding-top: 2px; }
.kc-lead .wk-k { margin-bottom: 10px; }
.kc-lead .wk-t { font-size: clamp(16px, 1.75cqi, 19px); line-height: 1.38; font-weight: 500; min-height: 0; text-wrap: pretty; }
.kc-lead .kc-low {
  margin-inline: calc(-1 * var(--rail-pad)) calc(-1 * var(--pad));
  padding: 14px var(--pad) 16px var(--rail-pad); border-top: 2px dashed var(--slate); background: var(--next-hatch);
}
.kc-lead .nx-t { font-size: 15px; min-height: 0; }
.kc-lead :is(.kc-sec, .kl-names, .wk-k, .lw-k, .ft-m, .ft-hide, .nx-d.is-past) { color: #3c5262; }
.kc-lead :is(.wk-chip, .wk-t, .nx-t) { color: var(--slate-ink); }
@container kw (max-width: 724px) {
  .kc-lead { --pad: 18px; display: flex; flex-direction: column; padding: 14px var(--pad) 12px; }
  .kl-a, .kl-b, .kl-head { display: contents; }
  .kc-lead .kc-top { order: 1; flex-wrap: wrap; gap: 10px 12px; padding-bottom: 14px; }
  .kc-lead .av { width: 40px; height: 40px; }
  .kc-lead .kc-fol { font-size: 12.5px; padding: 6px 0; }
  .kc-lead .kc-fol[aria-pressed="true"] { padding: 6px 9px; }
  .kc-lead .kl-names { order: 3; flex: 0 0 100%; }
  .kc-lead .kc-hd { order: 2; }
  .kc-lead .kc-wk { order: 3; padding-top: 0; }
  .kc-lead .kc-low { order: 4; margin-inline: calc(-1 * var(--pad)); padding: 12px var(--pad) 14px; background: var(--next-hatch), #dde6ec; }
  .kc-lead .kc-ft { order: 5; padding-top: 12px; }
  .kc-lead .kph { margin-bottom: 9px; }
}

/* Controls for the tema lists */

/* ---- the bar: one flex line that wraps; .cb is the size container and the anchor of its popovers ---- */
.cb { position: relative; container: cb / inline-size; display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 10px 14px; margin: 0 0 16px; }
.cb button { font-family: var(--sans); cursor: pointer; border-radius: 0; }
.cb .ic { flex: none; width: 15px; height: 15px; }
.cb .car { flex: none; width: 9px; height: 6px; }
.cb-h { margin: 0; font-family: var(--sans); font-weight: 800; white-space: nowrap; }
h2.cb-h { font-size: 24px; line-height: 32px; letter-spacing: -.02em; margin-right: 4px; }
h1.cb-h { flex: 0 0 100%; font-size: 40px; line-height: 1.05; letter-spacing: -.03em; margin: 36px 0 12px; }
.cb-all { font-size: 13.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; text-decoration-color: var(--line-2); text-decoration-thickness: 2px; }
.cb-all:hover { text-decoration-color: var(--ink); }
.cb-sp { flex: 1 1 0; min-width: 0; }
.cb-br { display: none; flex: 0 0 100%; height: 0; margin: -5px 0; }

.cb-btn { flex: none; height: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 0 11px; border: 0; background: var(--sunken); font: 500 13px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.cb-btn[aria-expanded="true"], .cb-edit[aria-expanded="true"] { box-shadow: inset 0 -2px 0 var(--ink); }
.cb-secbtn { display: none; }
.cb-secbtn .chp-n { display: inline-flex; align-items: center; gap: 7px; }
.cb-secbtn .chp-n::before { content: ""; width: 9px; height: 9px; background: var(--sc); }

/* En curso / Cerrados / Todos */
.cb-seg { flex: none; display: inline-flex; gap: 18px; }
.cb-seg button { height: 32px; padding: 0; border: 0; background: none; font: 500 13px/1 var(--sans); color: var(--ink-3); white-space: nowrap; }
.cb-seg button[aria-pressed="true"] { font-weight: 700; background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
/* Siguiendo: a check box, so it reads as "only these" and not as a fourth state */
.cb-fol .ckb { width: 13px; height: 13px; box-shadow: inset 0 0 0 1.5px var(--ink-3); display: inline-grid; place-items: center; font: 800 10px/1 var(--sans); font-style: normal; background: #fff; }
.cb-fol[aria-pressed="true"] .ckb { background: var(--sage); box-shadow: none; color: #fff; }
.cb-fol[aria-pressed="true"] .ckb::before { content: "✓"; }
.cb-q { flex: 0 1 250px; min-width: 150px; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--sunken); color: var(--ink-3); }
.cb-q input { flex: 1; min-width: 0; height: 30px; border: 0; outline: 0; background: none; font: 14px/1 var(--sans); color: var(--ink); padding: 0; -webkit-appearance: none; appearance: none; }
.cb-q input::placeholder { color: var(--ink-3); opacity: 1; }

/* Sort menu */
.cb-sort { flex: none; height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 0 2px; border: 0; background: none; font: 700 13px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.cb-sort[aria-expanded="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cb-tabs { flex: none; display: inline-flex; gap: 16px; }
.cb-tabs button { height: 32px; padding: 0; border: 0; background: none; font: 600 13px/1 var(--sans); color: var(--ink-3); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; }
.cb-tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }
/* cards / compact */
.cb-view { flex: none; display: inline-flex; }
.cb-view button { width: 34px; height: 32px; display: inline-grid; place-items: center; border: 0; padding: 0; background: none; color: #7b808a; }
.cb-view button[aria-pressed="true"] { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }

/* ---- sección chips ---- */
.cb-chips { flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; min-width: 0; }
.chp { flex: none; height: 32px; display: inline-flex; align-items: stretch; padding: 0; border: 0; background: none; font: 500 13px/1 var(--sans); color: var(--ink-2); white-space: nowrap; }
.chp-all { align-items: center; padding: 0 2px; }
.chp .chp-n { display: inline-flex; align-items: center; gap: 7px; padding: 0 9px 0 0; border: 0; background: none; font: inherit; color: inherit; }
.chp .chp-n::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--sc); }
/* followed: the square becomes a tick in the sección colour */
.chp.is-f .chp-n::before { content: "✓"; width: 15px; height: 15px; display: inline-grid; place-items: center; font: 800 10.5px/1 var(--sans); color: #fff; background: var(--sc); }
/* the filter in use: solid ink, like «Todas» */
.chp.is-on { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); font-weight: 700; }
.chp:hover { color: var(--ink); }
.chp.is-on.is-f .chp-n::before { box-shadow: none; }

/* The front page's closed topics and weekly stories. */
.home-closed .home-hd, .home-loose .home-hd { align-items: center; min-height: 33px; margin-bottom: 6px; }
.home-loose .home-hd h2 { text-wrap: balance; }
.home-section-filter { margin-bottom: 14px; }
.home-section-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; }
.home-section-chips .chp { height: 30px; }
.home-section-filter button, .home-closed-more { border-radius: 0; cursor: pointer; user-select: none; }
.home-section-filter .car { flex: none; width: 9px; height: 6px; }
.home-closed-more { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 0; background: var(--sunken); color: var(--ink); font: 600 13.5px/1 var(--sans); }
.home-closed-more:hover { background: var(--panel-hover); }
.home-loose .pp-arrows { display: flex; flex: none; }
.home-loose .pp-arrows button { width: 36px; padding-inline: 0; }
.home-loose .pp-progress { margin-top: 14px; }
.loose-fits .pp-arrows, .loose-fits .pp-progress { visibility: hidden; }
.home-section-filter button:focus-visible, .home-closed-more:focus-visible, .loose-tiles:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.loose-tile:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

@media (width < 700px) {
  .home-section-filter { margin-bottom: 12px; }
  .home-section-filter .cb-secbtn { display: inline-flex; }
  .home-section-chips { display: none; }
  .home-section-filter .cb-secbtn[aria-expanded="true"] + .home-section-chips {
    display: flex;
    margin-top: 6px;
    padding: 6px 12px;
    border: 1px solid var(--line-2);
  }
  .home-section-chips .chp { height: 44px; }
}
@media (pointer: coarse), (max-width: 640px) {
  .home-loose .home-hd { margin-bottom: 10px; }
  .home-loose .pp-arrows { display: none; }
  .loose-tiles {
    --cols: 1;
    --gap: 8px;
    grid-auto-columns: calc(100% - 44px);
    margin-inline: calc(-1 * var(--bleed));
    padding-inline: var(--bleed);
    scroll-padding-inline: var(--bleed);
  }
  .loose-tiles:has(> :only-child) { grid-auto-columns: 100%; }
}
/* A: two more zones on every chip */
.chp .chp-z { width: 27px; border: 0; border-left: 0; padding: 0; background: none; font: 700 15px/1 var(--sans); color: var(--ink-3); }
.chp .chp-fol[aria-pressed="true"] { background: var(--sc); color: #fff; font-size: 12.5px; border-left-color: var(--sc); }
.chp.is-on .chp-z { color: var(--ink); border-left-color: #55585e; }
.cb-tail { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.chp-hid { flex: none; height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px dashed var(--line-2); background: var(--sunken); font: 600 13px/1 var(--sans); color: var(--ink-2); white-space: nowrap; border-color: transparent; }
.chp-hid b { font-weight: 800; color: var(--ink); }
.chp-hid[aria-expanded="true"] { border: 1.5px solid var(--ink); }
.cb-edit { flex: none; height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 4px 0 8px; border: 0; background: none; font: 700 13px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.cb-edit[aria-expanded="true"] { padding: 0 9px; }

/* B: the chips only when they fit on one line; below that the same panel opens from a «Secciones» button */
@container cb (max-width: 1059px) {
  .cb-chips { display: none; }
  .cb-secbtn { display: inline-flex; }
}
@container cb (min-width: 1060px) {
  .pop .pr-r, .pop .pr-all { display: none; }
}
/* every alternative: between phone and 1060 the Todos bar breaks after the search field */
@container cb (min-width: 645px) and (max-width: 1059px) {
  .cb-todos .br1 { display: block; order: 1; }
  .cb-todos .cb-q { flex: 1 1 200px; max-width: 340px; }
  .cb-todos .cb-secbtn, .cb-todos .cb-sp, .cb-todos .cb-sort, .cb-todos .cb-tabs, .cb-todos .cb-view { order: 2; }
  .cb-todos .cb-chips, .cb-todos .tray, .cb-todos .pop { order: 3; }
}

/* ---- popovers ---- */
.pop { position: absolute; z-index: 6; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(12, 12, 13, .05), 0 14px 34px -10px rgba(12, 12, 13, .18); }
.pop ul { list-style: none; margin: 0; padding: 0; }
.pop-h { margin: 0; font: 800 10.5px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; font-weight: 600; }
.pop-sec { width: 392px; padding: 4px 0 6px; }
.pop-sec .pop-h { padding: 12px 16px 6px; }
.pop-sec ul + .pop-h { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 14px; border-top-color: var(--line); }
.pr { display: flex; align-items: center; gap: 14px; min-height: 40px; padding: 5px 16px; }
.pr + .pr { box-shadow: inset 0 1px 0 var(--line); }
.pr-n { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; font: 600 14px/1.25 var(--sans); color: var(--ink); font-weight: 500; }
.pr-n::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--sc); }
.pr-all .pr-n::before { display: none; }
.pr-r { flex: none; width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); margin-right: -4px; }
.pr-r.on { box-shadow: inset 0 0 0 4.5px var(--sage); }
.pr.is-hid .pr-n { color: var(--ink-3); }
.pr.is-hid .pr-n::before { background: none; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pr.is-tema .pr-n { font-weight: 500; font-size: 13.5px; align-items: flex-start; }
.pr.is-tema .pr-n::before { margin-top: .32em; }
/* the same three words as on a card: + Seguir / ✓ Seguís / Ocultar, plus Mostrar to bring something back */
.b-fol { flex: none; min-width: 66px; border: 0; background: none; padding: 6px 0; font: 600 12.5px/1 var(--sans); color: var(--ink-2); white-space: nowrap; text-align: right; cursor: pointer; }
.b-fol[aria-pressed="true"] { min-width: 0; }
.b-hide { flex: none; border: 0; background: none; padding: 0; font: 400 12px/1.3 var(--sans); color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; cursor: pointer; }
.b-show { flex: none; height: 26px; padding: 0 9px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font: 700 12px/1 var(--sans); color: var(--ink); white-space: nowrap; cursor: pointer; font-weight: 600; }
.pop-sort { width: 196px; padding: 5px 0; display: flex; flex-direction: column; }
.pop-sort button { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border: 0; background: none; font: 500 14px/1 var(--sans); color: var(--ink); text-align: left; white-space: nowrap; }
.pop-sort button::before { content: ""; width: 14px; font: 800 12px/1 var(--sans); }
.pop-sort button[aria-checked="true"] { font-weight: 700; }
.pop-sort button[aria-checked="true"]::before { content: "✓"; }
/* A: hidden things come back from a tray under the chips */
.tray { flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; background: var(--sunken); min-width: 0; }
.tray .pop-h { margin-right: 4px; }
.tr-i { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; max-width: 100%; padding: 3px 4px 3px 10px; background: #fff; border: 1px dashed var(--line-2); }
.tr-i .pr-n { font-size: 13px; color: var(--ink-2); }
.tr-i .pr-n::before { background: none; box-shadow: inset 0 0 0 1.5px var(--line-2); }

/* ---- a hidden tema: the card's place stays, so nothing else moves, and offers the way back ---- */
.kc-gone { grid-row: span 5; min-width: 0; margin: 0 0 var(--gap); padding: 22px var(--pad); display: flex; align-items: center; justify-content: center; background: none; border: 1px dashed var(--line-2); }
.kg-in { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; max-width: 30ch; }
.kc-gone .kc-faces { filter: grayscale(1); opacity: .55; }
.kc-gone .fc { width: 28px; height: 28px; }
.kc-gone .fc + .fc { margin-left: -6px; }
.kg-k { margin: 14px 0 6px; font: 800 10.5px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.kg-t { margin: 0; font: 700 15px/1.25 var(--sans); letter-spacing: -.01em; color: var(--ink-2); text-wrap: balance; }
.kg-undo { margin-top: 16px; height: 34px; padding: 0 14px; border: 0; background: var(--panel-hover); color: var(--ink); font: 700 13px/1 var(--sans); cursor: pointer; font-weight: 600; }
.kg-undo::before { content: "↩"; margin-right: 7px; font-weight: 400; }

/* ---- compact view: one line per tema ---- */
.krows { list-style: none; margin: 0 0 4px; padding: 0; border-top: 1px solid var(--line-2); }
.krow { display: grid; grid-template-columns: 94px minmax(0, 1fr) 96px 104px 70px 48px; column-gap: 18px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.krow > * { min-width: 0; }
.krow .fc { width: 28px; height: 28px; }
.krow .fc + .fc { margin-left: -6px; }
.krow-t { position: relative; padding-left: 17px; font: 700 15px/1.25 var(--sans); letter-spacing: -.012em; color: var(--ink); text-decoration: none; text-wrap: pretty; font-weight: 700; }
.krow-t::before { content: ""; position: absolute; left: 0; top: .34em; width: 9px; height: 9px; background: var(--sc); }
.krow-t:hover { text-decoration: underline; text-underline-offset: 3px; }
.krow-last, .krow-next { font-size: 13px; line-height: 1.2; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.krow-last i, .krow-next i { display: none; font: 700 10px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.krow-last.is-new { color: var(--ink); font-weight: 600; }
.krow-tag { display: inline-block; padding: 4px 7px; font: 700 12px/1 var(--sans); white-space: nowrap; }
.krow-tag.is-d { background: none; color: var(--sct); padding-left: 0; }
.krow-tag.is-p { color: var(--ink-3); font-weight: 500; padding-left: 0; }
.krow .b-fol { justify-self: end; min-width: 0; }
.krow .b-hide { justify-self: end; }
.krow-hd { padding: 8px 0 7px; font: 700 10px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
@container kw (max-width: 700px) {
  .krow { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "faces . fol hide" "title title title title" "last next next next"; gap: 8px 14px; padding: 12px 0 11px; }
  .krow-hd { display: none; }
  .krow .kc-faces { grid-area: faces; }
  .krow-t { grid-area: title; }
  .krow .b-fol { grid-area: fol; }
  .krow .b-hide { grid-area: hide; }
  .krow-last { grid-area: last; }
  .krow-next { grid-area: next; justify-self: start; }
  .krow-last i, .krow-next i { display: inline; }
}

/* ---- Todos los temas ---- */
.tp { margin: 0; }
.pager { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; align-items: center; margin: 28px 0 60px; font: 600 14px/1 var(--sans); }
.pager a, .pager span { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); font-weight: 500; text-decoration: none; padding: 0 9px; }
.pager .on { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }

/* ---- phone ---- */
@container cb (max-width: 644px) {
  .cb-sp { display: none; }
  .cb-h { order: 1; flex: 1 1 auto; }
  h2.cb-h { font-size: 22px; }
  h1.cb-h { flex: 1 1 auto; font-size: 30px; margin: 18px 0 6px; }
  .cb-view { order: 2; margin-left: auto; }
  .cb-todos .cb-view { align-self: flex-end; margin-bottom: 6px; }
  .cb-all { order: 3; flex: 0 0 100%; margin-top: -4px; }
  .cb-q { order: 4; flex: 1 1 150px; }
  .cb-fol { order: 5; }
  .cb-br.br0 { display: block; order: 6; }
  .cb-seg { order: 7; }
  .cb-br.br1 { display: block; order: 8; }
  .cb-secbtn { order: 9; }
  .cb-sort, .cb-tabs { order: 10; }
  .cb-sort { margin-left: auto; }
  .cb-tabs { gap: 14px; }
  .cb-chips { order: 11; }
  .tray { order: 12; }
  .pop { order: 13; position: static; flex: 0 0 100%; width: auto; box-shadow: none; }
  .pr { gap: 10px; padding: 5px 12px; }
  .pop-sec .pop-h { padding-left: 12px; padding-right: 12px; }
  .pr .b-fol { min-width: 60px; }
}
@media (max-width: 700px) {
  .kc-gone { padding: 18px var(--pad); }
  .pager { gap: 4px; }
  .pager a, .pager span { min-width: 28px; height: 32px; padding: 0 4px; }
}


/* faces and logos: circles side by side (never overlapping), a thin line on logos */
.kc-faces { display: inline-flex; flex-wrap: nowrap; gap: 4px; flex: none; max-width: 100%; }
.kc .av, .krow .av, .kc-gone .av { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; font: 700 12px/1 var(--sans); background: var(--sunken); color: var(--ink-2); box-shadow: none; margin: 0; }
.kc .av img, .krow .av img, .kc-gone .av img { width: 100%; height: 100%; object-fit: cover; display: block; padding: 0; background: #fff; }
.kc .av-img, .krow .av-img, .kc-gone .av-img { background: #fff; }
.kcs .kc .av:not(.av-img) { background: #fff; }
.kc .av-org.av-img, .krow .av-org.av-img, .kc-gone .av-org.av-img { border: 1px solid var(--line-2); }
.kc-lead .av { width: 48px; height: 48px; font-size: 14px; }
.krow .av, .kc-gone .av { width: 28px; height: 28px; font-size: 10px; }
.kc-gone .kc-faces { filter: grayscale(1); opacity: .55; }
.kc-top { min-height: 48px; }
.kc-lead .kc-top { min-height: 60px; }
.pr-pick { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.pr-pick .pr-n { flex: 1 1 auto; }
.pr-pick .pr-r { flex: none; margin-right: 0; }
.pager button { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); background: none; border: 0; padding: 0 9px; font: inherit; font-weight: 500; cursor: pointer; border-radius: 0; }

.pager button:disabled { cursor: default; }
@media (max-width: 700px) { .pager button { min-width: 26px; height: 32px; padding: 0 3px; } }
.krow-gone { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px dashed var(--line-2); margin: 6px 0; }
.krow-gone .kg-k { margin: 0; flex: none; white-space: nowrap; }
.krow-gone .kg-t { flex: 1 1 auto; min-width: 0; }
.krow-gone .kg-undo { margin: 0; flex: none; }
.home-grp + .home-grp { margin-top: 30px; }
.kc button:focus-visible, .cb button:focus-visible, .pop button:focus-visible, .krow button:focus-visible, .kc-gone button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.kwrap > .kc-gone { --pad: 24px; --gap: 16px; }
@container kw (max-width: 1040px) { .kc-lead .kc-top { flex-wrap: wrap; gap: 10px 12px; } .kc-lead .kl-names { order: 3; flex: 0 0 100%; } }
@container kw (max-width: 700px) { .krow-gone { flex-wrap: wrap; gap: 6px 14px; } .krow-gone .kg-k { flex: 0 0 100%; } .krow-gone .kg-t { flex: 1 1 0; } }
.kwrap.is-group .kc-sec { display: none; }
.pg-of { display: none; }
@media (max-width: 700px) { .pager.is-long .pg-n { display: none; } .pager.is-long .pg-of { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; box-shadow: none; } }
.cb-q input::-webkit-search-cancel-button { display: none; }
@container kw (max-width: 700px) { .kc-lead .av { width: 40px; height: 40px; } }

/* Reviewed protagonist directory and profile. */
.pg-browse, .pp-page, .pg-rail { overflow-wrap: anywhere; }
.pg-browse h1, .pg-browse h2, .pg-browse h3, .pp-page h1, .pp-page h2, .pp-page h3, .pg-rail h2 { font-family: var(--sans); line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -.025em; }
.pg-browse h1 { font-size: 34px; }
.pg-browse h2, .pp-page h2, .pg-rail h2 { font-size: 24px; }
.pg-title, .pg-controls, .pg-heading, .pp-section, .pg-picker, .pp-actions { display: flex; align-items: baseline; gap: 8px 14px; flex-wrap: wrap; }
.pg-title { margin: 6px 0 16px; }
.pg-title span { color: var(--ink-3); font-size: 15px; }
.pg-controls { align-items: center; }
.pg-tabs, .pg-letters, .pg-pages, .pg-picker, .pp-arrows { display: flex; align-items: center; gap: 0; }
.pg-picker, .pg-pages, .pg-letters { flex-wrap: wrap; }
.pg-tabs, .pg-picker { gap: 18px; }
.pg-controls input, .pg-controls select, .pg-tabs button, .pg-picker button, .pg-letters button, .pg-pages button, .pp-arrows button {
  font: 600 13px/1.25 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 0; min-height: 33px; padding: 6px 11px; cursor: pointer;
}
.pg-controls input { margin-left: auto; width: 320px; max-width: 100%; font-weight: 400; cursor: text; }
.pg-tabs button + button, .pg-picker button + button, .pg-letters button + button { margin-left: 0; }
.pg-heading { border-bottom: 0; margin: 36px 0 20px; padding-bottom: 0; margin-bottom: 14px; }
.pg-heading small, .pp-section small, .pp-info small, .pp-companion small, .pp-card-foot small { color: var(--ink-3); font: 400 13px/1.35 var(--sans); }
.pg-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 20px; border-bottom: 1px solid var(--ink-3); flex: none; border-bottom-color: var(--line-2); }
.pg-bars i { width: 6px; background: #b3b9c1; height: max(2px,calc(var(--h) * 100%)); }
.pg-bars i:last-child { background: var(--ink-2); }
.pg-activity { font: 700 13px/1.25 var(--sans); }
.pg-photo, .pg-face-link { display: inline-flex; align-self: start; text-decoration: none; }
.pg-portrait { width: var(--portrait,44px); height: var(--portrait,44px); flex: none; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--sunken); color: var(--ink-2); font: 800 calc(var(--portrait,44px) * .31)/1 var(--sans); }
.pg-portrait img { width: 100%; height: 100%; object-fit: cover; }
.pg-portrait[data-kind="institución"]:has(img) { border: 1px solid var(--line-2); background: #fff; }
.pg-portrait[data-kind="institución"] img { object-fit: contain; padding: 4%; }
.pg-browse h3 a, .pp-card h3 a, .pg-rail-row b a { text-decoration: none; color: var(--ink); }
.pg-browse a:hover, .pp-page a:hover, .pg-rail a:hover { text-decoration: underline; }
.pg-tag { font: 650 12.5px/1.3 var(--sans); text-decoration: none; color: var(--ink-2); font-weight: 500; }
.pg-tag::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; background: var(--sc); }
.pg-follow { border: 0; background: transparent; color: var(--ink-2); padding: 6px 8px; font: 700 13px/1.2 var(--sans); cursor: pointer; font-weight: 600; }
.pg-follow span::before { content: '+ '; }
.pg-follow[aria-pressed=true] span::before { content: '✓ '; }
.pg-mark { display: flex; align-items: end; gap: 9px; }
.pg-rail .pg-follow { flex: none; }
.pg-picker { margin-left: auto; }
.pg-picker small { font-size: 10px; font-weight: 600; text-transform: uppercase; margin-right: 8px; color: var(--ink-3); letter-spacing: .08em; }
.pg-letters { margin-bottom: 22px; }
.pg-letters button { min-width: 32px; padding: 4px; color: var(--ink-2); }
.pg-letters button:disabled, .pp-arrows button:disabled { color: var(--line-2); cursor: default; }
.pg-index { columns: 4; column-gap: 32px; }
.pg-letter { display: flex; justify-content: space-between; align-items: baseline; break-after: avoid; font-size: 30px; }
.pg-letter:first-child { padding-top: 8px; margin-top: 0; }
.pg-letter small { color: var(--ink-3); font: 400 12px var(--sans); }
.pg-entry { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 0; break-inside: avoid; border-bottom: 0; text-decoration: none; color: var(--ink); font: 650 14px/1.25 var(--sans); --portrait: 28px; border-bottom-color: var(--line); font-weight: 600; }
.pg-entry-label { min-width: 0; overflow-wrap: anywhere; }
.pg-entry small { display: block; margin-top: 2px; color: var(--ink-3); font: 400 12.5px/1.3 var(--sans); }
.pg-index-faces { columns: auto; display: grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap: 10px; }
.pg-index-faces .pg-letter { grid-column: 1/-1; }
.pg-index-faces .pg-entry { --portrait: 60px; flex-direction: column; text-align: center; }
.pg-pages { justify-content: center; gap: 20px; margin-top: 30px; }
.pp-back { display: inline-block; margin-bottom: 16px; font-size: 13px; font-weight: 650; text-decoration: none; }
.pp-hero { display: flex; align-items: center; gap: 22px; padding: 20px 24px; border: 1px solid var(--line-2); border-top: 4px solid var(--ink); --portrait: 88px; }
.pp-hero .pg-follow { border: 1px solid var(--ink); margin: 0 0 0 auto; align-self: center; flex: none; padding: 12px 18px; font-size: 15px; }
.pp-type, .pp-type .pg-tag { font: 800 11px/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.pp-type .pg-tag { margin-left: 8px; }
.pp-info h1 { font-size: 40px; margin-top: 8px; }
.pp-info p { margin: 6px 0 8px; font-size: 18px; }
.pp-section { align-items: center; margin: 40px 0 14px; }
.pp-block { display: grid; grid-template-columns: minmax(0,31%) minmax(0,1fr); gap: 30px; border: 1px solid var(--line-2); border-left: 4px solid var(--sc); padding: 14px 20px; margin-bottom: 14px; }
.pp-card { min-width: 0; display: flex; flex-direction: column; --cw: 320px; --nl: 0; }
.pp-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px; margin-bottom: 10px; }
.pp-card .av, .pg-suggestion .av { display: inline-flex; width: 36px; height: 36px; }
.pp-card .av img, .pg-suggestion .av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pp-card .av-org img, .pg-suggestion .av-org img { border: 1px solid var(--line-2); object-fit: contain; }
.pp-card h3 { font-size: 18px; margin-bottom: 12px; }
.pp-card .kc-low { margin-top: auto; padding: 10px 0 0; border-top: 1px solid var(--line); min-height: 0; }
.pp-card .kc-low p { margin: 0; }
.pp-card-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 6px; margin-top: 20px; }
.pp-card-foot .kph { flex-basis: 100%; }
.pp-card-foot small { font-size: 12px; }
.pp-events { min-width: 0; }
.pp-event { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 12px; font: 500 16px/1.43 var(--sans); padding: 12px 0; border-bottom: 1px solid var(--line); }
.pp-event:first-child { padding-top: 4px; }
.pp-event time { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.pp-all, .pg-rail footer a { display: inline-block; margin: 10px 0 0; font: 650 13px/1.4 var(--sans); }
.pp-actions { margin-left: auto; align-items: center; }
.pp-arrows { gap: 6px; }
.pp-track { --cols: 3; --gap: 12px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% + var(--gap)) / var(--cols) - var(--gap)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
.pp-track > * { scroll-snap-align: start; }
.pp-track > .pp-card, .pp-companion { border: 1px solid var(--line-2); padding: 16px 18px; }
.pp-track > .pp-card { border-top: 3px solid var(--sc); }
.pp-companions .pp-track { --cols: 6; }
.pp-companion { --portrait: 68px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--ink); text-decoration: none; line-height: 1.25; }
.pp-companion span:last-child { margin-top: auto; padding-top: 10px; width: 100%; border-top: 1px solid var(--line); font-size: 12.5px; }
/* The scrollport fits whole cards. Only their empty borders extend into the gutters. */
.pp-window { position: relative; padding-inline: 16px; }
.pp-window::before, .pp-window::after { content: ''; position: absolute; top: 0; bottom: 0; width: 8px; border: 1px solid var(--line-2); border-top: 3px solid var(--ink-3); pointer-events: none; display: none; }
.pp-before .pp-window::before { display: block; left: 0; border-left: 0; }
.pp-after .pp-window::after { display: block; right: 0; border-right: 0; }
.pp-track { padding-bottom: 0; scrollbar-width: none; }
.pp-progress { margin-top: 12px; height: 2px; background: var(--line); }
.pp-progress i { height: 100%; display: block; background: var(--ink); }
.pp-topic-list, .pp-list .pp-window, .pp-list .pp-progress, .pp-list .pp-arrows { display: none; }
.pp-list .pp-topic-list { display: block; border-top: 1px solid var(--ink); }
.pp-topic-list a { display: grid; grid-template-columns: auto 1fr 85px 145px; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); text-decoration: none; }
.pp-topic-list small:last-child { text-align: right; }
.pp-topic-list:not(.pp-expanded) a:nth-child(n+9) { display: none; }
.pp-reveal { display: block; margin: 14px auto 0; background: #fff; border: 1px solid var(--ink); padding: 8px 12px; font: 650 13px var(--sans); cursor: pointer; }
.pg-follow-layout { display: grid; grid-template-columns: minmax(0,2.25fr) minmax(280px,1fr); gap: 28px; }
.pg-rail { display: flex; flex-direction: column; background: var(--sunken); padding: 20px 20px 22px; }
.pg-rail h2 { border-bottom: 0; padding-bottom: 4px; }
.pg-rail .pg-portrait, .pg-rail .av { background: #fff; }
.pg-rail h3 { text-transform: uppercase; font: 700 11px/1.3 var(--sans); letter-spacing: .08em; color: var(--ink-3); margin: 14px 0 0; font-weight: 600; }
.pg-suggestion, .pg-rail-row { padding: 12px 0; border-bottom: 1px solid #fff; }
.pg-suggestion { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 8px; }
.pg-suggestion > div { grid-column: 1/-1; display: flex; align-items: center; gap: 8px; }
.pg-suggestion .av { width: 28px; height: 28px; }
.pg-rail-row { --portrait: 36px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 11px; align-items: start; font-size: 15px; }
.pg-rail-row > div { display: contents; }
.pg-rail-row > .pg-follow { grid-area: 1/3; }
.pg-rail-row > .pg-photo { grid-row: 1/3; }
.pg-rail-row .pg-mark { grid-column: 2/-1; flex-wrap: wrap; }
.pg-rail footer { margin-top: auto; padding-top: 24px; display: grid; }
.pg-followed { display: flex; align-items: center; gap: 12px; }
.pg-followed .pg-follow { margin-left: auto; }
@media (min-width:761px) and (max-width:1100px) {
  .pg-index { columns: 3; } .pg-index-faces { columns: auto; }
  .pp-companions .pp-track { --cols: 4; } .pp-topics .pp-track { --cols: 2; }
}
@media (max-width:760px) {
  .pg-controls input { width: 100%; order: -1; }
  .pg-heading { margin: 30px 0 0; }
  .pg-picker { margin-left: 0; }
  .pg-heading h2, .pp-section h2 { font-size: 22px; }
  .pg-letters { margin-top: 14px; } .pg-letters button { min-width: 0; width: calc((100% + 12px) / 13); }
  .pg-index { columns: 1; } .pg-pages { gap: 3px; } .pg-pages button { padding-inline: 5px; }
  .pp-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 16px; --portrait: 72px; }
  .pp-info { grid-column: 1/-1; } .pp-info h1 { font-size: 28px; }
  .pp-hero .pg-follow { grid-area: 1/2; }
  .pp-block { display: block; padding: 14px 18px; }
  .pp-events { margin-top: 12px; border-top: 1px solid var(--ink); }
  .pp-event { display: flex; flex-direction: column; gap: 4px; }
  .pp-event:first-child { padding-top: 12px; }
  .pp-arrows { display: none; } .pp-actions { margin-left: 0; }
  .pp-topics .pp-track { --cols: 1; } .pp-companions .pp-track { --cols: 2; }
  .pp-topic-list a { display: flex; flex-wrap: wrap; }
  .pp-topic-list b { width: 100%; }
  .pp-window { padding-inline: 8px; }
  .pp-window::before, .pp-window::after { width: 3px; }
  .pg-follow-layout { display: block; } .pg-rail { margin: 32px -18px 0; padding: 20px 18px 22px; }
}
.pg-overview h2 { font: 800 24px/1.2 var(--sans); margin: 22px 0 0; border-bottom: 0; padding-bottom: 10px; }
.pg-overview .pg-followed { display: grid; grid-template-columns: auto minmax(0,1fr) auto 76px minmax(0,1.6fr); align-items: start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); --portrait: 60px; }
.pg-followed small, .pg-followed time { display: block; color: var(--ink-3); font: 400 13px/1.35 var(--sans); }
.pg-followed b a { text-decoration: none; }
.pg-followed p { margin: 6px 0 0; font: 500 15px/1.45 var(--sans); }
.pg-followed .pg-follow { white-space: nowrap; }
.pg-follow-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 14px; }
.pg-follow-topics .pp-card { border: 1px solid var(--line-2); padding: 16px; }
.pg-follow-topics h3 { font: 800 18px/1.2 var(--sans); }
@media(max-width:1000px) {
  .pg-overview .pg-followed { grid-template-columns: auto minmax(0,1fr) auto; }
  .pg-overview .pg-followed > div:last-child { grid-column: 2/-1; }
}
@media(max-width:760px) { .pg-follow-topics { grid-template-columns: 1fr; } }

.pg-letter { scroll-margin-top: calc(var(--nav-h) + 12px); border-bottom: 0; padding: 14px 12px 8px; margin: 14px 0 6px; background: var(--sunken); }

/* Weekly protagonist ranking. The first five ranks fill the left column. */
.pg-heading.pt-heading { margin-bottom: 0; }
.pt-ranking + .pg-heading { margin-top: 24px; }
.pt-key { margin-left: auto; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.pt-key span { display: inline-flex; align-items: center; gap: 5px; }
.pt-key-prev, .pt-key-current { width: 7px; height: 11px; margin-left: 7px; background: #a4a9b0; }
.pt-key-current { background: var(--ink-2); }
.pt-key-up { margin-left: 9px; color: var(--ink-2); }
.pt-up { display: inline-block; width: 9px; height: 9px; flex: none; background: var(--ink-2); clip-path: polygon(50% 8%, 98% 92%, 2% 92%); }
.pt-list {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(5,auto); grid-auto-flow: column;
  column-gap: 64px; position: relative; list-style: none; margin: 0; padding: 0;
}
.pt-list:has(> :nth-child(6))::after { content: ''; position: absolute; left: 50%; inset-block: 11px; border-left: 1px solid var(--line); border-left-color: var(--line); }
.pt-row {
  display: grid; grid-template-columns: 28px auto minmax(0,1fr) auto; column-gap: 14px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line); --portrait: 48px;
  border-bottom-color: var(--line);
}
.pt-row:nth-child(5), .pt-row:last-child { border-bottom: 0; }
.pt-rank { font: 800 22px/1 var(--sans); font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; color: var(--sage); }
.pt-row .pg-photo { align-self: center; }
.pt-row h3 { font-size: 17px; }
.pt-row h3 a { scroll-margin-top: calc(var(--nav-h) + 12px); }
.pt-row p { margin: 2px 0 0; font: 400 13.5px/1.35 var(--sans); color: var(--ink-3); text-wrap: pretty; }
.pt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 5px; }
.pt-activity, .pt-count { display: inline-flex; align-items: center; }
.pt-activity { gap: 14px; }
.pt-count { gap: 5px; font: 700 13px/1.25 var(--sans); white-space: nowrap; }
.pt-meta .pg-bars { height: 16px; }
.pt-row .pg-follow { border: 1px solid var(--ink); white-space: nowrap; border-color: transparent; }
.pt-more { display: none; }
@media (max-width:1100px) {
  .pt-list { column-gap: 40px; }
  .pt-row { grid-template-columns: 26px auto minmax(0,1fr) auto; column-gap: 10px; }
  .pt-activity { gap: 7px; }
  .pt-meta .pg-bars { gap: 1px; height: 13px; }
  .pt-meta .pg-bars i { width: 4px; }
}
@media (max-width:760px) {
  .pt-key { margin-left: 0; gap: 2px 12px; }
  .pt-key-prev, .pt-key-current, .pt-key-up { margin-left: 0; }
  .pt-list { display: block; }
  .pt-list:has(> :nth-child(6))::after, .pt-list:not(.pt-expanded) > :nth-child(n+6) { display: none; }
  .pt-list.pt-expanded > :nth-child(5):not(:last-child) { border-bottom: 1px solid var(--line); }
  .pt-row { grid-template-columns: 22px auto minmax(0,1fr) auto; align-items: start; padding: 12px 0 8px; --portrait: 40px; }
  .pt-body, .pt-meta { display: contents; }
  .pt-rank { grid-area: 1/1; font-size: 18px; padding-top: 2px; }
  .pt-row .pg-photo { grid-area: 1/2/5/3; align-self: start; }
  .pt-row h3 { grid-area: 1/3/2/5; font-size: 16px; padding-top: 2px; }
  .pt-row p { grid-area: 2/3/3/5; font-size: 13px; }
  .pt-row .pg-tag { grid-area: 3/3/4/5; margin-top: 6px; }
  .pt-activity { grid-area: 4/3; align-self: center; }
  .pt-row .pg-follow { grid-area: 4/4; border: 0; padding: 5px 0 5px 8px; }
  .pt-row .pg-follow[aria-pressed=true] { padding: 5px 8px; }
  .pt-more:not([hidden]) { display: block; margin: 8px auto 0; background: #fff; border: 1px solid var(--ink); padding: 8px 12px; font: 650 13px var(--sans); color: var(--ink); cursor: pointer; }
}
@media(max-width:900px) {
  .pg-nav { justify-content: space-between; gap: 8px; mask-image: none; -webkit-mask-image: none; }
}
@media(max-width:420px) {
  .pg-nav { gap: 5px; }
  .pg-nav a { font-size: 12px; }
}

/* Visit boxes and the visit filter */
.fb-box { --fb-line: #cdd9cf; margin: 22px 0 28px; padding: 18px 26px 24px; background: #edf2ed; border: 0; border-top: 3px solid var(--sage); color: var(--ink); }
.fb-box :is(h2, h3, ul) { margin: 0; }
.fb-box ul { padding: 0; list-style: none; }
.fb-dot { display: inline-block; width: 8px; height: 8px; background: var(--sc, var(--mark)); margin-inline-end: 6px; }
.fb-follow, .fb-chip { border: 1px solid transparent; color: var(--sage-ink); background: var(--surface); font: 600 13px/1.2 var(--sans); }
.fb-follow { padding: 7px; white-space: nowrap; cursor: pointer; }
.fb-follow:hover, .fb-chip:hover { background: #fff; color: var(--sage-ink); box-shadow: inset 0 0 0 1px var(--sage-line); }
.fb-chip { display: inline-flex; gap: 8px; align-items: center; padding: 7px 9px; margin-bottom: 12px; }
@media (pointer: coarse) {
  .fb-follow { min-height: 44px; }
}
@media (max-width: 720px) {
  .fb-box { padding: 14px 16px 18px; }
}
@media (max-width: 640px) {
  .fb-box { margin-inline: -18px; }
}

/* Así se ve el bosque */
.bq-box { padding-bottom: 12px; }
.bq-head { padding-bottom: 12px; border-bottom: 1px solid var(--fb-line); font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.028em; word-spacing: .06em; text-rendering: optimizeLegibility; }
.bq-box :is(dl, dt, dd) { margin: 0; }
.bq-term { font: 750 16px/1.25 var(--sans); letter-spacing: -.012em; }
.bq-term-new { color: var(--violet); }
.bq-part dd { color: var(--ink-2); font-size: 15px; line-height: 1.35; }
.bq-part + .bq-part, .bq-pick + .bq-pick { border-top: 1px solid var(--fb-line); }
.bq-g { display: block; flex: none; fill: var(--sage); }
.bq-square-muted { fill: #a9bbab; }
.bq-square-new { fill: var(--violet); }
@media (prefers-reduced-motion: no-preference) {
  .bq-in .bq-square-new { transform-box: fill-box; animation: bq-rise .55s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.65s + var(--bq-step) * .12s); }
  @keyframes bq-rise { from { opacity: 0; transform: translateY(5px); } }
}

.bq-start-h { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; }
.bq-start-h h3 { color: var(--sage-ink); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bq-link { color: var(--sage-ink); font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--sage-line); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bq-link:is(:hover, :focus-visible) { text-decoration-color: var(--sage); }
.bq-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title follow" "meta follow"; align-content: center; align-items: center; column-gap: 12px; }
.bq-pick-title { grid-area: title; font-size: 16px; line-height: 1.22; font-weight: 700; letter-spacing: -.012em; text-decoration: none; overflow-wrap: anywhere; }
.bq-pick-title:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
.bq-pick-meta { grid-area: meta; margin-top: 2px; color: var(--ink-3); font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.bq-pick .fb-follow { grid-area: follow; padding: 7px 9px; }
.bq-pick .fb-follow[aria-pressed="true"] { background: #dbe6dc; font-weight: 700; box-shadow: none; }

@media (min-width: 721px) {
  .bq-parts { display: grid; grid-template-columns: 84px max-content minmax(0, 1fr); }
  .bq-part { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; }
  .bq-part dt { display: grid; grid-column: span 2; grid-template-columns: subgrid; align-items: center; }
  .bq-term { padding-inline-end: 24px; white-space: nowrap; }
}
@media (min-width: 961px) {
  .bq-box { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto repeat(3, auto); }
  .bq-box:has(.bq-start) { grid-template-columns: minmax(0, 1fr) minmax(320px, 40%); }
  .bq-head { grid-area: 1 / 1; padding-bottom: 13px; }
  .bq-parts { grid-area: 2 / 1 / span 3; grid-template-rows: subgrid; }
  .bq-box:has(.bq-start) .bq-parts { padding-inline-end: 24px; }
  .bq-part { min-height: 60px; padding: 8px 0; }
  .bq-part dd { font-size: 16px; }
  .bq-start { display: grid; grid-area: 1 / 2 / span 4; grid-template-rows: subgrid; }
  .bq-start-h { padding: 0 0 13px 24px; border-bottom: 1px solid var(--fb-line); }
  .bq-box .bq-picks { display: grid; grid-row: 2 / span 3; grid-template-rows: subgrid; padding-inline-start: 24px; border-inline-start: 1px solid var(--fb-line); }
  .bq-pick { padding: 8px 0; }
}
@media (min-width: 721px) and (max-width: 960px) {
  .bq-part { min-height: 54px; padding: 7px 0; }
  .bq-start-h { padding: 13px 0 4px; border-top: 1px solid var(--fb-line); }
  .bq-pick { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "title meta follow"; align-items: baseline; padding: 6px 0; }
  .bq-pick-meta { margin-top: 0; }
  .bq-pick .fb-follow { align-self: center; }
}
@media (max-width: 720px) {
  .bq-box { padding-bottom: 8px; }
  .bq-head { padding-bottom: 10px; font-size: 24px; }
  .bq-part { display: grid; gap: 2px; padding: 11px 0 12px; }
  .bq-part dt { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 12px; }
  .bq-start-h { padding: 14px 0 4px; border-top: 1px solid var(--fb-line); }
  .bq-pick { grid-template-areas: "title follow"; padding: 5px 0; }
  .bq-pick-meta { display: none; }
}

/* Desde tu visita */
.rv-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 26px; }
.rv-head h2 { font: inherit; }
.rv-state { color: var(--ink-3); font-weight: 600; }
.rv-head a { letter-spacing: normal; word-spacing: normal; }
.rv-label { color: var(--sage-ink); font: 700 11px/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.rv-row { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; padding: 8px 0; }
.rv-row + .rv-row, .rv-more { border-top: 1px solid var(--fb-line); }
.rv-text { display: grid; min-width: 0; margin: 0; }
.rv-text:only-child { grid-column: 1 / -1; }
.rv-name { font-size: 16px; font-weight: 700; line-height: 1.22; letter-spacing: -.012em; text-decoration: none; overflow-wrap: anywhere; }
.rv-name:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
.rv-meta { margin-top: 2px; color: var(--ink-3); font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.rv-meta b { color: var(--violet); font-weight: 700; }
.rv-number { padding-inline-end: 16px; color: var(--violet); font: 800 42px/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rv-face { padding-inline-end: 14px; line-height: 0; }
.rv-face .pg-portrait { outline: 1px solid var(--fb-line); border: 1px solid #fff; }
.rv-more { padding-top: 9px; }

.rv .bq-part dd b { color: var(--ink); font-weight: 750; }
.rv .bq-part:has(.bq-term-new) dd b { color: var(--violet); }
.rv .bq-part dd a { color: inherit; text-decoration: none; }
.rv .bq-part dd a:is(:hover, :focus-visible) { text-decoration: underline; text-decoration-color: var(--sage-line); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.rv-tally { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; color: var(--ink-2); font-size: 13.5px; font-weight: 400; line-height: 1.3; text-decoration: none; }
.rv-tally-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.rv-tally-item b { margin-inline-end: -3px; color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; }
.rv-tally-item.is-new b { color: var(--violet); }
.rv-tally-go { margin-inline-start: 5px; color: var(--sage-ink); font-weight: 600; }
.rv-tally:is(:hover, :focus-visible) .rv-tally-go { color: var(--ink); }

.rv-quiet { padding: 10px 20px; }
.rv-quiet .rv-head { justify-content: space-between; gap: 2px 16px; padding-bottom: 6px; font-size: 20px; line-height: 1.12; }
.rv-quiet .rv-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.rv-quiet :is(.rv-name, .bq-pick-title) { font-size: 14.5px; font-weight: 750; line-height: 19px; }
.rv-quiet :is(.rv-meta, .bq-pick-meta) { margin-top: 0; font-size: 12.5px; line-height: 19px; }
.rv-quiet :is(.rv-row, .bq-pick) { min-height: 36px; padding: 4px 0; }
.rv-quiet .bq-pick .fb-follow { padding: 4px 8px; font-size: 12px; }

@media (min-width: 961px) {
  .rv { --rv-gap: 24px; grid-template-rows: auto repeat(3, auto) auto; }
  .rv .bq-start { grid-row: 1 / -1; }
  .rv .bq-picks { grid-row: 2 / -1; padding-inline-start: var(--rv-gap); }
  .rv .bq-start-h { padding-inline-start: var(--rv-gap); }

  .rv-own { grid-area: 2 / 1 / -1; display: grid; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); }
  .rv:has(.bq-start) .rv-own { padding-inline-end: var(--rv-gap); }
  .rv-own-split { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .rv-group { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; min-width: 0; }
  .rv-own-split .rv-group:first-child { padding-inline-end: var(--rv-gap); }
  .rv-own-split .rv-group + .rv-group { padding-inline-start: var(--rv-gap); border-inline-start: 1px solid var(--fb-line); }
  .rv-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .rv-list { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; grid-template-columns: max-content minmax(0, 1fr); }
  .rv-row { grid-column: 1 / -1; grid-template-columns: subgrid; min-height: 60px; }
  .rv-more { grid-column: 1 / -1; grid-row: 4; }

  .rv-quiet { --rv-gap: 20px; grid-template-rows: auto auto; }
  .rv-quiet :is(.rv-own, .rv-group, .rv-list, .bq-picks) { display: block; }
  .rv-quiet .rv-row { display: block; align-content: center; }
  .rv-quiet .bq-start-h { padding-bottom: 6px; }
}
@media (min-width: 961px) and (max-width: 1099px) {
  .rv:has(.rv-own-split) { --rv-gap: 18px; }
  .rv:has(.rv-own-split):has(.bq-start) { grid-template-columns: minmax(0, 1fr) minmax(290px, 33%); }
}
@media (min-width: 721px) and (max-width: 960px) {
  .rv-own-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .rv-own-split .rv-group + .rv-group { position: relative; }
  .rv-own-split .rv-group + .rv-group::before { content: ""; position: absolute; inset-block: 12px 0; inset-inline-start: -24px; border-inline-start: 1px solid var(--fb-line); }
  .rv-row { min-height: 56px; padding: 7px 0; }
}
@media (min-width: 721px) {
  .rv-quiet .bq-pick { grid-template-columns: minmax(0, max-content) minmax(min-content, 1fr) auto; grid-template-areas: "title meta follow"; align-items: center; }
}
@media (max-width: 960px) {
  .rv-group { padding-top: 12px; }
  .rv .bq-start { margin-top: 14px; }
  .rv-quiet .rv-group { padding-top: 8px; }
  .rv-quiet .bq-start { margin-top: 8px; }
}
@media (max-width: 720px) {
  .rv-group + .rv-group { margin-top: 12px; border-top: 1px solid var(--fb-line); }
  .rv-row { padding: 9px 0; }
  .rv-more { padding-bottom: 2px; }
  .rv-number { font-size: 38px; }
  .rv .bq-start { margin-top: 12px; }
  .rv .bq-start-h { padding-top: 13px; }
  .rv .bq-pick { grid-template-areas: "title follow" "meta follow"; padding: 7px 0; }
  .rv .bq-pick-meta { display: block; }
  .rv-tally { gap: 4px 11px; font-size: 13px; }
  .rv-tally-item { gap: 5px; }
  .rv-tally .bq-g { height: 12px; width: auto; }

  .rv-quiet { padding: 12px 16px 8px; }
  .rv-quiet .rv-row { padding: 8px 0; }
  .rv-quiet :is(.rv-name, .bq-pick-title) { font-size: 15.5px; line-height: 20px; }
  .rv-quiet :is(.rv-meta, .bq-pick-meta) { font-size: 13px; line-height: 20px; }
  .rv-quiet .bq-pick { padding: 5px 0; }
  .rv-quiet .bq-pick .fb-follow { padding: 7px 9px; font-size: 13px; }
}

/* Visit preview */
.pv-marker {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  padding-inline-start: 8px; border: 1px solid currentColor; border-radius: 999px;
  color: var(--ink-3); font: 600 12px/1.3 var(--sans);
}
.pv-marker > .pv-clear {
  display: grid; place-items: center; flex: none; min-width: 26px; min-height: 26px;
  border-radius: 999px; color: inherit; font: inherit; text-decoration: none;
}
.pv-clear:hover { background: #8882; }
.pv-clear:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }

/* Historias: a horizontal rail per sección, with a grid for search and section results. */
.hrio-page { padding-block: 28px 20px; }
.hrio-page h1 { font: 800 46px/1.05 var(--sans); letter-spacing: -.035em; margin-bottom: 18px; }
.hrio-tools { display: flex; align-items: stretch; gap: 10px; margin-bottom: 12px; }
.hrio-search { position: relative; flex: 1; min-width: 0; }
.hrio-search svg { position: absolute; width: 18px; height: 18px; left: 13px; top: 13px; pointer-events: none; }
.hrio-search input { width: 100%; height: 44px; padding: 0 10px 0 39px; border: 1px solid var(--ink); border-radius: 0; font: 500 16px/1 var(--sans); color: var(--ink); background: #fff; }
.hrio-sort, .hrio-sections { display: flex; }
.hrio-sort { border: 1px solid var(--ink); min-height: 40px; }
.hrio-sort button, .hrio-sections button { font: 750 14px/1.2 var(--sans); cursor: pointer; color: var(--ink); background: #fff; }
.hrio-sort button { flex: 1 0 auto; border: 0; padding: 8px 14px; white-space: nowrap; }
.hrio-sort button + button { border-left: 1px solid var(--ink); }
.hrio-sort button[aria-pressed="true"], .hrio-sections button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.hrio-sections { flex-wrap: wrap; gap: 6px; }
.hrio-sections button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); padding: 7px 9px; }
.hrio-sections button[data-hrio-section]:not([data-hrio-section=""])::before { content: ""; width: 8px; height: 8px; background: var(--sc); }
.hrio-results { color: var(--ink-3); font-size: 13px; margin: 12px 0 22px; }
.hrio-results button, .hrio-more { color: var(--ink); cursor: pointer; font: 700 14px/1.25 var(--sans); }
.hrio-results button:is([data-hrio-reset], [data-hrio-small]) { padding: 0; border: 0; background: none; text-decoration: underline; }
.hrio-section { scroll-margin-top: 65px; margin-bottom: 32px; }
.hrio-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0 13px; border-top: 5px solid var(--sc); }
.hrio-heading h2 { font: 800 28px/1.1 var(--sans); letter-spacing: -.025em; color: var(--sc); }
.hrio-heading a, .hrio-end a { color: var(--ink); font: 750 14px/1.3 var(--sans); text-underline-offset: 3px; }
.hrio-heading a { flex: none; }
.hrio-rail { display: flex; align-items: stretch; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 10px; }
.hrio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hrio-rail .hrio-card { flex: 0 0 292px; scroll-snap-align: start; }
.hrio-rail .hrio-card:first-child { flex-basis: 454px; }
.hrio-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line-2); background: #fff; overflow-wrap: anywhere; }
.hrio-visual { display: grid; align-items: end; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(170px, auto); position: relative; background: var(--sc); }
.hrio-visual[hidden] { display: none; }
.hrio-avatars, .hrio-photo, .hrio-credit { grid-area: 1 / 1; }
.hrio-avatars { display: flex; align-items: center; align-self: center; justify-content: center; padding: 20px; }
.hrio-avatar { width: 49px; height: 49px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--st); color: var(--ink); box-shadow: 0 0 0 2px #fff; font: 800 14px/1 var(--sans); }
.hrio-avatar + .hrio-avatar { margin-left: -4px; }
.hrio-avatar img, .hrio-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hrio-photo { background: var(--sc); }
.hrio-credit { position: relative; z-index: 1; justify-self: end; display: block; max-width: 100%; padding: 4px 7px; color: #fff; background: rgb(0 0 0 / .82); font: 500 11px/1.35 var(--sans); text-underline-offset: 2px; }
.hrio-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 12px; }
.hrio-body h3 { font: 800 20px/1.15 var(--sans); letter-spacing: -.02em; }
.hrio-rail .hrio-card:first-child h3 { font-size: 27px; }
.hrio-body h3 a, .hrio-latest a { color: var(--ink); text-decoration: none; }
.hrio-body h3 a:hover, .hrio-latest a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hrio-context:empty { display: none; }
.hrio-latest, .hrio-stage { padding: 10px 0; border-top: 1px solid var(--line); }
.hrio-latest { font-size: 15px; line-height: 1.4; font-weight: 500; }
.hrio-latest p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.hrio-latest b, .hrio-stage b { font: 750 10px/1.25 var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.hrio-latest b { padding: 4px 6px; border: 1px solid var(--line-2); }
.hrio-latest b[data-hrio-fresh] { background: var(--sc); color: #fff; border-color: var(--sc); }
.hrio-latest time, .hrio-footer p { color: var(--ink-3); font-size: 12px; }
.hrio-stage { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 8px 12px; font-size: 14px; line-height: 1.35; }
.hrio-stage time { border: 1px solid var(--line-2); padding: 4px; text-align: center; color: var(--ink-2); font-weight: 700; font-size: 12px; }
.hrio-stage b { display: block; margin-bottom: 4px; color: var(--ink-3); }
.hrio-progress { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 3px; }
.hrio-progress i { width: 16px; height: 4px; background: var(--sl); }
.hrio-progress i[data-hrio-current] { background: var(--sc); }
.hrio-footer { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid var(--line); padding-top: 9px; }
.hrio-footer .follow { border-radius: 0; }
.hrio-end { flex: 0 0 148px; scroll-snap-align: start; display: flex; align-items: flex-end; padding: 16px; background: var(--st); }
.hrio-more { margin-top: 12px; padding: 8px 12px; border: 1px solid var(--ink); background: #fff; }
.hrio-empty { padding-block: 20px; }
@media (max-width: 980px) {
  .hrio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hrio-rail .hrio-card:first-child { flex-basis: 390px; }
}
@media (max-width: 640px) {
  .hrio-page { padding-top: 16px; }
  .hrio-page h1 { font-size: 36px; }
  .hrio-tools { flex-direction: column; gap: 8px; }
  .hrio-heading h2 { font-size: 23px; }
  .hrio-grid { grid-template-columns: minmax(0, 1fr); }
  .hrio-rail { gap: 10px; }
  .hrio-rail .hrio-card { flex-basis: 76%; }
  .hrio-rail .hrio-card:first-child { flex-basis: 89%; }
  .hrio-rail .hrio-card:first-child h3 { font-size: 23px; }
}

/* Tono styles shared across reader components */
::selection { background: var(--sage); color: #fff; }
input, textarea { caret-color: var(--sage); }
.nx-d b, .fb-num, .pt-rank, .brief-n, .pt-count, .ft-m, .wk-k time { font-variant-numeric: tabular-nums; }
.home-hero h1, .ph h1, .pg-browse h1, h1.cb-h, .pp-info h1 { font-weight: 800; letter-spacing: -.032em; word-spacing: .07em; line-height: 1.04; text-rendering: optimizeLegibility; }
h2.cb-h, .home-hd h2, .pg-browse h2, .pg-rail h2, .pg-overview h2, .sec-hd h2, .kc-lead h3 { letter-spacing: -.028em; word-spacing: .06em; text-rendering: optimizeLegibility; }
.home-hero .lede { color: var(--ink-2); max-width: none; text-wrap: balance; }
.cb-sort, .cb-edit { font-weight: 600; }
.chp .chp-n::before, .pr-n::before, .cb-secbtn .chp-n::before, .krow-t::before, .kc-sec::before, .pg-tag::before, .fb-dot { border-radius: 0; }
.pg-follow:hover { color: var(--sage-ink); }
.pg-browse button.pg-follow[aria-pressed=true], .pp-page button.pg-follow[aria-pressed=true], .pg-follow[aria-pressed=true] { background: var(--sage-tint); color: var(--sage-ink); font-weight: 700; border-color: transparent; }
.kg-undo:hover { background: var(--line-2); }
.kc-gone, .krow-gone, .chp-hid, .tr-i { border-color: var(--line-2); }
.pg-follow-layout .home-sec { margin-top: 0; }
.fb-box + .home-sec { margin-top: 36px; }
.home-hd a:hover { text-decoration-color: var(--ink); }
.closed b { color: var(--ink-2); }
.foot-in a { text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.foot-in code { background: var(--sunken); }
.pg-heading small, .pp-section small { color: var(--ink-3); }
.pt-key-prev { background: #b3b9c1; }
.pt-count, .pg-activity { font-weight: 600; }
.pg-suggestion small { color: var(--ink-3); }
.pg-rail footer a, .pp-all { color: var(--ink-2); font-weight: 500; text-decoration-color: var(--line-2); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pg-rail-row b a { font-weight: 700; }
.ph-meta, .lag { color: var(--ink-3); }
.tag { font-weight: 600; }
.pager .is-off, .pager button:disabled, .pg-letters button:disabled, .pp-arrows button:disabled { color: #a9afb8; }
.pg-tabs button, .pg-picker button, .pg-letters button, .pg-pages button { border-color: transparent; background: none; padding-inline: 0; font-weight: 500; color: var(--ink-3); }
.pg-controls input, .pg-controls select, .pp-arrows button { border-color: transparent; background-color: var(--sunken); font-weight: 500; }
.pg-browse button[aria-pressed=true]:not(.pg-follow), .pp-page button[aria-pressed=true]:not(.pg-follow), .pg-overview .pg-tabs button[aria-pressed=true] { background: none; color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }
.pt-more:not([hidden]), .pp-reveal { border-color: transparent; background: var(--sunken); font-weight: 600; }

/* Search results */
.search-pg .search input { border-color: transparent; background: var(--sunken); }
.search-pg .search input:focus { outline: 1px solid var(--sage); }
.search-pg input::-webkit-search-cancel-button { filter: grayscale(1); }
.sr-g .sec-h {
  margin-bottom: 6px;
  color: var(--ink-3);
  font: 700 11.5px/1.3 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sr-g .sec-h span { margin-inline-start: 6px; font-variant-numeric: tabular-nums; }
.sr-g :is(.closed, .loose) { row-gap: 3px; }
.sr-g :is(.closed, .loose) a { padding-inline: 12px; border: 0; background: var(--sunken); }
.sr-g :is(.closed, .loose) a:hover { background: var(--panel-hover); }
.sr-g .closed b { color: var(--ink); }
.sr-g .closed .tst { display: inline-flex; margin: 0 3px 0 0; background: var(--surface); color: var(--ink-3); }
.sr-g .tst-on::before { background: var(--sc); }

/* Protagonist profile */
.pp-hero { border: 0; background: var(--slate-tint); }
.pp-info { min-width: 0; }
.pp-info p { color: var(--ink-2); text-wrap: pretty; }
.pp-hero .pg-follow { border-color: transparent; color: var(--sage-ink); white-space: nowrap; }
.pp-hero .pg-follow:hover { text-decoration: underline; text-underline-offset: 3px; }
.pp-type, .pp-type .pg-tag, .pp-section small { color: var(--ink-3); }
.pp-type, .pp-type .pg-tag { font-weight: 700; }
.pp-section small { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pp-block, .pp-track > .pp-card, .pp-companion { border: 0; background: var(--sunken); }
.pp-companion:hover, .pp-topic-list a:hover { background: var(--panel-hover); }
.pp-events { border-color: var(--line); }
.pp-event { color: var(--ink-2); font-weight: 400; }
.pp-event time { font-variant-numeric: tabular-nums; }
.pp-window::before, .pp-window::after { border: 0; background: var(--panel-hover); }
.pp-progress i { background: var(--slate); }
.pp-list .pp-topic-list { border-top-color: var(--line); }

/* Outlets */
.outlets-page { --chart: var(--slate); }
.outlets-page .sec-hd h2 { font-weight: 800; }
.outlets-page .scroller { border: 0; background: var(--sunken); }
.outlets-page .gapgrid th:first-child { background: var(--sunken); }
.outlets-page .gapgrid thead th { letter-spacing: .065em; text-transform: uppercase; }
.outlets-page .heat:not(.heat-gap) {
  background: color-mix(in srgb, var(--slate) calc(var(--h) * .55), var(--slate-tint));
  color: var(--slate-ink);
}
.outlets-page .ocard { border: 0; background: var(--sunken); }
.outlets-page .ocard h3 { font-weight: 700; }
.outlets-page .ocard-big, .outlets-page .ostats dt {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.outlets-page .ocard-big b { color: var(--slate-ink); font-weight: 800; letter-spacing: -.03em; }
.outlets-page .ostats dd { color: var(--ink-2); font-weight: 600; }
.outlets-page .bar-r { rx: 0; }

@media (max-width: 760px) { .pg-letters button { width: calc(100% / 13); } }
