/* Enquiry source history; scoped to preserve existing CRM workspaces. */
.capture-repeat-btn{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:30px;padding:4px 9px;border:1px solid var(--border,#dce2d7);border-radius:999px;background:var(--surface,#fff);color:var(--text-2,#5e685e);font:inherit;font-size:12px;font-weight:600;line-height:1.3;cursor:pointer;white-space:normal;vertical-align:middle}
.capture-repeat-btn.has-repeats{background:var(--crm-brand-pale,#eef4dc);color:var(--primary,#566614);border-color:var(--crm-brand-border,#d3dfb1)}
.capture-repeat-btn b{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:2px 5px;border-radius:20px;background:var(--surface,#fff);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.capture-repeat-btn:focus-visible{outline:3px solid var(--primary,#566614);outline-offset:3px}
.capture-lead-identity{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.capture-lead-identity h1{min-width:0;overflow-wrap:anywhere}
.capture-source-cell{min-width:130px;max-width:270px;overflow-wrap:anywhere;line-height:1.5}
.capture-form-label{font-size:11px;color:var(--text-2,#626d62);margin-top:3px;overflow-wrap:anywhere}
.capture-form-label>span{font-size:10px;font-weight:700;margin-right:5px;color:var(--text-3,#758075)}
.capture-history{padding:2px 0;max-width:100%;color:var(--text,#253029)}
.capture-history-note{font-size:12px;line-height:1.6;color:var(--text-2,#626d62);margin:0 0 18px}
.capture-history-original{padding:18px 20px;border:1px solid var(--border,#e0e5db);border-radius:14px;background:var(--surface-2,#f7f8f4)}
.capture-history-eyebrow{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--primary,#566614);margin-bottom:12px}
.capture-history-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;margin:0 0 12px}
.capture-history-facts>div{min-width:0}.capture-history-facts dt{font-size:11px;color:var(--text-2,#626d62);margin-bottom:4px}.capture-history-facts dd{font-size:13px;font-weight:600;margin:0;overflow-wrap:anywhere;line-height:1.5}
.capture-history-original small{font-size:11px;color:var(--text-2,#626d62)}
.capture-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 14px}.capture-history-heading h3{margin:0;font-size:15px}.capture-history-heading strong{font-size:20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.capture-history-events{list-style:none;margin:0 0 18px;padding:0}.capture-history-events>li{padding:16px 0;border-top:1px solid var(--border,#e0e5db)}.capture-event-top{display:flex;gap:14px;justify-content:space-between;align-items:baseline;margin-bottom:14px;flex-wrap:wrap}.capture-event-top b{font-size:13px}.capture-event-top time{font-size:11px;color:var(--text-2,#626d62)}
.capture-history-unknown{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:10px;background:#fff6df;color:#745918;margin-bottom:16px}.capture-history-unknown p{font-size:12px;line-height:1.6;margin:0}.capture-history-unknown i{margin-top:3px}
.capture-history-empty{display:flex;align-items:center;gap:9px;padding:14px 0 24px;color:var(--text-2,#626d62);font-size:13px}.capture-history-empty p{margin:0}
@media(max-width:600px){.capture-history-facts{grid-template-columns:minmax(0,1fr)}.capture-history-original{padding:16px}.capture-lead-identity{align-items:flex-start}.capture-source-cell{max-width:190px}}
