/* MeroKalam.com official nepal-earthquick-live styles. Unauthorized copying or republication is not permitted. */
/* ── DARK TRACKER DESIGN SYSTEM ── */
:root {
  --d-bg:      #0b0f14;
  --d-surf:    #111823;
  --d-surf2:   #1a2333;
  --d-border:  #1e2d3d;
  --d-text:    #e2e8f0;
  --d-muted:   #7b8fa3;
  --d-dim:     #4a5568;
  --d-red:     #ef4444;
  --d-red-glow:rgba(239,68,68,.18);
  --d-amber:   #f59e0b;
  --d-green:   #22c55e;
  --d-radius:  12px;
  --d-shadow:  0 4px 24px rgba(0,0,0,.4);
}

/* ── PAGE WRAPPER ── */
.eq-page { background: var(--d-bg); color: var(--d-text); font-family: system-ui,-apple-system,sans-serif; }

/* ── HERO ── */
.eq-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0b0f14 0%, #0f1e30 50%, #0b0f14 100%);
  padding: 3.5rem 1.5rem 2.5rem; text-align: center;
}
.eq-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(239,68,68,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.eq-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,.4), transparent);
}
.eq-wave-wrap {
  position: absolute; bottom: 0; left: 0; right: 0; height: 56px;
  overflow: hidden; opacity: .55; pointer-events: none;
}
.eq-wave-svg {
  width: 200%; height: 100%;
  animation: waveScroll 18s linear infinite;
}
@keyframes waveScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.eq-badge-live {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3);
  color: #fca5a5; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem 1rem; margin-bottom: 1.2rem;
}
.eq-pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--d-red);
  animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity:1; transform:scale(1); box-shadow: 0 0 0 0 rgba(239,68,68,.5); }
  50%      { opacity:.7; transform:scale(1.3); box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}

.eq-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900; line-height: 1.15;
  color: #fff; margin: 0 0 .75rem; letter-spacing: -.02em;
  white-space: nowrap;
}
.eq-hero h1 .r { color: var(--d-red); }
.eq-hero-sub {
  font-size: .92rem; color: var(--d-muted); width: 100%; max-width: 980px;
  margin: 0 auto 1.5rem; line-height: 1.7; text-align: left;
}
.eq-hero-meta {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}
.eq-hero-meta span {
  font-size: .72rem; color: var(--d-dim); display: flex; align-items: center; gap: .35rem;
}

/* ── LOADING / ERROR ── */
.eq-state-wrap { padding: 3rem 1.5rem; text-align: center; }
#eq-loading { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem; color: var(--d-muted); }
.eq-spinner {
  width: 44px; height: 44px; border: 3px solid var(--d-border);
  border-top-color: var(--d-red); border-radius: 50%;
  animation: spin .85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#eq-error {
  display: none; margin: 1.5rem;
  background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.25);
  border-radius: var(--d-radius); padding: 2rem; color: #fca5a5; text-align: center;
}
#eq-error strong { display: block; font-size: 1rem; margin-bottom: .4rem; }
#eq-error a { color: var(--d-red); }

