/* Cerberus skin for PRISM Research Access Gate 1.2.4 — 2026-09-07: plain black stage, blue alpha lockup (Austin). */
body.csf-research-gate-route {
  background: #000 !important;
  min-height: 100svh;
}

body.csf-research-gate-route .csf-research-strip,
body.csf-research-gate-route #header,
body.csf-research-gate-route #footer,
body.csf-research-gate-route [data-csf-retro-footer],
body.csf-research-gate-route .csf-bbar,
body.csf-research-gate-route .csf-route-atmosphere,
body.csf-research-gate-route .hero-section,
body.csf-research-gate-route .entry-header {
  display: none !important;
}

body.csf-research-gate-route #main-container {
  align-items: center;
  background: transparent !important;
  display: grid;
  min-height: 100svh;
  padding: clamp(30px, 5vh, 64px) clamp(20px, 5vw, 78px);
  position: relative;
  z-index: 2;
}

body.csf-research-gate-route #main-container .ct-container,
body.csf-research-gate-route #main-container .site-main,
body.csf-research-gate-route #main-container article,
body.csf-research-gate-route #main-container .entry-content {
  background: transparent !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

body.csf-research-gate-route .prg-wrap {
  --prg-accent: #08d8f0;
  --prg-ink: #f5f2ed;
  --prg-body: #e8e4df;
  --prg-muted: #a8b3b5;
  --prg-card: #0d0d0d;
  --prg-line: rgba(8, 216, 240, 0.42);
  --prg-page-bg: #000;
  --prg-radius: 6px;
  box-sizing: border-box;
  color: #e8e4df;
  font-family: 'Michroma', 'Eurostile', 'Microgramma', sans-serif;
  margin: 0 auto !important;
  max-width: 510px !important;
  position: relative;
  width: min(510px, 100%);
  z-index: 3;
}

body.csf-research-gate-route .prg-banner {
  background: #0d0d0d !important;
  border: 1px solid rgba(8, 216, 240, 0.32);
  border-radius: 6px !important;
  color: #e8e4df !important;
  font-size: 8px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  margin: 0 0 10px !important;
  padding: 11px 14px !important;
}

body.csf-research-gate-route .prg-card {
  background: #0d0d0d !important;
  border: 1px solid rgba(8, 216, 240, 0.42) !important;
  border-radius: 6px !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6) !important;
  padding: clamp(28px, 4vw, 42px) !important;
  text-align: left !important;
}

/* The blue alpha lockup (hound + CERBERUS RESEARCH), centered at the head of the card. */
body.csf-research-gate-route .prg-logo {
  display: block !important;
  height: auto !important;
  margin: 0 auto 26px !important;
  max-height: 176px !important;
  max-width: min(300px, 100%) !important;
  object-fit: contain;
  object-position: center;
  width: auto !important;
}

body.csf-research-gate-route .prg-badge {
  background: rgba(8, 216, 240, 0.12) !important;
  border: 1px solid rgba(8, 216, 240, 0.45);
  border-radius: 4px !important;
  color: #f5f2ed !important;
  margin: 0 0 20px !important;
}

body.csf-research-gate-route .prg-title {
  color: #f5f2ed !important;
  font-family: 'Michroma', 'Eurostile', 'Microgramma', sans-serif !important;
  font-size: clamp(21px, 2.2vw, 28px) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  margin: 0 0 12px !important;
}

body.csf-research-gate-route .prg-sub {
  color: #a8b3b5 !important;
  font-size: 10px !important;
  line-height: 1.75 !important;
  margin: 0 0 24px !important;
}

body.csf-research-gate-route .prg-field {
  margin-bottom: 18px !important;
}

