.mail-compose-copy-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.mail-sensitive-confirm { display:grid; gap:8px; padding:12px; border:1px solid #edbd8c; border-radius:8px; background:#fff8eb; }
.mail-sensitive-confirm p { margin:0; }
.mail-history-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:8px; }
.mail-history-toolbar label { display:grid; gap:4px; font-size:.75rem; color:#62758a; min-width:0; }
.mail-history-toolbar label:first-child { flex:1 1 260px; }
.mail-history-toolbar input, .mail-history-toolbar select { min-height:36px; padding:6px 8px; font:inherit; font-size:.85rem; border:1px solid #cbd8e7; border-radius:6px; min-width:0; }
.mail-history-toolbar .btn-secondary { min-height:36px; padding:6px 10px; }
.mail-history-scroll { overflow-x:auto; border:1px solid #d8e2ef; border-radius:6px; }
.mail-history-table { width:100%; min-width:900px; border-collapse:collapse; table-layout:fixed; font-size:.8rem; }
.mail-history-table th { text-align:left; background:#edf3f8; padding:8px; border-bottom:1px solid #cbd8e7; }
.mail-history-table th button { border:0; background:transparent; color:inherit; font:inherit; font-weight:700; cursor:pointer; padding:0; }
.mail-history-table td { padding:7px 8px; border-bottom:1px solid #e0e8f0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mail-history-table tr:nth-child(even) { background:#f5f8fc; }
.mail-history-table th:nth-child(1) { width:150px; }
.mail-history-table th:nth-child(2) { width:20%; }
.mail-history-table th:nth-child(3) { width:25%; }
.mail-history-table th:nth-child(6) { width:140px; }
.mail-history-table th:last-child { width:80px; }
.mail-history-table small { margin-left:5px; color:#62758a; font-size:.65rem; }
.mail-history-table .mini-btn { min-height:28px; padding:3px 8px; font-size:.75rem; }
.mail-history-status { color:#237b57; }
.mail-history-status.status-fehlgeschlagen, .mail-history-status.status-teilweise_gesendet { color:#b42318; }
.mail-history-status.status-wird_gesendet { color:#986319; }
.mail-history-pagination { display:flex; gap:12px; justify-content:flex-end; align-items:center; padding-top:10px; font-size:.8rem; }
.mail-history-detail { width:min(850px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:auto; }
.mail-history-detail h3 { overflow-wrap:anywhere; min-width:0; }
.mail-history-detail dl { display:grid; grid-template-columns:80px minmax(0,1fr); gap:6px 10px; }
.mail-history-detail dt { color:#62758a; }
.mail-history-detail dd { margin:0; overflow-wrap:anywhere; }
.mail-history-detail pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; font-size:.9rem; border-top:1px solid #d8e2ef; padding-top:12px; }
@media(max-width:760px) { .mail-compose-copy-fields { grid-template-columns:minmax(0,1fr); } .mail-history-toolbar label { flex:1 1 140px; } }
@media(max-width:1180px) {
  .disposition-mail-modal.has-compose .disposition-mail-layout { display:flex; flex-direction:column; }
  .disposition-mail-modal.has-compose .disposition-mail-layout > * { width:100%; flex-shrink:0; }
}
@media(max-width:760px) {
  .confirm-modal.disposition-mail-modal.has-compose { display:block; }
  .disposition-mail-modal.has-compose > * + * { margin-top:8px; }
  .disposition-mail-modal.has-compose .disposition-mail-layout { display:flex; flex-direction:column; overflow:visible; }
  .disposition-mail-modal.has-compose .disposition-mail-reply-column { order:-1; }
}
