#toolsDialog:has(.user-pref-section) .appearance-choice {
  display: inline-flex;
  padding: 14px 15px;
}

#toolsDialog:has(.user-pref-section) .appearance-choice button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 46px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

#toolsDialog:has(.user-pref-section) .appearance-choice button + button {
  border-left: 0;
}

#toolsDialog:has(.user-pref-section) .appearance-choice button:first-child {
  border-radius: 4px 0 0 4px;
}

#toolsDialog:has(.user-pref-section) .appearance-choice button:last-child {
  border-radius: 0 4px 4px 0;
}

#toolsDialog:has(.user-pref-section) .appearance-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#toolsDialog:has(.user-pref-section) .appearance-choice button.selected {
  background: #e8f2fc;
  color: #155fa9;
  border-color: #9bbddd;
  position: relative;
}

#toolsDialog:has(.user-pref-section) .appearance-choice button:not(.selected):hover {
  background: #eef1f4;
  color: #273849;
}

:root[data-kc-theme="dark"] #toolsDialog:has(.user-pref-section) .appearance-choice button.selected {
  background: #162a3b;
  color: #77bff0;
  border-color: #375c7a;
}

:root[data-kc-theme="dark"] #toolsDialog:has(.user-pref-section) .appearance-choice button:not(.selected):hover {
  background: #303337;
  color: #e7e8ea;
}
