body {
  background: #f5f7fa;
  min-height: 100vh;
}

.navbar-brand {
  letter-spacing: 0.01em;
}

.card-link {
  color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.card-link:hover {
  transform: translateY(-2px);
}

.metric-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  height: 100%;
  padding: 1.1rem 1.25rem;
}

.metric-card span {
  color: #6c757d;
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  font-size: 1.65rem;
  margin-top: 0.25rem;
}

.chart-container {
  min-height: 320px;
  width: 100%;
}

.report-table {
  font-size: 0.875rem;
}

.description-cell {
  max-width: 30rem;
  min-width: 18rem;
  white-space: normal;
}

.selection-list {
  max-height: 28rem;
  overflow-y: auto;
}

.rule-row + .rule-row {
  border-top: 1px solid #e9ecef;
  padding-top: 0.75rem;
}


.metric-link,
.metric-button {
  border: 0;
  color: inherit;
  display: block;
}

.metric-link:hover,
.metric-button:hover {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
  color: inherit;
}

.metric-card small {
  color: #6c757d;
  display: block;
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.commodity-menu {
  max-height: 24rem;
  min-width: 20rem;
  overflow-y: auto;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:focus {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.supplier-chart-container {
  min-height: 400px;
  width: 100%;
}

.detail-table th {
  background: #f8f9fa;
  min-width: 16rem;
  width: 24%;
}

.report-loading-overlay {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 2000;
}

.report-loading-panel {
  background: #ffffff;
  border-radius: 0.75rem;
  max-width: 24rem;
  padding: 2rem 2.5rem;
  text-align: center;
  width: calc(100% - 2rem);
}
