[hidden]{display:none!important}
:root{--ink:#1b3334;--muted:#7b8987;--deep:#103338;--deep2:#1d4b4b;--accent:#d8e86c;--teal:#277c6e;--bg:#f5f7f5;--surface:#fff;--line:#e6ece7;--shadow:0 12px 34px rgba(21,49,48,.055);--radius:18px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}h1,h2,h3,h4,p{margin:0}h1,h2{letter-spacing:-.045em}h3{font-size:1rem;letter-spacing:-.02em}h4{font-size:.89rem}p{line-height:1.5}.muted{color:var(--muted)}.small{font-size:.78rem}.eyebrow{font-size:.63rem;font-weight:800;letter-spacing:.17em;color:#a2b4b2}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--accent);color:var(--deep);width:40px;height:40px;border-radius:12px;font-size:24px;font-weight:900;letter-spacing:-.12em}.shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:var(--deep);color:#ebf5ef;display:flex;flex-direction:column;z-index:40;padding:27px 15px 20px}.logo{display:flex;align-items:center;gap:10px;font-size:1.05rem;font-weight:900;letter-spacing:.06em;padding:0 10px}.logo .brand-mark{width:36px;height:36px;font-size:21px}.logo small{display:block;font-size:.5rem;color:#a4b9af;letter-spacing:.21em;margin-top:3px}.nav-caption{font-size:.59rem;color:#739b93;letter-spacing:.16em;margin:50px 14px 14px;font-weight:800}.nav-list{display:flex;flex-direction:column;gap:4px}.nav-btn{width:100%;display:flex;gap:13px;align-items:center;border:0;border-radius:11px;background:transparent;color:#bfd0c9;padding:12px 15px;text-align:left;font-weight:600;font-size:.87rem}.nav-btn>span{width:20px;font-size:1.21rem;text-align:center}.nav-btn:hover,.nav-btn.active{background:#274d4b;color:white}.nav-btn.active::after{content:'';display:block;margin-left:auto;width:5px;height:5px;border-radius:50%;background:var(--accent)}.count-pill{font-size:.68rem;line-height:1.45;border-radius:25px;padding:2px 8px;background:#e9f1ec;color:var(--teal)}.sidebar .count-pill{margin-left:auto;background:#295956;color:#d6e5dd}.sidebar-bottom{margin-top:auto}.worker-mini{font-size:.71rem;display:flex;gap:8px;align-items:center;color:#a7c6ba;padding:15px 8px}.online-dot{width:7px;height:7px;background:#86d1a9;border-radius:50%;box-shadow:0 0 0 3px #25544b}.online-dot.error{background:#ed9279;box-shadow:0 0 0 3px #684639}.profile-trigger{border:1px solid #325653;background:#1c4242;color:white;border-radius:14px;width:100%;padding:10px;display:flex;align-items:center;gap:9px;text-align:left}.profile-trigger strong,.profile-trigger small{display:block;font-size:.74rem}.profile-trigger small{margin-top:2px;font-size:.65rem;color:#a4c0b5}.profile-trigger>span:last-child{margin-left:auto}.avatar{border-radius:11px;background:#497b68;color:#e8f4e8;width:31px;height:31px;display:grid;place-items:center;font-weight:800}.workspace{margin-left:230px;width:calc(100% - 230px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:82px;padding:0 37px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:20}.topbar h1{font-size:1.13rem;letter-spacing:-.02em}.topbar p{color:var(--muted);font-size:.73rem;margin-top:4px}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn{border:1px solid var(--line);background:white;width:40px;height:40px;border-radius:12px;position:relative;font-size:1.35rem}.icon-btn b{position:absolute;top:1px;right:1px;border-radius:50%;background:#db7c53;color:white;font-size:.59rem;min-width:15px;height:15px;line-height:15px}.mobile-logo{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;border:1px solid transparent;padding:11px 16px;font-size:.79rem;font-weight:760;transition:filter .2s;background:transparent;text-decoration:none;white-space:nowrap}.btn:hover{filter:brightness(.93)}.btn.primary{background:var(--deep);color:white}.btn.subtle{background:#eef2ef;color:#315a52}.btn.soft{background:#eaf3ed;color:#1b6657}.btn.outline-light{border:1px solid #668780;color:white}.btn.ghost{border:1px solid #ddd;color:#6c7775}.btn.danger{background:#a84340;color:white}.text-link{background:none;border:0;color:var(--teal);font-weight:800;font-size:.75rem;text-decoration:none;cursor:pointer;padding:7px 0}main{width:100%;max-width:1510px;padding:27px 37px 105px;margin:auto;flex:1}.page{display:none}.page.visible{display:block}.hero{position:relative;overflow:hidden;background:var(--deep);color:white;border-radius:19px;min-height:210px;padding:31px 36px;display:flex;align-items:center;justify-content:space-between}.hero .eyebrow{color:#a6bfae}.hero h2{font-size:clamp(1.5rem,3vw,2.3rem);margin:12px 0}.accent-dot{color:var(--accent)}.hero p{font-size:.82rem;color:#a9c4bd}.hero-actions{display:flex;gap:9px;margin-top:24px}.hero .btn.primary{background:var(--accent);color:var(--deep)}.hero-illustration{width:220px;height:160px;position:relative;margin-right:30px}.hero-orbit{position:absolute;border:1px solid #426962;border-radius:50%;transform:rotate(-26deg)}.orbit-one{inset:8px 14px}.orbit-two{inset:27px 42px}.hero-target{position:absolute;inset:46px 72px;display:grid;place-items:center;border-radius:18px;background:#dce8ac;color:#2a5954;font-weight:900;font-size:43px;transform:rotate(-17deg)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 17px;gap:15px}.section-heading h2{font-size:1.58rem}.section-heading h3{font-size:1rem}.section-heading p{font-size:.78rem;color:var(--muted);margin-top:5px}.priority-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.metric-card{background:white;border-radius:15px;border:1px solid var(--line);padding:18px 20px;box-shadow:var(--shadow);min-width:0}.metric-icon{font-size:1.24rem;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e7f1e9;margin-bottom:14px}.metric-icon.warn{background:#fcf0d6}.metric-number{font-size:1.6rem;font-weight:800;letter-spacing:-.055em}.metric-card h4{font-size:.83rem;margin:4px 0}.metric-card p{font-size:.71rem;color:var(--muted)}.two-cols{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;margin-top:19px}.three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:21px;box-shadow:var(--shadow);min-width:0}.panel.no-pad{padding:0}.panel>h3{margin-bottom:14px}.panel>p{font-size:.79rem;color:var(--muted);margin:8px 0 14px}.panel-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:16px}.panel-header p{font-size:.73rem;color:var(--muted);margin-top:3px}.panel-divider{height:1px;background:var(--line);margin:18px 0}.stack-list{display:grid;gap:0}.list-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.list-line:last-child{border-bottom:0}.list-line strong{font-size:.81rem}.list-line p{font-size:.69rem;color:var(--muted);margin-top:5px}.list-line button{flex-shrink:0}.pill{background:#e9f5ed;color:#2e7263;padding:5px 9px;border-radius:25px;font-size:.64rem;font-weight:800;white-space:nowrap}.pill.warn{background:#fff2dc;color:#996128}.pill.danger{background:#fbe8e6;color:#bc5451}.pill.neutral{background:#eef1ef;color:#657775}.health-list{display:grid;gap:0}.health-row{border-bottom:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;font-size:.77rem}.health-row:last-child{border:0}.health-row>span:first-child::before{content:'●';color:var(--teal);margin-right:9px;font-size:.58rem}.health-row.error>span:first-child::before{color:#d76c48}.search-toolbar{display:flex;gap:10px;margin:18px 0}.search-wrap{border:1px solid var(--line);background:white;border-radius:11px;padding:0 14px;display:flex;align-items:center;flex:1;gap:9px;font-size:1.26rem;color:#71918a;min-width:180px}.search-field{border:0;outline:0;width:100%;padding:12px 0;font-size:.81rem;background:transparent}.select,input,textarea{min-height:41px;border:1px solid #dfe9e3;padding:10px 11px;border-radius:9px;background:#fff;color:var(--ink);font-size:.81rem;outline-color:#7aac9c;width:100%}.search-toolbar .select{width:220px}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;min-height:570px;overflow:hidden;background:white;border:1px solid var(--line);border-radius:17px}#lead-map{height:570px;width:100%;z-index:1}.map-side{border-left:1px solid var(--line);padding:18px;min-height:500px}.map-side h3{margin-bottom:9px}.map-results{max-height:515px;overflow:auto}.map-item{border-bottom:1px solid var(--line);padding:13px 4px;cursor:pointer}.map-item:hover{background:#f7faf7}.map-item strong{font-size:.82rem}.map-item p{font-size:.7rem;color:var(--muted);margin-top:4px}.table-scroll{overflow-x:auto}.lead-table{border-collapse:collapse;width:100%;min-width:700px}.lead-table th,.lead-table td{text-align:left;border-bottom:1px solid var(--line);padding:15px 17px;font-size:.76rem}.lead-table th{background:#f9fbf9;color:#83928b;font-size:.68rem;font-weight:800}.lead-table tr:hover td{background:#fbfdfc}.lead-table td strong{font-size:.8rem}.lead-table td .sub{color:var(--muted);font-size:.67rem;margin-top:4px}.score{font-weight:800;color:var(--teal)}.score.high{color:#cb7943}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{font-size:.74rem;font-weight:750;display:flex;flex-direction:column;gap:7px;color:#45635d}.form-grid .full{grid-column:1/-1}.form-grid .check-label{display:flex;flex-direction:row;align-items:center;gap:7px}.check-label input{width:auto;min-height:auto}.form-grid textarea{resize:vertical;min-height:90px}.statusbar{position:fixed;bottom:0;left:230px;right:0;background:rgba(255,255,255,.97);border-top:1px solid #dee8e1;box-shadow:0 -6px 20px rgba(16,51,56,.035);z-index:30;backdrop-filter:blur(15px)}.status-inner{max-width:1500px;padding:12px 36px;margin:auto;display:flex;gap:7px;justify-content:space-between}.status-pill{background:#f3f7f4;border-radius:11px;padding:8px 14px;display:flex;gap:9px;align-items:center;border:1px solid #e8eee9;cursor:pointer}.status-pill b{font-size:1.02rem}.status-pill span{color:#748781;font-size:.68rem;white-space:nowrap}.mobile-nav{display:none}.drawer-backdrop,.modal-shade{position:fixed;inset:0;background:rgba(9,28,29,.47);z-index:60}.lead-drawer{position:fixed;right:0;top:0;bottom:0;width:min(550px,100%);background:white;z-index:61;overflow-y:auto;box-shadow:-20px 0 50px #17332e30;padding:28px}.drawer-close{float:right;border:0;background:#f0f4f1;border-radius:10px;width:38px;height:38px;font-size:1.3rem}.drawer-title{font-size:1.4rem;letter-spacing:-.04em;margin-bottom:6px}.drawer-meta{font-size:.77rem;color:var(--muted);line-height:1.6}.drawer-actions{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.drawer-section{border-top:1px solid var(--line);padding:20px 0}.drawer-section h4{margin-bottom:11px;font-size:.85rem}.fact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fact{background:#f5f8f6;border-radius:11px;padding:13px}.fact small{display:block;color:var(--muted);font-size:.66rem;margin-bottom:5px}.fact strong{font-size:.79rem;overflow-wrap:anywhere}.message-box{background:#f5f8f6;border:1px solid #e9eeea;border-radius:11px;padding:14px;white-space:pre-wrap;font-size:.79rem;line-height:1.58;margin:10px 0;overflow-wrap:anywhere}.modal-shade{z-index:80;display:grid;place-items:center;padding:15px}.modal-card{width:min(550px,100%);background:white;border-radius:18px;box-shadow:0 20px 70px #0827294f;padding:26px;max-height:90vh;overflow:auto}.modal-card h2{font-size:1.27rem;margin:0 0 18px}.modal-card .close{float:right;border:0;background:#f0f4f1;border-radius:9px;width:32px;height:32px}.modal-card form{display:grid;gap:13px}.modal-card label{display:grid;gap:6px;font-size:.75rem;font-weight:700}.modal-card textarea{resize:vertical}.toast{position:fixed;right:22px;bottom:90px;background:#183c3a;color:white;border-radius:12px;padding:13px 17px;box-shadow:0 10px 40px #102a2c4f;z-index:110;font-size:.8rem;max-width:330px}.toast.error{background:#a84943}.empty{padding:24px;color:var(--muted);text-align:center;font-size:.8rem}.account-detail{margin:14px 0;font-weight:750}.login-page{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at 25% 15%,#e5ecdc,transparent 40%),var(--bg)}.login-card{width:min(430px,100%);background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:23px;padding:37px}.login-card .brand-mark{margin-bottom:26px}.login-card h1{font-size:2.2rem;margin:8px 0}.login-card>p{font-size:.86rem;margin-bottom:23px}.login-card form{display:grid;gap:11px}.login-card label{font-size:.72rem;font-weight:750}.login-card form .btn{margin-top:13px;display:flex;justify-content:space-between}.login-card .small{margin-top:24px;margin-bottom:0;text-align:center}.alert{padding:11px 13px;margin-bottom:15px;border-radius:9px;background:#ffeee9;color:#a34335;font-size:.8rem}.code-tiny{font-family:ui-monospace,monospace;font-size:.7rem;word-break:break-word;color:#57716a}.muted-warning{background:#fff7e7;border:1px solid #f3e3c6;border-radius:11px;padding:11px;font-size:.74rem;color:#855c22;margin:10px 0}
@media(max-width:1150px){.sidebar{width:204px}.workspace{margin-left:204px;width:calc(100% - 204px)}.statusbar{left:204px}.topbar{padding:0 23px}main{padding:23px 22px 115px}.status-inner{padding:11px 18px;gap:5px}.status-pill{padding:7px 8px}.status-pill span{font-size:.59rem}.map-layout{grid-template-columns:minmax(0,1fr) 220px}}
@media(max-width:860px){.sidebar{display:none}.workspace{margin-left:0;width:100%}.topbar{height:68px;padding:0 17px}.topbar h1{font-size:1rem}.topbar p{font-size:.65rem}.mobile-logo{display:grid;place-items:center;background:var(--deep);color:white;font-weight:900;border-radius:8px;width:34px;height:34px;font-size:21px}.topbar-title{display:flex;align-items:center;gap:10px}.top-actions .btn{padding:10px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:var(--deep);color:#d2dfd9;display:flex;justify-content:space-around;align-items:center;z-index:55;height:61px;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav button{display:flex;align-items:center;flex-direction:column;gap:1px;border:0;background:none;color:inherit;min-width:52px;font-size:1.35rem}.mobile-nav small{font-size:.58rem}.statusbar{left:0;bottom:61px}.status-inner{overflow-x:auto;justify-content:flex-start;padding:7px 11px;gap:7px;scrollbar-width:none}.status-inner::-webkit-scrollbar{display:none}.status-pill{flex-shrink:0}.status-pill span{font-size:.59rem}.status-pill b{font-size:.87rem}main{padding:18px 14px 155px}.hero{padding:24px 23px;min-height:190px}.hero-illustration{display:none}.two-cols{grid-template-columns:1fr}.search-toolbar{flex-wrap:wrap}.search-wrap{flex-basis:100%}.search-toolbar .select{flex:1;min-width:140px;width:auto}.map-layout{display:flex;flex-direction:column}#lead-map{height:360px}.map-side{min-height:auto;border-left:0;border-top:1px solid var(--line)}.map-results{max-height:270px}.three-cols{gap:9px}.three-cols .panel{padding:13px}.three-cols .metric-number{font-size:1.1rem}}
@media(max-width:520px){.top-actions .btn{font-size:.68rem;padding:8px}.hero h2{font-size:1.55rem}.priority-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.metric-card{padding:12px 9px}.metric-card .metric-icon{width:26px;height:26px;font-size:1rem;margin-bottom:9px}.metric-number{font-size:1.23rem}.metric-card h4{font-size:.73rem}.metric-card p{font-size:.62rem}.panel{padding:15px}.form-grid{grid-template-columns:1fr}.section-heading h2{font-size:1.29rem}.section-heading p{font-size:.69rem}.hero-actions{gap:6px}.hero .btn{font-size:.71rem;padding:9px 10px}.fact-grid{grid-template-columns:1fr 1fr}.lead-drawer{padding:18px}.drawer-title{font-size:1.25rem}.three-cols{grid-template-columns:1fr 1fr}.three-cols .panel:last-child{grid-column:1/-1}}

/* Version 2.1 - location-first discovery */
.nearby-hero{margin-bottom:16px}.nearby-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:20px}.nearby-head h3{font-size:1.25rem;margin:6px 0}.nearby-controls{display:grid;grid-template-columns:210px 1fr;gap:12px;margin:10px 0 16px}.nearby-controls label{display:grid;gap:7px;font-size:.75rem;font-weight:750;color:#45635d}.nearby-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:.79rem;flex-wrap:wrap}.nearby-results{max-height:510px;overflow:auto}.nearby-row{display:flex;align-items:center;gap:12px;padding:13px 3px;border-bottom:1px solid var(--line)}.nearby-row-main{flex:1;min-width:0}.nearby-row-main strong{font-size:.83rem}.nearby-row-main p{font-size:.72rem;color:var(--muted);margin:5px 0 0}.nearby-actions{display:flex;gap:6px}.nearby-actions .btn{font-size:.72rem;padding:8px 10px}.geo-search-row{display:flex;gap:10px;margin-top:12px}.geo-search-row input{flex:1;min-width:0}.geo-matches{margin:10px 0}.city-option{display:block;width:100%;text-align:left;background:#f5f8f6;border:1px solid var(--line);border-radius:9px;padding:11px 12px;margin-bottom:6px;color:var(--ink);cursor:pointer;font-size:.78rem}.city-option:hover{background:#e9f2ed}
@media(max-width:650px){.nearby-controls{grid-template-columns:1fr}.nearby-head h3{font-size:1.07rem}.nearby-row{flex-wrap:wrap;gap:8px}.nearby-actions{width:100%;justify-content:flex-start}.nearby-summary{align-items:flex-start}.geo-search-row{flex-wrap:wrap}.geo-search-row button{flex:0 0 auto}}

/* v2.4 - highly visible but evidence-aware prospect findings */
.issue-spotlight{margin:10px 0 8px;border:1px solid #dbe4e0;border-left:5px solid #7c8b87;border-radius:12px;padding:11px 13px;background:#f5f7f5;color:#263d3b;min-width:0}
.issue-spotlight.issue-verified{border-color:#e7a39c;border-left-color:#a82022;background:#fff0ee;color:#721d1d;box-shadow:0 1px 0 rgba(163,26,26,.06)}
.issue-spotlight.issue-review{border-color:#e5ce96;border-left-color:#bd7918;background:#fff7e6;color:#744814}
.issue-spotlight.issue-unknown{border-color:#dbe4e0;border-left-color:#7c8b87;background:#f6f8f7;color:#596e67}
.issue-heading{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-weight:850;letter-spacing:.045em;font-size:.71rem}
.issue-icon{width:20px;height:20px;display:inline-grid;place-items:center;border-radius:50%;background:currentColor;color:inherit;font-weight:900;border:2px solid currentColor;line-height:1;position:relative}
.issue-icon{color:inherit;background:transparent}
.issue-title{font-size:.88rem;font-weight:800;margin-top:6px;overflow-wrap:anywhere;line-height:1.35}
.issue-detail{font-size:.76rem;line-height:1.55;margin-top:6px;overflow-wrap:anywhere}
.issue-checked{margin-left:auto;font-size:.65rem;letter-spacing:normal;opacity:.86;font-weight:500}
.nearby-row{align-items:flex-start}
.nearby-row-main>.issue-spotlight{margin:10px 0 0;max-width:710px}
.nearby-row-main>.issue-spotlight .issue-title{font-size:.79rem}
.lead-table .issue-spotlight{margin:0;padding:8px 10px;min-width:190px}
.lead-table .issue-title{font-size:.76rem}
.lead-table .issue-checked{display:none}
.google-maps-btn{background:#eef4ff!important;border:1px solid #bdcff5!important;color:#1b4e94!important;font-size:.73rem!important}
.google-maps-btn:focus-visible{outline:3px solid #3d76ce;outline-offset:2px}
.map-item .issue-spotlight{margin-top:7px;padding:7px 8px}.map-item .issue-title{font-size:.7rem}
.map-item .issue-checked{display:none}.map-inline-actions{margin-top:7px;display:flex;gap:6px;flex-wrap:wrap}
.map-inline-actions .btn{font-size:.66rem;padding:6px 8px;white-space:normal}
.mini-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}
.modal-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:650px){.nearby-row-main{flex-basis:100%}.nearby-actions{display:flex;flex-wrap:wrap}.nearby-actions .btn{min-height:42px}.lead-table .issue-spotlight{min-width:160px}.issue-checked{margin-left:0;width:100%}.mini-actions{justify-content:flex-start}}

/* v2.6 — fast, evidence-led prospecting (mobile first). */
.opportunity-center{border:1px solid #e0e8e3;border-radius:16px;background:linear-gradient(115deg,#eef4f0,#f7faf8);padding:18px;margin-bottom:15px}
.opportunity-center-title{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:13px}
.opportunity-center-title h3{font-size:1.16rem;margin:7px 0 6px}
.opportunity-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:9px}
.opportunity-counts>div{display:flex;flex-direction:column;gap:3px;min-width:0;border:1px solid #e1e9e4;border-radius:12px;background:white;padding:12px}
.opportunity-counts strong{font-size:1.42rem;font-variant-numeric:tabular-nums;line-height:1.1}
.opportunity-counts span{font-size:.7rem;color:#667d76}
.opportunity-counts>div:first-child strong{color:#a52c28}.opportunity-counts>div:nth-child(2) strong{color:#a16d1d}
.nearby-controls.opportunity-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nearby-controls.opportunity-controls label{min-width:0}
.nearby-controls.opportunity-controls input,.nearby-controls.opportunity-controls select{width:100%;min-width:0}
.priority-chip{display:inline-flex;align-items:center;white-space:nowrap;padding:5px 8px;border-radius:8px;background:#dbeee4;color:#1b6654;font-weight:800;font-size:.72rem;letter-spacing:0}
.issue-verified .priority-chip{background:#ffe1dc;color:#8e2520}.issue-review .priority-chip{background:#fff0c7;color:#845a13}
.prospect-row-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.opportunity-row-verified{background:#fffafa;border-left:3px solid #c3493c;padding-left:11px}
.opportunity-detail{background:#f7faf8;border:1px solid #dce6df;border-radius:13px;padding:14px;margin:13px 0}
.opportunity-detail-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.opportunity-detail p{font-size:.78rem;line-height:1.55;margin:6px 0}
.evidence-list{border-top:1px solid #dce6df;margin-top:12px;padding-top:8px}
.evidence-item{display:flex;align-items:flex-start;gap:9px;border-bottom:1px solid #e4eee8;padding:9px 0}
.evidence-item:last-child{border-bottom:none}
.evidence-item p{margin:4px 0!important}
.evidence-item strong{font-size:.75rem}
.evidence-item small{color:#6a7c72;font-size:.68rem}
.evidence-dot{width:9px;height:9px;border-radius:50%;background:#c38831;flex:0 0 9px;margin-top:4px}
.evidence-dot.verified{background:#c64032}
.nearby-row .issue-spotlight.issue-unknown{margin:8px 0 0;padding:7px 10px;border-left-width:3px}
.nearby-row .issue-unknown .issue-heading{font-size:.65rem}
.nearby-row .issue-unknown .issue-title{font-weight:600;font-size:.72rem}
.nearby-actions{flex-wrap:wrap;min-width:210px;justify-content:flex-end}
@media(max-width:1100px){.nearby-controls.opportunity-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.opportunity-center{padding:13px}.opportunity-counts>div{padding:9px}.opportunity-counts strong{font-size:1.16rem}.opportunity-counts span{font-size:.62rem}.nearby-controls.opportunity-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.nearby-actions{justify-content:flex-start;min-width:0;width:100%}.nearby-actions .btn{min-height:42px;flex:0 1 auto}}
@media(max-width:390px){.nearby-controls.opportunity-controls{grid-template-columns:1fr}.opportunity-counts{gap:5px}.opportunity-counts>div{padding:7px}}

/* v2.6.1: prominent, always-visible Discover filtering toolbar. */
.discovery-filter-panel{background:#fff;border:2px solid #9abfb6;border-radius:18px;padding:20px;margin:0 0 18px;box-shadow:0 8px 24px rgba(19,58,56,.065)}
.discovery-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.discovery-filter-heading h3{font-size:1.22rem;margin:5px 0}
.discovery-filter-heading p{max-width:740px}
.discovery-filter-panel .discovery-filter-grid{grid-template-columns:minmax(180px,1.5fr) repeat(4,minmax(125px,1fr));margin:10px 0 12px;gap:11px}
.discovery-filter-panel .discovery-filter-grid label{font-size:.79rem;color:#244b44;display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:800}
.discovery-filter-panel .discovery-filter-grid select,.discovery-filter-panel .discovery-filter-grid input{border:1px solid #93aca5;min-height:46px;border-radius:11px;background:#fff}
.discovery-filter-panel .discovery-filter-grid :is(select,input):focus{outline:2px solid #2d8576;outline-offset:2px}
.discovery-filter-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:7px 0 0}
.discovery-filter-shortcuts-label{margin-right:2px}
.discovery-chip{border:1px solid #c3d5ce;background:#f6faf7;color:#285e52;border-radius:999px;padding:8px 12px;font-size:.76rem;font-weight:750}
.discovery-chip.active,.discovery-chip[aria-pressed="true"]{background:#184b45;border-color:#184b45;color:white}
.discovery-filter-feedback{margin:10px 0 0}
@media(max-width:1180px){.discovery-filter-panel .discovery-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.discovery-filter-panel{padding:15px 13px}.discovery-filter-heading{align-items:flex-start;flex-wrap:wrap}.discovery-filter-heading .btn{width:auto}.discovery-filter-panel .discovery-filter-grid{grid-template-columns:1fr;gap:10px}.discovery-filter-shortcuts{gap:6px}.discovery-chip{padding:8px 10px}}

/* v2.7 smart follow-up and daily calling queue */
.daily-plan-panel{margin-bottom:20px}.daily-plan-summary{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}
.plan-count{background:#eaf4ec;color:#234e46;border-radius:99px;padding:7px 12px;font-weight:750;font-size:.76rem}
.plan-overdue{background:#fff0ed;color:#9c3029}
.daily-call{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line)}
.daily-call:last-child{border-bottom:0}.daily-call-info{min-width:0;display:flex;flex-direction:column;gap:5px}
.daily-call-info strong{font-size:.85rem}.daily-call-info small{font-size:.73rem;color:var(--muted)}
.daily-call-info .pill{align-self:flex-start}.daily-call-actions,.task-action-buttons{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.task-action-line{align-items:center}.daily-call-actions .btn,.task-action-buttons .btn{white-space:nowrap}
@media(max-width:680px){.daily-call{align-items:stretch;flex-direction:column}.daily-call-actions{justify-content:flex-start}.daily-call-actions .btn{min-height:42px}.task-action-line{flex-wrap:wrap}.task-action-buttons{justify-content:flex-start;width:100%}}

/* v2.8: field visit route and next-stop workflow */
.field-route-panel{margin-bottom:18px}.field-route-panel .panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.field-stop{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:13px 0}
.field-stop-main{display:flex;min-width:0;flex-direction:column;gap:6px}.field-stop-main strong{font-size:.88rem}
.field-stop-main small{font-size:.73rem;color:var(--muted)}.field-stop-main .pill{align-self:flex-start}
.field-stop-actions,.field-next-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.field-completed{opacity:.72}
.field-next-card{padding:13px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;justify-content:space-between}
.field-next-card>div:first-child{flex:1;min-width:0}.field-next-actions{justify-content:flex-end;max-width:325px}
.field-next-card .issue-spotlight{margin:7px 0 0;padding:7px 9px}
.field-radius-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 15px}
.field-radius-row select{min-height:38px;padding:7px;border:1px solid var(--line);border-radius:9px}
@media(max-width:700px){.field-route-panel .panel-header{align-items:flex-start;flex-wrap:wrap}.field-stop,.field-next-card{align-items:stretch;flex-direction:column}.field-stop-actions,.field-next-actions{justify-content:flex-start;max-width:none}.field-stop-actions .btn,.field-next-actions .btn{min-height:42px}}

/* v2.9 — Ultimate Team: clear, compact, mobile-friendly delegation and reporting. */
.team-banner{padding:17px 19px;background:linear-gradient(115deg,#e5f0e8,#f8fbf8);border:1px solid #d5e6da;border-radius:15px;display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}
.team-banner strong{font-size:.95rem}.team-banner p,.team-footer-note{font-size:.72rem;color:var(--muted);margin-top:4px}
.team-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:17px}
.team-metric{background:white;border:1px solid var(--line);border-radius:13px;padding:15px}
.team-metric strong{display:block;font-size:1.45rem;letter-spacing:-.045em;color:#225a51}.team-metric span{font-size:.71rem;color:var(--muted)}
.team-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.team-member-card{border:1px solid #e0e9e2;border-radius:13px;padding:14px;min-width:0;background:#fff}
.team-member-card.inactive{opacity:.69;background:#f6f7f6}.team-member-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:9px}
.team-member-head strong{font-size:.88rem}.team-member-head p{font-size:.7rem;color:var(--muted);margin:3px 0;overflow-wrap:anywhere}
.team-member-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.team-member-kpis>div{background:#f4f8f5;border-radius:9px;padding:8px;min-width:0}.team-member-kpis strong{font-size:.95rem;display:block}.team-member-kpis span{font-size:.63rem;color:var(--muted)}
.team-member-controls,.team-assign-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:11px}
.team-member-controls .btn,.team-assign-controls .btn{font-size:.72rem;white-space:nowrap}
.team-assignee{background:#edf6f1;border-radius:10px;padding:8px 10px;font-size:.75rem;color:#215f53;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.team-lead-row{border-bottom:1px solid var(--line);padding:13px 0}.team-lead-row:last-child{border-bottom:0}
.team-lead-row strong{font-size:.82rem}.team-lead-row p{font-size:.72rem;color:var(--muted);margin:4px 0 8px}
.team-assign-controls select{flex:1;min-width:110px;max-width:230px}.team-panel{margin-bottom:18px}.team-manager-sections{margin-bottom:16px}
.team-footer-note{margin:12px 0 20px}
@media(max-width:950px){.team-member-grid{grid-template-columns:1fr}}
@media(max-width:700px){.team-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.team-member-grid{grid-template-columns:1fr}.team-banner{padding:13px}.team-member-kpis>div{padding:7px}}

@media(max-width:650px){.opportunity-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* OSM attribution for Discover, map and CRM views: visible and keyboard accessible. */
.osm-attribution{margin:13px 0 18px;line-height:1.6;font-size:12px;color:#536963}
.osm-attribution a{color:#1b6557;text-decoration:underline;text-underline-offset:2px;font-weight:650}
.osm-attribution a:focus-visible{outline:2px solid #2b8971;outline-offset:3px}
