.history-explainer{padding:20px 24px;background:#f4e7ed;border:1px solid #ead6e0;border-radius:10px;margin-bottom:20px;color:#6c4255;font-size:13px;line-height:1.8}.history-explainer p{margin:6px 0 0}.history-sync:empty{display:none}.history-sync{font-size:13px}.history-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.history-email-subject{display:block;white-space:normal;font-size:13px;color:#57404c;margin-top:6px;line-height:1.6;overflow-wrap:anywhere}.history-dialog{width:min(850px,calc(100% - 28px))}.history-dialog dl>div{grid-template-columns:160px 1fr}.history-dialog #detailStatus{font-size:13px;color:#8b6675;line-height:1.8}.history-dialog iframe{width:100%;height:750px;border:1px solid #eadde4;border-radius:8px;background:#faf8f7}.history-dialog pre{font:14px/1.8 'Segoe UI',sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}.history-dialog ol{padding-left:20px;font-size:13px;line-height:1.8}.history-dialog li{padding-bottom:9px}.history-dialog h2{overflow-wrap:anywhere}.badge.accepted,.badge.pending,.badge.queued,.badge.scheduled{background:#faf1df;color:#896a2f}.badge.delivered,.badge.sent{background:#eaf3ee;color:#396a50}.badge.opened,.badge.clicked{background:#eeedf8;color:#71629a}.badge.failed,.badge.bounced,.badge.complained,.badge.suppressed,.badge.unconfirmed,.badge.delivery_delayed,.badge.canceled{background:#fbece9;color:#985a50}.history-note{font-size:12px;line-height:1.8;color:#82747d}.history-stats .stat:first-child{grid-column:auto}.history-dialog #emailDetails dd{word-break:break-word}@media(max-width:760px){.history-stats{grid-template-columns:1fr}.history-stats .stat{display:grid;grid-template-columns:1fr auto;gap:0 15px}.history-stats .stat strong{grid-column:2;grid-row:1/3}.history-explainer{padding:18px}.history-dialog{padding:20px}.history-dialog dl>div{grid-template-columns:100px 1fr}.history-dialog iframe{height:650px}.guest-table footer .actions{flex-wrap:wrap}}

@media(max-width:760px){#history .table-scroll{max-height:none;overflow:visible}.history-table,.history-table tbody{display:block;width:100%}.history-table thead{display:none}.history-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid #eee6eb;padding:12px 0}.history-table td{display:block;white-space:normal;max-width:none;border:0;padding:8px 18px;overflow-wrap:anywhere}.history-table td:first-child,.history-table td:nth-child(2),.history-table td:last-child{grid-column:1/-1}.history-table td:nth-child(3)::before,.history-table td:nth-child(4)::before{display:block;font-size:11px;color:#89717f;margin-bottom:8px}.history-table td:nth-child(3)::before{content:"Latest status"}.history-table td:nth-child(4)::before{content:"Sent / attempted"}.history-table .empty{padding:24px 18px}}

.history-sync[data-state=error]{background:#fff1ef;border:1px solid #e9c4bf;color:#8b3b40}
