.weekly-card {
  min-width: 0;
  margin-bottom: 14px;
}

.weekly-card h2 { margin-bottom: 4px; }

.weekly-verdict {
  color: var(--teal);
  font-size: clamp(1.1rem, 2.3vw, 1.5rem);
  font-weight: 760;
  line-height: 1.45;
}

.weekly-note,
.weekly-card details p {
  color: var(--muted);
  font-size: .88rem;
}

.weekly-chart-frame {
  margin-top: 12px;
  padding: 3px 7px 0;
  border: 1px solid #dde8e1;
  border-radius: 10px;
  background: #fbfdfb;
}

.weekly-chart {
  display: block;
  width: 100%;
  height: auto;
}

.weekly-axis-label { fill: #50655e; font-size: 15px; font-variant-numeric: tabular-nums; }
.weekly-current { fill: #164f49; font-weight: 750; }
.weekly-grid { stroke: #dbe6df; stroke-width: 1; }
.weekly-future-zone { fill: #eaf3ee; }
.weekly-current-line { stroke: #8aa99a; stroke-width: 1.2; }
.weekly-grid.weekly-target { stroke: #916641; stroke-dasharray: 2 3; stroke-width: 1.65; }
.weekly-axis-label.weekly-target { fill: #795127; font-weight: 750; }

.weekly-series-0 { --weekly-series: #147365; }
.weekly-series-1 { --weekly-series: #29568d; }
.weekly-series-2 { --weekly-series: #a24850; }
.weekly-series path { fill: none; stroke: var(--weekly-series); stroke-width: 2.5; stroke-linejoin: round; }
.weekly-estimate { stroke-dasharray: 7 5; }
.weekly-actual-point { fill: var(--weekly-series); }
.weekly-estimate-point { fill: #f7fcf9; stroke: var(--weekly-series); stroke-width: 1.8; }

.weekly-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin: 5px 0 14px;
  color: var(--muted);
  font-size: .83rem;
}

.weekly-sample { display: inline-flex; align-items: center; gap: 5px; }
.weekly-sample::before { content: ""; width: 18px; border-top: 2px solid #52665f; }
.weekly-sample-estimate::before { border-top-style: dashed; }
.weekly-sample-target::before { border-color: #916641; border-top-style: dotted; }

.weekly-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.weekly-summary p {
  padding: 7px 10px;
  background: #f1f6f2;
  border-radius: 7px;
  color: var(--muted);
  font-size: .86rem;
}

.weekly-summary strong { display: block; color: var(--ink); font-size: .92rem; }
.weekly-table-wrap { overflow-x: auto; }
.weekly-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.weekly-table th, .weekly-table td { padding: 7px 6px; text-align: left; border-bottom: 1px solid #e2ece5; }
.weekly-table thead th { font-weight: 650; color: var(--muted); }
.weekly-table tbody th { white-space: nowrap; }
.weekly-table td { font-variant-numeric: tabular-nums; }
.weekly-key { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: var(--weekly-series); }
.weekly-card details p { margin-top: 8px; }

@media (max-width: 580px) {
  .weekly-axis-label { font-size: 21px; }
  .weekly-table th, .weekly-table td { padding-inline: 4px; font-size: .79rem; }
  .weekly-chart-frame { padding-inline: 2px; }
}
