/* Topic detail. Sizes and spacing are the design's own px values; every color
 * is a token. Loaded after app.css, so these rules win over .ro-press on the
 * two card-shaped buttons.
 */

.ro-topic {
  background: var(--color-bg);
  padding: 66px 18px 14px;
  gap: 15px;
}

.ro-topic-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ro-topic-count {
  font-size: 12px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}

.ro-topic-title {
  font-size: 27px;
  line-height: 1.14;
  text-wrap: pretty;
}

.ro-topic-blurb {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.82;
}

/* — the guided-reflection door — */
.ro-topic-guide {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-accent-2-100);
  border-radius: 28px;
  padding: 18px;
}
.ro-topic-guide:hover { background: var(--color-accent-2-200); }
.ro-topic-guide:active { background: var(--color-accent-2-300); }

.ro-topic-guideicon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--color-accent-2-600);
  display: grid;
  place-items: center;
  flex: none;
}

.ro-topic-guidetext {
  flex: 1;
  min-width: 0;
}

.ro-topic-guidetitle {
  display: block;
  font-size: 16px;
  color: var(--color-accent-2-900);
}

.ro-topic-guidemeta {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--color-accent-2-800);
  opacity: 0.85;
}

/* — the three prompts — */
.ro-topic-prompts {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ro-topic-prompt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-surface);
  border-radius: 22px;
  padding: 15px 16px;
}

.ro-topic-num {
  font-size: 15px;
  color: var(--color-accent);
  flex: none;
}

.ro-topic-promptbody {
  font-size: 13.5px;
  line-height: 1.5;
}

/* — the two ways out — */
.ro-topic-actions {
  display: flex;
  gap: 9px;
}

.ro-topic-answer {
  height: 48px;
  flex: 1;
  font-size: 14.5px;
}

.ro-topic-bring {
  height: 48px;
  padding-inline: 16px;
  font-size: 14px;
}

/* — the hand-off: neutral ramp, so it reads as information and not a pitch — */
.ro-topic-handoff {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-neutral-200);
  border-radius: 26px;
  padding: 18px;
  margin-top: 4px;
}

.ro-topic-handofftitle {
  font-size: 17px;
  color: var(--color-neutral-900);
}

.ro-topic-handoffbody {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--color-neutral-800);
}

.ro-topic-care {
  height: 44px;
  background: var(--color-neutral-800);
  color: var(--color-neutral-100);
  font-size: 13.5px;
}
.ro-topic-care:hover { background: var(--color-neutral-900); }
.ro-topic-care:active { background: var(--color-text); }

