.guide-copy .guide-cost-table thead th:nth-child(1) { width: 24%; }
.guide-copy .guide-cost-table thead th:nth-child(2) { width: 29%; }
.guide-cost-cell-label { display: none; }

.guide-charge-equation {
  display: grid;
  gap: 6px;
  align-items: stretch;
  text-align: center;
}

.guide-charge-component {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.guide-charge-component--total {
  border-color: #aac6e4;
  background: #e8f2fd;
}

.guide-charge-rate {
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.guide-charge-label { font-weight: 720; }
.guide-charge-attribution { color: var(--muted); font-size: .9375rem; }
.guide-charge-operator { align-self: center; color: var(--blue); font-size: 1.375rem; font-weight: 740; line-height: 1; }

.guide-charge-duration {
  margin-top: 9px;
  padding: 8px;
  border-block-start: 1px solid var(--line);
  text-align: center;
  font-weight: 740;
}

@media (max-width: 620px) {
  .guide-cost-table { display: block; }

  .guide-cost-table thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .guide-cost-table tbody { display: grid; gap: 8px; }

  .guide-cost-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 7px 10px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
  }

  .guide-copy .guide-cost-table tbody :is(th, td) { display: block; width: auto; min-inline-size: 0; padding: 0; border: 0; }

  .guide-cost-table tbody td:last-child {
    grid-column: 1 / -1;
    padding-top: 7px;
    border-top: 1px solid var(--line);
  }

  .guide-cost-cell-label {
    display: block;
    margin-block-end: 2px;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 650;
  }
}

@media (min-width: 650px) {
  .guide-charge-equation { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); }
  .guide-charge-operator { padding-inline: 3px; }
}
