.as-comparator-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 20px 0;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
}
.as-comparator-container h2 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 6px;
  color: #111;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 6px;
}
.as-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
}
.as-tab-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.as-tab-btn {
  background: #e2e8f0;
  color: #334155;
  border: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: all 0.2s;
}
.as-tab-btn.active {
  background: #0073aa;
  color: #fff;
}
.as-tab-panel {
  display: none;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0 6px 6px 6px;
  padding: 15px;
  margin-bottom: 20px;
}
.as-tab-panel.active {
  display: block;
}
.as-panel-desc {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0;
  margin-bottom: 10px;
}
.as-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.as-filter-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.as-filter-item label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}
.as-range-inputs {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #64748b;
}
.as-range-inputs input[type="number"] {
  width: 70px;
  padding: 4px 6px;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.as-filter-actions {
  margin-top: 12px;
  text-align: right;
}
.as-reset-btn {
  background: #64748b;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.as-reset-btn:hover {
  background: #475569;
}
.as-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.as-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  background: #f1f1f1;
  border-radius: 4px;
  transition: background 0.2s;
  user-select: none;
}
.as-checkbox-label:hover {
  background: #e2e8f0;
}
.as-checkbox-label input {
  cursor: pointer;
  accent-color: #0073aa;
}
.as-table-wrapper {
  overflow-x: auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.as-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: center;
  font-size: 0.9rem;
}
.as-compare-table th, .as-compare-table td {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  vertical-align: middle;
}
.as-compare-table th {
  background-color: #0073aa;
  color: #ffffff;
  font-weight: bold;
  min-width: 140px;
}
.as-compare-table th:first-child {
  background-color: #1e293b;
  width: 160px;
  min-width: 160px;
}
.as-row-title {
  background-color: #f8fafc;
  font-weight: bold;
  color: #334155;
  text-align: left;
}
.as-compare-table tr:nth-child(even) td:not(.as-row-title) {
  background-color: #f9fafb;
}
.as-amazon-btn {
  display: inline-block;
  background-color: #ff9900;
  color: #111;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.as-amazon-btn:hover {
  background-color: #e88b00;
  color: #000;
}