@font-face {
  font-family: "IBM Plex Sans";
  src: url("/brand/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

html:root[data-product] {
  --dp-font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --dp-font-head: var(--dp-font-body);
  --heading: var(--dp-font-head);
  font-variant-numeric: lining-nums tabular-nums;
}

html:root[data-product][data-theme="light"] {
  --dp-bg: #f1f4f7;
  --dp-surface: #ffffff;
  --dp-raised: #f6f8fa;
  --dp-well: #eaf0f4;
  --dp-control: #ffffff;
  --dp-text: #142338;
  --dp-muted: #475569;
  --dp-faint: #475569;
  --dp-rule: #ccd6df;
  --dp-rule-soft: #dce3e9;
  --dp-line: #becbd6;
  --dp-control-border: #718196;
  --dp-accent: #006b73;
  --dp-accent-ink: #005e65;
  --dp-on-accent: #ffffff;
  --dp-accent-hover: #00565d;
  --dp-accent-soft: #e2f0f0;
}

html:root[data-product] body {
  font-family: var(--dp-font-body);
  font-weight: 400;
}

html:root[data-product] :is(h1, h2, h3, h4) {
  font-family: var(--dp-font-head);
  font-weight: 600;
  letter-spacing: -.018em;
}

html:root[data-product] :is(button, select, textarea) {
  font-family: var(--dp-font-body);
}

html:root[data-product] :is(nav a, nav button, .button, .btn, button[type="submit"]) {
  font-weight: 500;
}

html:root[data-product] [data-shell="sidebar"] [data-shell-section] > [data-ecosystem-label] {
  font-family: var(--dp-font-body);
  font-weight: 600;
  letter-spacing: .055em;
}

html:root[data-product] [data-ecosystem-label]::before {
  content: "";
  display: inline-block;
  inline-size: 13px;
  block-size: 22px;
  flex: none;
  margin-inline-end: 8px;
  vertical-align: -6px;
  background-color: currentColor;
  -webkit-mask: url("/brand/dna-ecosystem-mark.png") center / contain no-repeat;
  mask: url("/brand/dna-ecosystem-mark.png") center / contain no-repeat;
}

@media (forced-colors: active) {
  html:root[data-product] [data-ecosystem-label]::before {
    forced-color-adjust: none;
    background-color: CanvasText;
  }
}

/* A filled row selects a workspace view. The trailing dot identifies its product. */
html:root[data-product][data-theme="light"] :is([data-shell-section="ecosystem"], nav:has(> [data-ecosystem-label]), .sidebar-bottom:has(> [data-ecosystem-label])) a[aria-current]:not([aria-current="false"]) {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  color: var(--dp-text);
  font-weight: 600;

  &:hover {
    background: var(--dp-raised);
  }

  &:focus-visible {
    outline: 2px solid var(--dp-accent);
    outline-offset: -2px;
  }

  /* The trailing slot holds a link arrow or bullet depending on the dashboard. */
  & > :is(span[aria-hidden="true"], b):last-child {
    flex: none;
    width: 7px;
    height: 7px;
    min-width: 0;
    margin-inline: auto 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--dp-accent);
    color: transparent;
    font-size: 0;
    line-height: 0;
    transform: none;
    -webkit-mask: none;
    mask: none;

    @media (forced-colors: active) {
      forced-color-adjust: none;
      background: CanvasText;
    }
  }
}

/* Product directory shared with the Quantum dashboards. */
html:root[data-product] #root .dna-dashboard :is(aside.dna-sidebar:not([data-shell]), dialog.dna-mobile-sidebar:not([data-shell])) {
  padding-inline: 0;
}
html:root[data-product] #root .dna-dashboard :is(aside.dna-sidebar:not([data-shell]), dialog.dna-mobile-sidebar:not([data-shell])) > .dna-sidebar-brand {
  padding-inline: 24px;
}
html:root[data-product] #root .dna-dashboard :is(aside.dna-sidebar:not([data-shell]), dialog.dna-mobile-sidebar:not([data-shell])) > .dna-sidebar-footer {
  padding-inline: 24px;
}
html:root[data-product] #root .dna-dashboard dialog.dna-mobile-sidebar[open] {
  width: min(304px, calc(100vw - 56px));
}
html:root[data-product] #root .dna-dashboard .guest-products {
  display: block;
  flex: none;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 14px 12px 12px;
  background: #111c29;
  color: #bdcbd9;
  border-block-end: 1px solid #304052;
}
html:root[data-product] #root .guest-products nav {
  display: block;
  padding: 0;
  margin: 0;
}
html:root[data-product] #root .guest-products nav + nav { margin-block-start: 14px; }
html:root[data-product] #root .guest-products [data-ecosystem-label] {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 26px;
  margin: 0 0 6px;
  padding: 0 12px;
  color: #a4b5c6;
  font: 600 .75rem/1.3 var(--dp-font-body);
  letter-spacing: .07em;
  text-transform: uppercase;
}
html:root[data-product] #root .dna-dashboard :is(.dna-sidebar,.dna-mobile-sidebar) .guest-products nav a[href] {
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  font: 500 1rem/1.25 var(--dp-font-body);
  text-align: start;
  color: #bdcbd9;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
html:root[data-product] #root .dna-dashboard :is(.dna-sidebar,.dna-mobile-sidebar) .guest-products nav a[href]:hover { background: #1c2938; }
html:root[data-product] #root .dna-dashboard :is(.dna-sidebar,.dna-mobile-sidebar) .guest-products nav a[href]:focus-visible { outline: 2px solid #69d7d8; outline-offset: -2px; }
html:root[data-product] #root .guest-products [data-ecosystem-icon] {
  flex: none;
  width: 20px;
  height: 22px;
  background: currentColor;
  mask: url('/brand/dna-ecosystem-mark.png') center/contain no-repeat;
}
html:root[data-product] #root .dna-dashboard :is(.dna-sidebar,.dna-mobile-sidebar) .guest-products nav a[href]::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  margin-inline: auto 0;
  background: currentColor;
  mask: url('/brand/icons/external.svg') center/contain no-repeat;
}
html:root[data-product] #root .dna-dashboard :is(.dna-sidebar,.dna-mobile-sidebar) .guest-products nav a[href][aria-current='page'] { color: #edf3f9; font-weight: 600; }
html:root[data-product] #root .dna-dashboard :is(.dna-sidebar,.dna-mobile-sidebar) .guest-products nav a[href][aria-current='page']::after {
  width: 7px;
  height: 7px;
  margin-inline-end: 3.5px;
  background: #69d7d8;
  border-radius: 50%;
  mask: none;
}
html:root[data-product] #root .dna-dashboard :is(.dna-sidebar,.dna-mobile-sidebar,.dna-dashboard-header) { background-color: #151f2d; }
@media (forced-colors: active) {
  html:root[data-product] #root .guest-products [data-ecosystem-icon],
  html:root[data-product] #root .dna-dashboard :is(.dna-sidebar,.dna-mobile-sidebar) .guest-products nav a[href]::after { forced-color-adjust: none; background: CanvasText; }
}
