/* Tables and raster/vector figures for original empirical working papers. */
.paper { min-width: 0; }
.paper-section table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 25px 0 30px;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
}
.paper-section th, .paper-section td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--paper-edge);
  vertical-align: top;
}
.paper-section th {
  color: var(--ink-soft);
  background: var(--paper-warm);
  font-weight: 500;
}
.paper-section td:first-child, .paper-section th:first-child {
  min-width: 170px;
  text-align: left;
}
.paper-section figure { margin: 30px 0; }
.paper-section .figure-scroll {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-color: #75849B #D6E0F0;
}
.paper-section .figure-scroll:focus-visible {
  outline: 2px solid #1B3A72;
  outline-offset: 3px;
}
.paper-section figure img {
  display: block;
  width: 100%;
  height: auto;
  background: white;
  border: 1px solid var(--paper-edge);
}
.paper-section figcaption {
  margin-top: 12px;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .paper-section .figure-scroll img { min-width: 760px; }
}
@media print {
  .paper-section .figure-scroll { overflow: visible; }
  .paper-section .figure-scroll img { min-width: 0; }
  .paper-section table { display: table; font-size: 10px; }
  .paper-section th, .paper-section td { padding: 6px; }
  .paper-section td:first-child, .paper-section th:first-child { min-width: 0; }
}
