/* ZippKart Phase 4 — growth, alerts and analytics UI */
.growth-alert-box{
  margin:14px 0 4px;padding:14px;border:1px solid var(--border,#e6eaf2);
  border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)
}
.growth-alert-box__title{font-size:13px;font-weight:750;color:var(--ink,#0e1e38);margin:0 0 9px}
.growth-alert-actions{display:flex;flex-wrap:wrap;gap:9px}
.growth-alert-btn{
  min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:9px 13px;border:1px solid #cfd8e7;border-radius:11px;background:#fff;
  color:var(--ink,#0e1e38);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;
  transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease
}
.growth-alert-btn:hover{border-color:var(--accent,#1e6feb);color:var(--accent,#1e6feb);transform:translateY(-1px)}
.growth-alert-btn.is-active{background:#eaf2ff;border-color:#9fc1fa;color:#0e57c8}
.growth-alert-btn.is-loading{opacity:.65;cursor:wait;transform:none}
.growth-alert-btn svg{width:17px;height:17px;flex:0 0 auto}
.growth-alert-status{display:block;margin-top:8px;font-size:12px;color:#0e7a46}
.growth-alert-status.is-error{color:#b42318}
.growth-alert-login{font-size:12.5px;color:var(--text-soft,#5b6b82);line-height:1.55}
.growth-alert-login a{font-weight:700;color:var(--accent,#1e6feb)}

.growth-alerts-page{padding:30px 0 64px}
.growth-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}
.growth-page-head h1{margin:0 0 5px;font-size:clamp(25px,3vw,34px)}
.growth-page-head p{margin:0;color:var(--text-soft,#5b6b82)}
.growth-alert-list{display:grid;gap:14px}
.growth-alert-card{
  display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:18px;align-items:center;
  padding:16px;border:1px solid var(--border,#e6eaf2);border-radius:16px;background:#fff;
  box-shadow:0 6px 22px rgba(14,30,56,.045)
}
.growth-alert-card__image{width:104px;height:104px;border-radius:13px;background:#f5f7fa;border:1px solid #edf0f5;padding:10px;object-fit:contain}
.growth-alert-card__meta{min-width:0}
.growth-alert-card__type{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eaf2ff;color:#0e57c8;font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.growth-alert-card__meta h2{font-size:17px;margin:8px 0 5px;line-height:1.3}
.growth-alert-card__meta h2 a{color:var(--ink,#0e1e38)}
.growth-alert-card__meta p{margin:0;color:var(--text-soft,#5b6b82);font-size:12.5px;line-height:1.55}
.growth-alert-card__side{text-align:right;min-width:150px}
.growth-alert-card__price{font-size:17px;font-weight:800;color:var(--ink,#0e1e38);margin-bottom:8px}
.growth-alert-card__state{font-size:11.5px;font-weight:700;margin-bottom:9px;color:#0e7a46}
.growth-alert-card__state.is-paused{color:#7a869a}

.growth-dashboard-note{padding:12px 14px;border:1px solid #cfe0fb;background:#f2f7ff;border-radius:12px;color:#35516f;font-size:12.5px;line-height:1.55;margin-bottom:18px}
.growth-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
.growth-kpi{padding:17px;border:1px solid var(--border,#e6eaf2);border-radius:14px;background:#fff}
.growth-kpi__label{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.055em;color:var(--text-soft,#5b6b82)}
.growth-kpi__value{font-size:25px;font-weight:800;color:var(--ink,#0e1e38);margin-top:5px;line-height:1.15}
.growth-kpi__sub{font-size:11.5px;color:var(--text-soft,#5b6b82);margin-top:5px}
.growth-funnel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:25px}
.growth-funnel__step{position:relative;padding:15px;border-radius:13px;background:#f5f7fa;border:1px solid #e6eaf2}
.growth-funnel__step strong{display:block;font-size:22px;color:var(--ink,#0e1e38)}
.growth-funnel__step span{font-size:11.5px;color:var(--text-soft,#5b6b82)}
.growth-panel{border:1px solid var(--border,#e6eaf2);border-radius:15px;background:#fff;padding:18px;margin-bottom:22px;overflow:hidden}
.growth-panel__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}
.growth-panel__head h2{font-size:17px;margin:0}
.growth-panel__head span{font-size:11.5px;color:var(--text-soft,#5b6b82)}
.growth-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.growth-meter{height:7px;border-radius:999px;background:#edf0f5;overflow:hidden;min-width:110px}
.growth-meter span{display:block;height:100%;border-radius:inherit;background:var(--accent,#1e6feb)}
.growth-empty{padding:28px;text-align:center;color:var(--text-soft,#5b6b82);font-size:13px}

@media (max-width:900px){
  .growth-kpi-grid,.growth-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .growth-split{grid-template-columns:1fr}
}
@media (max-width:620px){
  .growth-page-head{align-items:flex-start;flex-direction:column}
  .growth-alert-card{grid-template-columns:76px minmax(0,1fr);gap:13px}
  .growth-alert-card__image{width:76px;height:76px;padding:7px}
  .growth-alert-card__side{grid-column:1/-1;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;border-top:1px solid #edf0f5;padding-top:12px}
  .growth-alert-card__price,.growth-alert-card__state{margin:0}
  .growth-kpi-grid,.growth-funnel{grid-template-columns:1fr 1fr;gap:9px}
  .growth-kpi{padding:13px}.growth-kpi__value{font-size:21px}
}
@media (max-width:380px){.growth-kpi-grid,.growth-funnel{grid-template-columns:1fr}}
