:root{font:15px/1.5 system-ui,sans-serif;color:#233b30;background:#f6f5ef;--line:#d9dfd6;--green:#286346;--red:#b84e46;--yellow:#947010}*{box-sizing:border-box}body{margin:0}a{color:#286346}button,input,select{font:inherit;color:inherit}button{cursor:pointer}header{padding:18px 5vw;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:13px}.brand{font-size:26px;font-weight:800;letter-spacing:-1px;text-decoration:none}main{max-width:1050px;margin:auto;padding:30px 24px 60px}h1{font-size:32px;letter-spacing:-1px;margin:0}.subtitle{color:#69766b;margin:4px 0 20px}h2{font-size:22px}.tools{display:flex;gap:8px;flex-wrap:wrap}input,select,button,.button{border:1px solid var(--line);background:white;padding:8px 11px;border-radius:7px}input{flex:1;min-width:160px}.button{display:inline-block;text-decoration:none}table{border-collapse:collapse;width:100%;table-layout:fixed;background:#fffefa}th,td{padding:11px 17px;border-bottom:1px solid #e4e8df;text-align:left}th{font-size:11px;color:#6e796d;font-weight:500;background:#edf2e7}th.attempts,td.attempts{width:182px}td small{display:block;color:#6c776c;font-size:12px}.table-wrap{border:1px solid var(--line);border-radius:12px;overflow:hidden}.lead-name{padding:0;background:none;border:0;font-size:14px;font-weight:650;text-align:left}.attempts{display:flex;gap:7px;align-items:center}th.attempts,td.attempts{display:table-cell}.attempt{padding:0;width:24px;height:24px;border-radius:50%;border:1px solid #c4cec0;flex:0 0 24px;background:white;display:flex;align-items:center;justify-content:center}.attempt svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.answered{background:var(--green);border-color:var(--green);color:white}.unanswered{background:var(--red);border-color:var(--red);color:white}.waiting{background:var(--yellow);border-color:var(--yellow);color:white}.unknown{background:#e7e9e4;color:#5f6c58}.legend{display:flex;gap:15px;flex-wrap:wrap;margin:18px 0 8px;color:#657160;font-size:11px}.legend span{display:flex;gap:5px;align-items:center}.dot{width:12px;height:12px;border-radius:50%;border:1px solid #a7b4a0;display:inline-flex;align-items:center;justify-content:center;font-size:9px}.caption{font-size:12px;color:#69766b}.empty{background:white}dialog{width:min(700px,94vw);max-height:88vh;border:1px solid var(--line);border-radius:15px;padding:25px;background:#fffefa;color:inherit}dialog::backdrop{background:#18312555}.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.detail-heading h2{margin:0}.detail-heading button{font-size:21px;border:0}.totals{display:flex;gap:25px;border-block:1px solid var(--line);padding:15px 0;margin:15px 0}.totals strong{display:block;font-size:24px}.totals span{font-size:12px}.history-event{border-top:1px solid var(--line);padding:12px 0}.history-event small{font-size:11px;color:#657160}.history-event p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.attempt-history{padding-left:18px;font-size:13px}.attempt-history li{padding:6px}.focused{background:#e4edce}details{font-size:12px}button:focus-visible,a:focus-visible{outline:3px solid #779545;outline-offset:3px}[hidden]{display:none!important}@media(max-width:600px){main{padding:24px 12px}header{padding:15px 12px}#seller{display:none}nav{gap:10px}th,td{padding:10px}th.attempts,td.attempts{width:158px}.attempts{gap:5px}.attempt{width:23px;height:23px;flex-basis:23px}.tools select{flex:1;min-width:0;font-size:12px}.totals{gap:15px}.totals span{font-size:11px}dialog{padding:18px}}

.phone-number{display:flex;align-items:center;gap:5px}.copy-number{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 26px;padding:4px;background:transparent;border:0;color:#286346}.copy-number:hover{background:#edf2e7}.copy-number svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.copy-number:disabled{cursor:wait}

main{max-width:1250px}.identity{width:28%}.notes{width:auto}.note-editor{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.lead-note{width:100%;min-width:0;min-height:48px;max-height:180px;resize:vertical;border:1px solid #d9dfd6;border-radius:6px;padding:7px;font:12px/1.4 system-ui;color:inherit;background:white}.save-note{padding:3px 9px;font-size:12px}.note-editor small{font-size:11px}.pagination{display:flex;gap:12px;justify-content:flex-end;align-items:center;margin:12px 0;font-size:12px}.pagination button:disabled{opacity:.4}#detail-body>p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:700px){table{display:block}thead,tbody{display:block}table tr{display:grid;grid-template-columns:minmax(0,1fr) 158px}th.identity,td.identity{width:auto}th.notes{display:none}td.notes{display:block;grid-column:1/-1;width:auto}td.identity,td.attempts{border-bottom:0}td.attempts{width:auto;display:block}th.attempts{width:auto;display:block}.pagination{justify-content:center}}

.connection-attention{display:grid;gap:10px;margin:14px 0}.connection-alert-item{padding:16px;background:white;border:2px solid #b84e46;border-radius:12px}.connection-alert-item strong{display:block;font-size:17px}.connection-alert-item p{margin:6px 0 12px}.connection-alert-item .button{background:#9b2920;border-color:#9b2920;color:white;font-weight:700}

#new-lead form{display:grid;gap:12px}#new-lead label{display:grid;gap:4px}#new-lead-error{margin:0;color:#9b2920}#new-lead-error:empty,#new-lead-status:empty{display:none}

.card-sender{display:block;color:#40574b;overflow-wrap:anywhere}
