/* A restrained review tray: events move left-to-right before they become members. */
.join-intake-panel {
  margin: 20px 0;
  padding: 22px;
  border: 1px solid #d7d8d1;
  border-left: 4px solid #c9e66b;
  background: #fefdf9;
  box-shadow: 0 12px 28px rgba(23, 35, 31, 0.045);
}

.intake-header {
  margin-bottom: 8px;
}

.preview-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid #b9cc73;
  border-radius: 999px;
  background: #f3f8df;
  color: #48651a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.intake-intro {
  max-width: 680px;
  margin: 0;
  color: #657069;
  font-size: 13px;
  line-height: 1.65;
}

.intake-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.intake-member-sample {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 16px;
  border: 1px dashed #b9c1b8;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(201, 230, 107, 0.12), transparent 45%),
    #fbfcf7;
}

.intake-member-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.intake-member-head > div {
  display: grid;
  gap: 4px;
}

.intake-member-head strong {
  color: #17231f;
  font-size: 15px;
}

.intake-member-head code {
  color: #657069;
  font-size: 11px;
}

.intake-member-sample dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.intake-member-sample dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  border-top: 1px solid #e4e7df;
}

.intake-member-sample dt {
  color: #657069;
  font-size: 11px;
  font-weight: 800;
}

.intake-member-sample dd {
  margin: 0;
  color: #17231f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.intake-member-sample > p {
  margin: 0;
  color: #78837d;
  font-size: 11px;
}

.intake-demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}

.intake-demo-controls label {
  display: grid;
  gap: 4px;
  color: #657069;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.intake-demo-controls input {
  min-height: 34px;
  border: 1px solid #cdd3ca;
  border-radius: 5px;
  background: #fff;
  color: #17231f;
  padding: 0 8px;
}

.intake-demo-controls .button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.intake-demo-controls .text-button {
  min-height: 34px;
  padding: 0 5px;
  color: #657069;
  font-size: 12px;
}

.roster-header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.roster-demo-button {
  min-height: 31px;
  border: 1px dashed #8a9d45;
  border-radius: 6px;
  background: #f9fbe9;
  color: #456318;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
}

.roster-demo-button:hover,
.roster-demo-button:focus-visible {
  border-style: solid;
  background: #f0f6d2;
}

.intake-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.intake-flow li {
  position: relative;
  padding: 4px 17px 4px 18px;
}

.intake-flow li + li {
  border-left: 1px solid #d7d8d1;
}

.intake-flow span {
  display: block;
  margin-bottom: 15px;
  color: #8a9d45;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.intake-flow strong {
  display: block;
  color: #17231f;
  font-size: 14px;
}

.intake-flow p {
  margin: 7px 0 0;
  color: #657069;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .join-intake-panel {
    margin: 16px 0;
    padding: 18px 15px;
  }

  .intake-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .intake-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .intake-flow li {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 8px;
    padding: 13px 0;
  }

  .intake-flow li + li {
    border-top: 1px solid #d7d8d1;
    border-left: 0;
  }

  .intake-flow span {
    margin: 1px 0 0;
  }

  .intake-demo-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .intake-demo-controls label {
    grid-column: 1 / -1;
  }

  .intake-demo-controls input,
  .intake-demo-controls .button {
    width: 100%;
  }

  .roster-header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
}
