.cs-year {
  border-top: 1px solid var(--line);
}
.cs-year .cs-sub {
  max-width: 82ch;
}
.cs-year-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(26px, 5vw, 74px);
  margin-top: 26px;
  padding: clamp(20px, 3vw, 42px);
  background: linear-gradient(118deg, #f8f5fc, #f3edf9);
  border: 1px solid #e6ddef;
  border-radius: 20px;
}
.cs-year-label {
  font-size: 14px;
  font-weight: 600;
  color: #6033a6;
}
.cs-year-amount {
  display: block;
  margin: 12px 0 6px;
  font-size: clamp(36px, 4.1vw, 64px);
  font-weight: 600;
  letter-spacing: -.052em;
  line-height: 1.02;
  color: #6335ae;
  white-space: nowrap;
}
.cs-year-explainer {
  max-width: 35ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.cs-year .cs-year-kpis {
  display: flex;
  gap: clamp(18px, 2.4vw, 40px);
  margin-top: 24px;
}
.cs-year-kpis dt {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.cs-year-kpis dd {
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 600;
  letter-spacing: -.035em;
}
.cs-year-chart {
  min-width: 0;
}
.cs-year-chart figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.cs-year-chart figcaption span,
.cs-year-chart-foot {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}
.cs-year-plot {
  padding: 20px 0 0 21px;
}
.cs-year-grid,
.cs-year-axis {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.cs-year-grid {
  position: relative;
  height: clamp(120px, 12vw, 175px);
}
.cs-year-gridline {
  position: absolute;
  inset-inline: 0;
  border-bottom: 1px dashed #cfc5db;
}
.cs-year-gridline:nth-child(3) {
  border-bottom: 1px solid #a49aad;
}
.cs-year-gridline span {
  position: absolute;
  right: calc(100% + 6px);
  top: 0;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--muted);
}
.cs-year-column {
  position: relative;
}
.cs-year-bar {
  position: absolute;
  inset-inline: 17%;
  min-height: 1px;
  background: #7042c8;
  border-radius: 3px 3px 0 0;
}
.cs-year-loss {
  background: #a293af;
  border-radius: 0 0 3px 3px;
}
.cs-year-payback .cs-year-bar::after,
.cs-year-legend::before {
  content: "";
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  background: white;
  border: 2px solid #6335ae;
  border-radius: 50%;
}
.cs-year-payback .cs-year-bar::after {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}
.cs-year-axis {
  margin-top: 4px;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.cs-year-chart-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.cs-year-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cs-year-details {
  margin-top: 18px;
  border-block: 1px solid var(--line);
}
.cs-year-details summary {
  width: 100%;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: #6033a6;
  cursor: pointer;
}
.cs-year-assumptions {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: clamp(22px, 5vw, 74px);
  align-items: start;
  padding: 10px 0 26px;
}
.cs-year-assumptions p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.cs-year-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 15px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.cs-year-table caption {
  margin-bottom: 11px;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}
.cs-year-table :is(td, th) {
  padding: 6px;
  border-bottom: 1px solid var(--line);
}
.cs-year-table th:first-child {
  text-align: left;
}
.cs-year-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.cs-year-table tbody th {
  font-weight: 400;
}
.cs-year-table tfoot {
  background: #f6f2fa;
  color: #522b94;
  font-weight: 600;
}
@media (max-width: 760px) {
  .cs-year-panel, .cs-year-assumptions { grid-template-columns: 1fr; }
  .cs-year-panel { gap: 25px; }
  .cs-year-amount { font-size: clamp(36px, 7vw, 50px); }
  .cs-year .cs-year-kpis { margin-top: 16px; }
}
@media (max-width: 480px) {
  .cs-year-panel { border-radius: 16px; padding: 18px 15px; }
  .cs-year-chart figcaption { font-size: 16px; }
  .cs-year-plot { padding-left: 16px; }
  .cs-year-axis { font-size: 12px; }
  .cs-year-table { font-size: 14px; }
  .cs-year-table :is(th, td) { padding-inline: 3px; }
  .cs-year-table thead th { font-size: 12px; }
  .cs-year-spend { display: none; }
}
