:root {
  --v12-ink: #2d2835;
  --v12-muted: #746d7c;
  --v12-violet: #65558f;
  --v12-mint: #6ea79a;
  --v12-paper: #faf8f6;
  --v12-line: rgba(70, 57, 82, 0.12);
}

body.v12 .response-area {
  padding-bottom: 18px;
}

body.v12 .response-card .echo-details {
  margin-top: 14px;
  opacity: 0.76;
}

body.v12 .response-card .echo-details > summary {
  font-size: 12px;
  font-weight: 520;
}

body.v12 .suggested-support {
  display: grid;
  gap: 12px;
  margin: 20px 0 4px;
  padding: 18px 0 2px 16px;
  border-top: 1px solid var(--v12-line);
  border-left: 2px solid rgba(102, 85, 143, 0.42);
}

body.v12 .suggested-support-heading {
  display: flex;
  gap: 11px;
  align-items: center;
}

body.v12 .suggested-support-heading > svg {
  width: 22px;
  height: 22px;
  color: var(--v12-violet);
}

body.v12 .suggested-support-heading small,
body.v12 .suggested-support-heading h3 {
  display: block;
  margin: 0;
}

body.v12 .suggested-support-heading small {
  color: var(--v12-muted);
  font-size: 11px;
}

body.v12 .suggested-support-heading h3 {
  margin-top: 3px;
  color: var(--v12-ink);
  font-size: 17px;
  font-weight: 620;
  line-height: 1.45;
}

body.v12 .suggested-support > p {
  margin: 0;
  color: #5f5966;
  font-size: 14px;
  line-height: 1.72;
}

body.v12 .suggested-support-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 8px;
}

body.v12 .suggested-support-actions button {
  min-height: 48px;
  padding: 9px 12px;
  white-space: normal;
}

body.v12 .suggested-support-boundary {
  color: var(--v12-muted);
  font-size: 11px;
  line-height: 1.55;
}

body.v12 #responseArea > .conversation-next {
  position: sticky;
  z-index: 12;
  bottom: calc(8px + env(safe-area-inset-bottom));
  margin: 18px -8px 6px;
  padding: 14px;
  border: 1px solid rgba(75, 62, 89, 0.13);
  border-radius: 8px;
  background: rgba(250, 248, 246, 0.97);
  box-shadow: 0 16px 34px rgba(38, 29, 48, 0.16);
  backdrop-filter: blur(16px);
}

body.v12 .continuation-invite span,
body.v12 .continuation-invite p,
body.v12 .continuation-prompts,
body.v12 .review-path {
  display: none;
}

body.v12 .continuation-invite h3 {
  margin: 0 0 8px;
  color: #574c68;
  font-size: 14px;
  font-weight: 580;
}

body.v12 .followup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  gap: 9px;
  align-items: stretch;
  margin: 0;
}

body.v12 #followupText {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 72px;
  max-height: 132px;
  padding: 10px 11px;
  border: 1px solid var(--v12-line);
  border-radius: 7px;
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}

body.v12 .followup-voice-strip {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 0;
}

body.v12 .followup-voice-strip .voice-action {
  grid-column: auto;
  grid-row: auto;
  width: 64px;
  min-width: 64px;
  height: 64px;
  min-height: 64px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 9px 22px rgba(78, 61, 112, 0.24);
}

body.v12 .followup-voice-strip .voice-action span,
body.v12 .followup-voice-strip > p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body.v12 .continuation-submit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

body.v12 .continuation-submit .primary-button {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 7px;
  color: #fff;
  font-size: 14px;
  overflow: visible;
}

body.v12 .continuation-submit .primary-button::before {
  content: none;
}

body.v12 .continuation-submit .subtle-button {
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  margin-top: 0;
  min-width: 92px;
  min-height: 44px;
  padding: 8px 12px;
}

body.v12 .conversation-organization {
  position: relative;
  overflow: hidden;
  padding: 22px 0 8px 18px;
  border-top: 1px solid var(--v12-line);
  background: transparent;
}

body.v12 .conversation-organization::before {
  position: absolute;
  top: 88px;
  bottom: 94px;
  left: 6px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--v12-violet), var(--v12-mint), rgba(110, 167, 154, 0.12));
}

body.v12 .organization-flow {
  display: grid;
  gap: 0;
}

body.v12 .organization-flow > p {
  position: relative;
  margin: 0;
  padding: 12px 0 14px 13px;
  border: 0;
  background: transparent;
}

body.v12 .organization-flow > p::before {
  position: absolute;
  top: 18px;
  left: -15px;
  width: 8px;
  height: 8px;
  content: "";
  border: 2px solid var(--v12-paper);
  border-radius: 50%;
  background: var(--v12-mint);
}

body.v12 .organization-flow > p > span {
  margin-bottom: 4px;
  color: var(--v12-muted);
  font-size: 11px;
  font-weight: 560;
}

body.v12 .organization-tonight,
body.v12 .organization-question {
  color: #554b61;
}

body.v12 .organization-correction {
  margin-top: 10px;
  color: var(--v12-muted);
}

body.v12 .organization-correction summary {
  cursor: pointer;
  font-size: 12px;
}

body.v12 .organization-correction p {
  font-size: 12px;
  line-height: 1.6;
}

body.v12.v10.followup-listening .conversation-next {
  background: rgba(35, 28, 52, 0.96);
}

body.v12.v10.followup-listening #followupText,
body.v12.v10.followup-listening .continuation-invite h3 {
  color: #f4f1f8;
}

body.v12 .history-item.choosing-delete {
  border-color: rgba(96, 82, 125, 0.2);
}

body.v12 .history-delete-choice {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(96, 82, 125, 0.14);
}

body.v12 .history-delete-choice strong {
  color: #443c52;
  font-size: 14px;
  font-weight: 650;
}

body.v12 .history-delete-choice p,
body.v12 .history-delete-choice small {
  margin: 0;
  color: #756d7e;
  font-size: 12px;
  line-height: 1.65;
}

body.v12 .history-delete-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

body.v12 .history-delete-buttons button {
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid rgba(96, 82, 125, 0.18);
  border-radius: 7px;
  background: #f8f6fb;
  color: #574a70;
  font-size: 12px;
  font-weight: 600;
}

body.v12 .history-delete-buttons .danger {
  border-color: rgba(151, 83, 92, 0.2);
  background: #fbf5f5;
  color: #8d4d58;
}

body.v12 .history-delete-buttons .quiet {
  grid-column: 1 / -1;
  min-height: 44px;
  border-color: transparent;
  background: transparent;
  color: #7f7787;
}

@media (max-width: 350px) {
  body.v12 #responseArea > .conversation-next {
    margin-inline: -12px;
    padding: 11px;
  }

  body.v12 .followup-form {
    grid-template-columns: minmax(0, 1fr) 58px;
  }

  body.v12 .followup-voice-strip .voice-action {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
  }

  body.v12 .suggested-support-actions {
    grid-template-columns: 1fr;
  }

  body.v12 .history-delete-buttons {
    grid-template-columns: 1fr;
  }

  body.v12 .history-delete-buttons .quiet {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.v12 #responseArea > .conversation-next {
    backdrop-filter: none;
  }
}
