/* Hallmark · V15.9 task conversation refinement
 * pre-emit critique: P5 H5 E5 S5 R5 V4
 * purpose: readable answers and an unobstructed continued-voice path
 */

.active-dialogue-turn .dialogue-step {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.active-dialogue-turn .dialogue-step + .dialogue-step {
  margin-top: 0.72em;
}

body.v15.v11 .followup-form {
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: stretch;
  scroll-margin-block-end: calc(112px + env(safe-area-inset-bottom));
}

body.v15.v11 #followupText {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}

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

body.v15.v11 .followup-voice-strip .voice-action,
body.v15.v11[data-dictation-visual="followup-listening"] .followup-voice-strip .voice-action {
  width: 64px;
  height: 64px;
  min-height: 64px;
  justify-self: center;
}

body.v15.v11 .followup-voice-strip .voice-action span,
body.v15.v11 .followup-voice-strip p {
  display: none;
}

body.v15.v11 .continuation-submit {
  grid-column: 1 / -1;
  grid-row: 2;
}

body.v15.v11 .conversation-next {
  padding-bottom: calc(102px + env(safe-area-inset-bottom));
}

@media (max-width: 360px) {
  body.v15.v11 .followup-form {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  body.v15.v11 .followup-voice-strip .voice-action,
  body.v15.v11[data-dictation-visual="followup-listening"] .followup-voice-strip .voice-action {
    width: 56px;
    height: 56px;
    min-height: 56px;
  }
}
