/* SANCHINA QA R37 — iPhone Safari editable zoom and horizontal overflow fix.
   Keep ordinary conversation and summary text unchanged; Safari editable fields
   need >=16px computed font-size to prevent automatic focus zoom. */
html[data-agent-inner],html[data-agent-inner] body {
  width:100%; max-width:100%; min-width:0;
  overflow-x:hidden;
}
html[data-agent-inner] .shell,
html[data-agent-inner] .main,
html[data-agent-inner] #consult,
html[data-agent-inner] #consult-log,
html[data-agent-inner] #qa-final-review,
html[data-agent-inner] #qa-final-review .qa-i-form,
html[data-agent-inner] #qa-final-review .qa-i-block,
html[data-agent-inner] #qa-final-review .qa-i-list,
html[data-agent-inner] #qa-final-review .qa-i-detail,
html[data-agent-inner] #qa-final-review .qa-i-extra,
html[data-agent-inner] #qa-final-review .qa-i-contact,
html[data-agent-inner] #qa-final-review .qa-i-row {
  box-sizing:border-box; min-width:0; max-width:100%;
}
/* Make the editable element itself 16px even when older R36 CSS forces 14px.
   Static field labels and non-editable text retain existing approved sizes. */
html[data-agent-inner] body.agent-chat-open #consult #consult-log > #qa-final-review .qa-i-answer[contenteditable="true"],
html[data-agent-inner] body.agent-chat-open #consult #consult-log > #qa-final-review .qa-i-answer[contenteditable="true"]:focus,
html[data-agent-inner] body.agent-chat-open #consult #consult-log > #qa-final-review .qa-i-input,
html[data-agent-inner] body.agent-chat-open #consult #consult-log > #qa-final-review .qa-i-text,
html[data-agent-inner] input,
html[data-agent-inner] textarea,
html[data-agent-inner] select {
  font-size:16px!important;
  -webkit-text-size-adjust:100%;
}
html[data-agent-inner] #qa-final-review .qa-i-answer[contenteditable="true"] {
  overflow-wrap:anywhere;word-break:normal;white-space:pre-wrap;
}
html[data-agent-inner] #qa-final-review input,
html[data-agent-inner] #qa-final-review textarea,
html[data-agent-inner] #qa-final-review select {
  min-width:0; max-width:100%;box-sizing:border-box;
}
