.oak-research {
  min-height: 100vh;
  background: #f0f0f0;
  color: #171717;
  font-family: "Geist", "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.oak-research * {
  box-sizing: border-box;
}

.research-page {
  width: calc(100% - 32px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 0 80px;
}

.research-meta-strip {
  display: flex;
  min-height: 36px;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #72716e;
  font-size: 11px;
  font-weight: 600;
}

.research-meta-strip i,
.research-report-facts i {
  width: 1px;
  height: 14px;
  background: #c5c5c5;
}

.research-meta-strip time,
.research-report-facts {
  font-family: "Geist Mono", monospace;
}

.research-library-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: end;
  padding: 54px 0 38px;
}

.research-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #72716e;
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.research-library-intro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 54px;
}

.research-library-intro p {
  margin: 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 21px;
}

.research-library-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 18px 0 20px;
  border-top: 1px solid #c5c5c5;
}

.research-filter-label {
  display: block;
  margin-bottom: 10px;
  color: #4d4d4d;
  font-size: 11px;
  font-weight: 600;
}

.research-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.research-filter-chip {
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #c5c5c5;
  border-radius: 999px;
  background: transparent;
  color: #4d4d4d;
  cursor: pointer;
  font-family: "Geist", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.research-filter-chip:hover {
  border-color: #171717;
  color: #171717;
}

.research-filter-chip.is-active {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.research-report-count {
  padding-bottom: 7px;
  color: #72716e;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
}

.research-library-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 10px 12px;
  border: 1px solid #c5c5c5;
  color: #4d4d4d;
  font-size: 11px;
}

.research-library-note::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #297c3b;
  box-shadow: 0 0 0 5px rgba(41, 124, 59, 0.11);
  content: "";
}

.research-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.research-report-card {
  display: flex;
  min-height: 316px;
  flex-direction: column;
  padding: 22px 22px 20px;
  border: 1px solid #c5c5c5;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.48);
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.research-report-card:hover {
  border-color: #9c9c9c;
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.research-report-tags {
  display: flex;
  min-height: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
}

.research-tag {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid #c5c5c5;
  border-radius: 999px;
  color: #72716e;
  font-family: "Geist Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.research-tag-oak {
  border-color: transparent;
  background: #e5e5e3;
  color: #4d4d4d;
}

.research-report-date {
  display: block;
  margin: 14px 0 9px;
  color: #72716e;
  font-size: 11px;
}

.research-report-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 31px;
}

.research-report-card > p {
  margin: 14px 0 20px;
  color: #4d4d4d;
  font-size: 13px;
  line-height: 20px;
}

.research-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #d9d9d9;
}

.research-report-link,
.research-back-link,
.research-not-found a {
  color: #b27327;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.research-report-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.research-report-link:hover,
.research-back-link:hover,
.research-not-found a:hover {
  color: #171717;
}

.research-evidence-summary {
  display: flex;
  align-items: center;
  gap: 9px;
}

.research-source-count {
  color: #72716e;
  font-family: "Geist Mono", monospace;
  font-size: 9px;
}

.research-stance {
  position: relative;
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: "Geist Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.research-stance-bullish {
  background: #e6efe6;
  color: #297c3b;
}

.research-stance-mixed {
  background: #f2eddf;
  color: #8a641c;
}

.research-stance-bearish {
  background: #f3e6e4;
  color: #a23a34;
}

.research-stance-tooltip {
  position: absolute;
  z-index: 80;
  bottom: calc(100% + 10px);
  left: 50%;
  width: 250px;
  padding: 11px 12px;
  border: 1px solid #c5c5c5;
  background: #171717;
  color: #fff;
  font-family: "Geist", Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  text-align: left;
  text-transform: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.research-stance:hover .research-stance-tooltip,
.research-stance:focus .research-stance-tooltip,
.research-stance[aria-expanded="true"] .research-stance-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.research-empty-state {
  padding: 42px 18px;
  border: 1px dashed #c5c5c5;
  color: #72716e;
  font-size: 13px;
  text-align: center;
}

.research-back-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 30px;
}

.research-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4d4d4d;
  font-size: 11px;
}

.research-published-mark {
  padding: 5px 8px;
  border: 1px solid #d49b0a;
  color: #b27327;
  font-family: "Geist Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.research-report-page {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.research-report-header {
  padding: 8px 0 38px;
  text-align: center;
}

