/* Distinct authority and actor stages; scoped to the objective router. */
[data-router] .journey-steps .step-disabled {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: var(--wash);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: default;
}

[data-router] .authority-choices,
[data-router] .actor-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

[data-router] .authority-choice,
[data-router] .actor-choice {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  overflow-wrap: anywhere;
}

[data-router] .authority-choice > .record-id {
  margin-bottom: 10px;
}

[data-router] .authority-choice-title,
[data-router] .actor-choice-name {
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 0 0 16px;
}

[data-router] .authority-choice .source-list li {
  padding: 0 0 9px;
  margin: 0 0 9px;
  font-size: .875rem;
}

[data-router] .authority-choice dl {
  margin: 10px 0 20px;
  font-size: .9375rem;
}

[data-router] .authority-choice dl > div + div {
  margin-top: 15px;
}

[data-router] .authority-choice dt,
[data-router] .actor-choice h4 {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0 0 6px;
}

[data-router] .authority-choice dd {
  margin: 0;
  line-height: 1.65;
}

[data-router] .authority-choice-next {
  align-self: flex-start;
  margin-top: auto;
}

[data-router] .actor-choice-kind {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .035em;
}

[data-router] .actor-choice-routing {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  background: var(--wash);
  font-size: .875rem;
}

[data-router] .actor-choice-qualifier {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

[data-router] .actor-choice-instruments {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

[data-router] .actor-choice-instruments li {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
  line-height: 1.6;
}

[data-router] .actor-choice-instruments .record-id {
  display: block;
  margin-bottom: 3px;
}

[data-router] .actor-choice-boundary {
  margin-bottom: 22px;
}

[data-router] .actor-choice-limit {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.65;
}

[data-router] .actor-choice-action {
  margin-top: auto;
}

[data-router] .actor-choice-route-context {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.6;
}

[data-router] .actor-choice-route-type {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 700;
}

[data-router] .actor-choice-engagement {
  white-space: normal;
}

[data-router] .actor-choice-all-engagement {
  display: block;
  width: fit-content;
  margin-top: 12px;
  font-size: .875rem;
}

[data-router] .followup-navigation {
  margin: 22px 0 0;
  font-size: .875rem;
}

@media (max-width: 760px) {
  [data-router] .authority-choices,
  [data-router] .actor-choices {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-router] .authority-choice,
  [data-router] .actor-choice {
    padding: 20px;
  }
}

@media (max-width: 650px) {
  [data-router] .journey-steps .step-disabled {
    padding: 10px;
    border-bottom: 1px solid var(--line);
    font-size: .8125rem;
  }
}
