/* TodasBR | Prospecção desktop v7. Aplicação de alta densidade, acessível. */
#sec-prospects{--tb-ink:#182b28;--tb-muted:#72817d;--tb-line:#e2e9e6;--tb-surface:#fff;--tb-bg:#f7f9f8;--tb-green:#087650;--tb-soft:#eff7f2;--tb-warning:#8f651c;--tb-error:#aa4242;max-width:none;font-size:12px;color:var(--tb-ink);margin:-10px -10px 0}
.tb-desktop *{min-width:0}.tb-desktop button,.tb-desktop select,.tb-desktop input,.tb-desktop textarea{font-family:inherit}
.tb-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 0 11px}
.tb-eyebrow{letter-spacing:.11em;font-size:9px;font-weight:750;color:#71847d;margin-bottom:3px}
.tb-eyebrow span{margin:0 5px;color:#bec9c5}
.tb-page-head h2{font-size:20px;letter-spacing:-.035em;line-height:1.2;margin:0;font-weight:760;color:#153a30;display:flex;gap:13px;align-items:baseline}
.tb-title-sub{font-size:11px;font-weight:450;color:#7d8e88;letter-spacing:0}
.tb-top-actions{display:flex;gap:7px;align-items:center}
.tb-btn,.tb-icon-btn{border:1px solid #d7e1dc;color:#2d5044;background:#fff;border-radius:7px;height:31px;white-space:nowrap;cursor:pointer;font-size:11px;font-weight:650;padding:0 12px;transition:background .12s,border-color .12s}
.tb-btn:hover,.tb-icon-btn:hover{background:#f1f8f4;border-color:#8bc2a5}
.tb-btn:focus-visible,.tb-icon-btn:focus-visible,.tb-tab:focus-visible,.tb-table tr:focus-visible{outline:2px solid #087650;outline-offset:2px}
.tb-btn:disabled{opacity:.42;cursor:not-allowed}
.tb-btn.tb-primary{background:#087650;border-color:#087650;color:#fff}
.tb-btn.tb-primary:hover{background:#066444}
.tb-btn.tb-light{color:#35564a}
.tb-btn.tb-quiet{border-color:transparent;background:transparent;color:#49695c}
.tb-btn.tb-danger{color:#a23d3a}
.tb-icon-btn{width:31px;font-size:17px;padding:0}
.tb-notification{padding:9px 12px;border:1px solid #a5d5ba;border-radius:7px;background:#f1faf3;color:#215e3d;margin-bottom:9px;font-size:11px;position:relative;line-height:1.4}
.tb-notification[data-err="true"]{border-color:#ecc2ba;background:#fff7f5;color:#a33b3b}
.tb-notification[hidden]{display:none}
.tb-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:9px}
.tb-kpi{border:1px solid var(--tb-line);background:#fff;border-radius:9px;padding:10px 12px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.tb-kpi strong{font-size:20px;font-weight:770;letter-spacing:-.05em;line-height:1;color:#183d31;tab-size:2}
.tb-kpi span{font-size:10px;color:#7c8a85;text-align:right;line-height:1.2}
.tb-work{display:grid;grid-template-columns:minmax(600px,1.22fr) minmax(365px,.83fr);gap:9px;align-items:stretch;height:calc(100vh - 186px);min-height:510px;max-height:calc(100vh - 166px)}
.tb-list-pane,.tb-inspector{border:1px solid var(--tb-line);border-radius:9px;background:#fff;box-shadow:0 1px 5px rgba(11,54,35,.03);display:flex;flex-direction:column;overflow:hidden;min-width:0}
.tb-list-top{display:flex;align-items:center;justify-content:space-between;padding:9px 11px 7px;border-bottom:1px solid #ecf0ee}
.tb-wave-choice{display:flex;align-items:center;gap:8px}
.tb-wave-choice label{font-size:9px;font-weight:800;letter-spacing:.08em;color:#91a09b}
.tb-wave-choice select{height:28px;min-width:170px;max-width:220px;border-radius:6px;border:1px solid #dde6e1;background:#fff;font-size:12px;padding:0 5px;color:#233e32;font-weight:650}
.tb-meta{font-size:10px;color:#86958e;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:230px}
.tb-opbar{display:flex;align-items:center;gap:5px;padding:8px 11px;min-height:47px;border-bottom:1px solid #ecf0ee;flex-wrap:wrap}
.tb-status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#bac6c1;vertical-align:middle;margin-left:4px}
.tb-status-dot.connected{background:#1a9c66}
.tb-progress-text{margin-left:auto;color:#85958e;font-size:10px;max-width:150px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.tb-filters{display:grid;grid-template-columns:minmax(175px,1fr) 132px 91px 54px;gap:5px;align-items:center;padding:8px 11px;background:#fcfdfc;border-bottom:1px solid #e9eeeb}
.tb-filters input,.tb-filters select{border:1px solid #dce5df;border-radius:6px;background:#fff;height:30px;padding:0 9px;color:#415f51;font-size:11px;width:100%}
.tb-filters input:focus,.tb-filters select:focus{outline:2px solid #b5dec7;border-color:#64b38c}
.tb-filter-count{font-size:10px;text-align:right;color:#8b9b94;white-space:nowrap}
.tb-table-container{flex:1;overflow:auto;overscroll-behavior:contain}
.tb-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}
.tb-table th{position:sticky;top:0;z-index:2;background:#f6f8f7;border-bottom:1px solid #dce6e1;color:#86938e;text-transform:none;font-size:10px;font-weight:720;letter-spacing:.01em;padding:8px 7px;white-space:nowrap}
.tb-table td{padding:7px 7px;border-bottom:1px solid #f0f3f1;vertical-align:middle;line-height:1.3;overflow:hidden;text-overflow:ellipsis}
.tb-table th:nth-child(1){width:30px}.tb-table th:nth-child(2){width:36%}.tb-table th:nth-child(3){width:36px}.tb-table th:nth-child(4){width:68px}.tb-table th:nth-child(5){width:45px}.tb-table th:nth-child(6){width:65px}.tb-table th:nth-child(7){width:52px}.tb-table th:nth-child(8){width:92px}
.tb-table tr[data-id]{cursor:pointer;height:43px}
.tb-table tr[data-id]:hover{background:#f4faf6}
.tb-table tr.selected{background:#eaf6ee}
.tb-table tr.selected td:first-child{box-shadow:inset 3px 0 #0c8657}
.tb-col-center,.tb-table td.tb-col-center{text-align:center}
.tb-col-order{color:#9baaa1;font-variant-numeric:tabular-nums}
.tb-company{font-weight:685;font-size:11px;color:#263d32;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.tb-subline{font-size:10px;color:#94a19b;margin-top:2px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.tb-score{font-size:12px;font-weight:800;color:#246e4c;font-variant-numeric:tabular-nums}
.tb-pill{font-size:9px;font-weight:700;border-radius:4px;padding:3px 6px;display:inline-block;white-space:nowrap;background:#f0f3f1;color:#66766d}
.tb-pill.green{background:#e2f5e8;color:#146c43}.tb-pill.amber{background:#fff3d9;color:#936920}.tb-pill.red{background:#ffeded;color:#ae4646}.tb-pill.blue{background:#e9f0ff;color:#4967aa}
.tb-table .tb-dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#a6b2a9;vertical-align:middle}
.tb-table .tb-dot.good{background:#1caa70}.tb-table .tb-dot.warn{background:#e1ad49}.tb-table .tb-dot.bad{background:#dd6660}
.tb-list-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 11px;border-top:1px solid #e6eeea;min-height:38px;font-size:10px;color:#85948c}
.tb-geo{display:flex;gap:8px;flex-wrap:wrap}
.tb-geo span{white-space:nowrap}.tb-geo b{color:#536f60}
.tb-inspector-head{padding:12px 14px 9px;border-bottom:1px solid #eaf0ec}
.tb-inspector-label{font-size:9px;font-weight:800;letter-spacing:.09em;color:#8a9b92}
.tb-inspector-head h3{font-size:16px;font-weight:780;color:#1e4234;margin:4px 0 3px;letter-spacing:-.025em;line-height:1.25}
.tb-inspector-head p{margin:0;color:#8a9992;font-size:10px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.tb-tabs{display:flex;align-items:stretch;padding:0 10px;gap:2px;border-bottom:1px solid #e5ebe7;overflow:auto;min-height:36px}
.tb-tab{border:0;background:transparent;color:#72817b;font-size:10.5px;font-weight:700;cursor:pointer;padding:0 10px;position:relative;white-space:nowrap}
.tb-tab.active{color:#087650}
.tb-tab.active:after{content:"";height:2px;background:#087650;position:absolute;bottom:0;left:7px;right:7px;border-radius:5px}
.tb-tab:hover{color:#087650}
.tb-inspector-content{padding:12px 14px 14px;overflow-y:auto;min-height:0;flex:1}
.tb-inspector-footer{min-height:44px;padding:8px 13px;border-top:1px solid #e9efeb;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;color:#8a9690;font-size:10px}
.tb-footnote{color:#88958e;margin-top:7px;font-size:10px;line-height:1.3}
.tb-empty{padding:32px 12px!important;text-align:center!important;color:#9aa9a0}
.tb-empty-state{color:#89978e;padding:38px 16px;text-align:center;font-size:11px}
.tb-section-title{display:flex;align-items:center;justify-content:space-between;font-weight:800;color:#1d4735;font-size:11px;margin:0 0 8px}
.tb-evidence-row{display:flex;align-items:flex-start;gap:8px;justify-content:space-between;padding:8px 0;border-bottom:1px solid #edf2ee}
.tb-evidence-row:last-child{border-bottom:0}
.tb-evidence-row .tb-lbl{font-size:10px;color:#83948b;flex:0 0 92px}
.tb-evidence-row .tb-val{font-size:11px;color:#314638;text-align:right;overflow-wrap:anywhere;flex:1}
.tb-muted{color:#8b9a92;font-size:10px;line-height:1.45}
.tb-inline-note{background:#f6f9f7;color:#61796b;border:1px solid #e2eee6;padding:8px 9px;border-radius:7px;font-size:10px;line-height:1.5;margin:7px 0}
.tb-inline-note.warn{border-color:#f0dec2;background:#fffaf0;color:#946627}
.tb-inline-note.danger{border-color:#f0caca;background:#fff6f6;color:#a14c4c}
.tb-signals{display:flex;gap:5px;flex-wrap:wrap}
.tb-signal{font-size:10px;padding:4px 6px;border-radius:5px;background:#f0f5f2;color:#5f7e6b}
.tb-micro-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}
.tb-micro{border:1px solid #e5ede8;border-radius:7px;padding:9px;text-align:center}
.tb-micro b{display:block;font-size:19px;line-height:1.1;color:#1a583b}
.tb-micro small{color:#85948c;font-size:10px}
.tb-person{border:1px solid #e6ede8;border-radius:7px;padding:10px;margin-bottom:8px}
.tb-person h4{font-size:12px;margin:0 0 3px;color:#294938}
.tb-person small{font-size:10px;color:#88978f}
.tb-person-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:10px}
.tb-person-actions .tb-btn{height:28px;padding:0 9px;font-size:10px}
.tb-mail{border-bottom:1px solid #edf1ef;padding:10px 0;display:flex;flex-direction:column;gap:5px}
.tb-mail:last-child{border-bottom:0}
.tb-mail-address{font-size:12px;color:#284c3a;font-weight:720;overflow-wrap:anywhere}
.tb-mail-meta{display:flex;gap:5px;flex-wrap:wrap;color:#8c9990;font-size:10px}
.tb-mail-actions{display:flex;gap:6px;align-items:center;justify-content:space-between}
.tb-mail-actions .tb-btn{height:26px;font-size:10px}
.tb-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.tb-form-field{min-width:0}.tb-form-field.full{grid-column:1 / -1}
.tb-form-field label{font-size:10px;color:#60776a;font-weight:700;display:block;margin-bottom:3px}
.tb-form-field input,.tb-form-field select,.tb-form-field textarea{width:100%;font-size:11px;height:30px;min-height:30px;border:1px solid #dce6df;border-radius:6px;background:#fff;color:#253d30;padding:6px 8px}
.tb-form-field textarea{min-height:54px;resize:vertical}
.tb-form-check{display:flex;gap:7px;align-items:center;color:#5a7563;font-size:10px;background:#f4f9f5;border:1px solid #e2ede5;padding:7px 8px;border-radius:6px;margin-top:7px;cursor:pointer}
.tb-form-check input{accent-color:#0b7d53}
.tb-divider{margin:12px 0;border:0;border-top:1px solid #e9efeb}
.tb-mini-head{font-size:10px;font-weight:800;letter-spacing:.02em;color:#557466;margin:11px 0 7px}
.tb-link{color:#087650;text-decoration:underline;overflow-wrap:anywhere}
.tb-setup-key{display:flex;gap:6px;margin:9px 0}
.tb-setup-key input{flex:1;border:1px solid #dce6df;border-radius:6px;padding:6px 9px;font-size:11px}
.tb-footer-actions{display:flex;gap:5px}
.tb-tiny{font-size:10px}
.tb-inspector-content button{cursor:pointer}
@media(min-width:1650px){.tb-work{grid-template-columns:minmax(700px,1.35fr) minmax(430px,.85fr)}.tb-table th:nth-child(2){width:42%}}
@media(max-width:1320px){.tb-work{grid-template-columns:minmax(515px,1.1fr) minmax(350px,.9fr)}.tb-title-sub{display:none}.tb-meta{max-width:120px}}
@media(max-width:1120px){.tb-work{grid-template-columns:1fr;max-height:none;height:auto}.tb-list-pane{min-height:470px;max-height:580px}.tb-inspector{min-height:510px;max-height:750px}.tb-kpis{grid-template-columns:repeat(3,1fr)}#sec-prospects{margin:0}}

.tb-employee-context{margin:9px 0 2px;padding:7px 10px;background:#f8faf8;border:1px solid #e6ece7;border-radius:7px;color:#687f72;font-size:11px}
.tb-employee-context summary{cursor:pointer;font-weight:650;color:#586d61}
.tb-employee-context p{margin:8px 0 0;padding-left:5px}

/* Pistas nominais: compactas, sem confundir hipótese com validação. */
.tb-table th:nth-child(7){width:88px}
.tb-signal-card{border:1px solid #bfe0ca;background:#f4fbf6;border-radius:8px;padding:10px;margin:8px 0}
.tb-signal-card.medium{border-color:#edddbd;background:#fffcf4}
.tb-signal-card strong{font-size:11px;color:#1f543b;overflow-wrap:anywhere}
.tb-signal-card p{margin:5px 0;color:#6c806f;font-size:10px;line-height:1.45}
.tb-signal-card .tb-btn{height:28px;margin-top:5px;font-size:10px}
.tb-hypotheses{border:1px solid #e5ede8;border-radius:8px;padding:9px;background:#fcfdfc;margin:10px 0}
.tb-hypotheses summary{cursor:pointer;color:#385f4a;font-weight:700;font-size:11px}
.tb-hypotheses p{font-size:10px;line-height:1.4;margin:8px 0;color:#697e70}
.tb-hypotheses code{font-family:ui-monospace,Consolas,monospace;font-size:10px;overflow-wrap:anywhere}