body.csf-research-gate-route .prg-lab {
  color: #e8e4df !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}

body.csf-research-gate-route .prg-field select {
  background-color: #1a1a1a !important;
  border: 1px solid rgba(245, 242, 237, 0.18) !important;
  border-radius: 6px !important;
  color: #f5f2ed !important;
  font-family: inherit !important;
  font-size: 10px !important;
  min-height: 48px !important;
}

body.csf-research-gate-route .prg-field select option {
  background: #1a1a1a !important;
  color: #f5f2ed !important;
}

body.csf-research-gate-route .prg-check {
  gap: 11px !important;
  margin-bottom: 13px !important;
}

body.csf-research-gate-route .prg-check input,
body.csf-research-gate-route .prg-remember input {
  accent-color: #08d8f0 !important;
  flex: 0 0 auto;
}

body.csf-research-gate-route .prg-check input {
  height: 19px !important;
  min-width: 19px !important;
  width: 19px !important;
}

body.csf-research-gate-route .prg-check span {
  color: #e8e4df !important;
  font-size: 9px !important;
  line-height: 1.65 !important;
}

body.csf-research-gate-route .prg-check a {
  color: #08d8f0 !important;
}

body.csf-research-gate-route .prg-remember {
  margin: 9px 0 21px !important;
}

body.csf-research-gate-route .prg-remember span {
  color: #a8b3b5 !important;
  font-size: 9px !important;
}

body.csf-research-gate-route .prg-error {
  color: #ff8b83 !important;
  font-size: 9px !important;
}

/* Cyan control, dark text (11.2:1). */
body.csf-research-gate-route .prg-enter,
body.csf-research-gate-route .prg-wrap button[type="submit"],
body.csf-research-gate-route .prg-wrap .prg-button {
  background: #08d8f0 !important;
  border: 1px solid #08d8f0 !important;
  border-radius: 6px !important;
  color: #0d0d0d !important;
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  min-height: 48px;
  padding: 14px 20px !important;
  transition: background-color 160ms ease, border-color 160ms ease;
}

body.csf-research-gate-route .prg-enter:hover,
body.csf-research-gate-route .prg-enter:focus-visible {
  background: #3fe3f5 !important;
  border-color: #3fe3f5 !important;
  filter: none !important;
}

body.csf-research-gate-route .prg-leave {
  color: #a8b3b5 !important;
  display: block !important;
  font-size: 8px !important;
  margin-top: 15px !important;
  text-align: center;
}

body.csf-research-gate-route .prg-foot {
  border-top: 1px solid rgba(245, 242, 237, 0.12);
  color: #a8b3b5 !important;
  font-size: 8px !important;
  line-height: 1.7 !important;
  margin: 22px 0 0 !important;
  padding-top: 18px;
  text-align: left;
}

body.csf-research-gate-route .prg-field select:focus,
body.csf-research-gate-route .prg-check input:focus-visible,
body.csf-research-gate-route .prg-remember input:focus-visible,
body.csf-research-gate-route .prg-enter:focus-visible,
body.csf-research-gate-route .prg-leave:focus-visible {
  outline: 2px solid #08d8f0 !important;
  outline-offset: 3px !important;
}

@media (min-width: 768px) and (max-height: 860px) {
  body.csf-research-gate-route {
    overflow-y: auto !important;
  }

  body.csf-research-gate-route #main-container {
    align-items: start;
    min-height: 100svh;
    padding: 16px clamp(20px, 5vw, 78px);
  }

  body.csf-research-gate-route .prg-banner {
    margin-bottom: 8px !important;
    padding: 8px 12px !important;
  }

  body.csf-research-gate-route .prg-card {
    padding: 22px 34px !important;
  }

  body.csf-research-gate-route .prg-logo {
    margin-bottom: 14px !important;
    max-height: 124px !important;
  }

  body.csf-research-gate-route .prg-title {
    font-size: 22px !important;
    margin-bottom: 8px !important;
  }

  body.csf-research-gate-route .prg-sub {
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }

  body.csf-research-gate-route .prg-field {
    margin-bottom: 12px !important;
  }

  body.csf-research-gate-route .prg-lab {
    margin-bottom: 5px !important;
  }

  body.csf-research-gate-route .prg-field select {
    min-height: 44px !important;
  }

  body.csf-research-gate-route .prg-check {
    margin-bottom: 8px !important;
  }

  body.csf-research-gate-route .prg-remember {
    margin: 6px 0 12px !important;
  }

  body.csf-research-gate-route .prg-enter {
    min-height: 44px;
    padding: 10px 20px !important;
  }

  body.csf-research-gate-route .prg-leave {
    margin-top: 10px !important;
  }

  body.csf-research-gate-route .prg-foot {
    margin-top: 12px !important;
    padding-top: 10px;
  }
}

@media (max-width: 767px) {
  body.csf-research-gate-route {
    overflow-y: auto !important;
  }

  body.csf-research-gate-route #main-container {
    align-items: start;
    min-height: 100svh;
    padding: 18px 14px 32px;
  }

  body.csf-research-gate-route .prg-wrap {
    margin: 0 auto !important;
    max-width: 520px !important;
  }

  body.csf-research-gate-route .prg-card {
    padding: 25px 20px !important;
  }

  body.csf-research-gate-route .prg-logo {
    margin-bottom: 20px !important;
    max-height: 140px !important;
  }
}

/* Gate route = the card alone (Austin 2026-09-07): no storefront chrome above it. */
body.csf-research-gate-route .csf-topstrip,
body.csf-research-gate-route .hl-header,
body.csf-research-gate-route .crb-mobile-nav {
  display: none !important;
}
