.sampleband{background:#fff3cd;border-bottom:1px solid #f1d58a;color:#6b5200;font-size:13px;padding:6px 16px;text-align:center}
.oc{display:inline-block;font-size:12px;border-radius:4px;padding:1px 8px;color:#fff;white-space:nowrap;vertical-align:middle}
.oc.won{background:#1e8e5a}.oc.lost{background:#c0392b}.oc.pend{background:#d68910}.oc.unk{background:#95a5a6}.oc.miss{background:#5d6d7e}.oc.other{background:#bdc3c7;color:#1f2a37}
.legend{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted);margin-top:6px}.lg i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:4px;vertical-align:middle}
.bars{display:grid;gap:6px}.bar{display:grid;grid-template-columns:minmax(80px,30%) 1fr auto;gap:8px;align-items:center;font-size:14px}
.bt{background:#eef1f5;border-radius:4px;height:14px;overflow:hidden}.bt i{display:block;height:100%;border-radius:4px}.bv{font-variant-numeric:tabular-nums;color:var(--muted);font-size:13px}
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.cb{border-bottom:1px solid var(--line);padding:6px 0}.cb:last-child{border-bottom:0}
table.kv th{width:8em;background:none;font-weight:600;color:var(--muted);white-space:normal}table.kv td{word-break:break-all}
.ck{padding:3px 0}.ck .yes,.yes{color:var(--ok);font-weight:700;margin-right:6px}.ck .no,.no{color:var(--high);font-weight:700;margin-right:6px}
.warn{color:var(--high);font-weight:600}
td.good{background:#e8f7ef}td.bad{background:#fdecea}
.talk{display:grid;gap:8px;max-width:820px}.turn{max-width:85%;border-radius:12px;padding:8px 12px;border:1px solid var(--line);background:#fff}
.turn.staff{justify-self:start;background:#f4f8ff;border-color:#cfe0fb}.turn.customer{justify-self:end;background:#fff}.turn.unknown{justify-self:stretch}
.turn small{color:var(--muted);font-size:11px}.turn p{margin:2px 0}mark{background:#fff1a8;padding:0 2px;border-radius:3px}
pre.note,pre.line,pre.log{white-space:pre-wrap;word-break:break-word;background:#fafbfc;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:13px;margin:0}
pre.log{max-height:320px;overflow:auto}
.flow{margin:0 0 12px}.flow svg{max-width:100%;height:auto;display:block;background:#fff;border:1px solid var(--line);border-radius:12px}.flow figcaption{font-size:13px;color:var(--muted);margin-top:6px}
@media (max-width:600px){.bar{grid-template-columns:minmax(70px,34%) 1fr auto}.turn{max-width:95%}}
