body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 2rem;
  background-color: #edecf9;
}

a {
  color: #3c61b9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  background-color: white;
  border-radius: 8px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  max-width: 650px;
  box-shadow: 1px 1px 16px rgba(0, 0, 0, .02);
  box-sizing: border-box;
}

@media (max-width: 650px) {
  body {
    background-color: white;
    padding: 0;
  }

  main {
    margin: 0;
    padding: 1rem;
    box-shadow: none;
  }
}

footer {
  text-align: center;
  margin-top: .5rem;
}

footer a {
  color: inherit;
  opacity: .5;
  font-size: 75%;
}

.header {
  display: grid;
  grid-template-columns: 1fr minmax(1px, auto);
}

.header h1 {
  grid-column: 1 / 3;
}

.actions {
  grid-row: 1;
  grid-column: 2 / 3;
}

.actions > * + * {
  margin-left: .5rem;
}

h1 {
  margin: 0;
}

.field {
  margin-top: 1rem;
}

.field-label {
  font-weight: 600;
  margin-bottom: .25rem;
  text-transform: uppercase;
  font-size: 75%;
  color: #333;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  margin-left: 1rem;
}

li:only-child {
  margin-left: 0;
  list-style: none;
}

.image-container {
  float: right;
  margin: 1rem 0 1rem 1rem;
  max-width: 150px;
}

.image-container img {
  display: block;
  border-radius: 4px;
}

.image-container figcaption {
  text-align: center;
  font-size: 75%;
  color: gray;
  margin-top: .25rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  border-bottom: 2px solid #ccc;
}

tbody tr + tr {
  border-top: 1px solid #eee;
}

td, th {
  padding: 0.5rem;
  text-align: left;
}

.cell-date,
.cell-dash {
  color: #555;
  white-space: nowrap;
}

.cell-date {
  padding: 0;
  font-variant: tabular-nums;
  font-size: 90%;
}

.cell-date:nth-child(1) {
  text-align: right;
}

.cell-date:nth-child(3) {
  min-width: 100px;
}

.cell-fill {
  width: 99%;
}

.cell-action img {
  vertical-align: middle;
}

.instruments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.instrument {
  position: relative;
  padding-left: 42px;
}

.instrument-image {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 3px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  background-color: #eee;
  text-align: center;
  color: #bbb;
  font-weight: bold;
}

.breadcrumbs {
  list-style: none;
  display: flex;
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li:not(:first-child)::before {
  content: "»";
  color: gray;
  margin: 0 .25rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.entry {
  margin-top: 1rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

textarea {
  width: 100%;
  resize: vertical;
}

#logout {
  display: inline;
}

#logout button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: #3c61b9;
}

.actions a {
  text-decoration: none;
}

.actions a:hover,
#logout button:hover {
  text-decoration: underline;
}
