.dspm-customer .dspm-page-head,.dspm-customer .dspm-resume {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.dspm-customer .dspm-page-head .hero {margin-bottom:8px}
.dspm-customer .dspm-page-head {margin-bottom:12px}
.dspm-customer .dspm-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.dspm-customer .dspm-metric {display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #cedddd;border-radius:9px;background:white;color:#153341;text-decoration:none}
.dspm-customer .dspm-metric:hover {border-color:#09827e}
.dspm-customer .dspm-metric span {font-weight:600}
.dspm-customer .dspm-metric strong {display:block;font-size:1.6rem}
.dspm-customer .dspm-service-grid {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:14px;align-items:start}
.dspm-customer .dspm-service-grid>* {min-width:0}
.dspm-customer .dspm-service-grid .panel-head {flex-wrap:wrap}
.dspm-customer .dspm-mobile-menu {display:none}
.dspm-customer .dspm-issue {display:grid;gap:14px;padding:20px;max-width:760px}
.dspm-customer .dspm-issue label,.dspm-customer .dspm-mobile-menu {font-weight:600;color:#294751}
.dspm-customer .dspm-issue label {display:grid;gap:5px}
.dspm-customer .dspm-issue :is(input,select,textarea),.dspm-customer .dspm-mobile-menu select {width:100%;min-height:38px;padding:6px 10px;border:1px solid #92abb0;border-radius:5px;background:white;color:#153341;font:inherit;box-sizing:border-box}
.dspm-customer .dspm-issue textarea {resize:vertical}
.dspm-customer .dspm-resume {padding:12px 16px}
.dspm-customer #customer-studio {display:block;min-width:0;max-width:100%}
.dspm-customer :is(.btn,.hub-nav a,.tabs a) {min-height:36px;box-sizing:border-box}
.dspm-customer .service-calendar:has(>.calendar-day:only-child) {grid-template-columns:1fr}
@media(max-width:920px){.dspm-customer .dspm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dspm-customer .dspm-service-grid{grid-template-columns:1fr}}
@media(max-width:650px){
 .dspm-customer .dspm-tabs{display:none}
 .dspm-customer .dspm-mobile-menu{display:grid;gap:5px;margin:10px 0}
 .dspm-customer .dspm-metric{padding:10px;gap:8px}
 .dspm-customer .dspm-metrics{gap:8px}
 .dspm-customer :is(.btn,.hub-nav a,.tabs a,.dspm-mobile-menu select,.dspm-issue input,.dspm-issue select){min-height:44px}
 .dspm-customer .dspm-page-head>.btn{width:100%;justify-content:center}
}

/* DSPM customer workspace density and navigation */
body.dspm-customer { --frame-space:clamp(12px,1.15vw,18px); font-size:12.6px; }
.dspm-customer .workspace { padding:var(--frame-space) clamp(12px,1.8vw,28px) 28px; }
.dspm-customer .topbar { min-height:51px; padding-block:6px; gap:12px; }
.dspm-customer .topbar strong { font-size:14px; line-height:1.25; min-width:0; }
.dspm-customer .topbar .account { gap:8px; }
.dspm-customer .workspace .crumb { margin-block:0 12px; }
.dspm-customer .preview-note { display:flex; flex-wrap:wrap; align-items:center; column-gap:12px; row-gap:5px; margin:0 0 var(--frame-space); }
/* The artwork is decorative. Text and navigation remain independent, selectable elements. */
.dspm-customer .home .hero {
  position:relative; isolation:isolate; overflow:hidden; display:grid; align-content:center; row-gap:4px;
  padding:clamp(16px,1.75vw,28px); padding-inline-end:38%; min-height:clamp(104px,8.6vw,150px);
  margin-block:0 var(--frame-space); border-radius:9px; color:#fff;
  background:linear-gradient(110deg,#071a33 0%,#0b2947 63%,#0a2039 100%);
}
.dspm-customer .home .hero::after {
  content:""; position:absolute; z-index:-1; pointer-events:none; inset:0 0 0 auto; width:78%;
  background:url('/dspm/portal/assets/dspm-power-hall.webp') right 38% / cover no-repeat;
  mask-image:linear-gradient(90deg,transparent 0%,#0004 17%,#000b 36%,#000 57%);
}
.dspm-customer .home .hero :is(h1,p,.eyebrow) { overflow-wrap:anywhere; }
.dspm-customer .sidebar {
  background-color:#081c35;
  background-image:
    linear-gradient(180deg,#0b2341 0%,#0b2341f0 20%,#09213dcc 42%,#081c3591 58%,#071a3330 78%,#06182ec9 100%),
    linear-gradient(90deg,#071a337a 0%,#071a3340 65%,transparent),
    url('/dspm/portal/assets/dspm-power-detail.webp');
  background-position:center,center,61% bottom;
  background-size:cover;
  background-repeat:no-repeat;
}
.dspm-customer .sidebar :is(.brand,.footnav,.sidebarfooter) { border-color:#a3cfe53b; }
.dspm-customer .sidebar h2,.dspm-customer .sidebarfooter small { color:#c6d9e7; }
.dspm-customer .sidebar nav a { color:#eff6fb; }
.dspm-customer .sidebar nav a:hover { background:#153a56; }
.dspm-customer .sidebar nav a.active { background:#124054; color:#fff; box-shadow:inset 3px 0 #66ded3; }
.dspm-customer .sidebar a:focus-visible { outline:2px solid #8ef3e9; outline-offset:1px; }
.dspm-customer .home .hero h1,.dspm-customer .interior .hero h1 { font-size:clamp(20px,1.8vw,28px); }
.dspm-customer .home .hero p { margin:0; max-width:100%; }
.dspm-customer .home .hero .eyebrow { margin:0; }
.dspm-customer .stats,.dspm-customer .grid2,.dspm-customer .grid3 { gap:var(--frame-space); margin-block-end:var(--frame-space); }
.dspm-customer .stat { padding:12px; }
.dspm-customer .stat strong { font-size:25px; }
.dspm-customer .panel-head { gap:9px; padding:10px 13px; }
.dspm-customer .panel-head h2,.dspm-customer .panel h2 { font-size:14.4px; line-height:1.35; }
.dspm-customer .panel-body { padding:12px 14px; }
.dspm-customer .actions { gap:8px; }
.dspm-customer .panel-body .actions:not(:first-child) { margin-block-start:12px; }
.dspm-customer .dspm-page-head { align-items:center; gap:12px; margin-block-end:var(--frame-space); }
.dspm-customer .dspm-page-head .hero { margin-block:0; }
.dspm-customer .dspm-metric { padding:12px; gap:10px; }
.dspm-customer .dspm-metric strong { font-size:1.42rem; }
html[data-erp-brand="dspm"] .gate .sign-visual { background-image:linear-gradient(160deg,#102e4190 0%,#102d4144 42%,#102c40f2 100%),url('/dspm/stores/edition/ups.jpg'); }
@media (min-width:841px) and (min-height:481px){
  .dspm-customer .shell:not(.folded) { grid-template-columns:230px minmax(0,1fr); }
  .dspm-customer .sidebar .brand { min-height:54px; padding-block:7px; }
  .dspm-customer .sidebar .brand img { width:135px; }
  .dspm-customer .sidebar nav a { min-height:32px; font-size:12px; }
}
@media(max-width:840px),(max-height:480px){
  .dspm-customer .sidebar,.dspm-customer .nav-scrim { top:51px; }
  .dspm-customer .sidebar { max-height:calc(100dvh - 51px); overflow-y:auto; }
  .dspm-customer .topbar .company { display:none; }
}
@media(max-width:600px){
  .dspm-customer .topbar { display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,auto); gap:8px; }
  .dspm-customer .topbar strong { white-space:normal; }
  .dspm-customer .topbar .account { max-width:35vw; }
  .dspm-customer .home .hero { min-height:112px; padding:14px 31% 14px 14px; }
  .dspm-customer .home .hero::after {
    width:72%; background-image:url('/dspm/portal/assets/dspm-power-hall-compact.webp');
    background-position:77% 42%; mask-image:linear-gradient(90deg,transparent,#0003 25%,#000a 54%,#000 81%);
  }

  .dspm-customer .home .hero p { line-height:1.35; }
  .dspm-customer .menu.btn,.dspm-customer .sidebar nav a { min-height:44px; }
}

@media (max-height:565px){
  .dspm-customer .sidebar {
    background-image:linear-gradient(90deg,#081d37ef,#081d37c9 72%,#081d37ab),
      url('/dspm/portal/assets/dspm-power-detail.webp');
    background-position:center,70% 75%;
  }
}
@media (forced-colors:active){
  .dspm-customer .sidebar,.dspm-customer .home .hero { background:Canvas; color:CanvasText; }
  .dspm-customer .home .hero::after { display:none; }
}
