/* Corporate card hierarchy adapted from the existing reference portal; scoped to Customer overview. */
[data-cj-customer-dashboard]{color:var(--cj-textPrimary,#182b43);font:14px/1.5 "Segoe UI",Roboto,Arial,sans-serif;min-width:0;display:grid;gap:16px}
[data-cj-customer-dashboard] *{box-sizing:border-box}
[data-cj-customer-dashboard] .cj-ref-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:#fff;border:1px solid #dde5ef;border-radius:8px}
[data-cj-customer-dashboard] h2{font-size:22px;margin:0 0 4px}[data-cj-customer-dashboard] .cj-ref-dashboard-head p{margin:0;color:#53657a;overflow-wrap:anywhere}
[data-cj-customer-dashboard] .cj-ref-actions{display:flex;flex-wrap:wrap;gap:10px;padding:12px}
[data-cj-customer-dashboard] .cj-ref-action{border:1px solid #99b6d5;border-radius:6px;background:white;color:#244f77;padding:9px 14px;min-height:44px;font:inherit;font-weight:600;cursor:pointer}
[data-cj-customer-dashboard] .cj-ref-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
[data-cj-customer-dashboard] .cj-ref-metric{display:flex;flex-direction:column;text-align:left;gap:10px;margin:0;padding:18px;border:1px solid #c2d2e4;border-top:3px solid #2b5279;border-radius:8px;background:#fff;color:inherit;min-width:0;box-shadow:0 2px 5px #172b4010;cursor:pointer}
[data-cj-customer-dashboard] .cj-ref-metric span{font-size:12px;font-weight:700;color:#53657a;text-transform:uppercase}[data-cj-customer-dashboard] .cj-ref-metric strong{font-size:24px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
[data-cj-customer-dashboard] .cj-ref-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
[data-cj-customer-dashboard] .cj-ref-panel{margin:0;border:1px solid #c2d2e4;border-top:3px solid #2b5279;border-radius:8px;background:#fff;overflow:hidden;min-width:0}
[data-cj-customer-dashboard] h3{margin:0;padding:14px 16px;border-bottom:1px solid #e4eaf0;font-size:15px;font-weight:700;text-transform:uppercase}
[data-cj-customer-dashboard] .cj-ref-summary-row{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:52px;padding:12px 16px;text-align:left;border:0;border-bottom:1px solid #edf1f5;background:#fff;color:inherit;font:inherit;cursor:pointer}
[data-cj-customer-dashboard] .cj-ref-summary-row strong{font-variant-numeric:tabular-nums;white-space:nowrap}[data-cj-customer-dashboard] .cj-ref-note,[data-cj-customer-dashboard] .cj-ref-empty{margin:0;padding:16px;color:#53657a}
[data-cj-customer-dashboard] .cj-ref-table{overflow-x:auto;max-width:100%}[data-cj-customer-dashboard] table{width:100%;border-collapse:collapse}[data-cj-customer-dashboard] :is(th,td){text-align:left;padding:12px 14px;border-bottom:1px solid #e4eaf0;overflow-wrap:anywhere}[data-cj-customer-dashboard] th{background:#f7f9fc;color:#53657a;font-weight:600}
[data-cj-customer-dashboard] .cj-ref-panel-actions{display:flex;justify-content:flex-end;padding:12px}[data-cj-customer-dashboard] button:focus-visible{outline:3px solid #2f6ca4;outline-offset:2px}[data-cj-customer-dashboard] button:hover{background:#f5f8fc}
@media(max-width:900px){[data-cj-customer-dashboard] .cj-ref-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){[data-cj-customer-dashboard] .cj-ref-sections{grid-template-columns:minmax(0,1fr)}[data-cj-customer-dashboard] .cj-ref-dashboard-head{align-items:flex-start;flex-direction:column;padding:14px}[data-cj-customer-dashboard] .cj-ref-dashboard-head .cj-ref-actions{padding:0}[data-cj-customer-dashboard] .cj-ref-metric{padding:14px}[data-cj-customer-dashboard] .cj-ref-metric strong{font-size:20px}}
