/* متغیرهای رنگ مشترک افزونه + حالت تیره (ویژگی html[data-theme="dark"] را قالب تنظیم می‌کند) */
:root{
	--gp-tx:#0B1849;--gp-muted:#5d6482;--gp-surface:#fff;--gp-input:#fff;--gp-soft:#f4f5ee;--gp-soft2:#EBEDE3;--gp-img:#eef0e6;
	--gp-border:#d6d9ca;--gp-border2:#b9bdaa;
	--gp-navy:#0B1849;--gp-green-tx:#124D1C;--gp-green-bg:#124D1C;
	--gp-tint-green:#e1eee3;--gp-tint-green-hover:#d3e6d6;--gp-tint-gold:#fff8e1;--gp-tint-gold-hover:#fdeeba;
	--gp-tint-wait:#fbf3d9;--gp-wait-tx:#7a5600;--gp-wait-border:#ecd48a;
	--gp-tint-red:#fdecec;--gp-red-tx:#a11d1d;--gp-red-border:#f5c2c2;
	--gp-tint-ok:#e6efe7;--gp-ok-border:#b9d3bc;--gp-tint-info:#eceefa;--gp-info-border:#c7cce6;
	--gp-tint-exp:#f0e3e3;--gp-exp-tx:#8a2a2a;--gp-tint-draft:#e8e9ee;--gp-switch-off:#c7cabb;
}
html[data-theme="dark"]{
	--gp-tx:#e8eaf6;--gp-muted:#9aa0bd;--gp-surface:#151b36;--gp-input:#10152d;--gp-soft:#101530;--gp-soft2:#1a2142;--gp-img:#1d2447;
	--gp-border:#2b3358;--gp-border2:#3a4474;
	--gp-navy:#26338a;--gp-green-tx:#6fcf83;--gp-green-bg:#2a7a3c;
	--gp-tint-green:#16301f;--gp-tint-green-hover:#1d3d29;--gp-tint-gold:#3a3217;--gp-tint-gold-hover:#4a4020;
	--gp-tint-wait:#3a3217;--gp-wait-tx:#f1d58a;--gp-wait-border:#6b5a1f;
	--gp-tint-red:#3a1d22;--gp-red-tx:#ff8f85;--gp-red-border:#6b2c34;
	--gp-tint-ok:#16301f;--gp-ok-border:#2d6a3c;--gp-tint-info:#232c5e;--gp-info-border:#34408a;
	--gp-tint-exp:#3a1f22;--gp-exp-tx:#ff9a8f;--gp-tint-draft:#232a4d;--gp-switch-off:#3a4474;
}
/* نقشه Leaflet در حالت تیره */
html[data-theme="dark"] .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.92) contrast(.92)}
html[data-theme="dark"] .leaflet-container{background:#1d2447}
html[data-theme="dark"] .leaflet-popup-content-wrapper,html[data-theme="dark"] .leaflet-popup-tip{background:var(--gp-surface);color:var(--gp-tx)}
html[data-theme="dark"] .leaflet-control-zoom a{background:var(--gp-surface);color:var(--gp-tx);border-color:var(--gp-border)}
html[data-theme="dark"] .leaflet-control-attribution{background:#151b36cc;color:var(--gp-muted)}
html[data-theme="dark"] .leaflet-control-attribution a{color:var(--gp-green-tx)}
