/* Match the portfolio shell used by longtermmanagedfuturesportfolio.html and lowvolfactorportfolio.html. */
body.regime-portfolio-page {
  --rp-bg: #0b0d0f;
  --rp-panel: #0b0d0f;
  --rp-soft: #12161a;
  --rp-line: #26303a;
  --rp-line-soft: #26303a;
  --rp-text: #edf1f7;
  --rp-muted: #d7dee7;
  --rp-faint: #ced8e2;
  --rp-blue: #bfdcff;
  --rp-green: #bfdcff;
  --rp-red: #eee3d4;
  --ms-blue: #bfdcff;
  --ms-slate: #eee3d4;
  background: var(--rp-bg);
  color: var(--rp-text);
  font: 400 14px/1.5 Roboto, Arial, sans-serif;
}
html[data-theme="light"] body.regime-portfolio-page {
  --rp-bg: #fff;
  --rp-panel: #fff;
  --rp-soft: #f1f3f7;
  --rp-line: #d6dbe3;
  --rp-line-soft: #d6dbe3;
  --rp-text: #191c22;
  --rp-muted: #535c69;
  --rp-faint: #626c79;
  --rp-blue: #253fc7;
  --rp-green: #1e6d52;
  --rp-red: #a34560;
  --ms-blue: #253fc7;
  --ms-slate: #098577;
}
.regime-portfolio-page button,
.regime-portfolio-page input { font-family: Roboto, Arial, sans-serif; }
.regime-portfolio-page .site-header { background: var(--rp-soft); color: #fff; }
html[data-theme="light"] .regime-portfolio-page .site-header { background: #111215; }
.regime-portfolio-page .site-header-inner { width: min(1480px, calc(100% - 64px)); max-width: none; }
.regime-portfolio-page .site-brand { font: 400 32px/1 "League Gothic", "Arial Narrow", sans-serif; }
.regime-portfolio-page .site-brand span { font: 11px/1.5 Roboto, Arial, sans-serif; }
.regime-portfolio-page .rp-app-shell { width: 100%; max-width: none; margin: 0 0 48px; }
.regime-portfolio-page .rp-app-shell > :not(.rp-masthead) {
  width: min(1480px, calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}
.regime-portfolio-page .rp-masthead {
  display: block;
  padding: 24px 0;
  border-bottom: 0;
  background: var(--rp-soft);
}
html[data-theme="light"] .regime-portfolio-page .rp-masthead { background: #111215; color: #fff; }
.regime-portfolio-page .rp-masthead .portfolio-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 40px;
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
}
.regime-portfolio-page .rp-masthead-primary { max-width: none; }
.regime-portfolio-page .rp-masthead .rp-eyebrow {
  margin: 0 0 10px;
  color: var(--rp-muted);
  font: 600 11px/1.5 Roboto, Arial, sans-serif;
  letter-spacing: 0;
}
.regime-portfolio-page .rp-masthead h1 {
  margin: 0;
  color: var(--rp-text);
  font: 400 48px/1.1 "League Gothic", "Arial Narrow", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}
.regime-portfolio-page .rp-deck {
  max-width: none;
  margin: 12px 0 0;
  color: var(--rp-muted);
  font-size: 15px;
  line-height: 1.5;
}
.regime-portfolio-page .rp-masthead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 16px;
}
.regime-portfolio-page .rp-masthead-meta span {
  display: inline;
  color: var(--rp-muted);
  font-size: 12px;
  font-weight: 400;
}
.regime-portfolio-page .rp-masthead-meta b {
  margin-left: 8px;
  color: var(--rp-text);
  font-size: 13px;
  font-weight: 500;
}
.regime-portfolio-page .rp-masthead-aside {
  display: grid;
  grid-template-columns: auto auto;
  min-width: 0;
  gap: 24px;
  justify-items: stretch;
  text-align: left;
}
.regime-portfolio-page .rp-masthead-aside .live-primary {
  display: grid;
  gap: 5px;
  align-content: center;
}
.regime-portfolio-page .rp-masthead-aside .live-primary-secondary {
  padding-left: 24px;
  border-left: 1px solid var(--rp-line);
}
.regime-portfolio-page .rp-masthead-aside .live-primary span,
.regime-portfolio-page .rp-masthead-aside .live-primary small {
  color: var(--rp-muted);
  font-size: 12px;
  font-weight: 400;
}
.regime-portfolio-page .rp-masthead-aside .live-primary small { font-size: 10px; }
.regime-portfolio-page .rp-masthead-aside .live-primary strong {
  color: var(--rp-text);
  font: 500 30px/1.15 Roboto, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.regime-portfolio-page .rp-masthead-aside .live-primary-secondary strong { font-size: 24px; }
html[data-theme="light"] .regime-portfolio-page .rp-masthead .rp-eyebrow,
html[data-theme="light"] .regime-portfolio-page .rp-masthead-meta span { color: #b9c0ce; }
html[data-theme="light"] .regime-portfolio-page .rp-masthead h1,
html[data-theme="light"] .regime-portfolio-page .rp-masthead-meta b,
html[data-theme="light"] .regime-portfolio-page .rp-masthead-aside .live-primary strong { color: #fff; }
html[data-theme="light"] .regime-portfolio-page .rp-deck,
html[data-theme="light"] .regime-portfolio-page .rp-masthead-aside .live-primary span,
html[data-theme="light"] .regime-portfolio-page .rp-masthead-aside .live-primary small { color: #dce0e7; }
html[data-theme="light"] .regime-portfolio-page .rp-masthead-aside .live-primary-secondary { border-color: #383a40; }
.regime-portfolio-page .rp-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(400px, .85fr);
  align-items: start;
  gap: 0;
  padding: 0;
}
.regime-portfolio-page .rp-dashboard-panel {
  min-width: 0;
  padding: 28px 24px;
  border: 0;
  border-bottom: 1px solid var(--rp-line);
  border-radius: 0;
  background: var(--rp-bg);
  box-shadow: none;
}
.regime-portfolio-page .rp-overview-grid .rp-performance {
  padding: 25px 30px 32px;
  border: 1px solid var(--rp-line);
  border-radius: 0;
}
.regime-portfolio-page .rp-overview-grid .rp-allocation { padding: 25px 30px 32px; }
.regime-portfolio-page .rp-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.regime-portfolio-page .rp-performance .rp-panel-head { margin-bottom: 18px; }
.regime-portfolio-page .rp-allocation .rp-panel-head { margin-bottom: 22px; }
.regime-portfolio-page .rp-panel-head .rp-eyebrow {
  margin: 0 0 6px;
  color: var(--rp-muted);
  font: 600 12px/1.4 Roboto, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.regime-portfolio-page .rp-panel-head h2 {
  margin: 0;
  color: var(--rp-text);
  font: 400 28px/1.1 "League Gothic", "Arial Narrow", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}
.regime-portfolio-page .rp-context {
  margin: 0 0 18px;
  color: var(--rp-muted);
  font-size: 12px;
  line-height: 1.5;
}
.regime-portfolio-page .rp-comparison { display: grid; margin: 22px 0 0; border-bottom: 1px solid var(--rp-line); }
.regime-portfolio-page .rp-comparison-head,
.regime-portfolio-page .rp-comparison-row {
  display: grid;
  grid-template-columns: minmax(118px, 1.12fr) repeat(5, minmax(76px, 1fr));
  align-items: center;
  column-gap: 14px;
}
.regime-portfolio-page .rp-comparison-head {
  min-height: 34px;
  padding: 12px;
  color: var(--rp-muted);
  background: var(--rp-soft);
  font-size: 12px;
  font-weight: 500;
}
.regime-portfolio-page .rp-comparison-row {
  min-height: 52px;
  padding: 12px;
  border-top: 1px solid var(--rp-line);
}
.regime-portfolio-page .rp-comparison-row.is-portfolio { background: #182433; }
html[data-theme="light"] .regime-portfolio-page .rp-comparison-row.is-portfolio { background: #edf1ff; }
.regime-portfolio-page .rp-comparison-row.is-reference { background: var(--rp-soft); }
html[data-theme="dark"] .regime-portfolio-page .rp-comparison-row.is-reference { background: #11161b; }
html[data-theme="light"] .regime-portfolio-page .rp-comparison-row.is-reference { background: #f8f9fb; }
.regime-portfolio-page .rp-series-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--rp-text);
  font-size: 14px;
  font-weight: 600;
}
.regime-portfolio-page .rp-series-name i { flex: 0 0 7px; width: 7px; height: 7px; background: var(--rp-blue); }
.regime-portfolio-page .rp-comparison-row.is-reference .rp-series-name i { background: var(--ms-slate); }
.regime-portfolio-page .rp-comparison-row > strong:not(:first-child),
.regime-portfolio-page .rp-comparison-row.is-reference > strong:not(:first-child) {
  color: var(--rp-text);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.regime-portfolio-page .rp-comparison-note { margin: 12px 0 18px; color: var(--rp-muted); font-size: 11px; }
.regime-portfolio-page .rp-chart-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.regime-portfolio-page .rp-chart-header > div:first-child { display: grid; gap: 2px; }
.regime-portfolio-page .rp-chart-header strong { font: 600 18px/1.3 Roboto, Arial, sans-serif; }
.regime-portfolio-page .rp-chart-header span { color: var(--rp-muted); font-size: 12px; }
.regime-portfolio-page .rp-chart-controls { display: flex; align-items: center; gap: 12px; }
.regime-portfolio-page .rp-panel-badge { padding: 0; border: 0; border-radius: 0; color: var(--rp-muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
.regime-portfolio-page .rp-chart-header .ms-range-controls {
  display: inline-grid;
  grid-template-columns: repeat(4, 44px);
  gap: 0;
  padding: 3px;
  border: 1px solid var(--rp-line);
  border-radius: 0;
  background: var(--rp-bg);
}
.regime-portfolio-page .rp-chart-header .ms-range-controls button {
  min-width: 0;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rp-muted);
  font-size: 12px;
  font-weight: 500;
}
.regime-portfolio-page .rp-chart-header .ms-range-controls button.is-active { background: #23384f; color: var(--rp-text); }
html[data-theme="light"] .regime-portfolio-page .rp-chart-header .ms-range-controls button.is-active { background: #253fc7; color: #fff; }
.regime-portfolio-page .rp-chart-wrap { min-height: 390px; margin-top: 0; overflow: hidden; background: var(--rp-bg); }
.regime-portfolio-page .rp-chart-wrap svg.ms-performance-svg { display: block; width: 100%; height: auto; min-height: 390px; }
.regime-portfolio-page .rp-chart-wrap .ms-chart-label { fill: var(--rp-muted); font-family: Roboto, Arial, sans-serif; font-size: 12px; }
.regime-portfolio-page .rp-chart-footer { align-items: center; padding-top: 12px; border-color: var(--rp-line); }
.regime-portfolio-page .rp-chart-footer .ms-series-controls button,
.regime-portfolio-page .rp-chart-footer small { color: var(--rp-muted); font-size: 12px; font-weight: 400; }
.regime-portfolio-page .rp-allocation-summary { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 0; color: var(--rp-muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
.regime-portfolio-page .rp-allocation-summary strong { color: var(--rp-blue); font-weight: 600; }
.regime-portfolio-page .rp-allocation-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 11px; color: var(--rp-muted); font-size: 12px; }
.regime-portfolio-page .rp-allocation-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.regime-portfolio-page .rp-legend-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--rp-line); }
.regime-portfolio-page .rp-legend-dot.is-long { background: var(--rp-green); }
.regime-portfolio-page .rp-legend-dot.is-short { background: var(--rp-red); }
.regime-portfolio-page .rp-mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); grid-auto-rows: 72px; gap: 0; min-height: 0; }
.regime-portfolio-page .rp-asset-tile,
.regime-portfolio-page .rp-asset-tile.is-long,
.regime-portfolio-page .rp-asset-tile.is-short {
  min-height: 0;
  padding: 7px;
  border: 1px solid var(--rp-line);
  border-radius: 0;
  background: var(--rp-bg);
}
.regime-portfolio-page .rp-asset-tile strong { color: var(--rp-text); font-size: 14px; font-weight: 600; }
.regime-portfolio-page .rp-asset-tile span { color: var(--rp-muted); font-size: 12px; font-weight: 500; }
.regime-portfolio-page .rp-asset-tile.is-long span { color: var(--rp-green); }
.regime-portfolio-page .rp-asset-tile.is-short span { color: var(--rp-red); }
.regime-portfolio-page .rp-sector-allocation { margin-top: 20px; padding-top: 16px; }
.regime-portfolio-page .rp-sector-heading { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.regime-portfolio-page .rp-sector-heading strong { color: var(--rp-text); font: 600 18px/1.3 Roboto, Arial, sans-serif; }
.regime-portfolio-page .rp-sector-heading span { color: var(--rp-muted); font-size: 12px; }
.regime-portfolio-page .rp-holdings-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; margin: 0; }
.regime-portfolio-page .rp-holding { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
.regime-portfolio-page .rp-holding strong { min-width: 0; color: var(--rp-muted); font-size: 12px; font-weight: 600; }
.regime-portfolio-page .rp-holding span:last-child { color: var(--rp-text); font-size: 12px; font-weight: 600; }
.regime-portfolio-page .rp-holding-track { grid-column: 1/-1; grid-row: 2; height: 3px; border-radius: 0; background: var(--rp-line); }
.regime-portfolio-page .rp-holding-track i { border-radius: 0; background: var(--rp-blue); }
.regime-portfolio-page .rp-holding.is-short .rp-holding-track i { background: var(--rp-red); }
.regime-portfolio-page .rp-exposure-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; padding-top: 16px; border-color: var(--rp-line); }
.regime-portfolio-page .rp-exposure-foot > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.regime-portfolio-page .rp-exposure-foot span { color: var(--rp-muted); font-size: 12px; }
.regime-portfolio-page .rp-exposure-foot strong { color: var(--rp-text); font-size: 14px; font-weight: 600; }
.regime-portfolio-page .rp-signal-meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--rp-line); color: var(--rp-muted); font-size: 11px; }
.regime-portfolio-page .rp-position-description { margin: 8px 0 0; color: var(--rp-muted); font-size: 11px; }
.regime-portfolio-page .rp-source-status { border-color: var(--rp-line); color: var(--rp-muted); font-size: 11px; }
.regime-portfolio-page .rp-execution-position { border-radius: 0; }
.regime-portfolio-page .rp-monthly,
.regime-portfolio-page .rp-journal,
.regime-portfolio-page .rp-method,
.regime-portfolio-page .rp-forward-section,
.regime-portfolio-page .rp-daily-archive { margin-top: 0; }
.regime-portfolio-page .rp-monthly {
  margin-top: 20px;
  padding: 28px 24px;
  border-top: 1px solid var(--rp-line);
  border-bottom: 1px solid var(--rp-line);
}
.regime-portfolio-page .rp-monthly .managed-section-head { align-items: flex-end; margin-bottom: 20px; }
.regime-portfolio-page .rp-monthly .section-kicker { color: var(--rp-muted); font-size: 12px; font-weight: 600; }
.regime-portfolio-page .rp-monthly h2 { margin: 0; font: 400 28px/1.1 "League Gothic", "Arial Narrow", sans-serif; text-transform: uppercase; }
.regime-portfolio-page .rp-monthly .managed-section-head p { color: var(--rp-muted); font-size: 11px; }
.regime-portfolio-page .rp-monthly .managed-history-span { color: var(--rp-muted); font-size: 12px; font-weight: 400; }
.regime-portfolio-page .rp-monthly-scroll { margin-top: 0; max-height: 440px; overflow: auto; }
.regime-portfolio-page .rp-monthly-grid { display: block; min-width: 620px; }
.regime-portfolio-page .rp-month-row { display: grid; grid-template-columns: 48px repeat(12, minmax(36px, 1fr)) 58px; gap: 4px; align-items: center; margin-bottom: 4px; }
.regime-portfolio-page .rp-month-row.is-head { margin-bottom: 8px; }
.regime-portfolio-page .rp-secondary-grid { gap: 0; margin-top: 0; }
.regime-portfolio-page .rp-year { border-radius: 0; }
.regime-portfolio-page .rp-month-cell { height: 36px; min-height: 36px; border-radius: 10px; color: var(--rp-text); font-size: 12px; font-weight: 500; }
.regime-portfolio-page .rp-month-cell.is-empty { color: transparent; }
.regime-portfolio-page .rp-disclosure,
.regime-portfolio-page .rp-disclosure p { color: var(--rp-muted); }
.regime-portfolio-page .rp-clock h3,
.regime-portfolio-page .rp-footer a:first-child { font-family: Roboto, Arial, sans-serif; letter-spacing: 0; }
.regime-portfolio-page .rp-archive-export,
.regime-portfolio-page .rp-archive-more { border-radius: 0; background: var(--rp-bg); }
@media (max-width: 1100px) {
  .regime-portfolio-page .rp-overview-grid { grid-template-columns: 1fr; }
  .regime-portfolio-page .rp-overview-grid .rp-allocation { padding-top: 28px; }
}
@media (max-width: 760px) {
  .regime-portfolio-page .site-header-inner,
  .regime-portfolio-page .rp-masthead .portfolio-band-inner,
  .regime-portfolio-page .rp-app-shell > :not(.rp-masthead) { width: calc(100% - 32px); }
  .regime-portfolio-page .rp-masthead .portfolio-band-inner { grid-template-columns: minmax(0, 1fr); }
  .regime-portfolio-page .rp-masthead h1 { font-size: 38px; }
  .regime-portfolio-page .rp-masthead-aside { justify-self: start; margin-top: 24px; }
  .regime-portfolio-page .rp-overview-grid .rp-performance,
  .regime-portfolio-page .rp-overview-grid .rp-allocation { padding: 24px 16px; }
  .regime-portfolio-page .rp-comparison-head { display: none; }
  .regime-portfolio-page .rp-comparison-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; }
  .regime-portfolio-page .rp-comparison-row .rp-series-name { grid-column: 1/-1; }
  .regime-portfolio-page .rp-comparison-row > strong:not(:first-child)::before { display: block; margin-bottom: 3px; color: var(--rp-muted); font-size: 10px; font-weight: 400; }
  .regime-portfolio-page .rp-comparison-row > strong:nth-child(2)::before { content: "Since inception"; }
  .regime-portfolio-page .rp-comparison-row > strong:nth-child(3)::before { content: "CAGR"; }
  .regime-portfolio-page .rp-comparison-row > strong:nth-child(4)::before { content: "Annualized vol"; }
  .regime-portfolio-page .rp-comparison-row > strong:nth-child(5)::before { content: "Max drawdown"; }
  .regime-portfolio-page .rp-comparison-row > strong:nth-child(6)::before { content: "Sharpe"; }
  .regime-portfolio-page .rp-chart-header { align-items: flex-start; flex-direction: column; }
  .regime-portfolio-page .rp-chart-controls { width: 100%; justify-content: space-between; }
  .regime-portfolio-page .rp-chart-wrap,
  .regime-portfolio-page .rp-chart-wrap svg.ms-performance-svg { min-height: 280px; }
  .regime-portfolio-page .rp-holdings-bars { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .regime-portfolio-page .rp-masthead-aside { grid-template-columns: 1fr 1fr; width: 100%; }
  .regime-portfolio-page .rp-masthead-aside .live-primary strong { font-size: 24px; }
  .regime-portfolio-page .rp-masthead-aside .live-primary-secondary strong { font-size: 21px; }
  .regime-portfolio-page .rp-allocation .rp-panel-head { flex-wrap: wrap; }
  .regime-portfolio-page .rp-sector-heading { flex-wrap: wrap; }
  .regime-portfolio-page .rp-chart-header .ms-range-controls { grid-template-columns: repeat(4, 38px); }
  .regime-portfolio-page .rp-panel-badge { font-size: 10px; }
}
