@font-face{font-family:TajawalMap;src:url('/qmam/fonts/Tajawal/Tajawal-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:TajawalMap;src:url('/qmam/fonts/Tajawal/Tajawal-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
#investment-map .map-grid{gap:24px;border-radius:20px;padding:24px;grid-template-columns:minmax(0,1.15fr) minmax(320px,.95fr);box-shadow:0 18px 50px #162c4208;background:#fff;font-family:TajawalMap,Tajawal,sans-serif}
#investment-map .map-fig{background:linear-gradient(145deg,#f2f7fb,#fbfdff);border:1px solid #d9e5ef;border-radius:14px;padding:18px;align-self:start;min-width:0}
#investment-map .map-fig .cap{align-items:center;color:#162c42;margin-bottom:12px;font-size:17px;gap:12px;flex-wrap:wrap}
#investment-map .map-local-current{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border:1px solid #cfdeec;border-radius:999px;background:#fff;color:#1b5486;font-size:13px;font-weight:700}
#investment-map .map-local-caption{font-size:13px;color:#60778e;margin:0 0 12px}
#investment-map .map-local-viewport{direction:ltr;overflow:auto;aspect-ratio:931.579/1024;max-height:570px;border-radius:10px;scrollbar-color:#b3cbe0 #eef4f9;scrollbar-width:thin;overscroll-behavior:contain}
#investment-map .map-svg{direction:rtl;display:block;width:100%;height:auto;max-height:none;min-width:100%;overflow:visible}
#investment-map .map-svg path{fill:#e6eef5!important;stroke:#fff;stroke-width:2;stroke-linejoin:round;transition:fill .18s,stroke .18s}
#investment-map .map-svg path[data-has]{fill:#a5c6df!important}
#investment-map .map-svg path:hover{fill:#79a9ce!important}
#investment-map .map-svg path[aria-pressed=true]{fill:#1b5486!important;stroke:#fff;stroke-width:2.5}
#investment-map .map-svg path:focus{outline:none}
#investment-map .map-svg path:focus-visible{stroke:#162c42;stroke-width:6;outline:none}
#investment-map .map-svg text{font-family:TajawalMap,Tajawal,sans-serif;font-size:27px;font-weight:700;fill:#244765!important;stroke:#fff!important;stroke-width:3px;stroke-linejoin:round;paint-order:stroke;pointer-events:none}
#investment-map .map-svg text[data-selected=true]{fill:#fff!important;stroke:#1b5486!important;stroke-width:3.5px}
#investment-map .map-local-controls{display:flex;align-items:center;gap:6px;justify-content:flex-end;margin:12px 0 0}
#investment-map .map-local-controls button{display:grid;place-items:center;min-width:38px;min-height:38px;border:1px solid #c9dbea;border-radius:8px;background:#fff;color:#1b5486;font:700 18px TajawalMap,sans-serif;cursor:pointer}
#investment-map .map-local-controls button:last-child{font-size:13px;padding:0 11px}
#investment-map .map-local-controls button:disabled{opacity:.4;cursor:default}
#investment-map .map-local-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:#58718a;margin:14px 0 0;padding-top:13px;border-top:1px solid #dbe6f0}
#investment-map .map-local-legend span{display:flex;align-items:center;gap:6px}
#investment-map .map-local-legend i{width:11px;height:11px;border:1px solid #cedde9;border-radius:3px;background:#e6eef5}
#investment-map .map-local-legend .has i{background:#a5c6df}.map-local-legend .selected i{background:#1b5486!important}
#investment-map .map-side{padding:5px 4px;gap:12px}
#investment-map .map-side label{font-size:15px;color:#162c42;margin:0}
#investment-map .map-side .select{min-height:50px;border-radius:9px;border-color:#bfd3e5;background-color:#fff;font:400 16px TajawalMap,Tajawal,sans-serif;max-width:100%}
#investment-map .map-local-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0 7px;padding:14px;border:1px solid #d6e3ee;background:#f2f7fb;border-radius:10px;color:#526d87;font-size:14px}
#investment-map .map-local-summary strong{font-size:23px;color:#1b5486;margin-inline-end:4px}
#investment-map .map-chips{gap:7px;margin-bottom:6px}
#investment-map .map-chips button{border-radius:8px;padding:7px 10px;font:700 13px TajawalMap,Tajawal,sans-serif;display:flex;gap:7px;align-items:center;min-height:38px;border-color:#d5e2ed;background:#fff}
#investment-map .map-chips button small{background:#edf4fa;border-radius:5px;padding:0 5px;color:#4d7292;font-size:12px}
#investment-map .map-chips button[aria-pressed=true]{background:#1b5486;color:#fff;border-color:#1b5486}
#investment-map .map-chips button[aria-pressed=true] small{background:#ffffff25;color:#fff}
#investment-map #map-name{font:700 27px/1.5 TajawalMap,Tajawal,sans-serif;color:#162c42;margin:2px 0 0}
#investment-map #map-count{font-size:14px;color:#60778e;line-height:1.8}
#investment-map .map-list{border:0;display:flex;flex-direction:column;gap:8px;max-height:300px;padding:1px 4px 1px 0;scrollbar-width:thin;scrollbar-color:#b8cee0 #f3f7fa;overscroll-behavior:contain}
#investment-map .map-list a{padding:12px 14px;background:#fff;border:1px solid #d6e3ee;border-radius:9px;min-height:48px;align-items:center;line-height:1.7;font-size:15px;color:#244765}
#investment-map .map-list a:hover{background:#edf4fa;border-color:#94b5d0}
#investment-map .map-side .more{margin-top:8px;background:#1b5486;color:#fff;border:1px solid #1b5486;border-radius:8px;min-height:46px;padding:9px 14px;display:flex;justify-content:space-between;align-items:center;font-size:15px}
#investment-map :is(button,a,select):focus-visible{outline:3px solid #91b8d8;outline-offset:3px}
@media(max-width:900px){#investment-map .map-grid{grid-template-columns:1fr}#investment-map .map-local-viewport{max-height:550px}#investment-map .map-side{padding:0}}
@media(max-width:540px){#investment-map .map-grid{padding:14px;gap:20px;border-radius:14px}#investment-map .map-fig{padding:12px}#investment-map .map-fig .cap{font-size:16px}#investment-map .map-local-current{font-size:12px}#investment-map .map-svg text:not([data-selected=true]){display:none}#investment-map .map-svg text[data-selected=true]{font-size:34px}#investment-map .map-local-legend{gap:10px;font-size:11px}#investment-map .map-local-summary{font-size:13px}#investment-map .map-local-summary strong{font-size:20px}#investment-map .map-list{max-height:260px}}
@media(prefers-reduced-motion:reduce){#investment-map .map-svg path{transition:none}}
