/* Controls and tables inherit the original homepage typography. */
html,
body {
  overflow-anchor: none;
}
:root {
  --accent: #eee;
  --accent-foreground: #444;
}
#funding-tree {
  max-width: 650px;
}
#funding-tree h3 {
  text-align: left;
  font-size: 1em;
}
.viz-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn {
  font: inherit;
  color: inherit;
  padding: 4px 10px;
  border: 1px solid #aaa;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}
.btn[aria-pressed="true"] {
  background: #eee;
  border-color: #444;
  font-weight: bold;
}
.form-label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.form-control {
  font: inherit;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
  padding: 4px 8px;
}
.form-check {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin: 4px 0;
}
.text-destructive {
  color: #a00;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 6px 8px;
  border-bottom: 1px solid #ddd;
}
.text-end {
  text-align: right;
  white-space: nowrap;
}
.tabular-nums {
  font-variant-numeric: tabular-nums;
}
sup {
  font-size: 11px;
  margin-left: 3px;
}
.text-small {
  font-size: 13px;
}
#funding-tree .ft-step {
  margin-bottom: 14px;
}
#funding-tree .ft-result {
  margin-top: 18px;
}
#funding-tree .ft-funding-table {
  width: 100%;
}
#funding-tree tfoot tr:first-child,
#funding-tree tfoot tr:last-child {
  background: #eee;
}
#funding-tree tfoot th,
#funding-tree tfoot strong {
  font-weight: bold;
}
#funding-tree #ft-guarantee {
  font-size: 14px;
}
#ft-awards {
  overflow-x: auto;
}
#ft-awards table {
  font-size: 13px;
}
#funding-tree ol {
  padding-left: 22px;
}
#funding-tree li:target {
  background: #eee;
}
