 
.td-fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 14px}
.td-fact{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 8px;background:#f5f8f5;border:1px solid #e3ebe5;border-radius:9px;padding:9px 10px;font-size:12px}
.td-fact-title{font-weight:750;color:#153f37}.td-fact-state{font-size:10px;font-weight:700;border-radius:20px;padding:3px 7px;background:#e9eeeb;color:#63776f}
.td-fact-yes .td-fact-state{color:#12644d;background:#d3f0df}.td-fact-no .td-fact-state{color:#914f23;background:#ffe7d8}.td-fact small{flex-basis:100%;color:#5e746e;font-size:10px}
.td-evidence-note{color:#5e716b;font-size:12px;line-height:1.5;margin:8px 0}.td-source-links{font-size:11px;color:#51615f}.td-source-links a{color:#096548;font-weight:700}
.td-ai-box{border:1px solid #c5dfcf;background:#eff8ef;border-radius:12px;padding:14px;margin:18px 0}.td-ai-box strong{color:#145844}.td-ai-box p{font-size:12px;color:#3e5b50;line-height:1.55;margin:8px 0 12px}.td-ai-buttons{display:flex;flex-wrap:wrap;gap:7px}
.td-small-action{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:8px;border:1px solid #bacfc1;color:#18543f;background:white;font-size:11px;font-weight:750;cursor:pointer;text-decoration:none}
.td-small-action:hover{background:#e0f2e9}
.td-near-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0 15px}
 
.td-near-custom-search{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 15px;border-bottom:1px solid #e3ebe4;background:#fbfdf9}
.td-near-custom-search label{flex:0 0 auto;color:#1e503d;font-size:12px;font-weight:800}
.td-near-custom-search input{flex:1 1 220px;min-width:135px;width:100%;max-width:490px;border-radius:9px;border:1px solid #bfd2c4;background:white;padding:10px 12px;color:#173d31;font-size:13px}
.td-near-custom-search button{flex:0 0 auto;background:#195e42;color:#fff;border:1px solid #195e42;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:800;cursor:pointer}
.td-near-custom-search button:hover,.td-near-custom-search button:focus-visible{background:#27794c}
.td-near-custom-search input:focus-visible{outline:3px solid #b3da94;outline-offset:1px}
.td-near-custom-hint{font-size:10px;color:#5c7365;flex-basis:100%;line-height:1.3}
@media(max-width:650px){.td-near-custom-search{padding:9px 12px;gap:6px}.td-near-custom-search label{flex-basis:100%}.td-near-custom-search input{flex:1 1 150px}}

.td-near-chip{cursor:pointer;border:1px solid #c7d9d1;background:#f5f9f6;color:#12503c;text-align:left;font-size:12px;font-weight:750;border-radius:10px;padding:12px;min-height:43px}
.td-near-chip:hover,.td-near-chip:focus-visible{background:#dff1e6;border-color:#7da997}
html.td-near-modal-open{overflow:hidden}
.td-near-dialog[hidden]{display:none!important}.td-near-dialog{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}
.td-near-shade{position:absolute;inset:0;background:#0b1f20b3;backdrop-filter:blur(3px)}
.td-near-card{isolation:isolate;position:relative;background:white;color:#173f35;width:min(1080px,100%);height:min(790px,90dvh);border-radius:18px;box-shadow:0 28px 90px #00150d66;display:flex;flex-direction:column;overflow:hidden}
.td-near-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px 10px;border-bottom:1px solid #e2ece5}.td-near-header h3{font-size:20px;line-height:1.15;margin:4px 0;color:#0e4232}.td-near-header p{color:#627469;font-size:12px;margin:5px 0}
.td-near-overline{font-size:10px;color:#779089;font-weight:800;letter-spacing:.12em}.td-near-close{border:1px solid #d9e5dd;background:#fff;cursor:pointer;border-radius:50%;font-size:28px;width:39px;height:39px;display:grid;place-items:center;color:#184b3c}
.td-near-provider{padding:8px 18px;display:flex;gap:8px;align-items:center;border-bottom:1px solid #e1e8e2}.td-near-provider button{border-radius:8px;border:1px solid #bbd3c1;background:#fff;font-size:12px;padding:8px 11px;color:#285747;font-weight:700;cursor:pointer}.td-near-provider button.on{background:#daf4e4;color:#0b6748;border-color:#91c1a3}.td-near-provider span{font-size:11px;color:#697b72;margin-left:auto}
.td-near-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,.8fr);flex:1;min-height:0}
.td-near-mapwrap{position:relative;min-height:260px;min-width:0;background:#d6ebe7}.td-near-mapwrap #td-near-leaflet,.td-near-mapwrap #td-near-google{position:absolute;inset:0;width:100%;height:100%}.td-near-mapwrap #td-near-leaflet[hidden],.td-near-mapwrap #td-near-google[hidden]{display:none}.td-near-mapwrap #td-near-google iframe{border:0;width:100%;height:100%}
.td-near-side{min-height:0;overflow:auto;border-left:1px solid #e3eae6;padding:14px;display:flex;flex-direction:column;gap:10px}
#td-near-status{font-size:12px;border-radius:9px;padding:11px 12px;background:#ebf7f0;color:#226047;line-height:1.45}#td-near-status.error{color:#8f4b15;background:#fff4dd}
#td-near-results{display:flex;flex-direction:column;gap:7px;overflow-y:auto;min-height:0;flex:1}.td-near-place{border-radius:9px;border:1px solid #d3dfd8;background:#fff;color:#1b493a;text-align:left;display:flex;flex-direction:column;gap:5px;padding:10px;cursor:pointer}.td-near-place strong{font-size:12px}.td-near-place span{font-size:11px;color:#60776e}.td-near-place.on,.td-near-place:hover{border-color:#7aaa91;background:#e5f4e9}
#td-near-links{display:flex;flex-wrap:wrap;gap:8px}#td-near-links a{font-size:11px;display:flex;align-items:center;justify-content:center;padding:9px 10px;border-radius:8px;background:#edf4f0;color:#1b6049;font-weight:750;text-decoration:none;flex:1;min-width:110px}
.td-near-footer{padding:10px 18px;border-top:1px solid #e2e9e3;background:#fafdfa;font-size:10px;color:#6e7e75;line-height:1.3}
.td-near-num-icon{border:0;background:transparent}.td-near-num-icon div{background:#146a4c;color:#fff;font-weight:800;font-size:12px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:2px solid white;box-shadow:0 2px 9px #0005}
.td-google-missing{padding:20px;display:flex;flex-direction:column;justify-content:center;align-items:start;gap:8px;height:100%;background:#eef5f1}.td-google-missing p{font-size:12px;line-height:1.6}.td-google-missing button{padding:10px;border-radius:7px;background:#14563e;color:white;border:0;cursor:pointer}
@media(max-width:760px){
 .td-fact-grid{grid-template-columns:1fr 1fr}.td-fact{padding:8px 7px}.td-fact-title{font-size:11px}.td-near-categories{grid-template-columns:1fr 1fr}
 .td-near-dialog{padding:0;align-items:stretch}.td-near-card{border-radius:0;width:100%;height:100dvh}
 .td-near-header{padding:13px 15px 8px}.td-near-header h3{font-size:17px}.td-near-provider{padding:8px 12px}.td-near-provider span{display:none}
 .td-near-layout{grid-template-columns:1fr;grid-template-rows:minmax(230px,48%) minmax(0,52%)}.td-near-side{border-left:0;border-top:1px solid #e2ece7;padding:10px;overflow:auto}
 .td-near-footer{font-size:9px;padding:8px 12px}
}

 
#td-near-status .td-near-retry{display:block;margin:12px 0 6px;padding:10px 14px;border:1px solid #cbded2;border-radius:9px;background:#e1f1e7;color:#174a39;cursor:pointer;font-weight:750}
#td-near-status small{display:block;line-height:1.45;margin:7px 0 0;color:#617a6e}

 
.td-near-category-strip{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding:9px 13px;border-bottom:1px solid #dfe8e2;background:#f8faf8;flex:0 0 auto}
.td-near-category-strip button{flex:0 0 auto;min-height:37px;white-space:nowrap;padding:8px 11px;border:1px solid #d3e1d7;border-radius:10px;background:#fff;color:#194637;font-weight:700;font-size:11px;cursor:pointer}
.td-near-category-strip button.on{background:#dbf2e2;border-color:#80bd96;box-shadow:inset 0 0 0 1px #80bd96}
#td-near-google-centre{background:#f3f7ee}
@media(max-width:760px){.td-near-category-strip{padding:8px;gap:5px}.td-near-category-strip button{padding:8px;font-size:10px}}

 
.td-fact-section{border:1px solid #d8e5dc;border-radius:10px;overflow:hidden;background:#f9fbf9;margin:9px 0}
.td-fact-section>summary{cursor:pointer;display:flex;align-items:center;gap:9px;padding:12px;background:#eaf2ec;color:#164737;font-size:12px;font-weight:800;list-style:none}
.td-fact-section>summary::-webkit-details-marker{display:none}
.td-fact-section>summary:before{content:'▸';font-size:12px}
.td-fact-section[open]>summary:before{content:'▾'}
.td-fact-section>summary span{flex:1}
.td-fact-section>summary small{margin-left:auto;white-space:nowrap;color:#567565;font-size:10px;font-weight:650}
.td-fact-section .td-fact-grid{padding:9px;margin:0}
.td-fact small a{color:#106044;font-weight:800}
@media(max-width:680px){.td-fact-section .td-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:7px}.td-fact-section>summary{padding:10px}}


 
.td-near-mapwrap>.td-near-provider{
 position:absolute!important;z-index:900!important;top:10px!important;right:10px!important;
 display:flex;align-items:center;gap:5px;padding:5px!important;margin:0!important;
 width:max-content;max-width:calc(100% - 20px);
 border:1px solid var(--tc-stroke,#b5cbc0)!important;
 background:var(--tc-panel,#fff)!important;color:var(--tc-ink,#153d30)!important;
 border-radius:11px;box-shadow:0 2px 12px #082a284d;
}
.td-near-mapwrap>.td-near-provider[hidden]{display:none!important;}
.td-near-mapwrap>.td-near-provider span{display:none!important;}
.td-near-mapwrap>.td-near-provider button{
 min-height:32px;padding:6px 9px;font-size:11px;white-space:nowrap;
}
#td-near-expand-map{
 position:absolute;right:12px;bottom:34px;z-index:800;
 min-height:40px;padding:8px 13px;border:1px solid var(--tc-stroke,#9eb9a8);
 border-radius:10px;background:var(--tc-panel,#fff);color:var(--tc-ink,#153d30);
 font-size:12px;font-weight:800;box-shadow:0 2px 10px #0a272a50;cursor:pointer;
}
#td-near-expand-map:focus-visible{outline:3px solid var(--tg-focus,#ffd85a);outline-offset:2px;}
.td-near-card.td-map-expanded .td-near-layout{
 grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:minmax(0,1fr)!important;
}
.td-near-card.td-map-expanded .td-near-mapwrap{min-height:0!important;}
.td-near-card.td-map-expanded .td-near-side{display:none!important;}
@media(max-width:760px){
 .td-near-header{padding:10px 13px 8px!important;}
 .td-near-header h3{font-size:18px!important;line-height:1.15!important;}
 .td-near-header p{font-size:11px!important;line-height:1.4!important;margin:3px 0!important;}
 .td-near-overline{font-size:10px!important;}
 .td-near-category-strip{padding:7px 9px!important;gap:5px!important;}
 .td-near-category-strip button{min-height:35px!important;padding:6px 10px!important;}
 .td-near-layout{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,66fr) minmax(0,34fr)!important;
  flex:1 1 0!important;min-height:0!important;
 }
 .td-near-mapwrap{min-height:0!important;}
 .td-near-side{padding:9px 11px!important;gap:8px!important;min-height:0!important;overflow:auto!important;}
 .td-near-footer{padding:6px 11px!important;max-height:63px;overflow-y:auto!important;font-size:10px!important;line-height:1.35!important;}
 #td-near-links a{min-width:105px!important;}
}
@media(max-width:900px) and (orientation:landscape) and (max-height:540px){
 .td-near-header{padding:5px 11px!important;}
 .td-near-header h3{font-size:16px!important;}
 .td-near-header p{margin:1px 0!important;}
 .td-near-category-strip{padding:4px 7px!important;}
 .td-near-category-strip button{min-height:30px!important;padding:4px 8px!important;}
 .td-near-layout{
  grid-template-columns:minmax(0,1.8fr) minmax(180px,.8fr)!important;
  grid-template-rows:minmax(0,1fr)!important;
  min-height:0!important;
 }
 .td-near-mapwrap{min-height:0!important;}
 .td-near-side{border-top:0!important;border-left:1px solid var(--tc-stroke,#c7d7cd)!important;}
 .td-near-footer{max-height:42px!important;overflow-y:auto!important;}
 .td-near-card.td-map-expanded .td-near-layout{grid-template-columns:minmax(0,1fr)!important;}
}


 
.td-near-list-head{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
 gap:8px;padding:0 0 7px;border-bottom:1px solid #869f95;
 color:inherit;font-size:13px;font-weight:800;
}
.td-near-list-head strong{color:inherit!important;font-size:14px;line-height:1.3;}
#td-near-toggle-list{
 display:inline-flex;align-items:center;justify-content:center;
 border:1px solid #93baa3;border-radius:9px;
 background:#e5f4e7!important;color:#134831!important;
 font:800 12px/1.2 system-ui,sans-serif!important;
 padding:9px 11px;min-height:36px;cursor:pointer;
}
#td-near-toggle-list:focus-visible,.td-near-sources summary:focus-visible{outline:3px solid #ffc347;outline-offset:2px;}
.td-near-sources summary{
 display:block;cursor:pointer;list-style:none;
 color:#184535!important;background:#e9f3ea!important;
 border:1px solid #b6d1bd;border-radius:7px;
 padding:7px 10px;font-size:11px;font-weight:800;line-height:1.3;
}
.td-near-sources summary::-webkit-details-marker{display:none;}
.td-near-sources summary:after{content:' ▾';}
.td-near-sources[open] summary:after{content:' ▴';}
.td-near-sources>div{padding:9px 3px;color:inherit;line-height:1.45;}
.td-near-card.td-list-expanded .td-near-mapwrap{display:none!important;}
.td-near-card.td-list-expanded .td-near-layout{
 grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:minmax(0,1fr)!important;
}
.td-near-card.td-list-expanded .td-near-side{
 display:flex!important;overflow:auto!important;min-height:0!important;
}
@media(max-width:760px){
 .td-near-layout{grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,38fr) minmax(0,62fr)!important;
  min-height:0!important;}
 .td-near-mapwrap{min-height:0!important;}
 .td-near-side{display:flex!important;flex-direction:column!important;
  min-height:0!important;overflow:hidden!important;padding:10px 12px!important;
  gap:7px!important;}
 .td-near-list-head{flex:0 0 auto!important;}
 #td-near-status{flex:0 0 auto!important;padding:7px 9px!important;
  font-size:12px!important;line-height:1.3!important;}
 #td-near-results{flex:1 1 0!important;min-height:0!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;gap:6px!important;}
 .td-near-place{min-height:56px!important;padding:10px!important;}
 .td-near-place strong{font-size:13px!important;line-height:1.25!important;}
 .td-near-place span{font-size:11px!important;line-height:1.3!important;}
 #td-near-links{display:flex!important;flex:0 0 auto!important;
  flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;
  gap:6px!important;padding:4px 0 0!important;}
 #td-near-links a{flex:0 0 auto!important;min-width:max-content!important;
  white-space:nowrap!important;padding:7px 10px!important;
  min-height:36px!important;font-size:11px!important;line-height:1.1!important;}
 .td-near-footer{flex:0 0 auto!important;padding:6px 9px!important;
  max-height:112px!important;overflow-y:auto!important;font-size:11px!important;}
 .td-near-sources summary{padding:7px 9px!important;}
 .td-near-card.td-map-expanded .td-near-layout{
  grid-template-rows:minmax(0,1fr)!important;}
 .td-near-card.td-list-expanded .td-near-layout{
  grid-template-rows:minmax(0,1fr)!important;}
 .td-near-card.td-list-expanded .td-near-side{
  overflow:auto!important;}
 .td-near-card.td-list-expanded #td-near-results{
  overflow-y:auto!important;}
}
@media(max-width:900px) and (orientation:landscape) and (max-height:540px){
 .td-near-layout{grid-template-columns:minmax(0,1.3fr) minmax(180px,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;}
 .td-near-side{min-width:0!important;}
 .td-near-card.td-list-expanded .td-near-layout{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;}
}


 
#td-near-dialog .td-near-category-strip button{display:inline-flex;align-items:center;gap:5px;min-height:39px}
#td-near-dialog .td-near-category-strip button.on{background:#e3f5b9;border-color:#a0c653;box-shadow:inset 0 0 0 1.5px #bfd96d;color:#163d2d}
#td-near-dialog .tourora-nearby-badge{width:25px;height:25px;display:inline-grid;place-items:center;border-radius:50%;background:#134d38;color:#fff;border:1px solid #a8d67e;flex:0 0 25px}
#td-near-dialog .tourora-nearby-badge .tourora-category-svg{width:18px;height:18px;display:block;color:#fff}
#td-near-dialog .tourora-nearby-badge>svg{width:18px;height:18px;display:block}
#td-near-dialog .tourora-nearby-badge i{font-size:15px;line-height:1}
#td-near-dialog .td-near-category-strip button[data-td-modal-kind="custom"]{border-color:#a1caa9;background:#e8f5ec;font-weight:850}
#td-near-dialog .td-near-category-strip button[data-td-modal-kind="custom"].on{background:#dcf4ab;border-color:#a0c653}
#td-near-dialog .td-near-custom-search:focus-within{background:#f5faed}
