/* Forecasting page. Shared layout comes from /platform/feature.css. */
:root {
  --accent: #6D5BD0;
  --accent-soft: #F2F0FC;
  --accent-line: #C3BAF2;
}

#scenario {
  svg { aspect-ratio: 2 / 1; }
  .history { stroke: #12324B; }
  .base { stroke: #B1C3CF; stroke-dasharray: 6 6; }
  .what-if { stroke: var(--accent); stroke-dasharray: 6 6; }
}
.legend {
  display: flex;
  flex-flow: column;
  gap: .4rem;
  li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    &::before {
      content: "";
      flex: none;
      align-self: center;
      width: .75rem;
      height: 3px;
      margin-right: -.5rem;
      border-radius: 2px;
    }
    b { flex: 1; }
    &.what-if::before { background: var(--accent); }
    &.base::before { background: #B1C3CF; }
  }
}

.mock {
  table {
    border-collapse: collapse;
    font-size: .85rem;
  }
  th {
    padding: 0 1rem .35rem 0;
    color: #626E89;
    font-weight: 500;
    text-align: left;
  }
  td {
    padding: .5rem 1rem .5rem 0;
    border-top: 1px solid #EEF1F5;
    &:first-child { font-weight: 600; color: #091121; }
  }
  .up { color: #149A57; font-weight: 600; }
  .down { color: #C2410C; font-weight: 600; }
  dl {
    display: flex;
    flex-flow: column;
    margin: 0;
    > div {
      display: flex;
      justify-content: space-between;
      padding: .5rem 0;
      border-top: 1px solid #EEF1F5;
    }
    .total {
      border-top: 2px solid #091121;
      font-weight: 700;
      color: #091121;
    }
  }
  dt { color: #626E89; }
  .total dt { color: #091121; }
  dd { margin: 0; font-weight: 600; }
}

#pipeline header { margin-bottom: 0; }