.research-report-kicker {
  color: #72716e;
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.research-report-header h1 {
  max-width: 780px;
  margin: 20px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 55px;
}

.research-report-dek {
  max-width: 690px;
  margin: 24px auto 0;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 25px;
  text-align: left;
}

.research-report-facts {
  display: flex;
  max-width: 690px;
  margin: 22px auto 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #72716e;
  font-size: 9px;
  text-align: left;
}

.research-report-facts i {
  height: 12px;
}

.research-takeaways {
  margin: 0 0 40px;
  padding: 24px 26px 10px;
  border: 1px solid #c5c5c5;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.62);
}

.research-takeaways h2 {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 2px solid #d49b0a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
}

.research-takeaway-row {
  position: relative;
  padding: 17px 0 17px 19px;
  border-bottom: 1px solid #d9d9d9;
  color: #4d4d4d;
  font-size: 13px;
  line-height: 21px;
}

.research-takeaway-row:last-child {
  border-bottom: 0;
}

.research-takeaway-row::before {
  position: absolute;
  top: 23px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d49b0a;
  content: "";
}

.research-bottom-line {
  margin: 10px 0 38px;
  padding: 22px 24px;
  border-left: 3px solid #d49b0a;
  background: #f2eddf;
}

.research-bottom-line h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 600;
}

.research-bottom-line p {
  margin: 0;
  color: #473c21;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 27px;
}

.research-how-to-use {
  margin-bottom: 46px;
}

.research-actual-report-body {
  max-width: 690px;
  margin: 0 auto;
}

.research-actual-report-body > p,
.research-actual-report-body > ul,
.research-actual-report-body > ol {
  color: #3d3d3b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 29px;
}

.research-actual-report-body > p {
  margin: 0 0 20px;
}

.research-actual-report-body > p:first-child {
  font-size: 20px;
  line-height: 31px;
}

.research-actual-report-body > h2 {
  margin: 48px 0 17px;
  padding-top: 9px;
  border-top: 1px solid #c5c5c5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 37px;
}

.research-actual-report-body > ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

.research-actual-report-body > ul li {
  margin-bottom: 9px;
  padding-left: 5px;
}

.research-actual-report-body > ol {
  margin: 0;
  padding-left: 24px;
}

.research-actual-report-body > ol li {
  margin-bottom: 17px;
  padding-left: 7px;
}

.research-actual-report-body > ol li p {
  margin: 0;
}

.research-actual-report-body strong {
  color: #171717;
}

.research-actual-report-body a {
  color: #b27327;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.research-actual-report-body hr {
  height: 1px;
  margin: 42px 0;
  border: 0;
  background: #c5c5c5;
}

.research-actual-report-body em {
  color: #72716e;
  font-size: 13px;
  line-height: 21px;
}

.research-chart {
  margin: 30px 0 36px;
  padding: 12px;
  border: 1px solid #292d33;
  border-radius: 3px;
  background: #0d1015;
}

.research-chart img {
  display: block;
  width: 100%;
  height: auto;
}

.research-chart figcaption {
  padding: 10px 4px 1px;
  color: #9da5af;
  font-family: "Geist Mono", monospace;
  font-size: 8px;
  line-height: 13px;
}

.research-not-found {
  padding-top: 80px;
  text-align: center;
}

.research-not-found h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
}

.research-not-found p {
  margin: 16px 0 24px;
  color: #72716e;
}

.research-filter-chip:focus-visible,
.research-report-link:focus-visible,
.research-back-link:focus-visible,
.research-stance:focus-visible {
  outline: 2px solid #d49b0a;
  outline-offset: 2px;
}

@media (max-width: 800px) {
  .research-library-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .research-library-intro p {
    max-width: 620px;
  }

  .research-report-header h1 {
    font-size: 40px;
    line-height: 47px;
  }
}

@media (max-width: 640px) {
  .research-page {
    width: calc(100% - 36px);
    padding: 16px 0 60px;
  }

  .research-meta-strip {
    gap: 8px;
    font-size: 9px;
  }

  .research-library-intro {
    padding: 34px 0 26px;
  }

  .research-library-intro h1 {
    font-size: 39px;
    line-height: 45px;
  }

  .research-library-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .research-report-count {
    padding: 0;
  }

  .research-report-grid {
    grid-template-columns: 1fr;
  }

  .research-report-card {
    min-height: 290px;
    padding: 19px 18px 17px;
  }

  .research-report-card h2 {
    font-size: 23px;
    line-height: 29px;
  }

  .research-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .research-report-header {
    padding-bottom: 30px;
    text-align: left;
  }

  .research-report-header h1 {
    margin-top: 16px;
    font-size: 34px;
    line-height: 41px;
  }

  .research-report-dek {
    margin-top: 19px;
    font-size: 15px;
    line-height: 23px;
  }

  .research-takeaways {
    padding: 20px 18px 7px;
  }

  .research-bottom-line {
    padding: 20px 18px;
  }

  .research-actual-report-body > p,
  .research-actual-report-body > ul,
  .research-actual-report-body > ol {
    font-size: 16px;
    line-height: 27px;
  }

  .research-actual-report-body > h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .research-stance-tooltip {
    right: -8px;
    left: auto;
    width: min(250px, 80vw);
    transform: translateY(4px);
  }

  .research-stance:hover .research-stance-tooltip,
  .research-stance:focus .research-stance-tooltip,
  .research-stance[aria-expanded="true"] .research-stance-tooltip {
    transform: translateY(0);
  }
}
