body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

.controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
  gap: 10px;
}

.controls button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.controls button:hover {
  background-color: #2980b9;
}

.section {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-header {
  background-color: #f5f5f5;
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  transition: background-color 0.2s;
}

.section-header:hover {
  background-color: #e9e9e9;
}

.section-content {
  padding: 15px;
  display: none;
  border-top: 1px solid #eee;
}

.subsection {
  margin-bottom: 15px;
  border-left: 3px solid #3498db;
  padding-left: 15px;
}

.subsection-header {
  font-weight: bold;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
}

.subsection-content {
  padding: 0 0 10px 10px;
  display: none;
}

.rating {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.rating.high { background-color: #f8d7da; color: #721c24; }
.rating.high-mid { background-color: #fff3cd; color: #856404; }
.rating.mid { background-color: #d1ecf1; color: #0c5460; }
.rating.low-mid { background-color: #d4edda; color: #155724; }
.rating.low { background-color: #d4edda; color: #155724; }

ul { 
  margin: 0; 
  padding-left: 20px; 
}

li { 
  margin-bottom: 8px; 
}

.toggle-icon:after {
  content: "+";
  font-weight: bold;
  font-size: 1.2rem;
}

.open .toggle-icon:after {
  content: "-";
}

.item-group {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.item-group:last-child {
  margin-bottom: 0;
}

.summary-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.stat-card {
  background-color: #fff;
  border-radius: 5px;
  padding: 15px;
  flex: 1;
  min-width: 120px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 5px;
  text-align: center;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .summary-stats {
    flex-direction: column;
  }
  
  .controls {
    justify-content: center;
  }
} 