:root {
  --black: rgba(0, 0, 0, 0.9);
  --light-gray: rgba(0, 0, 0, 0.1);
}

body,
input {
  font-family: sans-serif;
  color: var(--black);
}

body {
  padding: 1em;
  font-family: sans-serif;
}

input {
  text-align: right;
  font-size: 1em;
  border: none;
  border-bottom: 1px solid var(--light-gray);
  outline: 0;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

input:focus {
  border-bottom: 1px solid var(--black);
}

table {
  border-collapse: collapse;
}

table caption {
  margin-top: 1em;
  margin-bottom: 1em;
  font-style: italic;
}

td {
  padding: 0.5em 1em;
}

.text-right {
  text-align: right;
}

.table-responsive {
  width: 100%;
  overflow-y: hidden;
  overflow-x: auto;
}

table.installments {
  width: 100%;
}

table.installments td {
  padding: 4px 1em;
  border-top: 1px solid silver;
  white-space: nowrap;
}
body.split-output #output > .active {
  float: none;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://tomazy.github.io/xcell/examples/mortgage/bundle.js