.tr-leads{margin-top:24px;min-width:0}
.tr-leads-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.tr-leads-heading h2,.tr-leads-heading h3{margin:0 0 8px}
.tr-leads-heading p{margin:0;max-width:62ch}
.tr-leads-heading button,.tr-lead-source button,.tr-lead-entry button{flex-shrink:0}
.tr-leads-steps{display:flex;flex-wrap:wrap;gap:10px 24px;padding:16px 0;border-block:1px solid var(--night-edge,#e5e2dc);color:var(--night-secondary,#55504a);font-size:13px;margin-bottom:20px}
.tr-lead-source,.tr-lead-entry{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--night-edge,#e5e2dc)}
.tr-lead-source>div,.tr-lead-entry>div{flex:1;min-width:0;overflow-wrap:anywhere}
.tr-leads-sources{margin-bottom:20px}
.tr-leads .small{line-height:1.6}
.tr-leads .tr-leads-heading:not(:first-child){margin-top:28px}
.tr-lead-state{font-size:12px;border-radius:6px;padding:5px 9px;white-space:nowrap;background:var(--night-raised,#f1eee8);color:var(--night-secondary,#49443e)}
.tr-lead-state[data-state=lead_done]{background:var(--night-raised,#edf6ee);color:var(--night-success,#285932)}
.tr-lead-state[data-state=lead_failed]{background:var(--night-warm-panel,#fff0e6);color:var(--night-warm,#8d3408)}
.tr-lead-error{color:var(--night-warm,#9a3508);font-size:13px;line-height:1.6}
.tr-lead-empty{padding:24px 0;color:var(--night-secondary,#625d57)}
.tr-lead-detail{margin:20px 0;padding:20px;background:var(--night-raised,#f8f7f4);border:1px solid var(--night-edge,#e5e2dc);border-radius:12px;overflow-wrap:anywhere}
.tr-lead-detail dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:12px 20px}
.tr-lead-detail dt{font-weight:600}.tr-lead-detail dd{margin:0;white-space:pre-wrap}
.tr-leads [hidden]{display:none!important}
.tr-leads button:focus-visible,.tr-leads a:focus-visible{outline:2px solid #b63a00;outline-offset:3px}
@media(max-width:640px){.tr-lead-source,.tr-lead-entry{flex-wrap:wrap;gap:10px}.tr-lead-source>div,.tr-lead-entry>div{flex-basis:100%}.tr-lead-detail dl{grid-template-columns:1fr;gap:6px}.tr-lead-detail dd{margin-bottom:12px}.tr-leads button{white-space:normal;min-height:44px}}
