.pcf-cost-comparison {
  --pcf-cost-red: #a12d39;
  --pcf-cost-green: #163e33;
}
.pcf-cost-comparison .pcf-cost-table {table-layout:fixed}
.pcf-cost-comparison .pcf-cost-table thead th:last-child {width:43%}
.pcf-cost-table .pcf-purchase-amount {color:var(--pcf-cost-red)}
.pcf-cost-table .pcf-purchase-amount strong {color:inherit}
.pcf-cost-table .pcf-cost-scale {
  display:block;
  width:100%;
  height:3px;
  margin-block:4px;
  background:#e7e1dc;
  fill:var(--pcf-cost-red);
}
.pcf-cost-table .pcf-own-cost > * {
  background:#e3ebe3;
  color:var(--pcf-cost-green);
  border-bottom:1px solid #84998b;
}
.pcf-cost-table .pcf-own-cost th {
  box-shadow:inset 3px 0 var(--pcf-cost-green);
  padding-inline-start:12px;
}
.pcf-own-cost .pcf-cost-scale {background:#cbd8cd;fill:var(--pcf-cost-green)}
.pcf-finale-amount {
  display:inline-flex;
  align-items:baseline;
  gap:.22em;
  color:var(--pcf-cost-green);
}
.pcf-cost-table .pcf-finale-amount strong {
  font-size:clamp(39px,4vw,54px);
  font-variant-numeric:tabular-nums lining-nums;
  line-height:1;
}
.pcf-cost-table .pcf-finale-key,.pcf-cost-transition,.pcf-cost-replay[hidden] {display:none}
.pcf-own-cost.is-counting .pcf-finale-key {display:block;font-weight:600}
.pcf-own-cost.is-counting th small:not(.pcf-finale-key) {display:none}
.pcf-own-cost.is-counting .pcf-cost-transition {display:inline}
.pcf-own-cost.is-counting .pcf-cost-basis {display:none}
.pcf-cost-accessible {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.pcf-cost-tools {
  display:grid;
  grid-template-columns:1fr auto;
  align-items:start;
  gap:0 8px;
}
.pcf-cost-tools:has(details[open]) {grid-template-columns:1fr}
.pcf-cost-tools:has(details[open]) .pcf-cost-replay {justify-self:end}
.pcf-cost-tools .pcf-cost-sources summary {
  min-height:44px;
  font-size:12px;
}
.pcf-cost-tools .pcf-cost-replay {
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:0;
  min-height:44px;
  padding:4px 2px 4px 6px;
  border:0;
  background:none;
  color:var(--pcf-cost-green);
  font:600 12px/1.4 var(--sans);
  cursor:pointer;
}
.pcf-cost-replay:not([hidden]) {display:inline-flex}
.pcf-cost-replay:hover {text-decoration:underline;text-underline-offset:3px}
.pcf-cost-replay:focus-visible {outline:2px solid currentColor;outline-offset:2px}
@media (max-width:360px) {
  .pcf-cost-table .pcf-own-cost th {padding-inline-start:9px}
  .pcf-cost-table .pcf-finale-amount strong {font-size:36px}
  .pcf-cost-table .pcf-own-cost small {font-size:10.5px}
}
@media print {
  .pcf-cost-replay {display:none !important}
  .pcf-own-cost .pcf-finale-amount strong {font-size:0}
  .pcf-own-cost .pcf-finale-amount strong::after {content:attr(data-end);font-size:32px}
  .pcf-own-cost.is-counting .pcf-cost-basis {display:inline}
  .pcf-own-cost.is-counting .pcf-cost-transition {display:none}
  .pcf-own-cost.is-counting .pcf-finale-key {display:none}
  .pcf-own-cost.is-counting th small:not(.pcf-finale-key) {display:block}
}
