 
.td-search{background:#fff;border:1px solid #cadace;border-radius:14px;margin:14px 0 10px;box-shadow:0 3px 12px rgba(14,58,45,.07);overflow:hidden;min-width:0}
.td-search>summary{list-style:none;cursor:pointer;padding:13px 14px;display:flex;gap:8px;justify-content:space-between;align-items:center;background:#ebf4ed;color:#143d30;font-size:13px;font-weight:800}
.td-search>summary::-webkit-details-marker{display:none}
.td-search>summary:before{content:'▾';font-size:13px}
.td-search:not([open])>summary:before{content:'▸'}
.td-search>summary small{font-size:10px;font-weight:750;background:#fff;border-radius:8px;padding:5px 7px;color:#486353;white-space:nowrap}
.td-controls{padding:12px;display:grid;gap:11px}
.td-distances{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.td-distances label{font-size:11px;color:#45645a;font-weight:800;min-width:0}
.td-distances select{display:block;margin-top:5px;min-height:42px;width:100%;border-radius:9px;border:1px solid #b9cdbf;color:#153e31;background:white;font-size:12px;padding:6px}
.td-search fieldset{margin:0;padding:8px 0 5px;border:0;border-top:1px solid #e3eae5;min-width:0}
.td-search legend{font-size:12px;font-weight:850;color:#203d34;padding:0 5px}
.td-search legend small{font-weight:500;color:#617d70;font-size:10px;margin-left:3px}
.td-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 9px}
.td-check{font-size:11px;font-weight:600;color:#24493d;min-width:0;display:flex;align-items:start;gap:6px;padding:7px 3px;line-height:1.32;cursor:pointer}
.td-check input{width:17px;height:17px;min-width:17px;margin:0;accent-color:#155b48;cursor:pointer}
.td-check span{overflow-wrap:anywhere}
.td-check:has(input:checked){background:#e5f4e7;border-radius:7px;color:#06442c}
.td-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.td-actions button,.td-actions a{font-size:11px;font-weight:750;padding:9px 11px;border:1px solid #bdd3c3;border-radius:8px;text-decoration:none;color:#11513b;background:#f8faf8;cursor:pointer}
.td-actions button:hover,.td-actions a:hover{background:#e8f3e9}
.td-note,.td-status{margin:0;font-size:10px;line-height:1.5;color:#567568}
.td-status{padding:9px 10px;background:#f0f7f2;border-radius:8px;border:1px solid #d8e7dc}
.td-status[data-problem="1"]{background:#fff2e5;border-color:#edcfb5;color:#86480e}
.td-nearby-panel{margin:13px 0;padding:13px;border-radius:11px;background:#f4f8f4;border:1px solid #d5e5d9}
.td-nearby-panel h4{font-size:15px;margin:0 0 6px}
.td-nearby-panel p{font-size:12px;line-height:1.5;margin:4px 0 10px}
.td-nearby-results{display:flex;gap:7px;flex-wrap:wrap}
.td-nearby-results span{font-size:11px;padding:6px 9px;border:1px solid #c4dec9;border-radius:7px;background:white}
.marker-dot.td-aire-marker{background:#194a91;color:white;border:2px solid #b0d5ff;box-shadow:0 2px 10px #14396f88}
@media (max-width:520px){.td-search{margin:10px 0}.td-controls{padding:10px}.td-check{font-size:11px;padding:8px 1px}.td-checks{gap:3px 5px}.td-distances{grid-template-columns:1fr 1fr}.td-search>summary{font-size:12px;min-height:46px}}

#td-find-nearby{cursor:pointer;min-height:40px;padding:9px 12px;border-radius:8px;background:#e3f1e5;color:#124d39;border:1px solid #bdd8c7;font-size:12px;font-weight:800}#td-find-nearby:hover{background:#d0e9d5}

 
.td-confirmed-only{display:flex;align-items:center;gap:9px;margin:8px 3px 12px;padding:11px 10px;border:1px solid #cbd9cb;border-radius:9px;background:#f4fbf3;color:#184b3b;font-size:12px;font-weight:750;cursor:pointer}
.td-confirmed-only input{appearance:auto;width:17px;height:17px;flex:0 0 17px;accent-color:#137e57;cursor:pointer}
.td-confirmed-only:has(input:checked){background:#d5efdf;border-color:#7ab18e}

 
#td-site-scan-status{margin:9px 0 0;font-size:11px;line-height:1.5;color:#486b5e}
#td-site-scan-status[data-stage="loading"]{padding:9px 10px;border:1px solid #c7dbce;background:#f0f7f2;border-radius:8px;color:#154a39}
#td-site-scan-status[data-stage="done"]{padding:9px 10px;background:#e4f6eb;border:1px solid #b8dec5;border-radius:8px;color:#165236}
#td-site-scan-status[data-stage="warning"],#td-site-scan-status[data-stage="error"]{padding:9px 10px;background:#fff3e5;border:1px solid #efc7a2;border-radius:8px;color:#7d441b}
#td-find-nearby:disabled{opacity:.72;cursor:progress}

 
.td-site-scan-options{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px}
.td-site-scan-options button,.td-site-scan-options a{display:inline-flex;align-items:center;min-height:37px;padding:8px 10px;border:1px solid #c0d6c5;border-radius:8px;background:#fff;color:#135138;font-size:11px;font-weight:750;text-decoration:none;cursor:pointer}
.td-site-scan-places{margin-top:8px}
.td-site-scan-places-heading{font-weight:750;font-size:11px;margin:7px 0}
.td-site-scan-place{display:flex;gap:9px;justify-content:space-between;align-items:center;margin:3px 0;padding:5px 7px;border:1px solid #dbe7de;border-radius:7px;background:#fff;font-size:11px}
.td-site-scan-place a{color:#165740;white-space:nowrap}

 
.td-fac-groups{display:grid;gap:7px;margin:6px 0}
.td-fac-group{border:1px solid #d8e7da;border-radius:10px;background:#fafdfb;overflow:hidden}
.td-fac-group>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;background:#f0f6f1;color:#164c3c;font-size:11px;font-weight:800;list-style:none}
.td-fac-group>summary::-webkit-details-marker{display:none}
.td-fac-group>summary:before{content:"▸";font-size:12px}
.td-fac-group[open]>summary:before{content:"▾"}
.td-fac-group>summary span{flex:1}
.td-fac-count{font-size:10px;color:#698477;font-weight:650}
.td-fac-group .td-checks{padding:9px 10px 11px}
.td-fac-group:has(input:checked)>summary{background:#e1f3e4}
@media(max-width:560px){.td-fac-group>summary{min-height:41px}.td-fac-group .td-checks{padding:8px 6px}}
