.pb-community { color:var(--ink,#2a2a28); min-width:0; }
.pb-community .screen-header { display:flex; justify-content:space-between; gap:8px; align-items:center; margin-bottom:16px; }
.pb-community .screen-header h1 { font-size:1.12rem; margin:0; }
.pb-community-symbol,.pb-map-type { width:40px; height:40px; border-radius:12px; display:grid; place-items:center; color:var(--primary,#1f4d3a); background:#e4ecdf; flex:none; }
.pb-community :is(textarea,select,input:not([type=checkbox],[type=radio])) { max-width:100%; width:100%; box-sizing:border-box; padding:9px 12px; border:1px solid var(--border,#f1e7d3); border-radius:10px; background:#fffdf9; color:inherit; font:inherit; min-width:0; }
.pb-community textarea { resize:vertical; }
.pb-community .field { display:grid; gap:5px; font-size:.9rem; min-width:0; }
.pb-community .btn { line-height:1.65; min-width:0; white-space:normal; }
.pb-community h2 { font-size:1.08rem; }
.pb-community h3 { font-size:1rem; }
.pb-community p,.pb-community h2,.pb-community h3 { margin-block:0; }
.pb-community details > summary { cursor:pointer; font-weight:700; color:var(--primary,#1f4d3a); padding-block:5px; }
.pb-community details[open] > summary { margin-bottom:12px; }
.pb-community :is(.pb-cm-tools,.pb-cm-search,.pb-cm-map-filters) { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.pb-cm-search { margin-block:10px; }
.pb-cm-search .field,.pb-cm-map-filters .field { flex:1 1 145px; }
.pb-cm-error { margin:0 0 12px; }
.pb-cm-tabs { display:flex; gap:5px; padding:4px; margin-block-end:14px; border:1px solid var(--border,#f1e7d3); border-radius:13px; background:#fff; }
.pb-cm-tabs .btn { flex:1; font-size:.8rem; min-height:40px; padding:6px 3px; }
.pb-cm-tabs [aria-pressed=true] { background:var(--primary,#1f4d3a); color:#fff; }
.pb-cm-post { display:grid; gap:12px; }
.pb-cm-post header small,.pb-cm-list small,.pb-map-card small { display:block; color:var(--muted,#556259); }
.pb-cm-post .pb-post-body { overflow-wrap:anywhere; white-space:pre-wrap; }
.pb-cm-photo { width:100%; max-height:480px; object-fit:contain; border-radius:var(--radius,16px); background:#fbf6ec; }
.pb-cm-post .pb-cm-tools { justify-content:space-between; border-block-start:1px solid var(--border,#f1e7d3); padding-block-start:6px; }
.pb-cm-tools [aria-pressed=true] { color:#9b4022; }
.pb-cm-list { list-style:none; margin:0; padding:0; }
.pb-cm-list li { display:flex; gap:8px; align-items:center; justify-content:space-between; flex-wrap:wrap; border-bottom:1px solid var(--border,#f1e7d3); padding:10px 0; }
.pb-cm-list .btn { padding:5px 10px; min-height:34px; font-size:.8rem; }
.pb-cm-list code { overflow-wrap:anywhere; max-width:100%; white-space:normal; font-size:.76rem; color:#54705c; }
.pb-map-panel [hidden], .pb-community [hidden] { display:none; }
.pb-cm-map { height:clamp(260px,55vh,520px); width:100%; border:1px solid var(--border,#f1e7d3); border-radius:var(--radius,16px); background:#e6ecdf; z-index:0; direction:ltr; }
.pb-map-card { align-items:flex-start; }
.pb-map-card a { text-decoration:underline; color:var(--primary,#1f4d3a); }
.pb-marker-cluster { display:grid; place-items:center; background:#e8b477e6; border:2px solid #fff; color:#372a1f; font-weight:800; border-radius:50%; box-shadow:0 1px 5px #0003; }
.pb-marker { display:grid; place-items:center; }
.pb-marker > span { display:block; width:23px; height:23px; border-radius:50% 50% 2px 50%; background:#1f4d3a; border:2px solid white; transform:rotate(45deg); box-shadow:1px 2px 4px #0004; }
.pb-cm-map :is(.leaflet-popup,.pb-marker-cluster) { font-family:var(--font,Vazirmatn,Tahoma,sans-serif); }
@media(max-width:360px){.pb-cm-tools .btn { font-size:.76rem; }.pb-cm-map-filters .field { flex-basis:100%; }}
