/* The plain pages written for search engines (scripts/build-pages.mjs): the same look as the
   site, much less of it. Dark unless the reader chose light (site/theme.js sets data-theme). */
:root {
  --bg: #0b0b0c; --surface: #131315; --line: #26262a; --text: #f2f0eb; --text-2: #b9b6ae; --text-3: #8c8a84;
  --up: #4ade80; --down: #ff6b57; --accent: #ff5b38;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  color-scheme: dark;
}
:root[data-theme="light"] { --bg: #f6f5f1; --surface: #ffffff; --line: #e2e0d9; --text: #151515; --text-2: #4a4944; --text-3: #6e6c66; --up: #15803d; --down: #c2410c; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
.pg-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 14px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); }
.pg-brand { font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.pg-brand b { font-weight: 700; }
.pg-top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--text-2); }
.pg-top nav a { text-decoration: none; }
.pg-top nav a:hover { color: var(--text); }
.pg { max-width: 980px; margin: 0 auto; padding: 26px max(16px, env(safe-area-inset-left, 0px)) 40px; }
.pg-crumbs { margin: 0 0 14px; font-size: 13.5px; color: var(--text-3); }
h1 { margin: 0; font: 400 clamp(36px, 6vw, 60px)/1.02 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
h2 { margin: 30px 0 10px; font: 400 28px/1.1 var(--serif); }
h3 { margin: 18px 0 6px; font: 600 12.5px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.pg-tk { font: 500 0.4em var(--mono); color: var(--text-3); vertical-align: middle; letter-spacing: 0.04em; }
.pg-lede { margin: 8px 0 0; color: var(--text-2); }
.pg-h { font-size: 18px; }
ul { padding-left: 20px; }
li { margin: 4px 0; }
.pg-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.pg-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; }
.pg-btn.tg { background: var(--text); color: var(--bg); border-color: var(--text); }
.pg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; margin: 8px 0 6px; }
.pg-facts > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-left: 1px solid var(--line); }
.pg-facts > div:first-child { border-left: 0; }
.pg-facts span { font: 500 11.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.pg-facts b { font-size: 22px; font-weight: 600; }
.pg-facts em { font-style: normal; font-size: 13px; color: var(--text-3); }
.pg-note { font-size: 13.5px; color: var(--text-3); }
.pg-chip { display: inline-block; margin: 0 6px 6px 0; padding: 3px 9px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); font: 500 13px var(--mono); text-decoration: none; }
.pg-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 500 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
tr:last-child td { border-bottom: 0; }
.pg-person { display: flex; gap: 20px; align-items: flex-start; }
.pg-person img { border-radius: 50%; width: 96px; height: 96px; object-fit: cover; object-position: center 20%; flex: none; }
.pg-cols { columns: 3 240px; column-gap: 24px; }
.pg-cols a { display: block; padding: 3px 0; text-decoration: none; break-inside: avoid; }
.pg-cols a span { color: var(--text-3); font: 500 12.5px var(--mono); margin-left: 6px; }
.pg-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pg-card { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; }
.pg-card span { color: var(--text-3); font-size: 13.5px; }
.pg-card em { font-style: normal; font: 500 13px var(--mono); color: var(--text-2); }
.pg-foot { max-width: 980px; margin: 0 auto; padding: 20px max(16px, env(safe-area-inset-left, 0px)) 40px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13.5px; }
@media (max-width: 600px) { .pg-facts > div { border-left: 0; border-top: 1px solid var(--line); } .pg-facts > div:first-child { border-top: 0; } .pg-person img { width: 72px; height: 72px; } }
@media (max-width: 600px) { .pg-person { flex-direction: column; gap: 12px; } }
/* the forecast record of a company, and the ranking page */
.pg-kept { margin: 12px 0 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pg-kept a { color: var(--text-2); margin-left: 4px; }
.pg-tk-s { color: var(--text-3); font: 500 12px var(--mono); margin-left: 4px; }
.pg-cols > span { display: block; padding: 3px 0; break-inside: avoid; }
.pg-cols > span > span { color: var(--text-3); font: 500 12.5px var(--mono); margin-left: 6px; }
