:root {
  --infront-brand: #e84b31;
  --infront-brand-dark: #bf3521;
}

body {
  min-height: 100vh;
  background: #f3f5f7;
  color: #18212b;
}

.navbar-brand span,
.hero > p {
  color: var(--infront-brand);
}

.hero {
  max-width: 100%;
}

.hero > p {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.btn-primary {
  --bs-btn-bg: var(--infront-brand);
  --bs-btn-border-color: var(--infront-brand);
  --bs-btn-hover-bg: var(--infront-brand-dark);
  --bs-btn-hover-border-color: var(--infront-brand-dark);
  --bs-btn-active-bg: var(--infront-brand-dark);
  --bs-btn-active-border-color: var(--infront-brand-dark);
}

.card {
  border-radius: 1rem;
  overflow: hidden;
}

.card-header {
  border-bottom-color: #e4e8ec;
}

.document-cell {
  min-width: 260px;
}

.source-cell {
  min-width: 220px;
  max-width: 320px;
}

.inventory-scroll.has-overflow {
  max-height: 29rem;
  overflow-y: auto;
}

.inventory-scroll.has-overflow thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.icon-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
}

.progress {
  height: 0.55rem;
}

code {
  color: #687481;
}

.candidate-cell {
  min-width: 310px;
  max-width: 620px;
}

.score-pill {
  display: inline-block;
  min-width: 6.4rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid #d7dde3;
  border-radius: 0.45rem;
  background: #f8f9fa;
  font-family: var(--bs-font-monospace);
  font-size: 0.875rem;
  text-align: center;
}

.object-json {
  max-height: 42rem;
  overflow: auto;
  padding: 1.5rem;
  background: #111820;
  color: #dbe7f3;
  font-size: 0.85rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.object-json code {
  color: inherit;
}

@media (max-width: 767.98px) {
  main.container-xl {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .card-header {
    align-items: flex-start !important;
  }
}
