/* XonPulse v4.0 — focused customer dashboard and refined sidebar branding.
   Applied to existing v3.9 Operations portal; no backend or access changes. */
.portal .xp-ops-layout .sidebar > .xp-brand-sidebar{
  display:flex!important;justify-content:center;align-items:center;
  width:100%;margin:0 0 12px!important;padding:8px 6px 10px!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  text-decoration:none;min-height:0;height:auto!important;
}
.portal .xp-ops-layout .xp-brand-compact{
  display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;
  padding:0;margin:0;overflow:visible;
}
.portal .xp-ops-layout .xp-brand-compact-product{
  display:block;width:113px;max-width:100%;height:auto;object-fit:contain;
  margin:0;filter:none;
}
.portal .xp-ops-layout .xp-brand-compact-parent{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  min-height:19px;max-width:100%;background:transparent!important;
  box-shadow:none!important;border:0!important;border-radius:0!important;
  padding:0;margin:0;color:#516675;white-space:nowrap;
}
.portal .xp-ops-layout .xp-brand-compact-parent img{display:block;width:16px;height:16px;object-fit:contain}
.portal .xp-ops-layout .xp-brand-compact-by{font-size:9px;color:#82929b;font-weight:500}
.portal .xp-ops-layout .xp-brand-compact-name{font-size:10px;color:#1e3b4e;font-weight:800;letter-spacing:-.02em}
.portal .xp-ops-layout .xp-brand-compact-name small{font-size:9px;color:#68808f;font-weight:500}
.portal .xp-ops-layout .workspace{margin-top:0!important}
/* Customer overview: actual private cases/licenses only */
.portal .xp-ops-layout .xp-customer-intro{
  background:linear-gradient(118deg,#f5faf9 0%,#fff 76%);border:1px solid #dce8e5;
  border-radius:12px;padding:22px 24px;margin-bottom:18px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.portal .xp-ops-layout .xp-customer-eyebrow{font-size:10px;font-weight:800;letter-spacing:.13em;color:#087761}
.portal .xp-ops-layout .xp-customer-intro h2,
.portal .xp-ops-layout .xp-customer-help h2{font-size:23px;line-height:1.2;color:#132f35;margin:7px 0}
.portal .xp-ops-layout .xp-customer-intro p,
.portal .xp-ops-layout .xp-customer-help p{margin:0;color:#64767a;font-size:13px;line-height:1.6;max-width:600px}
.portal .xp-ops-layout .xp-customer-status{display:flex;flex-direction:column;gap:4px;min-width:205px;border-left:1px solid #dbe5e3;padding-left:21px}
.portal .xp-ops-layout .xp-customer-status span{font-size:11px;color:#789093}
.portal .xp-ops-layout .xp-customer-status strong{font-size:15px;color:#213b42;font-weight:750;word-break:break-word}
.portal .xp-ops-layout .xp-customer-status small{font-size:11px;color:#77898d;word-break:break-word}
.portal .xp-ops-layout .xp-customer-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}
.portal .xp-ops-layout .xp-customer-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:18px;align-items:stretch}
.portal .xp-ops-layout .xp-customer-panel{margin:0;min-width:0;overflow:hidden;padding:0!important}
.portal .xp-ops-layout .xp-customer-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:22px 22px 14px}
.portal .xp-ops-layout .xp-customer-panel-head h2{font-size:17px;margin:0;color:#1a343a}
.portal .xp-ops-layout .xp-customer-panel-head p{font-size:12px;line-height:1.5;color:#819194;margin:5px 0 0}
.portal .xp-ops-layout .xp-customer-panel-head button,
.portal .xp-ops-layout .xp-customer-link{background:none;border:0;color:#007a61;cursor:pointer;font-size:12px;font-weight:750;white-space:nowrap;padding:3px}
.portal .xp-ops-layout .xp-customer-panel .tablewrap{padding:0 15px 16px;overflow:auto}
.portal .xp-ops-layout .xp-customer-panel table{width:100%}
.portal .xp-ops-layout .xp-customer-panel table th{font-size:10px;white-space:nowrap}
.portal .xp-ops-layout .xp-customer-panel table td{font-size:12px}
.portal .xp-ops-layout .xp-customer-chip{background:#e8f4ed;border-radius:5px;padding:4px 7px;font-size:11px;color:#287751;font-weight:700}
.portal .xp-ops-layout .xp-customer-empty{padding:32px 20px 37px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
.portal .xp-ops-layout .xp-customer-empty-icon{display:grid;place-items:center;background:#ecf6f2;border-radius:10px;color:#16846c;font-size:22px;width:43px;height:43px}
.portal .xp-ops-layout .xp-customer-empty strong{font-size:14px;color:#283f43}
.portal .xp-ops-layout .xp-customer-empty p{font-size:12px;line-height:1.65;color:#7a8d90;max-width:310px;margin:0}
.portal .xp-ops-layout .xp-customer-primary{background:#097b66;color:white;font-size:12px;font-weight:750;border:1px solid #097b66;border-radius:7px;padding:11px 15px;cursor:pointer;white-space:nowrap}
.portal .xp-ops-layout .xp-customer-primary:hover{background:#086a59}
.portal .xp-ops-layout .xp-customer-help{border:1px solid #dce8e5;background:#f5faf8;border-radius:12px;padding:21px 24px;margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.portal .xp-ops-layout .xp-customer-help h2{font-size:19px}
.portal .xp-ops-layout .xp-customer-alerts{background:#fffaf0;border:1px solid #efdfc5;border-radius:10px;padding:16px 20px;margin:0 0 18px;display:flex;justify-content:space-between;gap:20px;align-items:center}
.portal .xp-ops-layout .xp-customer-alerts strong{font-size:14px;color:#6c4c19}
.portal .xp-ops-layout .xp-customer-alerts p{color:#806e54;font-size:12px;margin:5px 0}
.portal .xp-ops-layout .xp-customer-alerts ul{padding-left:19px;margin:9px 0 0;color:#806e54;font-size:12px}
.portal .xp-ops-layout .xp-customer-warning{font-weight:700}
@media(max-width:1200px){.portal .xp-ops-layout .xp-customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.portal .xp-ops-layout .xp-customer-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:720px){.portal .xp-ops-layout .xp-customer-intro,.portal .xp-ops-layout .xp-customer-help,.portal .xp-ops-layout .xp-customer-alerts{flex-direction:column;align-items:stretch;padding:18px}.portal .xp-ops-layout .xp-customer-status{min-width:0;border-left:0;border-top:1px solid #dbe5e3;padding:12px 0 0}.portal .xp-ops-layout .xp-customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.portal .xp-ops-layout .xp-customer-kpis{grid-template-columns:1fr}.portal .xp-ops-layout .xp-customer-panel-head{flex-direction:column}}
