:root {
  --ah-compare-bar-height: 72px;
}

.mdi-icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
}

body.has-compare-bar {
  padding-bottom: var(--ah-compare-bar-height);
}

.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1030;
  padding: 0.5rem 0;
}

.compare-chip {
  user-select: none;
  cursor: pointer;
}

.ranking-sentinel {
  height: 1px;
}

.ranking-used-table {
  width: 100%;
}

.ranking-used-table tbody tr:hover {
  background-color: var(--bs-secondary-bg);
}

.json-preview {
  min-height: 220px;
  background: #111;
  color: #0f0;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
}

.job-progress {
  height: 8px;
  width: 100%;
  background-color: var(--bs-secondary-bg);
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

.job-progress-bar {
  height: 100%;
  display: block;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  background-color: var(--bs-primary);
  transition: width 0.6s ease;
  font-size: 0.65rem;
  line-height: 8px;
}
