.fv-verbstats {
  max-width: 800px;
  margin: 0 auto;
}

/* Fallback tabs (when theme doesn't render local tasks) */
.fv-verbstats .fv-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 12px 0;
  border-bottom: 1px solid #e5e7eb;
}
.fv-verbstats .fv-tab {
  display: inline-block;
  padding: 6px 10px;
  color: #374151;
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}
.fv-verbstats .fv-tab:hover {
  color: #111827;
}
.fv-verbstats .fv-tab.is-active {
  background: #ffffff;
  border-color: #e5e7eb;
  font-weight: 600;
}

.fv-verbstats .stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fv-verbstats .stats-item {
  display: grid;
  grid-template-columns: 1fr auto 60%;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.fv-verbstats .stats-item .verb {
  text-decoration: none;
  color: #005daa;
}
.fv-verbstats .stats-item .verb:hover {
  text-decoration: underline;
}

.fv-verbstats .stats-item .count {
  min-width: 48px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.fv-verbstats .stats-item .bar {
  position: relative;
  display: block;
  background: #f3f6fa;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.fv-verbstats .stats-item .bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2b8be6, #5ac8fa);
}

.fv-verbstats .stats-legend {
  margin-bottom: 10px;
  color: #666;
}

.fv-verbstats .placeholder {
  padding: 12px;
  background: #f9fafb;
  border: 1px dashed #cbd5e1;
}

/* Common Errors table improvements */
.fv-verbstats-table {
  width: 100%;
}

.fv-verbstats-table th,
.fv-verbstats-table td {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .fv-verbstats-table th,
  .fv-verbstats-table td {
    white-space: normal;
  }
}

.calculation-section {
  margin-top: 30px;
  padding: 20px;
  background-color: #f8f9fa;
  border-left: 4px solid #005daa;
  border-radius: 4px;
}

.calculation-section h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.2rem;
}

.calculation-section p {
  margin-bottom: 0;
  color: #666;
  line-height: 1.5;
}
