/* ===== لوحة المؤشرات: مكوّنات إضافية فوق site.css ===== */
.hero{background:linear-gradient(135deg,#002623 0%,#054239 60%,#2f5d57 100%);color:#fff;padding:30px 0 26px}
.hero .wrap{max-width:none;padding:0 32px}
.hero h1{font-size:clamp(22px,3vw,32px);color:#fff}
.hero p{color:#d8e2dc;margin-top:8px;max-width:820px;font-size:14.5px}
.hero .src{display:inline-block;margin-top:12px;font-size:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);padding:4px 12px;border-radius:999px}

.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px;margin-bottom:26px}
@media(max-width:900px){.grid-2,.grid-3{grid-template-columns:1fr}.charts{grid-template-columns:1fr}}
.block{margin-bottom:34px}

/* chart cards */
.ch-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow-sm);min-width:0}
.ch-card.wide{grid-column:1/-1}
.ch-card figcaption h4{font-size:15px;color:var(--green-d)}
.ch-card figcaption p{font-size:12px;color:var(--muted);margin-top:2px}
.ch-card figcaption{margin-bottom:12px}
.ch-note{font-size:11.5px;color:var(--muted);margin-top:10px;border-top:1px dashed var(--border);padding-top:8px}
.ch-scroll{overflow-x:auto}
.ch-svg{width:100%;height:auto}
.ch-svg-v{font-size:11px;font-weight:700;fill:#161616}
.ch-svg-l{font-size:10.5px;fill:#3d3a3b}
.ch-hbars{display:grid;gap:9px}
.ch-hb-top{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;margin-bottom:4px}
.ch-hb-l{color:var(--ink-2)} .ch-hb-v{font-weight:700;white-space:nowrap}
.ch-hb-n{font-size:11px;color:var(--muted);margin-top:2px}
.ch-track{height:10px;background:var(--bg-2);border-radius:99px;overflow:hidden;flex:1}
.ch-fill{height:100%;border-radius:99px}
.ch-donut{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ch-dc{font-size:17px;font-weight:700;fill:#161616}.ch-dcl{font-size:10px;fill:#6f6a68}
.ch-legend{display:grid;gap:6px;flex:1;min-width:170px}
.ch-lg{display:grid;grid-template-columns:12px 1fr auto auto;gap:8px;align-items:center;font-size:12.5px}
.ch-lg i{width:12px;height:12px;border-radius:3px}.ch-lg em{font-style:normal;color:var(--muted);font-size:11.5px}
.ch-stack{display:grid;gap:9px}
.ch-st{display:grid;grid-template-columns:150px 1fr;gap:10px;align-items:center}
.ch-st-l{font-size:12.5px;line-height:1.3}.ch-st-l small{display:block;color:var(--muted);font-size:10.5px}
.ch-st-bar{display:flex;height:22px;border-radius:6px;overflow:hidden;background:var(--bg-2)}
.ch-seg{display:flex;align-items:center;justify-content:center;color:#fff;font-size:10.5px;font-weight:600;min-width:0;overflow:hidden}
.ch-seg span{padding:0 3px;white-space:nowrap}
@media(max-width:600px){.ch-st{grid-template-columns:1fr}}
.ch-inline-legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px;font-size:12px;color:var(--ink-2)}
.ch-inline-legend i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-inline-end:5px;vertical-align:middle}
.ch-gauges{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;text-align:center}
.ch-gv{font-size:17px;font-weight:700;fill:#161616}
.ch-gl{font-size:12.5px;color:var(--ink-2);line-height:1.35}.ch-gt{font-size:11px;color:var(--muted)}
.ch-cmp{display:grid;gap:12px}
.ch-cr-l{font-size:13px;font-weight:600;margin-bottom:4px}
.ch-cr-row{display:grid;grid-template-columns:62px 1fr auto;gap:8px;align-items:center;font-size:12px;margin-bottom:3px}
.ch-cr-row b{white-space:nowrap}
.dtbl{width:100%;border-collapse:collapse;font-size:12.5px}
.dtbl th{background:var(--green);color:#fff;font-weight:600;padding:8px 10px;text-align:right;white-space:nowrap}
.dtbl td{padding:8px 10px;border-bottom:1px solid var(--border-2);vertical-align:top}
.dtbl tr:nth-child(even) td{background:#faf9f6}

/* badges & chips */
.badge{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;padding:3px 10px;border-radius:999px;white-space:nowrap}
.b-crit{background:#f3e3e5;color:#6b1f2a}.b-warn{background:#f3eee2;color:#7a6440}.b-ok{background:#e3efec;color:#2f5d57}
.b-info{background:#e8edf3;color:#34506b}.b-muted{background:var(--bg-2);color:var(--ink-2)}
.b-live{background:#e3efec;color:#054239}.b-live::before{content:"";width:7px;height:7px;border-radius:50%;background:#2e9e6f;animation:pulse 1.6s infinite}
.b-plan{background:#f3eee2;color:#7a6440}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.dchip{display:inline-block;font-size:11px;padding:2px 9px;border-radius:999px;border:1px solid var(--border);color:var(--ink-2);background:#fff}
.dchip.deirezzor{border-color:#054239;color:#054239}.dchip.mayadin{border-color:#988561;color:#7a6440}.dchip.abukamal{border-color:#6b1f2a;color:#6b1f2a}

/* district cards */
.dist-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}
@media(max-width:900px){.dist-cards{grid-template-columns:1fr}}
.dist-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);display:block;transition:.15s}
.dist-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.dist-card .dh{padding:14px 18px;color:#fff}
.dist-card .dh h3{font-size:18px}.dist-card .dh small{opacity:.85;font-size:12px}
.dist-card .dstats{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--border)}
.dist-card .dstats div{background:#fff;padding:10px 14px}
.dist-card .dstats b{display:block;font-size:20px}.dist-card .dstats span{font-size:11.5px;color:var(--muted)}
.dist-card .dgo{display:block;padding:10px 18px;font-size:12.5px;font-weight:600;color:var(--green)}

/* sector cards */
.sec-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.sec-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);display:flex;flex-direction:column;transition:.15s;border-top:4px solid var(--c)}
.sec-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.sec-card .sh{padding:14px 16px 8px;display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.sec-card .sh h3{font-size:16px}
.sec-card .snums{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:6px 16px 12px}
.sec-card .snums b{display:block;font-size:17px;color:var(--c)}.sec-card .snums span{font-size:11px;color:var(--muted);line-height:1.3;display:block}
.sec-card .sfoot{margin-top:auto;border-top:1px solid var(--border-2);padding:9px 16px;display:flex;gap:12px;font-size:12px;color:var(--ink-2);flex-wrap:wrap}
.sec-card .sfoot b{color:var(--ink)}
.sec-card.nodata{opacity:.75;border-top-color:#c7c2b6}

/* highlights */
.hl-list{list-style:none;display:grid;gap:8px}
.hl-list li{background:var(--surface);border:1px solid var(--border);border-inline-start:4px solid var(--c,var(--green));border-radius:10px;padding:10px 14px;font-size:13.5px;line-height:1.7}

/* project & opportunity cards */
.pcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:14px}
.pcard{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:8px}
.pcard h4{font-size:14.5px;line-height:1.5}
.pcard .pmeta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pcard p{font-size:12.8px;color:var(--ink-2);line-height:1.7}
.pcard .pcost{font-size:13px;font-weight:700;color:var(--green-d)}
.pcard .psec{font-size:11.5px;color:var(--muted)}
.prog{height:7px;background:var(--bg-2);border-radius:99px;overflow:hidden}.prog i{display:block;height:100%;background:var(--green-l)}

/* filters */
.filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px}
.filters label{font-size:12px;color:var(--muted)}
.filters select,.filters input{font-family:inherit;font-size:13px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;min-width:150px}
.filters .count{margin-inline-start:auto;font-size:12.5px;color:var(--ink-2)}
.seg-btns{display:flex;gap:6px;flex-wrap:wrap}
.seg-btns button{font-family:inherit;font-size:12.5px;padding:6px 12px;border-radius:999px;border:1px solid var(--border);background:#fff;cursor:pointer}
.seg-btns button.on{background:var(--green);border-color:var(--green);color:#fff}

/* swot */
.swot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(max-width:800px){.swot{grid-template-columns:1fr}}
.swq{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;border-top:4px solid var(--c)}
.swq h4{font-size:15px;margin-bottom:8px;color:var(--c)}
.swq ul{list-style:none;display:grid;gap:6px}
.swq li{font-size:13px;line-height:1.6;padding-inline-start:14px;position:relative}
.swq li::before{content:"•";position:absolute;inset-inline-start:0;color:var(--c);font-weight:700}

/* vision */
.vision{background:linear-gradient(135deg,#f3f1e8,#fff);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;margin-bottom:18px}
.vision h3{color:var(--green-d);font-size:16px;margin-bottom:6px}
.vision p{font-size:14px;line-height:1.9}
.phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}
@media(max-width:900px){.phases{grid-template-columns:1fr}}
.phase{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;border-top:4px solid var(--c)}
.phase h4{font-size:14px;color:var(--c)}.phase small{color:var(--muted);font-size:12px}
.phase ul{margin-top:8px;padding-inline-start:18px;font-size:12.8px;line-height:1.75}

/* area coverage columns */
.cov{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:900px){.cov{grid-template-columns:1fr}}
.covcol{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.covcol h4{padding:10px 14px;color:#fff;font-size:15px}
.covcol ul{list-style:none;padding:8px 12px 12px;display:grid;gap:6px}
.covcol li{font-size:12.8px;line-height:1.55;border-bottom:1px dashed var(--border-2);padding-bottom:6px}
.covcol li small{display:block;color:var(--muted);font-size:11.5px}
.covcol .empty{color:var(--muted);font-size:12.5px;padding:10px 14px}
.govwide{background:var(--bg-2);border-radius:var(--radius);padding:12px 16px;font-size:13px;margin-top:14px;color:var(--ink-2)}

/* eval table risk */
.risk-crit{color:#6b1f2a;font-weight:700}.risk-warn{color:#7a6440;font-weight:700}.risk-ok{color:#2f5d57;font-weight:700}

.map-box{height:480px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);margin-bottom:20px}
.leaflet-popup-content{font-family:'IBM Plex Sans Arabic',sans-serif;direction:rtl;text-align:right}

.quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:28px}
.qlink{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;display:flex;gap:12px;align-items:center;box-shadow:var(--shadow-sm);transition:.15s}
.qlink:hover{box-shadow:var(--shadow);border-color:var(--green-l)}
.qlink .qi{width:40px;height:40px;border-radius:10px;background:#e3efec;color:var(--green);display:grid;place-items:center;font-size:20px;flex:0 0 auto}
.qlink b{display:block;font-size:14.5px}.qlink span{font-size:12px;color:var(--muted)}

.notice{background:#fbf6ea;border:1px solid #eadfc4;border-inline-start:4px solid var(--wheat);border-radius:var(--radius);padding:12px 16px;font-size:12.8px;color:var(--ink-2);margin-bottom:18px;line-height:1.8}
.meta-line{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12.5px;color:var(--ink-2);margin-top:10px}
.meta-line b{color:var(--ink)}
.btn-print{font-family:inherit;font-size:12.5px;padding:7px 14px;border-radius:8px;border:1px solid var(--border);background:#fff;cursor:pointer}
@media print{.sidebar,.gov-bar,.tabs,.filters,.btn-print,.gov-foot{display:none!important}.layout{display:block}.tab-panel{display:block!important;page-break-before:always}.ch-card,.pcard{break-inside:avoid}}
@media(max-width:600px){.gov-bar .titles small{display:none}.hero .wrap,.phead .wrap{padding:0 16px}.cbody{padding:18px 14px}}
