[hidden]{display:none!important}
.branches-section{padding:20px 0 90px;scroll-margin-top:25px}
.branch-count{display:inline-block;border:1px solid #dce5d4;background:#f2f7e9;padding:9px 16px;border-radius:30px;font-size:12px;white-space:nowrap}
.branch-tools{display:grid;grid-template-columns:2fr 1fr auto;align-items:end;gap:14px;margin-bottom:22px}
.branch-tools input,.branch-tools select{min-height:44px;border-radius:4px}
.branch-outline{border:1px solid #d6dfce;background:white;color:#29382c;padding:11px 14px;font:inherit;font-size:11px;border-radius:4px;min-height:40px}
.branch-outline:hover{background:#eff8dd;border-color:#99ba60}
.branch-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px;align-items:start}
.branch-map-panel{position:sticky;top:20px;min-width:0;border:1px solid #dfe6d9;border-radius:8px;overflow:hidden;background:#f3f6ef}
.branch-map{height:590px;background:#e8eee2;direction:ltr;z-index:0}
.branch-editor-map{height:330px;min-height:250px;background:#e8eee2;border:1px solid #dbe3d5;border-radius:5px;direction:ltr;isolation:isolate}
.map-caption{padding:12px 16px;margin:0;font-size:11px;color:#6c7b67;line-height:1.9}
.map-status{padding:10px 14px;margin:0;background:#fff4d8;color:#6c5016;font-size:11px;line-height:1.8}
.branch-list{max-height:635px;overflow:auto;overscroll-behavior:contain;padding:1px 2px 5px}
.branch-card{padding:22px;margin-bottom:14px;border:1px solid #e0e6da;border-radius:7px;background:#fff;transition:border-color .2s,box-shadow .2s;scroll-margin-top:20px}
.branch-card.selected{border-color:#84a94d;box-shadow:0 0 0 2px #c9fa5255}
.branch-card-heading{display:flex;justify-content:space-between;font-size:11px;color:#74856c}
.branch-dot{color:#90b63e}.branch-card h3{font-size:18px;margin:10px 0}
.branch-address{font-size:12px;line-height:2;color:#53644e;white-space:pre-line}
.branch-details{margin:15px 0;border-top:1px solid #edf0e9;padding-top:10px;font-size:11px}
.branch-details>div{display:grid;grid-template-columns:65px minmax(0,1fr);gap:9px;padding:4px 0;line-height:1.9}
.branch-details dt{color:#85917d}.branch-details dd{margin:0;overflow-wrap:anywhere}
.branch-details a{display:inline-block;color:#385629;text-decoration:underline;text-underline-offset:3px}
.branch-description{font-size:11px;line-height:2;color:#72806a;white-space:pre-line}
.branch-card-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:16px;font-size:11px}
.branch-card-actions>a{color:#526d36;font-weight:700}
.branch-pin{background:transparent;border:0}
.branch-pin>span{display:grid;place-items:center;width:34px;height:34px;background:#25392b;border:3px solid #c9fa52;border-radius:50% 50% 50% 0;transform:rotate(-45deg);color:#d2fa7c;box-shadow:0 3px 8px #1b2a3a40;font-size:18px}
.branch-popup{font-family:Vazirmatn,Tahoma,sans-serif;text-align:right;min-width:160px;max-width:240px;line-height:1.8}
.branch-popup p{margin:7px 0}.branch-popup button{border:0;background:#edf6df;color:#344b24;padding:8px;font:inherit;font-size:11px;cursor:pointer}
.branch-empty{padding:35px 20px;text-align:center;background:#f6f8f2;border:1px dashed #dce5d2;margin-top:16px;font-size:12px;line-height:2;color:#6e7e64}
.branch-admin-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:12px}
.branch-admin-heading .modal-button{margin:0}.branch-admin-actions{display:flex;gap:7px;flex-shrink:0}
.branch-form-error{padding:12px;background:#fff0eb;color:#9c3420;font-size:12px;line-height:2}
#branchLocationStatus{font-size:11px;line-height:1.8;margin:6px 0;color:#657d4d}
.leaflet-container{font-family:Vazirmatn,Tahoma,sans-serif}.leaflet-control-attribution{font-family:Arial,sans-serif;font-size:10px}
button:focus-visible,a:focus-visible{outline:2px solid #668e36;outline-offset:3px}
@media(max-width:900px){.branch-layout{grid-template-columns:1fr}.branch-map-panel{position:static}.branch-map{height:400px}.branch-list{max-height:none;display:grid;grid-template-columns:1fr 1fr;gap:14px}.branch-card{margin:0}.branch-tools{grid-template-columns:1fr 1fr}.branch-tools>button{grid-column:1/-1}.branch-count{margin-top:15px}}
@media(max-width:550px){.branches-section{padding-bottom:55px}.branch-tools,.branch-list{grid-template-columns:1fr}.branch-map{height:350px}.branch-editor-map{height:290px}.branch-card{padding:18px}.branch-card-actions{gap:8px}.branch-tools>button{grid-column:auto}}
