.evidence-empty,.evidence-help,.evidence-rules {color:var(--muted);line-height:1.55}
.evidence-empty {padding:22px 20px}
.evidence-help {font-size:14px;margin:12px 0}
.dispatcher-message-body {white-space:pre-wrap;overflow-wrap:anywhere}
.evidence-holds {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 18px;padding:15px 20px;border:1px solid var(--line);border-left:3px solid #d7a55b;background:var(--paper);border-radius:6px}
.evidence-holds h2 {font-size:17px}
.evidence-holds p,.evidence-holds span {color:var(--muted);font-size:13px}
.evidence-holds p {margin:3px 0 0}
.evidence-holds > div:last-child {display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.evidence-holds strong {font-size:22px;font-variant-numeric:tabular-nums}
.evidence-release {margin:0 0 16px;padding:12px 14px;background:var(--soft);border:1px solid var(--line);border-radius:5px}
.evidence-release label {display:flex;align-items:center;gap:9px;line-height:1.4;font-weight:600}
.evidence-release input {width:17px;height:17px;accent-color:var(--action)}
.evidence-release small {display:block;color:var(--muted);margin-top:5px;line-height:1.45}
.evidence-filters {grid-template-columns:minmax(140px,1.6fr) repeat(2,minmax(110px,1fr))}
.evidence-rules {margin:0;padding:16px 24px 17px 39px}
.evidence-rules li + li {margin-top:8px}
.evidence-itinerary {padding:0 0 14px;border-bottom:1px solid var(--line)}
.evidence-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:16px 0}
.evidence-facts div,.freight-parties section {min-width:0;overflow-wrap:anywhere}
.evidence-facts dt {color:var(--muted);font-size:13px}
.evidence-facts dd {margin:2px 0 0;font-weight:600}
.evidence-check,.evidence-previous {margin:0 0 15px;padding:12px 14px;background:var(--soft);border-radius:5px}
.evidence-previous > strong {display:block;margin:0 0 6px}
[data-form="evidence-review"] textarea {font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:9px 12px;width:100%;resize:vertical}
dialog:has(.freight-paper) {width:min(680px,calc(100% - 28px))}
.freight-paper {background:#fff;color:#182330;padding:clamp(18px,4vw,32px);border-radius:5px;overflow-wrap:anywhere}
.freight-paper header {display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;padding-bottom:18px;border-bottom:2px solid #263744}
.freight-paper header p {font-size:14px;margin:0 0 5px}
.freight-paper header h2 {font-size:clamp(26px,4vw,36px);color:#182330}
.freight-parties {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px 0;border-bottom:1px solid #bac3ca}
.freight-parties h3,.freight-paper .evidence-facts dt {font-family:inherit;font-size:13px;font-weight:500;line-height:1.4;color:#505b65}
.freight-parties h3 {margin:0 0 5px}
.freight-paper .evidence-facts {margin:18px 0 0}
.freight-paper .cell-sub {color:#505b65}
@media (max-width:420px) {
  .evidence-facts {grid-template-columns:1fr}
}
@media (max-width:650px) {
  .evidence-filters {grid-template-columns:repeat(2,minmax(0,1fr))}
  .evidence-filters label:first-child {grid-column:1/-1}
}
@media print {
  body:has(#modal[open] .freight-paper),html:has(#modal[open] .freight-paper) {background:#fff;color:#000;min-width:0;overflow:visible}
  body:has(#modal[open] .freight-paper) > :not(#modal),#modal:has(.freight-paper) > .dialog-head,
  #modal:has(.freight-paper) .dialog-actions {display:none!important}
  #modal[open]:has(.freight-paper) {position:static!important;inset:auto!important;margin:0!important;width:100%!important;max-width:none;max-height:none;height:auto;overflow:visible;box-shadow:none;border:0;background:#fff}
  #modal:has(.freight-paper)::backdrop {background:transparent}
  #modal:has(.freight-paper) .dialog-body {padding:0}
  .freight-paper {padding:8mm;color:#000;break-inside:avoid}
  .freight-paper .evidence-facts,.freight-parties {grid-template-columns:repeat(2,minmax(0,1fr))}
}
.mail-timeline {list-style:none;padding:0;margin:0 0 1rem;display:grid;gap:.8rem}
.mail-timeline li {border-inline-start:3px solid var(--line,#484957);padding-inline-start:.8rem}
.mail-timeline p,.mail-preview p,.mail-excerpt {white-space:pre-wrap;overflow-wrap:anywhere;margin:.35rem 0}
.mail-timeline small {color:var(--muted,#b1b6c4)}
.mail-preview p,.mail-excerpt {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.order-mail {display:grid;gap:.4rem;justify-items:start}
.dispo-lane .order-mail {padding:.45rem}
