.retry-backoff-section {
  padding: 32px 0 64px;
}

.rb-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.rb-panel {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--card-bg);
  padding: 20px 24px;
}

.rb-panel-title {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.rb-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.rb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.rb-field input,
.rb-field select {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.rb-field input:focus,
.rb-field select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.rb-run-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.rb-run-btn:hover {
  opacity: 0.85;
}

.rb-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.rb-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--bg-color);
}

.rb-stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.rb-stat-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-color);
}

.rb-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
}

.rb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.rb-table th,
.rb-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  white-space: nowrap;
}

.rb-table th {
  color: var(--text-tertiary);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rb-table td:first-child,
.rb-table th:first-child {
  color: var(--text-primary);
  font-weight: 600;
}

.rb-empty {
  color: var(--text-tertiary);
  text-align: center;
  white-space: normal;
}

.rb-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 160px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.rb-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 32px;
}

.rb-bar-track {
  width: 100%;
  max-width: 40px;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.rb-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
  border-radius: 4px 4px 0 0;
}

.rb-bar-label {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

@media (max-width: 640px) {
  .rb-panel {
    padding: 16px;
  }
  .rb-bar-track {
    max-width: 28px;
  }
}
