/* Outreach layout only. Shared BioPatriot tokens own colors and controls. */
#outreach-root { min-width:0; }
.outreach-operator-states { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--space-4,12px); margin-bottom:var(--space-5,16px); }
.outreach-operator-states > section { min-width:0; padding:var(--space-4,12px); border:1px solid var(--border); border-radius:var(--radius-card,12px); background:var(--bg-surface); }
.outreach-operator-states h4 { margin-bottom:var(--space-3,8px); }
.outreach-operator-states small { display:block; margin-top:var(--space-3,8px); color:var(--text-dim); line-height:1.5; overflow-wrap:anywhere; }
.outreach-partnership-reason { display:grid; gap:var(--space-3,8px); }
.outreach-partnership-reason textarea { width:100%; min-height:6em; resize:vertical; }
.outreach-conversation-queues { display:flex; flex-wrap:wrap; gap:var(--space-3,8px); padding:var(--space-4,12px); }
.outreach-conversation-queues button[aria-pressed="true"] { border-color:var(--accent); color:var(--accent); background:var(--bg-hover); }
.outreach-company-list .outreach-filters { flex-wrap:wrap; }
.outreach-company-list td { vertical-align:top; }
@media(max-width:640px) {
    .outreach-operator-states { grid-template-columns:1fr; }
    .outreach-conversation-queues button { min-height:var(--control-height,40px); white-space:normal; }
    .outreach-company-list .outreach-filters, .outreach-company-list .outreach-filters label { width:100%; }
}
/* A helper under one field must not stretch its neighbouring label's rows. */
.outreach-launcher .outreach-detail-grid > label { align-content:start; }
.outreach-history-head, .outreach-history-filters { flex-wrap:wrap; }
@media(max-width:640px) {
    .outreach-history-head { flex-direction:column; }
    .outreach-history-filters button, [data-outreach-history] button { min-height:40px; }
}
#outreach-root .outreach-help,
#outreach-root .outreach-card-head span,
#outreach-root .outreach-freshness,
#outreach-root .outreach-draft-card small { font-size:var(--font-size-sm,12px); }
.outreach-drafts > .outreach-card-head { flex-wrap:wrap; }
.outreach-draft-bulk-actions { max-width:100%; }
.outreach-mail-settings { margin-top:var(--space-5,16px); }
.outreach-mail-settings > summary { cursor:pointer; padding:var(--space-4,12px); color:var(--text-dim); }
.outreach-mail-settings > .outreach-grid { margin-top:var(--space-4,12px); }
.outreach-recovery-details > summary { cursor:pointer; min-height:40px; padding:var(--space-3,8px) var(--space-4,12px); color:var(--text-dim); }
.outreach-search-diagnostics > summary { min-height:40px; padding:var(--space-3,8px) 0; }
.outreach-search-diagnostics .outreach-task-result-list span { font-size:var(--font-size-sm,12px); }
.outreach-task-heartbeat.is-unconfirmed b { background:var(--text-dim); box-shadow:none; animation:none; }
.outreach-conversation-state { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.outreach-task-focus-progress { margin-top:var(--space-5,16px); padding:var(--space-5,16px); }
.outreach-task-runtime { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
.outreach-task-runtime > div { padding:var(--space-3,8px) var(--space-4,12px); }
/* Read-only messages grow with their text; only the surrounding page scrolls. */
.outreach-draft-card > pre { max-height:none; overflow:visible; }
.outreach-draft-card > .outreach-technical { margin-top:var(--space-4,12px); }
.outreach-delivery-list { margin-top:var(--space-5,16px); }
.outreach-delivery-ack { display:flex; align-items:flex-start; gap:var(--space-3,8px); margin:var(--space-5,16px) 0; line-height:1.5; }
.outreach-delivery-ack input { flex:none; margin-top:var(--space-1,4px); }
.outreach-detail-section > button { margin:var(--space-2,6px) var(--space-3,8px) var(--space-2,6px) 0; }
#outreach-company-research-note { min-height:6em; }
@media (max-width:640px) {
    .outreach-draft-bulk-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .outreach-draft-bulk-actions button { white-space:normal; }
    .outreach-draft-card header { flex-wrap:wrap; }
}
.outreach-inbound-analysis blockquote {
    margin: var(--space-4) 0;
    padding: var(--space-4);
    border-inline-start: var(--space-1) solid var(--border-control);
    background: var(--bg-surface);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.outreach-analysis-holds {
    max-height: 24rem;
    overflow: auto;
    scrollbar-width: thin;
}
.outreach-analysis-hold + .outreach-analysis-hold {
    margin-block-start: var(--space-5);
    padding-block-start: var(--space-4);
    border-block-start: 1px solid var(--border);
}
.outreach-analysis-evidence { margin-block: var(--space-4); }
