/* === Brand Selector (matches Snippets / Compression panels) === */
.brand-selector-section {
  background: var(--bg-primary);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm) var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-primary);
}

.brand-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xs);
}
.brand-section-header label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  font-weight: 600;
}
.brand-section-header .link-btn {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  font-weight: 500;
}
.brand-section-header .link-btn:hover {
  color: var(--text-primary);
}

.brand-controls-row {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
}

.brand-select-wrapper {
  flex-grow: 1;
  position: relative;
}
.brand-select-wrapper select {
  width: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: var(--border-subtle);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  appearance: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.brand-select-wrapper::after {
  content: '▼';
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.brand-select-wrapper select:hover {
  border-color: rgba(15, 23, 42, 0.1);
}

.brand-action-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.brand-action-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: rgba(15, 23, 42, 0.1);
}
.brand-action-btn.delete-mode {
  color: var(--danger);
}

/* Safety: never show pricing while actively using the editor */
body.editor-mode .pricing-compare-section {
  display: none !important;
}
