/* Messaging-only report layout; shares existing font and controls. */
.dr-active .ops-shell>section.ops-card{display:none}.dr-report{color:#25292e;font:inherit}.dr-header{padding:24px;background:white;border:1px solid #e4e8ec;border-radius:18px}.dr-title{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:20px}.dr-title h2{font-size:24px;line-height:1.4;margin:0}.dr-title p,.dr-note{color:#71808f;font-size:12px;line-height:1.75;margin:8px 0 12px}.dr-sample{font-size:11px;border:1px solid #dfe5ec;background:#f6f8fb;border-radius:5px;padding:3px 7px;color:#71808f}.dr-scope{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding-top:14px;border-top:1px solid #edf0f3;color:#657581;font-size:12px}.dr-scope select{width:80px;margin-left:8px}.dr-report select,.dr-report input{font:inherit;border:1px solid #d6deea;background:#fff;border-radius:7px;padding:8px 10px;min-height:36px}.dr-tabs{display:flex;gap:10px;border-bottom:1px solid #dce3eb;margin:18px 0;overflow:auto}.dr-tabs button{flex:none;padding:14px 12px;background:none;border:0;border-bottom:3px solid transparent;font:inherit;font-size:14px;color:#748190;font-weight:700;cursor:pointer}.dr-tabs button[aria-selected=true]{color:#117643;border-color:#168654}.dr-report button:focus-visible,.dr-report summary:focus-visible{outline:2px solid #167745;outline-offset:3px}.dr-report #dr-body{outline:none}.dr-ai{background:linear-gradient(110deg,#eef8f2,#f4f7fa);border:1px solid #d4e8dc;border-radius:14px;padding:20px 24px;margin-bottom:18px}.dr-eyebrow{color:#147748;font-size:12px;font-weight:700}.dr-ai h3{font-size:19px;margin:8px 0;line-height:1.45}.dr-ai p{font-size:13px;line-height:1.85;margin:0 0 12px;color:#51675a}.dr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.dr-metric{padding:18px;background:#fff;border:1px solid #e1e7ec;border-radius:12px;min-width:0}.dr-metric span{display:block;font-size:12px;color:#687787}.dr-metric strong{display:block;font-size:26px;line-height:1.4;letter-spacing:-.6px;margin:6px 0;color:#173f30}.dr-metric small{font-size:11px;color:#82908f;line-height:1.6;display:block}.dr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.dr-panel{background:white;border:1px solid #e3e8ed;border-radius:14px;padding:22px;margin-bottom:18px;min-width:0}.dr-panel h3{font-size:16px;margin:0 0 16px;line-height:1.4}.dr-panel details,.dr-basis{font-size:12px;color:#6c7a85;line-height:1.8}.dr-panel summary,.dr-basis summary{cursor:pointer;color:#425a4d;font-weight:600;padding:8px 0}.dr-basis{border:1px solid #e2e7ed;border-radius:12px;padding:12px 20px;background:#fff}.dr-stack{display:flex;height:22px;border-radius:6px;overflow:hidden;background:#eef2f6;margin:28px 0 16px}.dr-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;line-height:1.6;margin-bottom:16px}.dr-legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}.dr-legend b{margin-left:5px}.dr-bars>div{display:grid;grid-template-columns:minmax(70px,140px) 1fr 68px;align-items:center;gap:10px;margin:14px 0;font-size:12px}.dr-bars strong{font-size:12px;text-align:right}.dr-track{background:#f0f3f6;height:12px;border-radius:4px;overflow:hidden}.dr-track i{display:block;height:100%;border-radius:4px}.dr-trend{max-width:800px;margin:auto}.dr-trend svg{width:100%;max-height:240px;display:block}.dr-trend text{font-size:11px;fill:#81909f}.dr-route{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.dr-route article{border:1px solid #dae5df;border-radius:12px;padding:18px;background:#f8fbf9}.dr-route article>span{color:#798d81;font-size:11px}.dr-route article h3{margin:8px 0}.dr-route article>strong{font-size:24px;color:#167647}.dr-route article p,.dr-route article small{font-size:12px;color:#6c7d73}.dr-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dr-facts span{display:block;color:#798997;font-size:12px}.dr-facts strong{display:block;margin-top:5px;font-size:16px;line-height:1.5}.dr-table-wrap{width:100%;overflow-x:auto}.dr-table-wrap .ops-table{min-width:0;font-size:12px}.dr-table-wrap .ops-table th{position:static;font-size:11px;white-space:nowrap}.dr-table-wrap .ops-table td{padding:12px 10px;overflow-wrap:anywhere}.dr-table-wrap .ops-table td small{font-size:10px}.dr-content-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.dr-preview{background:#f6f8fa;border-radius:12px;padding:20px;margin-top:18px;max-height:620px;overflow:auto;overscroll-behavior:contain}.dr-preview>*{margin-inline:auto!important;max-width:100%!important}.dr-preview iframe{display:block;width:100%;height:570px;border:0;background:white}.dr-two{grid-template-columns:1fr 1fr}.dr-lift-status{background:#f5f2e9;color:#85642c;padding:9px 12px;border-radius:6px;font-size:12px}.dr-lift-status.positive{background:#e7f5ec;color:#167647}.dr-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.dr-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#65798b}.dr-toolbar label:first-child{flex:1;min-width:190px}.dr-timeline{padding-left:22px}.dr-timeline li{padding:12px 0;font-size:13px}.dr-timeline span{margin-left:12px;color:#8b96a1;font-size:11px}.dr-timeline p{color:#667a6a}.dr-foot{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:18px 0;padding:12px 2px;font-size:11px;color:#84928b}.dr-report #dr-pages{margin-top:18px}.dr-report .ops-table .top-button{white-space:nowrap;font-size:12px}.dr-report{padding-bottom:50px}@media(max-width:1000px){.dr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dr-grid{grid-template-columns:1fr}.dr-title{align-items:flex-start;flex-direction:column}.dr-scope{flex-wrap:wrap}}@media(max-width:620px){.dr-header,.dr-panel,.dr-ai{padding:16px}.dr-title h2{font-size:21px}.dr-metric{padding:12px}.dr-metric strong{font-size:22px}.dr-tabs{gap:0}.dr-tabs button{padding:12px 8px;font-size:12px}.dr-scope label{display:flex;align-items:center}.dr-foot{flex-wrap:wrap}.dr-table-wrap .ops-table{min-width:580px}.dr-bars>div{grid-template-columns:100px 1fr 58px}}
.dr-next{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid #d8e7dd;border-radius:12px;padding:16px 20px;margin-bottom:18px}.dr-next strong{font-size:14px}.dr-next p{margin:5px 0 0}.dr-next button{white-space:nowrap}.dr-header{padding:20px 24px}.dr-title{margin-top:14px}.dr-scope{margin-top:12px;padding-top:12px}@media(max-width:700px){.dr-next{flex-wrap:wrap}}
.dr-preview #expand-preview{display:none}
body[data-view="history"] .ops-shell{overflow-anchor:none}

@media(max-width:620px){
 .dr-tabs{flex-wrap:wrap;overflow:visible}
 .dr-toolbar label:first-child{flex-basis:100%;min-width:0}
 .dr-toolbar label{min-width:0;max-width:100%}
 .dr-toolbar input,.dr-toolbar select{box-sizing:border-box;max-width:100%}
 .dr-facts{grid-template-columns:minmax(0,1fr)}
 .dr-route{grid-template-columns:minmax(0,1fr)}
 .dr-scope label{flex-wrap:wrap}
}

/* Email keeps one content scroller inside the sandboxed document. */
.dr-preview.dr-preview-email{max-height:none;overflow:visible;overscroll-behavior:auto;padding:12px}
.dr-preview-email iframe{height:clamp(360px,60vh,620px);border-radius:6px}

/* Per-send summary hierarchy only. Detail tabs, charts and customer logs retain their styles. */
.dr-highlights{padding:24px;background:#fff;border:1px solid #e4eae6;border-radius:14px;margin-bottom:26px;container-type:inline-size}
.dr-highlights header h3{font-size:22px;font-weight:650;line-height:30px;color:#293c31;margin:0 0 8px}
.dr-highlights>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 16px}
.dr-highlight-campaign{font-size:12px;line-height:20px;color:#7b877f;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:8px}
.dr-highlight-summary,.dr-highlight-scope{grid-column:1/-1}
.dr-highlight-summary{font-size:16px;font-weight:500;line-height:26px;color:#40544a;margin:0}
.dr-highlight-scope{font-size:12px;line-height:20px;color:#78847d;margin:6px 0 0}
.dr-highlight-kpis{display:grid;grid-template-columns:repeat(var(--kpi-count,4),minmax(0,1fr));gap:20px;padding:22px 0;margin:20px 0;border-top:1px solid #edf1ee;border-bottom:1px solid #edf1ee}
.dr-highlight-kpi{min-width:0}
.dr-highlight-kpi>span{font-size:13px;line-height:20px;color:#64736a}
.dr-highlight-kpi>strong{display:block;font-size:30px;line-height:42px;letter-spacing:-.6px;font-weight:650;color:#30483a;margin:6px 0 4px;font-variant-numeric:tabular-nums}
.dr-highlight-kpi:first-child>strong{color:#23764b}
.dr-highlight-kpi small{display:block;font-size:12px;line-height:19px;color:#79877e}
.dr-highlight-kpi.is-unknown>strong{font-size:20px;letter-spacing:0;font-weight:500;color:#87928b}
.dr-highlight-insight{border-left:2px solid #a6c9b5;padding:2px 0 2px 16px}
.dr-highlight-eyebrow{font-size:12px;color:#667a6d;font-weight:500}
.dr-highlight-insight h4{font-size:16px;line-height:24px;font-weight:600;margin:7px 0;color:#30483a}
.dr-highlight-reading{font-size:13px;line-height:22px;color:#6d7c72;margin:0 0 8px}
.dr-highlight-insight details{font-size:12px;line-height:20px;color:#708076}
.dr-highlight-insight summary,.dr-summary-legacy>summary{cursor:pointer;outline-offset:4px}
.dr-highlight-insight details p{font-size:13px;line-height:22px;margin:10px 0 12px;color:#64766b}
.dr-highlights[data-animate="true"] .dr-highlight-kpi{animation:dr-highlight-appear 220ms ease-out var(--kpi-delay) both}
.dr-highlights[data-animate="true"] .dr-highlight-insight{animation:dr-highlight-appear 220ms ease-out calc((var(--kpi-count,4) - 1) * 120ms + 220ms) both}
.dr-summary-secondary>h3{font-size:15px;line-height:23px;font-weight:600;color:#55675b;margin:0 0 14px}
.dr-summary-legacy{border-top:1px solid #e7ece9;font-size:12px;line-height:22px;color:#728176;padding:10px 0;margin-bottom:14px}
.dr-summary-legacy[open]>summary{margin-bottom:14px}
@keyframes dr-highlight-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@container(max-width:640px){.dr-highlight-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}.dr-highlight-kpi>strong{font-size:28px}.dr-highlight-campaign{display:none}}
@media(max-width:620px){.dr-highlights{padding:18px}.dr-highlights header h3{font-size:20px}.dr-highlight-summary{font-size:14px;line-height:24px}.dr-highlight-kpis{padding:16px 0;margin:16px 0}.dr-highlight-kpi small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.dr-highlights .dr-highlight-kpi,.dr-highlights .dr-highlight-insight{animation:none!important}}
