.agent-brief { min-width: 0 }
.agent-brief textarea { display: block; box-sizing: border-box; width: 100%; min-height: 8.5em; font-size: 16px; line-height: 1.45; resize: vertical; }
.agent-brief-tools { display: flex; flex-wrap: wrap; gap: .5rem }
.agent-brief details { max-width: 100%; overflow-wrap: anywhere }
.agent-brief summary { cursor: pointer }
.agent-brief ul { padding-inline-start: 1.2rem }
.agent-brief li { margin: .45em 0 }
.agent-brief [data-brief-conflict] pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit }
.agent-brief [data-brief-status]:empty { display: none }
@media (max-width:740px) {
  .agent-brief { gap:.42rem; }
  .agent-brief label,.agent-brief .fine,.agent-brief .actions,.agent-brief [role=status] { margin-block:0; }
  .agent-brief textarea { min-height:7em; height:7em; }
  .agent-brief-tools button { padding:.45rem .7rem; }
  .agent-brief button[type=submit] { position:sticky; bottom:0; z-index:1; margin-top:.3rem; box-shadow:0 -4px 10px rgba(255,255,255,.95); }
}
