.cv-cost-ledger {
  min-width: 0;
  color: var(--cv-ink);
  font-variant-numeric: tabular-nums;
}
.cv-cost-ledger table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: .93rem;
  line-height: 1.35;
}
.cv-cost-ledger caption {
  margin: .15rem 0 .5rem;
  color: var(--cv-sub);
  text-align: left;
  font-size: .84rem;
}
.cv-cost-ledger th,
.cv-cost-ledger td {
  padding: .4rem .45rem;
  border-bottom: 1px solid var(--cv-line);
  text-align: right;
  vertical-align: baseline;
}
.cv-cost-ledger :is(th,td):first-child {
  padding-left: 0;
  text-align: left;
}
.cv-cost-ledger :is(th,td):last-child { padding-right: 0; }
.cv-cost-ledger thead th {
  font-size: .86em;
  font-weight: 650;
  color: var(--cv-sub);
}
.cv-cost-ledger th[scope=row] { font-weight: 500; }
.cv-cost-then,
.cv-cost-ledger small { color: var(--cv-sub); }
.cv-cost-ledger p { margin: .65rem 0 0; }
.cv-cost-ledger .cv-cost-trade { font-weight: 550; }
.cv-cost-contract,
.cv-cost-explain { max-width: 72ch; color: var(--cv-sub); }
.cv-cost-forecast { max-width:46rem; table-layout:fixed }
.cv-cost-ledger .cv-cost-forecast caption { margin:.08rem 0 .28rem }
.cv-cost-forecast th { width:24%; overflow-wrap:break-word }
.cv-cost-forecast [data-cost-value] { width:27%; white-space:nowrap }
.cv-cost-forecast tbody :is(td,th) { vertical-align:middle; padding:.35rem .15rem }
.cv-cost-forecast .cv-cost-graphic { padding-inline:.8rem }
.cv-cost-forecast [data-cost-entry=total] :is(td,th) { border-top:1px solid #6d8f7e; color:#20594c; font-weight:700 }
.cv-cost-track { position:relative; height:5px; border-radius:3px; background:#d0dacf }
.cv-cost-band,.cv-cost-dot { position:absolute; top:50%; background:#196656 }
.cv-cost-band { height:7px; transform:translateY(-50%) }
.cv-cost-band::before,.cv-cost-band::after { content:""; position:absolute; top:-2px; height:11px; width:2px; background:#20594c }
.cv-cost-band::before { left:0 }
.cv-cost-band::after { right:0 }
.cv-cost-dot {
  width:12px; height:12px; border:2px solid #fbfcf6; border-radius:50%;
  box-shadow:0 0 0 1px #20594c; transform:translate(-50%,-50%);
}
[data-cost-entry=total] .cv-cost-dot { width:20px; height:20px; box-shadow:0 0 0 2px #20594c }
.cv-cost-forecast tfoot td { border:0; padding-block:.22rem 0 }
[data-cost-axis] { position:relative; height:1rem; font-size:.73rem; color:var(--cv-sub) }
[data-cost-axis] span { position:absolute; transform:translateX(-50%); white-space:nowrap }
.cv-cost-choices { display:flex; flex-wrap:wrap; gap:.1rem .85rem; font-size:.84rem }
.cv-cost-choices span { white-space:nowrap }
.cv-cost-full { margin-top:.8rem }
@media screen {
  .clay-overview [data-panel=cost] :is(.cv-cost-full,.cv-cost-explain) { display:none }
  .clay-overview .cv-cost-forecast tbody :is(th,td) { font-size:.81rem; padding-block:.24rem }
  .clay-overview .cv-cost-forecast [data-cost-entry=total] :is(th,td) { padding-block:.36rem }
  .clay-overview [data-panel=cost] .cv-cost-ledger p { margin:.35rem 0 0; font-size:.8rem; line-height:1.3 }
}
@media(max-width:420px) {
  .cv-cost-forecast [data-cost-value] { width:31% }
}
@media print {
  .cv-cost-forecast { break-inside:avoid; print-color-adjust:exact }
}
.cv-cost-full { overflow-x: auto; }
@media (max-width:650px) {
  .cv-cost-full table { font-size: .81rem; }
  .cv-cost-full :is(th,td) { padding: .34rem .18rem; }
  .cv-cost-full th[scope=row] span { display: block; }
  .cv-cost-full th[scope=row] .cv-cost-then { font-size: .85em; }
}
