#whatsappIntelligence{--wa-line:#293b3a;--wa-text:#edf7f4}
#whatsappIntelligence .sectionHead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px;border:1px solid #285644;border-radius:22px;background:radial-gradient(ellipse at top right,#164d3a 0,transparent 65%),#101d19;margin-bottom:18px}
#whatsappIntelligence h2{font-size:clamp(24px,3vw,34px);margin:8px 0;color:#f1fff8}#whatsappIntelligence .k{font-size:11px;letter-spacing:2px;color:#6ee7b7;font-weight:800}
#whatsappIntelligence #waStats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 26px}
#whatsappIntelligence #waStats .waStat{--accent:#4ce4a1;--wash:#123b2e;position:relative;overflow:hidden;padding:22px;border:1px solid color-mix(in srgb,var(--accent) 30%,#182322);border-radius:20px;background:radial-gradient(circle at 100% 0%,var(--wash),transparent 80%),#101a19;box-shadow:0 8px 24px #0002;border-top:3px solid var(--accent);transition:transform .18s,box-shadow .18s}
#whatsappIntelligence #waStats .waStat:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0004}
#whatsappIntelligence #waStats .waTone0{--accent:#5bc8ff;--wash:#123349}#whatsappIntelligence #waStats .waTone1{--accent:#4ce4a1;--wash:#123b2e}#whatsappIntelligence #waStats .waTone2{--accent:#b89aff;--wash:#302348}#whatsappIntelligence #waStats .waTone3{--accent:#ffcb66;--wash:#443418}#whatsappIntelligence #waStats .waTone4{--accent:#ff9f73;--wash:#42291f}#whatsappIntelligence #waStats .waTone5{--accent:#ff91c2;--wash:#402337}
#whatsappIntelligence .waStatTop{display:flex;align-items:center;gap:12px}#whatsappIntelligence .waStatIcon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--wash);color:var(--accent);font-size:22px;font-weight:800}#whatsappIntelligence .waStatLabel{color:#e0eae7;font-size:14px;font-weight:600}#whatsappIntelligence #waStats strong{display:block;font-size:clamp(32px,4vw,44px);line-height:1.15;color:var(--accent);margin:18px 0 8px;letter-spacing:-1px}#whatsappIntelligence .waStatHint{font-size:12px;color:#b5c5c0}
#whatsappIntelligence .waConnections{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px;margin:22px 0}#whatsappIntelligence .waAccountCard,#whatsappIntelligence #waAddPanel{padding:22px;border:1px solid var(--wa-line);border-radius:18px;background:linear-gradient(135deg,#162622,#101a19)}#whatsappIntelligence .waAccountCard{border-top:3px solid #36d99b}#whatsappIntelligence .waAccountHeading{display:flex;align-items:center;gap:10px;color:var(--wa-text)}#whatsappIntelligence .waAccountHeading .waBadge{margin-left:auto}#whatsappIntelligence .waAccountIcon{font-size:23px}#whatsappIntelligence .waAccountCard p{line-height:1.8}#whatsappIntelligence .waAccountCard button{margin:5px 8px 0 0}
#whatsappIntelligence .leadTools{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:18px 0;padding:18px;background:#111e1a;border:1px solid var(--wa-line);border-radius:16px}#whatsappIntelligence .leadTools label{flex:1;min-width:150px;font-size:12px;color:#c1d4cc}#whatsappIntelligence input,#whatsappIntelligence select{display:block;width:100%;max-width:100%;box-sizing:border-box;margin-top:8px;padding:11px 12px;background:#0b1512;color:#eaf7f0;border:1px solid #355045;border-radius:10px}#whatsappIntelligence input:focus-visible,#whatsappIntelligence select:focus-visible{outline:2px solid #5adca5;outline-offset:2px}#whatsappIntelligence .tableWrap{overflow:auto;border:1px solid var(--wa-line);border-radius:16px;margin-top:14px}#whatsappIntelligence table{width:100%;border-collapse:collapse}#whatsappIntelligence th{padding:15px;text-align:left;background:#182a23;color:#afcfbf;font-size:11px;text-transform:uppercase;letter-spacing:.6px;white-space:nowrap}#whatsappIntelligence td{padding:16px 15px;border-bottom:1px solid #26382f;vertical-align:middle}#whatsappIntelligence tbody tr:hover{background:#183024}#whatsappIntelligence .waBadge{display:inline-block;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}#whatsappIntelligence .waGreen{color:#85efb9;background:#153f2d}#whatsappIntelligence .waBlue{color:#94d7ff;background:#19364b}#whatsappIntelligence .waAmber{color:#ffdb8c;background:#44371c}#whatsappIntelligence .waPink{color:#ffb2d3;background:#46273b}#waMessage{white-space:pre-wrap;min-height:24px;font-size:13px;color:#b8cdc3}#waMessage.error{color:#ff9eaa}#waAddPanel summary{cursor:pointer;font-weight:700;color:#7debb8}#whatsappIntelligence .leadPager{display:flex;justify-content:flex-end;gap:10px;margin:18px 0}#whatsappIntelligence .primary{background:linear-gradient(115deg,#25d99a,#81e6aa);color:#092619;border:0;border-radius:10px;padding:11px 16px;font-weight:800}#whatsappIntelligence .ghost,#whatsappIntelligence .mini{border:1px solid #3e6150;border-radius:9px;background:#182d23;color:#c5f6dc;padding:9px 12px}#whatsappIntelligence button{cursor:pointer}#whatsappIntelligence button:disabled{opacity:.45;cursor:default}
@media(min-width:1550px){#whatsappIntelligence #waStats{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:900px){#whatsappIntelligence #waStats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){#whatsappIntelligence .sectionHead{align-items:flex-start;flex-direction:column;padding:20px}#whatsappIntelligence #waStats{gap:10px}#whatsappIntelligence #waStats .waStat{padding:16px}#whatsappIntelligence .waStatTop{align-items:flex-start;flex-direction:column;gap:8px}#whatsappIntelligence .leadTools label{min-width:100%}#whatsappIntelligence .waConnections{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){#whatsappIntelligence #waStats .waStat{transition:none}#whatsappIntelligence #waStats .waStat:hover{transform:none}}

/* Reply performance: compact, colourful KPI cards. */
#whatsappIntelligence #warPanel{padding:24px;border:1px solid #2e4246;border-radius:24px;background:radial-gradient(ellipse at top right,#17303a55,transparent 60%),#0d1816;margin-bottom:24px}
#whatsappIntelligence #warPanel>.sectionHead{background:linear-gradient(115deg,#142c29,#19243b);border-color:#345951;margin-bottom:20px}
#whatsappIntelligence #warStats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
#whatsappIntelligence #warStats .warMetric{--metric:#67d3ff;--metric-wash:#143c52;position:relative;min-width:0;overflow:hidden;padding:23px;border:1px solid color-mix(in srgb,var(--metric) 32%,#182622);border-top:3px solid var(--metric);border-radius:20px;background:radial-gradient(ellipse at 100% 0%,var(--metric-wash),transparent 85%),#101d1a;box-shadow:0 8px 24px #0003;transition:transform .18s,box-shadow .18s}
#whatsappIntelligence #warStats .warMetric1{--metric:#60edb1;--metric-wash:#124332}
#whatsappIntelligence #warStats .warMetric2{--metric:#ff9db2;--metric-wash:#512438}
#whatsappIntelligence #warStats .warMetric3{--metric:#ffd16f;--metric-wash:#4b3918}
#whatsappIntelligence #warStats .warMetric4{--metric:#c0a0ff;--metric-wash:#372550}
#whatsappIntelligence #warStats .warMetric5{--metric:#ffac72;--metric-wash:#4b2f1c}
#whatsappIntelligence .warMetricHead{display:flex;align-items:center;gap:12px}
#whatsappIntelligence .warMetricIcon{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:13px;background:var(--metric-wash);border:1px solid color-mix(in srgb,var(--metric) 28%,transparent);color:var(--metric);font-size:23px;font-weight:800}
#whatsappIntelligence .warMetricLabel{color:#e3eeeb;font-size:14px;font-weight:650;line-height:1.5}
#whatsappIntelligence #warStats h3{margin:20px 0 8px;font-size:clamp(30px,3vw,44px);line-height:1.1;letter-spacing:-1px;color:var(--metric);font-variant-numeric:tabular-nums}
#whatsappIntelligence .warMetricHint{font-size:12px;line-height:1.6;color:#b7cbc4}
#whatsappIntelligence #warStats .warMetric:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0004}
#whatsappIntelligence #warNote{font-size:13px;line-height:1.7;color:#b8cec5}
@media(min-width:1800px){#whatsappIntelligence #warStats{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1000px){#whatsappIntelligence #warStats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#whatsappIntelligence #warPanel{padding:14px}#whatsappIntelligence #warStats{gap:10px}#whatsappIntelligence #warStats .warMetric{padding:16px}#whatsappIntelligence .warMetricHead{align-items:flex-start;flex-direction:column;gap:8px}#whatsappIntelligence .warMetricLabel{font-size:12px}#whatsappIntelligence #warStats h3{font-size:30px}}
@media(prefers-reduced-motion:reduce){#whatsappIntelligence #warStats .warMetric{transition:none}#whatsappIntelligence #warStats .warMetric:hover{transform:none}}
