.ijuu-budget,
.ijuu-budget * {
  box-sizing: border-box;
}
.ijuu-budget {
  width: 100%;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-block: 1px solid #767676;
  color: #202320;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.ijuu-budget [hidden] {
  display: none !important;
}
.ijuu-budget__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.ijuu-budget__field {
  min-width: 0;
}
.ijuu-budget label {
  display: block;
  font-weight: 700;
  margin-bottom: .4rem;
}
.ijuu-budget input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: .65rem;
  border: 1px solid #767676;
  border-radius: 0;
  color: #202320;
  background: #fff;
  font: inherit;
}
.ijuu-budget input[aria-invalid="true"] {
  border: 2px solid #a11919;
}
.ijuu-budget .ijuu-budget__hint,
.ijuu-budget .ijuu-budget__error {
  margin: .35rem 0 0;
  font-size: 14px;
}
.ijuu-budget .ijuu-budget__error {
  color: #a11919;
  font-weight: 700;
}
.ijuu-budget__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.ijuu-budget button {
  min-height: 48px;
  max-width: 100%;
  padding: .6rem 1rem;
  border: 2px solid #c82b2b;
  border-radius: 0;
  color: #fff;
  background: #c82b2b;
  font: inherit;
  font-weight: 700;
  white-space: normal;
  cursor: pointer;
}
.ijuu-budget button.ijuu-budget__secondary {
  color: #a11919;
  background: #fff;
}
.ijuu-budget button:disabled {
  opacity: .65;
  cursor: wait;
}
.ijuu-budget :is(input, button, a):focus-visible {
  outline: 3px solid #202320;
  outline-offset: 3px;
}
.ijuu-budget__status {
  min-height: 2em;
}
.ijuu-budget__results dl {
  margin: 0;
}
.ijuu-budget__results dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #b8b8b8;
}
.ijuu-budget__results dd {
  margin: 0;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
}
.ijuu-budget__notes {
  margin-top: 1.5rem;
}
@media (max-width: 640px) {
  .ijuu-budget__fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .ijuu-budget__actions button {
    width: 100%;
  }
}
