body {
  margin: 0;
  background: #f7f7f5;
  color: #161616;
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 18px 48px;
}

.panel {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 0 0 14px;
  padding: 18px;
}

h1, h2 {
  margin: 0 0 8px;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 16px;
}

.kicker, .muted {
  color: #555;
}

.kicker {
  font-weight: 800;
}

.brand {
  color: #126149;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 8px;
}

.loading {
  min-height: 220px;
}

.skeleton {
  background: #ecece8;
  border-radius: 6px;
  height: 18px;
  margin-top: 14px;
}

.skeleton.title {
  height: 28px;
  width: 70%;
}

.skeleton.line {
  width: 100%;
}

.skeleton.short {
  width: 48%;
}

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

th, td {
  border-top: 1px solid #eee;
  padding: 10px 4px;
  text-align: left;
  vertical-align: top;
}

th:not(:first-child), td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.totals p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}

.total {
  font-size: 24px;
}

.photos {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.photos img {
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 100%;
}

button {
  background: #126149;
  border: 0;
  border-radius: 7px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-top: 10px;
  padding: 14px;
  width: 100%;
}

.secondary {
  background: #fff;
  border: 1px solid #126149;
  color: #126149;
}

input {
  border: 1px solid #bbb;
  border-radius: 6px;
  box-sizing: border-box;
  display: block;
  margin: 8px 0 12px;
  padding: 12px;
  width: 100%;
}

canvas {
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 6px;
  height: 160px;
  touch-action: none;
  width: 100%;
}

.accepted {
  border-color: #126149;
}

.declined {
  border-color: #7a1c1c;
}

@media (prefers-reduced-motion: no-preference) {
  .skeleton {
    animation: pulse 1.6s ease-in-out infinite;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}
