.outreach-page { display: grid; gap: 18px; min-width: 0; }
.outreach-page .panel { min-width: 0; }
.outreach-explainer { max-width: 85ch; color: var(--bone-2, #b6b1a6); line-height: 1.6; }
.outreach-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.outreach-kpi { display: grid; align-content: start; gap: 8px; padding: 18px 12px; text-align: left; border: 1px solid var(--line, #39352b); border-radius: 12px; background: var(--gunmetal-2, #181818); color: inherit; cursor: pointer; }
.outreach-kpi strong { font-size: 1.8rem; color: var(--brass, #d8ae56); }
.outreach-kpi span { font-size: .85rem; line-height: 1.3; }
.outreach-kpi:hover, .outreach-kpi[aria-pressed="true"] { border-color: var(--brass, #d8ae56); }
.outreach-page :focus-visible { outline: 2px solid var(--brass, #d8ae56); outline-offset: 3px; }
.outreach-mailbox { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.outreach-mailbox h3 { margin: 5px 0; }
.outreach-mailbox p { margin: 8px 0; }
.outreach-mailbox button { flex-shrink: 0; }
.outreach-filters { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr auto; align-items: end; gap: 12px; margin-bottom: 16px; }
.outreach-filters .field { min-width: 0; }
.outreach-filters input, .outreach-filters select { width: 100%; min-width: 0; }
/* Keep absolutely positioned accessible labels inside the scrolling table. */
.outreach-table-wrap { position: relative; overflow-x: auto; }
.outreach-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; }
.outreach-table th { color: var(--bone-2, #b6b1a6); font-size: .8rem; font-weight: 500; }
.outreach-table th, .outreach-table td { padding: 14px 10px; border-bottom: 1px solid var(--line, #39352b); vertical-align: top; }
.outreach-table td:first-child { max-width: 260px; overflow-wrap: anywhere; }
.outreach-table small, .outreach-entry small { display: block; color: var(--bone-2, #b6b1a6); margin-top: 5px; overflow-wrap: anywhere; }
.outreach-signal { display: block; margin-bottom: 4px; }
.outreach-attention { color: var(--brass, #d8ae56); font-weight: 600; }
.outreach-pagination, .outreach-detail-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.outreach-pagination { justify-content: space-between; font-size: .85rem; }
.outreach-history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.outreach-entry { padding: 14px 0; border-bottom: 1px solid var(--line, #39352b); overflow-wrap: anywhere; }
.outreach-entry p { margin: 8px 0; }
.outreach-entry time { display: block; color: var(--bone-2, #b6b1a6); font-size: .8rem; margin-top: 4px; }
.outreach-note { white-space: pre-wrap; }
.outreach-detail { scroll-margin-top: 90px; }
/* Personal mail selection and the landing page reached from campaign links. */
.recipient-field { position: relative; }
.recipient-results, .recipient-chips { display: grid; gap: 6px; margin-top: 6px; }
.recipient-option, .recipient-chip { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line, #39352b); color: inherit; background: transparent; text-align: left; }
.recipient-option small { display: block; }
.comeback-layout { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); gap: 24px; }
.comeback-side, .piep-composer, .comeback-progress { display: grid; gap: 14px; align-content: start; }
.comeback-title { font-size: clamp(2rem, 5vw, 4.5rem); }
.comeback-progress-bar { height: 8px; background: var(--line, #39352b); }
.comeback-progress-bar i { display: block; height: 100%; background: var(--brass, #d8ae56); }
.piep-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.piep-note { padding: 20px; border: 1px solid var(--line, #39352b); border-radius: 12px; background: var(--gunmetal-2, #181818); overflow-wrap: anywhere; }
.piep-note header { display: flex; align-items: center; gap: 10px; }
.piep-note small, .piep-note footer { color: var(--bone-2, #b6b1a6); font-size: .8rem; }
.piep-note small { display: block; }
.piep-note p { margin: 14px 0; white-space: pre-wrap; }
.piep-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.piep-burst { display: none; }
@media (max-width: 1100px) { .outreach-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .outreach-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .outreach-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outreach-mailbox { flex-direction: column; }
  .outreach-filters, .outreach-history-grid, .comeback-layout { grid-template-columns: 1fr; }
  .outreach-table { min-width: 650px; }
  .outreach-kpi { padding: 14px; }
  .outreach-table-wrap { max-width: 100%; }
}
