/* Step 1.4 Dashboard */
.kp-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-radius:18px;background:linear-gradient(115deg,#16294A,#2B4778);color:#fff;margin-bottom:22px;box-shadow:0 10px 28px rgba(22,41,74,.13)}
.kp-eyebrow{font-size:11px;letter-spacing:1.3px;font-weight:700;color:#F5C45F;margin-bottom:5px}
.kp-welcome h2{font-size:clamp(19px,2.4vw,25px);line-height:1.25;margin-bottom:5px}
.kp-welcome p{font-size:13px;color:#D5DEEE}
.kp-date-chip{white-space:nowrap;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);padding:9px 12px;border-radius:10px;font-size:12px}
.kp-dash-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.kp-dash-toolbar h3,.kp-card-heading h3{font-size:17px;font-weight:700;color:var(--ink)}
.kp-dash-toolbar p,.kp-card-heading p{font-size:12px;color:var(--muted);margin-top:1px}
.kp-filter{display:flex;padding:3px;border:1px solid var(--line);background:#fff;border-radius:10px;gap:2px}
.kp-filter button{border:0;background:transparent;border-radius:7px;padding:7px 12px;font-size:12px;color:var(--muted);cursor:pointer}
.kp-filter button.active{background:var(--ink);color:#fff}
.kp-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.kp-metric{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px;box-shadow:var(--shadow);min-width:0}
.kp-metric-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:600}
.kp-metric-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-weight:800;font-size:16px}
.kp-metric-icon.gold{background:#FFF2D3;color:#A56A00}.kp-metric-icon.blue{background:#E8F0FF;color:#315A9D}.kp-metric-icon.green{background:#E2F5E9;color:#23804D}.kp-metric-icon.red{background:#FCE9E6;color:#B63C31}
.kp-metric>strong{display:block;font-size:clamp(21px,2.3vw,28px);line-height:1.25;color:var(--ink);margin:9px 0 4px;font-weight:700;font-variant-numeric:tabular-nums}
.kp-metric>small{font-size:11px;color:var(--muted)}
.kp-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:16px;margin-bottom:16px}
.kp-dashboard-grid .card{margin:0;min-width:0}
.kp-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px}
.kp-trend{font-size:11px;font-weight:700;color:var(--paid);background:var(--paid-soft);padding:5px 9px;border-radius:20px}
.kp-chart{height:190px;display:flex;align-items:flex-end;justify-content:space-around;gap:10px;padding:8px 4px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 46px,#eef1f5 47px,#eef1f5 48px)}
.kp-chart-col{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.kp-chart-value{font-size:10px;color:var(--muted)}
.kp-bar-track{height:136px;width:min(34px,75%);display:flex;align-items:flex-end;justify-content:center}
.kp-bar{width:100%;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#F5C34D,#E7A51C);min-height:8px}
.kp-chart-col>span{font-size:11px;color:var(--muted);padding-bottom:7px}
.kp-chart-foot{display:flex;justify-content:space-between;align-items:center;padding-top:12px;font-size:12px;color:var(--muted)}
.kp-chart-foot>span{display:flex;align-items:center;gap:7px}.kp-chart-foot i{width:9px;height:9px;border-radius:3px;background:var(--haldi)}
.kp-chart-foot strong{font-size:15px;color:var(--ink)}.kp-chart-foot small{font-size:10px;color:var(--muted);font-weight:400}
.kp-alert-count{font-size:11px;color:#A15C00;background:#FFF2D6;padding:5px 8px;border-radius:20px;white-space:nowrap}
.kp-alert-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #EEF0F4}
.kp-alert-row>div{display:flex;flex-direction:column;flex:1;min-width:0}.kp-alert-row b{font-size:12px}.kp-alert-row small{font-size:11px;color:var(--muted)}
.kp-alert-row em{font-style:normal;font-size:10px;color:var(--due);white-space:nowrap}
.kp-alert-symbol{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-weight:800}.kp-alert-symbol.red{background:#FCE9E6;color:var(--due)}.kp-alert-symbol.amber{background:#FFF2D6;color:#A15C00}.kp-alert-symbol.purple{background:#F0EAFE;color:#7050A7}
.kp-text-link{display:inline-block;text-decoration:none;color:var(--ink-2);font-size:12px;font-weight:700;margin-top:13px}
.kp-recent-table td:first-child b,.kp-recent-table td:first-child small{display:block}.kp-recent-table td:first-child small{font-size:11px;color:var(--muted)}
.kp-recent-table td{white-space:nowrap}.kp-recent-table td:first-child{white-space:normal;min-width:145px}
.kp-product-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #EEF0F4}
.kp-product-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:10px;font-weight:800;background:#FFF2D6;color:#966000;flex:none}
.kp-product-avatar.avatar-1{background:#E8F0FF;color:#315A9D}.kp-product-avatar.avatar-2{background:#E2F5E9;color:#23804D}
.kp-product-row>div{display:flex;flex-direction:column;flex:1;min-width:0}.kp-product-row b{font-size:12px}.kp-product-row small{font-size:11px;color:var(--muted)}.kp-product-row>strong{font-size:12px;white-space:nowrap}
.kp-demo-note{font-size:11px;color:var(--muted);background:#fff;border:1px dashed #D7DDE7;border-radius:10px;padding:11px 13px;margin:4px 0 12px}
@media(max-width:1000px){.kp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.kp-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:600px){.kp-welcome{align-items:flex-start;flex-direction:column;padding:18px}.kp-date-chip{align-self:flex-start}.kp-dash-toolbar{align-items:flex-start;flex-direction:column}.kp-filter{width:100%}.kp-filter button{flex:1;padding:8px 5px}.kp-metrics{gap:9px}.kp-metric{padding:12px}.kp-metric>strong{font-size:22px}.kp-metric>small{font-size:10px}.kp-dashboard-grid{gap:12px}.kp-chart{gap:4px}.kp-chart-value{font-size:9px}.kp-chart-col>span{font-size:10px}.kp-recent-table{min-width:520px}}
