/* Shared BIOTEN Developer context and return-path layer, V7.16.0. */

body[data-v7160-developer-context="true"] {
  --dev-context-bg: #041722;
  --dev-context-surface: rgba(10, 40, 52, .92);
  --dev-context-line: rgba(111, 207, 195, .17);
  --dev-context-text: #eaf6f5;
  --dev-context-muted: rgba(184, 213, 215, .66);
  --dev-context-green: #63dbaf;
  --dev-context-blue: #68afe0;
}

body[data-v7160-developer-context="true"] .dev7160-context {
  position: relative;
  z-index: 4;
  width: 100%;
  border-bottom: 1px solid var(--dev-context-line);
  background: linear-gradient(110deg, #03141f, #062532 70%, #062d32);
  color: var(--dev-context-text);
}

body[data-v7160-developer-context="true"] .dev7160-context__inner {
  display: flex;
  width: min(calc(100% - 64px), 1280px);
  min-height: 54px;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

body[data-v7160-developer-context="true"] .dev7160-context__inner::-webkit-scrollbar {
  display: none;
}

body[data-v7160-developer-context="true"] .dev7160-context a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(213, 234, 234, .68);
  font-size: 12px;
  font-weight: 620;
  line-height: 1;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

body[data-v7160-developer-context="true"] .dev7160-context a:hover,
body[data-v7160-developer-context="true"] .dev7160-context a:focus-visible,
body[data-v7160-developer-context="true"] .dev7160-context a[aria-current="page"] {
  color: #f3fbfa;
  background: rgba(99, 219, 175, .1);
}

body[data-v7160-developer-context="true"] .dev7160-context a[aria-current="page"]::after {
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--dev-context-green), var(--dev-context-blue));
}

body[data-v7160-developer-context="true"] .dev7160-context a:focus-visible,
body[data-v7160-developer-context="true"] .dev7160-return a:focus-visible {
  outline: 2px solid #72e3b8;
  outline-offset: 3px;
}

body[data-v7160-developer-context="true"] .dev7160-return {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  width: min(calc(100% - 64px), 1280px);
  margin: clamp(54px, 6vw, 86px) auto;
  padding: clamp(27px, 3.2vw, 40px);
  overflow: hidden;
  border: 1px solid var(--dev-context-line);
  border-radius: 22px;
  color: var(--dev-context-text);
  background:
    radial-gradient(circle at 88% 18%, rgba(95, 173, 224, .12), transparent 27%),
    linear-gradient(135deg, #061d29, #073039);
  box-shadow: 0 24px 68px rgba(3, 20, 29, .14), inset 0 1px 0 rgba(255, 255, 255, .04);
}

body[data-v7160-developer-context="true"] .dev7160-return__copy {
  min-width: 0;
}

body[data-v7160-developer-context="true"] .dev7160-return__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--dev-context-green);
  font-family: "Aptos Mono", "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}

body[data-v7160-developer-context="true"] .dev7160-return h2 {
  max-width: 720px;
  margin: 0 0 10px;
  color: #f1faf9;
  font-family: "Aptos Display", "PingFang SC", sans-serif;
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1.16;
}

body[data-v7160-developer-context="true"] .dev7160-return p {
  max-width: 760px;
  margin: 0;
  color: var(--dev-context-muted);
  font-size: 13px;
  line-height: 1.7;
}

body[data-v7160-developer-context="true"] .dev7160-return__actions {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 7px;
}

body[data-v7160-developer-context="true"] .dev7160-return__actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(133, 218, 206, .16);
  border-radius: 999px;
  color: rgba(226, 242, 241, .82);
  background: rgba(220, 251, 245, .045);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s ease, transform .25s ease;
}

body[data-v7160-developer-context="true"] .dev7160-return__actions a:last-child {
  border-color: transparent;
  color: #05291f;
  background: #72dfb5;
}

body[data-v7160-developer-context="true"] .dev7160-return__actions a:hover,
body[data-v7160-developer-context="true"] .dev7160-return__actions a:focus-visible {
  transform: translate3d(0, -2px, 0);
}

@media (max-width: 900px) {
  body[data-v7160-developer-context="true"] .dev7160-context__inner,
  body[data-v7160-developer-context="true"] .dev7160-return {
    width: min(calc(100% - 40px), 820px);
  }

  body[data-v7160-developer-context="true"] .dev7160-return {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body[data-v7160-developer-context="true"] .dev7160-return__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body[data-v7160-developer-context="true"] .dev7160-context__inner,
  body[data-v7160-developer-context="true"] .dev7160-return {
    width: calc(100% - 32px);
  }

  body[data-v7160-developer-context="true"] .dev7160-context__inner {
    width: 100%;
    min-height: 50px;
    padding-inline: 16px;
  }

  body[data-v7160-developer-context="true"] .dev7160-context a {
    min-height: 35px;
    padding-inline: 11px;
    font-size: 11px;
  }

  body[data-v7160-developer-context="true"] .dev7160-return {
    margin-block: 48px;
    padding: 23px 18px;
  }

  body[data-v7160-developer-context="true"] .dev7160-return__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-v7160-developer-context="true"] :is(.dev7160-context a, .dev7160-return a) {
    transition: none;
  }
}

