/* Research report article layout */

.report-page .md-grid {
  max-width: 1540px;
}

.report-page .md-content__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

.report-page .md-typeset {
  font-size: 0.82rem;
  line-height: 1.82;
  letter-spacing: 0.003em;
}

.report-page .md-typeset p {
  margin: 0.85rem 0;
}

.report-page .report-title {
  max-width: 920px;
  margin: 0.25rem 0 0.65rem;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 780;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.report-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.65rem;
  padding: 0.62rem 0;
  border-top: 1px solid var(--research-border);
  border-bottom: 1px solid var(--research-border);
  font-size: 0.63rem;
}

.report-meta-left,
.report-meta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.report-category {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.16rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--md-accent-fg-color) 36%, transparent);
  border-radius: 999px;
  color: var(--md-accent-fg-color) !important;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.report-date {
  font-variant-numeric: tabular-nums;
  opacity: 0.58;
}

.report-copy-link {
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--research-border);
  border-radius: 7px;
  background: transparent;
  color: var(--md-default-fg-color);
  font: inherit;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 120ms ease, border-color 120ms ease, background 120ms ease;
}

.report-copy-link:hover {
  border-color: var(--md-accent-fg-color);
  background: var(--research-soft);
  opacity: 1;
}

.report-page .report-section-title {
  margin: 2.8rem 0 1.25rem;
  padding: 0 0 0.62rem;
  border-bottom: 1px solid var(--research-border);
  font-size: 1.35rem;
  font-weight: 760;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.report-page .report-subtitle {
  position: relative;
  margin: 2rem 0 0.8rem;
  padding-left: 0.78rem;
  font-size: 1.02rem;
  font-weight: 740;
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.report-page .report-subtitle::before {
  content: "";
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--md-accent-fg-color);
  opacity: 0.72;
}

.report-page .report-minor-title {
  margin: 1.5rem 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 730;
  letter-spacing: -0.006em;
}

.report-page .headerlink {
  opacity: 0;
  transition: opacity 120ms ease;
}

.report-page h1:hover .headerlink,
.report-page h2:hover .headerlink,
.report-page h3:hover .headerlink {
  opacity: 0.42;
}

.report-callout {
  position: relative;
  margin: 0.72rem 0 !important;
  padding: 0.82rem 0.95rem 0.82rem 1.05rem;
  border: 1px solid var(--research-border);
  border-left-width: 3px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--md-default-fg-color) 3.2%, transparent);
  line-height: 1.75;
}

.report-callout > strong:first-child {
  display: inline-block;
  margin-right: 0.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.report-fact {
  border-left-color: #29b6f6;
  background: color-mix(in srgb, #29b6f6 5%, transparent);
}

.report-impact {
  border-left-color: #ffb74d;
  background: color-mix(in srgb, #ffb74d 5%, transparent);
}

.report-assets {
  padding-top: 0.68rem;
  padding-bottom: 0.68rem;
  border-left-color: #66bb6a;
  background: color-mix(in srgb, #66bb6a 4.5%, transparent);
  font-size: 0.74rem;
}

.report-risk {
  border-left-color: #ef5350;
  background: color-mix(in srgb, #ef5350 5%, transparent);
}

.report-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.5rem;
  margin: 0.65rem 0 1.35rem !important;
  padding: 0.5rem 0.68rem;
  border: 1px solid var(--research-border);
  border-radius: 8px;
  background: var(--research-soft);
  color: color-mix(in srgb, var(--md-default-fg-color) 60%, transparent);
  font-size: 0.64rem;
  line-height: 1.45 !important;
}

.report-sources::before {
  content: "SOURCE";
  margin-right: 0.15rem;
  font-size: 0.53rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  opacity: 0.5;
}

.report-sources a {
  font-weight: 650;
}

.report-page .md-typeset a:not(.headerlink):not(.report-category) {
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.15em;
}

.report-page .md-typeset hr {
  margin: 2.5rem 0;
  border-bottom: 0;
  border-top: 1px solid var(--research-border);
}

.report-page .md-typeset ul,
.report-page .md-typeset ol {
  margin-top: 0.7rem;
  margin-bottom: 1rem;
}

.report-page .md-typeset li {
  margin-bottom: 0.36rem;
  padding-left: 0.08rem;
}

.report-page .md-typeset blockquote {
  margin: 1rem 0;
  padding: 0.7rem 0.95rem;
  border-left: 3px solid color-mix(in srgb, var(--md-accent-fg-color) 70%, transparent);
  border-radius: 0 8px 8px 0;
  background: var(--research-soft);
  color: inherit;
}

.report-table-wrap {
  width: 100%;
  margin: 1rem 0 1.4rem;
  overflow-x: auto;
  border: 1px solid var(--research-border);
  border-radius: 10px;
  background: var(--md-default-bg-color);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.025);
}

.report-page .report-table-wrap table {
  display: table !important;
  width: 100% !important;
  min-width: 620px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  font-size: 0.7rem;
  line-height: 1.55;
}

.report-page .report-table-wrap th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.62rem 0.72rem !important;
  border-bottom: 1px solid var(--research-border);
  background: color-mix(in srgb, var(--md-default-bg-color) 92%, var(--md-default-fg-color));
  font-size: 0.63rem;
  font-weight: 780 !important;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.report-page .report-table-wrap td {
  padding: 0.62rem 0.72rem !important;
  border-top: 1px solid color-mix(in srgb, var(--research-border) 72%, transparent);
  vertical-align: top;
}

.report-page .report-table-wrap tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--md-default-fg-color) 1.7%, transparent);
}

.report-page .report-table-wrap tbody tr:hover {
  background: color-mix(in srgb, var(--md-accent-fg-color) 5%, transparent);
}

.report-page .md-typeset code:not(pre code) {
  padding: 0.08rem 0.28rem;
  border: 1px solid var(--research-border);
  border-radius: 5px;
  background: var(--research-soft);
  font-size: 0.72em;
}

.report-page .md-typeset pre {
  border: 1px solid var(--research-border);
  border-radius: 10px;
}

.report-page .md-typeset strong {
  font-weight: 720;
}

.report-page .md-typeset details {
  margin: 1rem 0;
  border-color: var(--research-border);
  border-radius: 9px;
}

.report-page .md-typeset .admonition {
  border-radius: 9px;
  box-shadow: none;
}

.report-page .md-sidebar--secondary .md-nav__link {
  font-size: 0.63rem;
  line-height: 1.42;
}

.report-page .md-sidebar--secondary .md-nav__link--active {
  font-weight: 750;
}

[data-md-color-scheme="slate"] .report-page .report-table-wrap {
  box-shadow: none;
}

@media screen and (min-width: 1220px) {
  .report-page .md-content__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media screen and (max-width: 720px) {
  .report-page .md-content__inner {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  .report-page .md-typeset {
    font-size: 0.78rem;
    line-height: 1.75;
  }

  .report-page .report-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .report-meta-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
  }

  .report-page .report-section-title {
    margin-top: 2.15rem;
    font-size: 1.18rem;
  }

  .report-page .report-subtitle {
    margin-top: 1.55rem;
    font-size: 0.94rem;
  }

  .report-callout {
    padding: 0.72rem 0.78rem;
  }

  .report-page .report-table-wrap table {
    min-width: 560px;
    font-size: 0.67rem;
  }
}
