.evolution { margin-top: 32px; }
.evolution-intro { margin: 0 0 24px; }
.evolution-view-toggle { flex-shrink: 0; min-height: 44px; padding: 10px 18px; border: 1px solid #c9d8e8; border-radius: 7px; background: white; color: var(--blue); font-size: .875rem; transition: background .2s, border-color .2s; }
.evolution-view-toggle:hover { background: #edf4fb; border-color: #98b6d3; }
.evolution-view-toggle[aria-pressed="true"] { background: #edf4fb; border-color: #98b6d3; }
.evolution-key { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 24px; font-size: .875rem; color: #61758f; }
.evolution-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.evolution-legend span { display: inline-flex; align-items: center; gap: 9px; }
.evolution-legend i { display: inline-block; width: 26px; height: 0; border-top: 3px solid #2776b5; }
.evolution-legend i.evolution-legend-base { border-top: 2px dashed #9aa8b9; }
.evolution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; padding: 28px 24px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.evolution-chart { position: relative; min-width: 0; }
.evolution-chart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 34px; }
.evolution-chart h3 { font-size: 1rem; line-height: 1.45; font-weight: 600; letter-spacing: -.02em; }
.evolution-chart-gain { white-space: nowrap; color: #2776b5; font-size: .875rem; font-weight: 550; padding-top: 2px; }
.evolution-plot { width: 100%; height: auto; overflow: visible; outline-offset: 3px; border-radius: 3px; }
.evolution-plot:focus-visible { outline: 2px solid #6b9bc3; }
.evolution-axis { fill: none; stroke: #95a2b3; stroke-width: 1; }
.evolution-gridline { stroke: #e9edf3; stroke-width: 1; }
.evolution-tick { fill: #6b7b90; font: 20px var(--sans); font-variant-numeric: tabular-nums; }
.evolution-axis-label { fill: #6b7b90; font: 20px var(--sans); }
.evolution-baseline { stroke: #a3afbe; stroke-width: 1.5; stroke-dasharray: 5 5; }
.evolution-line { stroke: #2776b5; stroke-width: 3; fill: none; stroke-linejoin: round; }
.evolution-point { fill: #2776b5; stroke: white; stroke-width: 1.1; }
.evolution-point-base { fill: white; stroke: #2776b5; stroke-width: 2.3; }
.evolution-point-active { stroke: #2776b5; fill: white; stroke-width: 2.5; }
.evolution-guide { stroke: #a9c6df; stroke-width: 1; stroke-dasharray: 3 4; pointer-events: none; }
.evolution-hit { fill: transparent; cursor: crosshair; }
.evolution-tooltip { position: absolute; z-index: 3; width: max-content; max-width: calc(100% - 12px); padding: 10px 12px; border: 1px solid #d5e1ec; border-radius: 7px; background: #fff; color: #315372; box-shadow: 0 5px 20px #24496c12; pointer-events: none; font-size: .875rem; line-height: 1.65; overflow-wrap: anywhere; }
.evolution-tooltip[hidden] { display: none; }
.evolution-tooltip strong { display: block; font-weight: 600; }
.evolution-tooltip span { display: block; color: #6b7b90; font-size: .8125rem; }
.evolution-note { margin-top: 22px; color: #718299; font-size: .875rem; line-height: 1.9; }
.evolution-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1320px) {
  .evolution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evolution-tick, .evolution-axis-label { font-size: 16px; }
}
@media (max-width: 640px) {
  .evolution-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 24px 20px; }
  .evolution-key { align-items: flex-start; flex-direction: column; gap: 12px; }
}
