#rp .prices-money { display: grid; gap: var(--s5); min-width: 0; }
#rp .prices-money > * { min-width: 0; margin-block: 0; }
#rp .prices-money p { overflow-wrap: anywhere; }
#rp .prices-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
}
#rp .prices-figures > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s5);
}
#rp .prices-figures dt { color: var(--muted); font-weight: 650; }
#rp .prices-figures dd { margin: 0; color: var(--muted); font-size: var(--t-xs); overflow-wrap: anywhere; }
#rp .prices-figures dd:first-of-type {
  margin: var(--s1) 0;
  color: var(--ink);
  font-size: var(--t-2xl);
  font-weight: 750;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
#rp .prices-chart h2 { margin: 0; font-size: var(--t-xl); color: var(--ink); }
#rp .prices-chart > p { margin: var(--s1) 0 var(--s4); color: var(--muted); }
#rp .prices-calculator {
  border-top: 1px solid var(--line);
  margin-top: var(--s5);
  padding-top: var(--s5);
  scroll-margin-top: calc(var(--bar-h) + var(--s4));
}
#rp .prices-calculator h3 { font-size: var(--t-lg); margin: 0 0 var(--s3); }
#rp .prices-calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s5);
  align-items: start;
}
#rp .prices-calculator .wm-form { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
#rp .prices-calculator .wm-form label:has(select[name=index]) { grid-column: 1 / -1; }
#rp .prices-calculator .wm-form input,
#rp .prices-calculator .wm-form select { width: 100%; min-width: 0; box-sizing: border-box; font-size: var(--t-base); }
#rp .prices-calculator .wm-form button { justify-self: start; grid-column: 1 / -1; }
#rp .prices-answer { padding: var(--s4); border-radius: var(--r-md); background: var(--inset); }
#rp .prices-answer p { margin: 0; color: var(--muted); }
#rp .prices-answer strong { display: block; margin: var(--s1) 0 var(--s2); font-size: var(--t-2xl); overflow-wrap: anywhere; }
#rp .prices-sources ul { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-left: var(--s4); font-size: var(--t-xs); }
#rp .prices-sources li { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  #rp .prices-figures { grid-template-columns: 1fr; gap: var(--s2); }
  #rp .prices-figures > div { padding: var(--s3) var(--s4); }
  #rp .prices-calculator-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
}
@media (max-width: 400px) {
  #rp .prices-calculator .wm-form { grid-template-columns: minmax(0, 1fr); }
}
