@font-face{font-family:Vazir;src:url(Vazirmatn.woff2) format('woff2');font-display:swap}*{box-sizing:border-box} :root{--ink:#173f3d;--green:#286e63;--mint:#e8f1e8;--muted:#81908b;--line:#e2e6dd;--paper:#f5f6ef;--card:#fcfcf8;--orange:#c98653;--warm:#faf0df;--font:Vazir,Tahoma,sans-serif}html,body{margin:0;height:100%;font-family:var(--font);color:var(--ink);background:var(--paper);font-size:13px}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:1px solid var(--line);background:var(--card);padding:10px 14px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;touch-action:manipulation;transition:background .15s}button:hover{background:#edf2e8}button:disabled{opacity:.6;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c9865370;outline-offset:2px}input,select{font:inherit;color:var(--ink);width:100%;min-width:0;padding:12px 13px;border:1px solid #dce3d9;border-radius:11px;background:#fff;outline:none;min-height:45px}input:focus,select:focus{border-color:#c6aa84}input[type=checkbox]{width:17px;min-height:17px;height:17px;accent-color:var(--green);margin:0}label{display:block;font-size:12px;font-weight:500;margin-bottom:18px}label>input,label>select{display:block;margin-top:8px}h1,h2,h3,p{margin-top:0}h2{font-size:20px;margin-bottom:0}h3{font-size:13px;margin-bottom:0;font-weight:600}p{line-height:1.9}small{font-size:11px}.icon{width:21px;height:21px;flex:none;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.app-header{height:76px;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fcfcf8;padding:0 23px;border-bottom:1px solid var(--line);z-index:10}.brand{display:flex;gap:13px;align-items:center}.brand>b{font-family:Arial,sans-serif;font-size:25px;direction:ltr;letter-spacing:-2px;padding:10px 9px;background:var(--ink);border-radius:12px;color:#fff;min-width:69px}.brand>b span{color:#e9b782}.brand strong{font-size:18px;font-weight:700}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.header-context{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px}.live-dot{width:6px;height:6px;border-radius:50%;background:#3f9376;box-shadow:0 0 0 4px #3f937610;display:inline-block}.context-separator{height:16px;width:1px;background:var(--line);margin:0 4px}.header-actions{display:flex;gap:9px;align-items:center}.icon-label{border-color:#e4e7de;background:transparent;font-size:11px;padding:10px 12px}.icon-label .icon{width:18px;height:18px}.icon-label b{font-size:10px;font-weight:400;background:#e9eee5;border-radius:5px;padding:0 5px}.home-link{display:flex;gap:5px;align-items:center;font-size:11px;padding:9px}.home-link .icon{width:18px;height:18px}.app-workspace{display:grid;grid-template-columns:70px minmax(0,1fr) 356px;flex:1;min-height:0;position:relative}.desktop-rail{background:#fcfcf8;border-left:1px solid var(--line);display:flex;align-items:center;flex-direction:column;padding:20px 8px;gap:12px;position:relative}.rail-button{border:0;display:flex;flex-direction:column;width:52px;height:59px;padding:7px 0;gap:5px;background:transparent;border-radius:12px;color:#94a09a;font-size:9px}.rail-button.active{color:var(--green);background:#e8efe4}.rail-button .icon{width:22px;height:22px}.rail-line{height:1px;width:26px;background:var(--line);margin:7px 0}.info-icon{border:1.5px solid currentColor;border-radius:50%;height:21px;width:21px;font:italic 15px Georgia;display:flex;align-items:center;justify-content:center}.rail-version{font:9px Arial;writing-mode:vertical-rl;letter-spacing:2px;color:#9da99d;margin-top:auto;padding-top:25px}.map-workspace{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}.search-bar{display:flex;align-items:center;gap:10px;padding:15px 20px;background:#f5f6ef;border-bottom:1px solid var(--line);z-index:5;min-height:78px}.location-control{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:11px;padding-right:12px;max-width:230px;flex:1;min-width:115px}.location-control>.icon{width:18px;color:var(--orange)}.location-control select{border:0;background:transparent;padding:11px 6px 11px 13px;min-height:43px;font-size:12px;box-shadow:none}.filter-trigger{padding:11px 12px;font-size:12px;background:#fff;min-height:45px;white-space:nowrap}.filter-trigger .icon{width:18px}.filter-trigger b{border-radius:5px;background:#f2e5d3;padding:0 4px;font-size:9px}.filter-trigger b[hidden]{display:none}.search-divider{height:25px;width:1px;background:var(--line);margin:0 3px}.mode-switch{display:flex;align-items:center;gap:2px;background:#e7ebe1;padding:4px;border-radius:11px;margin-right:auto}.mode-switch button{font-size:11px;padding:9px 12px;border:0;background:transparent;white-space:nowrap;border-radius:8px}.mode-switch button.active{background:#fff;box-shadow:0 2px 5px #173f3d0c;color:var(--ink);font-weight:600}.active-filters{display:flex;gap:6px;flex-wrap:wrap;background:#f5f6ef;padding:0 20px;z-index:3}.active-filters:has(*){padding-bottom:10px}.filter-chip{background:#e7eee1;border:1px solid #d9e1d1;padding:4px 8px;font-size:10px;border-radius:6px;color:#576f5f}.map-stage{position:relative;flex:1;min-height:0;overflow:hidden;background:#e6eadf}#map{width:100%;height:100%;z-index:1;background:#e6eadf}.leaflet-container{font-family:var(--font);background:#e6eadf}.leaflet-tile-pane{filter:saturate(.42) contrast(.92) brightness(1.04)}.leaflet-control-attribution{font-size:8px!important}.leaflet-top.leaflet-left{top:110px;left:18px}.leaflet-control-zoom{border:1px solid #d9dfd1!important;border-radius:11px!important;overflow:hidden;box-shadow:0 3px 15px #173f3d12!important}.leaflet-control-zoom a{width:36px!important;height:36px!important;line-height:35px!important;color:var(--ink)!important;background:#fcfcf5f5!important}.map-heading{position:absolute;right:24px;top:24px;z-index:3;pointer-events:none;text-shadow:0 1px 10px #fff,0 1px 3px #fff}.map-overline{font:8px Arial;letter-spacing:1.8px;color:#798c80;direction:ltr;display:block;text-align:right;margin-bottom:9px}.map-heading h1{font-size:20px;line-height:1.7;margin-bottom:3px;font-weight:700}.map-heading p{font-size:11px;color:#648073;margin-bottom:0}.map-state{position:absolute;z-index:4;right:22px;top:119px;left:22px;background:#fff9edec;border:1px solid #dfcfb4;border-radius:11px;padding:12px 15px;font-size:12px;line-height:1.9;box-shadow:0 6px 25px #173f3d0b}.map-state.demo{top:auto;bottom:55px;left:auto;right:22px;padding:6px 10px;font-size:10px;max-width:330px}.map-state[hidden],.map-loading[hidden],.map-hint[hidden]{display:none}.map-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fffef8;border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;gap:12px;padding:16px 23px;z-index:7;box-shadow:0 8px 35px #173f3d20;white-space:nowrap}.spinner{width:16px;height:16px;border:2px solid #dbe4d7;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.reset-map{position:absolute;top:195px;left:28px;width:37px;height:37px;padding:0;background:#fcfcf5f5;z-index:3;box-shadow:0 3px 15px #173f3d12}.heat-legend{position:absolute;bottom:55px;left:20px;padding:14px 16px;background:#fcfcf8f2;border:1px solid #dce2d3;border-radius:13px;width:230px;z-index:3;box-shadow:0 3px 25px #173f3d0a}.heat-legend>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:7px}.heat-legend small{font-size:9px;color:#849182}.gradient{height:6px;border-radius:8px;background:linear-gradient(to left,#2d8c80,#91b69a,#e0c08a,#c98050);margin:11px 0 9px}.map-attribution{position:absolute;bottom:0;left:0;right:0;background:#fbfcf4ed;z-index:3;border-top:1px solid #dfe4d7;display:flex;justify-content:space-between;align-items:center;padding:10px 20px;font-size:10px;color:#7a8c7c;min-height:37px}.map-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:14px;background:#fcfcf5ef;border:1px solid var(--line);border-radius:12px;font-size:12px;z-index:5;max-width:90%;text-align:center;box-shadow:0 8px 30px #173f3d10}.market-canvas{pointer-events:none}.pulse-panel{min-height:0;display:flex;flex-direction:column;background:#fbfcf7;border-right:1px solid var(--line);padding:24px 22px 0;overflow:hidden;z-index:6}.pulse-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.eyebrow{font-size:10px;color:#aa835d;display:block;margin-bottom:6px}.pulse-head h2{font-size:18px}.pulse-emblem{color:#bf8b56;background:#f6eddd;border:1px solid #e8dbc2;border-radius:11px;padding:8px;display:flex}.pulse-emblem .icon{height:23px;width:23px}.scope-control{display:flex;align-items:center;gap:8px;font-size:10px;color:#6a8071;margin-bottom:17px}.switch{margin:0;position:relative;display:inline-block;width:29px;height:17px;flex:none}.switch input{position:absolute;opacity:0;width:100%;height:100%;cursor:pointer}.switch>span{display:block;width:29px;height:17px;background:#cfd9c9;border-radius:20px;pointer-events:none}.switch>span:after{content:"";width:11px;height:11px;border-radius:50%;background:white;position:absolute;top:3px;right:3px;transition:transform .15s}.switch input:checked+span{background:#2f7964}.switch input:checked+span:after{transform:translateX(-12px)}.switch input:focus-visible+span{outline:3px solid #c9865370}.small-status{margin-right:auto;font-size:9px;color:#98a18e}.pulse-error{font-size:11px;border:1px solid #e5c0a7;background:#fff1e5;border-radius:9px;padding:9px;margin-bottom:10px}.pulse-error[hidden]{display:none}.pulse-hero{border-radius:16px;background:#173f3d;color:#fff9eb;padding:21px 20px 14px;position:relative;border:1px solid #1c4a43;overflow:hidden;flex:none}.pulse-hero:before{content:"";position:absolute;left:-40px;top:5px;width:140px;height:140px;border:1px solid #e0bf8a15;border-radius:50%;box-shadow:0 0 0 17px #e0bf8a07,0 0 0 36px #e0bf8a04;pointer-events:none}.hero-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#c5d3c4}.unit-tag{font-size:9px;color:#aabfac}.hero-value{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0 15px}.hero-value strong{font-size:43px;line-height:1.4;font-weight:600;letter-spacing:-1px}.sample-badge{font-size:9px;color:#b5ccba;background:#365851;padding:5px 7px;border-radius:6px}.hero-bottom{font-size:10px;border-top:1px solid #ffffff1a;padding-top:12px;color:#dfc79c;display:flex;align-items:center;justify-content:space-between}.hero-bottom button{display:none}.pulse-mini{display:grid;grid-template-columns:1fr 1fr;margin:14px 0 18px;gap:10px;flex:none}.pulse-mini>div{border:1px solid var(--line);border-radius:11px;padding:11px 10px;display:flex;align-items:center;gap:9px;font-size:9px;color:#7a8b7e;background:#fff}.pulse-mini b{display:block;font-size:19px;color:var(--ink);margin-top:3px;line-height:1.4;font-weight:600}.stat-icon{background:#edf2e8;border-radius:9px;padding:7px;color:#6b917e;display:flex}.stat-icon .icon{height:17px;width:17px}.stat-icon.warm{background:#f6ecdc;color:#bb8d53}.panel-tabs{display:flex;align-items:center;border-bottom:1px solid var(--line);gap:11px;flex:none;justify-content:space-between}.panel-tabs button{border:0;border-radius:0;padding:10px 0 13px;position:relative;font-size:11px;background:transparent;white-space:nowrap;color:#8d9a8b}.panel-tabs button[aria-selected=true]{color:var(--ink);font-weight:600}.panel-tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--orange);border-radius:2px}.panel-tabs button>span{font-size:9px;border-radius:5px;background:#e9efe3;padding:0 5px;color:#809179}.pulse-scroll{overflow:auto;min-height:0;flex:1;padding:20px 0 25px;scrollbar-width:thin;scrollbar-color:#d7dfcf transparent}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.subtle{font-size:9px;color:#95a18f}.trend-card{background:#f2f5ea;border:1px solid #e2e9d7;border-radius:11px;padding:15px;margin-bottom:22px;position:relative}.trend-card>strong{display:block;font-size:17px;margin-bottom:7px;font-weight:600}.trend-card>span{font-size:10px;color:#83927b;line-height:1.9;display:block;max-width:100%}.trend-card>svg{width:100%;height:25px;margin-top:9px;opacity:.8}.histogram{height:70px;display:flex;align-items:flex-end;gap:7px;padding-top:5px}.hist-bar{background:#90b09b;border-radius:5px 5px 2px 2px;min-width:0;flex:1;min-height:3px;position:relative;transition:height .2s}.hist-bar:nth-child(2n){background:#adc2a5}.hist-bar:nth-child(6n){background:#d5b482}.hist-bar:hover{background:#2d7767}.hist-labels{display:flex;justify-content:space-between;color:#8c9d87;font-size:9px;margin-top:8px}.region-heading{margin-top:26px}.region{border:0;border-bottom:1px solid #e7ebdf;border-radius:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;width:100%;text-align:right;font-size:12px}.region small{display:block;font-size:9px;color:#91a08c;margin-top:4px}.region>b{font-size:15px;font-weight:600}.region-meter{height:3px;background:#e9eddf;margin-top:7px;border-radius:3px;overflow:hidden;width:130px}.region-meter span{height:100%;display:block;background:#bfd0b4;border-radius:3px}.quality-card{margin-top:24px;border:1px dashed #d8dfce;border-radius:11px;padding:13px}.quality-card>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:10px}.quality-card p{font-size:9px;color:#91a08a;line-height:1.9;margin:7px 0 0}.progress{height:4px;border-radius:3px;background:#e7eddf;margin-top:10px;overflow:hidden}.progress>span{height:100%;display:block;background:#93b299;border-radius:3px}.panel-disclaimer{font-size:9px;line-height:1.9;color:#9aa58e;padding-top:20px;margin-bottom:0}.pulse-handle{display:none}.deal-explainer{display:flex;align-items:center;gap:5px;font-size:9px;color:#81917b;flex-wrap:wrap;margin-bottom:16px}.tier-dot{width:6px;height:6px;background:#338773;border-radius:50%;display:inline-block}.tier-dot.preliminary{background:#c48c57;margin-right:6px}.inline-check{font-size:10px;display:inline-flex;align-items:center;gap:6px;margin:0;cursor:pointer}.inline-check input{width:14px;min-height:14px;height:14px}.deal-card{background:#fff;border:1px solid #e0e6d7;border-radius:13px;padding:13px;margin-bottom:12px;width:100%;text-align:right;display:block;position:relative}.deal-card:hover{border-color:#bbceb1;background:#fcfdf8}.deal-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.deal-tier{font-size:9px;display:inline-flex;align-items:center;gap:5px;color:#4e8065;background:#edf5e9;border-radius:5px;padding:4px 6px}.deal-card.preliminary .deal-tier{color:#a77d4b;background:#f8f0e1}.deal-discount{font-size:12px;font-weight:600;color:#347661}.deal-card.preliminary .deal-discount{color:#ae8050}.deal-card h4{font-size:12px;font-weight:600;line-height:1.8;margin:0 0 7px}.deal-specs{font-size:10px;color:#8d9b84;display:flex;align-items:center;gap:7px}.deal-price{display:flex;align-items:center;justify-content:space-between;margin-top:13px;border-top:1px solid #eef0e8;padding-top:10px;gap:7px;font-size:11px}.deal-price small{font-size:9px;color:#9aa58f}.footnote{font-size:10px;color:#8f9c84;line-height:1.9}.empty-state{border:1px dashed #d8e0cd;border-radius:12px;padding:21px 16px;background:#f4f7ed;font-size:12px;line-height:1.9;color:#789071}.empty-state strong{display:block;font-size:13px;color:var(--ink);margin-bottom:7px}.empty-state small{font-size:10px;display:block;line-height:1.9}.analysis-callout{display:flex;align-items:center;gap:10px;background:#edf3e7;border:1px solid #dce6d2;border-radius:12px;padding:15px 12px;margin-bottom:25px}.analysis-callout>.icon{color:#6b9277}.analysis-callout h3{font-size:11px}.analysis-callout p{font-size:9px;color:#90a083;margin:5px 0 0}.analysis-callout button{border:0;padding:6px;background:transparent;margin-right:auto}.analysis-callout button .icon{width:18px}.band{padding:12px 0;border-bottom:1px solid #e4eadb}.band-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.band-top b{font-size:13px}.band small{font-size:9px;color:#98a58c;display:block;margin-top:5px}.band-track{margin-top:9px;height:4px;border-radius:4px;background:#e7eddf}.band-track span{height:100%;display:block;background:#bacfab;border-radius:4px}.analysis-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:23px 0}.analysis-stat-grid>div{border:1px solid #e0e7d6;border-radius:11px;padding:13px 10px;font-size:9px;color:#91a084}.analysis-stat-grid b{font-size:21px;color:var(--ink);display:block;margin-top:8px}.mobile-nav{display:none}.primary{background:var(--ink);color:#fff;border-color:var(--ink);font-weight:600}.primary:hover{background:#286556}.primary .icon{width:18px}.text-button{border:0;background:transparent;color:var(--green);font-size:12px}.icon-button{height:35px;width:35px;padding:0;border:1px solid #e1e6d9;background:#fbfcf7;flex:none;border-radius:10px}.icon-button .icon{width:18px;height:18px}dialog{border:1px solid #d6dfcd;border-radius:22px;padding:27px;max-width:620px;width:calc(100% - 32px);max-height:90dvh;color:var(--ink);background:#fbfcf7;overflow:auto;box-shadow:0 35px 100px #0c2e3d40;font:13px var(--font)}dialog::backdrop{background:#173f3d55;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.dialog-heading h2{font-size:20px}.filter-dialog{width:440px;margin-right:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.check-row{display:flex;gap:25px;margin:10px 0 22px}.form-hint{font-size:11px;line-height:1.9;color:#8a9a80;background:#f0f4e8;padding:13px;border:1px solid #e3e9d9;border-radius:10px;margin-bottom:20px}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:25px}.form-footer .primary{min-width:200px;padding:13px}.detail-dialog{width:480px;padding:0}.dialog-close{position:absolute;left:15px;top:15px;z-index:2;background:#fbfcf7eb}.detail-image{width:100%;height:210px;object-fit:cover;background:#e6ebdd}.detail-placeholder{height:125px;padding:30px;background:linear-gradient(120deg,#254e45,#b5c9aa);display:flex;align-items:center;justify-content:flex-end;color:#dce9cc;font:28px Arial;letter-spacing:1px}.detail-inner{padding:25px}.detail-inner h2{font-size:19px;line-height:1.9}.detail-location{font-size:11px;color:#8e9f83;margin:10px 0 18px}.detail-price{font-size:25px;font-weight:600}.detail-ppm{font-size:12px;color:#91a082;margin-top:5px}.spec-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #dfe6d5;border-radius:12px;margin:22px 0;overflow:hidden}.spec-grid>div{text-align:center;padding:14px 7px;border-bottom:1px solid #e5ebdd;font-size:13px}.spec-grid small{display:block;font-size:10px;color:#93a187;margin-bottom:5px}.analysis-card{background:#ecf4e6;border:1px solid #d0dfc4;padding:17px;border-radius:13px;margin:20px 0}.analysis-card.warning{background:#f8f1e3;border-color:#e8d6b8}.analysis-card strong{font-size:14px;display:block;line-height:1.8}.analysis-card p{font-size:11px;color:#819375;margin:8px 0 0}.analysis-card.warning p{color:#a08d6d}.detail-actions{display:flex;gap:9px;margin-top:20px}.detail-actions>*{flex:1;text-align:center;font-size:12px;padding:12px 7px;border-radius:10px}.detail-inner>small{font-size:10px;color:#94a188}.detail-inner details{margin-top:20px;font-size:12px;line-height:2}.history-row{display:flex;justify-content:space-between;font-size:10px;padding:8px 0;border-bottom:1px solid #e8edde}.wide-dialog{max-width:900px;width:calc(100% - 30px)}.table-scroll{overflow:auto}.comparison{width:100%;border-collapse:collapse;min-width:420px;text-align:right;font-size:12px}.comparison td,.comparison th{padding:15px 12px;border-bottom:1px solid #e3e9d9;vertical-align:top}.comparison th{min-width:140px;max-width:200px;font-weight:500;line-height:1.9}.comparison th:first-child{min-width:95px}.comparison a{color:var(--green)}.comparison button{padding:4px 8px;font-size:10px}.valuation-dialog{max-width:510px}.valuation-dialog .primary{width:100%;padding:13px}.valuation-result{margin-top:20px}.valuation-summary{background:#eaf2e2;border:1px solid #d0dfc3;padding:20px;border-radius:13px}.valuation-summary strong{font-size:23px;display:block;margin:8px 0}.valuation-summary p{font-size:11px;color:#7c9370;margin:6px 0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:99999;max-width:90%;padding:14px 20px;color:#fff;background:var(--ink);border-radius:12px;box-shadow:0 8px 30px #173f3d30;font-size:12px;text-align:center}.setup,.admin-body{height:auto;min-height:100vh;background:#eef2e7}.setup-card{max-width:580px;margin:40px auto;padding:32px;background:#fbfcf7;border:1px solid #dce5d1;border-radius:20px}.brand-mark{font:700 26px Arial;direction:ltr;background:var(--ink);color:#fff;padding:10px;display:inline-block;border-radius:12px}.brand-mark span{color:#dfb782}.setup-card h1{font-size:24px;margin-top:15px}.setup-card p,.setup-card>small{color:#859579;font-size:12px;line-height:1.9}.setup-card .primary{width:100%;margin:15px 0}.tags{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}.tags span{background:#e3edda;border-radius:5px;padding:4px 9px;font-size:11px}.error,.notice{padding:14px;border:1px solid #d0e1c0;border-radius:11px;background:#eef6e4;line-height:1.9}.error{background:#fff1e5;border-color:#e6c2a7;color:#a3734d}.admin-wrap{max-width:1250px;margin:auto;padding:25px}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px}.admin-top .brand{font-size:17px}.admin-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:22px;align-items:start}.admin-nav{display:flex;flex-direction:column;gap:6px;position:sticky;top:20px;padding:15px;background:#fbfcf7;border:1px solid #dce5d1;border-radius:14px}.admin-nav a{padding:12px 9px;font-size:12px;border-radius:8px}.admin-nav a:hover{background:#edf3e5}.panel{background:#fbfcf7;border:1px solid #dce5d1;border-radius:16px;padding:24px;margin-bottom:22px;scroll-margin-top:20px}.panel h2{font-size:19px;margin-bottom:15px}.panel p{font-size:12px;color:#8a9b7b}.login-panel{max-width:440px;margin:80px auto}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.admin-stats .panel{padding:18px}.admin-stats small{font-size:10px;color:#8d9b7f}.admin-stats strong{display:block;font-size:25px;margin-top:10px}.admin-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 14px}.admin-region-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;max-height:650px;overflow:auto;padding:1px 2px 1px 5px}.admin-region-card{border:1px solid #dbe5d1;border-radius:12px;padding:17px;background:#fff}.admin-region-card.focused{border-color:#d6b589;background:#fffaf1}.admin-region-card[hidden]{display:none}.region-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.region-card-top h3{font-size:14px}.region-card-top small{font-size:10px;color:#9ca88e}.admin-region-card .form-grid{gap:8px}.admin-region-card label{font-size:10px;margin-bottom:12px}.admin-region-card input,.admin-region-card select{font-size:12px;padding:7px 9px;min-height:36px}.region-toggles{display:flex;gap:15px;flex-wrap:wrap;margin:10px 0}.region-toggles label{margin:0}.region-card-footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#9aaa8b;border-top:1px solid #e9efdf;padding-top:10px;gap:5px}.admin-search-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.admin-search-row input{flex:1;min-width:180px}.admin-sticky-save{display:flex;gap:10px;align-items:center;justify-content:space-between;border-top:1px solid #dfe8d3;margin-top:15px;padding-top:15px;position:sticky;bottom:0;background:#fbfcf7}.admin-sticky-save small{color:#92a382;font-size:10px}.admin-checks{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:20px}.admin-checks label{margin:0}table{width:100%;border-collapse:collapse;text-align:right;font-size:12px}th,td{padding:12px;border-bottom:1px solid #e3ead9;white-space:nowrap}th{font-size:10px;background:#f0f5e8}.log-row{font-size:11px;line-height:1.9;padding:12px 0;border-bottom:1px solid #e5ecdb;word-break:break-word}.log-row small{font-size:9px;color:#93a283}.health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.health-item{background:#f1f6e9;border:1px solid #e0e9d2;border-radius:11px;padding:13px;font-size:10px;line-height:1.9}.health-item b{display:block;font-size:13px;margin-top:6px}.admin-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}pre{direction:ltr;text-align:left;background:#eaf1df;border-radius:10px;padding:16px;overflow:auto;line-height:1.8;font-size:12px}code{direction:ltr;background:#eaf1df;padding:3px 8px}.admin-form-hint{font-size:11px;color:#8da17c;line-height:1.9}.diagnostic-output{white-space:pre-wrap;direction:rtl;line-height:2;background:#f0f5e8;padding:15px;border-radius:12px;font-size:12px}
@media(min-width:1600px){.app-workspace{grid-template-columns:78px minmax(0,1fr) 390px}.pulse-panel{padding:27px 27px 0}.search-bar{padding:16px 25px}.map-heading{right:30px;top:30px}.map-heading h1{font-size:24px}.hero-value strong{font-size:48px}}
@media(max-width:1200px) and (min-width:901px){.app-workspace{grid-template-columns:60px minmax(0,1fr) 315px}.pulse-panel{padding:22px 17px 0}.header-context{display:none}.search-bar{gap:7px;padding:13px 12px}.mode-switch button{padding:9px 8px;font-size:10px}.search-divider{display:none}.location-control{max-width:170px}.filter-trigger{padding:11px 9px;font-size:11px}.map-heading h1{font-size:17px}.map-heading p{font-size:10px}.map-heading{right:20px}.hero-value strong{font-size:39px}.pulse-mini>div{padding:10px 8px;gap:7px}.stat-icon{padding:5px}.pulse-panel h2{font-size:16px}.heat-legend{width:210px;left:15px}.desktop-rail{padding-left:4px;padding-right:4px}.rail-button{width:47px}.panel-tabs{gap:8px}.panel-tabs button{font-size:10px}}
@media(max-width:900px){.app-header{height:64px;min-height:64px;padding:0 15px;gap:10px}.brand{gap:9px}.brand>b{min-width:57px;font-size:22px;padding:9px 7px;border-radius:11px}.brand strong{font-size:15px}.brand small{font-size:9px}.header-context,.home-link>span{display:none}.header-actions{gap:5px}.header-actions .icon-label{width:35px;height:35px;padding:0;border:0;background:transparent;position:relative}.header-actions .icon-label>span{display:none}.header-actions .icon-label>b{position:absolute;left:-2px;top:0;font-size:8px;padding:0 3px}.home-link{padding:5px}.home-link .icon{height:17px;width:17px}.app-workspace{display:block;flex:1;min-height:0}.desktop-rail{display:none}.map-workspace{height:100%;width:100%}.search-bar{padding:12px 13px;gap:8px;flex-wrap:wrap;min-height:110px;align-content:center}.location-control{max-width:none;flex:1;border-radius:10px}.location-control select{padding:9px 6px;font-size:12px;min-height:41px}.filter-trigger{min-height:43px;padding:9px 14px;font-size:12px}.search-divider{display:none}.mode-switch{width:100%;margin:0;justify-content:space-between;padding:3px;border-radius:10px;background:#e7eddf}.mode-switch button{flex:1;padding:8px 5px;font-size:11px}.active-filters{padding:0 13px}.active-filters:has(*){padding-bottom:8px;max-height:65px;overflow:auto}.map-heading{right:17px;top:19px;max-width:calc(100% - 30px)}.map-overline{font-size:6px;letter-spacing:1.4px;margin-bottom:6px}.map-heading h1{font-size:16px}.map-heading p{font-size:10px}.leaflet-top.leaflet-left{left:6px;top:100px}.leaflet-control-zoom a{width:33px!important;height:33px!important;line-height:32px!important}.reset-map{top:182px;left:16px;width:34px;height:34px}.heat-legend{left:13px;bottom:177px;width:205px;padding:11px 13px;border-radius:12px}.heat-legend small{font-size:8px}.heat-legend>div:first-child{font-size:10px}.gradient{margin:9px 0 7px}.map-attribution{bottom:131px;padding:8px 13px;font-size:9px;min-height:31px}.map-state{top:100px;right:58px;left:13px;font-size:11px;padding:10px 12px;line-height:1.8}.map-state.demo{top:auto;bottom:300px;right:13px;left:auto;max-width:calc(100% - 68px);font-size:9px;padding:5px 8px}.map-loading{font-size:11px;padding:13px 17px;top:43%}.pulse-panel{position:absolute;left:0;right:0;bottom:0;height:131px;z-index:8;border:1px solid #d8e2cb;border-radius:20px 20px 0 0;padding:0 15px 12px;background:#fbfcf8;box-shadow:0 -5px 30px #173f3d12;overflow:hidden;display:flex}.pulse-handle{display:flex;height:15px;min-height:15px;width:100%;border:0;background:transparent;padding:3px 0 6px;align-items:center}.pulse-handle>span{display:block;width:35px;height:3px;border-radius:4px;background:#cdd8c2}.pulse-head,.scope-control,.pulse-error,.pulse-mini,.panel-tabs,.pulse-scroll{display:none}.pulse-hero{padding:0;background:transparent;border:0;border-radius:0;color:var(--ink);position:relative;overflow:visible}.pulse-hero:before{display:none}.hero-top{font-size:11px;color:#6b8567;justify-content:flex-start;gap:8px}.unit-tag{font-size:9px;color:#9aa98a}.hero-value{margin:5px 0 0;justify-content:flex-start;gap:13px}.hero-value strong{font-size:34px;line-height:1.4}.sample-badge{font-size:9px;background:#edf3e6;color:#829c74}.hero-bottom{position:absolute;left:0;top:32px;border:0;padding:0;color:var(--green)}.hero-bottom>span{display:none}.hero-bottom button{display:flex;padding:8px 10px;background:#eaf2e1;border:1px solid #d9e5cb;border-radius:10px}.hero-bottom button:before{content:'نبض محدوده';font-size:10px}.hero-bottom button>.icon{transform:rotate(180deg);width:16px;height:16px}.mobile-nav{height:64px;min-height:64px;padding:5px 8px calc(5px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:#fbfcf8;border-top:1px solid var(--line);z-index:20;gap:2px}.mobile-nav button{border:0;flex-direction:column;background:transparent;border-radius:10px;gap:4px;padding:5px 1px;font-size:9px;color:#97a48b;min-width:0;white-space:nowrap}.mobile-nav button.active{background:#eaf1e1;color:var(--green)}.mobile-nav .icon{height:20px;width:20px}.mobile-nav b{font-size:8px;font-weight:400}.pulse-expanded .pulse-panel{top:80px;height:auto;bottom:0;padding:0 20px;border-radius:21px 21px 0 0;z-index:14;box-shadow:0 -15px 70px #173f3d30}.pulse-expanded .pulse-head{display:flex;margin:8px 0 13px}.pulse-expanded .pulse-head h2{font-size:17px}.pulse-expanded .eyebrow{font-size:9px}.pulse-expanded .pulse-emblem{padding:6px}.pulse-expanded .scope-control{display:flex;margin-bottom:13px}.pulse-expanded .pulse-error:not([hidden]){display:block}.pulse-expanded .pulse-hero{background:var(--ink);color:#fff;padding:16px 17px 12px;border-radius:13px}.pulse-expanded .hero-top{color:#c0d2b9;justify-content:space-between}.pulse-expanded .unit-tag{color:#a0b89a}.pulse-expanded .hero-value{margin:5px 0 8px;justify-content:space-between}.pulse-expanded .hero-value strong{font-size:35px}.pulse-expanded .sample-badge{background:#36584b;color:#bbd0b2}.pulse-expanded .hero-bottom{position:static;border-top:1px solid #ffffff20;padding-top:8px;color:#d7c69f}.pulse-expanded .hero-bottom>span{display:block;font-size:9px}.pulse-expanded .hero-bottom>button{display:none}.pulse-expanded .pulse-mini{display:grid;margin:10px 0}.pulse-expanded .pulse-mini>div{padding:8px 10px;font-size:9px}.pulse-expanded .pulse-mini b{font-size:17px}.pulse-expanded .stat-icon{padding:5px}.pulse-expanded .stat-icon .icon{height:15px;width:15px}.pulse-expanded .panel-tabs{display:flex}.pulse-expanded .panel-tabs button{padding:9px 0;font-size:11px}.pulse-expanded .pulse-scroll{display:block;padding-top:17px}.pulse-expanded .pulse-handle{min-height:15px}.pulse-expanded .map-stage{filter:brightness(.97)}dialog{max-height:90dvh;padding:24px;border-radius:20px}.filter-dialog{margin:auto auto 0;width:100%;max-width:540px;border-bottom-right-radius:0;border-bottom-left-radius:0;max-height:92dvh}.dialog-heading h2{font-size:19px}.detail-dialog{padding:0;max-width:480px}.detail-image{height:190px}.detail-inner{padding:22px}.detail-inner h2{font-size:17px}.detail-price{font-size:23px}.detail-actions>*{font-size:11px}.toast{bottom:80px;font-size:11px}.admin-wrap{padding:15px}.admin-layout{display:block}.admin-nav{position:static;flex-direction:row;flex-wrap:wrap;padding:8px;margin-bottom:20px;gap:3px}.admin-nav a{font-size:10px;padding:9px}.admin-stats{grid-template-columns:repeat(2,1fr);gap:10px}.admin-stats .panel{padding:16px}.admin-stats strong{font-size:22px}.admin-region-cards{grid-template-columns:1fr;max-height:700px}.admin-form-grid{grid-template-columns:1fr 1fr}.admin-region-card .form-grid{grid-template-columns:1fr 1fr}.health-grid{grid-template-columns:1fr 1fr}.panel{padding:21px}.admin-top .brand{font-size:14px}.admin-top .brand-mark{font-size:20px}.admin-top>a{font-size:11px}.setup-card{margin:20px 12px;padding:25px}.setup-card .form-grid{grid-template-columns:1fr}.form-footer .primary{min-width:0;flex:1}.admin-sticky-save{flex-wrap:wrap}.admin-sticky-save small{font-size:9px}.diagnostic-output{font-size:11px}.panel h2{font-size:18px}}
@media(max-width:370px){.brand small{font-size:8px}.brand strong{font-size:14px}.app-header{padding:0 11px}.header-actions{gap:1px}.brand>b{min-width:52px;font-size:21px}.pulse-expanded .pulse-panel{padding:0 15px;top:60px}.pulse-expanded .pulse-head h2{font-size:15px}.pulse-expanded .pulse-mini{display:none}.hero-value strong{font-size:30px}.mode-switch button{font-size:10px}.map-heading h1{font-size:15px}.admin-form-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.base-label{font:11px Vazir,Tahoma,sans-serif;text-align:center;color:#81907c;text-shadow:0 1px 3px #fff,0 1px 5px #fff;white-space:nowrap;pointer-events:none}.maplibregl-canvas{outline:none}
.leaflet-bottom.leaflet-right{bottom:38px!important}.leaflet-control-attribution{background:#fcfcf4dd!important;max-width:100%;font-size:8px!important}@media(max-width:900px){.leaflet-bottom.leaflet-right{bottom:163px!important}.leaflet-control-attribution{font-size:7px!important;max-width:280px}}
