.ix-data, .ix-data > section, .ix-panel, .ix-data .ix-panel { min-width: 0; }
.ix-data { display: grid; gap: 14px; }
.wf-settings { display: grid; gap: 10px; max-width: 700px; }
.wf-settings fieldset { margin: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; }
.wf-settings legend { padding: 0 4px; font-weight: 650; }
.wf-settings button, .ix-data > button { justify-self: start; }
.wf-status:empty { display: none; }
.wf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wf-queue h4, .wf-conversation h4 { margin: 0; }
.wf-dialogs { display: grid; grid-template-columns: minmax(160px, 30%) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.wf-sidebar { background: #f6f8f3; border-right: 1px solid var(--line); padding: 8px; max-height: 570px; overflow: auto; }
.wf-list { display: grid; gap: 4px; }
.wf-dialog { display: grid; width: 100%; gap: 2px; justify-items: start; text-align: left; background: transparent; border: 1px solid transparent; }
.wf-dialog[aria-pressed=true] { background: #e6efd9; border-color: #a6b994; }
.wf-dialog small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-dialog time { color: var(--muted); font-size: .73rem; }
.wf-conversation { min-width: 0; padding: 16px; display: grid; align-content: start; gap: 10px; }
.wf-conversation > button { justify-self: start; }
.wf-timeline { display: grid; gap: 8px; align-content: start; margin: 0; padding: 4px; min-height: 70px; max-height: min(55vh, 450px); overflow-y: auto; list-style: none; }
.wf-timeline li { max-width: 90%; padding: 8px 12px; border-radius: 10px; overflow-wrap: anywhere; }
.wf-in { justify-self: start; background: #f1f3ee; }
.wf-out { justify-self: end; background: #e4efd5; }
.wf-timeline small { color: #435445; }
.wf-timeline .ix-copy { margin: 3px 0; }
@media (max-width: 740px) {
  .wf-dialogs, .wf-pair { grid-template-columns: minmax(0,1fr); }
  .wf-sidebar { max-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
  .wf-sidebar:empty { display: none; }
  .wf-conversation { padding: 11px; }
}