/* ── STATS GRID ── */
#eq-stats {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem; padding: 0 1.5rem 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.eq-stat {
  background: var(--d-surf); border: 1px solid var(--d-border);
  border-radius: var(--d-radius); padding: 1rem 1.1rem; text-align: center;
  position: relative; overflow: hidden;
}
.eq-stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--d-border);
}
.eq-stat.red::before  { background: var(--d-red); }
.eq-stat.amber::before{ background: var(--d-amber); }
.eq-stat.green::before{ background: var(--d-green); }
.eq-stat-icon { font-size: 1.1rem; margin-bottom: .3rem; }
.eq-stat-lbl { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--d-muted); margin-bottom: .4rem; }
.eq-stat-n { font-size: 1.7rem; font-weight: 900; line-height: 1; }
.eq-stat-n.red   { color: var(--d-red); }
.eq-stat-n.amber { color: var(--d-amber); }
.eq-stat-n.green { color: var(--d-green); }
.eq-stat-n.latest { font-size: 1rem; padding-top: .25rem; color: var(--d-text); }
.eq-stat-sub { font-size: .65rem; color: var(--d-dim); margin-top: .2rem; }
@media (max-width:900px) { #eq-stats { grid-template-columns: repeat(3,1fr); } }
@media (max-width:500px) { #eq-stats { grid-template-columns: repeat(2,1fr); } }

/* ── FILTER TABS ── */
.eq-filter-bar {
  display: flex; gap: .5rem; padding: 0 1.5rem 1rem; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto;
}
.eq-ftab {
  padding: .4rem 1rem; border-radius: 999px;
  border: 1px solid var(--d-border); background: transparent;
  color: var(--d-muted); font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.eq-ftab:hover { border-color: var(--d-red); color: #fca5a5; }
.eq-ftab.on    { background: var(--d-red); border-color: var(--d-red); color: #fff; }

/* ── MAIN GRID ── */
#eq-main {
  display: none; max-width: 1100px; margin: 0 auto;
  padding: 0 1.5rem 1rem; gap: 1rem;
}
#eq-main.loaded { display: grid; grid-template-columns: 1.1fr .9fr; }
@media (max-width: 760px) { #eq-main.loaded { grid-template-columns: 1fr; } }

.eq-panel {
  background: var(--d-surf); border: 1px solid var(--d-border);
  border-radius: var(--d-radius); overflow: hidden;
}
.eq-panel-hd {
  display: flex; align-items: center; gap: .5rem;
  padding: .85rem 1.1rem; border-bottom: 1px solid var(--d-border);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--d-muted);
}
.eq-panel-hd svg { flex-shrink: 0; }

/* ── ACTIVITY FEED ── */
#eq-list { max-height: 460px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--d-border) transparent; }
#eq-list::-webkit-scrollbar { width: 4px; }
#eq-list::-webkit-scrollbar-thumb { background: var(--d-border); border-radius: 2px; }

.eq-row {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .75rem 1rem; border-bottom: 1px solid var(--d-border);
  cursor: pointer; transition: background .12s; position: relative;
}
.eq-row:last-child { border-bottom: none; }
.eq-row:hover { background: rgba(255,255,255,.03); }
.eq-row.active {
  background: rgba(239,68,68,.07);
  border-left: 3px solid var(--d-red);
  padding-left: calc(1rem - 3px);
}

.eq-mag-block {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.eq-mag-block.eq-min { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); color: var(--d-green); }
.eq-mag-block.eq-mod { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.25); color: var(--d-amber); }
.eq-mag-block.eq-sig { background: rgba(239,68,68,.14); border: 1px solid rgba(239,68,68,.3);  color: var(--d-red);   }
.eq-mag-n   { font-size: 1.05rem; font-weight: 900; line-height: 1; }
.eq-mag-lbl { font-size: .55rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

.eq-detail { flex: 1; min-width: 0; }
.eq-place-line { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-bottom: .1rem; }
.eq-pname { font-size: .87rem; font-weight: 700; color: var(--d-text); }
.eq-cbadge {
  font-size: .62rem; font-weight: 600; background: rgba(255,255,255,.08);
  color: #94a3b8; border-radius: 4px; padding: .08rem .4rem;
}
.eq-pdist { font-size: .72rem; color: var(--d-muted); margin-bottom: .1rem; }
.eq-region { font-size: .7rem; color: #60a5fa; font-style: italic; margin-bottom: .2rem; }
.eq-meta-line { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.eq-ago  { font-size: .7rem; color: var(--d-muted); }
.eq-dbadge { font-size: .65rem; font-weight: 700; border-radius: 4px; padding: .1rem .45rem; }
.d-shallow { background: rgba(34,197,94,.12);  color: #4ade80; }
.d-mid     { background: rgba(245,158,11,.12); color: #fbbf24; }
.d-deep    { background: rgba(239,68,68,.12);  color: #fca5a5; }

/* ── CHART PANEL ── */
.eq-chart-inner { padding: 1rem; height: 300px; position: relative; }

/* ── DAILY CHART ── */
#eq-charts-panel {
  display: none; max-width: 1100px; margin: 0 auto;
  padding: 0 1.5rem 1rem;
}
#eq-charts-panel.loaded { display: block; }
.eq-day-inner { height: 160px; padding: .75rem 1rem 1rem; }

/* ── LIGHT CONTENT SECTION ── */
.eq-light { background: #f8f9fa; padding-top: .5rem; }
.eq-content-inner { max-width: 960px; margin: 0 auto; padding: 1.5rem 1.5rem 3rem; }

/* ── CONTEXT BOX (border region explainer) ── */
.eq-context-box {
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--d-radius);
  padding: 1.1rem 1.4rem; margin-bottom: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
}
.eq-ctx-icon { font-size: 1.5rem; flex-shrink: 0; }
.eq-ctx-title { font-size: .88rem; font-weight: 700; color: #1e40af; margin: 0 0 .3rem; }
.eq-ctx-body  { font-size: .82rem; color: #3b82f6; line-height: 1.65; margin: 0; }
.eq-ctx-body strong { color: #1e40af; }

/* ── DEPTH BREAKDOWN ── */
.eq-depth-strip {
  display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-bottom: 1.5rem;
}
.eq-depth-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: var(--d-radius);
  padding: 1rem 1.25rem; text-align: center; box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.eq-depth-card h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #6b7280; margin: 0 0 .3rem; }
.eq-depth-card p  { font-size: .78rem; color: #9ca3af; margin: .3rem 0 0; line-height: 1.5; }
.eq-depth-card .eq-dc-val { font-size: 1.4rem; font-weight: 900; }
.eq-dc-val.green { color: #16a34a; }
.eq-dc-val.amber { color: #d97706; }
.eq-dc-val.red   { color: #dc2626; }
@media (max-width:500px) { .eq-depth-strip { grid-template-columns: 1fr; } }

/* ── PREPAREDNESS CALLOUT ── */
.eq-callout {
  background: linear-gradient(135deg,#fff5f5,#fff0f0); border-left: 4px solid #ef4444;
  border-radius: var(--d-radius); padding: 1.1rem 1.4rem; margin-bottom: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.eq-callout-icon { font-size: 1.5rem; flex-shrink: 0; }
.eq-callout h3   { font-size: .9rem; font-weight: 700; color: #1f2937; margin: 0 0 .3rem; }
.eq-callout p    { font-size: .82rem; color: #6b7280; margin: 0; line-height: 1.65; }

/* ── ARTICLE ── */
.eq-article { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--d-radius); padding: 2rem; box-shadow: 0 1px 6px rgba(0,0,0,.05); margin-bottom: 1.5rem; }
.eq-article h2  { font-size: 1.3rem; font-weight: 800; color: #111827; margin: 0 0 .8rem; }
.eq-article h3  { font-size: 1rem; font-weight: 700; color: #111827; margin: 1.5rem 0 .5rem; }
.eq-article p   { font-size: .9rem; color: #4b5563; line-height: 1.8; margin: 0 0 .9rem; }
.eq-article p:last-child { margin: 0; }

.eq-hist-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .82rem; overflow-x: auto; display: block; }
.eq-hist-table thead { display: table-header-group; }
.eq-hist-table tbody { display: table-row-group; }
.eq-hist-table tr { display: table-row; }
.eq-hist-table th { background: #f9fafb; padding: .55rem .75rem; text-align: left; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9ca3af; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.eq-hist-table td { padding: .6rem .75rem; border-bottom: 1px solid #f3f4f6; color: #374151; vertical-align: top; }
.eq-hist-table tr:last-child td { border-bottom: none; }
.eq-hist-table tr:hover td { background: #f9fafb; }
.eq-mbadge { display: inline-block; font-weight: 800; border-radius: 6px; padding: .15rem .55rem; font-size: .82rem; }
.eq-mbadge.r { background: #fef2f2; color: #dc2626; }
.eq-mbadge.y { background: #fffbeb; color: #d97706; }

/* ── FAQ ── */
.eq-faq { margin-bottom: 1.5rem; }
.eq-faq h2   { font-size: 1.25rem; font-weight: 800; color: #111827; margin: 0 0 1rem; }
.acc-item    { border: 1px solid #e5e7eb; border-radius: var(--d-radius); margin-bottom: .5rem; background: #fff; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.acc-btn     { width: 100%; text-align: left; background: none; border: none; padding: 1rem 1.1rem; font-size: .9rem; font-weight: 600; color: #1f2937; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-family: inherit; }
.acc-btn::after { content: '+'; font-size: 1.2rem; font-weight: 400; color: #9ca3af; flex-shrink: 0; }
.acc-btn.open::after { content: '−'; }
.acc-body    { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body.open { max-height: 600px; }
.acc-body p  { padding: .2rem 1.1rem 1rem; font-size: .87rem; color: #6b7280; line-height: 1.75; margin: 0; }

/* ── RELATED TOOLS ── */
.eq-related { margin-bottom: 1.5rem; }
.eq-related h2 { font-size: 1.1rem; font-weight: 800; color: #111827; margin: 0 0 .75rem; }
.eq-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; }
.eq-rel-link { display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: .75rem 1rem; text-decoration: none; color: #111827; font-size: .82rem; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: border-color .15s, box-shadow .15s; }
.eq-rel-link:hover { border-color: #ef4444; box-shadow: 0 4px 16px rgba(239,68,68,.12); }
.eq-rel-link span { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
@media (max-width:500px) { .eq-related-grid { grid-template-columns: repeat(2,1fr); } }

/* ── PROVINCE RISK INFOGRAPHIC ── */
.eq-risk-section { background:#fff; border:1px solid #e5e7eb; border-radius:var(--d-radius); padding:1.5rem; margin-bottom:1.5rem; box-shadow:0 1px 6px rgba(0,0,0,.05); }
.eq-risk-section h2 { font-size:1.2rem; font-weight:800; color:#111827; margin:0 0 .25rem; }
.eq-risk-section > p { font-size:.82rem; color:#6b7280; margin:0 0 1.25rem; line-height:1.6; }
.eq-risk-row { display:flex; align-items:center; gap:.75rem; margin-bottom:.65rem; }
.eq-risk-prov { font-size:.8rem; font-weight:600; color:#374151; width:145px; flex-shrink:0; line-height:1.3; }
.eq-risk-prov small { display:block; font-size:.68rem; color:#9ca3af; font-weight:400; }
.eq-risk-bar-wrap { flex:1; background:#f3f4f6; border-radius:999px; height:10px; overflow:hidden; }
.eq-risk-bar { height:100%; border-radius:999px; transition:width .6s ease; }
.eq-risk-bar.r1 { background:linear-gradient(90deg,#dc2626,#ef4444); width:96%; }
.eq-risk-bar.r2 { background:linear-gradient(90deg,#ea580c,#f97316); width:87%; }
.eq-risk-bar.r3 { background:linear-gradient(90deg,#d97706,#f59e0b); width:78%; }
.eq-risk-bar.r4 { background:linear-gradient(90deg,#ca8a04,#eab308); width:68%; }
.eq-risk-bar.r5 { background:linear-gradient(90deg,#65a30d,#84cc16); width:55%; }
.eq-risk-bar.r6 { background:linear-gradient(90deg,#16a34a,#22c55e); width:43%; }
.eq-risk-bar.r7 { background:linear-gradient(90deg,#15803d,#4ade80); width:34%; }
.eq-risk-lbl { font-size:.7rem; font-weight:700; width:80px; text-align:right; flex-shrink:0; }
.lbl-crit { color:#dc2626; } .lbl-vhi { color:#ea580c; } .lbl-hi { color:#d97706; }
.lbl-mhi { color:#ca8a04; } .lbl-mod { color:#65a30d; } .lbl-lo { color:#16a34a; } .lbl-vlo { color:#15803d; }
.eq-risk-note { font-size:.72rem; color:#9ca3af; margin-top:.85rem; line-height:1.6; }

/* ── HISTORICAL EARTHQUAKE CHART ── */
.eq-hist-wrap { background:#fff; border:1px solid #e5e7eb; border-radius:var(--d-radius); padding:1.5rem; margin-bottom:1.5rem; box-shadow:0 1px 6px rgba(0,0,0,.05); }
.eq-hist-wrap h2 { font-size:1.2rem; font-weight:800; color:#111827; margin:0 0 .25rem; }
.eq-hist-wrap > p { font-size:.82rem; color:#6b7280; margin:0 0 1.1rem; line-height:1.6; }
.eq-hist-kpi { display:grid; grid-template-columns:repeat(4,1fr); gap:.6rem; margin-bottom:1.25rem; }
.eq-hist-kpi-card { background:#f9fafb; border:1px solid #e5e7eb; border-radius:10px; padding:.7rem 1rem; text-align:center; }
.eq-hist-kpi-n { font-size:1.25rem; font-weight:900; color:#111827; }
.eq-hist-kpi-l { font-size:.68rem; color:#6b7280; margin-top:.1rem; line-height:1.4; }
.eq-hist-chart-box { height:370px; position:relative; }
.eq-hist-legend { display:flex; gap:1rem; margin-top:.85rem; flex-wrap:wrap; }
.eq-hist-leg-item { display:flex; align-items:center; gap:.35rem; font-size:.72rem; color:#6b7280; }
.eq-hist-leg-dot { width:11px; height:11px; border-radius:3px; }

/* ── MAGNITUDE SCALE ── */
.eq-mag-scale-wrap { background:#fff; border:1px solid #e5e7eb; border-radius:var(--d-radius); padding:1.5rem; margin-bottom:1.5rem; box-shadow:0 1px 6px rgba(0,0,0,.05); }
.eq-mag-scale-wrap h2 { font-size:1.2rem; font-weight:800; color:#111827; margin:0 0 .25rem; }
.eq-mag-scale-wrap > p { font-size:.82rem; color:#6b7280; margin:0 0 1.1rem; }
.eq-mscale-grid { display:grid; gap:.5rem; }
.eq-mscale-row { display:grid; grid-template-columns:60px 1fr; gap:.75rem; align-items:center; }
.eq-mscale-badge { display:flex; align-items:center; justify-content:center; border-radius:10px; height:46px; font-weight:900; font-size:.95rem; }
.eq-mscale-info h4 { font-size:.82rem; font-weight:700; color:#111827; margin:0 0 .1rem; }
.eq-mscale-info p  { font-size:.75rem; color:#6b7280; margin:0; line-height:1.5; }

/* ── PREPAREDNESS 3-COLUMN GUIDE ── */
.eq-prep-guide { margin-bottom:1.5rem; }
.eq-prep-guide h2 { font-size:1.2rem; font-weight:800; color:#111827; margin:0 0 .25rem; }
.eq-prep-guide > p { font-size:.82rem; color:#6b7280; margin:0 0 1rem; }
.eq-prep-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; }
.eq-prep-card { background:#fff; border:1px solid #e5e7eb; border-radius:var(--d-radius); padding:1.1rem 1.2rem; box-shadow:0 1px 4px rgba(0,0,0,.04); }
.eq-prep-card h3 { font-size:.85rem; font-weight:800; margin:0 0 .65rem; color:#111827; }
.eq-prep-card ul { margin:0; padding:0 0 0 1rem; }
.eq-prep-card li { font-size:.79rem; color:#4b5563; line-height:1.65; margin-bottom:.28rem; }
.eq-prep-card li strong { color:#111827; }

/* ── PROVINCE GUIDE TABLE ── */
.eq-prov-table-wrap { background:#fff; border:1px solid #e5e7eb; border-radius:var(--d-radius); padding:1.5rem; margin-bottom:1.5rem; box-shadow:0 1px 6px rgba(0,0,0,.05); overflow-x:auto; }
.eq-prov-table-wrap h2 { font-size:1.2rem; font-weight:800; color:#111827; margin:0 0 .25rem; }
.eq-prov-table-wrap > p { font-size:.82rem; color:#6b7280; margin:0 0 1rem; }
.eq-prov-tbl { width:100%; border-collapse:collapse; font-size:.8rem; min-width:560px; }
.eq-prov-tbl th { background:#f9fafb; padding:.55rem .75rem; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#9ca3af; border-bottom:2px solid #e5e7eb; }
.eq-prov-tbl td { padding:.6rem .75rem; border-bottom:1px solid #f3f4f6; color:#374151; vertical-align:top; line-height:1.5; }
.eq-prov-tbl tr:last-child td { border-bottom:none; }
.eq-prov-tbl tr:hover td { background:#f9fafb; }
.eq-risk-chip { display:inline-block; font-size:.65rem; font-weight:800; border-radius:999px; padding:.15rem .6rem; white-space:nowrap; }
.chip-crit { background:#fef2f2; color:#dc2626; }
.chip-vhi  { background:#fff7ed; color:#ea580c; }
.chip-hi   { background:#fffbeb; color:#d97706; }
.chip-mhi  { background:#fefce8; color:#ca8a04; }
.chip-mod  { background:#f7fee7; color:#65a30d; }

@media (max-width:640px) {
  .eq-hist-kpi { grid-template-columns:repeat(2,1fr); }
  .eq-hist-chart-box { height:300px; }
  .eq-prep-cols { grid-template-columns:1fr; }
  .eq-risk-prov { width:110px; font-size:.74rem; }
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .eq-hero { padding: 2rem 1rem 2rem; }
  .eq-hero h1 { font-size: 1.8rem; }
  .eq-hero-meta { gap: .75rem; }
  .eq-filter-bar { padding: 0 1rem .85rem; }
  #eq-main, #eq-charts-panel { padding-left: 1rem; padding-right: 1rem; }
  #eq-stats { padding: 0 1rem 1.25rem; }
  .eq-content-inner { padding: 1rem 1rem 2.5rem; }
  .eq-article { padding: 1.25rem; }
}
