body {
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.topbar { height: 78px; }

.brand {
  min-width: max-content;
  font-family: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-copy h1,
.page-heading h1 {
  font-family: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.025em;
}

.hero-copy p,
.page-heading p {
  max-width: 760px;
  font-size: 18px;
  line-height: 2;
}

.section-head h2,
.source-card h2,
.dialog-company h2,
.method-card h2,
.probe-content h2 {
  font-family: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  line-height: 1.65;
}

.topbar nav a,
.primary,
.secondary,
.chip,
.detail-btn { font-weight: 600; }

.eyebrow,
.kicker { letter-spacing: 0; }

.stat strong,
.radar-head strong {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 800px) {
  .topbar { height: auto; }
  .hero-copy h1 { font-size: 36px; line-height: 1.5; }
  .hero-copy p, .page-heading p { font-size: 16px; }
}

#iraqMap {
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: #0b1715;
}

#iraqMap::before { display: none; }
#iraqMap .leaflet-tile-pane { filter: invert(92%) hue-rotate(125deg) brightness(.42) saturate(.7); }
#iraqMap .leaflet-control-zoom a {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}
#iraqMap .leaflet-control-attribution {
  background: rgba(7,16,15,.82);
  color: var(--muted);
}
#iraqMap .leaflet-control-attribution a { color: var(--accent); }
.cache-map-marker {
  border: 0;
  background: transparent;
}
.cache-map-marker span {
  display: block;
  width: 18px;
  height: 18px;
  margin: 5px;
  border: 4px solid #0a1714;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(73,224,164,.18), 0 0 20px rgba(73,224,164,.45);
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--surface2);
  color: var(--text);
}
.leaflet-popup-content { font-family: "IBM Plex Sans Arabic", sans-serif; text-align: right; }

/* نتائج فحص الاتصال المباشر */
.probe-result { color: var(--text); font-weight: 500; }
.probe-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:right; padding-bottom:14px; border-bottom:1px solid var(--line); }
.probe-summary strong { font-size:1.1rem; }
.probe-summary span { font-size:.75rem; color:var(--muted); }
.probe-summary.up strong { color:var(--accent); }
.probe-summary.degraded strong { color:var(--warn); }
.probe-summary.down strong { color:var(--bad); }
.probe-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:14px 0; }
.probe-metrics div { background:rgba(0,0,0,.12); border-radius:11px; padding:12px; text-align:right; }
.probe-metrics span { display:block; color:var(--muted); font-size:.72rem; margin-bottom:5px; }
.probe-metrics strong { display:block; font-size:.82rem; overflow-wrap:anywhere; }
.probe-targets { display:flex; gap:7px; flex-wrap:wrap; }
.probe-targets span { padding:6px 9px; border-radius:8px; font-size:.7rem; background:rgba(73,224,164,.08); color:var(--accent); }
.probe-targets .fail { background:rgba(255,92,102,.08); color:var(--bad); }
.probe-note { font-size:.7rem !important; line-height:1.7; margin:14px 0 0 !important; text-align:right; }
#runProbe:disabled { opacity:.65; cursor:wait; transform:none; }
@media (max-width:520px) { .probe-metrics { grid-template-columns:1fr; } .probe-summary { align-items:flex-start; flex-direction:column; } }
