.dbf-nearby-lock{overflow:hidden!important;touch-action:none}
.dbfNearbyLayer{position:fixed;inset:0;z-index:2147481800;display:grid;place-items:end center;background:rgba(18,46,51,.48);backdrop-filter:blur(8px);padding:18px}
.dbfNearbyLayer[hidden]{display:none!important}
.dbfNearbyShell{width:min(100%,760px);max-height:min(92dvh,920px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(18,151,146,.16);border-radius:28px;background:linear-gradient(180deg,#fff 0%,#f3fcfa 100%);box-shadow:0 28px 80px rgba(8,48,55,.25);color:#173b42;font-family:inherit}
.dbfNearbyHead{display:flex;align-items:center;gap:12px;padding:17px 18px;border-bottom:1px solid #dcefee;background:rgba(255,255,255,.94)}
.dbfNearbyHeadIcon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:15px;background:linear-gradient(145deg,#12b6a6,#078c96);color:#fff;font-size:23px;box-shadow:0 8px 22px rgba(9,158,151,.22)}
.dbfNearbyHeadCopy{min-width:0;flex:1}.dbfNearbyKicker{display:block;margin-bottom:2px;color:#08958d;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.dbfNearbyHead h2{margin:0;font-size:21px;line-height:1.2}.dbfNearbyHead p{margin:3px 0 0;color:#6b858a;font-size:12px}
.dbfNearbyClose{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border:1px solid #d3e6e5;border-radius:14px;background:#fff;color:#426269;font-size:25px;cursor:pointer}
.dbfNearbyBody{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 18px 24px}
.dbfNearbySafety{display:flex;gap:11px;margin-bottom:15px;padding:13px;border:1px solid #cceee7;border-radius:17px;background:#ecfbf7;color:#365a60;font-size:12px;line-height:1.5}
.dbfNearbySafety strong{display:block;color:#0b615f;font-size:13px}.dbfNearbySafetyIcon{font-size:21px}
.dbfNearbyForm{display:grid;gap:13px}.dbfNearbyGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dbfNearbyField{display:grid;gap:6px}.dbfNearbyField>span{font-size:12px;font-weight:800;color:#385b61}
.dbfNearbyField input,.dbfNearbyField select,.dbfNearbyField textarea{width:100%;box-sizing:border-box;border:1px solid #d2e5e4;border-radius:14px;background:#fff;padding:12px 13px;color:#173b42;font:600 14px/1.35 inherit;outline:none}
.dbfNearbyField textarea{min-height:78px;resize:vertical}.dbfNearbyField input:focus,.dbfNearbyField select:focus,.dbfNearbyField textarea:focus{border-color:#10a99e;box-shadow:0 0 0 3px rgba(16,169,158,.1)}
.dbfNearbyChips{display:flex;flex-wrap:wrap;gap:8px}.dbfNearbyChip{border:1px solid #cae4e2;border-radius:999px;background:#fff;padding:9px 12px;color:#426168;font:800 12px/1 inherit;cursor:pointer}
.dbfNearbyChip.is-active{border-color:#0fa99f;background:#e9faf6;color:#087d77}
.dbfNearbyLocation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d5e8e7;border-radius:16px;background:#f8fcfc}
.dbfNearbyLocation p{margin:0;color:#587379;font-size:12px;line-height:1.45}.dbfNearbyLocation strong{display:block;color:#244b52;font-size:13px}
.dbfNearbySecondary,.dbfNearbyPrimary,.dbfNearbyDanger{border:0;border-radius:14px;padding:12px 16px;font:850 13px/1 inherit;cursor:pointer}
.dbfNearbyPrimary{background:linear-gradient(135deg,#10b8a8,#07989b);color:#fff;box-shadow:0 10px 22px rgba(9,156,151,.2)}
.dbfNearbySecondary{border:1px solid #cae3e2;background:#fff;color:#187b78}.dbfNearbyDanger{border:1px solid #f1cccc;background:#fff4f4;color:#b84646}
.dbfNearbyPrimary:disabled,.dbfNearbySecondary:disabled{opacity:.55;cursor:wait}
.dbfNearbyConsent{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #dce9e8;border-radius:15px;background:#fff;color:#557176;font-size:12px;line-height:1.45;cursor:pointer}.dbfNearbyConsent input{appearance:none;-webkit-appearance:none;position:relative;width:22px;height:22px;flex:0 0 22px;margin:0;border:2px solid #9bcac6;border-radius:6px;background:#fff;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.dbfNearbyConsent input:checked{border-color:#0aa59b;background:#0aa59b}.dbfNearbyConsent input:checked::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.dbfNearbyConsent input:focus-visible{outline:3px solid rgba(14,170,167,.22);outline-offset:2px}.dbfNearbyConsent:has(input:checked){border-color:#8bd1ce;background:#f3fcfa}
.dbfNearbyLocationTools{display:grid;gap:10px}.dbfNearbyLocationActions{display:flex;flex-wrap:wrap;gap:8px}.dbfNearbyLocationActions .dbfNearbySecondary{flex:1 1 180px}.dbfNearbyLocationFields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dbfNearbyLocationFields .dbfNearbyField>span{font-size:11px}.dbfNearbyLocationSuggestions{display:grid;gap:6px}.dbfNearbyLocationSuggestion{width:100%;padding:10px 11px;border:1px solid #d2e7e5;border-radius:12px;background:#fff;color:#315a60;text-align:left;font:600 12px/1.4 inherit;cursor:pointer}.dbfNearbyLocationSuggestion:hover{border-color:#0fa99f;background:#effbf9}.dbfNearbyLocationSuggestion strong{display:block;color:#087d77}.dbfNearbyLocationSuggestion small{display:block;margin-top:2px;color:#698388}
.dbfNearbySubmitBar{position:sticky;bottom:-12px;z-index:2;display:grid;gap:8px;margin:0 -4px -8px;padding:15px 4px calc(8px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(243,252,250,0),#f3fcfa 28%)}
.dbfNearbySubmitBar span{text-align:center;color:#5c777c;font-size:11px;font-weight:750}.dbfNearbySubmitBar .dbfNearbyPrimary{width:100%;min-height:48px}
.dbfNearbyTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:15px;padding:5px;border:1px solid #d7e9e8;border-radius:16px;background:#f1f8f7}
.dbfNearbyTab{border:0;border-radius:12px;background:transparent;padding:10px 7px;color:#60777c;font:850 12px/1 inherit;cursor:pointer}.dbfNearbyTab.is-active{background:#fff;color:#078f88;box-shadow:0 3px 12px rgba(23,70,75,.09)}
.dbfNearbyStatus{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px;padding:12px 13px;border:1px solid #d4eee9;border-radius:16px;background:#edfbf7}
.dbfNearbyStatus strong{font-size:13px}.dbfNearbyStatus span{display:block;margin-top:3px;color:#627d82;font-size:11px}.dbfNearbyLive{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#17c98c;box-shadow:0 0 0 4px rgba(23,201,140,.12)}
.dbfNearbyCards{display:grid;gap:10px}.dbfNearbyCard{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:start;padding:13px;border:1px solid #d8e9e8;border-radius:18px;background:#fff;box-shadow:0 5px 18px rgba(21,67,72,.05)}.dbfNearbyCard.is-map-focused{border-color:#0eaaa7;box-shadow:0 0 0 3px rgba(14,170,167,.18),0 8px 22px rgba(21,67,72,.12)}
.dbfNearbyAvatar{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:linear-gradient(145deg,#d9fbf4,#e8e1ff);color:#087e79;font-size:17px;font-weight:900}
.dbfNearbyCard h3{margin:2px 0 5px;font-size:15px}.dbfNearbyMeta{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}.dbfNearbyMeta span{padding:5px 7px;border-radius:999px;background:#edf8f6;color:#42726f;font-size:10px;font-weight:800}
.dbfNearbyCard p{margin:0;color:#627a80;font-size:12px;line-height:1.45}.dbfNearbyCardActions{display:flex;flex-direction:column;gap:7px}
.dbfNearbyEmpty{padding:34px 18px;text-align:center;border:1px dashed #cde2e0;border-radius:19px;background:rgba(255,255,255,.7);color:#627b80}.dbfNearbyEmpty b{display:block;margin-bottom:6px;color:#274e55;font-size:15px}
.dbfNearbyError,.dbfNearbySuccess{margin-bottom:12px;padding:11px 13px;border-radius:14px;font-size:12px;font-weight:700}.dbfNearbyError{background:#fff0f0;color:#a83b3b}.dbfNearbySuccess{background:#eafbf4;color:#08765c}
.dbfNearbyChatHead{display:flex;align-items:center;gap:10px;margin-bottom:12px}.dbfNearbyChatHead h3{margin:0;font-size:16px}
.dbfNearbyMessages{display:flex;flex-direction:column;gap:8px;min-height:220px;max-height:48dvh;overflow:auto;padding:12px;border:1px solid #d9e9e8;border-radius:16px;background:#f8fbfb}
.dbfNearbyMessage{align-self:flex-start;max-width:82%;padding:9px 11px;border-radius:14px 14px 14px 4px;background:#fff;color:#35545a;font-size:13px;line-height:1.45;box-shadow:0 2px 8px rgba(17,64,69,.06)}.dbfNearbyMessage.is-me{align-self:flex-end;border-radius:14px 14px 4px 14px;background:#0da49a;color:#fff}
.dbfNearbyCompose{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:9px}.dbfNearbyCompose input{min-width:0;border:1px solid #d1e5e3;border-radius:14px;padding:12px;font:600 14px inherit}
.dbfNearbyTinyActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.dbfNearbyTinyActions button{padding:9px 11px;font-size:11px}
@media(max-width:640px){
  .dbfNearbyLayer{padding:0;place-items:end}.dbfNearbyShell{width:100%;max-height:94dvh;border-radius:28px 28px 0 0}.dbfNearbyBody{padding:14px 14px calc(22px + env(safe-area-inset-bottom))}
  .dbfNearbyGrid{grid-template-columns:1fr}.dbfNearbyLocationFields{grid-template-columns:1fr}.dbfNearbyCard{grid-template-columns:auto 1fr}.dbfNearbyCardActions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.dbfNearbyHead{padding:14px}.dbfNearbyHead h2{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.dbfNearbyLayer{backdrop-filter:none}}
