@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --portal-ink: #102a43;
  --portal-muted: #62707d;
  --portal-line: #d9e1e7;
  --portal-surface: #ffffff;
  --portal-page: #fbfcfd;
  --bs-body-font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}

body {
  color: var(--portal-ink);
  background: var(--portal-page);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}

.navbar {
  min-height: 3.25rem;
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 1px solid var(--portal-line);
  background: #ffffff !important;
  box-shadow: none;
}

.navbar .container-fluid {
  width: min(100%, 1080px);
  min-height: 2.55rem;
  margin: 0 auto;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

.navbar-nav .nav-link {
  margin-right: 0.35rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 2px solid transparent;
  color: #43515c !important;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--portal-ink) !important;
}

.navbar-nav .nav-link.active {
  border-bottom-color: var(--portal-accent, #193f38);
  color: #193f38 !important;
  font-weight: 600;
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.portfolio-report {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 2.6rem 1.25rem 3.5rem;
}

.portfolio-header {
  margin-bottom: 2rem;
  text-align: left;
}

.portfolio-header h1 {
  margin: 0 0 1.7rem;
  color: #0d2238;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
}

.portfolio-header p {
  margin: 0.25rem 0;
  color: #0f172a;
  font-size: 0.95rem;
}

.portfolio-header time {
  font-variant-numeric: tabular-nums;
}

.performance-chart {
  display: block;
  width: 100%;
  height: 650px;
  margin: 0 0 2.2rem;
  border: 0;
  background: var(--portal-surface);
}

.performance-summary {
  padding: 1.5rem;
  border: 1px solid var(--portal-line);
  border-radius: 0.65rem;
  background: #f7f9fc;
}

.performance-summary-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.performance-summary-heading h2 {
  margin: 0;
  color: #0d2238;
  font-size: 1.25rem;
  font-weight: 500;
}

.performance-summary-heading p {
  margin: 0;
  color: var(--portal-muted);
  font-size: 0.8rem;
  text-align: right;
}

.metric-headline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.metric-headline {
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid #cfd8df;
  border-radius: 0.45rem;
  background: var(--portal-surface);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}

.metric-label {
  color: var(--portal-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.metric-headline-value {
  margin-top: 0.35rem;
  color: #071b33;
  font-family: inherit;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.metric-headline p {
  margin: 0.5rem 0 0;
  color: var(--portal-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.metric-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.metric-group h3 {
  margin: 0 0 0.25rem;
  color: var(--portal-muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.metric-group dl {
  margin: 0;
}

.metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--portal-line);
}

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

.metric-row dt {
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 400;
}

.metric-row dt span {
  display: block;
  color: var(--portal-muted);
  font-size: 0.75rem;
}

.metric-row dd {
  margin: 0;
  color: #071b33;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.reporting-note {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--portal-line);
  color: var(--portal-muted);
  font-size: 0.75rem;
}

.nav-footer {
  border-top: 1px solid var(--portal-line);
  background: var(--portal-surface);
}

.quarto-title h1,
.quarto-title .subtitle {
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}

.placeholder-panel {
  max-width: 720px;
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid #cfd8df;
  border-radius: 0.2rem;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.placeholder-panel h2 {
  margin: 0.4rem 0 0.6rem;
  font-size: 1.5rem;
}

.placeholder-panel p {
  margin: 0;
  color: var(--portal-muted);
}

.placeholder-eyebrow {
  color: #193f38;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .portfolio-report {
    padding-top: 2rem;
  }

  .performance-chart {
    height: 570px;
  }

  .metric-headline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .portfolio-report {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .performance-chart {
    height: 520px;
  }

  .performance-summary {
    padding: 1rem;
  }

  .performance-summary-heading {
    align-items: flex-start;
  }

  .metric-headline-grid,
  .metric-detail-grid {
    grid-template-columns: 1fr;
  }

  .metric-detail-grid {
    gap: 1rem;
  }
}
