:root{--bg:#f4f6fa;--card:#fff;--fg:#111827;--muted:#6b7280;--line:#e2e6ee;--brand:#0e3a8a;--brand-deep:#0b2a6f;--danger:#b91c1c}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--fg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.45}a{color:var(--brand);text-decoration:none}h1,h2{text-wrap:balance;margin:0 0 12px;line-height:1.2}h1{font-size:22px}h2{font-size:17px}.topbar{background:var(--brand-deep);color:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.topbar .brand{letter-spacing:.3px;color:#fff;font-size:17px;font-weight:800}.topbar nav{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.topbar nav a{color:#fff;opacity:.9}.topbar button{color:#fff;cursor:pointer;font:inherit;background:0 0;border:1px solid #fff6;border-radius:8px;padding:6px 10px}.page{max-width:1100px;margin:0 auto;padding:18px 16px 40px}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.spacer{flex:1}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px}.stats{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-bottom:16px;display:grid}.stat .n{font-variant-numeric:tabular-nums;font-size:22px;font-weight:800}.stat .l{color:var(--muted);font-size:12.5px}.filters{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}input,select,textarea{font:inherit;border:1px solid var(--line);color:var(--fg);background:#fff;border-radius:8px;min-width:0;padding:9px 10px}input:focus,select:focus,textarea:focus{outline:2px solid var(--brand);outline-offset:1px}textarea{resize:vertical;width:100%;min-height:80px}button.primary,a.primary{background:var(--brand);color:#fff;cursor:pointer;font-weight:600;font:inherit;border:none;border-radius:8px;padding:10px 14px;display:inline-block}button.primary:disabled{opacity:.6;cursor:not-allowed}button.ghost{border:1px solid var(--line);cursor:pointer;font:inherit;background:#fff;border-radius:8px;padding:9px 12px}button.danger{color:var(--danger);cursor:pointer;font:inherit;background:#fff;border:1px solid #fecaca;border-radius:8px;padding:9px 12px}table{border-collapse:collapse;background:var(--card);border:1px solid var(--line);border-radius:12px;width:100%;overflow:hidden}th,td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:10px 12px}th{text-transform:uppercase;letter-spacing:.4px;color:var(--muted);background:#fafbfd;font-size:12px}.table-wrap{overflow-x:auto}.pill{color:#3730a3;white-space:nowrap;background:#e0e7ff;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-block}.pill.ONBOARDED{color:#166534;background:#dcfce7}.pill.NOT_INTERESTED{color:#4b5563;background:#f3f4f6}.pill.DOCS_PENDING{color:#92400e;background:#fef3c7}.pill.INTERESTED{color:#166534;background:#dcfce7}.pill.CALL_LATER{color:#92400e;background:#fef3c7}.pill.NO_ANSWER,.pill.WRONG_NUMBER{color:#4b5563;background:#f3f4f6}.pill.DO_NOT_CALL{color:#991b1b;background:#fee2e2}.pill.NEEDS_LOOK{color:#9a3412;background:#ffedd5}.due{color:var(--danger);font-weight:600}.error{color:var(--danger);background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:12px;padding:10px 12px}.muted{color:var(--muted)}.field{flex-direction:column;gap:5px;margin-bottom:12px;display:flex}.field label{font-size:13px;font-weight:600}.grid2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.activity{border-left:3px solid var(--line);margin-bottom:6px;margin-left:4px;padding:8px 0 8px 12px}.activity .meta{color:var(--muted);font-size:12.5px}.m-only,.m-tabbar{display:none}.m-group{display:contents}@media (max-width:640px){.grid2{grid-template-columns:1fr}.m-grid{display:block}.hide-sm{display:none}.d-only{display:none!important}.m-only{display:block}.d-link{display:none!important}.page{padding-bottom:110px}.m-tabbar{background:var(--brand-deep);z-index:60;border-radius:999px;justify-content:space-around;align-items:center;height:62px;display:flex;position:fixed;bottom:12px;left:12px;right:12px;box-shadow:0 6px 18px #00000040}.m-tabbar a,.m-tabbar button{color:#fff;font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;padding:0;font-size:12px;text-decoration:none;display:flex}.m-tabbar .m-plus{color:#412402;background:#ef9f27;border-radius:50%;justify-content:center;width:52px;height:52px;margin-top:-22px;font-size:30px;line-height:1;box-shadow:0 4px 12px #00000040}.m-sheet{background:var(--surface-2,#fff);z-index:70;border-radius:16px 16px 0 0;padding:14px 18px 96px;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -6px 20px #00000026}.m-sheet a,.m-sheet button{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;font:inherit;color:inherit;cursor:pointer;background:0 0;padding:14px 4px;font-size:16px;text-decoration:none;display:block}.m-sheet-head{justify-content:space-between;align-items:center;padding-bottom:6px;font-weight:700;display:flex}.m-sheet-head button{border:0;width:auto}.m-hscroll{flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.m-collapsed{display:none!important}.m-title{margin:0 0 12px;font-size:26px}.lead-head{flex-wrap:wrap}.lead-head h1{font-size:22px}.m-actions{grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 14px;display:grid!important}.m-actions a{color:#042c53;background:#e6f1fb;border-radius:14px;justify-content:center;align-items:center;height:58px;font-size:14px;font-weight:700;text-decoration:none;display:flex}.m-actions a:nth-child(2){color:#173404;background:#eaf3de}.m-actions a.m-nav{color:#e6f1fb;background:#042c53}.m-more{margin-top:14px}.m-details p{border-bottom:.5px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:9px 0;font-size:14px;display:flex;margin:0!important}.m-details p strong{color:var(--muted);flex-shrink:0;font-weight:500}.m-details p>a,.m-details p>span{text-align:right}.m-details .row{gap:6px;margin:10px 0!important}.m-details .maplink,.m-details .ghost{border-radius:999px;padding:7px 12px;font-size:13px}.m-soft{border:.5px solid var(--line);background:#fff;border-radius:16px;margin-top:12px;padding:14px}.m-segment{grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px;display:grid}.m-segment button{border:.5px solid var(--border-strong);height:42px;font:inherit;cursor:pointer;background:#fff;border-radius:999px;font-size:13px}.m-toggle{display:none!important}.m-add{box-shadow:none;background:0 0;border:0;padding:0}.m-scan{color:#042c53;background:#e6f1fb;border-radius:16px;padding:14px}.m-group{background:#e6ecf5;border:.5px solid #d5deeb;border-radius:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:12px;padding:14px;display:grid}.m-group .m-map-field{background:#fff;margin-top:0}.m-group>*{grid-column:1/-1;min-width:0}.m-group .field,.m-group .field input,.m-group .field select,.m-group .field textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.m-group>.m-half{grid-column:auto}.m-group-title{letter-spacing:.04em;color:var(--muted);text-transform:uppercase;margin:0 0 2px;font-size:12px;font-weight:500}.m-save-row{margin:14px 0 0!important}.m-save-row button{border-radius:14px;flex:1;height:50px}.m-notes{background:#e6ecf5;border:.5px solid #d5deeb;border-radius:16px;margin-top:12px;padding:14px}.m-notes textarea{box-sizing:border-box;width:100%;min-height:90px}.m-map-field{background:var(--surface-2);border:.5px solid var(--line);border-radius:16px;margin-top:12px;padding:14px}.m-more{align-items:stretch;gap:8px;padding:14px;display:flex}.m-more h2{display:none}.m-more>*{border-radius:12px;flex:1;justify-content:center;align-items:center;height:42px;margin:0;font-size:13px;text-decoration:none;display:flex}.m-more button{margin-top:0!important}.m-search{box-sizing:border-box;border-radius:12px;width:100%;height:42px}.m-section-head{justify-content:space-between;align-items:baseline;margin:14px 0 8px;font-weight:500;display:flex}.m-lead{border-radius:16px;padding:14px}.m-lead-acts a.m-lead-nav{color:#e6f1fb;background:#042c53}.route-map{height:240px!important}.route-row{flex-wrap:wrap}.route-row>a.maplink{text-align:center;box-sizing:border-box;width:100%;padding:10px}.route-row>input[type=checkbox]{width:22px;height:22px}.m-chips{scrollbar-width:none;flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.m-chips::-webkit-scrollbar{display:none}.m-chips>*{flex-shrink:0}.m-chips select{width:auto;min-width:128px}.route-map.map-canvas{min-height:320px;height:calc(100dvh - 330px)!important}.m-locate{z-index:55;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;padding:0;display:flex;position:fixed;bottom:96px;right:16px;box-shadow:0 4px 14px #0003}.m-filter-btn{width:100%;margin:4px 0 12px}.m-hscroll>*{flex-shrink:0}}.m-hello{color:var(--muted);margin:0 0 8px;font-size:14px}.m-tiles{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px;display:grid}.m-tile{text-align:left;font:inherit;cursor:pointer;border:0;border-radius:16px;flex-direction:column;gap:2px;padding:14px;text-decoration:none;display:flex}.m-num{font-variant-numeric:tabular-nums;font-size:32px;font-weight:800;line-height:1}.m-lab{font-size:13px}.m-sec{margin:4px 0 8px;font-size:16px;font-weight:700}.map-pin-label{text-shadow:0 0 2px #fff,0 0 2px #fff,0 0 3px #fff,0 0 4px #fff}.map-search{gap:8px;margin-bottom:10px;display:flex}.map-search input{flex:1;min-width:0}.m-strip,.m-hscroll{scrollbar-width:none}.m-strip::-webkit-scrollbar{display:none}.m-hscroll::-webkit-scrollbar{display:none}.m-strip{gap:10px;padding-bottom:6px;display:flex;overflow-x:auto}.appt-row{border-top:1px solid var(--line);color:inherit;align-items:center;gap:10px;padding:10px 0;text-decoration:none;display:flex}.appt-row:first-of-type{border-top:0}.appt-sub{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.appt-arrow{color:var(--muted);flex-shrink:0;font-size:24px;line-height:1}.m-lead{border:1px solid var(--line);background:#fff;border-left-width:5px;border-radius:14px;margin-bottom:10px;padding:12px}.m-lead-acts{gap:8px;margin-top:10px;display:flex}.m-lead-acts a{text-align:center;color:#042c53;background:#e6f1fb;border-radius:10px;flex:1;padding:10px 6px;font-size:13px;font-weight:700;text-decoration:none}.m-lead-acts a:last-child{color:#e6f1fb;background:#042c53}.m-card{border:1px solid var(--line);background:#fff;border-left-width:5px;border-radius:14px;min-width:80%;padding:12px}.m-acts{gap:12px;margin-top:8px;font-size:13px;font-weight:700;display:flex}.loc-map{border:1px solid var(--line);border-radius:10px;height:300px;position:relative;overflow:hidden}.loc-pin{z-index:1000;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-100%)}.loc-search{margin-bottom:8px;position:relative}.loc-search input{box-sizing:border-box;width:100%}.loc-hits{z-index:1100;border:1px solid var(--line);background:#fff;border-radius:10px;max-height:220px;margin-top:4px;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 6px 18px #0000001f}.loc-hits p{color:var(--muted);margin:0;padding:10px 12px;font-size:13px}.loc-hits button{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;font:inherit;cursor:pointer;background:#fff;padding:10px 12px;font-size:13px;display:block}.loc-hits button:last-child{border-bottom:0}.loc-ok{color:#065f46;background:#ecfdf5;border-radius:8px;margin-bottom:8px;padding:8px 10px;font-size:13px}.maplink{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 12px;font-size:14px;font-weight:600;display:inline-block}.assigned-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin:10px 0;padding:10px 12px;font-size:14px}.tag{color:#3730a3;background:#e0e7ff;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600;display:inline-block}.tag.VISIT{color:#92400e;background:#fef3c7}.route-map.map-canvas{height:520px}.route-map{border:1px solid var(--line);border-radius:10px;height:340px;overflow:hidden}.route-num-wrap{background:0 0;border:0}.route-num{background:var(--brand);color:#fff;box-sizing:border-box;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:30px;min-width:30px;height:30px;font-size:14px;font-weight:700;display:inline-flex;box-shadow:0 1px 4px #00000059}.route-me{box-sizing:border-box;background:#2563eb;border:3px solid #fff;border-radius:50%;width:18px;height:18px;display:block;box-shadow:0 0 0 4px #2563eb40}.route-row{border-top:1px solid var(--line);align-items:flex-start;gap:12px;padding:10px 0;display:flex}.route-row:first-child{border-top:0}.map-near{width:100%;margin-bottom:12px}.mh-hello{color:var(--muted);margin:0;font-size:13px}.mh-title{margin:2px 0 12px;font-size:22px}.mh-card{border:1px solid var(--line);background:#fff;border-radius:14px;margin-bottom:10px;padding:12px}.mh-today{text-align:center;justify-content:space-around;display:flex}.mh-today>div{flex-direction:column;flex:1;gap:2px;display:flex}.mh-big{font-variant-numeric:tabular-nums;font-size:26px;font-weight:800;line-height:1.1}.mh-small{color:var(--muted);font-size:12px}.mh-head{font-size:14px;font-weight:600}.mh-row{align-items:center;gap:8px;display:flex}.mh-alert{background:#fef2f2;border:1px solid #fecaca;border-radius:14px;margin-bottom:10px;padding:12px}.mh-inner{align-items:center;gap:8px;margin:8px 0 0;padding:9px 10px;display:flex}.mh-good{color:#166534;background:#f0fdf4;border-color:#bbf7d0;font-size:14px}.mh-link{color:inherit;text-decoration:none;display:block}.mh-link-blue{color:var(--brand);font-size:13px;font-weight:600;text-decoration:none}.mh-btn{text-align:center;border:1px solid var(--brand);cursor:pointer;border-radius:10px;flex-shrink:0;padding:9px 14px;font-family:inherit;font-size:13px;font-weight:600;text-decoration:none}.mh-btn-fill{background:var(--brand);color:#fff}.mh-btn-line{color:var(--brand);background:#fff}.mh-btn:disabled{opacity:.6}.mh-textbtn{color:var(--brand);font:inherit;cursor:pointer;background:0 0;border:0;margin:10px auto 0;font-size:13px;font-weight:600;display:block}.mh-sec{justify-content:space-between;align-items:baseline;margin:14px 2px 8px;font-size:15px;font-weight:700;display:flex}.mh-line{border-top:1px solid var(--line);align-items:center;gap:8px;margin-top:10px;padding-top:10px;display:flex}.mh-funnel{gap:6px;display:flex}.mh-pill{color:#166534;background:#dcfce7;border-radius:99px;padding:2px 9px;font-size:12px;font-weight:600}.mh-bars{align-items:flex-end;gap:6px;height:78px;margin-top:8px;display:flex}.mh-barcount{color:var(--muted);font-size:11px}.mh-track{background:#e5e7eb;border-radius:99px;flex:1;height:6px;overflow:hidden}.mh-attn{align-items:center;gap:10px;display:flex}.mh-seg{grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px;display:grid}.mh-seg button{border:1px solid var(--line);height:40px;color:var(--fg);font:inherit;cursor:pointer;background:#fff;border-radius:999px;font-size:14px}.mh-seg button[aria-selected=true]{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}.mh-legend{flex-wrap:wrap;gap:4px 14px;margin-top:8px;display:flex}.mh-legend i{border-radius:50%;width:8px;height:8px;margin-right:5px;display:inline-block}
