/* ---------- Входящие и сверка ---------- */
.in-kpi{grid-template-columns:repeat(4,1fr)}
.mail-st{font-size:12.5px;color:var(--muted);align-self:center;max-width:420px}
.mail-st.ok{color:var(--green)}.mail-st.bad{color:var(--red)}
.fd{display:flex;gap:10px;align-items:flex-start;padding:10px 2px;border-bottom:1px solid var(--line2)}
.fd:last-of-type{border-bottom:none}
.fd .sg-dot{margin-top:6px;width:9px;height:9px;border-radius:50%;flex-shrink:0;background:var(--green)}
.fd.l0 .sg-dot{background:var(--red)}.fd.l1 .sg-dot{background:#E0861A}
.fd.l0 .fd-b>div{color:var(--red);font-weight:600}
.fd-b{flex:1;min-width:0;font-size:13.5px}
.fd-b small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.fd-a{display:flex;flex-direction:column;gap:6px;flex-shrink:0;align-items:stretch}
.in-f{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px;align-items:center}
.in-f .chip{cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:14px;padding:3px 10px;font-size:12.5px}
.in-f .chip.on{background:var(--green);color:#fff;border-color:var(--green)}
.in-f input{flex:1;min-width:160px}
.ib{display:flex;gap:10px;padding:10px 2px;border-bottom:1px solid var(--line2);cursor:pointer}
.ib:hover{background:#fafbfa}
.ib-src{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;background:#e8f1fb;color:#2a6fb0}
.ib-src.mail{background:#fff3e6;color:#b36200}
.ib-b{flex:1;min-width:0}
.ib-h{display:flex;gap:8px;align-items:baseline;font-size:13px}
.ib-k{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:8px;padding:0 6px}
.ib-h .muted{margin-left:auto;white-space:nowrap}
.ib-s{font-weight:600;font-size:13px;margin-top:2px}
.ib-t{font-size:12.5px;color:#444;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ib-c{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.ib-c .chip{font-size:11.5px;border-radius:10px;padding:1px 8px;background:#eef3ef;color:#2f5d3a;text-decoration:none}
.ib-c .chip.tag{background:#fff3e6;color:#8a4b00}
.ib-c .chip.ghost{background:none;border:1px dashed var(--line);color:var(--muted)}
.ib-full{white-space:pre-wrap;font-size:13.5px;max-height:50vh;overflow:auto;background:#f6f8f7;border-radius:8px;padding:10px 12px;margin-top:8px}
.ib-ent{margin-top:10px;font-size:12.5px;display:flex;flex-direction:column;gap:4px}
.ib-ent span{display:inline-block;width:80px;color:var(--muted)}
.ib-ent b{background:#eef3ef;border-radius:6px;padding:0 6px;margin-right:4px;font-weight:500}
@media (max-width:1100px){.in-kpi{grid-template-columns:1fr 1fr}}
.bx-list{margin:10px 0 14px;display:flex;flex-direction:column;gap:8px}
.bx{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:8px 12px}
.bx .chip{font-size:11px;background:#eef3ef;color:#2f5d3a;border-radius:8px;padding:1px 6px}
.bx .late{color:var(--red)}
.ib-to{font-size:11px;padding:1px 7px;border-radius:9px;background:#EAF2FB;color:#2B5C8A;white-space:nowrap}
