.site-analytics-slot{position:relative;display:block;min-height:0;margin:0;padding:0;}
/* ArzPulse-specific presentation layer for GitHub Page Insights.
   Scoped under .arzpulse-insights so the existing site styles remain untouched. */
.arzpulse-insights{position:relative;margin:26px 0 28px;isolation:isolate}
.arzpulse-insights *{box-sizing:border-box}
.arzpulse-insights-shell{position:relative;overflow:hidden;border:1px solid rgba(89,216,255,.14);border-radius:28px;background:linear-gradient(135deg,rgba(8,24,40,.92),rgba(8,19,33,.76) 55%,rgba(19,18,40,.82));box-shadow:0 32px 90px rgba(0,0,0,.40),0 10px 34px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.045);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);padding:22px}
.arzpulse-insights-shell:before{content:"";position:absolute;inset:-35%;background:radial-gradient(circle at 15% 20%,rgba(89,216,255,.12),transparent 27%),radial-gradient(circle at 85% 25%,rgba(158,140,255,.12),transparent 30%),radial-gradient(circle at 50% 110%,rgba(57,217,166,.07),transparent 28%);pointer-events:none;z-index:-1;filter:blur(12px)}
.arzpulse-insights-shell:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 0 42%,rgba(255,255,255,.018) 50%,transparent 58%);background-size:240% 100%;animation:arzpi-shimmer 11s linear infinite;pointer-events:none}
@keyframes arzpi-shimmer{0%{background-position:210% 0}100%{background-position:-40% 0}}
.arzpulse-insights-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px;position:relative;z-index:1}
.arzpulse-insights-eyebrow{display:flex;align-items:center;gap:8px;color:#71d9ff;font-size:.65rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.arzpulse-insights-eyebrow i{width:8px;height:8px;border-radius:50%;background:#39d9a6;box-shadow:0 0 0 6px rgba(57,217,166,.08),0 0 18px rgba(57,217,166,.65);animation:arzpi-pulse 2s ease-in-out infinite}
@keyframes arzpi-pulse{50%{transform:scale(1.25);opacity:.72}}
.arzpulse-insights-title{margin:5px 0 0;font-size:1.25rem;line-height:1.2;color:#eef8ff;font-weight:850;letter-spacing:-.02em}
.arzpulse-insights-subtitle{margin:7px 0 0;color:#8fa7bb;font-size:.72rem;max-width:860px;line-height:1.8}
.arzpulse-insights-status{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;border:1px solid rgba(89,216,255,.14);background:rgba(7,18,31,.62);color:#b9d4e4;font-size:.68rem;white-space:nowrap;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.arzpulse-insights-status.is-offline{border-color:rgba(255,113,133,.2);color:#ff9aae}
.arzpulse-insights-status-dot{width:7px;height:7px;border-radius:50%;background:#39d9a6;box-shadow:0 0 14px rgba(57,217,166,.65)}
.is-offline .arzpulse-insights-status-dot{background:#ff7185;box-shadow:0 0 14px rgba(255,113,133,.55)}
.arzpulse-insights-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;position:relative;z-index:1}
.arzpi-metric{position:relative;overflow:hidden;min-height:118px;border:1px solid rgba(164,210,238,.10);border-radius:19px;padding:15px;background:linear-gradient(155deg,rgba(15,35,53,.80),rgba(9,21,36,.68));box-shadow:0 18px 44px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.arzpi-metric:before{content:"";position:absolute;width:110px;height:110px;right:-35px;top:-48px;border-radius:50%;background:radial-gradient(circle,rgba(89,216,255,.13),transparent 68%);pointer-events:none}
.arzpi-metric:hover{transform:translateY(-5px);border-color:rgba(89,216,255,.25);box-shadow:0 26px 56px rgba(0,0,0,.32),0 0 0 1px rgba(89,216,255,.03),inset 0 1px 0 rgba(255,255,255,.05)}
.arzpi-metric-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7e98ad;font-size:.63rem;font-weight:750;line-height:1.4}
.arzpi-metric-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:#71d9ff;background:rgba(89,216,255,.08);border:1px solid rgba(89,216,255,.14);font-size:.7rem}
.arzpi-metric-value{display:block;margin-top:16px;color:#f2fbff;font-size:1.55rem;font-weight:900;letter-spacing:-.03em;line-height:1}
.arzpi-metric-meta{display:block;margin-top:11px;color:#6f879a;font-size:.6rem}
.arzpulse-insights-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.85fr);gap:14px;margin-top:14px;position:relative;z-index:1}
.arzpi-panel{min-height:240px;border:1px solid rgba(164,210,238,.09);border-radius:21px;background:linear-gradient(145deg,rgba(11,27,44,.84),rgba(7,18,31,.69));padding:16px;box-shadow:0 20px 46px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.03)}
.arzpi-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.arzpi-panel-head strong{font-size:.75rem;color:#deeff8;font-weight:850}
.arzpi-panel-head span{font-size:.59rem;color:#6f879a}
.arzpi-chart{width:100%;height:178px;display:block;overflow:visible}
.arzpi-chart-grid{stroke:rgba(164,210,238,.07);stroke-width:1}
.arzpi-chart-area{opacity:.16}
.arzpi-chart-line{fill:none;stroke:#59d8ff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px rgba(89,216,255,.35))}
.arzpi-chart-dot{fill:#59d8ff;stroke:#071320;stroke-width:2}
.arzpi-chart-legend{display:flex;justify-content:space-between;gap:10px;color:#6f879a;font-size:.56rem;margin-top:6px}
.arzpi-breakdowns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.arzpi-list{display:grid;gap:9px}
.arzpi-list-row{display:grid;grid-template-columns:74px 1fr auto;align-items:center;gap:9px;color:#8da4b7;font-size:.6rem}
.arzpi-list-bar{height:6px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.035)}
.arzpi-list-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#59d8ff,#9e8cff);box-shadow:0 0 12px rgba(89,216,255,.2)}
.arzpi-list-row b{font-size:.61rem;color:#d6eaf5}
.arzpi-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;color:#6f879a;font-size:.58rem;position:relative;z-index:1}
.arzpi-footer-left{display:flex;gap:14px;flex-wrap:wrap}
.arzpi-footer button{appearance:none;border:1px solid rgba(89,216,255,.13);background:rgba(89,216,255,.05);color:#96bfd1;border-radius:10px;padding:7px 10px;font:inherit;cursor:pointer;transition:.2s}
.arzpi-footer button:hover{transform:translateY(-1px);border-color:rgba(89,216,255,.28);color:#dff6ff}
.arzpi-empty{min-height:120px;display:grid;place-items:center;text-align:center;color:#8097aa;border:1px dashed rgba(164,210,238,.10);border-radius:15px;background:rgba(255,255,255,.015);font-size:.65rem;line-height:1.8;padding:18px}
body.rtl .arzpulse-insights{text-align:right}
body.rtl .arzpulse-insights-title{letter-spacing:0}
body.rtl .arzpulse-insights-status{direction:rtl}
body.light .arzpulse-insights-shell{background:linear-gradient(135deg,rgba(255,255,255,.90),rgba(245,250,253,.82) 55%,rgba(251,248,255,.88));border-color:rgba(35,144,188,.13);box-shadow:0 28px 72px rgba(22,61,85,.14),0 8px 24px rgba(22,61,85,.08),inset 0 1px 0 rgba(255,255,255,.75)}
body.light .arzpulse-insights-title{color:#092033}
body.light .arzpulse-insights-subtitle,body.light .arzpi-metric-label,body.light .arzpi-panel-head span,body.light .arzpi-list-row,body.light .arzpi-footer,body.light .arzpi-chart-legend{color:#61798d}
body.light .arzpi-metric,body.light .arzpi-panel{background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(241,247,251,.78));border-color:rgba(16,53,76,.09);box-shadow:0 17px 36px rgba(22,61,85,.08),inset 0 1px 0 rgba(255,255,255,.8)}
body.light .arzpi-metric-value{color:#092033}
body.light .arzpi-list-row b{color:#28475c}
body.compact .arzpulse-insights-shell{padding:18px}.compact .arzpulse-insights{margin-top:18px}.compact .arzpi-metric{min-height:104px;padding:13px}.compact .arzpulse-insights-metrics{gap:10px}.compact .arzpi-metric-value{font-size:1.3rem}
@media (max-width:1280px){.arzpulse-insights-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.arzpulse-insights-body{grid-template-columns:1fr}.arzpi-panel{min-height:220px}}
@media (max-width:700px){.arzpulse-insights-shell{padding:15px;border-radius:22px}.arzpulse-insights-head{flex-direction:column;gap:12px}.arzpulse-insights-status{align-self:flex-start}.arzpulse-insights-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.arzpi-metric{min-height:105px;padding:12px}.arzpi-metric-value{font-size:1.25rem}.arzpi-breakdowns{grid-template-columns:1fr}.arzpi-chart{height:155px}.arzpi-footer{align-items:flex-start;flex-direction:column}.arzpulse-insights-title{font-size:1.08rem}}
@media (max-width:430px){.arzpulse-insights-metrics{grid-template-columns:1fr}.arzpi-metric{min-height:94px}.arzpi-metric-value{margin-top:11px}}
@media (prefers-reduced-motion:reduce){.arzpulse-insights-shell:after,.arzpulse-insights-eyebrow i{animation:none}.arzpi-metric{transition:none}}
