/* Compute Index: the current report homepage's typography, colors and spacing. */
.compute-page { margin: 0; color: #161e59; background: #f8faf9; }
.compute-page a { color: inherit; text-underline-offset: 4px; }
.compute-page a:focus-visible,
.compute-page button:focus-visible,
.compute-page [tabindex]:focus-visible { outline: 3px solid #ff9900; outline-offset: 4px; }
.compute-page .skip-link { position: absolute; left: 24px; top: -80px; z-index: 50; padding: 12px; background: white; }
.compute-page .skip-link:focus { top: 12px; }
.compute-top-nav { display: flex; justify-content: space-between; gap: 16px; max-width: 1128px; padding: 12px 24px 0; margin: auto; font-size: 1rem; line-height: 1.5; }
.compute-top-nav a { display: inline-flex; align-items: center; min-height: 44px; }
/* Match the homepage's Explore text link and northeast arrow. */
.compute-top-nav .compute-explore-link { display: inline-block; flex-shrink: 0; padding: 10px 0; font: 400 1rem/1.5 'PT Sans', sans-serif; text-decoration: underline; white-space: nowrap; }
.compute-explore-link svg { display: inline-block; width: 1.1em; height: 1.1em; margin-left: 4px; vertical-align: -0.16em; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); }

.compute-main { max-width: 1008px; padding: 36px 24px 48px; margin: auto; }
.compute-header { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.compute-header h1 { font: 800 3rem/1 'Francois One', sans-serif; margin: 0 0 20px; }
.compute-header h1 span { color: #ff9900; }
.compute-deck { font-size: 1.2rem; line-height: 1.5; text-wrap: balance; margin: 0 auto 16px; }
.compute-byline { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px auto 22px; text-align: left; }
.compute-author-avatar { display: block; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: 0 0 32px; background: #e5e9ef; }
.compute-author-name { margin: 0; font-size: 1.1rem; line-height: 1.4; }
.compute-intro { font-size: 1.1rem; line-height: 1.6; text-align: left; margin: 0; }
.compute-intro strong { color: inherit; }
.compute-page .graph { border-top: 1px solid #dce0e7; padding: 32px 0 36px; }
.compute-page .graph-head { margin: 0 0 20px; line-height: 1.3; }
.compute-page .graph-title { font: 400 1.8rem/1.25 'Francois One', sans-serif; margin-bottom: 8px; }
.compute-page .graph-title b { font-weight: 400; }
.compute-page .graph-date { display: block; font-size: .9rem; color: #626881; margin: 0; }
.compute-page .chart-scroll { overflow-x: auto; padding: 4px 0; }
.compute-page .chart-box { margin-top: 0 !important; }
.compute-page .graph-notes { padding: 0; margin: 16px 0 0; color: #515977; font-size: .9rem; line-height: 1.6; }
.compute-page .chart-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; position: relative; margin-top: 16px; }
.compute-page .chart-btn { font: 400 .9rem/1.4 'PT Sans', sans-serif; background: transparent; border: 1px solid #dce0e7; color: #161e59; border-radius: 3px; padding: 8px 12px; min-height: 44px; cursor: pointer; }
.compute-page .chart-btn:hover { background: #eef1f8; border-color: #161e59; }
.compute-page .chart-menu { position: absolute; top: 52px; right: 0; background: #fff; border: 1px solid #dce0e7; border-radius: 4px; box-shadow: 0 6px 20px #161e5920; z-index: 30; display: flex; flex-direction: column; min-width: 170px; max-width: 100%; overflow: hidden; }
.compute-page .chart-menu a,.compute-page .chart-menu .cm-copy { padding: 10px 14px; min-height: 44px; text-align: left; background: none; border: none; font: 400 .9rem/1.5 'PT Sans', sans-serif; color: #161e59; cursor: pointer; text-decoration: none; }
.compute-page .chart-menu a:hover,.compute-page .chart-menu .cm-copy:hover { background: #eef1f8; }
.compute-page .embed-box { padding: 10px; display: flex; flex-direction: column; gap: 8px; width: 290px; max-width: 100%; }
.compute-page .embed-box textarea { width: 100%; font: 12px/1.5 ui-monospace, Menlo, monospace; border: 1px solid #dce0e7; border-radius: 3px; padding: 8px; resize: vertical; color: #161e59; }
.compute-page .embed-box .cm-copy { border: 1px solid #dce0e7; border-radius: 3px; }
.compute-resources,.compute-archive > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.compute-resources { border-top: 1px solid #dce0e7; padding: 32px 0; }
.compute-page .button { height: auto; min-height: 44px; padding: 8px 14px; border-radius: 3px; color: white; font-size: 1rem; text-decoration: none; white-space: normal; }
.compute-page .button:hover { background: #283574; }
.compute-archive { border-top: 1px solid #dce0e7; padding: 32px 0 0; text-align: center; }
.compute-archive h2 { font: 400 1.4rem/1.25 'Francois One', sans-serif; margin-bottom: 18px; }
.compute-footer { border-top: 1px solid #d9dfe4; padding: 28px 24px 80px; color: #626b80; font-size: 14px; line-height: 1.6; text-align: center; }
.compute-footer p { margin: 0; }
.compute-footer p + p { margin-top: 4px; }
.compute-back-top { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; }
.compute-page [id] { scroll-margin-top: 24px; }
@media (max-width: 600px) {
  .compute-main { padding-top: 28px; }
  .compute-top-nav { padding-top: 10px; }
  .compute-page .graph-title { font-size: 1.55rem; }
  .compute-page .chart-box { min-width: 640px; }
  .compute-page .chart-scroll::before { content: 'Swipe to explore the full chart →'; display: block; font-size: .8rem; color: #626881; margin-bottom: 12px; }
  .compute-page .chart-tools { justify-content: flex-start; }
  .compute-page .chart-menu { left: 0; right: auto; }
}
@media (max-width: 520px) {
  .compute-author-name { font-size: clamp(.85rem, 3.9vw, 1.1rem); }
}
