.ct-route { position: relative; transition: background-color .15s ease; }
.ct-route:hover { background: #fafafb; }
.ct-route:has(.ct-route__link:focus-visible) { outline: 2px solid var(--brand); outline-offset: -2px; }

.ct-route__top { display: flex; align-items: flex-start; justify-content: space-between; }
.ct-route__arrow {
  width: 16px; height: 16px; margin-top: 2px;
  color: #a3a6af;
  transition: transform .2s ease, color .15s ease;
}
.ct-route:hover .ct-route__arrow { color: var(--brand); transform: translateX(3px); }

.ct-route__link { color: inherit; outline: none; }
.ct-route__link::after { content: ""; position: absolute; inset: 0; }

.ct-route__to {
  margin: 14px 0 0;
  font: 500 13px/1.3 var(--font-ui); letter-spacing: -.004em;
  color: var(--brand);
  overflow-wrap: anywhere;
}

.ct__topics { min-width: 0; margin: 0; padding: 0; border: 0; }
.ct__topics legend { display: block; padding: 0; margin: 0 0 9px; }
.ct__chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ct__chip { position: relative; display: inline-flex; }
.ct__chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ct__chip span {
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 13px;
  font: 500 13.5px/1 var(--font-ui); letter-spacing: -.006em;
  color: var(--ink-soft);
  background: #fafafb;
  border: 1px solid var(--border); border-radius: 999px;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.ct__chip:hover span { border-color: #d6d8de; }
.ct__chip input:checked + span {
  color: var(--brand);
  background: #eef1ff;
  border-color: rgb(35 71 255 / .3);
}
.ct__chip input:focus-visible + span { box-shadow: 0 0 0 3px rgb(35 71 255 / .14); border-color: var(--brand); }

.ct__extra { display: none; }
.ct__form:has(#ct-topic-sales:checked) .ct__extra[data-topic="sales"],
.ct__form:has(#ct-topic-support:checked) .ct__extra[data-topic="support"],
.ct__form:has(#ct-topic-integration:checked) .ct__extra[data-topic="integration"],
.ct__form:has(#ct-topic-partnership:checked) .ct__extra[data-topic="partnership"] { display: grid; }

.ct__opt {
  margin-left: 4px;
  font-weight: 400;
  color: #9ca3af;
}

.ct__message {
  height: auto; min-height: 132px;
  padding: 11px 13px;
  line-height: 1.5;
  resize: vertical;
}

.ct__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct .sw__actions { flex-wrap: wrap; }
.ct .sw__fine a { color: var(--brand); }
.ct .sw__fine a:hover { color: var(--brand-hi); text-decoration: underline; text-underline-offset: 3px; }

.ct__done-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1100px) {
  .ct .sw__form-col { order: -1; }
  .ct .sw__cells { border-bottom: 0; border-top: 1px solid var(--border); }
}

@media (max-width: 420px) {
  .ct .sw__actions .sw__fine { text-align: center; }
}
