:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #353735;
  background: #fdfdfb;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1540px;
  margin: auto;
  padding: 36px 44px 22px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.09em;
  color: #858781;
}
h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 38px;
  letter-spacing: -1px;
  margin: 10px 0;
}
p {
  line-height: 1.65;
  color: #73766f;
  margin: 6px 0;
}
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.small {
  font-size: 11px;
  color: #898c85;
  white-space: nowrap;
}
nav {
  display: flex;
  border-bottom: 1px solid #e3e5df;
  gap: 24px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: transparent;
  border: 1px solid #dedfd8;
  border-radius: 4px;
  padding: 8px 12px;
}
button:hover {
  background: #f2f3ee;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #848e82;
  outline-offset: 3px;
}
nav button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 0;
  color: #777b72;
}
nav button[aria-pressed="true"] {
  border-bottom-color: #626a5e;
  color: #252b24;
}
nav span {
  font-size: 11px;
  color: #999e95;
  margin-left: 6px;
}
.controls {
  display: flex;
  align-items: end;
  gap: 20px;
  padding: 21px 0;
}
.controls label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: #767b71;
}
.controls input[type="search"],
select {
  background: #fff;
  border: 1px solid #e1e3dc;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  max-width: 100%;
}
.controls input[type="search"] {
  width: 240px;
}
.controls .check {
  flex-direction: row;
  align-items: center;
  align-self: center;
  padding-top: 18px;
  font-size: 12px;
  white-space: nowrap;
}
input[type="checkbox"] {
  accent-color: #888f82;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  border-top: 1px solid #e8e9e3;
  border-bottom: 1px solid #e8e9e3;
}
.plot-column {
  min-width: 0;
}
.plot {
  height: 535px;
  position: relative;
  background: #fff;
  border-right: 1px solid #e8e9e3;
  overflow: hidden;
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.plot-note {
  position: absolute;
  bottom: 12px;
  left: 18px;
  font-size: 10px;
  color: #9a9e95;
  pointer-events: none;
}
#empty {
  position: absolute;
  top: 45%;
  width: 100%;
  text-align: center;
  color: #999;
}
#tooltip {
  position: absolute;
  pointer-events: none;
  max-width: 250px;
  padding: 8px 11px;
  background: #fffffff5;
  border: 1px solid #dadfd4;
  border-radius: 4px;
  font-size: 12px;
  box-shadow: 0 2px 8px #30303009;
  overflow-wrap: anywhere;
}
.timeline {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px 12px 0;
}
.timeline input {
  flex: 1;
  min-width: 20px;
  accent-color: #929a87;
}
.timeline time {
  font-size: 12px;
  color: #666c61;
  min-width: 133px;
  text-align: right;
}
#play {
  min-width: 60px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 10px;
  color: #8b9185;
  padding: 0 16px 18px 0;
}
.legend span:last-child {
  margin-left: auto;
}
aside {
  padding: 24px 0 16px 24px;
  min-width: 0;
}
#detail {
  min-height: 198px;
}
#detail p {
  font-size: 12px;
}
#detail .source {
  font-size: 10px;
  overflow-wrap: anywhere;
  color: #9a9f94;
}
#detail ol {
  padding-left: 16px;
  max-height: 135px;
  overflow: auto;
  font-size: 11px;
  color: #7d8476;
  line-height: 1.9;
}
#items {
  border-top: 1px solid #e7e9e1;
  margin-top: 17px;
  padding-top: 12px;
  max-height: 328px;
  overflow: auto;
}
#items button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0;
  padding: 7px 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
#items button.selected {
  background: #eef0e9;
}
#items small {
  display: block;
  font-size: 10px;
  color: #91998a;
  margin-top: 3px;
}
footer {
  padding-top: 17px;
  max-width: 1020px;
}
footer p {
  font-size: 11px;
}
details {
  font-size: 11px;
  color: #81887a;
  margin-top: 9px;
}
summary {
  cursor: pointer;
}
#error {
  color: #715d56;
}
body[data-view="business"] #detail {
  min-height: 198px;
}
@media (min-width: 1600px) {
  .plot {
    height: 610px;
  }
}
@media (max-width: 1000px) {
  main {
    padding: 24px;
  }
  .controls {
    gap: 12px;
    flex-wrap: wrap;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .controls input[type="search"] {
    width: 190px;
  }
  header {
    align-items: start;
  }
  .small {
    white-space: normal;
  }
}
@media (max-width: 680px) {
  main {
    padding: 20px 16px;
  }
  header {
    display: block;
    margin-bottom: 18px;
  }
  h1 {
    font-size: 32px;
  }
  header p {
    font-size: 12px;
  }
  .small {
    display: block;
    margin-top: 12px;
  }
  nav {
    gap: 16px;
  }
  nav button {
    font-size: 12px;
  }
  nav span {
    display: none;
  }
  .controls {
    gap: 10px;
  }
  .controls input[type="search"] {
    width: 165px;
  }
  .controls .check {
    padding-top: 0;
  }
  .controls select {
    max-width: 165px;
  }
  .workspace {
    display: block;
  }
  .plot {
    height: 405px;
    border-right: 0;
  }
  .timeline {
    gap: 9px;
    padding-right: 0;
  }
  .timeline time {
    min-width: 108px;
    font-size: 10px;
  }
  .legend {
    gap: 10px;
  }
  .legend span:last-child {
    margin-left: 0;
  }
  aside {
    padding: 20px 0;
    border-top: 1px solid #e8e9e3;
  }
  #detail {
    min-height: 0 !important;
  }
  #items {
    max-height: 180px;
  }
  #tooltip {
    max-width: 180px;
  }
}
