/* DisputePilot v2 · left menu = Solvpath product menu (Angular src/app/sidebar + approved replica
   demo.solvpath.com/internal/alerts-notifications/, Figma node 8656:466). Values copied, not invented:
   282 / 72px, #163549, 66px head, 1px #939393 rules, items 48px radius 10 15/500 white Inter (as the replica),
   hover rgba(41,71,90,.6), active #29475A + 6px #22DDFD bar, sub links 14/500 #C9C9C9 34px radius 8. */
body.dp-v2 .dp-frame.dp-frame { grid-template-columns: 282px minmax(0, 1fr); background: linear-gradient(90deg, #163549 282px, #F8F9FB 282px); }
body.dp-v2 .dp-frame.dp-frame.rail { grid-template-columns: 72px minmax(0, 1fr); background: linear-gradient(90deg, #163549 72px, #F8F9FB 72px); }
body.dp-v2 #dp-nav.dp-sb, body.dp-v2 .dp-frame.rail #dp-nav.dp-sb {
  width: 282px; padding: 0 !important; background: #163549 !important; color: #fff;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; box-sizing: border-box;
  overflow: hidden auto; scrollbar-width: none;
  -webkit-font-smoothing: antialiased; line-height: normal;
}
body.dp-v2 #dp-nav.dp-sb::-webkit-scrollbar { display: none; }
body.dp-v2 .dp-frame.rail #dp-nav.dp-sb { width: 72px; }
:where(.dp-sb) button { all: unset; box-sizing: border-box; cursor: pointer; }
/* the approved Solvpath product-menu replica sets the menu in Inter (lighter than Ubuntu 500); page content stays Ubuntu */
body.dp-v2 #dp-nav.dp-sb, body.dp-v2 #dp-nav.dp-sb * { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important; }
.dpsb-group, .dpsb-nest { display: flex; flex-direction: column; }
.dp-sb a { text-decoration: none; }
.dp-sb img { display: block; }
.dpsb-head { height: 66px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; gap: 10px; }
.dpsb-logo { display: flex; align-items: center; height: 66px; }
.dpsb-logo-full { width: auto; height: 28px; } /* Nov 21 2026 (Carl pt402u): website wordmark without the tagline, a bit larger (was ~20px wordmark inside a 40px lockup) */
.dpsb-logo-mark { display: none !important; width: 32px; height: 32px; }
.dpsb-collapse { width: 28px; height: 28px; border-radius: 5px; transition: transform .2s; flex: none; }
.dpsb-collapse:hover { filter: brightness(1.25); }
.dp-frame:not(.rail) .dpsb-collapse { transform: rotate(180deg); }
.dpsb-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 0; }
.dpsb-sep { height: 0; border-top: 1px solid #939393; margin: -.5px 0; opacity: .45; }
.dpsb-back { padding: 10px 20px; height: 44px; box-sizing: border-box; }
.dpsb-back button { display: flex; align-items: center; gap: 3px; color: #EDEDED; font-weight: 500; font-size: 14px; height: 24px; white-space: nowrap; }
.dpsb-back button:hover { color: #fff; }
.dpsb-back-ic { width: 24px; height: 24px; }
.dpsb-product { padding: 16px 27px; height: 67px; box-sizing: border-box; display: flex; align-items: center; gap: 14px; }
.dpsb-product-ic { width: 30px; height: 30px; }
.dpsb-product .col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dpsb-product .eyebrow { font-weight: 600; font-size: 10px; letter-spacing: 1.2px; color: #C9C9C9; line-height: 12px; }
.dpsb-product .name { font-weight: 600; font-size: 17px; line-height: 20px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dpsb-nav { padding: 18px 15px 15px; display: flex; flex-direction: column; gap: 8px; }
.dpsb-list { padding: 11px 15px; display: flex; flex-direction: column; gap: 0; }
.dpsb-section { margin: 8px 0 0; padding: 0 14px; font-size: 12px; font-weight: 500; color: #C9C9C9; letter-spacing: .02em; }
.dpsb-item {
  position: relative; display: flex !important; align-items: center; justify-content: space-between; width: 252px; height: 48px;
  padding: 11px 10px 11px 14px; border-radius: 10px; color: #fff !important; font-weight: 500; font-size: 15px; line-height: 18px;
  overflow: hidden; white-space: nowrap; transition: background-color .15s; box-sizing: border-box;
}
.dpsb-item .in { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dpsb-item .lbl { overflow: hidden; text-overflow: ellipsis; }
.dpsb-ic { width: 26px; height: 26px; flex: none; object-fit: contain; }
.dpsb-item:hover { background: rgba(41,71,90,.6); }
.dpsb-item.is-active { background: #29475A; }
.dpsb-item.is-active::before { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 48px; background: #22DDFD; }
/* a group whose child is the current page: no fill, the child carries the active state */
.dpsb-item.has-kids.is-active { background: transparent; }
.dpsb-item.has-kids.is-active::before { display: none; }
.dpsb-item.has-kids.is-active:hover { background: rgba(41,71,90,.6); }
.dpsb-chev { width: 20px; height: 20px; flex: none; transform: rotate(90deg); transition: transform .2s; margin-left: 6px; }
.dpsb-group.is-open > .dpsb-item .dpsb-chev { transform: rotate(180deg); }
.dpsb-chev.is-right { transform: rotate(90deg); }
.dpsb-ao { font-weight: 400; font-size: 12px; color: #C9C9C9; }
.dpsb-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 7px; border-radius: 10px; background: rgba(46,179,201,.18); color: #7FE3F2; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex: none; }
.dpsb-item .dpsb-badge + .dpsb-chev { margin-left: 8px; }
.dpsb-sub { display: none; flex-direction: column; gap: 2px; padding: 2px 0 4px 52px; }
.dpsb-group.is-open > .dpsb-sub { display: flex; }
.dpsb-link, .dpsb-nest-btn {
  display: flex !important; align-items: center; gap: 8px; color: #C9C9C9 !important; font-weight: 500; font-size: 14px; height: 34px;
  padding: 0 12px; border-radius: 8px; white-space: nowrap; box-sizing: border-box; transition: background-color .15s, color .15s;
}
.dpsb-link .lbl { overflow: hidden; text-overflow: ellipsis; }
.dpsb-link:hover, .dpsb-link.is-active, .dpsb-nest-btn:hover { color: #fff !important; background: rgba(41,71,90,.6); }
.dpsb-link.is-active { background: #29475A; }
.dpsb-nest-btn { justify-content: space-between; width: 100%; }
.dpsb-nest-btn .dpsb-chev { width: 18px; height: 18px; }
.dpsb-nest.is-open > .dpsb-nest-btn .dpsb-chev { transform: rotate(180deg); }
.dpsb-nest-list { display: none; flex-direction: column; gap: 2px; margin: 2px 0 2px 12px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.25); }
.dpsb-nest.is-open > .dpsb-nest-list { display: flex; }
/* collapsed rail (Solvpath .shrinked / .sidebar.collapsed) */
.dp-frame.rail .dpsb-head { padding: 0 8px 0 12px; flex-direction: column; justify-content: center; gap: 6px; height: 96px; }
.dp-frame.rail .dpsb-logo { height: auto; }
.dp-frame.rail .dpsb-logo-full { display: none; }
.dp-frame.rail .dpsb-logo-mark { display: block !important; }
.dp-frame.rail .dp-sb .lbl, .dp-frame.rail .dp-sb .dpsb-chev, .dp-frame.rail .dpsb-product .col, .dp-frame.rail .dpsb-sub,
.dp-frame.rail .dpsb-section, .dp-frame.rail .dpsb-badge { display: none !important; }
.dp-frame.rail .dpsb-item { width: 42px; padding: 11px 8px; justify-content: center; }
.dp-frame.rail .dpsb-nav, .dp-frame.rail .dpsb-list { padding-left: 15px; padding-right: 15px; }
.dp-frame.rail .dpsb-product { padding: 16px 20px; }
.dp-frame.rail .dpsb-back { padding: 10px 24px; }
.dp-frame.rail .dpsb-item.has-kids.is-active { background: #29475A; }
/* top bar crumbs like the Solvpath toolbar (14px, muted parents) */
body.dp-v2 .dp-crumbs { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; font-size: 13px; color: #7C8D99; gap: 6px; }
body.dp-v2 .dp-crumbs > * { flex: none; }
body.dp-v2 .dp-crumbs .lnk { color: #7C8D99 !important; }
body.dp-v2 .dp-crumbs .lnk:hover { color: #2EB3C9 !important; }
@media (min-width: 1400px) { body.dp-v2 .dp-top .dp-top-left { flex: 1 0 300px; min-width: 300px; } }
/* phone / tablet drawer: same menu, full labels */
@media (max-width: 900px) {
  body.dp-v2 .dp-frame, body.dp-v2 .dp-frame.rail { background: #F8F9FB !important; }
  body.dp-v2 #dp-nav.dp-sb, body.dp-v2 .dp-frame.rail #dp-nav.dp-sb { width: 282px !important; max-width: 86vw; padding: 0 !important; overflow: hidden auto !important; }
  body.dp-v2 .dp-frame.rail .dpsb-head { padding: 0 15px; flex-direction: row; height: 66px; }
  body.dp-v2 .dp-frame.rail .dpsb-logo-full { display: block; }
  body.dp-v2 .dp-frame.rail .dpsb-logo-mark { display: none !important; }
  body.dp-v2 .dp-frame.rail .dp-sb .lbl, body.dp-v2 .dp-frame.rail .dp-sb .dpsb-chev, body.dp-v2 .dp-frame.rail .dpsb-product .col, body.dp-v2 .dp-frame.rail .dpsb-section, body.dp-v2 .dp-frame.rail .dpsb-badge { display: revert !important; }
  body.dp-v2 .dp-frame.rail .dpsb-item { width: 100%; padding: 11px 10px 11px 14px; justify-content: space-between; }
  body.dp-v2 .dp-frame.rail .dpsb-group.is-open > .dpsb-sub { display: flex !important; }
  .dpsb-item { width: 100%; }
  .dpsb-collapse { display: none; }
  body.dp-v2 .dp-crumbs { display: none; }
}
