/* Analytics page. Shared layout comes from /platform/feature.css. */
:root {
  --accent: #007DF1;
  --accent-soft: #ECF6FE;
  --accent-line: #9FD0FF;
}

#report {
  .title {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
  }
  .stack {
    display: flex;
    align-items: flex-end;
    gap: 3%;
    height: 10rem;
    li {
      flex: 1;
      display: flex;
      flex-flow: column-reverse;
      height: 100%;
      justify-content: flex-start;
    }
    i {
      display: block;
      height: calc(var(--v) * .75%);
    }
  }
  .key {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    color: #626E89;
    font-size: .78rem;
    li::before {
      content: "";
      display: inline-block;
      width: .6rem;
      height: .6rem;
      margin-right: .35rem;
      border-radius: 2px;
      background: var(--c);
    }
  }
  .filter {
    padding: .55rem .75rem;
    background: #F4F7FB;
    border-radius: .6rem;
    font-size: .8rem;
    span { color: #626E89; }
  }
}
.new { --c: #007DF1; }
.exp { --c: #6FB8FB; }
.churn { --c: #F59E8B; }
.stack i { background: var(--c); }
.stack li i:first-child { border-radius: 0 0 2px 2px; }
.stack li i:last-child { border-radius: 2px 2px 0 0; }

#catalog {
  .groups {
    columns: 3 18rem;
    column-gap: 1.5rem;
  }
  .group {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 0 0 1px rgb(18 50 75 / 5%);
  }
  h3 {
    margin: 0 0 .75rem;
    color: var(--accent);
    font: 500 .85rem "Noto Sans Mono", monospace;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  ul {
    display: flex;
    flex-flow: column;
    gap: .7rem;
  }
  li {
    display: flex;
    flex-flow: column;
    gap: .1rem;
  }
  b { color: #091121; }
  li > a { text-decoration: none; b { color: #007DF1; } }
  li span {
    color: #626E89;
    font-size: .88rem;
    a { color: #007DF1; }
  }
  .more { margin: 1rem 0 0; }
}

.compare {
  display: flex;
  flex-flow: column;
  gap: .7rem;
  li {
    display: grid;
    grid: auto / 6.5rem 1fr 3rem;
    align-items: center;
    gap: .75rem;
  }
  span { color: #626E89; }
  i {
    height: .75rem;
    width: calc(var(--v) * 1%);
    background: var(--accent);
    border-radius: 1rem;
  }
  b { text-align: right; color: #091121; }
}
