html {
  padding-top: var(--cascade-pad, 0px);
}
.cascade-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.2rem 0 0.25rem;
  background: #10141a;
  border-bottom: 1px solid #243040;
  color: #c8d0d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.25;
}
.cascade-tree {
  /* 45rem = site #navigation/#content 45em at root 16px (bar font is 11px) */
  width: 100%;
  max-width: 45rem;
  margin: 0 auto;
  box-sizing: border-box;
}
.cascade-tree-lines {
  display: flex;
  flex-direction: column;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
a.cascade-tree-row {
  display: grid;
  grid-template-columns: 1.05rem minmax(6rem, 1fr) 7.2rem 10.5rem 4.4rem 3.6rem;
  column-gap: 0.55rem;
  align-items: baseline;
  color: #7ec8ff;
  text-decoration: none;
  padding: 0 0.15rem;
  border-radius: 2px;
}
a.cascade-tree-row:hover {
  background: #1a2430;
  text-decoration: none;
}
a.cascade-tree-row.is-active {
  color: #e8eef4;
  background: #1e2a38;
  box-shadow: inset 3px 0 0 #e8eef4;
}
a.cascade-tree-row.is-active:hover {
  text-decoration: none;
}
.cascade-bar code {
  color: inherit;
  font-size: inherit;
}
.cascade-name {
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  color: inherit;
}
.cascade-when,
.cascade-built,
.cascade-plus,
.cascade-minus {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #8a96a3;
}
.cascade-timing {
  display: none;
}

@media (max-width: 45rem) {
  .cascade-bar {
    padding: 0.15rem 0.4rem 0.2rem;
    font-size: 10px;
  }
  .cascade-tree {
    max-width: 100%;
  }
  a.cascade-tree-row {
    grid-template-columns: 0.9rem minmax(5rem, 1fr) 5.6rem 8.4rem 3.6rem 3rem;
    column-gap: 0.35rem;
  }
}

.cascade-mark {
  text-align: center;
  font-weight: 700;
  line-height: 1;
}
.cascade-bar .cascade-ok {
  color: #3fb950;
}
.cascade-bar .cascade-fail {
  color: #f85149;
}
.cascade-bar .diff-plus {
  color: #3fb950;
  font-weight: 600;
}
.cascade-bar .diff-minus {
  color: #f85149;
  font-weight: 600;
}
.cascade-bar .diff-loc,
.cascade-bar .diff-loc-unit {
  color: #8a96a3;
  font-weight: 600;
}
.cascade-hint {
  width: 100%;
  max-width: 45rem;
  margin: 0.15rem auto 0;
  box-sizing: border-box;
  padding: 0.2rem 0.35rem;
  color: #f0c674;
  text-align: center;
}
.cascade-hint[hidden] {
  display: none;
}
.cascade-missing-msg {
  max-width: 45rem;
  margin: 1.5rem auto;
  padding: 0 0.75rem;
  color: #c8d0d8;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}
