:root{--ink:#18312f;--muted:#71827e;--line:#e2e9e5;--surface:#fff;--canvas:#f4f7f4;--primary:#14644e;--primary-dark:#0d493a;--lime:#c9f58a;--radius:16px;--header:76px;--rail:80px;--filter:316px;--shadow:0 8px 32px #193c3112;font-family:Inter,"Segoe UI",Tahoma,Arial,sans-serif;color:var(--ink);font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,select,textarea{font:inherit}button,a,input,select,summary{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}a{color:var(--primary);text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}button,input,select,textarea{outline-offset:3px}input,select,textarea{accent-color:var(--primary)}:focus-visible{outline:3px solid #2c9e7e}h1{font-size:30px;letter-spacing:-1.1px;font-weight:650}h2{font-size:18px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.65}small{font-size:11px}[hidden]{display:none!important}.icon{width:20px;height:20px;display:block;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted)}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:var(--muted);display:block}.accent-dot{color:var(--primary)}.skip-link{position:absolute;top:-100px;left:20px;z-index:10000;background:white;padding:12px}.skip-link:focus{top:8px}
.app-header{height:var(--header);background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 26px 0 21px;gap:30px;position:relative;z-index:1200}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:21px;font-weight:750;letter-spacing:-.7px;flex-shrink:0;width:calc(var(--rail) + var(--filter) - 21px - 30px)}.brand-light{font-weight:400;margin-left:2px}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:600;color:var(--muted);margin-top:3px}.brand-icon{display:grid;place-items:center;width:37px;height:42px;background:var(--primary-dark);color:#c4f6b6;border-radius:13px}.brand-icon .icon{width:24px;height:24px}.header-location{display:flex;gap:14px;align-items:center;font-size:12px;flex:1}.header-location strong{font-weight:550}.slash{color:#c3d0c8}.header-actions{display:flex;align-items:center;gap:12px}.header-actions form{margin:0}.user-name{font-size:12px;font-weight:550;max-width:120px;overflow:hidden;text-overflow:ellipsis}.avatar{width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;background:#eaf0df;color:#4a6243;font-weight:700;font-size:12px;flex-shrink:0}.header-actions>.avatar{margin-left:12px}.button{border:1px solid transparent;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 15px;border-radius:11px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .18s,transform .18s}.button .icon{width:17px;height:17px}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--primary);color:white}.button.primary:hover{background:var(--primary-dark)}.button.outline{background:white;border-color:var(--line);color:var(--ink)}.button.outline:hover{background:#f0f5f1}.button.dark{background:var(--ink);color:white}.button.subtle{background:transparent;color:var(--muted)}.button.subtle:hover{background:var(--canvas)}.button.small{min-height:34px;padding:0 12px;font-size:11px}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;background:transparent;border:0;border-radius:10px;flex-shrink:0}.icon-button:hover{background:#edf2ed}.button-count{padding:3px 7px;border-radius:5px;background:#ffffff20;font-size:10px;font-weight:600}.text-button{background:none;border:0;color:var(--primary);font-size:10px;padding:5px 0;font-weight:650}.text-button:hover{text-decoration:underline}.app-shell{display:flex;min-height:calc(100dvh - var(--header))}.nav-rail{width:var(--rail);background:#152b30;color:#b2c4c1;padding:23px 10px;display:flex;flex-direction:column;gap:16px;flex-shrink:0;z-index:1100}.rail-item{display:flex;flex-direction:column;align-items:center;justify-content:center;width:60px;height:59px;gap:7px;border-radius:15px;color:#9eb4b2;font-size:9px;font-weight:500}.rail-item .icon{width:21px;height:21px}.rail-item:hover{background:#ffffff0a;color:#fff}.rail-item.active{background:#c6efb41c;color:#c8f59c}.rail-item.active:before{content:"";height:24px;width:3px;border-radius:3px;background:#c8f59c;position:absolute;left:0}.rail-bottom{margin-top:auto;padding-top:30px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:8px;letter-spacing:.2px;color:#86a49c}.rail-bottom .icon{width:18px;height:18px}
.explorer-page{height:100dvh;overflow:hidden}.explorer-page .app-shell{height:calc(100dvh - var(--header));min-height:0}.filter-panel{width:var(--filter);background:var(--surface);border-right:1px solid var(--line);padding:27px 22px 0;overflow-y:auto;flex-shrink:0;display:flex;flex-direction:column;scrollbar-width:thin}.filter-heading{display:flex;justify-content:space-between;margin-bottom:21px}.filter-heading h1{font-size:25px;letter-spacing:-.8px;margin-top:7px}.filter-heading p{font-size:11px;color:var(--muted);margin-top:6px}.search-box{height:43px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:9px;padding:0 11px;background:#f9fbf9}.search-box .icon{width:17px;color:#8b9b94}.search-box input{border:0;min-width:0;flex:1;background:transparent;outline:none;font-size:11px;padding:7px 0}.search-box:focus-within{border-color:var(--primary)}.search-box kbd{font-family:inherit;font-size:10px;color:#a2b0a8;border:1px solid var(--line);border-radius:4px;padding:1px 4px;background:#fff}.scope-note{display:flex;align-items:center;gap:6px;font-size:9px;color:#88998f;margin:12px 2px 22px}.scope-note .icon{width:12px;height:12px}.filter-section{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-heading h2{font-size:12px;font-weight:700;letter-spacing:0}.city-options{display:flex;flex-direction:column;gap:3px}.city-option{display:flex;align-items:center;gap:9px;min-height:33px;padding:3px 6px;border-radius:8px;cursor:pointer}.city-option:hover{background:#f4f7f2}.city-option:has(input:checked){background:#e9f4e8}.city-option input{width:14px;height:14px;margin:0}.city-name{font-size:11px;font-weight:550;min-width:0}.city-name small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:2px}.city-count{margin-left:auto;font-size:10px;color:#7e9188;background:#f1f5ef;padding:3px 6px;border-radius:5px;font-variant-numeric:tabular-nums}.field-hint{font-size:10px;line-height:1.6;color:#8b998f;margin-top:9px}.small-pill{border-radius:5px;background:#f1f5ed;padding:4px 6px;color:#6a7c66;font-size:9px;white-space:nowrap}.field-label{display:block;font-size:10px;font-weight:550;color:#6b7e74;margin:13px 0 7px}.field-row{display:flex;gap:10px}.field-row>div{min-width:0;flex:1}select{width:100%;height:37px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 25px 0 10px;color:#4c6357;font-size:10px;text-overflow:ellipsis}.more-filters summary{margin-top:18px;font-size:11px;cursor:pointer;display:flex;justify-content:space-between;list-style:none;color:#5a7162}.more-filters summary::-webkit-details-marker{display:none}.more-filters summary span{font-size:15px}.more-filters[open] summary span{transform:rotate(45deg)}.filter-actions{display:flex;gap:9px;padding-bottom:20px}.filter-actions .button{font-size:11px;min-height:39px;padding:0 11px}.filter-actions .primary{flex:1}.filter-footer{margin-top:auto;border-top:1px solid var(--line);padding:18px 0;display:flex;align-items:center;gap:8px;font-size:9px;color:var(--muted)}.live-dot{width:6px;height:6px;background:#5aa777;border-radius:50%;display:inline-block;flex-shrink:0;box-shadow:0 0 0 3px #63ac7c14}.skeleton{height:29px;margin:2px 0;border-radius:7px;background:linear-gradient(100deg,#f2f5f0 30%,#e7eee6 50%,#f2f5f0 70%);background-size:200% 100%;animation:shine 1.5s infinite}@keyframes shine{to{background-position:-200% 0}}.explorer-main{flex:1;min-width:0;display:flex;flex-direction:column;padding:23px 24px 22px;overflow:hidden}.explorer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:21px}.toolbar-title h2{font-size:23px;font-weight:650;letter-spacing:-.7px;margin-top:5px}.toolbar-title h2 span{font-size:11px;font-weight:450;letter-spacing:0;margin-left:10px;color:var(--muted)}.toolbar-title .eyebrow{font-size:8px}.toolbar-actions{display:flex;gap:8px;align-items:center}.metric{display:flex;align-items:center;gap:12px;padding:0 19px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric-label{font-size:10px;color:var(--muted);display:block;margin-bottom:6px;white-space:nowrap}.metric strong{font-size:24px;font-weight:650;letter-spacing:-.7px;font-variant-numeric:tabular-nums;line-height:1.1}.metric-icon{display:grid;place-items:center;width:39px;height:44px;border-radius:12px;flex-shrink:0}.green{background:#edf4e7;color:#719a4c}.blue{background:#edf3f6;color:#6c93ad}.amber{background:#faf3e5;color:#bba067}.violet{background:#f1edf7;color:#9a87b3}.metric-icon .icon{width:20px;height:20px}.map-workspace{display:flex;flex:1;min-height:0;gap:14px}.map-section{position:relative;flex:1;min-width:0;border:1px solid #d9e2d7;border-radius:18px;overflow:hidden;background:#e8eee5;isolation:isolate}#map{width:100%;height:100%;z-index:0;background:#e8eee5}.leaflet-container{font:inherit}.leaflet-tile-pane{filter:none}.leaflet-control-attribution{font-size:8px!important;background:#ffffffdd!important;padding:2px 5px!important}.leaflet-control-zoom{border:1px solid #dbe4d8!important;box-shadow:0 3px 14px #293c2a12!important;border-radius:11px!important;overflow:hidden}.leaflet-control-zoom a{border-color:var(--line)!important;color:var(--ink)!important;width:33px!important;height:33px!important;line-height:33px!important;font-size:20px!important}.leaflet-bottom.leaflet-right{margin-bottom:37px;margin-right:10px}.leaflet-bottom.leaflet-right .leaflet-control-attribution{margin-bottom:-37px;margin-right:-10px}.map-topbar{position:absolute;top:15px;left:15px;right:15px;z-index:450;display:flex;justify-content:space-between;gap:12px;pointer-events:none}.map-label,.map-button{display:flex;align-items:center;gap:9px;min-height:35px;background:#ffffffed;box-shadow:0 3px 12px #27432e0c;border:1px solid #e1e9dd;border-radius:9px;padding:0 12px;font-size:10px;pointer-events:auto}.map-label strong{font-size:11px;font-weight:650}.map-label>span:last-child{color:var(--muted);border-left:1px solid var(--line);padding-left:9px}.map-button .icon{width:15px;height:15px}.map-button:hover{background:white}.map-options{position:absolute;top:62px;left:15px;z-index:450;border-radius:8px;background:#ffffffec;border:1px solid var(--line);padding:8px 10px;font-size:9px;box-shadow:0 3px 12px #27432e07}.map-options label{display:flex;align-items:center;gap:6px;cursor:pointer}.map-options input{margin:0;width:12px;height:12px}.map-legend{position:absolute;left:15px;bottom:19px;z-index:450;display:flex;gap:12px;align-items:center;padding:10px 13px;background:#fffffff2;border-radius:10px;border:1px solid var(--line);box-shadow:var(--shadow);font-size:9px}.map-legend>span{display:flex;align-items:center;gap:5px}.map-legend>span:first-child{font-size:7px;color:var(--muted);font-weight:650;letter-spacing:1px;border-right:1px solid var(--line);padding-right:10px}.grade-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#94a3a0;flex-shrink:0}.grade-a{background:#238a66}.grade-b{background:#428fbe}.grade-c{background:#c99a3e}.grade-d{background:#c86f68}.grade-other{background:#889a94}.pin-marker{background:none;border:0}.store-pin{width:25px;height:25px;background:var(--pin-color,#889a94);border:2px solid white;box-shadow:0 3px 9px #172d3040;border-radius:50% 50% 50% 5px;transform:rotate(-45deg);display:flex;align-items:center;justify-content:center}.store-pin:after{content:'';width:6px;height:6px;border:1.5px solid white;border-radius:50%;opacity:.9}.atlas-cluster{background:transparent}.atlas-cluster>div{width:40px;height:40px;border:5px solid #e0eadb;background:#285f4c;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:650;border-radius:50%;box-shadow:0 2px 7px #1c3a2426}.atlas-cluster.large>div{width:48px;height:48px;background:#173e35;border-color:#d7e5cd}.leaflet-tooltip{border-radius:7px!important;padding:6px 9px!important;font-size:11px;max-width:240px;white-space:normal;direction:rtl}.map-loading{position:absolute;z-index:600;inset:0;background:#f4f7f0c9;backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;gap:12px;color:#576a5b;font-size:12px}.spinner{height:18px;width:18px;border:2px solid #d0ddd0;border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.map-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:500;width:min(350px,85%);text-align:center;padding:28px 24px;background:#fffffff2;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.empty-symbol{display:inline-grid;place-items:center;width:45px;height:45px;background:#edf3e7;border-radius:15px;margin-bottom:15px;color:#6d8d60}.map-empty h3{font-size:16px}.map-empty p{font-size:11px;color:var(--muted);margin:9px 0 17px}.map-empty .button{min-height:35px;font-size:10px}.map-error{position:absolute;top:110px;left:15px;right:15px;z-index:700;background:#fff6e5;color:#7b5a2a;border:1px solid #ead7b4;box-shadow:var(--shadow);border-radius:11px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}.results-panel{width:290px;background:white;border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;flex-shrink:0;overflow:hidden}.results-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 16px;border-bottom:1px solid var(--line)}.results-heading h3{font-size:13px}.results-heading p{font-size:10px;color:var(--muted);margin-top:4px}.store-list{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.store-card{padding:16px;text-align:left;background:white;border:0;border-bottom:1px solid var(--line);width:100%;display:block;white-space:normal}.store-card:hover{background:#f4f8f1}.store-card.selected{background:#edf5e7;border-left:3px solid var(--primary);padding-left:13px}.store-card .card-top{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:9px}.store-card .uid{font-size:9px;color:var(--muted);font-family:ui-monospace,monospace}.grade-badge{font-size:9px;background:#f0f4ee;border-radius:5px;padding:4px 7px;display:inline-flex;align-items:center;gap:5px}.store-card h3{font-size:12px;font-weight:600;direction:rtl;text-align:start;line-height:1.8;margin-bottom:6px;overflow-wrap:anywhere}.store-card .address{font-size:10px;color:var(--muted);direction:rtl;text-align:start;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-bottom{font-size:9px;color:#859487;margin-top:11px;display:flex;align-items:center;justify-content:space-between;gap:7px}.no-location{font-size:8px;color:#b58c54;background:#fbf3e7;padding:3px 5px;border-radius:4px}.pagination{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:6px 12px;font-size:10px;color:var(--muted)}.directory-empty{padding:35px 22px;text-align:center;color:var(--muted);font-size:12px}.detail-dialog{position:fixed;right:21px;left:auto;top:calc(var(--header) + 17px);bottom:20px;margin:0;width:390px;max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--header) - 37px);padding:0;border:1px solid var(--line);border-radius:20px;background:white;box-shadow:0 25px 90px #0d282957;color:var(--ink);z-index:3000}.detail-dialog::backdrop{background:#0c252439;backdrop-filter:blur(2px)}.detail-top{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#fff;border-bottom:1px solid var(--line);z-index:1}.detail-hero{padding:23px 23px 20px;background:#f5f8f2}.detail-hero h2{font-size:23px;line-height:1.8;margin:12px 0 6px;text-align:start;overflow-wrap:anywhere}.detail-hero .detail-uid{font-family:ui-monospace,monospace;color:#7e8e7f;font-size:11px}.detail-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.tag{display:inline-block;border:1px solid var(--line);border-radius:6px;padding:5px 8px;background:#f8faf6;color:#66775e;font-size:10px}.tag-list{display:flex;flex-wrap:wrap;gap:6px;max-width:450px}.detail-body{padding:9px 23px 24px}.detail-field{padding:12px 0;border-bottom:1px solid #edf1e9;display:grid;grid-template-columns:103px minmax(0,1fr);gap:12px}.detail-field dt{font-size:10px;color:var(--muted);margin-top:3px}.detail-field dd{margin:0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.detail-fields{margin:0}.detail-actions{display:flex;gap:8px;padding:0 23px 23px;flex-wrap:wrap}.detail-actions .button{flex:1;font-size:11px}.detail-error{padding:30px;font-size:13px}.detail-loading{padding:40px;display:flex;align-items:center;gap:12px}.mobile-only,.mobile-filter{display:none}.mobile-backdrop{position:fixed;inset:var(--header) 0 0;background:#132e3266;z-index:1399;backdrop-filter:blur(2px)}
.page-content{flex:1;padding:40px 42px;min-width:0;max-width:1600px;margin:0 auto;width:100%}.page-content.narrow{max-width:940px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading h1{margin-top:8px}.page-heading p{margin-top:10px;color:var(--muted);font-size:12px}.info-banner{display:flex;gap:12px;align-items:center;background:#eaf2e5;border:1px solid #dce6d6;color:#5b7356;border-radius:12px;padding:16px 18px;line-height:1.7;font-size:11px;margin-bottom:24px}.table-card{border:1px solid var(--line);background:white;border-radius:16px;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:600px;text-align:left}th{padding:16px 22px;font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:600;color:var(--muted);border-bottom:1px solid var(--line);background:#fafcf8}td{padding:21px 22px;border-bottom:1px solid var(--line);font-size:12px}tr:last-child td{border:0}td small{display:block;font-size:10px;color:var(--muted);margin-top:6px}td strong{font-size:12px;font-weight:550}.person{display:flex;align-items:center;gap:12px}.status-pill{font-size:9px;color:#42805b;border-radius:6px;padding:5px 9px;background:#ebf5e8}.status-pill.inactive{color:#947a6e;background:#f3ece7}.admin-tag{background:#e7f1e3;color:#487549}.warning-tag{background:#fff5e6;color:#9c7d49}.back-link{display:inline-block;font-size:12px;margin-bottom:25px}.form-card{border:1px solid var(--line);border-radius:19px;background:#fff;padding:30px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 22px}.form-field.full{grid-column:1/-1}.text-input,.form-field input:not([type=checkbox]){border:1px solid var(--line);border-radius:10px;width:100%;padding:11px 12px;font-size:13px;background:#fafcf9;min-height:43px}.form-field .field-label{margin-top:12px}.permission-section{padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:30px}.permission-section .section-heading{margin-bottom:5px}.permission-cities{margin-top:20px}.permission-cities>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.permission-cities label{display:flex;align-items:center;gap:9px;border:1px solid var(--line);padding:13px 14px;border-radius:10px;cursor:pointer;font-size:12px}.permission-cities label:has(input:checked){background:#edf5e7;border-color:#b1cd9e}.permission-cities input{width:15px;height:15px}.checkbox-row{display:flex;align-items:center;gap:8px;font-size:12px;margin:25px 0}.checkbox-row input{width:16px;height:16px}.form-buttons{display:flex;justify-content:flex-end;gap:10px}.errorlist,.form-error{color:#9f3c31;background:#fff0eb;font-size:12px;padding:12px 16px;border-radius:8px;list-style:none;line-height:1.7}.import-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}.upload-card{text-align:center;display:flex;flex-direction:column;align-items:center;padding:35px}.upload-icon{width:56px;height:56px;display:grid;place-items:center;background:#eef5e6;color:#77975c;border-radius:16px;margin-bottom:20px}.upload-icon .icon{width:27px;height:27px}.upload-card h2{font-size:21px}.upload-card p{font-size:12px;color:var(--muted);margin:12px 0}.upload-card .field-label{text-align:left;width:100%;margin-top:25px}.upload-card input{border:1px dashed #c8d7c0;padding:18px 14px;border-radius:12px;width:100%;font-size:11px;background:#fafcf7}.upload-card .button{width:100%;margin-top:22px}.upload-card .field-hint{font-size:10px;margin-bottom:0}.import-explainer{padding:20px 0}.import-explainer>h2{margin-bottom:25px;font-size:19px}.import-explainer>div{display:flex;gap:16px;margin-bottom:25px}.number{background:#e6eedf;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;flex-shrink:0;color:#79986a;font-size:10px}.import-explainer h3{font-size:13px;margin-bottom:7px}.import-explainer p{font-size:12px;color:var(--muted)}.history-heading{margin:35px 0 18px}.empty-cell{text-align:center;color:var(--muted);padding:36px}.messages{position:fixed;right:20px;bottom:20px;max-width:500px;z-index:4000}.message{padding:15px 20px;border-radius:12px;box-shadow:0 5px 30px #15312e20;background:#eef7e7;border:1px solid #cde2be;font-size:12px;line-height:1.7}.message.info{background:#eef4f9;border-color:#d1dfe8}
.login-page{background:#fafbf8}.login-layout{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{position:relative;overflow:hidden;background:#17352f;color:#e4eee6;padding:40px 55px;display:flex;flex-direction:column;isolation:isolate}.login-story .brand{color:#f0f5e9;width:auto;position:relative;z-index:2}.login-story .brand-icon{background:#c5efab;color:#214d3a}.login-story .brand small{color:#86a898}.story-copy{position:relative;z-index:2;margin:auto 0;padding:80px 0 100px}.story-copy .eyebrow{color:#9eb49a;font-size:10px}.story-copy h1{font-size:clamp(45px,4.6vw,70px);line-height:1.12;font-weight:500;letter-spacing:-2.7px;margin:25px 0}.story-copy h1 span{color:#c5efab}.story-copy p{max-width:340px;font-size:13px;color:#9db9ac;line-height:1.9}.story-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:26px}.story-tags span{border:1px solid #ffffff18;border-radius:20px;padding:7px 12px;color:#bfd0bd;font-size:9px}.story-footer{color:#7b9d89;font-size:10px;position:relative;z-index:2}.login-art{position:absolute;z-index:1;width:650px;height:650px;transform:rotate(-28deg);right:-340px;top:30%;opacity:.65}.art-grid{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 69px,#9ac38c12 70px,#9ac38c12 72px),repeating-linear-gradient(90deg,transparent,transparent 69px,#9ac38c12 70px,#9ac38c12 72px);mask-image:linear-gradient(90deg,transparent,black)}.art-pin{position:absolute;display:block;width:35px;height:35px;border-radius:50% 50% 50% 0;background:#b5dd9c;box-shadow:0 0 0 11px #b5dd9c0a;transform:rotate(-17deg)}.art-pin:after{content:'';position:absolute;inset:11px;border-radius:50%;background:#234839}.p1{top:15%;left:40%}.p2{top:45%;left:18%;width:23px;height:23px;background:#84b28c}.p2:after{inset:7px}.p3{top:70%;left:52%}.p4{top:38%;left:73%;background:#d5edb5}.login-form-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 40px;position:relative}.login-card{width:100%;max-width:350px}.login-badge{display:flex;align-items:center;gap:7px;color:#92a087;font-size:8px;font-weight:600;letter-spacing:1.7px}.login-badge .icon{width:13px;height:13px}.login-card h2{font-size:31px;letter-spacing:-1px;margin:20px 0 10px;font-weight:600}.login-card>p{color:var(--muted);font-size:12px;margin-bottom:30px}.login-card .field-label{margin-top:23px;font-size:11px}.login-card input{height:47px;border-radius:10px;background:white}.login-submit{width:100%;margin-top:28px;justify-content:space-between;min-height:47px}.login-footnote{display:flex;gap:9px;align-items:flex-start;padding-top:23px;margin-top:25px;border-top:1px solid var(--line);font-size:10px;line-height:1.7;color:#99a493}.login-footnote .icon{width:14px;height:14px;margin-top:2px}.login-copyright{position:absolute;bottom:28px;color:#a5afa0;font-size:8px;letter-spacing:1.2px}.login-copyright span{padding:0 7px}
@media(min-width:1650px){:root{--filter:340px}.filter-panel{padding:30px 28px 0}.results-panel{width:330px}.explorer-main{padding:27px 30px}}
@media(max-width:1250px){:root{--rail:68px;--filter:280px}.nav-rail{padding:20px 7px}.rail-item{width:54px}.filter-panel{padding:25px 17px 0}.metric{gap:9px;padding:0 13px}.metric-icon{width:31px;height:35px}.metric-label{font-size:9px}.metric strong{font-size:22px}.explorer-main{padding:20px 17px}.header-location{font-size:11px;gap:8px}.header-actions{gap:7px}.header-actions .button.subtle{padding:0 8px}.results-panel{position:absolute;right:17px;top:0;bottom:0;z-index:750;box-shadow:var(--shadow);width:300px}.map-workspace{position:relative}.toolbar-title h2 span{display:none}}
@media(max-width:1050px){.metric-icon{display:none}.header-location{display:none}.header-actions{margin-left:auto}.toolbar-title h2{font-size:21px}.toolbar-actions{gap:5px}.toolbar-actions .button{padding:0 10px}.toolbar-title .eyebrow{font-size:7px}.header-actions .desktop-label{display:none}.page-content{padding:30px 25px}.import-layout{gap:25px}.map-label>span:last-child{display:none}}
@media(max-width:850px){:root{--header:64px;--rail:64px;--filter:310px}.app-header{padding:0 18px}.brand{width:auto;font-size:20px}.brand-icon{width:33px;height:37px;border-radius:11px}.brand small{font-size:7px}.user-name{max-width:80px}.filter-panel{display:none;position:fixed;top:var(--header);bottom:0;left:0;z-index:1400;width:min(350px,90vw);box-shadow:20px 0 50px #133b3225;padding:25px 23px 0}.filter-panel.mobile-open{display:flex}.mobile-only,.mobile-filter{display:inline-flex}.filter-panel.mobile-open .mobile-only{display:inline-grid}.metric-icon{display:grid}.metric strong{font-size:23px}.metric-label{font-size:9px}.explorer-main{padding:18px 18px 20px}.explorer-toolbar{margin-bottom:17px}.toolbar-title h2 span{display:inline}.page-heading h1{font-size:25px}.import-layout{grid-template-columns:1fr}.import-explainer{padding:0 10px}.login-story{padding:30px}.story-copy h1{font-size:48px}.story-copy p{font-size:12px}.login-form-side{padding:40px 30px}}
@media(max-width:600px){:root{--header:62px;--rail:0px}.app-header{padding:0 14px;gap:8px}.header-actions{gap:5px}.header-actions>.avatar{margin:0}.user-name{display:none}.brand{font-size:18px;gap:8px}.brand-icon{width:31px;height:35px}.brand small{font-size:6px;letter-spacing:1.8px}.nav-rail{width:auto;position:fixed;left:0;right:0;bottom:0;height:60px;min-height:60px;flex-direction:row;align-items:center;justify-content:center;padding:2px 12px;gap:24px;z-index:1150;border-top:1px solid #23403c;padding-bottom:env(safe-area-inset-bottom)}.rail-item{width:49px;height:48px;gap:4px;border-radius:10px;font-size:8px}.rail-item.active:before{display:none}.rail-item .icon{width:18px;height:18px}.rail-bottom{display:none}.explorer-page .app-shell{height:calc(100dvh - var(--header) - 60px)}.explorer-main{padding:15px 12px 12px}.explorer-toolbar{gap:9px;margin-bottom:14px;align-items:center}.toolbar-title .eyebrow{font-size:7px;letter-spacing:1.1px}.toolbar-title h2{font-size:20px;letter-spacing:-.5px;margin-top:4px}.toolbar-title h2 span{display:none}.toolbar-actions{gap:5px}.toolbar-actions .button{min-height:34px;padding:0 9px;border-radius:9px;font-size:10px;gap:5px}.toolbar-actions .button .icon{width:15px;height:15px}.toolbar-actions>.icon-button{display:none}.toolbar-actions .desktop-label{display:none}.button-count{display:none}.metric{display:block;padding:0 10px}.metric-icon{display:none}.metric-label{font-size:8px;white-space:normal;line-height:1.4;min-height:22px;margin-bottom:6px}.metric strong{font-size:21px}.map-section{border-radius:14px}.map-topbar{left:10px;right:10px;top:10px}.map-label,.map-button{min-height:31px;padding:0 9px;font-size:9px}.map-options{top:51px;left:10px;font-size:8px;padding:7px 9px}.map-legend{left:10px;bottom:22px;gap:9px;padding:9px;font-size:8px;border-radius:8px}.map-legend>span:first-child{font-size:6px;letter-spacing:.5px;padding-right:7px}.map-legend .grade-dot{height:6px;width:6px}.leaflet-bottom.leaflet-right{margin-right:0;margin-bottom:34px}.leaflet-control-zoom a{height:30px!important;width:29px!important;line-height:30px!important}.leaflet-bottom.leaflet-right .leaflet-control-attribution{margin-right:0;margin-bottom:-34px;font-size:7px!important}.results-panel{left:0;right:0;bottom:0;top:0;width:auto;border-radius:14px}.results-heading{padding:14px 16px}.detail-dialog{right:8px;top:calc(var(--header) + 8px);bottom:68px;max-height:calc(100dvh - var(--header) - 76px);width:calc(100vw - 16px);max-width:none;border-radius:17px}.detail-hero{padding:20px}.detail-hero h2{font-size:21px}.page-content{padding:25px 16px 85px}.page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.page-heading h1{font-size:24px}.page-heading p{font-size:11px}.form-card{padding:22px 18px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.permission-cities>div{grid-template-columns:1fr}.form-buttons{flex-wrap:wrap}.form-buttons .button.primary{flex:1}.info-banner{font-size:10px;padding:13px}.messages{left:12px;right:12px;bottom:74px}.message{font-size:11px;padding:13px 16px}.table-card{border-radius:12px}td,th{padding:16px}.login-layout{display:flex;flex-direction:column}.login-story{padding:25px 25px 30px;min-height:240px}.login-story .brand{font-size:18px}.story-copy{padding:30px 0 0}.story-copy .eyebrow{font-size:7px}.story-copy h1{font-size:35px;line-height:1.1;margin:16px 0 0;letter-spacing:-1px}.story-copy h1 br{display:none}.story-copy h1 span{display:block;margin-top:5px}.story-copy p,.story-tags,.story-footer{display:none}.login-art{top:0;right:-390px}.login-form-side{padding:35px 25px 70px;flex:1}.login-card{max-width:370px}.login-card h2{font-size:27px}.login-card>p{margin-bottom:20px}.login-badge{font-size:7px}.login-copyright{position:static;margin-top:35px}.login-submit{margin-top:25px}.login-footnote{margin-top:20px;padding-top:20px}.login-form-side .field-label{margin-top:18px}.filter-panel{bottom:60px}.mobile-backdrop{bottom:60px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.country-label{text-align:center;white-space:nowrap;color:#a6b6a0;font-size:10px;letter-spacing:2.5px;font-weight:600;pointer-events:none}.country-label span{display:block;transform:translateY(2px)}#map{background:#e2edeb}

/* MapLibre renders only the basemap; Leaflet retains all pin and touch interactions. */
.leaflet-gl-layer{pointer-events:none}.leaflet-gl-layer canvas{outline:none}.maplibregl-control-container{display:none}

/* Navigation permissions and supervisor workflow. */
.section-permissions{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;margin-top:18px}.section-permissions .checkbox-row{margin:6px 0;align-items:flex-start}.section-permissions input{flex-shrink:0}.rail-tags{margin-top:9px}.bb-id-search input{font-variant-numeric:tabular-nums}.map-topbar .map-label{margin-right:auto}.gps-status{position:absolute;z-index:460;left:15px;right:15px;bottom:65px;border:1px solid #c4dce9;border-radius:10px;background:#f4fbffff;color:#3e6d89;font-size:10px;padding:11px 13px;box-shadow:var(--shadow)}.registration-dialog{padding:0;border:1px solid var(--line);border-radius:19px;color:var(--ink);width:450px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 30px);box-shadow:0 25px 90px #0d282957}.registration-dialog::backdrop{background:#0c252439;backdrop-filter:blur(2px)}.registration-dialog .detail-top{flex-direction:row;gap:20px}.registration-dialog h2{font-size:19px;margin-top:6px}.registration-body{padding:22px 25px 28px}.registration-body .field-label{font-size:11px;text-align:right;margin-top:19px}.registration-body input,.registration-body select{font-size:13px;height:43px}.registration-body .locked-field{border-radius:9px;background:#f1f5ec;border:1px solid var(--line);padding:12px;font-size:12px;line-height:1.8}.registration-body .button{width:100%;margin-top:24px;height:43px}.registration-result{font-size:13px;line-height:2;padding:14px;border:1px solid #c6e2bd;background:#f0f8e9;border-radius:11px;margin-top:18px}.registration-result.is-error{background:#fff3ec;border-color:#ebcbbb;color:#9c4a35}.registration-body>p{font-size:12px}.open-shop-action{direction:rtl}
@media(max-width:600px){.section-permissions{grid-template-columns:1fr}.nav-rail{gap:14px}.rail-item{width:52px;font-size:7px}.locate-button span{display:none}.map-topbar{gap:7px}.gps-status{left:10px;right:10px;font-size:9px;bottom:65px}.registration-dialog{max-height:calc(100dvh - 22px);width:calc(100vw - 20px);max-width:none}.registration-body{padding:17px 20px 23px}}

/* Multi-select grades stay keyboard and touch accessible without modifier keys. */
.grade-picker{border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:15px}.grade-picker>summary{min-height:39px;display:flex;align-items:center;gap:8px;padding:10px 11px;list-style:none;cursor:pointer;color:#4c6357;font-size:11px}.grade-picker>summary::-webkit-details-marker{display:none}.grade-picker>summary>#grade-summary{flex:1;min-width:0;overflow-wrap:anywhere}.grade-picker>summary>.icon{width:14px;height:14px;transform:rotate(90deg);color:#819486}.grade-picker[open]>summary>.icon{transform:rotate(-90deg)}.grade-picker[open]>summary{border-bottom:1px solid var(--line)}.grade-picker-body{padding:11px}.grade-picker-heading{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:9px;margin-bottom:8px}.grade-options{display:grid;grid-template-columns:1fr 1fr;gap:6px}.grade-option{display:flex;align-items:center;gap:6px;min-height:36px;border:1px solid var(--line);border-radius:8px;background:#fbfcf9;padding:8px;cursor:pointer;font-size:10px;min-width:0}.grade-option.wide{grid-column:1/-1}.grade-option:has(input:checked){background:#eaf4e5;border-color:#a9cc97}.grade-option input{width:14px;height:14px;margin:0;flex-shrink:0}.grade-option-label{flex:1;overflow-wrap:anywhere;line-height:1.5}.grade-option-count{color:var(--muted);font-size:9px;font-variant-numeric:tabular-nums}.grade-options>.field-hint{grid-column:1/-1;margin:0}.grade-picker .field-hint{font-size:9px}

/* Unlocated stores remain discoverable without plotting invented coordinates. */
.metric-action{border:0;border-inline-end:1px solid var(--line);background:transparent;text-align:start;font-family:inherit;cursor:pointer;min-width:0}.metric-action>span:last-child{min-width:0}.metric-action .metric-label{display:block}.metric-action:hover,.metric-action[aria-pressed=true]{background:#fff7e8}.metric-action:focus-visible{outline:3px solid #c6a565;outline-offset:-3px}.metric-action strong{display:block}.detail-actions{flex-wrap:wrap}
@media(max-width:600px){.nav-rail{gap:6px;padding-left:6px;padding-right:6px;overflow-x:auto;justify-content:safe center}.nav-rail .rail-item{flex-shrink:0;min-width:48px;width:48px}}

/* Geographic points stay separate from the visible unlocated POS tray. */
.unlocated-dock{position:absolute;z-index:700;left:14px;bottom:64px;width:275px;max-width:calc(100% - 28px);background:#fffef9;border:1px solid #e3d1ab;border-radius:15px;box-shadow:0 5px 24px #23342b20;overflow:hidden}.unlocated-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;background:#fff3da;border:0;padding:12px 14px;text-align:left;font-size:11px;color:#805421}.unlocated-heading>span{display:flex;align-items:center;gap:7px}.unlocated-heading .icon{width:17px;height:17px}.unlocated-heading>strong{background:#fff;border-radius:6px;min-width:26px;text-align:center;padding:3px 5px}.unlocated-dock #unlocated-body{padding:8px 11px 11px}.unlocated-dock #unlocated-preview{max-height:174px;overflow:auto}.unlocated-card{display:block;background:transparent;border:0;border-bottom:1px solid #eee7d8;width:100%;padding:10px 3px;text-align:start}.unlocated-card:hover{background:#fbf6e9}.unlocated-card strong{font-size:11px;display:block;overflow-wrap:anywhere}.unlocated-card small{font-size:9px;color:var(--muted);display:block;margin-top:5px;line-height:1.5}.unlocated-dock p{font-size:9px;color:var(--muted);margin:10px 0 4px;line-height:1.6}.unlocated-dock .text-button{font-size:10px}.unlocated-heading:focus-visible,.unlocated-card:focus-visible{outline-offset:-3px}@media(max-width:600px){.unlocated-dock{left:10px;bottom:60px;width:225px;max-width:calc(100% - 20px)}.unlocated-dock #unlocated-preview{max-height:106px}.unlocated-card{padding:8px 2px}.unlocated-heading{font-size:10px;padding:9px 11px}.unlocated-dock p{font-size:8px}}

.map-empty-actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.map-empty-actions .button{margin:0}
/* Google Fonts Vazirmatn, bundled for Persian/Arabic text and offline availability. */
@font-face{font-family:Vazirmatn;font-style:normal;font-weight:100 900;font-display:swap;src:url('../vendor/vazirmatn/Vazirmatn-Variable.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
:root{font-family:Vazirmatn,Inter,"Segoe UI",Tahoma,Arial,sans-serif}

/* Cooperation is fetched separately so an upstream outage cannot hide a profile. */
.pos-metric-panel{margin:0 26px 18px;padding:16px;border:1px solid var(--outline-variant,#c9dcd9);border-radius:18px;background:var(--surface-container-low,#f1f7f5)}
.cooperation-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cooperation-header h3{margin:0;font-size:13px;font-weight:600}.cooperation-retry{min-height:36px;padding:6px 13px;font-size:12px}.cooperation-status{display:grid;gap:5px;margin-top:8px;font-size:13px;overflow-wrap:anywhere}.cooperation-date{font-size:21px;font-weight:650;letter-spacing:-.4px}.cooperation-persian{font-family:Vazirmatn,sans-serif;color:var(--muted,#526966)}.cooperation-status small{font-size:11px;color:var(--muted,#526966)}.pos-metric-panel[data-state="error"] .cooperation-status{color:#9b3434}
@media(max-width:600px){.pos-metric-panel{margin:0 18px 16px;padding:13px}.cooperation-date{font-size:19px}}

.pin-mode-controls{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}.pin-mode-controls .button{flex:1;min-height:39px;padding:8px 9px;font-size:11px}.pin-mode-controls .active{background:#e1f0e5;border-color:#56866c;color:#1c5f41}.cooperation-progress{line-height:1.7;margin-bottom:13px}.cooperation-red{background:#cf3e47}.cooperation-green{background:#238a66}.cooperation-grey{background:#8a9693}.cooperation-legend{max-width:calc(100% - 85px);flex-wrap:wrap;row-gap:6px}.atlas-cluster.cooperation-cluster{background:#d5dddaaa;border-color:#9ba9a3}.atlas-cluster.cooperation-cluster div{background:#65756d;color:#fff}.execution-total{margin:0;font-size:14px;font-weight:650}.execution-table-wrap{overflow-x:auto;max-width:100%}.execution-table{border-collapse:collapse;width:100%;font-family:Vazirmatn,sans-serif;font-size:11px;text-align:center}.execution-table th,.execution-table td{padding:9px 5px;border-bottom:1px solid var(--line);white-space:nowrap}.execution-table thead{color:var(--muted)}.execution-table tbody th,.execution-table td:last-child{font-weight:700}.pos-status-badge{display:inline-flex;align-items:center;gap:7px;font-size:13px}.pos-status-badge::before{content:'';width:8px;height:8px;border-radius:50%;background:#8a9693;flex-shrink:0}.pos-status-badge.no_cooperation{color:#b92b35}.pos-status-badge.no_cooperation::before{background:#cf3e47}.pos-status-badge.cooperating{color:#196c4f}.pos-status-badge.cooperating::before{background:#238a66}

.execution-table{min-width:0;table-layout:fixed}.execution-table td{font-size:inherit}.execution-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.clustering-controls>summary{cursor:pointer;display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:12px;font-weight:650;list-style:none}.clustering-controls>summary::marker{display:none}.clustering-controls .field-hint{margin:10px 0;line-height:1.7}.cluster-enabled{display:flex;align-items:center;gap:8px;font-size:12px;margin:12px 0}.clustering-controls input[type="range"]{width:100%;accent-color:#238a66;margin:6px 0 15px}.clustering-controls .field-label{display:flex;justify-content:space-between;gap:8px}.clustering-controls select{width:100%;margin-bottom:12px}.clustering-controls .button{width:100%;font-size:11px;min-height:37px}

.pos-cooperation-panel .cooperation-header h3{font-family:Vazirmatn,sans-serif;font-size:14px}.pos-cooperation-panel .cooperation-persian{font-size:21px;font-weight:650;color:var(--ink,#17352f)}.detail-hero+.detail-actions{position:static;margin:0;padding:14px 26px 18px;border-top:0;gap:8px;flex-wrap:wrap}.pos-cooperation-panel .pos-status-badge{font-family:Vazirmatn,sans-serif;font-size:13px}

.pos-activity-type{font-family:Vazirmatn,sans-serif;font-size:12px;color:var(--muted);line-height:1.8}

#gps-status{display:none!important}

.location-source-warning{color:#805511;font-family:Vazirmatn,sans-serif;font-size:11px;line-height:1.9}.profile-location-warning{margin:0 26px 16px;padding:12px 14px;border-radius:12px;background:#fff4d9;border:1px solid #e6d09f}.profile-location-recovery{margin:14px 26px;font-family:Vazirmatn,sans-serif;font-size:12px;color:var(--muted)}.questionnaire-map-warning{display:none;absolute;right:16px;top:72px;z-index:650;background:#fff4d9;border:1px solid #e6d09f;border-radius:12px;padding:10px 13px;max-width:min(360px,calc(100% - 32px));font-family:Vazirmatn,sans-serif;font-size:11px;line-height:1.8;color:#805511}.location-recovery-status{position:absolute;right:15px;bottom:65px;max-width:calc(100% - 90px);z-index:650;margin:0;padding:8px 12px;border-radius:10px;background:#fffffff0;color:var(--muted);font-family:Vazirmatn,sans-serif;font-size:10px}

.leaflet-tooltip.questionnaire-tooltip{white-space:normal;max-width:min(330px,70vw);line-height:1.8;font-family:Vazirmatn,sans-serif;font-size:11px}.location-recovery-status{right:70px}
