.tariff {
  margin: 14px 0;
  color: var(--ink);
  font-family: var(--sans);
}
.tariff h3,
.portfolio-group h3,
.capital-summary h3 {
  font: 700 17px/1.2 var(--serif);
  margin: 0;
}
.tariff table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  table-layout: fixed;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.tariff th,
.tariff td {
  padding: 6px 4px;
  border-bottom: 1px solid #d9ddcd;
  text-align: right;
  line-height: 1.2;
}
.tariff th:first-child {
  text-align: left;
  width: 34%;
}
.tariff thead th {
  color: #53614f;
  font-size: 11px;
  vertical-align: bottom;
}
.tariff tbody th {
  font-weight: 550;
}
.tariff .current {
  background: #e4eddd;
}
.tariff .current th {
  box-shadow: inset 3px 0 #4d7755;
  padding-left: 9px;
}
.tariff .next {
  background: #f4ebcf;
}
.tariff .next th {
  box-shadow: inset 3px 0 #a9853c;
  padding-left: 9px;
}
.tariff th small {
  display: block;
  font: 600 10px var(--sans);
  color: #45643f;
  margin-top: 2px;
}
.tariff .next th small {
  color: #7a5722;
}
.tariff p,
.capital-summary p {
  font: 400 12px/1.4 var(--sans);
  color: #53614f;
  margin: 7px 0;
}
.building-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.building-mark img {
  display: block;
  width: 22px;
  height: 19px;
  object-fit: contain;
}
.capital-summary {
  background: #eff3e7;
  border: 1px solid #bac7b3;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 7px 0 15px;
}
.capital-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.capital-total strong {
  font: 700 26px/1.15 var(--serif);
  color: #264c36;
  white-space: nowrap;
}
.capital-summary dl {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  border-top: 1px solid #cad3be;
  padding-top: 8px;
}
.capital-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font: 500 13px var(--sans);
}
.capital-summary dd {
  margin: 0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.portfolio-group {
  margin: 12px 0;
}
.portfolio-group header {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 6px 5px 8px;
  border: 0;
  border-left: 5px solid var(--group);
  background: color-mix(in srgb, var(--group) 14%, #fafaf0);
  border-radius: 2px;
  height: auto;
}
.portfolio-group header h3 {
  font-size: 15px;
}
.portfolio-group header small {
  font: 650 11px var(--sans);
  white-space: nowrap;
  color: #334b3a;
}
.portfolio-group button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  padding: 7px 2px;
  border: 0;
  border-bottom: 1px solid #d9ddcf;
  background: none;
  text-align: left;
  color: inherit;
  font: 500 13px var(--sans);
}
.portfolio-group button:hover,
.portfolio-group button:focus-visible {
  background: #edf2e7;
}
.portfolio-group button b {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.property-state {
  color: #51614e;
  font-size: 11px;
}
.mini-deed.complete {
  color: #214c31;
  border-color: var(--color);
  background: #edf2e4;
}
@media (max-width: 420px) {
  .portfolio-group button {
    font-size: 12px;
    gap: 5px;
  }
  .tariff th,
  .tariff td {
    padding: 5px 3px;
  }
  .tariff table {
    font-size: 12px;
  }
}

.capital-summary dl > div:nth-child(n + 3) {
  padding-left: 12px;
  font-size: 12px;
  color: #546550;
}
.capital-summary dl > div:nth-child(2) {
  font-weight: 700;
}
