* {
  box-sizing: border-box;
}

body {
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--font-mono);
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* The original index.html fixed the view height inline so each view scrolls beneath the chrome. */
.view {
  flex-grow: 1;
  display: none;
  height: calc(100vh - 160px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 40px;
}

.view.active {
  display: block;
}

.section-header {
  background: var(--c-grey-111);
  padding: 8px 15px;
  font-weight: bold;
  font-size: 1rem;
  border-top: 1px solid var(--c-grey-333);
  position: sticky;
  top: 0;
  z-index: 10;
}

.empty-state {
  text-align: center;
  color: var(--c-grey-666);
  margin-top: 100px;
}
