.co-context {
  margin-top: 14px;
  background: var(--secondary, #1a2740);
  border: 1px solid var(--line, #2a395a);
  border-radius: 16px;
  padding: 12px;
  font-size: calc(.90rem - 1pt);
  box-sizing: border-box;
}

.co-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-label {
  font-weight: 700;
  color: var(--text-light, #e6eefc);
  letter-spacing: .2px;
  font-size: calc(.95rem - 1pt);
}

.co-togglebtn {
  position: relative;
  min-width: 96px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line, #2a395a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  cursor: pointer;
  user-select: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  box-shadow: none;
}

.co-togglebtn .state {
  font-weight: 800;
  letter-spacing: .2px;
  font-size: calc(1rem - 1pt);
}

.co-togglebtn[aria-pressed="false"] {
  background: #3c4351;
  border-color: #5a6274;
  color: #ff5b5b;
  box-shadow: none;
}

.co-togglebtn[aria-pressed="true"] {
  background: #ffffff;
  color: #0e1b21;
  border-color: #9ad7ac;
  box-shadow: 0 0 0 4px rgba(47, 158, 68, .55), inset 0 2px 6px rgba(0, 0, 0, .18);
}

.co-sources {
  margin-top: 10px;
  display: none;
  gap: 8px;
}

.co-context[data-on="true"] .co-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.co-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--btn-face, #19335a);
  border: 1px solid var(--line, #2a395a);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 10px 18px rgba(0,0,0,.30);
  transition: all .14s ease;
  flex: 1 1 240px;
  min-width: 0;
  overflow: hidden;
}

.co-choice .texts {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.co-choice .title {
  font-weight: 800;
  color: var(--text-light, #e6eefc);
  font-size: calc(.93rem - 1pt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-choice .desc {
  font-size: calc(.80rem - 1pt);
  color: var(--muted, #98a7c7);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.co-choice.is-selected {
  border-color: #3aa45a;
  background: linear-gradient(180deg, rgba(47,158,68,.18), transparent);
  box-shadow: 0 0 0 4px rgba(47,158,68,.55), 0 0 32px rgba(47,158,68,.60), 0 18px 36px rgba(0,0,0,.42);
}

.co-choice input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .co-row {
    align-items: flex-start;
  }

  .co-choice {
    flex-basis: 100%;
  }
}
