:root {
  --neutral: #96d4d4a2;
  --positive: #96a1d4a2;
  --negative: #f3d4d4a2;
}

#info {
  width: 50em;
  text-wrap: "balance";
}

td {
  background-color: var(--neutral);
  text-align: center;
}

td.outside {
  background-color: transparent;
}

td.act {
  padding-left: 0.5em;
  padding-right: 0.5em;
}

td.exp {
  width: 8em;
  display: flex;
  justify-content: space-between;
  padding-left: 1em;
  padding-right: 1em;
}

td.output.positive {
  background-color: var(--positive);
}

td.output.negative {
  background-color: var(--negative);
}

td.total {
  display: flex;
  justify-content: space-between;
  padding-left: 0.4em;
  padding-right: 0.4em;
}

.outcell {
  width: 5em;
  display: flex;
  justify-content: space-between;
  padding-left: 0.4em;
  padding-right: 0.4em;
}

.exp.name {
  font-weight: bold;
}

.act.name {
  font-weight: bold;
}

.amount {
  font-family: monospace;
  font-size: 1.3em;
}

.amount.zero {
  opacity: 20%;
}

.amount:not(.zero) {
  font-weight: bold;
}

.empty {
  background-color: silver;
}

.input,
.reset {
  cursor: pointer;
}

.num.act,
.num.exp,
.total .num {
  font-weight: bold;
}

.act .num {
  color: purple;
}

.exp .num {
  color: red;
}

.nickname {
  font-style: italic;
  color: #000000a0;
}

.letter {
  color: #000000a0;
}

.total {
  text-align: right;
}

#table {
  user-select: none;
}
