.silver-analysis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.35rem, 2.8vw, 2.15rem) 0 clamp(1.75rem, 3.4vw, 2.65rem);
  border-top: 1px dashed var(--line);
}

.silver-chart-panel {
  min-width: 0;
}

.silver-chart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.silver-chart-heading .eyebrow {
  margin-bottom: 0.3rem;
}

.silver-chart-heading h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.silver-chart-period {
  margin: 0 0 0.1rem;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 720;
  white-space: nowrap;
}

.silver-chart-wrap {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.silver-chart {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 620 / 280;
}

.silver-chart text {
  fill: var(--muted);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10px;
}

.silver-chart .grid-line {
  stroke: #e5e7e5;
  stroke-width: 1;
}

.silver-chart .axis-line {
  stroke: #abb1ae;
  stroke-width: 1;
}

.silver-chart .ratio-line {
  fill: none;
  stroke: #1a73e8;
  stroke-width: 2.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.silver-chart .reference-line {
  fill: none;
  stroke-width: 1.25;
  stroke-dasharray: 5 4;
}

.silver-chart .average-line {
  stroke: #5f6368;
}

.silver-chart .upper-line {
  stroke: #d93025;
}

.silver-chart .lower-line {
  stroke: #188038;
}

.silver-chart .end-dot {
  fill: var(--paper);
  stroke: #1a73e8;
  stroke-width: 2;
}

.silver-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.silver-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.silver-chart-legend b {
  font: inherit;
}

.legend-key {
  display: inline-block;
  width: 1.2rem;
  border-top: 2px solid;
}

.average-key,
.upper-key,
.lower-key {
  border-top-style: dashed;
}

.ratio-key { border-color: #1a73e8; }
.average-key { border-color: #5f6368; }
.upper-key { border-color: #d93025; }
.lower-key { border-color: #188038; }

.silver-sensitivity-figure {
  margin-top: 1rem;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.silver-sensitivity-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.silver-cftc-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.silver-cftc-figure img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .silver-analysis {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 440px) {
  .silver-chart-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .silver-chart-period {
    margin: 0;
  }

}
