/* Destinations page. Shared layout comes from /platform/feature.css. */
:root {
  --accent: #0B7CC1;
  --accent-soft: #EAF4FB;
  --accent-line: #93CBEE;
}

#tables, #crm .mock {
  font-family: "Noto Sans Mono", monospace;
  font-size: .8rem;
  b { font-family: inherit; }
  .label { font-family: "Noto Sans", sans-serif; }
}
.mock {
  table { border-collapse: collapse; }
  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;
  }
  .up { color: #149A57; }
  .down { color: #C2410C; }
  dl { margin: 0; }
  dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 0;
    border-top: 1px solid #EEF1F5;
  }
  dt { color: #626E89; }
  dd { margin: 0; color: #091121; font-weight: 600; }
}

/* In → ChartMogul → Out */
.flow {
  display: grid;
  grid: auto / 1fr 1fr 1fr;
  gap: 3rem;
  .column {
    position: relative;
    display: flex;
    flex-flow: column;
    gap: 1rem;
  }
  .column + .column::before {
    content: "→";
    position: absolute;
    top: 50%;
    left: -2.1rem;
    translate: 0 -50%;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
  }
  h3 {
    margin: 0;
    color: #626E89;
    font: 500 .85rem "Noto Sans Mono", monospace;
    text-transform: uppercase;
    letter-spacing: .05em;
  }
  ul {
    display: flex;
    flex-flow: column;
    gap: .6rem;
    flex: 1;
  }
  li a, .core li {
    display: flex;
    flex-flow: column;
    gap: .15rem;
    padding: .85rem 1rem;
    color: #29303E;
    text-decoration: none;
    background: white;
    border-radius: .9rem;
    box-shadow: 0 0 0 1px rgb(18 50 75 / 6%);
    transition: box-shadow .2s;
  }
  li a:hover { box-shadow: 0 0 0 1px rgb(18 50 75 / 6%), 0 8px 20px rgb(18 50 75 / 10%); }
  b { color: #091121; }
  span { font-size: .85rem; }
  .core ul {
    justify-content: center;
    padding: 1rem;
    background: #13283F;
    border-radius: 1.25rem;
  }
  .core li {
    background: rgb(255 255 255 / 8%);
    box-shadow: none;
    b { color: white; }
    span { color: #D0DBF5; }
  }
  @media (width < 56rem){
    grid: auto / 1fr;
    .column + .column::before {
      content: "↓";
      top: -2.4rem;
      left: 50%;
      translate: -50% 0;
    }
  }
}

.datasets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: 1.5rem;
  > div {
    padding: 1.5rem;
    border: 1px solid #DBE3EB;
    border-radius: 1rem;
  }
  h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
  p { margin: 0; }
}

#alerts, #more-ways {
  h3 a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--accent-line);
    text-underline-offset: .2em;
  }
}

.more {
  margin: 2.5rem 0 0;
  a:not(.guide) { color: #007DF1; font-weight: 600; }
}
