/* pubs.css v1.5 debug 0, 2026-11-06, Claude Opus 5.5 — page styles for pubs/index.html (base copied from diJpsiNotes.html); chart styles are in charts.css */

/* Same design as neat0Notes.html and chNotesStandalone.html: one reading column (~68ch); figures break out wider. */
:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --plate: #fbfaf7;
  --fg: #1b1f27;
  --muted: #5b6372;
  --rule: #d8dbe1;
  --accent: #2357c4;
  --orange: #c95a24;
  --display: "Newsreader", Georgia, serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #12151b; --panel: #1a1e26; --plate: #0d0f13; --fg: #e6e8ec; --muted: #9ba3b2; --rule: #2c323d;
  --accent: #7aa2ff; --orange: #f08a52; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #12151b; --panel: #1a1e26; --plate: #0d0f13; --fg: #e6e8ec; --muted: #9ba3b2; --rule: #2c323d;
  --accent: #7aa2ff; --orange: #f08a52; color-scheme: dark }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 32px 64px; }
.col { max-width: 68ch; margin: 0 auto; }
.wide { max-width: 960px; margin: 0 auto; }
header { display: grid; gap: 8px; margin-bottom: 28px; }
.eyebrow { font: 600 12px var(--body); text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin: 0; }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; margin: 0; text-wrap: balance; }
.lede { font-family: var(--display); font-size: 20px; line-height: 1.5; color: var(--muted); margin: 0; }
.meta { font: 13px var(--mono); color: var(--muted); }
h2 { font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.2; margin: 48px 0 8px; text-wrap: balance; }
h2 .n { color: var(--muted); font-size: 0.8em; margin-right: 0.4em; }
p, ul, ol { margin: 12px 0; }
li { margin: 4px 0; }
a { color: var(--accent); }
mjx-container[display="true"] { overflow-x: auto; overflow-y: hidden; padding: 4px 0; }
.tbl { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; font-size: 13px; color: var(--muted); }
td.num, th.num { font-family: var(--mono); font-size: 13.5px; white-space: nowrap; text-align: right; }
tr.fin td { font-weight: 600; }
caption { caption-side: bottom; text-align: left; font-size: 13.5px; color: var(--muted); padding-top: 8px; }
caption b { color: var(--fg); }
.note { border-left: 3px solid var(--rule); padding: 2px 0 2px 14px; color: var(--muted); font-size: 15px; }
.claim { border-left: 3px solid var(--orange); padding: 4px 0 4px 14px; font-family: var(--display); font-size: 19px; line-height: 1.5; }
figure { margin: 32px auto; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
figcaption b { color: var(--fg); }
.plate { background: #ffffff; border: 1px solid var(--rule); border-radius: 6px; padding: 10px; min-width: 0; }
.plate img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.plate video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #fcfcfb; border-radius: 3px; }
.links { font: 12.5px var(--mono); color: var(--muted); }
.paper { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 14px 18px; }
.paper p { margin: 4px 0; }
.paper .t { font-family: var(--display); font-size: 19px; }
