.dg-community-location-dialog{box-sizing:border-box;width:min(36rem,calc(100% - var(--dg-space-6)));max-width:calc(100% - var(--dg-space-6));max-height:calc(100dvh - var(--dg-space-6));padding:var(--dg-space-5);border:1px solid var(--dg-border);border-radius:var(--dg-radius-xl);background:var(--dg-surface);color:var(--dg-text);box-shadow:var(--dg-shadow-float);overflow:auto}
.dg-community-location-dialog::backdrop{background:rgb(15 20 25 / .5);backdrop-filter:blur(3px)}
.dg-community-location-dialog [hidden]{display:none!important}
.dg-community-location-dialog form{margin:0}
.dg-community-location-dialog header,.dg-community-location-dialog footer,.dg-community-location-search-row,.dg-community-location-tools{display:flex;align-items:center;gap:var(--dg-space-3)}
.dg-community-location-dialog header{justify-content:space-between;margin-bottom:var(--dg-space-4)}
.dg-community-location-dialog h2{margin:0;font-size:var(--dg-font-heading-sm);font-weight:var(--dg-font-weight-bold);line-height:1.4}
.dg-community-location-dialog h3{margin:0;font-size:var(--dg-font-body-md);font-weight:var(--dg-font-weight-bold);line-height:1.5}
.dg-community-location-dialog button{box-sizing:border-box;min-height:var(--dg-control-sm);min-width:var(--dg-control-sm);padding:var(--dg-space-2) var(--dg-space-3);border:1px solid var(--dg-border-strong);border-radius:var(--dg-radius-md);background:var(--dg-surface);color:var(--dg-text);font:inherit;font-size:var(--dg-font-body-md);font-weight:var(--dg-font-weight-bold);cursor:pointer}
.dg-community-location-dialog button:disabled{opacity:.55;cursor:wait}
.dg-community-location-dialog button[type=submit]{background:var(--dg-accent);border-color:var(--dg-accent);color:var(--dg-color-gray-0)}
.dg-community-location-dialog label{display:block;margin-block:var(--dg-space-3) var(--dg-space-2);font-size:var(--dg-font-body-md);font-weight:var(--dg-font-weight-bold)}
.dg-community-location-dialog input{box-sizing:border-box;width:100%;min-width:0;min-height:var(--dg-control-lg);padding:var(--dg-space-3);border:1px solid var(--dg-border-strong);border-radius:var(--dg-radius-md);background:var(--dg-surface);color:var(--dg-text);font:inherit;font-size:var(--dg-font-body-md)}
.dg-community-location-tools{flex-wrap:wrap;margin-top:var(--dg-space-4)}
.dg-community-location-search-row>button{flex:0 0 auto;white-space:nowrap}
.dg-community-location-note,.dg-community-location-dialog [role=status]{margin-block:var(--dg-space-3);font-size:var(--dg-font-body-sm);color:var(--dg-text-muted);line-height:1.5;overflow-wrap:anywhere}
.dg-community-location-dialog [data-place-map]{height:18rem;margin-top:var(--dg-space-3);border:1px solid var(--dg-border);border-radius:var(--dg-radius-md);isolation:isolate;overflow:hidden}
.dg-community-location-dialog .leaflet-control-attribution{font-size:var(--dg-font-body-xs)}
.dg-community-location-dialog .leaflet-control-zoom a{box-sizing:border-box;width:var(--dg-control-sm);height:var(--dg-control-sm);min-height:var(--dg-control-sm);line-height:var(--dg-control-sm);font-size:var(--dg-font-heading-md)}
.dg-community-location-pin{color:var(--dg-accent)}
.dg-community-location-pin svg{display:block;width:100%;height:100%}
.dg-community-location-result{display:flex!important;flex-direction:column;align-items:flex-start;width:100%;margin-top:var(--dg-space-2);gap:var(--dg-space-1);text-align:start;overflow-wrap:anywhere}
.dg-community-location-result span{font-size:var(--dg-font-body-sm);color:var(--dg-text-muted);font-weight:var(--dg-font-weight-regular)}
.dg-community-location-preview{display:grid;gap:var(--dg-space-2);margin-top:var(--dg-space-4);padding:var(--dg-space-4);border:1px solid var(--dg-border);border-radius:var(--dg-radius-md);background:var(--dg-surface-soft);font-size:var(--dg-font-body-md);overflow-wrap:anywhere}
.dg-community-location-preview [data-place-coordinates]{font-size:var(--dg-font-body-sm);color:var(--dg-text-muted)}
.dg-community-location-preview button{justify-self:start}
.dg-community-location-dialog footer{justify-content:flex-end;margin-top:var(--dg-space-4)}
.dg-community-location-dialog footer button[type=submit]{flex:1}
@media(max-width:480px){.dg-community-location-dialog{width:100%;max-width:100%;max-height:100dvh;margin:0;padding:var(--dg-space-4);border-radius:0;border:0}.dg-community-location-dialog [data-place-map]{height:15rem}.dg-community-location-tools{display:grid;grid-template-columns:1fr 1fr}.dg-community-location-search-row{gap:var(--dg-space-2)}}
