.cc-charts {
  --cc-bg: #fff;
  --cc-inset: #f2f5f4;
  --cc-line: #dbe3e6;
  --cc-text: #202c39;
  --cc-muted: #506572;
  --cc-gain: #246e4b;
  --cc-accent: #194f84;
  --cc-red: #a13e51;
  display: grid;
  gap: 1rem;
  color: var(--cc-text);
  min-width: 0;
}
.cc-charts *, .cc-charts *::before, .cc-charts *::after { box-sizing: border-box; }
.cc-charts [hidden] { display: none !important; }
.cc-card {
  min-width: 0;
  background: var(--cc-bg);
  border: 1px solid var(--cc-line);
  border-radius: 10px;
  padding: clamp(1rem, 2.6vw, 1.75rem);
}
.cc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cc-charts h2, .cc-charts h3, .cc-charts h4, .cc-charts p { margin: 0; }
.cc-heading h2 { color: var(--cc-text); font-size: 1.25rem; font-weight: 650; line-height: 1.45; letter-spacing: .01em; }
.cc-heading .cc-caption { margin-top: .35rem; }
.cc-caption { color: var(--cc-muted); font-size: .875rem; line-height: 1.6; }
.cc-number {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.cc-up { color: var(--cc-gain); }
.cc-down { color: var(--cc-red); }

.cc-actions { display: flex; align-items: center; gap: .45rem; }
.cc-button { cursor: pointer; border: 1px solid var(--cc-line); background: var(--cc-inset); color: var(--cc-text); padding: .42rem .8rem; border-radius: 6px; font: inherit; font-size: .875rem; line-height: 1.5; }
.cc-button:hover:enabled { border-color: var(--cc-accent); }
.cc-charts button:focus-visible, .cc-charts summary:focus-visible, .cc-table-scroll:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 2px; }
.cc-empty {
  text-align: center;
  background: var(--cc-inset);
  border: 1px dashed #b8cbd5;
  border-radius: 9px;
  padding: 2rem 1rem;
  margin-top: 1.2rem;
  color: var(--cc-muted);
  line-height: 1.65;
}
.cc-empty h3 { font-size: 1rem; color: var(--cc-text); font-weight: 550; }
.cc-empty p { margin-top: .3rem; font-size: .875rem; }
.cc-status:not(:empty) { color: var(--cc-muted); font-size: .875rem; line-height: 1.6; margin-top: 1rem; }
.cc-reset { margin-top: .6rem; }
.cc-help { margin-top: 1rem; color: var(--cc-muted); font-size: .9375rem; line-height: 1.75; }
.cc-help summary { width: fit-content; color: var(--cc-text); cursor: pointer; }
.cc-help p { margin-top: .5rem; max-width: 78ch; }
.cc-table-scroll { width: 100%; overflow-x: auto; }
.cc-holdings { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9375rem; white-space: nowrap; }
.cc-holdings th, .cc-holdings td { padding: .7rem .6rem; text-align: right; border-bottom: 1px solid var(--cc-line); }
.cc-holdings tr > :first-child { padding-left: 0; text-align: left; }
.cc-holdings tr > :last-child { padding-right: 0; }
.cc-holdings thead th { font-size: .875rem; color: var(--cc-muted); font-weight: 500; }
.cc-holdings tbody th { font-weight: 500; }
.cc-holdings strong { font-weight: 600; }
.cc-holdings small { display: block; font-weight: 400; color: var(--cc-muted); margin-top: .2rem; font-size: .8125rem; }
.cc-return-track { height: 4px; background: linear-gradient(90deg,transparent 49.5%,var(--cc-muted) 49.5% 50.5%,transparent 50.5%),var(--cc-inset); width: 7rem; margin: .4rem 0 .3rem auto; position: relative; }
.cc-return-track i { display: block; position: absolute; top: 0; height: 100%; background: currentColor; }
.cc-return-track .cc-up { left: 50%; }
.cc-return-track .cc-down { right: 50%; }
.cc-actions .cc-button:last-of-type { background: var(--cc-accent); border-color: var(--cc-accent); color: white; font-weight: 650; }
.cc-help summary::marker, .cc-portfolio > summary::marker { color: var(--cc-accent); }
.cc-portfolio { padding: .95rem 1.25rem; background: var(--cc-bg); border: 1px solid var(--cc-line); border-radius: 9px; }
.cc-portfolio > summary { width: fit-content; color: var(--cc-text); cursor: pointer; font-size: .94rem; }
.cc-portfolio .cc-card { padding: 1.2rem 0 0; border: 0; }
.cc-chart-controls { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.cc-asset-picker, .cc-view-picker, .cc-mode-picker { display: flex; flex-wrap: wrap; align-items: center; }
.cc-asset-picker { gap: .4rem; }
.cc-asset-picker button { padding: .25rem .4rem; font: 600 .94rem var(--sans); color: var(--cc-muted); border: 0; background: none; }
.cc-asset-picker button:first-child { padding-left: 0; }
.cc-asset-picker button[aria-pressed=true] { color: var(--cc-accent); }
.cc-view-picker { padding: 3px; border: 1px solid var(--cc-line); background: var(--cc-inset); border-radius: 6px; }
.cc-view-picker button { background: transparent; border: 0; border-radius: 4px; font-size: .83rem; padding: .4rem .75rem; color: var(--cc-muted); }
.cc-view-picker button[aria-pressed=true] { background: var(--cc-accent); color: white; font-weight: 650; }
.cc-report-frame {
  min-width: 0; background: #f2f5f8; border: 1px solid #d6dce1; border-radius: 9px;
  color: #202c3a; color-scheme: light; overflow: clip;
}
.cc-report-body { padding: clamp(8px, 1.3vw, 17px); min-width: 0; }
.cc-mode-picker { border-bottom: 1px solid #d8e0e6; background: #e8edf3; }
.cc-mode-picker .cc-button { padding: .65rem 1.15rem; border: 0; border-right: 1px solid transparent; border-radius: 0; background: transparent; color: #5a6879; font-size: .875rem; }
.cc-mode-picker .cc-button[aria-pressed=true] { background: #f8fafb; color: #202c3a; border-right: 1px solid #d6dce1; font-weight: 650; }
.cc-mode-picker button:focus-visible, .cc-heat-scroll:focus-visible, .cc-period-dialog button:focus-visible { outline: 2px solid #2e62a0; outline-offset: -2px; }
.cc-report { background: #fbfbf7; border: 1px solid #edf0ed; min-width: 0; padding: clamp(14px, 2.15vw, 32px); border-radius: 5px; }
.cc-report-head { border-bottom: 1px solid #dce3e7; padding-bottom: 10px; }
.cc-byline { display: block; margin-bottom: 9px; color: #596e7e; font: 700 .66rem var(--sans); letter-spacing: .17em; }
.cc-report-head h2 { font-family: var(--sans); color: #202c3a; font-weight: 760; letter-spacing: -.045em; line-height: 1.3; font-size: clamp(1.45rem, 2.4vw, 2.2rem); }
.cc-report-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .2rem 1rem; margin-top: .25rem; font-size: .81rem; color: #536a7b; }
.cc-price-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; margin: .85rem 0 .95rem; }
.cc-price-stat { display: flex; flex-direction: column; padding: .65rem .85rem; border: 1px solid #d8e1e7; background: #fff; border-radius: 7px; color: #526b7b; gap: .12rem; font-size: .82rem; }
.cc-price-stat strong { color: #1f2a38; font: 735 clamp(1.35rem, 2.1vw, 1.85rem)/1.2 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.cc-price-stat small { font-size: .76rem; }
.cc-price-stat:last-child strong { color: #285a8f; }
.cc-month-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .2rem 1rem; border-radius: 5px; background: #edf2f1; padding: .45rem .7rem; }
.cc-month-banner strong { font-size: 1rem; }
.cc-month-banner span { font-size: .8rem; color: #536a7b; }
.cc-report .cc-up { color: #247347; }
.cc-report .cc-down { color: #a34352; }
.cc-heat-scroll { overflow-x: auto; max-width: 100%; margin-top: .3rem; scrollbar-width: thin; scrollbar-color: #a6b4bf #eef1f2; }
.cc-heat-table { border-collapse: separate; border-spacing: 1px; table-layout: fixed; width: 100%; min-width: 850px; color: #202c3a; font-size: .8125rem; font-weight: 520; text-align: center; font-variant-numeric: tabular-nums; line-height: 1.3; }
.cc-heat-table th, .cc-heat-table td { padding: 0; vertical-align: middle; height: 30px; }
.cc-heat-table th:first-child { width: 56px; position: sticky; left: 0; z-index: 1; }
.cc-heat-table th:last-child { width: 83px; }
.cc-heat-table thead th { color: #496071; background: #edf1f3; font-weight: 650; }
.cc-heat-table tbody th { background: #e5eff7; color: #2b4e6a; font-weight: 700; }
.cc-heat-table .cc-annual { border-left: 2px solid white; }
.cc-heat-table .cc-unavailable { background: #f0f0ed; color: #69737c; }
.cc-heat-value { width: 100%; height: 100%; display: block; min-height: 30px; padding: 0 .5px; position: relative; font: inherit; background: transparent; border: 0; border-radius: 0; color: #1d2a36; letter-spacing: -.025em; }
.cc-heat-value.cc-provisional { outline: 1.5px dashed #2d6297; outline-offset: -1.5px; }
.cc-heat-value:hover, .cc-heat-value:focus-visible { z-index: 1; background: #ffffff38; outline: 2px solid #2f5476 !important; outline-offset: -2px !important; }
.cc-charts .cc-month-note, .cc-charts .cc-source { color: #546b79; font-size: .78rem; line-height: 1.7; margin-top: .55rem; }
.cc-charts .cc-source { margin-top: .2rem; }
.cc-source a { text-decoration: underline; text-underline-offset: .17em; }
.cc-period-dialog { border: 1px solid #c2cfd7; background: #fbfcf9; color: #1f2b37; padding: 1.3rem; width: min(92vw, 390px); border-radius: 9px; }
.cc-period-dialog::backdrop { background: #141b23a0; }
.cc-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.cc-dialog-head h3 { font-size: 1.14rem; }
.cc-dialog-head button { background: #e8eef3; color: #274c69; border-color: #cdd9e1; }
.cc-detail-return { display: block; margin: .8rem 0; font: 700 2rem var(--sans); letter-spacing: -.04em; }
.cc-detail-list { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; font-size: .9rem; }
.cc-detail-list dt { color: #516677; }
.cc-detail-list dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
@media(max-width: 700px) {
  .cc-chart-controls { gap: .5rem; }
  .cc-report-body { padding: 8px; }
  .cc-report { padding: 12px; }
  .cc-price-stats { gap: .3rem; }
  .cc-price-stat { padding: .45rem .35rem; font-size: .75rem; }
  .cc-price-stat strong { font-size: clamp(.96rem, 3.35vw, 1.35rem); }
  .cc-price-stat small { font-size: .72rem; }
  .cc-mode-picker .cc-button { padding: .45rem .85rem; }
  .cc-report-meta { font-size: .76rem; }
  .cc-head { align-items: start; gap: .65rem; }
  .cc-heading { flex: 1 1 14rem; }
}
@media(max-width: 390px) {
  .cc-price-stat { overflow-wrap: anywhere; }
  .cc-view-picker button { padding: .35rem .6rem; }
}

.cc-asset-picker button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: .32rem; }
.cc-portfolio > summary { font-family: var(--serif); font-weight: 650; }
.cc-heading h2 { font-family: var(--serif); }
