:root { --ink: #242727; --muted: #666c6c; --rule: #d9dddd; --light-rule: #ebeded; --orange: #D55E00; --blue: #0072B2; --serif: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; --sans: 'Segoe UI', 'Helvetica Neue', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
a { color: inherit; text-underline-offset: 4px; text-decoration-color: #a1aaaa; }
a:hover { color: var(--blue); text-decoration-color: var(--blue); }
button, select, input { font: inherit; }
button, select { color: var(--ink); }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -60px; background: #fff; padding: 10px; z-index: 10; }
.skip-link:focus { top: 0; }
.site-header, main, footer { max-width: 1140px; margin-inline: auto; padding-inline: 32px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 78px; border-bottom: 1px solid var(--rule); font-size: 13px; }
.author-home { font-family: var(--serif); font-weight: 700; font-size: 19px; text-decoration: none; }
nav { display: flex; gap: 27px; }
nav a { text-decoration: none; }
.paper-title { text-align: center; padding: 58px 0 35px; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(30px, 3.5vw, 45px); line-height: 1.18; letter-spacing: -.8px; margin: 0 0 24px; }
.byline { margin: 0 0 8px; font-size: 15px; display: flex; justify-content: center; gap: 26px; }
.byline a { text-decoration: none; }
.byline span { color: var(--muted); }
.paper-context { font-family: var(--serif); color: var(--muted); font-size: 16px; margin: 0; }
.source-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; font-size: 13px; margin-top: 23px; }
.prose { font-family: var(--serif); font-size: 17px; line-height: 1.65; }
.abstract { max-width: 800px; margin: 0 auto 50px; }
.abstract h2 { text-align: center; font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.abstract p { margin: 0 0 12px; }
.caveat { color: var(--muted); font-size: 15px; }
section:not(.abstract) { margin-bottom: 62px; scroll-margin-top: 30px; }
h2 { font-size: 27px; line-height: 1.3; margin: 0; }
.section-number { color: #879090; margin-right: 5px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid var(--ink); padding-top: 21px; margin-bottom: 21px; }
.quiet-link, .section-note { font-size: 12px; color: var(--muted); }
.quiet-link { text-decoration: none; }
.figure-toolbar, .explorer-controls { display: flex; align-items: end; gap: 20px; flex-wrap: wrap; padding: 14px 0; border-block: 1px solid var(--light-rule); }
label { font-size: 11px; color: var(--muted); line-height: 1.4; display: flex; flex-direction: column; gap: 5px; }
select { border: 1px solid #c8cece; border-radius: 3px; padding: 6px 29px 6px 9px; min-height: 33px; font-size: 12px; background-color: #fff; max-width: 100%; }
.check-label { flex-direction: row; gap: 7px; align-items: center; min-height: 33px; font-size: 12px; color: var(--ink); }
input[type=checkbox] { accent-color: var(--blue); margin: 0; width: 14px; height: 14px; }
.legend { display: flex; gap: 25px; flex-wrap: wrap; font-size: 12px; padding: 15px 0 12px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend svg { width: 29px; height: 12px; overflow: visible; }
figure { margin: 0; }
.plot-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
h3 { font-size: 14px; line-height: 1.4; font-weight: 600; margin: 14px 0 0; }
.plot-grid h3 span { font-weight: 400; color: var(--muted); padding-right: 5px; }
.plot-grid > div > p { color: var(--muted); font-size: 11px; text-align: center; margin: 0 0 10px; }
.chart-host { min-width: 0; }
.plot { display: block; width: 100%; overflow: visible; }
.gridline { stroke: #e8ebeb; stroke-width: .75; }
.axisline { stroke: #808989; stroke-width: .75; }
.tick { font-family: var(--sans); font-size: 10px; fill: #636c6c; }
.axislabel { font-family: var(--sans); font-size: 11px; fill: #454e4e; }
.emptyplot { font-family: var(--sans); font-size: 13px; fill: #666; }
figcaption { font-family: var(--serif); font-size: 14px; line-height: 1.55; margin-top: 11px; color: #515858; }
figcaption strong { color: var(--ink); }
.figure-findings { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px solid var(--light-rule); margin-top: 20px; padding-top: 15px; }
.figure-findings p { font-family: var(--serif); font-size: 16px; margin: 0; }
.data-details { margin-top: 17px; font-size: 12px; }
summary { color: #5d6868; cursor: pointer; padding-block: 6px; }
.table-scroll { overflow-x: auto; margin-top: 12px; max-height: 370px; }
table { border-collapse: collapse; font-size: 12px; width: 100%; font-variant-numeric: tabular-nums; white-space: nowrap; }
th { color: var(--muted); font-weight: 500; text-align: left; position: sticky; top: 0; background: #fff; }
td, th { padding: 8px 14px 8px 0; border-bottom: 1px solid var(--light-rule); }
caption { text-align: left; color: var(--muted); padding-bottom: 8px; }
.text-button { border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; font-size: 12px; color: #566565; }
.view-tabs { display: flex; border-bottom: 1px solid var(--rule); gap: 28px; overflow-x: auto; }
.view-tabs button { white-space: nowrap; font-size: 13px; padding: 10px 0 12px; color: var(--muted); border: 0; border-bottom: 2px solid transparent; background: transparent; }
.view-tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.explorer-controls { border-top: 0; column-gap: 16px; row-gap: 12px; }
.explorer-controls select { min-width: 93px; }
#task { max-width: 260px; }
#seed { max-width: 190px; }
.figure-heading { display: flex; justify-content: space-between; align-items: baseline; margin-top: 15px; gap: 20px; }
.figure-heading h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.metric-context { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.wide-chart { max-width: 900px; margin: 3px auto 0; }
.wide-chart .tick { font-size: 11px; }
.wide-chart .axislabel { font-size: 12px; }
.selection-status { font-size: 11px; color: var(--muted); margin: 9px 0; }
.figure-error { font-size: 14px; color: #9b331d; }
.methods-section, .data-section { border-top: 1px solid var(--ink); padding-top: 21px; }
.methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 14px; }
.methods-grid h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.methods-grid p { margin: 12px 0; font-size: 16px; }
.methods-grid a { font-size: 15px; }
.prompt-example { padding: 16px 20px; border-left: 2px solid #a6b3b3; background: #f7f9f9; margin-top: 20px; }
.prompt-example span { font-family: var(--sans); font-size: 11px; color: var(--muted); }
pre { font-family: 'Cascadia Code', Consolas, monospace; font-size: 16px; line-height: 1.7; margin-block: 12px; }
.prompt-example p { font-size: 13px; margin: 0; }
.data-section > .prose { max-width: 790px; font-size: 16px; }
.downloads { border-top: 1px solid var(--rule); margin-top: 25px; }
.download-row { display: flex; align-items: baseline; gap: 20px; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--light-rule); font-size: 13px; }
.download-row > div { display: flex; align-items: baseline; gap: 15px; }
.download-row span { color: var(--muted); font-size: 12px; }
.download-row a { color: var(--blue); }
.original-figures { margin-top: 18px; font-size: 13px; }
.original-row { display: flex; justify-content: space-between; padding: 9px 0; gap: 15px; }
.original-row span { display: flex; gap: 20px; }
.provenance { color: var(--muted); font-size: 12px; margin-block: 23px; overflow-wrap: anywhere; }
.reference { color: var(--muted); }
footer { display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding-block: 22px 35px; font-size: 12px; color: var(--muted); }
footer a { text-decoration: none; }
@media (max-width: 800px) {
  .site-header, main, footer { padding-inline: 24px; }
  .paper-title { padding-top: 42px; }
  .plot-grid { gap: 13px; }
  .plot-grid h3 { min-height: 40px; font-size: 12px; }
  .section-heading { align-items: start; }
  .section-heading .quiet-link { display: none; }
  .methods-grid { gap: 35px; }
  .view-tabs { gap: 22px; }
}
@media (max-width: 600px) {
  .site-header, main, footer { padding-inline: 20px; }
  .site-header { min-height: 62px; }
  nav { gap: 15px; font-size: 11px; }
  .author-home { font-size: 17px; }
  .paper-title { padding: 36px 0 30px; }
  h1 { font-size: 30px; line-height: 1.22; letter-spacing: -.5px; }
  h1 br { display: none; }
  .byline { font-size: 13px; gap: 20px; margin-bottom: 13px; }
  .paper-context { font-size: 15px; }
  .source-links { gap: 18px; row-gap: 12px; font-size: 12px; margin-top: 20px; }
  .abstract { margin-bottom: 35px; font-size: 16px; }
  .abstract .caveat { font-size: 14px; }
  h2 { font-size: 24px; }
  .section-heading { gap: 10px; margin-bottom: 18px; }
  .section-note { display: none; }
  .figure-toolbar { gap: 10px 16px; }
  .figure-toolbar > label:first-child { flex-basis: 100%; max-width: 240px; }
  select { min-height: 40px; font-size: 14px; }
  .check-label { min-height: 40px; }
  .legend { gap: 13px 20px; font-size: 11px; }
  .plot-grid { grid-template-columns: 1fr; gap: 17px; }
  .plot-grid h3 { font-size: 15px; min-height: 0; margin-top: 10px; }
  .plot-grid > div > p { margin-bottom: 0; }
  .figure-findings { grid-template-columns: 1fr; gap: 14px; }
  .view-tabs { gap: 23px; }
  .explorer-controls { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 13px; }
  .explorer-controls select, #task, #seed { width: 100%; min-width: 0; max-width: none; }
  #task-control { grid-column: 1/-1; }
  #seed-control { grid-column: 1/-1; }
  .figure-heading h3 { font-size: 19px; }
  .figure-heading { align-items: start; }
  .figure-heading button { white-space: nowrap; }
  .wide-chart { overflow-x: auto; }
  .wide-chart .plot { min-width: 620px; }
  .wide-chart .tick { font-size: 16px; }
  .wide-chart .axislabel { font-size: 15px; }
  .wide-chart::after { content: 'Scroll the figure horizontally for full axis labels.'; display: block; font-size: 11px; color: var(--muted); margin: 5px 0; }
  .methods-grid { grid-template-columns: 1fr; gap: 16px; }
  .download-row { gap: 10px; }
  .download-row > div { flex-direction: column; gap: 0; }
  .original-row { font-size: 12px; }
  .original-row span { gap: 12px; }
  section:not(.abstract) { margin-bottom: 42px; }
  footer { font-size: 11px; }
}
@media print {
  .site-header, .figure-toolbar, .explorer-controls, .view-tabs, .text-button, .data-details, .quiet-link, footer { display: none; }
  main { max-width: none; padding: 0; }
  .paper-title { padding-top: 0; }
  .plot-grid { grid-template-columns: repeat(3,1fr); }
  section { break-inside: avoid; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
