/* Lens picker + product masthead.
   Scoped to .lp-* and .pm-* classes so it doesn't collide with any other
   nav/header styling on either dashboard. */

/* ---------- Lens picker ---------- */
.lp-root {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lp-root--static {
  padding: 4px 0;
}

.lp-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 6px 8px;
  margin: -6px -8px;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ivfc-navy, #0d2340);
  line-height: 1;
  transition: background 160ms ease;
}

.lp-trigger:hover,
.lp-root--open .lp-trigger {
  background: rgba(13, 35, 64, 0.05);
}

/* Canonical IVFConversion brand SVG — matches top nav and footer on the
   rest of the site. Replaces the legacy .lp-logo/.lp-wordmark stub. */
.lp-brand-svg {
  display: block;
  width: 130px;
  height: auto;
}

.lp-slash {
  font-size: 17px;
  font-weight: 300;
  color: rgba(13, 35, 64, 0.28);
  margin: 0 2px;
}

.lp-lens {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--ivfc-green, #1d9e75);
}

.lp-trigger:hover .lp-lens {
  text-decoration: underline;
  text-decoration-color: rgba(29, 158, 117, 0.5);
  text-underline-offset: 4px;
}

.lp-chev {
  font-size: 10px;
  color: rgba(13, 35, 64, 0.45);
  margin-left: 2px;
  transition: transform 220ms ease;
}

.lp-root--open .lp-chev {
  transform: rotate(180deg);
}

/* Dropdown */
.lp-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 380px;
  background: #fff;
  border: 1px solid var(--ivfc-line, #ddd9d1);
  border-radius: 8px;
  box-shadow: 0 14px 36px -14px rgba(13, 35, 64, 0.22);
  padding: 6px;
  z-index: 100;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.lp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--ivfc-navy, #0d2340);
}

.lp-row:hover:not(.lp-row--active) {
  background: rgba(13, 35, 64, 0.03);
}

.lp-row--active {
  background: rgba(29, 158, 117, 0.06);
  cursor: default;
}

.lp-tick {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ivfc-green, #1d9e75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-tick svg {
  width: 14px;
  height: 14px;
}

.lp-row:not(.lp-row--active) .lp-tick svg {
  visibility: hidden;
}

.lp-row-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.lp-row-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ivfc-navy, #0d2340);
}

.lp-row--active .lp-row-name {
  color: var(--ivfc-green, #1d9e75);
}

.lp-acronym {
  font-size: 12px;
  color: var(--ivfc-mid, #7a8796);
  letter-spacing: 0.01em;
}

.lp-letter {
  color: var(--ivfc-green, #1d9e75);
  font-weight: 700;
}

.lp-rest {
  color: var(--ivfc-mid, #7a8796);
  font-weight: 400;
}

.lp-acronym-sep {
  color: rgba(13, 35, 64, 0.20);
  margin: 0 4px;
}

.lp-divider {
  height: 1px;
  background: var(--ivfc-line, #ddd9d1);
  margin: 6px 10px;
}

.lp-quick {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ivfc-green, #1d9e75);
  letter-spacing: 0.02em;
  text-align: left;
}

.lp-quick:hover {
  background: rgba(29, 158, 117, 0.07);
}

.lp-quick-arrow {
  font-size: 14px;
}

/* ---------- Product ribbon ----------
   Slim full-width banner sitting between .cc-topbar and .cc-layout. Previously
   wider proportions (mark 32px, padding 18px) — but the masthead was being
   injected as a 3rd column inside .cc-layout, which produced an empty 766px
   gulf on first sign-in. Now it's a sibling of .cc-layout and intentionally
   thin so the Run TRACE canvas reclaims the page. */
.pm-root {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 32px;
  background: var(--ivfc-snow, #faf9f7);
  border-bottom: 1px solid var(--ivfc-line, #ddd9d1);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.pm-mark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--ivfc-green, #1d9e75);
  line-height: 1;
  padding-right: 18px;
  border-right: 1px solid var(--ivfc-line, #ddd9d1);
}

.pm-expansion {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: wrap;
}

.pm-block {
  display: inline-flex;
  align-items: baseline;
}

.pm-cap {
  font-size: 14px;
  font-weight: 800;
  color: var(--ivfc-green, #1d9e75);
  letter-spacing: -0.01em;
}

.pm-tail {
  font-size: 12px;
  color: var(--ivfc-navy, #0d2340);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-left: 1px;
}

.pm-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ivfc-line, #ddd9d1);
  margin: 0 10px;
  align-self: center;
}

@media (max-width: 760px) {
  .pm-root {
    gap: 12px;
    padding: 8px 16px;
    flex-wrap: wrap;
  }
  .pm-mark {
    font-size: 16px;
    padding-right: 12px;
  }
  .pm-cap {
    font-size: 13px;
  }
  .pm-tail {
    font-size: 11px;
  }
  .pm-sep {
    margin: 0 6px;
  }
}
